@cgi-learning-hub/ui 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Alert-OeEy_IGc.js → Alert-6yOnGlLE.js} +6 -6
- package/dist/{Alert-rPyl-bqs.cjs → Alert-CWHOYWde.cjs} +1 -1
- package/dist/{Alert-DPSZppEy.cjs → Alert-D4-73fYc.cjs} +1 -1
- package/dist/{Alert-BhLIlUBu.js → Alert-D6SQnjuJ.js} +83 -83
- package/dist/{Autocomplete-WZw_zCjA.js → Autocomplete-B8u-WYi5.js} +680 -664
- package/dist/Autocomplete-BA6NkciB.cjs +6 -0
- package/dist/Backdrop-Dp1hKKfU.cjs +1 -0
- package/dist/{Backdrop-CjZYrxkZ.js → Backdrop-DuOPKUSY.js} +36 -35
- package/dist/{Badge-Bwcsnbsa.js → Badge-BJ4yH_Da.js} +4 -4
- package/dist/{Badge-DFzvdVS-.cjs → Badge-XMr4Ygjv.cjs} +1 -1
- package/dist/{Box-DR3n_po_.cjs → Box-B5E7sstc.cjs} +1 -1
- package/dist/{Box-BI4osO9v.js → Box-BWETzF5p.js} +3 -3
- package/dist/Button-BJB830NI.cjs +1 -0
- package/dist/{Button-DDV5EfwJ.js → Button-C8_HxKFe.js} +95 -95
- package/dist/{ButtonBase-6TF6t2SP.js → ButtonBase-CJYV8wgs.js} +2 -2
- package/dist/{ButtonBase-Dp6sf_dP.cjs → ButtonBase-DPIkh47Q.cjs} +1 -1
- package/dist/{CardContent-COfaU6E0.cjs → CardContent-H0z20SY7.cjs} +1 -1
- package/dist/{CardContent-D3uGcxlr.js → CardContent-V9JMSLmA.js} +3 -3
- package/dist/Checkbox-BZPMiwbF.cjs +1 -0
- package/dist/{Checkbox-BfBDowB2.js → Checkbox-DMMz_IAP.js} +86 -86
- package/dist/Chip-BDVqkZZM.js +573 -0
- package/dist/Chip-DMBSp59F.cjs +1 -0
- package/dist/{CircularProgress-CXXyPavb.cjs → CircularProgress-BMVNeiSf.cjs} +1 -1
- package/dist/{CircularProgress-DZuYTFz-.js → CircularProgress-CrWnCGqN.js} +3 -3
- package/dist/{Close-7S2hSoFB.cjs → Close-2eEmvKPH.cjs} +1 -1
- package/dist/{Close-DEMecSZ6.js → Close-Cr2OT0GV.js} +1 -1
- package/dist/{CloseRounded-DS-4-gMR.cjs → CloseRounded-B6cT7aGi.cjs} +1 -1
- package/dist/{CloseRounded-CioV1GK3.js → CloseRounded-BrGeesu1.js} +1 -1
- package/dist/{CustomTreeItem-Bg8Ub4dn.cjs → CustomTreeItem-BXgsWbl_.cjs} +1 -1
- package/dist/{CustomTreeItem-B9FylIhL.js → CustomTreeItem-DhB3ECa2.js} +12 -12
- package/dist/DatePicker-DtPvvFiK.cjs +16 -0
- package/dist/{DatePicker-DasS2wq6.js → DatePicker-ofISDY8Q.js} +2822 -2821
- package/dist/DefaultPropsProvider-BFTLy05-.cjs +1 -0
- package/dist/DefaultPropsProvider-nxIPd34m.js +312 -0
- package/dist/{Delete-BvkBJXEM.cjs → Delete-BF63Gpr-.cjs} +1 -1
- package/dist/{Delete-B5VTV71K.js → Delete-CwWpjEOT.js} +1 -1
- package/dist/Dialog-Cymf3DJ2.cjs +1 -0
- package/dist/{Dialog-DEWB041V.js → Dialog-eK1zTFBm.js} +10 -10
- package/dist/{DialogContent-C294EkoQ.js → DialogContent-BsPZJR2a.js} +3 -3
- package/dist/{DialogContent-DXfUge3c.cjs → DialogContent-Gy1s3ela.cjs} +1 -1
- package/dist/{DialogTitle-y2PrK6uU.cjs → DialogTitle-BDyrzRXS.cjs} +1 -1
- package/dist/{DialogTitle-BSiId6Q1.js → DialogTitle-CaAd59jN.js} +5 -5
- package/dist/Divider-BzdMIEJJ.cjs +1 -0
- package/dist/{Divider-kKp4VqHh.js → Divider-D_gbcyWE.js} +26 -26
- package/dist/{Folder-BgQP5-Ve.js → Folder-COKXTjZ4.js} +1 -1
- package/dist/{Folder-BfLBqDHM.cjs → Folder-D0fZbyc-.cjs} +1 -1
- package/dist/{FormLabel-JrZR9kt8.cjs → FormLabel-BLySmpkL.cjs} +1 -1
- package/dist/{FormLabel-B3WAnPGP.js → FormLabel-DmLckqyT.js} +3 -3
- package/dist/{Grid-BHYQ3JNy.cjs → Grid-DFaRzlB4.cjs} +1 -1
- package/dist/{Grid-DFk-4jnZ.js → Grid-vM--ojbL.js} +7 -7
- package/dist/{Grow-BfjkXlG8.js → Grow-DE5x7F5S.js} +1 -1
- package/dist/{Grow-BULCy6GX.cjs → Grow-ovNT7Sot.cjs} +1 -1
- package/dist/IconButton-DCQiOq7W.cjs +2 -0
- package/dist/{IconButton-BYvak8Nw.js → IconButton-f9EZgwvD.js} +66 -66
- package/dist/{InputAdornment-BBZXvhZ-.js → InputAdornment-B615VSjF.js} +4 -4
- package/dist/{InputAdornment-DvHQMisT.cjs → InputAdornment-BrrJ8chb.cjs} +1 -1
- package/dist/{InputBase-BS5oknUK.js → InputBase-BCbPPzW1.js} +4 -4
- package/dist/{InputBase-DPdKpmOz.cjs → InputBase-CRrFludT.cjs} +1 -1
- package/dist/Link-CMes5bws.cjs +1 -0
- package/dist/{Link-DYPjEdvu.js → Link-GBRiPElP.js} +52 -39
- package/dist/{List-CB_cqCSw.js → List-DZkddOsr.js} +2 -2
- package/dist/{List-t9bWFewp.cjs → List-E_TAQ1jJ.cjs} +1 -1
- package/dist/{ListItem-DAZQEir2.js → ListItem-CMoibMI7.js} +4 -4
- package/dist/{ListItem-DP7YmqZk.cjs → ListItem-qTKJTg7f.cjs} +1 -1
- package/dist/ListItemText-B3z5dHrQ.cjs +1 -0
- package/dist/{ListItemText-qfdqJP77.js → ListItemText-BbrPf29n.js} +139 -139
- package/dist/{Menu-9BK8jmzW.js → Menu-3UjlpKRJ.js} +27 -27
- package/dist/{Menu-C61wLk41.cjs → Menu-C0uY9Dd0.cjs} +1 -1
- package/dist/MenuItem--a878rw9.cjs +1 -0
- package/dist/{MenuItem-C8nduSzJ.js → MenuItem-CHEWce5u.js} +94 -94
- package/dist/{Modal-DkzrSKHd.cjs → Modal-CdcolE0C.cjs} +1 -1
- package/dist/{Modal-D3Q9vEAI.js → Modal-Du5LfkZg.js} +5 -5
- package/dist/{MoreVert-C-Rhn-xK.cjs → MoreVert-DZjEMvuw.cjs} +1 -1
- package/dist/{MoreVert-C_W1m_Z_.js → MoreVert-PLU7h8WO.js} +1 -1
- package/dist/{Paper-IQckggbn.js → Paper-BylmTlAJ.js} +4 -4
- package/dist/{Paper-BbqZL5vx.cjs → Paper-DgHGh6vt.cjs} +1 -1
- package/dist/{Popper-DvWx5tR3.cjs → Popper-BsNp09Gg.cjs} +1 -1
- package/dist/{Popper-CfFLBZ7-.js → Popper-CvQLHjwo.js} +3 -3
- package/dist/Radio-CLNMQGNf.cjs +1 -0
- package/dist/{Radio-DKiu6lVB.js → Radio-CbYgci2-.js} +195 -190
- package/dist/{RadioGroup-DFKMlNWO.js → RadioGroup-D-Cq8SmM.js} +3 -3
- package/dist/{RadioGroup-Cvnwt4JE.cjs → RadioGroup-Dyf8fKum.cjs} +1 -1
- package/dist/{Select-CpNF3a57.js → Select-Bx0yVOZE.js} +641 -607
- package/dist/Select-CRVPbesC.cjs +3 -0
- package/dist/{Stack-CIyfgZCM.cjs → Stack-COmIqMxy.cjs} +1 -1
- package/dist/{Stack-DSJ2DqNd.js → Stack-CbK4a2n5.js} +5 -5
- package/dist/{Stepper-CXHfLPtA.cjs → Stepper-CWq9t5jy.cjs} +1 -1
- package/dist/{Stepper-DE2l91K0.js → Stepper-DU9nixCp.js} +6 -6
- package/dist/{Switch-BIcwDf_P.js → Switch-Bm3Gclye.js} +102 -99
- package/dist/Switch-kHZOqjeU.cjs +1 -0
- package/dist/{SwitchBase-DZV8S81Z.js → SwitchBase-9CKmTWdZ.js} +47 -44
- package/dist/SwitchBase-Hbqxtooi.cjs +1 -0
- package/dist/{Tab-Ckr6Bn59.js → Tab-DBCv1T9W.js} +58 -58
- package/dist/{Tab-r5imbU9z.cjs → Tab-DnxFjc89.cjs} +1 -1
- package/dist/{TextField-Brw3X9cn.cjs → TextField-BhdmUny-.cjs} +1 -1
- package/dist/{TextField-BenBw4oE.js → TextField-V-EQ80Y6.js} +6 -6
- package/dist/ToggleButtonGroup-B2FBwoDV.cjs +138 -0
- package/dist/{ToggleButtonGroup-DhtAoGtM.js → ToggleButtonGroup-_UpIjysl.js} +1567 -1537
- package/dist/{Tooltip-KkgNQm4r.js → Tooltip-DKHOTDh0.js} +81 -81
- package/dist/{Tooltip-BAOKe3SY.cjs → Tooltip-DYTDIzp4.cjs} +3 -3
- package/dist/{Typography-CSTmKyr8.cjs → Typography-BvRUTdLD.cjs} +1 -1
- package/dist/{Typography-Dy8r_tT2.js → Typography-o0iALAVg.js} +4 -4
- package/dist/components/ActionBar/ActionBar.cjs.js +1 -0
- package/dist/components/ActionBar/ActionBar.d.ts +3 -0
- package/dist/components/ActionBar/ActionBar.es.js +63 -0
- package/dist/components/ActionBar/index.cjs.js +1 -0
- package/dist/components/ActionBar/index.d.ts +2 -0
- package/dist/components/ActionBar/index.es.js +4 -0
- package/dist/components/ActionBar/style.cjs.js +1 -0
- package/dist/components/ActionBar/style.es.js +61 -0
- package/dist/components/ActionBar/types.cjs.js +1 -0
- package/dist/components/ActionBar/types.d.ts +17 -0
- package/dist/components/ActionBar/types.es.js +1 -0
- 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.d.ts +1 -0
- package/dist/components/EmptyState/EmptyState.es.js +22 -20
- 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/types.d.ts +1 -0
- 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.d.ts +2 -1
- package/dist/components/index.es.js +302 -300
- package/dist/components/stories/ActionBar.stories.cjs.js +1 -0
- package/dist/components/stories/ActionBar.stories.d.ts +11 -0
- package/dist/components/stories/ActionBar.stories.es.js +206 -0
- 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-IET9soda.cjs → createSvgIcon-BJRigbha.cjs} +1 -1
- package/dist/{createSvgIcon-B1E6Wo8z.js → createSvgIcon-BV54rC7k.js} +3 -3
- package/dist/{dividerClasses-C07OJKLL.cjs → dividerClasses-CbwbHy8r.cjs} +1 -1
- package/dist/{dividerClasses-BPJZ8SFy.js → dividerClasses-DDXs86hs.js} +1 -1
- package/dist/{extendSxProp-ZMCunXYm.cjs → extendSxProp-CxMSlckP.cjs} +1 -1
- package/dist/{extendSxProp-CesAxox9.js → extendSxProp-XouBF-Ct.js} +1 -1
- package/dist/identifier-DBvccNCw.cjs +55 -0
- package/dist/identifier-Dnc8T93Z.js +2673 -0
- package/dist/{index-8G2jvqZ8.js → index-9te7SXrs.js} +47 -41
- package/dist/index-BkNQtUZJ.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +302 -300
- package/dist/{listItemTextClasses-B5VhLd9W.js → listItemTextClasses-4p_83pwn.js} +1 -1
- package/dist/{listItemTextClasses-CJDKfXvl.cjs → listItemTextClasses-Cxo4anAo.cjs} +1 -1
- package/dist/{memoTheme-BKfsJx_F.cjs → memoTheme-Dv-rDqFz.cjs} +1 -1
- package/dist/{memoTheme-DAFDflPY.js → memoTheme-K37vidlb.js} +1 -1
- package/dist/{mergeSlotProps-DXwOW3FE.cjs → mergeSlotProps-CXO1f70l.cjs} +1 -1
- package/dist/{mergeSlotProps-ChAye7iz.js → mergeSlotProps-DSWiBSbD.js} +1 -1
- package/dist/styled-B7pKW9DQ.cjs +1 -0
- package/dist/styled-JnAdiSL5.js +5 -0
- package/dist/{useSlot-BzdKwDQ5.js → useSlot-GooGQrej.js} +1 -1
- package/dist/{useSlot-C2FjoUpF.cjs → useSlot-ONna5RyM.cjs} +1 -1
- package/dist/{useSlotProps-DdMuGelR.js → useSlotProps-C34Wr67s.js} +1 -1
- package/dist/{useSlotProps-CrQGQLdL.cjs → useSlotProps-CtYqUyy1.cjs} +1 -1
- package/dist/{useTheme-XJ9sFCWX.js → useTheme-CH7DA5fq.js} +3 -3
- package/dist/{useTheme-BLMJDSsv.cjs → useTheme-D6wPRo0G.cjs} +1 -1
- package/dist/{useTheme-CooC_6Ep.cjs → useTheme-DkiCyF-9.cjs} +1 -1
- package/dist/{useTheme--i9fxE_A.js → useTheme-VH02z7nF.js} +1 -1
- package/dist/{useThemeProps-B9E_wuN9.cjs → useThemeProps-BU5PNyhK.cjs} +1 -1
- package/dist/useThemeProps-CnZ-QgwI.cjs +1 -0
- package/dist/useThemeProps-DT4QxdFn.js +17 -0
- package/dist/{useThemeProps-B4VFkcP0.js → useThemeProps-DZ05-54P.js} +2 -2
- package/package.json +7 -7
- package/dist/Autocomplete-BdPO9SAd.cjs +0 -6
- package/dist/Backdrop-DeNTZlA5.cjs +0 -1
- package/dist/Button-DyJV5llI.cjs +0 -1
- package/dist/Checkbox-3hTSv0EZ.cjs +0 -1
- package/dist/Chip-BG0OU0KI.cjs +0 -1
- package/dist/Chip-DmjZbx_X.js +0 -572
- package/dist/DatePicker-CH8XRum0.cjs +0 -16
- package/dist/DefaultPropsProvider-Cnf49AIv.cjs +0 -1
- package/dist/DefaultPropsProvider-DqazQPtr.js +0 -306
- package/dist/Dialog-Btagj_Gt.cjs +0 -1
- package/dist/Divider-NermA5hZ.cjs +0 -1
- package/dist/IconButton-CjtMjZ9e.cjs +0 -2
- package/dist/Link-BwbY60dS.cjs +0 -1
- package/dist/ListItemText-cVnimPLO.cjs +0 -1
- package/dist/MenuItem-DHM3qxwr.cjs +0 -1
- package/dist/Radio-Bwh_t6PC.cjs +0 -1
- package/dist/Select-3HP39Z7o.cjs +0 -3
- package/dist/Switch-CTEqKDiv.cjs +0 -1
- package/dist/SwitchBase-P3zHVmLX.cjs +0 -1
- package/dist/ToggleButtonGroup-CA1cSosV.cjs +0 -138
- package/dist/identifier-BoZelETM.cjs +0 -55
- package/dist/identifier-PWESmBq6.js +0 -2598
- package/dist/index-D3lMWU76.cjs +0 -1
- package/dist/styled-C7gyRDlj.js +0 -5
- package/dist/styled-Cax0O00h.cjs +0 -1
- package/dist/useThemeProps-C1A3rnbh.cjs +0 -1
- package/dist/useThemeProps-CQ9rZe7g.js +0 -17
|
@@ -0,0 +1,2673 @@
|
|
|
1
|
+
import kt from "@emotion/styled";
|
|
2
|
+
import "@emotion/react";
|
|
3
|
+
import * as dt from "react";
|
|
4
|
+
import { P as le } from "./index-Sy88PpwE.js";
|
|
5
|
+
var ye = { exports: {} }, v = {};
|
|
6
|
+
/**
|
|
7
|
+
* @license React
|
|
8
|
+
* react-is.production.js
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the MIT license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/
|
|
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
|
+
case e:
|
|
25
|
+
switch (l = l.type, l) {
|
|
26
|
+
case r:
|
|
27
|
+
case o:
|
|
28
|
+
case n:
|
|
29
|
+
case f:
|
|
30
|
+
case d:
|
|
31
|
+
case p:
|
|
32
|
+
return l;
|
|
33
|
+
default:
|
|
34
|
+
switch (l = l && l.$$typeof, l) {
|
|
35
|
+
case s:
|
|
36
|
+
case u:
|
|
37
|
+
case h:
|
|
38
|
+
case y:
|
|
39
|
+
return l;
|
|
40
|
+
case a:
|
|
41
|
+
return l;
|
|
42
|
+
default:
|
|
43
|
+
return C;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
case t:
|
|
47
|
+
return C;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
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
|
+
/**
|
|
81
|
+
* @license React
|
|
82
|
+
* react-is.development.js
|
|
83
|
+
*
|
|
84
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
85
|
+
*
|
|
86
|
+
* This source code is licensed under the MIT license found in the
|
|
87
|
+
* LICENSE file in the root directory of this source tree.
|
|
88
|
+
*/
|
|
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
|
+
case t:
|
|
97
|
+
switch (l = l.type, l) {
|
|
98
|
+
case n:
|
|
99
|
+
case a:
|
|
100
|
+
case o:
|
|
101
|
+
case d:
|
|
102
|
+
case y:
|
|
103
|
+
case b:
|
|
104
|
+
return l;
|
|
105
|
+
default:
|
|
106
|
+
switch (l = l && l.$$typeof, l) {
|
|
107
|
+
case u:
|
|
108
|
+
case f:
|
|
109
|
+
case p:
|
|
110
|
+
case h:
|
|
111
|
+
return l;
|
|
112
|
+
case s:
|
|
113
|
+
return l;
|
|
114
|
+
default:
|
|
115
|
+
return C;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
case r:
|
|
119
|
+
return C;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
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"), 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
|
+
var t, r, n = "";
|
|
160
|
+
if (typeof e == "string" || typeof e == "number") n += e;
|
|
161
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
162
|
+
var o = e.length;
|
|
163
|
+
for (t = 0; t < o; t++) e[t] && (r = mt(e[t])) && (n && (n += " "), n += r);
|
|
164
|
+
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
165
|
+
return n;
|
|
166
|
+
}
|
|
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
|
+
return n;
|
|
170
|
+
}
|
|
171
|
+
function Q(e, ...t) {
|
|
172
|
+
const r = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
173
|
+
return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
|
|
174
|
+
}
|
|
175
|
+
function gt(e) {
|
|
176
|
+
if (typeof e != "string")
|
|
177
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Q(7));
|
|
178
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
179
|
+
}
|
|
180
|
+
function H(e) {
|
|
181
|
+
if (typeof e != "object" || e === null)
|
|
182
|
+
return !1;
|
|
183
|
+
const t = Object.getPrototypeOf(e);
|
|
184
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
185
|
+
}
|
|
186
|
+
function ht(e) {
|
|
187
|
+
if (/* @__PURE__ */ dt.isValidElement(e) || pt.isValidElementType(e) || !H(e))
|
|
188
|
+
return e;
|
|
189
|
+
const t = {};
|
|
190
|
+
return Object.keys(e).forEach((r) => {
|
|
191
|
+
t[r] = ht(e[r]);
|
|
192
|
+
}), t;
|
|
193
|
+
}
|
|
194
|
+
function M(e, t, r = {
|
|
195
|
+
clone: !0
|
|
196
|
+
}) {
|
|
197
|
+
const n = r.clone ? {
|
|
198
|
+
...e
|
|
199
|
+
} : e;
|
|
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
|
+
}), n;
|
|
204
|
+
}
|
|
205
|
+
function de(e, t) {
|
|
206
|
+
return t ? M(e, t, {
|
|
207
|
+
clone: !1
|
|
208
|
+
// No need to clone deep, it's way faster.
|
|
209
|
+
}) : e;
|
|
210
|
+
}
|
|
211
|
+
const X = process.env.NODE_ENV !== "production" ? le.oneOfType([le.number, le.string, le.object, le.array]) : {};
|
|
212
|
+
function qe(e, t) {
|
|
213
|
+
if (!e.containerQueries)
|
|
214
|
+
return t;
|
|
215
|
+
const r = Object.keys(t).filter((n) => n.startsWith("@container")).sort((n, o) => {
|
|
216
|
+
var s, u;
|
|
217
|
+
const a = /min-width:\s*([0-9.]+)/;
|
|
218
|
+
return +(((s = n.match(a)) == null ? void 0 : s[1]) || 0) - +(((u = o.match(a)) == null ? void 0 : u[1]) || 0);
|
|
219
|
+
});
|
|
220
|
+
return r.length ? r.reduce((n, o) => {
|
|
221
|
+
const a = t[o];
|
|
222
|
+
return delete n[o], n[o] = a, n;
|
|
223
|
+
}, {
|
|
224
|
+
...t
|
|
225
|
+
}) : t;
|
|
226
|
+
}
|
|
227
|
+
function Bt(e, t) {
|
|
228
|
+
return t === "@" || t.startsWith("@") && (e.some((r) => t.startsWith(`@${r}`)) || !!t.match(/^@\d/));
|
|
229
|
+
}
|
|
230
|
+
function Pt(e, t) {
|
|
231
|
+
const r = t.match(/^@([^/]+)?\/?(.+)?$/);
|
|
232
|
+
if (!r) {
|
|
233
|
+
if (process.env.NODE_ENV !== "production")
|
|
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\`.` : Q(18, `(${t})`));
|
|
236
|
+
return null;
|
|
237
|
+
}
|
|
238
|
+
const [, n, o] = r, a = Number.isNaN(+n) ? n || 0 : +n;
|
|
239
|
+
return e.containerQueries(o).up(a);
|
|
240
|
+
}
|
|
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
|
+
return f.includes("not all and") ? f.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : f;
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
const n = {}, o = (a) => (r(n, a), n);
|
|
250
|
+
return r(o), {
|
|
251
|
+
...e,
|
|
252
|
+
containerQueries: o
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
const $e = {
|
|
256
|
+
xs: 0,
|
|
257
|
+
// phone
|
|
258
|
+
sm: 600,
|
|
259
|
+
// tablet
|
|
260
|
+
md: 900,
|
|
261
|
+
// small laptop
|
|
262
|
+
lg: 1200,
|
|
263
|
+
// desktop
|
|
264
|
+
xl: 1536
|
|
265
|
+
// large screen
|
|
266
|
+
}, Qe = {
|
|
267
|
+
// Sorted ASC by size. That's important.
|
|
268
|
+
// It can't be configured as it's used statically for propTypes.
|
|
269
|
+
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
270
|
+
up: (e) => `@media (min-width:${$e[e]}px)`
|
|
271
|
+
}, Mt = {
|
|
272
|
+
containerQueries: (e) => ({
|
|
273
|
+
up: (t) => {
|
|
274
|
+
let r = typeof t == "number" ? t : $e[t] || t;
|
|
275
|
+
return typeof r == "number" && (r = `${r}px`), e ? `@container ${e} (min-width:${r})` : `@container (min-width:${r})`;
|
|
276
|
+
}
|
|
277
|
+
})
|
|
278
|
+
};
|
|
279
|
+
function z(e, t, r) {
|
|
280
|
+
const n = e.theme || {};
|
|
281
|
+
if (Array.isArray(t)) {
|
|
282
|
+
const a = n.breakpoints || Qe;
|
|
283
|
+
return t.reduce((s, u, f) => (s[a.up(a.keys[f])] = r(t[f]), s), {});
|
|
284
|
+
}
|
|
285
|
+
if (typeof t == "object") {
|
|
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
|
+
const f = a.up(u);
|
|
293
|
+
s[f] = r(t[u], u);
|
|
294
|
+
} else {
|
|
295
|
+
const f = u;
|
|
296
|
+
s[f] = t[f];
|
|
297
|
+
}
|
|
298
|
+
return s;
|
|
299
|
+
}, {});
|
|
300
|
+
}
|
|
301
|
+
return r(t);
|
|
302
|
+
}
|
|
303
|
+
function yt(e = {}) {
|
|
304
|
+
var r;
|
|
305
|
+
return ((r = e.keys) == null ? void 0 : r.reduce((n, o) => {
|
|
306
|
+
const a = e.up(o);
|
|
307
|
+
return n[a] = {}, n;
|
|
308
|
+
}, {})) || {};
|
|
309
|
+
}
|
|
310
|
+
function Fe(e, t) {
|
|
311
|
+
return e.reduce((r, n) => {
|
|
312
|
+
const o = r[n];
|
|
313
|
+
return (!o || Object.keys(o).length === 0) && delete r[n], r;
|
|
314
|
+
}, t);
|
|
315
|
+
}
|
|
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
|
+
}
|
|
320
|
+
function Ft(e, t) {
|
|
321
|
+
if (typeof e != "object")
|
|
322
|
+
return {};
|
|
323
|
+
const r = {}, n = Object.keys(t);
|
|
324
|
+
return Array.isArray(e) ? n.forEach((o, a) => {
|
|
325
|
+
a < e.length && (r[o] = !0);
|
|
326
|
+
}) : n.forEach((o) => {
|
|
327
|
+
e[o] != null && (r[o] = !0);
|
|
328
|
+
}), r;
|
|
329
|
+
}
|
|
330
|
+
function Dn({
|
|
331
|
+
values: e,
|
|
332
|
+
breakpoints: t,
|
|
333
|
+
base: r
|
|
334
|
+
}) {
|
|
335
|
+
const n = r || Ft(e, t), o = Object.keys(n);
|
|
336
|
+
if (o.length === 0)
|
|
337
|
+
return e;
|
|
338
|
+
let a;
|
|
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
|
+
}
|
|
341
|
+
function Ee(e, t, r = !0) {
|
|
342
|
+
if (!t || typeof t != "string")
|
|
343
|
+
return null;
|
|
344
|
+
if (e && e.vars && r) {
|
|
345
|
+
const n = `vars.${t}`.split(".").reduce((o, a) => o && o[a] ? o[a] : null, e);
|
|
346
|
+
if (n != null)
|
|
347
|
+
return n;
|
|
348
|
+
}
|
|
349
|
+
return t.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
|
|
350
|
+
}
|
|
351
|
+
function Ce(e, t, r, n = r) {
|
|
352
|
+
let 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
|
+
}
|
|
355
|
+
function B(e) {
|
|
356
|
+
const {
|
|
357
|
+
prop: t,
|
|
358
|
+
cssProperty: r = e.prop,
|
|
359
|
+
themeKey: n,
|
|
360
|
+
transform: o
|
|
361
|
+
} = e, a = (s) => {
|
|
362
|
+
if (s[t] == null)
|
|
363
|
+
return null;
|
|
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
|
+
[r]: p
|
|
369
|
+
};
|
|
370
|
+
});
|
|
371
|
+
};
|
|
372
|
+
return a.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
373
|
+
[t]: X
|
|
374
|
+
} : {}, a.filterProps = [t], a;
|
|
375
|
+
}
|
|
376
|
+
function Vt(e) {
|
|
377
|
+
const t = {};
|
|
378
|
+
return (r) => (t[r] === void 0 && (t[r] = e(r)), t[r]);
|
|
379
|
+
}
|
|
380
|
+
const Lt = {
|
|
381
|
+
m: "margin",
|
|
382
|
+
p: "padding"
|
|
383
|
+
}, Wt = {
|
|
384
|
+
t: "Top",
|
|
385
|
+
r: "Right",
|
|
386
|
+
b: "Bottom",
|
|
387
|
+
l: "Left",
|
|
388
|
+
x: ["Left", "Right"],
|
|
389
|
+
y: ["Top", "Bottom"]
|
|
390
|
+
}, Xe = {
|
|
391
|
+
marginX: "mx",
|
|
392
|
+
marginY: "my",
|
|
393
|
+
paddingX: "px",
|
|
394
|
+
paddingY: "py"
|
|
395
|
+
}, Ut = Vt((e) => {
|
|
396
|
+
if (e.length > 2)
|
|
397
|
+
if (Xe[e])
|
|
398
|
+
e = Xe[e];
|
|
399
|
+
else
|
|
400
|
+
return [e];
|
|
401
|
+
const [t, r] = e.split(""), n = Lt[t], o = Wt[r] || "";
|
|
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"], 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
|
+
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
|
+
if (typeof a == "string")
|
|
408
|
+
return a;
|
|
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
|
+
`)) : 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
|
+
`)));
|
|
413
|
+
const u = o[s];
|
|
414
|
+
return a >= 0 ? u : typeof u == "number" ? -u : typeof u == "string" && u.startsWith("var(") ? `calc(-1 * ${u})` : `-${u}`;
|
|
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
|
+
`)), () => {
|
|
417
|
+
});
|
|
418
|
+
}
|
|
419
|
+
function Ue(e) {
|
|
420
|
+
return me(e, "spacing", 8, "spacing");
|
|
421
|
+
}
|
|
422
|
+
function ge(e, t) {
|
|
423
|
+
return typeof t == "string" || t == null ? t : e(t);
|
|
424
|
+
}
|
|
425
|
+
function Gt(e, t) {
|
|
426
|
+
return (r) => e.reduce((n, o) => (n[o] = ge(t, r), n), {});
|
|
427
|
+
}
|
|
428
|
+
function zt(e, t, r, n) {
|
|
429
|
+
if (!t.includes(r))
|
|
430
|
+
return null;
|
|
431
|
+
const o = Ut(r), a = Gt(o, n), s = e[r];
|
|
432
|
+
return z(e, s, a);
|
|
433
|
+
}
|
|
434
|
+
function bt(e, t) {
|
|
435
|
+
const r = Ue(e.theme);
|
|
436
|
+
return Object.keys(e).map((n) => zt(e, t, n, r)).reduce(de, {});
|
|
437
|
+
}
|
|
438
|
+
function N(e) {
|
|
439
|
+
return bt(e, xe);
|
|
440
|
+
}
|
|
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
|
+
}
|
|
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
|
+
const t = e.reduce((n, o) => (o.filterProps.forEach((a) => {
|
|
451
|
+
n[a] = o;
|
|
452
|
+
}), n), {}), r = (n) => Object.keys(n).reduce((o, a) => t[a] ? de(o, t[a](n)) : o, {});
|
|
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
|
+
}
|
|
455
|
+
function L(e) {
|
|
456
|
+
return typeof e != "number" ? e : `${e}px solid`;
|
|
457
|
+
}
|
|
458
|
+
function W(e, t) {
|
|
459
|
+
return B({
|
|
460
|
+
prop: e,
|
|
461
|
+
themeKey: "borders",
|
|
462
|
+
transform: t
|
|
463
|
+
});
|
|
464
|
+
}
|
|
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
|
+
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
467
|
+
const t = me(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
|
|
468
|
+
borderRadius: ge(t, n)
|
|
469
|
+
});
|
|
470
|
+
return z(e, e.borderRadius, r);
|
|
471
|
+
}
|
|
472
|
+
return null;
|
|
473
|
+
};
|
|
474
|
+
ve.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
475
|
+
borderRadius: X
|
|
476
|
+
} : {};
|
|
477
|
+
ve.filterProps = ["borderRadius"];
|
|
478
|
+
Ae(Yt, Kt, Ht, qt, Qt, Xt, Jt, Zt, er, tr, ve, rr, nr);
|
|
479
|
+
const we = (e) => {
|
|
480
|
+
if (e.gap !== void 0 && e.gap !== null) {
|
|
481
|
+
const t = me(e.theme, "spacing", 8, "gap"), r = (n) => ({
|
|
482
|
+
gap: ge(t, n)
|
|
483
|
+
});
|
|
484
|
+
return z(e, e.gap, r);
|
|
485
|
+
}
|
|
486
|
+
return null;
|
|
487
|
+
};
|
|
488
|
+
we.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
489
|
+
gap: X
|
|
490
|
+
} : {};
|
|
491
|
+
we.filterProps = ["gap"];
|
|
492
|
+
const _e = (e) => {
|
|
493
|
+
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
494
|
+
const t = me(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
|
|
495
|
+
columnGap: ge(t, n)
|
|
496
|
+
});
|
|
497
|
+
return z(e, e.columnGap, r);
|
|
498
|
+
}
|
|
499
|
+
return null;
|
|
500
|
+
};
|
|
501
|
+
_e.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
502
|
+
columnGap: X
|
|
503
|
+
} : {};
|
|
504
|
+
_e.filterProps = ["columnGap"];
|
|
505
|
+
const Oe = (e) => {
|
|
506
|
+
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
507
|
+
const t = me(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
|
|
508
|
+
rowGap: ge(t, n)
|
|
509
|
+
});
|
|
510
|
+
return z(e, e.rowGap, r);
|
|
511
|
+
}
|
|
512
|
+
return null;
|
|
513
|
+
};
|
|
514
|
+
Oe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
515
|
+
rowGap: X
|
|
516
|
+
} : {};
|
|
517
|
+
Oe.filterProps = ["rowGap"];
|
|
518
|
+
const or = B({
|
|
519
|
+
prop: "gridColumn"
|
|
520
|
+
}), ir = B({
|
|
521
|
+
prop: "gridRow"
|
|
522
|
+
}), ar = B({
|
|
523
|
+
prop: "gridAutoFlow"
|
|
524
|
+
}), sr = B({
|
|
525
|
+
prop: "gridAutoColumns"
|
|
526
|
+
}), lr = B({
|
|
527
|
+
prop: "gridAutoRows"
|
|
528
|
+
}), cr = B({
|
|
529
|
+
prop: "gridTemplateColumns"
|
|
530
|
+
}), ur = B({
|
|
531
|
+
prop: "gridTemplateRows"
|
|
532
|
+
}), fr = B({
|
|
533
|
+
prop: "gridTemplateAreas"
|
|
534
|
+
}), dr = B({
|
|
535
|
+
prop: "gridArea"
|
|
536
|
+
});
|
|
537
|
+
Ae(we, _e, Oe, or, ir, ar, sr, lr, cr, ur, fr, dr);
|
|
538
|
+
function ae(e, t) {
|
|
539
|
+
return t === "grey" ? t : e;
|
|
540
|
+
}
|
|
541
|
+
const pr = B({
|
|
542
|
+
prop: "color",
|
|
543
|
+
themeKey: "palette",
|
|
544
|
+
transform: ae
|
|
545
|
+
}), mr = B({
|
|
546
|
+
prop: "bgcolor",
|
|
547
|
+
cssProperty: "backgroundColor",
|
|
548
|
+
themeKey: "palette",
|
|
549
|
+
transform: ae
|
|
550
|
+
}), gr = B({
|
|
551
|
+
prop: "backgroundColor",
|
|
552
|
+
themeKey: "palette",
|
|
553
|
+
transform: ae
|
|
554
|
+
});
|
|
555
|
+
Ae(pr, mr, gr);
|
|
556
|
+
function F(e) {
|
|
557
|
+
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
558
|
+
}
|
|
559
|
+
const hr = B({
|
|
560
|
+
prop: "width",
|
|
561
|
+
transform: F
|
|
562
|
+
}), je = (e) => {
|
|
563
|
+
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
564
|
+
const t = (r) => {
|
|
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
|
+
return n ? ((f = (u = e.theme) == null ? void 0 : u.breakpoints) == null ? void 0 : f.unit) !== "px" ? {
|
|
568
|
+
maxWidth: `${n}${e.theme.breakpoints.unit}`
|
|
569
|
+
} : {
|
|
570
|
+
maxWidth: n
|
|
571
|
+
} : {
|
|
572
|
+
maxWidth: F(r)
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
return z(e, e.maxWidth, t);
|
|
576
|
+
}
|
|
577
|
+
return null;
|
|
578
|
+
};
|
|
579
|
+
je.filterProps = ["maxWidth"];
|
|
580
|
+
const yr = B({
|
|
581
|
+
prop: "minWidth",
|
|
582
|
+
transform: F
|
|
583
|
+
}), br = B({
|
|
584
|
+
prop: "height",
|
|
585
|
+
transform: F
|
|
586
|
+
}), Cr = B({
|
|
587
|
+
prop: "maxHeight",
|
|
588
|
+
transform: F
|
|
589
|
+
}), Sr = B({
|
|
590
|
+
prop: "minHeight",
|
|
591
|
+
transform: F
|
|
592
|
+
});
|
|
593
|
+
B({
|
|
594
|
+
prop: "size",
|
|
595
|
+
cssProperty: "width",
|
|
596
|
+
transform: F
|
|
597
|
+
});
|
|
598
|
+
B({
|
|
599
|
+
prop: "size",
|
|
600
|
+
cssProperty: "height",
|
|
601
|
+
transform: F
|
|
602
|
+
});
|
|
603
|
+
const $r = B({
|
|
604
|
+
prop: "boxSizing"
|
|
605
|
+
});
|
|
606
|
+
Ae(hr, je, yr, br, Cr, Sr, $r);
|
|
607
|
+
const ke = {
|
|
608
|
+
// borders
|
|
609
|
+
border: {
|
|
610
|
+
themeKey: "borders",
|
|
611
|
+
transform: L
|
|
612
|
+
},
|
|
613
|
+
borderTop: {
|
|
614
|
+
themeKey: "borders",
|
|
615
|
+
transform: L
|
|
616
|
+
},
|
|
617
|
+
borderRight: {
|
|
618
|
+
themeKey: "borders",
|
|
619
|
+
transform: L
|
|
620
|
+
},
|
|
621
|
+
borderBottom: {
|
|
622
|
+
themeKey: "borders",
|
|
623
|
+
transform: L
|
|
624
|
+
},
|
|
625
|
+
borderLeft: {
|
|
626
|
+
themeKey: "borders",
|
|
627
|
+
transform: L
|
|
628
|
+
},
|
|
629
|
+
borderColor: {
|
|
630
|
+
themeKey: "palette"
|
|
631
|
+
},
|
|
632
|
+
borderTopColor: {
|
|
633
|
+
themeKey: "palette"
|
|
634
|
+
},
|
|
635
|
+
borderRightColor: {
|
|
636
|
+
themeKey: "palette"
|
|
637
|
+
},
|
|
638
|
+
borderBottomColor: {
|
|
639
|
+
themeKey: "palette"
|
|
640
|
+
},
|
|
641
|
+
borderLeftColor: {
|
|
642
|
+
themeKey: "palette"
|
|
643
|
+
},
|
|
644
|
+
outline: {
|
|
645
|
+
themeKey: "borders",
|
|
646
|
+
transform: L
|
|
647
|
+
},
|
|
648
|
+
outlineColor: {
|
|
649
|
+
themeKey: "palette"
|
|
650
|
+
},
|
|
651
|
+
borderRadius: {
|
|
652
|
+
themeKey: "shape.borderRadius",
|
|
653
|
+
style: ve
|
|
654
|
+
},
|
|
655
|
+
// palette
|
|
656
|
+
color: {
|
|
657
|
+
themeKey: "palette",
|
|
658
|
+
transform: ae
|
|
659
|
+
},
|
|
660
|
+
bgcolor: {
|
|
661
|
+
themeKey: "palette",
|
|
662
|
+
cssProperty: "backgroundColor",
|
|
663
|
+
transform: ae
|
|
664
|
+
},
|
|
665
|
+
backgroundColor: {
|
|
666
|
+
themeKey: "palette",
|
|
667
|
+
transform: ae
|
|
668
|
+
},
|
|
669
|
+
// spacing
|
|
670
|
+
p: {
|
|
671
|
+
style: R
|
|
672
|
+
},
|
|
673
|
+
pt: {
|
|
674
|
+
style: R
|
|
675
|
+
},
|
|
676
|
+
pr: {
|
|
677
|
+
style: R
|
|
678
|
+
},
|
|
679
|
+
pb: {
|
|
680
|
+
style: R
|
|
681
|
+
},
|
|
682
|
+
pl: {
|
|
683
|
+
style: R
|
|
684
|
+
},
|
|
685
|
+
px: {
|
|
686
|
+
style: R
|
|
687
|
+
},
|
|
688
|
+
py: {
|
|
689
|
+
style: R
|
|
690
|
+
},
|
|
691
|
+
padding: {
|
|
692
|
+
style: R
|
|
693
|
+
},
|
|
694
|
+
paddingTop: {
|
|
695
|
+
style: R
|
|
696
|
+
},
|
|
697
|
+
paddingRight: {
|
|
698
|
+
style: R
|
|
699
|
+
},
|
|
700
|
+
paddingBottom: {
|
|
701
|
+
style: R
|
|
702
|
+
},
|
|
703
|
+
paddingLeft: {
|
|
704
|
+
style: R
|
|
705
|
+
},
|
|
706
|
+
paddingX: {
|
|
707
|
+
style: R
|
|
708
|
+
},
|
|
709
|
+
paddingY: {
|
|
710
|
+
style: R
|
|
711
|
+
},
|
|
712
|
+
paddingInline: {
|
|
713
|
+
style: R
|
|
714
|
+
},
|
|
715
|
+
paddingInlineStart: {
|
|
716
|
+
style: R
|
|
717
|
+
},
|
|
718
|
+
paddingInlineEnd: {
|
|
719
|
+
style: R
|
|
720
|
+
},
|
|
721
|
+
paddingBlock: {
|
|
722
|
+
style: R
|
|
723
|
+
},
|
|
724
|
+
paddingBlockStart: {
|
|
725
|
+
style: R
|
|
726
|
+
},
|
|
727
|
+
paddingBlockEnd: {
|
|
728
|
+
style: R
|
|
729
|
+
},
|
|
730
|
+
m: {
|
|
731
|
+
style: N
|
|
732
|
+
},
|
|
733
|
+
mt: {
|
|
734
|
+
style: N
|
|
735
|
+
},
|
|
736
|
+
mr: {
|
|
737
|
+
style: N
|
|
738
|
+
},
|
|
739
|
+
mb: {
|
|
740
|
+
style: N
|
|
741
|
+
},
|
|
742
|
+
ml: {
|
|
743
|
+
style: N
|
|
744
|
+
},
|
|
745
|
+
mx: {
|
|
746
|
+
style: N
|
|
747
|
+
},
|
|
748
|
+
my: {
|
|
749
|
+
style: N
|
|
750
|
+
},
|
|
751
|
+
margin: {
|
|
752
|
+
style: N
|
|
753
|
+
},
|
|
754
|
+
marginTop: {
|
|
755
|
+
style: N
|
|
756
|
+
},
|
|
757
|
+
marginRight: {
|
|
758
|
+
style: N
|
|
759
|
+
},
|
|
760
|
+
marginBottom: {
|
|
761
|
+
style: N
|
|
762
|
+
},
|
|
763
|
+
marginLeft: {
|
|
764
|
+
style: N
|
|
765
|
+
},
|
|
766
|
+
marginX: {
|
|
767
|
+
style: N
|
|
768
|
+
},
|
|
769
|
+
marginY: {
|
|
770
|
+
style: N
|
|
771
|
+
},
|
|
772
|
+
marginInline: {
|
|
773
|
+
style: N
|
|
774
|
+
},
|
|
775
|
+
marginInlineStart: {
|
|
776
|
+
style: N
|
|
777
|
+
},
|
|
778
|
+
marginInlineEnd: {
|
|
779
|
+
style: N
|
|
780
|
+
},
|
|
781
|
+
marginBlock: {
|
|
782
|
+
style: N
|
|
783
|
+
},
|
|
784
|
+
marginBlockStart: {
|
|
785
|
+
style: N
|
|
786
|
+
},
|
|
787
|
+
marginBlockEnd: {
|
|
788
|
+
style: N
|
|
789
|
+
},
|
|
790
|
+
// display
|
|
791
|
+
displayPrint: {
|
|
792
|
+
cssProperty: !1,
|
|
793
|
+
transform: (e) => ({
|
|
794
|
+
"@media print": {
|
|
795
|
+
display: e
|
|
796
|
+
}
|
|
797
|
+
})
|
|
798
|
+
},
|
|
799
|
+
display: {},
|
|
800
|
+
overflow: {},
|
|
801
|
+
textOverflow: {},
|
|
802
|
+
visibility: {},
|
|
803
|
+
whiteSpace: {},
|
|
804
|
+
// flexbox
|
|
805
|
+
flexBasis: {},
|
|
806
|
+
flexDirection: {},
|
|
807
|
+
flexWrap: {},
|
|
808
|
+
justifyContent: {},
|
|
809
|
+
alignItems: {},
|
|
810
|
+
alignContent: {},
|
|
811
|
+
order: {},
|
|
812
|
+
flex: {},
|
|
813
|
+
flexGrow: {},
|
|
814
|
+
flexShrink: {},
|
|
815
|
+
alignSelf: {},
|
|
816
|
+
justifyItems: {},
|
|
817
|
+
justifySelf: {},
|
|
818
|
+
// grid
|
|
819
|
+
gap: {
|
|
820
|
+
style: we
|
|
821
|
+
},
|
|
822
|
+
rowGap: {
|
|
823
|
+
style: Oe
|
|
824
|
+
},
|
|
825
|
+
columnGap: {
|
|
826
|
+
style: _e
|
|
827
|
+
},
|
|
828
|
+
gridColumn: {},
|
|
829
|
+
gridRow: {},
|
|
830
|
+
gridAutoFlow: {},
|
|
831
|
+
gridAutoColumns: {},
|
|
832
|
+
gridAutoRows: {},
|
|
833
|
+
gridTemplateColumns: {},
|
|
834
|
+
gridTemplateRows: {},
|
|
835
|
+
gridTemplateAreas: {},
|
|
836
|
+
gridArea: {},
|
|
837
|
+
// positions
|
|
838
|
+
position: {},
|
|
839
|
+
zIndex: {
|
|
840
|
+
themeKey: "zIndex"
|
|
841
|
+
},
|
|
842
|
+
top: {},
|
|
843
|
+
right: {},
|
|
844
|
+
bottom: {},
|
|
845
|
+
left: {},
|
|
846
|
+
// shadows
|
|
847
|
+
boxShadow: {
|
|
848
|
+
themeKey: "shadows"
|
|
849
|
+
},
|
|
850
|
+
// sizing
|
|
851
|
+
width: {
|
|
852
|
+
transform: F
|
|
853
|
+
},
|
|
854
|
+
maxWidth: {
|
|
855
|
+
style: je
|
|
856
|
+
},
|
|
857
|
+
minWidth: {
|
|
858
|
+
transform: F
|
|
859
|
+
},
|
|
860
|
+
height: {
|
|
861
|
+
transform: F
|
|
862
|
+
},
|
|
863
|
+
maxHeight: {
|
|
864
|
+
transform: F
|
|
865
|
+
},
|
|
866
|
+
minHeight: {
|
|
867
|
+
transform: F
|
|
868
|
+
},
|
|
869
|
+
boxSizing: {},
|
|
870
|
+
// typography
|
|
871
|
+
font: {
|
|
872
|
+
themeKey: "font"
|
|
873
|
+
},
|
|
874
|
+
fontFamily: {
|
|
875
|
+
themeKey: "typography"
|
|
876
|
+
},
|
|
877
|
+
fontSize: {
|
|
878
|
+
themeKey: "typography"
|
|
879
|
+
},
|
|
880
|
+
fontStyle: {
|
|
881
|
+
themeKey: "typography"
|
|
882
|
+
},
|
|
883
|
+
fontWeight: {
|
|
884
|
+
themeKey: "typography"
|
|
885
|
+
},
|
|
886
|
+
letterSpacing: {},
|
|
887
|
+
textTransform: {},
|
|
888
|
+
lineHeight: {},
|
|
889
|
+
textAlign: {},
|
|
890
|
+
typography: {
|
|
891
|
+
cssProperty: !1,
|
|
892
|
+
themeKey: "typography"
|
|
893
|
+
}
|
|
894
|
+
};
|
|
895
|
+
function Er(...e) {
|
|
896
|
+
const t = e.reduce((n, o) => n.concat(Object.keys(o)), []), r = new Set(t);
|
|
897
|
+
return e.every((n) => r.size === Object.keys(n).length);
|
|
898
|
+
}
|
|
899
|
+
function xr(e, t) {
|
|
900
|
+
return typeof e == "function" ? e(t) : e;
|
|
901
|
+
}
|
|
902
|
+
function Tr() {
|
|
903
|
+
function e(r, n, o, a) {
|
|
904
|
+
const s = {
|
|
905
|
+
[r]: n,
|
|
906
|
+
theme: o
|
|
907
|
+
}, u = a[r];
|
|
908
|
+
if (!u)
|
|
909
|
+
return {
|
|
910
|
+
[r]: n
|
|
911
|
+
};
|
|
912
|
+
const {
|
|
913
|
+
cssProperty: f = r,
|
|
914
|
+
themeKey: d,
|
|
915
|
+
transform: y,
|
|
916
|
+
style: h
|
|
917
|
+
} = u;
|
|
918
|
+
if (n == null)
|
|
919
|
+
return null;
|
|
920
|
+
if (d === "typography" && n === "inherit")
|
|
921
|
+
return {
|
|
922
|
+
[r]: n
|
|
923
|
+
};
|
|
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
|
+
};
|
|
930
|
+
});
|
|
931
|
+
}
|
|
932
|
+
function t(r) {
|
|
933
|
+
const {
|
|
934
|
+
sx: n,
|
|
935
|
+
theme: o = {},
|
|
936
|
+
nested: a
|
|
937
|
+
} = r || {};
|
|
938
|
+
if (!n)
|
|
939
|
+
return null;
|
|
940
|
+
const s = o.unstable_sxConfig ?? ke;
|
|
941
|
+
function u(f) {
|
|
942
|
+
let d = f;
|
|
943
|
+
if (typeof f == "function")
|
|
944
|
+
d = f(o);
|
|
945
|
+
else if (typeof f != "object")
|
|
946
|
+
return f;
|
|
947
|
+
if (!d)
|
|
948
|
+
return null;
|
|
949
|
+
const y = yt(o.breakpoints), h = Object.keys(y);
|
|
950
|
+
let p = y;
|
|
951
|
+
return Object.keys(d).forEach((b) => {
|
|
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
|
+
else {
|
|
958
|
+
const l = z({
|
|
959
|
+
theme: o
|
|
960
|
+
}, m, (C) => ({
|
|
961
|
+
[b]: C
|
|
962
|
+
}));
|
|
963
|
+
Er(l, m) ? p[b] = t({
|
|
964
|
+
sx: m,
|
|
965
|
+
theme: o,
|
|
966
|
+
nested: !0
|
|
967
|
+
}) : p = de(p, l);
|
|
968
|
+
}
|
|
969
|
+
else
|
|
970
|
+
p = de(p, e(b, m, o, s));
|
|
971
|
+
}), !a && o.modularCssLayers ? {
|
|
972
|
+
"@layer sx": qe(o, Fe(h, p))
|
|
973
|
+
} : qe(o, Fe(h, p));
|
|
974
|
+
}
|
|
975
|
+
return Array.isArray(n) ? n.map(u) : u(n);
|
|
976
|
+
}
|
|
977
|
+
return t;
|
|
978
|
+
}
|
|
979
|
+
const Ne = Tr();
|
|
980
|
+
Ne.filterProps = ["sx"];
|
|
981
|
+
function Ar(e) {
|
|
982
|
+
for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
|
|
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
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
|
|
985
|
+
r >>> 24, t = /* Math.imul(k, m): */
|
|
986
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
987
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
988
|
+
switch (o) {
|
|
989
|
+
case 3:
|
|
990
|
+
t ^= (e.charCodeAt(n + 2) & 255) << 16;
|
|
991
|
+
case 2:
|
|
992
|
+
t ^= (e.charCodeAt(n + 1) & 255) << 8;
|
|
993
|
+
case 1:
|
|
994
|
+
t ^= e.charCodeAt(n) & 255, t = /* Math.imul(h, m): */
|
|
995
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
996
|
+
}
|
|
997
|
+
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
998
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
999
|
+
}
|
|
1000
|
+
var vr = {
|
|
1001
|
+
animationIterationCount: 1,
|
|
1002
|
+
aspectRatio: 1,
|
|
1003
|
+
borderImageOutset: 1,
|
|
1004
|
+
borderImageSlice: 1,
|
|
1005
|
+
borderImageWidth: 1,
|
|
1006
|
+
boxFlex: 1,
|
|
1007
|
+
boxFlexGroup: 1,
|
|
1008
|
+
boxOrdinalGroup: 1,
|
|
1009
|
+
columnCount: 1,
|
|
1010
|
+
columns: 1,
|
|
1011
|
+
flex: 1,
|
|
1012
|
+
flexGrow: 1,
|
|
1013
|
+
flexPositive: 1,
|
|
1014
|
+
flexShrink: 1,
|
|
1015
|
+
flexNegative: 1,
|
|
1016
|
+
flexOrder: 1,
|
|
1017
|
+
gridRow: 1,
|
|
1018
|
+
gridRowEnd: 1,
|
|
1019
|
+
gridRowSpan: 1,
|
|
1020
|
+
gridRowStart: 1,
|
|
1021
|
+
gridColumn: 1,
|
|
1022
|
+
gridColumnEnd: 1,
|
|
1023
|
+
gridColumnSpan: 1,
|
|
1024
|
+
gridColumnStart: 1,
|
|
1025
|
+
msGridRow: 1,
|
|
1026
|
+
msGridRowSpan: 1,
|
|
1027
|
+
msGridColumn: 1,
|
|
1028
|
+
msGridColumnSpan: 1,
|
|
1029
|
+
fontWeight: 1,
|
|
1030
|
+
lineHeight: 1,
|
|
1031
|
+
opacity: 1,
|
|
1032
|
+
order: 1,
|
|
1033
|
+
orphans: 1,
|
|
1034
|
+
scale: 1,
|
|
1035
|
+
tabSize: 1,
|
|
1036
|
+
widows: 1,
|
|
1037
|
+
zIndex: 1,
|
|
1038
|
+
zoom: 1,
|
|
1039
|
+
WebkitLineClamp: 1,
|
|
1040
|
+
// SVG-related properties
|
|
1041
|
+
fillOpacity: 1,
|
|
1042
|
+
floodOpacity: 1,
|
|
1043
|
+
stopOpacity: 1,
|
|
1044
|
+
strokeDasharray: 1,
|
|
1045
|
+
strokeDashoffset: 1,
|
|
1046
|
+
strokeMiterlimit: 1,
|
|
1047
|
+
strokeOpacity: 1,
|
|
1048
|
+
strokeWidth: 1
|
|
1049
|
+
};
|
|
1050
|
+
function wr(e) {
|
|
1051
|
+
var t = /* @__PURE__ */ Object.create(null);
|
|
1052
|
+
return function(r) {
|
|
1053
|
+
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
1054
|
+
};
|
|
1055
|
+
}
|
|
1056
|
+
var _r = /[A-Z]|^ms/g, Or = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Ct = function(t) {
|
|
1057
|
+
return t.charCodeAt(1) === 45;
|
|
1058
|
+
}, Je = function(t) {
|
|
1059
|
+
return t != null && typeof t != "boolean";
|
|
1060
|
+
}, Pe = /* @__PURE__ */ wr(function(e) {
|
|
1061
|
+
return Ct(e) ? e : e.replace(_r, "-$&").toLowerCase();
|
|
1062
|
+
}), Ze = function(t, r) {
|
|
1063
|
+
switch (t) {
|
|
1064
|
+
case "animation":
|
|
1065
|
+
case "animationName":
|
|
1066
|
+
if (typeof r == "string")
|
|
1067
|
+
return r.replace(Or, function(n, o, a) {
|
|
1068
|
+
return q = {
|
|
1069
|
+
name: o,
|
|
1070
|
+
styles: a,
|
|
1071
|
+
next: q
|
|
1072
|
+
}, o;
|
|
1073
|
+
});
|
|
1074
|
+
}
|
|
1075
|
+
return vr[t] !== 1 && !Ct(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
1076
|
+
};
|
|
1077
|
+
function Se(e, t, r) {
|
|
1078
|
+
if (r == null)
|
|
1079
|
+
return "";
|
|
1080
|
+
var n = r;
|
|
1081
|
+
if (n.__emotion_styles !== void 0)
|
|
1082
|
+
return n;
|
|
1083
|
+
switch (typeof r) {
|
|
1084
|
+
case "boolean":
|
|
1085
|
+
return "";
|
|
1086
|
+
case "object": {
|
|
1087
|
+
var o = r;
|
|
1088
|
+
if (o.anim === 1)
|
|
1089
|
+
return q = {
|
|
1090
|
+
name: o.name,
|
|
1091
|
+
styles: o.styles,
|
|
1092
|
+
next: q
|
|
1093
|
+
}, o.name;
|
|
1094
|
+
var a = r;
|
|
1095
|
+
if (a.styles !== void 0) {
|
|
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
|
+
var u = a.styles + ";";
|
|
1105
|
+
return u;
|
|
1106
|
+
}
|
|
1107
|
+
return kr(e, t, r);
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
var f = r;
|
|
1111
|
+
return f;
|
|
1112
|
+
}
|
|
1113
|
+
function kr(e, t, r) {
|
|
1114
|
+
var n = "";
|
|
1115
|
+
if (Array.isArray(r))
|
|
1116
|
+
for (var o = 0; o < r.length; o++)
|
|
1117
|
+
n += Se(e, t, r[o]) + ";";
|
|
1118
|
+
else
|
|
1119
|
+
for (var a in r) {
|
|
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
|
+
else {
|
|
1128
|
+
var d = Se(e, t, s);
|
|
1129
|
+
switch (a) {
|
|
1130
|
+
case "animation":
|
|
1131
|
+
case "animationName": {
|
|
1132
|
+
n += Pe(a) + ":" + d + ";";
|
|
1133
|
+
break;
|
|
1134
|
+
}
|
|
1135
|
+
default:
|
|
1136
|
+
n += a + "{" + d + "}";
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
return n;
|
|
1141
|
+
}
|
|
1142
|
+
var et = /label:\s*([^\s;{]+)\s*(;|$)/g, q;
|
|
1143
|
+
function Nr(e, t, r) {
|
|
1144
|
+
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
1145
|
+
return e[0];
|
|
1146
|
+
var n = !0, o = "";
|
|
1147
|
+
q = void 0;
|
|
1148
|
+
var a = e[0];
|
|
1149
|
+
if (a == null || a.raw === void 0)
|
|
1150
|
+
n = !1, o += Se(r, t, a);
|
|
1151
|
+
else {
|
|
1152
|
+
var s = a;
|
|
1153
|
+
o += s[0];
|
|
1154
|
+
}
|
|
1155
|
+
for (var u = 1; u < e.length; u++)
|
|
1156
|
+
if (o += Se(r, t, e[u]), n) {
|
|
1157
|
+
var f = a;
|
|
1158
|
+
o += f[u];
|
|
1159
|
+
}
|
|
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
|
+
return {
|
|
1165
|
+
name: h,
|
|
1166
|
+
styles: o,
|
|
1167
|
+
next: q
|
|
1168
|
+
};
|
|
1169
|
+
}
|
|
1170
|
+
/**
|
|
1171
|
+
* @mui/styled-engine v7.3.0
|
|
1172
|
+
*
|
|
1173
|
+
* @license MIT
|
|
1174
|
+
* This source code is licensed under the MIT license found in the
|
|
1175
|
+
* LICENSE file in the root directory of this source tree.
|
|
1176
|
+
*/
|
|
1177
|
+
function Mn(e, t) {
|
|
1178
|
+
const r = kt(e, t);
|
|
1179
|
+
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
1180
|
+
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
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
|
+
`)) : n.some((a) => a === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...n);
|
|
1183
|
+
} : r;
|
|
1184
|
+
}
|
|
1185
|
+
function Fn(e, t) {
|
|
1186
|
+
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
|
|
1187
|
+
}
|
|
1188
|
+
const tt = [];
|
|
1189
|
+
function Vn(e) {
|
|
1190
|
+
return tt[0] = e, Nr(tt);
|
|
1191
|
+
}
|
|
1192
|
+
const Rr = (e) => {
|
|
1193
|
+
const t = Object.keys(e).map((r) => ({
|
|
1194
|
+
key: r,
|
|
1195
|
+
val: e[r]
|
|
1196
|
+
})) || [];
|
|
1197
|
+
return t.sort((r, n) => r.val - n.val), t.reduce((r, n) => ({
|
|
1198
|
+
...r,
|
|
1199
|
+
[n.key]: n.val
|
|
1200
|
+
}), {});
|
|
1201
|
+
};
|
|
1202
|
+
function Ir(e) {
|
|
1203
|
+
const {
|
|
1204
|
+
// The breakpoint **start** at this value.
|
|
1205
|
+
// For instance with the first breakpoint xs: [xs, sm).
|
|
1206
|
+
values: t = {
|
|
1207
|
+
xs: 0,
|
|
1208
|
+
// phone
|
|
1209
|
+
sm: 600,
|
|
1210
|
+
// tablet
|
|
1211
|
+
md: 900,
|
|
1212
|
+
// small laptop
|
|
1213
|
+
lg: 1200,
|
|
1214
|
+
// desktop
|
|
1215
|
+
xl: 1536
|
|
1216
|
+
// large screen
|
|
1217
|
+
},
|
|
1218
|
+
unit: r = "px",
|
|
1219
|
+
step: n = 5,
|
|
1220
|
+
...o
|
|
1221
|
+
} = e, a = Rr(t), s = Object.keys(a);
|
|
1222
|
+
function u(p) {
|
|
1223
|
+
return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r})`;
|
|
1224
|
+
}
|
|
1225
|
+
function f(p) {
|
|
1226
|
+
return `@media (max-width:${(typeof t[p] == "number" ? t[p] : p) - n / 100}${r})`;
|
|
1227
|
+
}
|
|
1228
|
+
function d(p, b) {
|
|
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
|
+
}
|
|
1232
|
+
function y(p) {
|
|
1233
|
+
return s.indexOf(p) + 1 < s.length ? d(p, s[s.indexOf(p) + 1]) : u(p);
|
|
1234
|
+
}
|
|
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
|
+
}
|
|
1239
|
+
return {
|
|
1240
|
+
keys: s,
|
|
1241
|
+
values: a,
|
|
1242
|
+
up: u,
|
|
1243
|
+
down: f,
|
|
1244
|
+
between: d,
|
|
1245
|
+
only: y,
|
|
1246
|
+
not: h,
|
|
1247
|
+
unit: r,
|
|
1248
|
+
...o
|
|
1249
|
+
};
|
|
1250
|
+
}
|
|
1251
|
+
const Br = {
|
|
1252
|
+
borderRadius: 4
|
|
1253
|
+
};
|
|
1254
|
+
function St(e = 8, t = Ue({
|
|
1255
|
+
spacing: e
|
|
1256
|
+
})) {
|
|
1257
|
+
if (e.mui)
|
|
1258
|
+
return e;
|
|
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 s = t(a);
|
|
1261
|
+
return typeof s == "number" ? `${s}px` : s;
|
|
1262
|
+
}).join(" "));
|
|
1263
|
+
return r.mui = !0, r;
|
|
1264
|
+
}
|
|
1265
|
+
function Pr(e, t) {
|
|
1266
|
+
var n;
|
|
1267
|
+
const r = this;
|
|
1268
|
+
if (r.vars) {
|
|
1269
|
+
if (!((n = r.colorSchemes) != null && n[e]) || typeof r.getColorSchemeSelector != "function")
|
|
1270
|
+
return {};
|
|
1271
|
+
let o = r.getColorSchemeSelector(e);
|
|
1272
|
+
return o === "&" ? t : ((o.includes("data-") || o.includes(".")) && (o = `*:where(${o.replace(/\s*&$/, "")}) &`), {
|
|
1273
|
+
[o]: t
|
|
1274
|
+
});
|
|
1275
|
+
}
|
|
1276
|
+
return r.palette.mode === e ? t : {};
|
|
1277
|
+
}
|
|
1278
|
+
function Dr(e = {}, ...t) {
|
|
1279
|
+
const {
|
|
1280
|
+
breakpoints: r = {},
|
|
1281
|
+
palette: n = {},
|
|
1282
|
+
spacing: o,
|
|
1283
|
+
shape: a = {},
|
|
1284
|
+
...s
|
|
1285
|
+
} = e, u = Ir(r), f = St(o);
|
|
1286
|
+
let d = M({
|
|
1287
|
+
breakpoints: u,
|
|
1288
|
+
direction: "ltr",
|
|
1289
|
+
components: {},
|
|
1290
|
+
// Inject component definitions.
|
|
1291
|
+
palette: {
|
|
1292
|
+
mode: "light",
|
|
1293
|
+
...n
|
|
1294
|
+
},
|
|
1295
|
+
spacing: f,
|
|
1296
|
+
shape: {
|
|
1297
|
+
...Br,
|
|
1298
|
+
...a
|
|
1299
|
+
}
|
|
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
|
+
return Ne({
|
|
1306
|
+
sx: h,
|
|
1307
|
+
theme: this
|
|
1308
|
+
});
|
|
1309
|
+
}, d;
|
|
1310
|
+
}
|
|
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) {
|
|
1349
|
+
return Math.max(t, Math.min(e, r));
|
|
1350
|
+
}
|
|
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);
|
|
1353
|
+
}
|
|
1354
|
+
function Wr(e) {
|
|
1355
|
+
e = e.slice(1);
|
|
1356
|
+
const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
1357
|
+
let r = e.match(t);
|
|
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(", ")})` : "";
|
|
1359
|
+
}
|
|
1360
|
+
function Ur(e) {
|
|
1361
|
+
const t = e.toString(16);
|
|
1362
|
+
return t.length === 1 ? `0${t}` : t;
|
|
1363
|
+
}
|
|
1364
|
+
function Y(e) {
|
|
1365
|
+
if (e.type)
|
|
1366
|
+
return e;
|
|
1367
|
+
if (e.charAt(0) === "#")
|
|
1368
|
+
return Y(Wr(e));
|
|
1369
|
+
const t = e.indexOf("("), r = e.substring(0, t);
|
|
1370
|
+
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
|
|
1371
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
1372
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Q(9, e));
|
|
1373
|
+
let n = e.substring(t + 1, e.length - 1), o;
|
|
1374
|
+
if (r === "color") {
|
|
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))
|
|
1376
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
|
|
1377
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Q(10, o));
|
|
1378
|
+
} else
|
|
1379
|
+
n = n.split(",");
|
|
1380
|
+
return n = n.map((a) => parseFloat(a)), {
|
|
1381
|
+
type: r,
|
|
1382
|
+
values: n,
|
|
1383
|
+
colorSpace: o
|
|
1384
|
+
};
|
|
1385
|
+
}
|
|
1386
|
+
const jr = (e) => {
|
|
1387
|
+
const t = Y(e);
|
|
1388
|
+
return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
|
|
1389
|
+
}, ue = (e, t) => {
|
|
1390
|
+
try {
|
|
1391
|
+
return jr(e);
|
|
1392
|
+
} catch {
|
|
1393
|
+
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
1394
|
+
}
|
|
1395
|
+
};
|
|
1396
|
+
function Re(e) {
|
|
1397
|
+
const {
|
|
1398
|
+
type: t,
|
|
1399
|
+
colorSpace: r
|
|
1400
|
+
} = e;
|
|
1401
|
+
let {
|
|
1402
|
+
values: n
|
|
1403
|
+
} = e;
|
|
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})`;
|
|
1405
|
+
}
|
|
1406
|
+
function Wn(e) {
|
|
1407
|
+
if (e.startsWith("#"))
|
|
1408
|
+
return e;
|
|
1409
|
+
const {
|
|
1410
|
+
values: t
|
|
1411
|
+
} = Y(e);
|
|
1412
|
+
return `#${t.map((r, n) => Ur(n === 3 ? Math.round(255 * r) : r)).join("")}`;
|
|
1413
|
+
}
|
|
1414
|
+
function Et(e) {
|
|
1415
|
+
e = Y(e);
|
|
1416
|
+
const {
|
|
1417
|
+
values: t
|
|
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);
|
|
1419
|
+
let u = "rgb";
|
|
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({
|
|
1422
|
+
type: u,
|
|
1423
|
+
values: f
|
|
1424
|
+
});
|
|
1425
|
+
}
|
|
1426
|
+
function Ve(e) {
|
|
1427
|
+
e = Y(e);
|
|
1428
|
+
let t = e.type === "hsl" || e.type === "hsla" ? Y(Et(e)).values : e.values;
|
|
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));
|
|
1430
|
+
}
|
|
1431
|
+
function nt(e, t) {
|
|
1432
|
+
const r = Ve(e), n = Ve(t);
|
|
1433
|
+
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
1434
|
+
}
|
|
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);
|
|
1437
|
+
}
|
|
1438
|
+
function J(e, t, r) {
|
|
1439
|
+
try {
|
|
1440
|
+
return xt(e, t);
|
|
1441
|
+
} catch {
|
|
1442
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
function Ie(e, t) {
|
|
1446
|
+
if (e = Y(e), t = Ge(t), e.type.includes("hsl"))
|
|
1447
|
+
e.values[2] *= 1 - t;
|
|
1448
|
+
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
1449
|
+
for (let r = 0; r < 3; r += 1)
|
|
1450
|
+
e.values[r] *= 1 - t;
|
|
1451
|
+
return Re(e);
|
|
1452
|
+
}
|
|
1453
|
+
function T(e, t, r) {
|
|
1454
|
+
try {
|
|
1455
|
+
return Ie(e, t);
|
|
1456
|
+
} catch {
|
|
1457
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1460
|
+
function Be(e, t) {
|
|
1461
|
+
if (e = Y(e), t = Ge(t), e.type.includes("hsl"))
|
|
1462
|
+
e.values[2] += (100 - e.values[2]) * t;
|
|
1463
|
+
else if (e.type.includes("rgb"))
|
|
1464
|
+
for (let r = 0; r < 3; r += 1)
|
|
1465
|
+
e.values[r] += (255 - e.values[r]) * t;
|
|
1466
|
+
else if (e.type.includes("color"))
|
|
1467
|
+
for (let r = 0; r < 3; r += 1)
|
|
1468
|
+
e.values[r] += (1 - e.values[r]) * t;
|
|
1469
|
+
return Re(e);
|
|
1470
|
+
}
|
|
1471
|
+
function A(e, t, r) {
|
|
1472
|
+
try {
|
|
1473
|
+
return Be(e, t);
|
|
1474
|
+
} catch {
|
|
1475
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
function Gr(e, t = 0.15) {
|
|
1479
|
+
return Ve(e) > 0.5 ? Ie(e, t) : Be(e, t);
|
|
1480
|
+
}
|
|
1481
|
+
function be(e, t, r) {
|
|
1482
|
+
try {
|
|
1483
|
+
return Gr(e, t);
|
|
1484
|
+
} catch {
|
|
1485
|
+
return e;
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
function zr(e = "") {
|
|
1489
|
+
function t(...n) {
|
|
1490
|
+
if (!n.length)
|
|
1491
|
+
return "";
|
|
1492
|
+
const o = n[0];
|
|
1493
|
+
return typeof o == "string" && !o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/) ? `, var(--${e ? `${e}-` : ""}${o}${t(...n.slice(1))})` : `, ${o}`;
|
|
1494
|
+
}
|
|
1495
|
+
return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${t(...o)})`;
|
|
1496
|
+
}
|
|
1497
|
+
const ot = (e, t, r, n = []) => {
|
|
1498
|
+
let o = e;
|
|
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]);
|
|
1501
|
+
});
|
|
1502
|
+
}, Yr = (e, t, r) => {
|
|
1503
|
+
function n(o, a = [], s = []) {
|
|
1504
|
+
Object.entries(o).forEach(([u, 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));
|
|
1506
|
+
});
|
|
1507
|
+
}
|
|
1508
|
+
n(e);
|
|
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) {
|
|
1511
|
+
const {
|
|
1512
|
+
prefix: r,
|
|
1513
|
+
shouldSkipGeneratingVar: n
|
|
1514
|
+
} = t || {}, o = {}, a = {}, s = {};
|
|
1515
|
+
return Yr(
|
|
1516
|
+
e,
|
|
1517
|
+
(u, f, d) => {
|
|
1518
|
+
if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
|
|
1519
|
+
const y = `--${r ? `${r}-` : ""}${u.join("-")}`, h = Kr(u, f);
|
|
1520
|
+
Object.assign(o, {
|
|
1521
|
+
[y]: h
|
|
1522
|
+
}), ot(a, u, `var(${y})`, d), ot(s, u, `var(${y}, ${h})`, d);
|
|
1523
|
+
}
|
|
1524
|
+
},
|
|
1525
|
+
(u) => u[0] === "vars"
|
|
1526
|
+
// skip 'vars/*' paths
|
|
1527
|
+
), {
|
|
1528
|
+
css: o,
|
|
1529
|
+
vars: a,
|
|
1530
|
+
varsWithDefaults: s
|
|
1531
|
+
};
|
|
1532
|
+
}
|
|
1533
|
+
function Hr(e, t = {}) {
|
|
1534
|
+
const {
|
|
1535
|
+
getSelector: r = _,
|
|
1536
|
+
disableCssColorScheme: n,
|
|
1537
|
+
colorSchemeSelector: o,
|
|
1538
|
+
enableContrastVars: a
|
|
1539
|
+
} = t, {
|
|
1540
|
+
colorSchemes: s = {},
|
|
1541
|
+
components: u,
|
|
1542
|
+
defaultColorScheme: f = "light",
|
|
1543
|
+
...d
|
|
1544
|
+
} = e, {
|
|
1545
|
+
vars: y,
|
|
1546
|
+
css: h,
|
|
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]) => {
|
|
1555
|
+
const {
|
|
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
|
|
1563
|
+
};
|
|
1564
|
+
}), l) {
|
|
1565
|
+
const {
|
|
1566
|
+
css: $,
|
|
1567
|
+
vars: D,
|
|
1568
|
+
varsWithDefaults: E
|
|
1569
|
+
} = De(l, t);
|
|
1570
|
+
b = M(b, E), m[f] = {
|
|
1571
|
+
css: $,
|
|
1572
|
+
vars: D
|
|
1573
|
+
};
|
|
1574
|
+
}
|
|
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
|
|
1583
|
+
}
|
|
1584
|
+
};
|
|
1585
|
+
if (E)
|
|
1586
|
+
return e.defaultColorScheme === $ ? `:root, ${E.replace("%s", String($))}` : E.replace("%s", String($));
|
|
1587
|
+
}
|
|
1588
|
+
return ":root";
|
|
1589
|
+
}
|
|
1590
|
+
return {
|
|
1591
|
+
vars: b,
|
|
1592
|
+
generateThemeVars: () => {
|
|
1593
|
+
let $ = {
|
|
1594
|
+
...y
|
|
1595
|
+
};
|
|
1596
|
+
return Object.entries(m).forEach(([, {
|
|
1597
|
+
vars: D
|
|
1598
|
+
}]) => {
|
|
1599
|
+
$ = M($, D);
|
|
1600
|
+
}), $;
|
|
1601
|
+
},
|
|
1602
|
+
generateStyleSheets: () => {
|
|
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
|
|
1609
|
+
}
|
|
1610
|
+
} : P);
|
|
1611
|
+
}
|
|
1612
|
+
E(r(void 0, {
|
|
1613
|
+
...h
|
|
1614
|
+
}), h);
|
|
1615
|
+
const {
|
|
1616
|
+
[D]: j,
|
|
1617
|
+
...K
|
|
1618
|
+
} = m;
|
|
1619
|
+
if (j) {
|
|
1620
|
+
const {
|
|
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
|
|
1625
|
+
} : {
|
|
1626
|
+
...P
|
|
1627
|
+
};
|
|
1628
|
+
E(r(D, {
|
|
1629
|
+
...S
|
|
1630
|
+
}), S);
|
|
1631
|
+
}
|
|
1632
|
+
return Object.entries(K).forEach(([P, {
|
|
1633
|
+
css: i
|
|
1634
|
+
}]) => {
|
|
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
|
|
1639
|
+
} : {
|
|
1640
|
+
...i
|
|
1641
|
+
};
|
|
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
|
+
}), $;
|
|
1654
|
+
}
|
|
1655
|
+
};
|
|
1656
|
+
}
|
|
1657
|
+
function qr(e) {
|
|
1658
|
+
return function(r) {
|
|
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)} &` : "&";
|
|
1660
|
+
};
|
|
1661
|
+
}
|
|
1662
|
+
const pe = {
|
|
1663
|
+
black: "#000",
|
|
1664
|
+
white: "#fff"
|
|
1665
|
+
}, Qr = {
|
|
1666
|
+
50: "#fafafa",
|
|
1667
|
+
100: "#f5f5f5",
|
|
1668
|
+
200: "#eeeeee",
|
|
1669
|
+
300: "#e0e0e0",
|
|
1670
|
+
400: "#bdbdbd",
|
|
1671
|
+
500: "#9e9e9e",
|
|
1672
|
+
600: "#757575",
|
|
1673
|
+
700: "#616161",
|
|
1674
|
+
800: "#424242",
|
|
1675
|
+
900: "#212121",
|
|
1676
|
+
A100: "#f5f5f5",
|
|
1677
|
+
A200: "#eeeeee",
|
|
1678
|
+
A400: "#bdbdbd",
|
|
1679
|
+
A700: "#616161"
|
|
1680
|
+
}, te = {
|
|
1681
|
+
50: "#f3e5f5",
|
|
1682
|
+
100: "#e1bee7",
|
|
1683
|
+
200: "#ce93d8",
|
|
1684
|
+
300: "#ba68c8",
|
|
1685
|
+
400: "#ab47bc",
|
|
1686
|
+
500: "#9c27b0",
|
|
1687
|
+
600: "#8e24aa",
|
|
1688
|
+
700: "#7b1fa2",
|
|
1689
|
+
800: "#6a1b9a",
|
|
1690
|
+
900: "#4a148c",
|
|
1691
|
+
A100: "#ea80fc",
|
|
1692
|
+
A200: "#e040fb",
|
|
1693
|
+
A400: "#d500f9",
|
|
1694
|
+
A700: "#aa00ff"
|
|
1695
|
+
}, re = {
|
|
1696
|
+
50: "#ffebee",
|
|
1697
|
+
100: "#ffcdd2",
|
|
1698
|
+
200: "#ef9a9a",
|
|
1699
|
+
300: "#e57373",
|
|
1700
|
+
400: "#ef5350",
|
|
1701
|
+
500: "#f44336",
|
|
1702
|
+
600: "#e53935",
|
|
1703
|
+
700: "#d32f2f",
|
|
1704
|
+
800: "#c62828",
|
|
1705
|
+
900: "#b71c1c",
|
|
1706
|
+
A100: "#ff8a80",
|
|
1707
|
+
A200: "#ff5252",
|
|
1708
|
+
A400: "#ff1744",
|
|
1709
|
+
A700: "#d50000"
|
|
1710
|
+
}, ce = {
|
|
1711
|
+
50: "#fff3e0",
|
|
1712
|
+
100: "#ffe0b2",
|
|
1713
|
+
200: "#ffcc80",
|
|
1714
|
+
300: "#ffb74d",
|
|
1715
|
+
400: "#ffa726",
|
|
1716
|
+
500: "#ff9800",
|
|
1717
|
+
600: "#fb8c00",
|
|
1718
|
+
700: "#f57c00",
|
|
1719
|
+
800: "#ef6c00",
|
|
1720
|
+
900: "#e65100",
|
|
1721
|
+
A100: "#ffd180",
|
|
1722
|
+
A200: "#ffab40",
|
|
1723
|
+
A400: "#ff9100",
|
|
1724
|
+
A700: "#ff6d00"
|
|
1725
|
+
}, ne = {
|
|
1726
|
+
50: "#e3f2fd",
|
|
1727
|
+
100: "#bbdefb",
|
|
1728
|
+
200: "#90caf9",
|
|
1729
|
+
300: "#64b5f6",
|
|
1730
|
+
400: "#42a5f5",
|
|
1731
|
+
500: "#2196f3",
|
|
1732
|
+
600: "#1e88e5",
|
|
1733
|
+
700: "#1976d2",
|
|
1734
|
+
800: "#1565c0",
|
|
1735
|
+
900: "#0d47a1",
|
|
1736
|
+
A100: "#82b1ff",
|
|
1737
|
+
A200: "#448aff",
|
|
1738
|
+
A400: "#2979ff",
|
|
1739
|
+
A700: "#2962ff"
|
|
1740
|
+
}, oe = {
|
|
1741
|
+
50: "#e1f5fe",
|
|
1742
|
+
100: "#b3e5fc",
|
|
1743
|
+
200: "#81d4fa",
|
|
1744
|
+
300: "#4fc3f7",
|
|
1745
|
+
400: "#29b6f6",
|
|
1746
|
+
500: "#03a9f4",
|
|
1747
|
+
600: "#039be5",
|
|
1748
|
+
700: "#0288d1",
|
|
1749
|
+
800: "#0277bd",
|
|
1750
|
+
900: "#01579b",
|
|
1751
|
+
A100: "#80d8ff",
|
|
1752
|
+
A200: "#40c4ff",
|
|
1753
|
+
A400: "#00b0ff",
|
|
1754
|
+
A700: "#0091ea"
|
|
1755
|
+
}, ie = {
|
|
1756
|
+
50: "#e8f5e9",
|
|
1757
|
+
100: "#c8e6c9",
|
|
1758
|
+
200: "#a5d6a7",
|
|
1759
|
+
300: "#81c784",
|
|
1760
|
+
400: "#66bb6a",
|
|
1761
|
+
500: "#4caf50",
|
|
1762
|
+
600: "#43a047",
|
|
1763
|
+
700: "#388e3c",
|
|
1764
|
+
800: "#2e7d32",
|
|
1765
|
+
900: "#1b5e20",
|
|
1766
|
+
A100: "#b9f6ca",
|
|
1767
|
+
A200: "#69f0ae",
|
|
1768
|
+
A400: "#00e676",
|
|
1769
|
+
A700: "#00c853"
|
|
1770
|
+
};
|
|
1771
|
+
function Tt() {
|
|
1772
|
+
return {
|
|
1773
|
+
// The colors used to style the text.
|
|
1774
|
+
text: {
|
|
1775
|
+
// The most important text.
|
|
1776
|
+
primary: "rgba(0, 0, 0, 0.87)",
|
|
1777
|
+
// Secondary text.
|
|
1778
|
+
secondary: "rgba(0, 0, 0, 0.6)",
|
|
1779
|
+
// Disabled text have even lower visual prominence.
|
|
1780
|
+
disabled: "rgba(0, 0, 0, 0.38)"
|
|
1781
|
+
},
|
|
1782
|
+
// The color used to divide different elements.
|
|
1783
|
+
divider: "rgba(0, 0, 0, 0.12)",
|
|
1784
|
+
// The background colors used to style the surfaces.
|
|
1785
|
+
// Consistency between these values is important.
|
|
1786
|
+
background: {
|
|
1787
|
+
paper: pe.white,
|
|
1788
|
+
default: pe.white
|
|
1789
|
+
},
|
|
1790
|
+
// The colors used to style the action elements.
|
|
1791
|
+
action: {
|
|
1792
|
+
// The color of an active action like an icon button.
|
|
1793
|
+
active: "rgba(0, 0, 0, 0.54)",
|
|
1794
|
+
// The color of an hovered action.
|
|
1795
|
+
hover: "rgba(0, 0, 0, 0.04)",
|
|
1796
|
+
hoverOpacity: 0.04,
|
|
1797
|
+
// The color of a selected action.
|
|
1798
|
+
selected: "rgba(0, 0, 0, 0.08)",
|
|
1799
|
+
selectedOpacity: 0.08,
|
|
1800
|
+
// The color of a disabled action.
|
|
1801
|
+
disabled: "rgba(0, 0, 0, 0.26)",
|
|
1802
|
+
// The background color of a disabled action.
|
|
1803
|
+
disabledBackground: "rgba(0, 0, 0, 0.12)",
|
|
1804
|
+
disabledOpacity: 0.38,
|
|
1805
|
+
focus: "rgba(0, 0, 0, 0.12)",
|
|
1806
|
+
focusOpacity: 0.12,
|
|
1807
|
+
activatedOpacity: 0.12
|
|
1808
|
+
}
|
|
1809
|
+
};
|
|
1810
|
+
}
|
|
1811
|
+
const At = Tt();
|
|
1812
|
+
function vt() {
|
|
1813
|
+
return {
|
|
1814
|
+
text: {
|
|
1815
|
+
primary: pe.white,
|
|
1816
|
+
secondary: "rgba(255, 255, 255, 0.7)",
|
|
1817
|
+
disabled: "rgba(255, 255, 255, 0.5)",
|
|
1818
|
+
icon: "rgba(255, 255, 255, 0.5)"
|
|
1819
|
+
},
|
|
1820
|
+
divider: "rgba(255, 255, 255, 0.12)",
|
|
1821
|
+
background: {
|
|
1822
|
+
paper: "#121212",
|
|
1823
|
+
default: "#121212"
|
|
1824
|
+
},
|
|
1825
|
+
action: {
|
|
1826
|
+
active: pe.white,
|
|
1827
|
+
hover: "rgba(255, 255, 255, 0.08)",
|
|
1828
|
+
hoverOpacity: 0.08,
|
|
1829
|
+
selected: "rgba(255, 255, 255, 0.16)",
|
|
1830
|
+
selectedOpacity: 0.16,
|
|
1831
|
+
disabled: "rgba(255, 255, 255, 0.3)",
|
|
1832
|
+
disabledBackground: "rgba(255, 255, 255, 0.12)",
|
|
1833
|
+
disabledOpacity: 0.38,
|
|
1834
|
+
focus: "rgba(255, 255, 255, 0.12)",
|
|
1835
|
+
focusOpacity: 0.12,
|
|
1836
|
+
activatedOpacity: 0.24
|
|
1837
|
+
}
|
|
1838
|
+
};
|
|
1839
|
+
}
|
|
1840
|
+
const Le = vt();
|
|
1841
|
+
function it(e, t, r, n) {
|
|
1842
|
+
const o = n.light || n, a = n.dark || n * 1.5;
|
|
1843
|
+
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = Be(e.main, o) : t === "dark" && (e.dark = Ie(e.main, a)));
|
|
1844
|
+
}
|
|
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)}%)`));
|
|
1848
|
+
}
|
|
1849
|
+
function Xr(e = "light") {
|
|
1850
|
+
return e === "dark" ? {
|
|
1851
|
+
main: ne[200],
|
|
1852
|
+
light: ne[50],
|
|
1853
|
+
dark: ne[400]
|
|
1854
|
+
} : {
|
|
1855
|
+
main: ne[700],
|
|
1856
|
+
light: ne[400],
|
|
1857
|
+
dark: ne[800]
|
|
1858
|
+
};
|
|
1859
|
+
}
|
|
1860
|
+
function Jr(e = "light") {
|
|
1861
|
+
return e === "dark" ? {
|
|
1862
|
+
main: te[200],
|
|
1863
|
+
light: te[50],
|
|
1864
|
+
dark: te[400]
|
|
1865
|
+
} : {
|
|
1866
|
+
main: te[500],
|
|
1867
|
+
light: te[300],
|
|
1868
|
+
dark: te[700]
|
|
1869
|
+
};
|
|
1870
|
+
}
|
|
1871
|
+
function Zr(e = "light") {
|
|
1872
|
+
return e === "dark" ? {
|
|
1873
|
+
main: re[500],
|
|
1874
|
+
light: re[300],
|
|
1875
|
+
dark: re[700]
|
|
1876
|
+
} : {
|
|
1877
|
+
main: re[700],
|
|
1878
|
+
light: re[400],
|
|
1879
|
+
dark: re[800]
|
|
1880
|
+
};
|
|
1881
|
+
}
|
|
1882
|
+
function en(e = "light") {
|
|
1883
|
+
return e === "dark" ? {
|
|
1884
|
+
main: oe[400],
|
|
1885
|
+
light: oe[300],
|
|
1886
|
+
dark: oe[700]
|
|
1887
|
+
} : {
|
|
1888
|
+
main: oe[700],
|
|
1889
|
+
light: oe[500],
|
|
1890
|
+
dark: oe[900]
|
|
1891
|
+
};
|
|
1892
|
+
}
|
|
1893
|
+
function tn(e = "light") {
|
|
1894
|
+
return e === "dark" ? {
|
|
1895
|
+
main: ie[400],
|
|
1896
|
+
light: ie[300],
|
|
1897
|
+
dark: ie[700]
|
|
1898
|
+
} : {
|
|
1899
|
+
main: ie[800],
|
|
1900
|
+
light: ie[500],
|
|
1901
|
+
dark: ie[900]
|
|
1902
|
+
};
|
|
1903
|
+
}
|
|
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) {
|
|
1920
|
+
const {
|
|
1921
|
+
mode: t = "light",
|
|
1922
|
+
contrastThreshold: r = 3,
|
|
1923
|
+
tonalOffset: n = 0.2,
|
|
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;
|
|
1931
|
+
if (process.env.NODE_ENV !== "production") {
|
|
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(`
|
|
1934
|
+
`));
|
|
1935
|
+
}
|
|
1936
|
+
return _;
|
|
1937
|
+
}
|
|
1938
|
+
const b = ({
|
|
1939
|
+
color: C,
|
|
1940
|
+
name: _,
|
|
1941
|
+
mainShade: O = 500,
|
|
1942
|
+
lightShade: V = 300,
|
|
1943
|
+
darkShade: $ = 700
|
|
1944
|
+
}) => {
|
|
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.
|
|
1953
|
+
|
|
1954
|
+
Did you intend to use one of the following approaches?
|
|
1955
|
+
|
|
1956
|
+
import { green } from "@mui/material/colors";
|
|
1957
|
+
|
|
1958
|
+
const theme1 = createTheme({ palette: {
|
|
1959
|
+
primary: green,
|
|
1960
|
+
} });
|
|
1961
|
+
|
|
1962
|
+
const theme2 = createTheme({ palette: {
|
|
1963
|
+
primary: { main: green[500] },
|
|
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;
|
|
1966
|
+
};
|
|
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({
|
|
1969
|
+
// A collection of common colors.
|
|
1970
|
+
common: {
|
|
1971
|
+
...pe
|
|
1972
|
+
},
|
|
1973
|
+
// prevent mutable object.
|
|
1974
|
+
// The palette mode, can be light or dark.
|
|
1975
|
+
mode: t,
|
|
1976
|
+
// The colors used to represent primary interface elements for a user.
|
|
1977
|
+
primary: b({
|
|
1978
|
+
color: s,
|
|
1979
|
+
name: "primary"
|
|
1980
|
+
}),
|
|
1981
|
+
// The colors used to represent secondary interface elements for a user.
|
|
1982
|
+
secondary: b({
|
|
1983
|
+
color: u,
|
|
1984
|
+
name: "secondary",
|
|
1985
|
+
mainShade: "A400",
|
|
1986
|
+
lightShade: "A200",
|
|
1987
|
+
darkShade: "A700"
|
|
1988
|
+
}),
|
|
1989
|
+
// The colors used to represent interface elements that the user should be made aware of.
|
|
1990
|
+
error: b({
|
|
1991
|
+
color: f,
|
|
1992
|
+
name: "error"
|
|
1993
|
+
}),
|
|
1994
|
+
// The colors used to represent potentially dangerous actions or important messages.
|
|
1995
|
+
warning: b({
|
|
1996
|
+
color: h,
|
|
1997
|
+
name: "warning"
|
|
1998
|
+
}),
|
|
1999
|
+
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
2000
|
+
info: b({
|
|
2001
|
+
color: d,
|
|
2002
|
+
name: "info"
|
|
2003
|
+
}),
|
|
2004
|
+
// The colors used to indicate the successful completion of an action that user triggered.
|
|
2005
|
+
success: b({
|
|
2006
|
+
color: y,
|
|
2007
|
+
name: "success"
|
|
2008
|
+
}),
|
|
2009
|
+
// The grey colors.
|
|
2010
|
+
grey: Qr,
|
|
2011
|
+
// Used by `getContrastText()` to maximize the contrast between
|
|
2012
|
+
// the background and the text.
|
|
2013
|
+
contrastThreshold: r,
|
|
2014
|
+
// Takes a background color and returns the text color that maximizes the contrast.
|
|
2015
|
+
getContrastText: p,
|
|
2016
|
+
// Generate a rich color object.
|
|
2017
|
+
augmentColor: b,
|
|
2018
|
+
// Used by the functions below to shift a color's luminance by approximately
|
|
2019
|
+
// two indexes within its tonal palette.
|
|
2020
|
+
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
2021
|
+
tonalOffset: n,
|
|
2022
|
+
// The light and dark mode object.
|
|
2023
|
+
...m
|
|
2024
|
+
}, a);
|
|
2025
|
+
}
|
|
2026
|
+
function on(e) {
|
|
2027
|
+
const t = {};
|
|
2028
|
+
return Object.entries(e).forEach((n) => {
|
|
2029
|
+
const [o, a] = n;
|
|
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 || ""}`);
|
|
2031
|
+
}), t;
|
|
2032
|
+
}
|
|
2033
|
+
function an(e, t) {
|
|
2034
|
+
return {
|
|
2035
|
+
toolbar: {
|
|
2036
|
+
minHeight: 56,
|
|
2037
|
+
[e.up("xs")]: {
|
|
2038
|
+
"@media (orientation: landscape)": {
|
|
2039
|
+
minHeight: 48
|
|
2040
|
+
}
|
|
2041
|
+
},
|
|
2042
|
+
[e.up("sm")]: {
|
|
2043
|
+
minHeight: 64
|
|
2044
|
+
}
|
|
2045
|
+
},
|
|
2046
|
+
...t
|
|
2047
|
+
};
|
|
2048
|
+
}
|
|
2049
|
+
function sn(e) {
|
|
2050
|
+
return Math.round(e * 1e5) / 1e5;
|
|
2051
|
+
}
|
|
2052
|
+
const st = {
|
|
2053
|
+
textTransform: "uppercase"
|
|
2054
|
+
}, lt = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
2055
|
+
function ln(e, t) {
|
|
2056
|
+
const {
|
|
2057
|
+
fontFamily: r = lt,
|
|
2058
|
+
// The default font size of the Material Specification.
|
|
2059
|
+
fontSize: n = 14,
|
|
2060
|
+
// px
|
|
2061
|
+
fontWeightLight: o = 300,
|
|
2062
|
+
fontWeightRegular: a = 400,
|
|
2063
|
+
fontWeightMedium: s = 500,
|
|
2064
|
+
fontWeightBold: u = 700,
|
|
2065
|
+
// Tell MUI what's the font-size on the html element.
|
|
2066
|
+
// 16px is the default font-size used by browsers.
|
|
2067
|
+
htmlFontSize: f = 16,
|
|
2068
|
+
// Apply the CSS properties to all the variants.
|
|
2069
|
+
allVariants: d,
|
|
2070
|
+
pxToRem: y,
|
|
2071
|
+
...h
|
|
2072
|
+
} = typeof t == "function" ? t(e) : t;
|
|
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."));
|
|
2074
|
+
const p = n / 14, b = y || ((C) => `${C / f * p}rem`), m = (C, _, O, V, $) => ({
|
|
2075
|
+
fontFamily: r,
|
|
2076
|
+
fontWeight: C,
|
|
2077
|
+
fontSize: b(_),
|
|
2078
|
+
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2079
|
+
lineHeight: O,
|
|
2080
|
+
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
2081
|
+
// across font-families can cause issues with the kerning.
|
|
2082
|
+
...r === lt ? {
|
|
2083
|
+
letterSpacing: `${sn(V / _)}em`
|
|
2084
|
+
} : {},
|
|
2085
|
+
...$,
|
|
2086
|
+
...d
|
|
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),
|
|
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.
|
|
2102
|
+
inherit: {
|
|
2103
|
+
fontFamily: "inherit",
|
|
2104
|
+
fontWeight: "inherit",
|
|
2105
|
+
fontSize: "inherit",
|
|
2106
|
+
lineHeight: "inherit",
|
|
2107
|
+
letterSpacing: "inherit"
|
|
2108
|
+
}
|
|
2109
|
+
};
|
|
2110
|
+
return M({
|
|
2111
|
+
htmlFontSize: f,
|
|
2112
|
+
pxToRem: b,
|
|
2113
|
+
fontFamily: r,
|
|
2114
|
+
fontSize: n,
|
|
2115
|
+
fontWeightLight: o,
|
|
2116
|
+
fontWeightRegular: a,
|
|
2117
|
+
fontWeightMedium: s,
|
|
2118
|
+
fontWeightBold: u,
|
|
2119
|
+
...l
|
|
2120
|
+
}, h, {
|
|
2121
|
+
clone: !1
|
|
2122
|
+
// No need to clone deep
|
|
2123
|
+
});
|
|
2124
|
+
}
|
|
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(",");
|
|
2128
|
+
}
|
|
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 = {
|
|
2130
|
+
// This is the most common easing curve.
|
|
2131
|
+
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2132
|
+
// Objects enter the screen at full velocity from off-screen and
|
|
2133
|
+
// slowly decelerate to a resting point.
|
|
2134
|
+
easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
|
|
2135
|
+
// Objects leave the screen at full velocity. They do not decelerate when off-screen.
|
|
2136
|
+
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2137
|
+
// The sharp curve is used by objects that may return to the screen at any time.
|
|
2138
|
+
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
2139
|
+
}, mn = {
|
|
2140
|
+
shortest: 150,
|
|
2141
|
+
shorter: 200,
|
|
2142
|
+
short: 250,
|
|
2143
|
+
// most basic recommended timing
|
|
2144
|
+
standard: 300,
|
|
2145
|
+
// this is to be used in complex animations
|
|
2146
|
+
complex: 375,
|
|
2147
|
+
// recommended when something is entering screen
|
|
2148
|
+
enteringScreen: 225,
|
|
2149
|
+
// recommended when something is leaving screen
|
|
2150
|
+
leavingScreen: 195
|
|
2151
|
+
};
|
|
2152
|
+
function ct(e) {
|
|
2153
|
+
return `${Math.round(e)}ms`;
|
|
2154
|
+
}
|
|
2155
|
+
function gn(e) {
|
|
2156
|
+
if (!e)
|
|
2157
|
+
return 0;
|
|
2158
|
+
const t = e / 36;
|
|
2159
|
+
return Math.min(Math.round((4 + 15 * t ** 0.25 + t / 5) * 10), 3e3);
|
|
2160
|
+
}
|
|
2161
|
+
function hn(e) {
|
|
2162
|
+
const t = {
|
|
2163
|
+
...pn,
|
|
2164
|
+
...e.easing
|
|
2165
|
+
}, r = {
|
|
2166
|
+
...mn,
|
|
2167
|
+
...e.duration
|
|
2168
|
+
};
|
|
2169
|
+
return {
|
|
2170
|
+
getAutoHeightDuration: gn,
|
|
2171
|
+
create: (o = ["all"], a = {}) => {
|
|
2172
|
+
const {
|
|
2173
|
+
duration: s = r.standard,
|
|
2174
|
+
easing: u = t.easeInOut,
|
|
2175
|
+
delay: f = 0,
|
|
2176
|
+
...d
|
|
2177
|
+
} = a;
|
|
2178
|
+
if (process.env.NODE_ENV !== "production") {
|
|
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(`
|
|
2181
|
+
`)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
|
|
2182
|
+
}
|
|
2183
|
+
return (Array.isArray(o) ? o : [o]).map((y) => `${y} ${typeof s == "string" ? s : ct(s)} ${u} ${typeof f == "string" ? f : ct(f)}`).join(",");
|
|
2184
|
+
},
|
|
2185
|
+
...e,
|
|
2186
|
+
easing: t,
|
|
2187
|
+
duration: r
|
|
2188
|
+
};
|
|
2189
|
+
}
|
|
2190
|
+
const yn = {
|
|
2191
|
+
mobileStepper: 1e3,
|
|
2192
|
+
fab: 1050,
|
|
2193
|
+
speedDial: 1050,
|
|
2194
|
+
appBar: 1100,
|
|
2195
|
+
drawer: 1200,
|
|
2196
|
+
modal: 1300,
|
|
2197
|
+
snackbar: 1400,
|
|
2198
|
+
tooltip: 1500
|
|
2199
|
+
};
|
|
2200
|
+
function bn(e) {
|
|
2201
|
+
return H(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
2202
|
+
}
|
|
2203
|
+
function wt(e = {}) {
|
|
2204
|
+
const t = {
|
|
2205
|
+
...e
|
|
2206
|
+
};
|
|
2207
|
+
function r(n) {
|
|
2208
|
+
const o = Object.entries(n);
|
|
2209
|
+
for (let a = 0; a < o.length; a++) {
|
|
2210
|
+
const [s, u] = o[a];
|
|
2211
|
+
!bn(u) || s.startsWith("unstable_") ? delete n[s] : H(u) && (n[s] = {
|
|
2212
|
+
...u
|
|
2213
|
+
}, r(n[s]));
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
2216
|
+
return r(t), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
2217
|
+
|
|
2218
|
+
const theme = ${JSON.stringify(t, null, 2)};
|
|
2219
|
+
|
|
2220
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
2221
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
2222
|
+
|
|
2223
|
+
export default theme;`;
|
|
2224
|
+
}
|
|
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) {
|
|
2256
|
+
const {
|
|
2257
|
+
breakpoints: r,
|
|
2258
|
+
mixins: n = {},
|
|
2259
|
+
spacing: o,
|
|
2260
|
+
palette: a = {},
|
|
2261
|
+
transitions: s = {},
|
|
2262
|
+
typography: u = {},
|
|
2263
|
+
shape: f,
|
|
2264
|
+
colorSpace: d,
|
|
2265
|
+
...y
|
|
2266
|
+
} = e;
|
|
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`.
|
|
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.
|
|
2269
|
+
e.generateThemeVars === void 0)
|
|
2270
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : 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),
|
|
2277
|
+
palette: h,
|
|
2278
|
+
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2279
|
+
shadows: dn.slice(),
|
|
2280
|
+
typography: ln(h, u),
|
|
2281
|
+
transitions: hn(s),
|
|
2282
|
+
zIndex: {
|
|
2283
|
+
...yn
|
|
2284
|
+
}
|
|
2285
|
+
});
|
|
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) {
|
|
2292
|
+
if (process.env.NODE_ENV !== "production") {
|
|
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({
|
|
2295
|
+
root: {
|
|
2296
|
+
[`&.${$}`]: V
|
|
2297
|
+
}
|
|
2298
|
+
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
2299
|
+
`));
|
|
2300
|
+
}
|
|
2301
|
+
C[O] = {};
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2304
|
+
};
|
|
2305
|
+
Object.keys(b.components).forEach((C) => {
|
|
2306
|
+
const _ = b.components[C].styleOverrides;
|
|
2307
|
+
_ && C.startsWith("Mui") && l(_, C);
|
|
2308
|
+
});
|
|
2309
|
+
}
|
|
2310
|
+
return b.unstable_sxConfig = {
|
|
2311
|
+
...ke,
|
|
2312
|
+
...y == null ? void 0 : y.unstable_sxConfig
|
|
2313
|
+
}, b.unstable_sx = function(l) {
|
|
2314
|
+
return Ne({
|
|
2315
|
+
sx: l,
|
|
2316
|
+
theme: this
|
|
2317
|
+
});
|
|
2318
|
+
}, b.toRuntimeSource = wt, Sn(b), b;
|
|
2319
|
+
}
|
|
2320
|
+
function $n(e) {
|
|
2321
|
+
let t;
|
|
2322
|
+
return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
|
|
2323
|
+
}
|
|
2324
|
+
const En = [...Array(25)].map((e, t) => {
|
|
2325
|
+
if (t === 0)
|
|
2326
|
+
return "none";
|
|
2327
|
+
const r = $n(t);
|
|
2328
|
+
return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
|
|
2329
|
+
});
|
|
2330
|
+
function _t(e) {
|
|
2331
|
+
return {
|
|
2332
|
+
inputPlaceholder: e === "dark" ? 0.5 : 0.42,
|
|
2333
|
+
inputUnderline: e === "dark" ? 0.7 : 0.42,
|
|
2334
|
+
switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
|
|
2335
|
+
switchTrack: e === "dark" ? 0.3 : 0.38
|
|
2336
|
+
};
|
|
2337
|
+
}
|
|
2338
|
+
function Ot(e) {
|
|
2339
|
+
return e === "dark" ? En : [];
|
|
2340
|
+
}
|
|
2341
|
+
function xn(e) {
|
|
2342
|
+
const {
|
|
2343
|
+
palette: t = {
|
|
2344
|
+
mode: "light"
|
|
2345
|
+
},
|
|
2346
|
+
// need to cast to avoid module augmentation test
|
|
2347
|
+
opacity: r,
|
|
2348
|
+
overlays: n,
|
|
2349
|
+
colorSpace: o,
|
|
2350
|
+
...a
|
|
2351
|
+
} = e, s = ze({
|
|
2352
|
+
...t,
|
|
2353
|
+
colorSpace: o
|
|
2354
|
+
});
|
|
2355
|
+
return {
|
|
2356
|
+
palette: s,
|
|
2357
|
+
opacity: {
|
|
2358
|
+
..._t(s.mode),
|
|
2359
|
+
...r
|
|
2360
|
+
},
|
|
2361
|
+
overlays: n || Ot(s.mode),
|
|
2362
|
+
...a
|
|
2363
|
+
};
|
|
2364
|
+
}
|
|
2365
|
+
function Tn(e) {
|
|
2366
|
+
var t;
|
|
2367
|
+
return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
|
|
2368
|
+
e[0] === "palette" && !!((t = e[1]) != null && t.match(/(mode|contrastThreshold|tonalOffset)/));
|
|
2369
|
+
}
|
|
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) => {
|
|
2371
|
+
const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
|
|
2372
|
+
let a = o;
|
|
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) {
|
|
2374
|
+
if (t === "dark") {
|
|
2375
|
+
const s = {};
|
|
2376
|
+
return An(e.cssVarPrefix).forEach((u) => {
|
|
2377
|
+
s[u] = r[u], delete r[u];
|
|
2378
|
+
}), a === "media" ? {
|
|
2379
|
+
[n]: r,
|
|
2380
|
+
"@media (prefers-color-scheme: dark)": {
|
|
2381
|
+
[n]: s
|
|
2382
|
+
}
|
|
2383
|
+
} : a ? {
|
|
2384
|
+
[a.replace("%s", t)]: s,
|
|
2385
|
+
[`${n}, ${a.replace("%s", t)}`]: r
|
|
2386
|
+
} : {
|
|
2387
|
+
[n]: {
|
|
2388
|
+
...r,
|
|
2389
|
+
...s
|
|
2390
|
+
}
|
|
2391
|
+
};
|
|
2392
|
+
}
|
|
2393
|
+
if (a && a !== "media")
|
|
2394
|
+
return `${n}, ${a.replace("%s", String(t))}`;
|
|
2395
|
+
} else if (t) {
|
|
2396
|
+
if (a === "media")
|
|
2397
|
+
return {
|
|
2398
|
+
[`@media (prefers-color-scheme: ${String(t)})`]: {
|
|
2399
|
+
[n]: r
|
|
2400
|
+
}
|
|
2401
|
+
};
|
|
2402
|
+
if (a)
|
|
2403
|
+
return a.replace("%s", String(t));
|
|
2404
|
+
}
|
|
2405
|
+
return n;
|
|
2406
|
+
};
|
|
2407
|
+
function wn(e, t) {
|
|
2408
|
+
t.forEach((r) => {
|
|
2409
|
+
e[r] || (e[r] = {});
|
|
2410
|
+
});
|
|
2411
|
+
}
|
|
2412
|
+
function c(e, t, r) {
|
|
2413
|
+
!e[t] && r && (e[t] = r);
|
|
2414
|
+
}
|
|
2415
|
+
function fe(e) {
|
|
2416
|
+
return typeof e != "string" || !e.startsWith("hsl") ? e : Et(e);
|
|
2417
|
+
}
|
|
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().
|
|
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.`));
|
|
2421
|
+
}
|
|
2422
|
+
function _n(e) {
|
|
2423
|
+
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
2424
|
+
}
|
|
2425
|
+
const U = (e) => {
|
|
2426
|
+
try {
|
|
2427
|
+
return e();
|
|
2428
|
+
} catch {
|
|
2429
|
+
}
|
|
2430
|
+
}, On = (e = "mui") => zr(e);
|
|
2431
|
+
function Me(e, t, r, n, o) {
|
|
2432
|
+
if (!r)
|
|
2433
|
+
return;
|
|
2434
|
+
r = r === !0 ? {} : r;
|
|
2435
|
+
const a = o === "dark" ? "dark" : "light";
|
|
2436
|
+
if (!n) {
|
|
2437
|
+
t[o] = xn({
|
|
2438
|
+
...r,
|
|
2439
|
+
palette: {
|
|
2440
|
+
mode: a,
|
|
2441
|
+
...r == null ? void 0 : r.palette
|
|
2442
|
+
},
|
|
2443
|
+
colorSpace: e
|
|
2444
|
+
});
|
|
2445
|
+
return;
|
|
2446
|
+
}
|
|
2447
|
+
const {
|
|
2448
|
+
palette: s,
|
|
2449
|
+
...u
|
|
2450
|
+
} = We({
|
|
2451
|
+
...n,
|
|
2452
|
+
palette: {
|
|
2453
|
+
mode: a,
|
|
2454
|
+
...r == null ? void 0 : r.palette
|
|
2455
|
+
},
|
|
2456
|
+
colorSpace: e
|
|
2457
|
+
});
|
|
2458
|
+
return t[o] = {
|
|
2459
|
+
...r,
|
|
2460
|
+
palette: s,
|
|
2461
|
+
opacity: {
|
|
2462
|
+
..._t(a),
|
|
2463
|
+
...r == null ? void 0 : r.opacity
|
|
2464
|
+
},
|
|
2465
|
+
overlays: (r == null ? void 0 : r.overlays) || Ot(a)
|
|
2466
|
+
}, u;
|
|
2467
|
+
}
|
|
2468
|
+
function kn(e = {}, ...t) {
|
|
2469
|
+
const {
|
|
2470
|
+
colorSchemes: r = {
|
|
2471
|
+
light: !0
|
|
2472
|
+
},
|
|
2473
|
+
defaultColorScheme: n,
|
|
2474
|
+
disableCssColorScheme: o = !1,
|
|
2475
|
+
cssVarPrefix: a = "mui",
|
|
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
|
+
..._
|
|
2488
|
+
};
|
|
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,
|
|
2499
|
+
cssVarPrefix: a,
|
|
2500
|
+
colorSchemeSelector: f,
|
|
2501
|
+
rootSelector: d,
|
|
2502
|
+
getCssVar: b,
|
|
2503
|
+
colorSchemes: O,
|
|
2504
|
+
font: {
|
|
2505
|
+
...on(D.typography),
|
|
2506
|
+
...D.font
|
|
2507
|
+
},
|
|
2508
|
+
spacing: _n(y.spacing)
|
|
2509
|
+
};
|
|
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]);
|
|
2514
|
+
};
|
|
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));
|
|
2527
|
+
}
|
|
2528
|
+
if (i.mode === "dark") {
|
|
2529
|
+
c(i.Alert, "errorColor", g(A, i.error.light, 0.6)), c(i.Alert, "infoColor", g(A, i.info.light, 0.6)), c(i.Alert, "successColor", g(A, i.success.light, 0.6)), c(i.Alert, "warningColor", g(A, i.warning.light, 0.6)), c(i.Alert, "errorFilledBg", S("palette-error-dark")), c(i.Alert, "infoFilledBg", S("palette-info-dark")), c(i.Alert, "successFilledBg", S("palette-success-dark")), c(i.Alert, "warningFilledBg", S("palette-warning-dark")), c(i.Alert, "errorFilledColor", 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));
|
|
2532
|
+
}
|
|
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")));
|
|
2536
|
+
});
|
|
2537
|
+
}), E = t.reduce((P, i) => M(P, i), E);
|
|
2538
|
+
const j = {
|
|
2539
|
+
prefix: a,
|
|
2540
|
+
disableCssColorScheme: o,
|
|
2541
|
+
shouldSkipGeneratingVar: u,
|
|
2542
|
+
getSelector: vn(E),
|
|
2543
|
+
enableContrastVars: s
|
|
2544
|
+
}, {
|
|
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) {
|
|
2557
|
+
return Ne({
|
|
2558
|
+
sx: i,
|
|
2559
|
+
theme: this
|
|
2560
|
+
});
|
|
2561
|
+
}, E.toRuntimeSource = wt, E;
|
|
2562
|
+
}
|
|
2563
|
+
function ft(e, t, r) {
|
|
2564
|
+
e.colorSchemes && r && (e.colorSchemes[t] = {
|
|
2565
|
+
...r !== !0 && r,
|
|
2566
|
+
palette: ze({
|
|
2567
|
+
...r === !0 ? {} : r.palette,
|
|
2568
|
+
mode: t
|
|
2569
|
+
})
|
|
2570
|
+
// cast type to skip module augmentation test
|
|
2571
|
+
});
|
|
2572
|
+
}
|
|
2573
|
+
function Un(e = {}, ...t) {
|
|
2574
|
+
const {
|
|
2575
|
+
palette: r,
|
|
2576
|
+
cssVariables: n = !1,
|
|
2577
|
+
colorSchemes: o = r ? void 0 : {
|
|
2578
|
+
light: !0
|
|
2579
|
+
},
|
|
2580
|
+
defaultColorScheme: a = r == null ? void 0 : r.mode,
|
|
2581
|
+
...s
|
|
2582
|
+
} = e, u = a || "light", f = o == null ? void 0 : o[u], d = {
|
|
2583
|
+
...o,
|
|
2584
|
+
...r ? {
|
|
2585
|
+
[u]: {
|
|
2586
|
+
...typeof f != "boolean" && f,
|
|
2587
|
+
palette: r
|
|
2588
|
+
}
|
|
2589
|
+
} : void 0
|
|
2590
|
+
};
|
|
2591
|
+
if (n === !1) {
|
|
2592
|
+
if (!("colorSchemes" in e))
|
|
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 = {
|
|
2596
|
+
mode: "dark"
|
|
2597
|
+
}));
|
|
2598
|
+
const h = We({
|
|
2599
|
+
...e,
|
|
2600
|
+
palette: y
|
|
2601
|
+
}, ...t);
|
|
2602
|
+
return h.defaultColorScheme = u, h.colorSchemes = d, h.palette.mode === "light" && (h.colorSchemes.light = {
|
|
2603
|
+
...d.light !== !0 && d.light,
|
|
2604
|
+
palette: h.palette
|
|
2605
|
+
}, ft(h, "dark", d.dark)), h.palette.mode === "dark" && (h.colorSchemes.dark = {
|
|
2606
|
+
...d.dark !== !0 && d.dark,
|
|
2607
|
+
palette: h.palette
|
|
2608
|
+
}, ft(h, "light", d.light)), h;
|
|
2609
|
+
}
|
|
2610
|
+
return !r && !("light" in d) && u === "light" && (d.light = !0), kn({
|
|
2611
|
+
...s,
|
|
2612
|
+
colorSchemes: d,
|
|
2613
|
+
defaultColorScheme: u,
|
|
2614
|
+
...typeof n != "boolean" && n
|
|
2615
|
+
}, ...t);
|
|
2616
|
+
}
|
|
2617
|
+
const jn = "$$material";
|
|
2618
|
+
export {
|
|
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,
|
|
2633
|
+
Ue as N,
|
|
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,
|
|
2641
|
+
Ne as V,
|
|
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,
|
|
2656
|
+
nt as j,
|
|
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
|
|
2673
|
+
};
|