@clearstory/drywall-react 8.0.4 → 8.0.6
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/{Accordion-xHSrLkHR.js → Accordion-BLoO21kO.js} +5 -5
- package/dist/{AccordionActions-DxJvzLUL.js → AccordionActions-DEnsPwD7.js} +1 -1
- package/dist/{AccordionDetails-CuogXgRY.js → AccordionDetails-DCQWMIow.js} +2 -2
- package/dist/{AccordionSummary-Cigw_LZo.js → AccordionSummary-D9rkvedD.js} +3 -3
- package/dist/{AdapterDayjs-eOIHEncu.js → AdapterDayjs-CZ7WZoO-.js} +1 -1
- package/dist/{Alert-BzbQJE20.js → Alert-C0nB8B0A.js} +7 -7
- package/dist/{AlertTitle-DPNlhdPa.js → AlertTitle-BuH7JMg9.js} +3 -3
- package/dist/{ArrowDropDown-uZ1AcIgk.js → ArrowDropDown-BJFRFy4i.js} +2 -2
- package/dist/{Autocomplete-D34P06vA.js → Autocomplete-CYF3HxdY.js} +12 -12
- package/dist/{Avatar-C-9_FAjq.js → Avatar-CfLl3w8A.js} +3 -3
- package/dist/{AvatarGroup-D8lUylMk.js → AvatarGroup-zXFn9pPT.js} +4 -4
- package/dist/{Backdrop-B4Ia7EtY.js → Backdrop-D0bk79b0.js} +2 -2
- package/dist/{Badge-NPGe_51o.js → Badge-DAnEJCwO.js} +3 -3
- package/dist/{Box-tMEqMAfx.js → Box-CQwRBX5r.js} +3 -3
- package/dist/{Breadcrumbs-DYRzTcFu.js → Breadcrumbs-BXZBNJ-v.js} +6 -6
- package/dist/{Button-QivqHp-M.js → Button-CLWEs5Mp.js} +5 -5
- package/dist/{ButtonBase-Bi72noqx.js → ButtonBase-d25Mc53O.js} +1 -1
- package/dist/{ButtonGroup-Do3gIQtE.js → ButtonGroup-CbhiWKlx.js} +3 -3
- package/dist/{Card-BFSopHcs.js → Card-BI19Gl1-.js} +2 -2
- package/dist/{CardActionArea-c_b2tFe3.js → CardActionArea-B8RS67vs.js} +3 -3
- package/dist/{CardActions-C7KQU20Q.js → CardActions-DP-bAFcj.js} +1 -1
- package/dist/{CardContent-yPYgrFcu.js → CardContent-BtgQWsu1.js} +1 -1
- package/dist/{CardHeader-CR9DeOu4.js → CardHeader-Cj2S_dQL.js} +18 -21
- package/dist/{CardMedia-Dd67I2ML.js → CardMedia-DVwQ9gUq.js} +1 -1
- package/dist/{Checkbox-DNovTM5C.js → Checkbox-DFguUDAl.js} +5 -5
- package/dist/{Chip-CVCFF0g4.js → Chip-CcvKmiHh.js} +5 -5
- package/dist/{CircularProgress-D4cGLctr.js → CircularProgress-BEMtBAub.js} +3 -3
- package/dist/{Clear-Dvmnc6Px.js → Clear-C07DnM0Z.js} +1 -1
- package/dist/{Close-DFkW1yae.js → Close-BLiw2OtB.js} +1 -1
- package/dist/{Close-BTh_3opG.js → Close-Cqo_veas.js} +1 -1
- package/dist/{Collapse-BUKXVJlO.js → Collapse-2xO4ZzHp.js} +4 -4
- package/dist/{CssBaseline-DiUOI0Ii.js → CssBaseline-DkpTulhA.js} +1 -1
- package/dist/{Datepicker-C44hLm8m.js → Datepicker-CNITLOtu.js} +28 -28
- package/dist/{Dialog-C0Dcyh5Y.js → Dialog-p0TPTLH-.js} +8 -8
- package/dist/{DialogActions-VYDNPqM2.js → DialogActions-DEtGPG1H.js} +1 -1
- package/dist/{DialogContent-CFQ5KUbP.js → DialogContent-C_tyaA5v.js} +2 -2
- package/dist/{DialogContentText-DLMP3Hdd.js → DialogContentText-4Qgm21Rq.js} +2 -2
- package/dist/{DialogTitle-v-iQClHs.js → DialogTitle-ncq5a11L.js} +2 -2
- package/dist/{Divider-zOioqF3O.js → Divider-DDY18Jy7.js} +2 -2
- package/dist/{Drawer-Bhdn7gd4.js → Drawer-COowMl2D.js} +7 -7
- package/dist/{Fade--9eywODE.js → Fade-D1QSHt_U.js} +1 -1
- package/dist/{FormControl-DrPP8dU0.js → FormControl-kcKovRdJ.js} +2 -2
- package/dist/{FormControlLabel-IfSPCCOh.js → FormControlLabel-CkHVzBWT.js} +4 -4
- package/dist/{FormGroup-DFyvCj6T.js → FormGroup-TbHCpNrC.js} +1 -1
- package/dist/{FormHelperText-BSyZcI5O.js → FormHelperText-BO-3JFoa.js} +3 -3
- package/dist/{FormLabel-tmdQuE4G.js → FormLabel-DXxAsi2z.js} +3 -3
- package/dist/{GlobalStyles-C081E6-3.js → GlobalStyles-B-kvfSIE.js} +1 -1
- package/dist/{Grow-DiR0VE3b.js → Grow-BSY639vW.js} +1 -1
- package/dist/{IconButton-B1h37ok8.js → IconButton-Bxv4sRVK.js} +5 -5
- package/dist/{Info-Dmczo2E6.js → Info-BMNIqxBf.js} +1 -1
- package/dist/{InputAdornment-BN3LG3wf.js → InputAdornment-Dx_fPpHv.js} +4 -4
- package/dist/{InputBase-95uVeCOm.js → InputBase-lPsQfI3L.js} +4 -4
- package/dist/{KeyboardArrowRight-5YOKZbbG.js → KeyboardArrowRight-ImlJT20l.js} +1 -1
- package/dist/{LinearProgress-DT4D6lvI.js → LinearProgress-B1_hVem6.js} +3 -3
- package/dist/{Link-C05DkKOU.js → Link-CmR0lEPq.js} +5 -5
- package/dist/{List-DLwkox4l.js → List-C9tggwIZ.js} +1 -1
- package/dist/{ListItem-DJw2D8KA.js → ListItem-DIxbEV_F.js} +2 -2
- package/dist/{ListItemAvatar-GFRp0ERe.js → ListItemAvatar-HrjEWzk3.js} +1 -1
- package/dist/{ListItemButton-CJSrwY0m.js → ListItemButton-BDZuB8Y1.js} +3 -3
- package/dist/{ListItemIcon-BwUlPQvG.js → ListItemIcon-PnyHhMg9.js} +2 -2
- package/dist/{ListItemText-5kgKWqp6.js → ListItemText-BtJr-J55.js} +23 -26
- package/dist/{ListSubheader-Cn7zo2WN.js → ListSubheader-DDoUi9Pe.js} +3 -3
- package/dist/{Menu-QTcbrC3U.js → Menu-D3NIrqqa.js} +4 -4
- package/dist/{MenuItem-C9C4rZZK.js → MenuItem-CjX4ll4j.js} +3 -3
- package/dist/{MenuList-wRLNxVzl.js → MenuList-B78SKqMX.js} +2 -2
- package/dist/{Modal-lphk3OGn.js → Modal-B8xFVE5z.js} +3 -3
- package/dist/{Paper-CYjHHuGi.js → Paper-CGwS1-gE.js} +4 -4
- package/dist/{Popover-C4g4Cvlp.js → Popover-S8YCskKJ.js} +109 -108
- package/dist/{Popper-D_FgLacq.js → Popper-o-tJ9eHh.js} +197 -196
- package/dist/{Radio-CByRmGXi.js → Radio-BmClmq_V.js} +5 -5
- package/dist/{RadioGroup-BlvdvpJ1.js → RadioGroup-DyeoSuwA.js} +1 -1
- package/dist/{Select-qGJUZPI0.js → Select-CNlh4iIj.js} +6 -6
- package/dist/{Skeleton-cbpGJ4mi.js → Skeleton-rICnVtyi.js} +2 -2
- package/dist/{Slide-2poxm08g.js → Slide-u7YDsBIq.js} +51 -50
- package/dist/{Snackbar-BNZo_eyF.js → Snackbar-Du1eTeaJ.js} +6 -6
- package/dist/{Step-mNXE2D06.js → Step-BKiqJQsc.js} +1 -1
- package/dist/{StepButton-DIppSlpE.js → StepButton-stcfkNqt.js} +3 -3
- package/dist/{StepConnector-BYa8Kne-.js → StepConnector-CrtoSVNc.js} +3 -3
- package/dist/{StepContent-BhoB35wQ.js → StepContent-CCNfdj9j.js} +3 -3
- package/dist/{StepIcon-aV_wkp9m.js → StepIcon-CFRVt-BV.js} +31 -34
- package/dist/{StepLabel-BkOZ6zjJ.js → StepLabel-DhOad5Qc.js} +10 -14
- package/dist/{Stepper-CXbp97X6.js → Stepper-D6P9ghAB.js} +2 -2
- package/dist/{SvgIcon-B8oryoa5.js → SvgIcon-CN4biM9x.js} +3 -3
- package/dist/{Switch-B6PEKd8o.js → Switch-B8ebRciT.js} +4 -4
- package/dist/{SwitchBase-C2XAgHZG.js → SwitchBase-DSXusSLq.js} +3 -3
- package/dist/{Tab-Bo9Q9fUY.js → Tab-byONHznV.js} +4 -4
- package/dist/{Table-1FpmJB-p.js → Table-CU5gX0jE.js} +2 -2
- package/dist/{TableBody-msUAmdxa.js → TableBody-Dx29Wf0r.js} +1 -1
- package/dist/{TableCell-CovS0283.js → TableCell-CtNo7EIp.js} +3 -3
- package/dist/{TableContainer-D5Olxe9m.js → TableContainer-DEDAB-r_.js} +1 -1
- package/dist/{TableFooter-DB2mje5n.js → TableFooter-YRdMR5f_.js} +1 -1
- package/dist/{TableHead-Cra442qd.js → TableHead-DO9OX8_u.js} +1 -1
- package/dist/{TablePagination-DUdl-BaY.js → TablePagination-BDZTTT0F.js} +10 -10
- package/dist/{TableRow-tv9A8znJ.js → TableRow-iDSTgT06.js} +2 -2
- package/dist/{Tabs-hon-LGqp.js → Tabs-BB9XpdM7.js} +91 -90
- package/dist/{ThemeProviderWithVars-BNUcBdVQ.js → ThemeProviderWithVars-DN3OCUzV.js} +3 -3
- package/dist/{ToggleButton-BiMckaCd.js → ToggleButton-DSumrqFb.js} +4 -4
- package/dist/{ToggleButtonGroup-D4LFlIbs.js → ToggleButtonGroup-vM3YuW1f.js} +3 -3
- package/dist/{Toolbar-Bt1Qa2mH.js → Toolbar-Dx3j82yU.js} +2 -2
- package/dist/{Tooltip-B41Kh1k0.js → Tooltip-CYXo_y5R.js} +175 -166
- package/dist/{Typography-BgU_ldl-.js → Typography-DbGuUYt_.js} +4 -4
- package/dist/{WarningAmberOutlined-DMySBPYG.js → WarningAmberOutlined-RXlIqFCY.js} +1 -1
- package/dist/{Zoom-C2osCIgz.js → Zoom-CUkC6ivv.js} +1 -1
- package/dist/{ZoomOut-Diee1v9P.js → ZoomOut-C0Txlbn6.js} +1 -1
- package/dist/components/Accordion/index.js +1 -1
- package/dist/components/AccordionActions/index.js +1 -1
- package/dist/components/AccordionDetails/index.js +1 -1
- package/dist/components/AccordionSummary/index.js +1 -1
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/AlertTitle/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +2 -2
- package/dist/components/Autocomplete/index.js +1 -1
- package/dist/components/AutocompleteControl/AutocompleteControl.js +7 -7
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/AvatarGroup/index.js +1 -1
- package/dist/components/Backdrop/index.js +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Box/index.js +1 -1
- package/dist/components/Breadcrumbs/index.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonBase/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Card/index.js +1 -1
- package/dist/components/CardActionArea/index.js +1 -1
- package/dist/components/CardActions/index.js +1 -1
- package/dist/components/CardContent/index.js +1 -1
- package/dist/components/CardHeader/index.js +1 -1
- package/dist/components/CardMedia/index.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/Chip/index.js +1 -1
- package/dist/components/CircularProgress/index.js +1 -1
- package/dist/components/Collapse/index.js +1 -1
- package/dist/components/Container/index.js +1 -1
- package/dist/components/CssBaseline/index.js +1 -1
- package/dist/components/Datepicker/Datepicker.js +3 -3
- package/dist/components/Datepicker/index.js +2 -2
- package/dist/components/DatepickerControl/DatepickerControl.js +7 -7
- package/dist/components/DescriptionDetails/DescriptionDetails.js +1 -1
- package/dist/components/DescriptionList/DescriptionList.js +1 -1
- package/dist/components/DescriptionTerm/DescriptionTerm.js +1 -1
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/DialogActions/index.js +1 -1
- package/dist/components/DialogClose/DialogClose.js +2 -2
- package/dist/components/DialogContent/index.js +1 -1
- package/dist/components/DialogContentText/index.js +1 -1
- package/dist/components/DialogTitle/index.js +1 -1
- package/dist/components/Divider/index.js +1 -1
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/Fade/index.js +1 -1
- package/dist/components/FormControl/index.js +1 -1
- package/dist/components/FormControlLabel/index.js +1 -1
- package/dist/components/FormGroup/index.js +1 -1
- package/dist/components/FormHelperText/index.js +1 -1
- package/dist/components/FormLabel/index.js +1 -1
- package/dist/components/FormSublabel/FormSublabel.d.ts +1 -1
- package/dist/components/FormSublabel/FormSublabel.js +2 -2
- package/dist/components/Grow/index.js +1 -1
- package/dist/components/IconButton/index.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/InputAdornment/index.js +1 -1
- package/dist/components/InputControl/InputControl.js +6 -6
- package/dist/components/LinearProgress/index.js +1 -1
- package/dist/components/Link/index.js +1 -1
- package/dist/components/List/index.js +1 -1
- package/dist/components/ListItem/index.js +1 -1
- package/dist/components/ListItemAvatar/index.js +1 -1
- package/dist/components/ListItemButton/index.js +1 -1
- package/dist/components/ListItemIcon/index.js +1 -1
- package/dist/components/ListItemText/index.js +1 -1
- package/dist/components/ListSubheader/index.js +1 -1
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/MenuItem/index.js +1 -1
- package/dist/components/MenuList/index.js +1 -1
- package/dist/components/NumberInputControl/NumberInputControl.js +6 -6
- package/dist/components/Paper/index.js +1 -1
- package/dist/components/Popover/index.js +1 -1
- package/dist/components/Popper/index.js +1 -1
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/RadioGroup/index.js +1 -1
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/SelectControl/SelectControl.js +6 -6
- package/dist/components/Skeleton/index.js +1 -1
- package/dist/components/Slide/index.js +1 -1
- package/dist/components/Snackbar/index.js +1 -1
- package/dist/components/Stack/index.js +1 -1
- package/dist/components/Step/index.js +1 -1
- package/dist/components/StepButton/index.js +1 -1
- package/dist/components/StepConnector/index.js +1 -1
- package/dist/components/StepContent/index.js +1 -1
- package/dist/components/StepIcon/index.js +1 -1
- package/dist/components/StepLabel/index.js +1 -1
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/SvgIcon/index.js +1 -1
- package/dist/components/Switch/index.js +1 -1
- package/dist/components/Tab/index.js +1 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/TableBody/index.js +1 -1
- package/dist/components/TableCell/index.js +1 -1
- package/dist/components/TableContainer/index.js +1 -1
- package/dist/components/TableFooter/index.js +1 -1
- package/dist/components/TableHead/index.js +1 -1
- package/dist/components/TablePagination/index.js +1 -1
- package/dist/components/TableRow/index.js +1 -1
- package/dist/components/Tabs/index.js +1 -1
- package/dist/components/Textarea/Textarea.js +1 -1
- package/dist/components/TextareaControl/TextareaControl.js +6 -6
- package/dist/components/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/components/ToastContainer/ToastContainer.js +1 -1
- package/dist/components/ToastContainer/useToast.js +5 -5
- package/dist/components/ToggleButton/index.js +1 -1
- package/dist/components/ToggleButtonGroup/index.js +1 -1
- package/dist/components/Toolbar/index.js +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/Typography/index.js +1 -1
- package/dist/components/Zoom/index.js +1 -1
- package/dist/{containerClasses-d0knG_Lk.js → containerClasses-CUnNOAA_.js} +4 -4
- package/dist/{createSvgIcon-DULirWwm.js → createSvgIcon-DiFqLLxU.js} +1 -1
- package/dist/{createTheme-PiEw_V9m.js → createTheme-DJCjwrXs.js} +452 -452
- package/dist/defaultTheme-DrhYmc21.js +5 -0
- package/dist/{extendSxProp-DFDhj_4Z.js → extendSxProp-DIrRPNn7.js} +1 -1
- package/dist/icons/ClearstoryIcon.js +1 -1
- package/dist/icons/InternalOnlyIcon.js +1 -1
- package/dist/icons/MoneyBucketIcon.js +1 -1
- package/dist/icons/MoreCircleOutlineIcon.js +1 -1
- package/dist/icons/SparkleIcon.js +1 -1
- package/dist/icons/index.js +5 -5
- package/dist/{index-Db3avKaK.js → index-CWuy9-rr.js} +3 -3
- package/dist/{index-DrR6lRMV.js → index-tzzNted_.js} +1 -1
- package/dist/isLayoutSupported-BefIMk_y.js +8 -0
- package/dist/main.js +103 -103
- package/dist/{memoTheme-BtPmrCmh.js → memoTheme-BQFamb8G.js} +1 -1
- package/dist/{stackClasses-4ps9E778.js → stackClasses-ISs6XIYy.js} +5 -5
- package/dist/styled-DAkFcKn3.js +5 -0
- package/dist/{styled-DGv3Bxg0.js → styled-LWMvVNgu.js} +2 -2
- package/dist/theme/colorSchemes.js +34 -34
- package/dist/theme/index.d.ts +1 -0
- package/dist/theme/index.js +5 -5
- package/dist/theme/internal.js +1 -1
- package/dist/{useTheme-DJ2s8uyO.js → useTheme-BqhPTxYZ.js} +1 -1
- package/dist/{useTheme-By3Sjbe_.js → useTheme-D3BQGgvH.js} +2 -2
- package/dist/{useThemeProps-D4d6k1b4.js → useThemeProps-DFgFYgdF.js} +1 -1
- package/package.json +6 -6
- package/dist/defaultTheme-Cd478y90.js +0 -5
- package/dist/styled-uiPN25VC.js +0 -5
|
@@ -67,29 +67,29 @@ var je;
|
|
|
67
67
|
function $t() {
|
|
68
68
|
if (je) return x;
|
|
69
69
|
je = 1;
|
|
70
|
-
var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"),
|
|
71
|
-
function
|
|
72
|
-
if (typeof
|
|
73
|
-
var S =
|
|
70
|
+
var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), s = /* @__PURE__ */ Symbol.for("react.consumer"), a = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), b = /* @__PURE__ */ Symbol.for("react.memo"), y = /* @__PURE__ */ Symbol.for("react.lazy"), p = /* @__PURE__ */ Symbol.for("react.view_transition"), u = /* @__PURE__ */ Symbol.for("react.client.reference");
|
|
71
|
+
function g(l) {
|
|
72
|
+
if (typeof l == "object" && l !== null) {
|
|
73
|
+
var S = l.$$typeof;
|
|
74
74
|
switch (S) {
|
|
75
75
|
case e:
|
|
76
|
-
switch (
|
|
76
|
+
switch (l = l.type, l) {
|
|
77
77
|
case r:
|
|
78
78
|
case i:
|
|
79
79
|
case n:
|
|
80
|
-
case f:
|
|
81
|
-
case p:
|
|
82
80
|
case d:
|
|
83
|
-
|
|
81
|
+
case m:
|
|
82
|
+
case p:
|
|
83
|
+
return l;
|
|
84
84
|
default:
|
|
85
|
-
switch (
|
|
86
|
-
case l:
|
|
87
|
-
case u:
|
|
88
|
-
case h:
|
|
89
|
-
case y:
|
|
90
|
-
return s;
|
|
85
|
+
switch (l = l && l.$$typeof, l) {
|
|
91
86
|
case a:
|
|
92
|
-
|
|
87
|
+
case f:
|
|
88
|
+
case y:
|
|
89
|
+
case b:
|
|
90
|
+
return l;
|
|
91
|
+
case s:
|
|
92
|
+
return l;
|
|
93
93
|
default:
|
|
94
94
|
return S;
|
|
95
95
|
}
|
|
@@ -99,60 +99,60 @@ function $t() {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
return x.ContextConsumer =
|
|
103
|
-
return
|
|
104
|
-
}, x.isContextProvider = function(
|
|
105
|
-
return
|
|
106
|
-
}, x.isElement = function(
|
|
107
|
-
return typeof
|
|
108
|
-
}, x.isForwardRef = function(
|
|
109
|
-
return
|
|
110
|
-
}, x.isFragment = function(
|
|
111
|
-
return
|
|
112
|
-
}, x.isLazy = function(
|
|
113
|
-
return
|
|
114
|
-
}, x.isMemo = function(
|
|
115
|
-
return
|
|
116
|
-
}, x.isPortal = function(
|
|
117
|
-
return
|
|
118
|
-
}, x.isProfiler = function(
|
|
119
|
-
return
|
|
120
|
-
}, x.isStrictMode = function(
|
|
121
|
-
return
|
|
122
|
-
}, x.isSuspense = function(
|
|
123
|
-
return
|
|
124
|
-
}, x.isSuspenseList = function(
|
|
125
|
-
return
|
|
126
|
-
}, x.isValidElementType = function(
|
|
127
|
-
return typeof
|
|
128
|
-
}, x.typeOf =
|
|
102
|
+
return x.ContextConsumer = s, x.ContextProvider = a, x.Element = e, x.ForwardRef = f, x.Fragment = r, x.Lazy = y, x.Memo = b, x.Portal = t, x.Profiler = i, x.StrictMode = n, x.Suspense = d, x.SuspenseList = m, x.isContextConsumer = function(l) {
|
|
103
|
+
return g(l) === s;
|
|
104
|
+
}, x.isContextProvider = function(l) {
|
|
105
|
+
return g(l) === a;
|
|
106
|
+
}, x.isElement = function(l) {
|
|
107
|
+
return typeof l == "object" && l !== null && l.$$typeof === e;
|
|
108
|
+
}, x.isForwardRef = function(l) {
|
|
109
|
+
return g(l) === f;
|
|
110
|
+
}, x.isFragment = function(l) {
|
|
111
|
+
return g(l) === r;
|
|
112
|
+
}, x.isLazy = function(l) {
|
|
113
|
+
return g(l) === y;
|
|
114
|
+
}, x.isMemo = function(l) {
|
|
115
|
+
return g(l) === b;
|
|
116
|
+
}, x.isPortal = function(l) {
|
|
117
|
+
return g(l) === t;
|
|
118
|
+
}, x.isProfiler = function(l) {
|
|
119
|
+
return g(l) === i;
|
|
120
|
+
}, x.isStrictMode = function(l) {
|
|
121
|
+
return g(l) === n;
|
|
122
|
+
}, x.isSuspense = function(l) {
|
|
123
|
+
return g(l) === d;
|
|
124
|
+
}, x.isSuspenseList = function(l) {
|
|
125
|
+
return g(l) === m;
|
|
126
|
+
}, x.isValidElementType = function(l) {
|
|
127
|
+
return typeof l == "string" || typeof l == "function" || l === r || l === i || l === n || l === d || l === m || typeof l == "object" && l !== null && (l.$$typeof === y || l.$$typeof === b || l.$$typeof === a || l.$$typeof === s || l.$$typeof === f || l.$$typeof === u || l.getModuleId !== void 0);
|
|
128
|
+
}, x.typeOf = g, x;
|
|
129
129
|
}
|
|
130
130
|
var v = {};
|
|
131
131
|
var ze;
|
|
132
132
|
function Et() {
|
|
133
133
|
return ze || (ze = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
134
|
-
function e(
|
|
135
|
-
if (typeof
|
|
136
|
-
var S =
|
|
134
|
+
function e(l) {
|
|
135
|
+
if (typeof l == "object" && l !== null) {
|
|
136
|
+
var S = l.$$typeof;
|
|
137
137
|
switch (S) {
|
|
138
138
|
case t:
|
|
139
|
-
switch (
|
|
139
|
+
switch (l = l.type, l) {
|
|
140
140
|
case n:
|
|
141
|
-
case
|
|
141
|
+
case s:
|
|
142
142
|
case i:
|
|
143
|
-
case
|
|
144
|
-
case y:
|
|
143
|
+
case m:
|
|
145
144
|
case b:
|
|
146
|
-
|
|
145
|
+
case u:
|
|
146
|
+
return l;
|
|
147
147
|
default:
|
|
148
|
-
switch (
|
|
149
|
-
case u:
|
|
148
|
+
switch (l = l && l.$$typeof, l) {
|
|
150
149
|
case f:
|
|
151
150
|
case d:
|
|
152
|
-
case
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
151
|
+
case p:
|
|
152
|
+
case y:
|
|
153
|
+
return l;
|
|
154
|
+
case a:
|
|
155
|
+
return l;
|
|
156
156
|
default:
|
|
157
157
|
return S;
|
|
158
158
|
}
|
|
@@ -162,33 +162,33 @@ function Et() {
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), i = /* @__PURE__ */ Symbol.for("react.strict_mode"),
|
|
166
|
-
v.ContextConsumer =
|
|
167
|
-
return e(
|
|
168
|
-
}, v.isContextProvider = function(
|
|
169
|
-
return e(
|
|
170
|
-
}, v.isElement = function(
|
|
171
|
-
return typeof
|
|
172
|
-
}, v.isForwardRef = function(
|
|
173
|
-
return e(
|
|
174
|
-
}, v.isFragment = function(
|
|
175
|
-
return e(
|
|
176
|
-
}, v.isLazy = function(
|
|
177
|
-
return e(
|
|
178
|
-
}, v.isMemo = function(
|
|
179
|
-
return e(
|
|
180
|
-
}, v.isPortal = function(
|
|
181
|
-
return e(
|
|
182
|
-
}, v.isProfiler = function(
|
|
183
|
-
return e(
|
|
184
|
-
}, v.isStrictMode = function(
|
|
185
|
-
return e(
|
|
186
|
-
}, v.isSuspense = function(
|
|
187
|
-
return e(
|
|
188
|
-
}, v.isSuspenseList = function(
|
|
189
|
-
return e(
|
|
190
|
-
}, v.isValidElementType = function(
|
|
191
|
-
return typeof
|
|
165
|
+
var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), i = /* @__PURE__ */ Symbol.for("react.strict_mode"), s = /* @__PURE__ */ Symbol.for("react.profiler"), a = /* @__PURE__ */ Symbol.for("react.consumer"), f = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), m = /* @__PURE__ */ Symbol.for("react.suspense"), b = /* @__PURE__ */ Symbol.for("react.suspense_list"), y = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), u = /* @__PURE__ */ Symbol.for("react.view_transition"), g = /* @__PURE__ */ Symbol.for("react.client.reference");
|
|
166
|
+
v.ContextConsumer = a, v.ContextProvider = f, v.Element = t, v.ForwardRef = d, v.Fragment = n, v.Lazy = p, v.Memo = y, v.Portal = r, v.Profiler = s, v.StrictMode = i, v.Suspense = m, v.SuspenseList = b, v.isContextConsumer = function(l) {
|
|
167
|
+
return e(l) === a;
|
|
168
|
+
}, v.isContextProvider = function(l) {
|
|
169
|
+
return e(l) === f;
|
|
170
|
+
}, v.isElement = function(l) {
|
|
171
|
+
return typeof l == "object" && l !== null && l.$$typeof === t;
|
|
172
|
+
}, v.isForwardRef = function(l) {
|
|
173
|
+
return e(l) === d;
|
|
174
|
+
}, v.isFragment = function(l) {
|
|
175
|
+
return e(l) === n;
|
|
176
|
+
}, v.isLazy = function(l) {
|
|
177
|
+
return e(l) === p;
|
|
178
|
+
}, v.isMemo = function(l) {
|
|
179
|
+
return e(l) === y;
|
|
180
|
+
}, v.isPortal = function(l) {
|
|
181
|
+
return e(l) === r;
|
|
182
|
+
}, v.isProfiler = function(l) {
|
|
183
|
+
return e(l) === s;
|
|
184
|
+
}, v.isStrictMode = function(l) {
|
|
185
|
+
return e(l) === i;
|
|
186
|
+
}, v.isSuspense = function(l) {
|
|
187
|
+
return e(l) === m;
|
|
188
|
+
}, v.isSuspenseList = function(l) {
|
|
189
|
+
return e(l) === b;
|
|
190
|
+
}, v.isValidElementType = function(l) {
|
|
191
|
+
return typeof l == "string" || typeof l == "function" || l === n || l === s || l === i || l === m || l === b || typeof l == "object" && l !== null && (l.$$typeof === p || l.$$typeof === y || l.$$typeof === f || l.$$typeof === a || l.$$typeof === d || l.$$typeof === g || l.getModuleId !== void 0);
|
|
192
192
|
}, v.typeOf = e;
|
|
193
193
|
})()), v;
|
|
194
194
|
}
|
|
@@ -251,32 +251,32 @@ function xt(e) {
|
|
|
251
251
|
unit: r = "px",
|
|
252
252
|
step: n = 5,
|
|
253
253
|
...i
|
|
254
|
-
} = e,
|
|
255
|
-
function
|
|
256
|
-
return `@media (min-width:${typeof t[
|
|
254
|
+
} = e, s = wt(t), a = Object.keys(s);
|
|
255
|
+
function f(p) {
|
|
256
|
+
return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r})`;
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
return `@media (max-width:${(typeof t[
|
|
258
|
+
function d(p) {
|
|
259
|
+
return `@media (max-width:${(typeof t[p] == "number" ? t[p] : p) - n / 100}${r})`;
|
|
260
260
|
}
|
|
261
|
-
function p
|
|
262
|
-
const
|
|
263
|
-
return `@media (min-width:${typeof t[
|
|
261
|
+
function m(p, u) {
|
|
262
|
+
const g = a.indexOf(u);
|
|
263
|
+
return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r}) and (max-width:${(g !== -1 && typeof t[a[g]] == "number" ? t[a[g]] : u) - n / 100}${r})`;
|
|
264
264
|
}
|
|
265
|
-
function
|
|
266
|
-
return
|
|
265
|
+
function b(p) {
|
|
266
|
+
return a.indexOf(p) + 1 < a.length ? m(p, a[a.indexOf(p) + 1]) : f(p);
|
|
267
267
|
}
|
|
268
|
-
function
|
|
269
|
-
const
|
|
270
|
-
return
|
|
268
|
+
function y(p) {
|
|
269
|
+
const u = a.indexOf(p);
|
|
270
|
+
return u === 0 ? f(a[1]) : u === a.length - 1 ? d(a[u]) : m(p, a[a.indexOf(p) + 1]).replace("@media", "@media not all and");
|
|
271
271
|
}
|
|
272
272
|
return {
|
|
273
|
-
keys:
|
|
274
|
-
values:
|
|
275
|
-
up:
|
|
276
|
-
down:
|
|
277
|
-
between:
|
|
278
|
-
only:
|
|
279
|
-
not:
|
|
273
|
+
keys: a,
|
|
274
|
+
values: s,
|
|
275
|
+
up: f,
|
|
276
|
+
down: d,
|
|
277
|
+
between: m,
|
|
278
|
+
only: b,
|
|
279
|
+
not: y,
|
|
280
280
|
unit: r,
|
|
281
281
|
...i
|
|
282
282
|
};
|
|
@@ -285,12 +285,12 @@ function Ye(e, t) {
|
|
|
285
285
|
if (!e.containerQueries)
|
|
286
286
|
return t;
|
|
287
287
|
const r = Object.keys(t).filter((n) => n.startsWith("@container")).sort((n, i) => {
|
|
288
|
-
const
|
|
289
|
-
return +(n.match(
|
|
288
|
+
const s = /min-width:\s*([0-9.]+)/;
|
|
289
|
+
return +(n.match(s)?.[1] || 0) - +(i.match(s)?.[1] || 0);
|
|
290
290
|
});
|
|
291
291
|
return r.length ? r.reduce((n, i) => {
|
|
292
|
-
const
|
|
293
|
-
return delete n[i], n[i] =
|
|
292
|
+
const s = t[i];
|
|
293
|
+
return delete n[i], n[i] = s, n;
|
|
294
294
|
}, {
|
|
295
295
|
...t
|
|
296
296
|
}) : t;
|
|
@@ -309,18 +309,18 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`)
|
|
|
309
309
|
);
|
|
310
310
|
return null;
|
|
311
311
|
}
|
|
312
|
-
const [, n, i] = r,
|
|
313
|
-
return e.containerQueries(i).up(
|
|
312
|
+
const [, n, i] = r, s = Number.isNaN(+n) ? n || 0 : +n;
|
|
313
|
+
return e.containerQueries(i).up(s);
|
|
314
314
|
}
|
|
315
315
|
function Ot(e) {
|
|
316
|
-
const t = (
|
|
317
|
-
function r(
|
|
318
|
-
|
|
319
|
-
const
|
|
320
|
-
return
|
|
316
|
+
const t = (s, a) => s.replace("@media", a ? `@container ${a}` : "@container");
|
|
317
|
+
function r(s, a) {
|
|
318
|
+
s.up = (...f) => t(e.breakpoints.up(...f), a), s.down = (...f) => t(e.breakpoints.down(...f), a), s.between = (...f) => t(e.breakpoints.between(...f), a), s.only = (...f) => t(e.breakpoints.only(...f), a), s.not = (...f) => {
|
|
319
|
+
const d = t(e.breakpoints.not(...f), a);
|
|
320
|
+
return d.includes("not all and") ? d.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : d;
|
|
321
321
|
};
|
|
322
322
|
}
|
|
323
|
-
const n = {}, i = (
|
|
323
|
+
const n = {}, i = (s) => (r(n, s), n);
|
|
324
324
|
return r(i), {
|
|
325
325
|
...e,
|
|
326
326
|
containerQueries: i
|
|
@@ -362,23 +362,23 @@ const Se = {
|
|
|
362
362
|
function Y(e, t, r) {
|
|
363
363
|
const n = e.theme || {};
|
|
364
364
|
if (Array.isArray(t)) {
|
|
365
|
-
const
|
|
366
|
-
return t.reduce((
|
|
365
|
+
const s = n.breakpoints || Ke;
|
|
366
|
+
return t.reduce((a, f, d) => (a[s.up(s.keys[d])] = r(t[d]), a), {});
|
|
367
367
|
}
|
|
368
368
|
if (typeof t == "object") {
|
|
369
|
-
const
|
|
370
|
-
return Object.keys(t).reduce((
|
|
371
|
-
if (vt(
|
|
372
|
-
const
|
|
373
|
-
|
|
374
|
-
} else if (Object.keys(
|
|
375
|
-
const
|
|
376
|
-
|
|
369
|
+
const s = n.breakpoints || Ke;
|
|
370
|
+
return Object.keys(t).reduce((a, f) => {
|
|
371
|
+
if (vt(s.keys, f)) {
|
|
372
|
+
const d = At(n.containerQueries ? n : _t, f);
|
|
373
|
+
d && (a[d] = r(t[f], f));
|
|
374
|
+
} else if (Object.keys(s.values || Se).includes(f)) {
|
|
375
|
+
const d = s.up(f);
|
|
376
|
+
a[d] = r(t[f], f);
|
|
377
377
|
} else {
|
|
378
|
-
const
|
|
379
|
-
|
|
378
|
+
const d = f;
|
|
379
|
+
a[d] = t[d];
|
|
380
380
|
}
|
|
381
|
-
return
|
|
381
|
+
return a;
|
|
382
382
|
}, {});
|
|
383
383
|
}
|
|
384
384
|
return r(t);
|
|
@@ -396,15 +396,15 @@ function Pe(e, t) {
|
|
|
396
396
|
}, t);
|
|
397
397
|
}
|
|
398
398
|
function fn(e, ...t) {
|
|
399
|
-
const r = st(e), n = [r, ...t].reduce((i,
|
|
399
|
+
const r = st(e), n = [r, ...t].reduce((i, s) => D(i, s), {});
|
|
400
400
|
return Pe(Object.keys(r), n);
|
|
401
401
|
}
|
|
402
402
|
function Nt(e, t) {
|
|
403
403
|
if (typeof e != "object")
|
|
404
404
|
return {};
|
|
405
405
|
const r = {}, n = Object.keys(t);
|
|
406
|
-
return Array.isArray(e) ? n.forEach((i,
|
|
407
|
-
|
|
406
|
+
return Array.isArray(e) ? n.forEach((i, s) => {
|
|
407
|
+
s < e.length && (r[i] = !0);
|
|
408
408
|
}) : n.forEach((i) => {
|
|
409
409
|
e[i] != null && (r[i] = !0);
|
|
410
410
|
}), r;
|
|
@@ -417,8 +417,8 @@ function dn({
|
|
|
417
417
|
const n = r || Nt(e, t), i = Object.keys(n);
|
|
418
418
|
if (i.length === 0)
|
|
419
419
|
return e;
|
|
420
|
-
let
|
|
421
|
-
return i.reduce((
|
|
420
|
+
let s;
|
|
421
|
+
return i.reduce((a, f, d) => (Array.isArray(e) ? (a[f] = e[d] != null ? e[d] : e[s], s = d) : typeof e == "object" ? (a[f] = e[f] != null ? e[f] : e[s], s = f) : a[f] = e, a), {});
|
|
422
422
|
}
|
|
423
423
|
function lt(e) {
|
|
424
424
|
if (typeof e != "string")
|
|
@@ -429,7 +429,7 @@ function Ce(e, t, r = !0) {
|
|
|
429
429
|
if (!t || typeof t != "string")
|
|
430
430
|
return null;
|
|
431
431
|
if (e && e.vars && r) {
|
|
432
|
-
const n = `vars.${t}`.split(".").reduce((i,
|
|
432
|
+
const n = `vars.${t}`.split(".").reduce((i, s) => i && i[s] ? i[s] : null, e);
|
|
433
433
|
if (n != null)
|
|
434
434
|
return n;
|
|
435
435
|
}
|
|
@@ -445,20 +445,20 @@ function B(e) {
|
|
|
445
445
|
cssProperty: r = e.prop,
|
|
446
446
|
themeKey: n,
|
|
447
447
|
transform: i
|
|
448
|
-
} = e,
|
|
449
|
-
if (
|
|
448
|
+
} = e, s = (a) => {
|
|
449
|
+
if (a[t] == null)
|
|
450
450
|
return null;
|
|
451
|
-
const
|
|
452
|
-
return Y(
|
|
453
|
-
let
|
|
454
|
-
return
|
|
455
|
-
[r]:
|
|
451
|
+
const f = a[t], d = a.theme, m = Ce(d, n) || {};
|
|
452
|
+
return Y(a, f, (y) => {
|
|
453
|
+
let p = be(m, i, y);
|
|
454
|
+
return y === p && typeof y == "string" && (p = be(m, i, `${t}${y === "default" ? "" : lt(y)}`, y)), r === !1 ? p : {
|
|
455
|
+
[r]: p
|
|
456
456
|
};
|
|
457
457
|
});
|
|
458
458
|
};
|
|
459
|
-
return
|
|
459
|
+
return s.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
460
460
|
[t]: q
|
|
461
|
-
} : {},
|
|
461
|
+
} : {}, s.filterProps = [t], s;
|
|
462
462
|
}
|
|
463
463
|
function Rt(e) {
|
|
464
464
|
const t = {};
|
|
@@ -486,19 +486,19 @@ const Bt = {
|
|
|
486
486
|
else
|
|
487
487
|
return [e];
|
|
488
488
|
const [t, r] = e.split(""), n = Bt[t], i = It[r] || "";
|
|
489
|
-
return Array.isArray(i) ? i.map((
|
|
489
|
+
return Array.isArray(i) ? i.map((s) => n + s) : [n + i];
|
|
490
490
|
}), $e = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Ee = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Dt = [...$e, ...Ee];
|
|
491
491
|
function me(e, t, r, n) {
|
|
492
492
|
const i = Ce(e, t, !0) ?? r;
|
|
493
|
-
return typeof i == "number" || typeof i == "string" ? (
|
|
494
|
-
if (typeof
|
|
495
|
-
return
|
|
496
|
-
const
|
|
497
|
-
process.env.NODE_ENV !== "production" && (Number.isInteger(
|
|
493
|
+
return typeof i == "number" || typeof i == "string" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${s}.`), typeof i == "string" ? i.startsWith("var(") && s === 0 ? 0 : i.startsWith("var(") && s === 1 ? i : `calc(${s} * ${i})` : i * s) : Array.isArray(i) ? (s) => {
|
|
494
|
+
if (typeof s == "string")
|
|
495
|
+
return s;
|
|
496
|
+
const a = Math.abs(s);
|
|
497
|
+
process.env.NODE_ENV !== "production" && (Number.isInteger(a) ? a > i.length - 1 && console.error([`MUI: The value provided (${a}) overflows.`, `The supported values are: ${JSON.stringify(i)}.`, `${a} > ${i.length - 1}, you need to add the missing values.`].join(`
|
|
498
498
|
`)) : 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(`
|
|
499
499
|
`)));
|
|
500
|
-
const
|
|
501
|
-
return
|
|
500
|
+
const f = i[a];
|
|
501
|
+
return s >= 0 ? f : typeof f == "number" ? -f : typeof f == "string" && f.startsWith("var(") ? `calc(-1 * ${f})` : `-${f}`;
|
|
502
502
|
} : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join(`
|
|
503
503
|
`)), () => {
|
|
504
504
|
});
|
|
@@ -515,8 +515,8 @@ function Mt(e, t) {
|
|
|
515
515
|
function Ft(e, t, r, n) {
|
|
516
516
|
if (!t.includes(r))
|
|
517
517
|
return null;
|
|
518
|
-
const i = Pt(r),
|
|
519
|
-
return Y(e,
|
|
518
|
+
const i = Pt(r), s = Mt(i, n), a = e[r];
|
|
519
|
+
return Y(e, a, s);
|
|
520
520
|
}
|
|
521
521
|
function ct(e, t) {
|
|
522
522
|
const r = Le(e.theme);
|
|
@@ -538,16 +538,16 @@ function ut(e = 8, t = Le({
|
|
|
538
538
|
})) {
|
|
539
539
|
if (e.mui)
|
|
540
540
|
return e;
|
|
541
|
-
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((
|
|
542
|
-
const
|
|
543
|
-
return typeof
|
|
541
|
+
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((s) => {
|
|
542
|
+
const a = t(s);
|
|
543
|
+
return typeof a == "number" ? `${a}px` : a;
|
|
544
544
|
}).join(" "));
|
|
545
545
|
return r.mui = !0, r;
|
|
546
546
|
}
|
|
547
547
|
function Te(...e) {
|
|
548
|
-
const t = e.reduce((n, i) => (i.filterProps.forEach((
|
|
549
|
-
n[
|
|
550
|
-
}), n), {}), r = (n) => Object.keys(n).reduce((i,
|
|
548
|
+
const t = e.reduce((n, i) => (i.filterProps.forEach((s) => {
|
|
549
|
+
n[s] = i;
|
|
550
|
+
}), n), {}), r = (n) => Object.keys(n).reduce((i, s) => t[s] ? de(i, t[s](n)) : i, {});
|
|
551
551
|
return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, i) => Object.assign(n, i.propTypes), {}) : {}, r.filterProps = e.reduce((n, i) => n.concat(i.filterProps), []), r;
|
|
552
552
|
}
|
|
553
553
|
function V(e) {
|
|
@@ -997,32 +997,32 @@ function hr(e, t) {
|
|
|
997
997
|
return typeof e == "function" ? e(t) : e;
|
|
998
998
|
}
|
|
999
999
|
function yr() {
|
|
1000
|
-
function e(r, n, i,
|
|
1001
|
-
const
|
|
1000
|
+
function e(r, n, i, s) {
|
|
1001
|
+
const a = {
|
|
1002
1002
|
[r]: n,
|
|
1003
1003
|
theme: i
|
|
1004
|
-
},
|
|
1005
|
-
if (!
|
|
1004
|
+
}, f = s[r];
|
|
1005
|
+
if (!f)
|
|
1006
1006
|
return {
|
|
1007
1007
|
[r]: n
|
|
1008
1008
|
};
|
|
1009
1009
|
const {
|
|
1010
|
-
cssProperty:
|
|
1011
|
-
themeKey:
|
|
1012
|
-
transform:
|
|
1013
|
-
style:
|
|
1014
|
-
} =
|
|
1010
|
+
cssProperty: d = r,
|
|
1011
|
+
themeKey: m,
|
|
1012
|
+
transform: b,
|
|
1013
|
+
style: y
|
|
1014
|
+
} = f;
|
|
1015
1015
|
if (n == null)
|
|
1016
1016
|
return null;
|
|
1017
|
-
if (
|
|
1017
|
+
if (m === "typography" && n === "inherit")
|
|
1018
1018
|
return {
|
|
1019
1019
|
[r]: n
|
|
1020
1020
|
};
|
|
1021
|
-
const
|
|
1022
|
-
return
|
|
1023
|
-
let
|
|
1024
|
-
return
|
|
1025
|
-
[
|
|
1021
|
+
const p = Ce(i, m) || {};
|
|
1022
|
+
return y ? y(a) : Y(a, n, (g) => {
|
|
1023
|
+
let l = be(p, b, g);
|
|
1024
|
+
return g === l && typeof g == "string" && (l = be(p, b, `${r}${g === "default" ? "" : lt(g)}`, g)), d === !1 ? l : {
|
|
1025
|
+
[d]: l
|
|
1026
1026
|
};
|
|
1027
1027
|
});
|
|
1028
1028
|
}
|
|
@@ -1030,46 +1030,46 @@ function yr() {
|
|
|
1030
1030
|
const {
|
|
1031
1031
|
sx: n,
|
|
1032
1032
|
theme: i = {},
|
|
1033
|
-
nested:
|
|
1033
|
+
nested: s
|
|
1034
1034
|
} = r || {};
|
|
1035
1035
|
if (!n)
|
|
1036
1036
|
return null;
|
|
1037
|
-
const
|
|
1038
|
-
function
|
|
1039
|
-
let
|
|
1040
|
-
if (typeof
|
|
1041
|
-
|
|
1042
|
-
else if (typeof
|
|
1043
|
-
return
|
|
1044
|
-
if (!
|
|
1037
|
+
const a = i.unstable_sxConfig ?? Oe;
|
|
1038
|
+
function f(d) {
|
|
1039
|
+
let m = d;
|
|
1040
|
+
if (typeof d == "function")
|
|
1041
|
+
m = d(i);
|
|
1042
|
+
else if (typeof d != "object")
|
|
1043
|
+
return d;
|
|
1044
|
+
if (!m)
|
|
1045
1045
|
return null;
|
|
1046
|
-
const
|
|
1047
|
-
let
|
|
1048
|
-
return Object.keys(
|
|
1049
|
-
const
|
|
1050
|
-
if (
|
|
1051
|
-
if (typeof
|
|
1052
|
-
if (
|
|
1053
|
-
|
|
1046
|
+
const b = st(i.breakpoints), y = Object.keys(b);
|
|
1047
|
+
let p = b;
|
|
1048
|
+
return Object.keys(m).forEach((u) => {
|
|
1049
|
+
const g = hr(m[u], i);
|
|
1050
|
+
if (g != null)
|
|
1051
|
+
if (typeof g == "object")
|
|
1052
|
+
if (a[u])
|
|
1053
|
+
p = de(p, e(u, g, i, a));
|
|
1054
1054
|
else {
|
|
1055
|
-
const
|
|
1055
|
+
const l = Y({
|
|
1056
1056
|
theme: i
|
|
1057
|
-
},
|
|
1058
|
-
[
|
|
1057
|
+
}, g, (S) => ({
|
|
1058
|
+
[u]: S
|
|
1059
1059
|
}));
|
|
1060
|
-
gr(
|
|
1061
|
-
sx:
|
|
1060
|
+
gr(l, g) ? p[u] = t({
|
|
1061
|
+
sx: g,
|
|
1062
1062
|
theme: i,
|
|
1063
1063
|
nested: !0
|
|
1064
|
-
}) :
|
|
1064
|
+
}) : p = de(p, l);
|
|
1065
1065
|
}
|
|
1066
1066
|
else
|
|
1067
|
-
|
|
1068
|
-
}), !
|
|
1069
|
-
"@layer sx": Ye(i, Pe(
|
|
1070
|
-
} : Ye(i, Pe(
|
|
1067
|
+
p = de(p, e(u, g, i, a));
|
|
1068
|
+
}), !s && i.modularCssLayers ? {
|
|
1069
|
+
"@layer sx": Ye(i, Pe(y, p))
|
|
1070
|
+
} : Ye(i, Pe(y, p));
|
|
1071
1071
|
}
|
|
1072
|
-
return Array.isArray(n) ? n.map(
|
|
1072
|
+
return Array.isArray(n) ? n.map(f) : f(n);
|
|
1073
1073
|
}
|
|
1074
1074
|
return t;
|
|
1075
1075
|
}
|
|
@@ -1092,11 +1092,11 @@ function Sr(e = {}, ...t) {
|
|
|
1092
1092
|
breakpoints: r = {},
|
|
1093
1093
|
palette: n = {},
|
|
1094
1094
|
spacing: i,
|
|
1095
|
-
shape:
|
|
1096
|
-
...
|
|
1097
|
-
} = e,
|
|
1098
|
-
let
|
|
1099
|
-
breakpoints:
|
|
1095
|
+
shape: s = {},
|
|
1096
|
+
...a
|
|
1097
|
+
} = e, f = xt(r), d = ut(i);
|
|
1098
|
+
let m = D({
|
|
1099
|
+
breakpoints: f,
|
|
1100
1100
|
direction: "ltr",
|
|
1101
1101
|
components: {},
|
|
1102
1102
|
// Inject component definitions.
|
|
@@ -1104,21 +1104,21 @@ function Sr(e = {}, ...t) {
|
|
|
1104
1104
|
mode: "light",
|
|
1105
1105
|
...n
|
|
1106
1106
|
},
|
|
1107
|
-
spacing:
|
|
1107
|
+
spacing: d,
|
|
1108
1108
|
shape: {
|
|
1109
1109
|
...kt,
|
|
1110
|
-
...
|
|
1110
|
+
...s
|
|
1111
1111
|
}
|
|
1112
|
-
},
|
|
1113
|
-
return
|
|
1112
|
+
}, a);
|
|
1113
|
+
return m = Ot(m), m.applyStyles = br, m = t.reduce((b, y) => D(b, y), m), m.unstable_sxConfig = {
|
|
1114
1114
|
...Oe,
|
|
1115
|
-
...
|
|
1116
|
-
},
|
|
1115
|
+
...a?.unstable_sxConfig
|
|
1116
|
+
}, m.unstable_sx = function(y) {
|
|
1117
1117
|
return ke({
|
|
1118
|
-
sx:
|
|
1118
|
+
sx: y,
|
|
1119
1119
|
theme: this
|
|
1120
1120
|
});
|
|
1121
|
-
},
|
|
1121
|
+
}, m;
|
|
1122
1122
|
}
|
|
1123
1123
|
function Cr(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
1124
1124
|
return Math.max(t, Math.min(e, r));
|
|
@@ -1148,7 +1148,7 @@ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
|
|
|
1148
1148
|
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : J(10, i));
|
|
1149
1149
|
} else
|
|
1150
1150
|
n = n.split(",");
|
|
1151
|
-
return n = n.map((
|
|
1151
|
+
return n = n.map((s) => parseFloat(s)), {
|
|
1152
1152
|
type: r,
|
|
1153
1153
|
values: n,
|
|
1154
1154
|
colorSpace: i
|
|
@@ -1172,18 +1172,18 @@ function _e(e) {
|
|
|
1172
1172
|
let {
|
|
1173
1173
|
values: n
|
|
1174
1174
|
} = e;
|
|
1175
|
-
return t.includes("rgb") ? n = n.map((i,
|
|
1175
|
+
return t.includes("rgb") ? n = n.map((i, s) => s < 3 ? parseInt(i, 10) : i) : t.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.includes("color") ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
|
|
1176
1176
|
}
|
|
1177
1177
|
function ft(e) {
|
|
1178
1178
|
e = H(e);
|
|
1179
1179
|
const {
|
|
1180
1180
|
values: t
|
|
1181
|
-
} = e, r = t[0], n = t[1] / 100, i = t[2] / 100,
|
|
1182
|
-
let
|
|
1183
|
-
const
|
|
1184
|
-
return e.type === "hsla" && (
|
|
1185
|
-
type:
|
|
1186
|
-
values:
|
|
1181
|
+
} = e, r = t[0], n = t[1] / 100, i = t[2] / 100, s = n * Math.min(i, 1 - i), a = (m, b = (m + r / 30) % 12) => i - s * Math.max(Math.min(b - 3, 9 - b, 1), -1);
|
|
1182
|
+
let f = "rgb";
|
|
1183
|
+
const d = [Math.round(a(0) * 255), Math.round(a(8) * 255), Math.round(a(4) * 255)];
|
|
1184
|
+
return e.type === "hsla" && (f += "a", d.push(t[3])), _e({
|
|
1185
|
+
type: f,
|
|
1186
|
+
values: d
|
|
1187
1187
|
});
|
|
1188
1188
|
}
|
|
1189
1189
|
function De(e) {
|
|
@@ -1259,13 +1259,13 @@ function wr(e = "") {
|
|
|
1259
1259
|
}
|
|
1260
1260
|
const Qe = (e, t, r, n = []) => {
|
|
1261
1261
|
let i = e;
|
|
1262
|
-
t.forEach((
|
|
1263
|
-
|
|
1262
|
+
t.forEach((s, a) => {
|
|
1263
|
+
a === t.length - 1 ? Array.isArray(i) ? i[Number(s)] = r : i && typeof i == "object" && (i[s] = r) : i && typeof i == "object" && (i[s] || (i[s] = n.includes(s) ? [] : {}), i = i[s]);
|
|
1264
1264
|
});
|
|
1265
1265
|
}, xr = (e, t, r) => {
|
|
1266
|
-
function n(i,
|
|
1267
|
-
Object.entries(i).forEach(([
|
|
1268
|
-
(!r || r && !r([...
|
|
1266
|
+
function n(i, s = [], a = []) {
|
|
1267
|
+
Object.entries(i).forEach(([f, d]) => {
|
|
1268
|
+
(!r || r && !r([...s, f])) && d != null && (typeof d == "object" && Object.keys(d).length > 0 ? n(d, [...s, f], Array.isArray(d) ? [...a, f] : a) : t([...s, f], d, a));
|
|
1269
1269
|
});
|
|
1270
1270
|
}
|
|
1271
1271
|
n(e);
|
|
@@ -1274,23 +1274,23 @@ function Be(e, t) {
|
|
|
1274
1274
|
const {
|
|
1275
1275
|
prefix: r,
|
|
1276
1276
|
shouldSkipGeneratingVar: n
|
|
1277
|
-
} = t || {}, i = {},
|
|
1277
|
+
} = t || {}, i = {}, s = {}, a = {};
|
|
1278
1278
|
return xr(
|
|
1279
1279
|
e,
|
|
1280
|
-
(
|
|
1281
|
-
if ((typeof
|
|
1282
|
-
const
|
|
1280
|
+
(f, d, m) => {
|
|
1281
|
+
if ((typeof d == "string" || typeof d == "number") && (!n || !n(f, d))) {
|
|
1282
|
+
const b = `--${r ? `${r}-` : ""}${f.join("-")}`, y = vr(f, d);
|
|
1283
1283
|
Object.assign(i, {
|
|
1284
|
-
[
|
|
1285
|
-
}), Qe(
|
|
1284
|
+
[b]: y
|
|
1285
|
+
}), Qe(s, f, `var(${b})`, m), Qe(a, f, `var(${b}, ${y})`, m);
|
|
1286
1286
|
}
|
|
1287
1287
|
},
|
|
1288
|
-
(
|
|
1288
|
+
(f) => f[0] === "vars"
|
|
1289
1289
|
// skip 'vars/*' paths
|
|
1290
1290
|
), {
|
|
1291
1291
|
css: i,
|
|
1292
|
-
vars:
|
|
1293
|
-
varsWithDefaults:
|
|
1292
|
+
vars: s,
|
|
1293
|
+
varsWithDefaults: a
|
|
1294
1294
|
};
|
|
1295
1295
|
}
|
|
1296
1296
|
function Ar(e, t = {}) {
|
|
@@ -1298,39 +1298,39 @@ function Ar(e, t = {}) {
|
|
|
1298
1298
|
getSelector: r = O,
|
|
1299
1299
|
disableCssColorScheme: n,
|
|
1300
1300
|
colorSchemeSelector: i,
|
|
1301
|
-
enableContrastVars:
|
|
1301
|
+
enableContrastVars: s
|
|
1302
1302
|
} = t, {
|
|
1303
|
-
colorSchemes:
|
|
1304
|
-
components:
|
|
1305
|
-
defaultColorScheme:
|
|
1306
|
-
...
|
|
1303
|
+
colorSchemes: a = {},
|
|
1304
|
+
components: f,
|
|
1305
|
+
defaultColorScheme: d = "light",
|
|
1306
|
+
...m
|
|
1307
1307
|
} = e, {
|
|
1308
|
-
vars:
|
|
1309
|
-
css:
|
|
1310
|
-
varsWithDefaults:
|
|
1311
|
-
} = Be(
|
|
1312
|
-
let
|
|
1313
|
-
const
|
|
1314
|
-
[
|
|
1308
|
+
vars: b,
|
|
1309
|
+
css: y,
|
|
1310
|
+
varsWithDefaults: p
|
|
1311
|
+
} = Be(m, t);
|
|
1312
|
+
let u = p;
|
|
1313
|
+
const g = {}, {
|
|
1314
|
+
[d]: l,
|
|
1315
1315
|
...S
|
|
1316
|
-
} =
|
|
1316
|
+
} = a;
|
|
1317
1317
|
if (Object.entries(S || {}).forEach(([$, P]) => {
|
|
1318
1318
|
const {
|
|
1319
1319
|
vars: E,
|
|
1320
1320
|
css: Q,
|
|
1321
1321
|
varsWithDefaults: se
|
|
1322
1322
|
} = Be(P, t);
|
|
1323
|
-
|
|
1323
|
+
u = D(u, se), g[$] = {
|
|
1324
1324
|
css: Q,
|
|
1325
1325
|
vars: E
|
|
1326
1326
|
};
|
|
1327
|
-
}),
|
|
1327
|
+
}), l) {
|
|
1328
1328
|
const {
|
|
1329
1329
|
css: $,
|
|
1330
1330
|
vars: P,
|
|
1331
1331
|
varsWithDefaults: E
|
|
1332
|
-
} = Be(
|
|
1333
|
-
|
|
1332
|
+
} = Be(l, t);
|
|
1333
|
+
u = D(u, E), g[d] = {
|
|
1334
1334
|
css: $,
|
|
1335
1335
|
vars: P
|
|
1336
1336
|
};
|
|
@@ -1340,7 +1340,7 @@ function Ar(e, t = {}) {
|
|
|
1340
1340
|
if (i === "class" && (E = ".%s"), i === "data" && (E = "[data-%s]"), i?.startsWith("data-") && !i.includes("%s") && (E = `[${i}="%s"]`), $) {
|
|
1341
1341
|
if (E === "media")
|
|
1342
1342
|
return e.defaultColorScheme === $ ? ":root" : {
|
|
1343
|
-
[`@media (prefers-color-scheme: ${
|
|
1343
|
+
[`@media (prefers-color-scheme: ${a[$]?.palette?.mode || $})`]: {
|
|
1344
1344
|
":root": P
|
|
1345
1345
|
}
|
|
1346
1346
|
};
|
|
@@ -1350,12 +1350,12 @@ function Ar(e, t = {}) {
|
|
|
1350
1350
|
return ":root";
|
|
1351
1351
|
}
|
|
1352
1352
|
return {
|
|
1353
|
-
vars:
|
|
1353
|
+
vars: u,
|
|
1354
1354
|
generateThemeVars: () => {
|
|
1355
1355
|
let $ = {
|
|
1356
|
-
...
|
|
1356
|
+
...b
|
|
1357
1357
|
};
|
|
1358
|
-
return Object.entries(
|
|
1358
|
+
return Object.entries(g).forEach(([, {
|
|
1359
1359
|
vars: P
|
|
1360
1360
|
}]) => {
|
|
1361
1361
|
$ = D($, P);
|
|
@@ -1371,16 +1371,16 @@ function Ar(e, t = {}) {
|
|
|
1371
1371
|
} : W);
|
|
1372
1372
|
}
|
|
1373
1373
|
E(r(void 0, {
|
|
1374
|
-
...
|
|
1375
|
-
}),
|
|
1374
|
+
...y
|
|
1375
|
+
}), y);
|
|
1376
1376
|
const {
|
|
1377
1377
|
[P]: Q,
|
|
1378
1378
|
...se
|
|
1379
|
-
} =
|
|
1379
|
+
} = g;
|
|
1380
1380
|
if (Q) {
|
|
1381
1381
|
const {
|
|
1382
1382
|
css: W
|
|
1383
|
-
} = Q, j =
|
|
1383
|
+
} = Q, j = a[P]?.palette?.mode, M = !n && j ? {
|
|
1384
1384
|
colorScheme: j,
|
|
1385
1385
|
...W
|
|
1386
1386
|
} : {
|
|
@@ -1393,7 +1393,7 @@ function Ar(e, t = {}) {
|
|
|
1393
1393
|
return Object.entries(se).forEach(([W, {
|
|
1394
1394
|
css: j
|
|
1395
1395
|
}]) => {
|
|
1396
|
-
const M =
|
|
1396
|
+
const M = a[W]?.palette?.mode, o = !n && M ? {
|
|
1397
1397
|
colorScheme: M,
|
|
1398
1398
|
...j
|
|
1399
1399
|
} : {
|
|
@@ -1402,7 +1402,7 @@ function Ar(e, t = {}) {
|
|
|
1402
1402
|
E(r(W, {
|
|
1403
1403
|
...o
|
|
1404
1404
|
}), o);
|
|
1405
|
-
}),
|
|
1405
|
+
}), s && $.push({
|
|
1406
1406
|
":root": {
|
|
1407
1407
|
// use double underscore to indicate that these are private variables
|
|
1408
1408
|
"--__l-threshold": "0.7",
|
|
@@ -1490,12 +1490,12 @@ function gt() {
|
|
|
1490
1490
|
}
|
|
1491
1491
|
const Me = gt();
|
|
1492
1492
|
function Xe(e, t, r, n) {
|
|
1493
|
-
const i = n.light || n,
|
|
1494
|
-
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = Re(e.main, i) : t === "dark" && (e.dark = Ne(e.main,
|
|
1493
|
+
const i = n.light || n, s = n.dark || n * 1.5;
|
|
1494
|
+
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = Re(e.main, i) : t === "dark" && (e.dark = Ne(e.main, s)));
|
|
1495
1495
|
}
|
|
1496
1496
|
function Je(e, t, r, n, i) {
|
|
1497
|
-
const
|
|
1498
|
-
t[r] || (t.hasOwnProperty(n) ? t[r] = t[n] : r === "light" ? t.light = `color-mix(in ${e}, ${t.main}, #fff ${(
|
|
1497
|
+
const s = i.light || i, a = i.dark || i * 1.5;
|
|
1498
|
+
t[r] || (t.hasOwnProperty(n) ? t[r] = t[n] : r === "light" ? t.light = `color-mix(in ${e}, ${t.main}, #fff ${(s * 100).toFixed(0)}%)` : r === "dark" && (t.dark = `color-mix(in ${e}, ${t.main}, #000 ${(a * 100).toFixed(0)}%)`));
|
|
1499
1499
|
}
|
|
1500
1500
|
function kr(e = "light") {
|
|
1501
1501
|
return e === "dark" ? {
|
|
@@ -1573,9 +1573,9 @@ function We(e) {
|
|
|
1573
1573
|
contrastThreshold: r = 3,
|
|
1574
1574
|
tonalOffset: n = 0.2,
|
|
1575
1575
|
colorSpace: i,
|
|
1576
|
-
...
|
|
1577
|
-
} = e,
|
|
1578
|
-
function
|
|
1576
|
+
...s
|
|
1577
|
+
} = e, a = e.primary || kr(t), f = e.secondary || _r(t), d = e.error || Nr(t), m = e.info || Rr(t), b = e.success || Br(t), y = e.warning || Ir(t);
|
|
1578
|
+
function p(S) {
|
|
1579
1579
|
if (i)
|
|
1580
1580
|
return Pr(S);
|
|
1581
1581
|
const O = qe(S, Me.text.primary) >= r ? Me.text.primary : mt.text.primary;
|
|
@@ -1586,7 +1586,7 @@ function We(e) {
|
|
|
1586
1586
|
}
|
|
1587
1587
|
return O;
|
|
1588
1588
|
}
|
|
1589
|
-
const
|
|
1589
|
+
const u = ({
|
|
1590
1590
|
color: S,
|
|
1591
1591
|
name: O,
|
|
1592
1592
|
mainShade: k = 500,
|
|
@@ -1613,10 +1613,10 @@ const theme1 = createTheme({ palette: {
|
|
|
1613
1613
|
const theme2 = createTheme({ palette: {
|
|
1614
1614
|
primary: { main: green[500] },
|
|
1615
1615
|
} });` : J(12, O ? ` (${O})` : "", JSON.stringify(S.main)));
|
|
1616
|
-
return i ? (Je(i, S, "light", L, n), Je(i, S, "dark", $, n)) : (Xe(S, "light", L, n), Xe(S, "dark", $, n)), S.contrastText || (S.contrastText =
|
|
1616
|
+
return i ? (Je(i, S, "light", L, n), Je(i, S, "dark", $, n)) : (Xe(S, "light", L, n), Xe(S, "dark", $, n)), S.contrastText || (S.contrastText = p(S.main)), S;
|
|
1617
1617
|
};
|
|
1618
|
-
let
|
|
1619
|
-
return t === "light" ?
|
|
1618
|
+
let g;
|
|
1619
|
+
return t === "light" ? g = pt() : t === "dark" && (g = gt()), process.env.NODE_ENV !== "production" && (g || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), D({
|
|
1620
1620
|
// A collection of common colors.
|
|
1621
1621
|
common: {
|
|
1622
1622
|
...pe
|
|
@@ -1625,36 +1625,36 @@ const theme2 = createTheme({ palette: {
|
|
|
1625
1625
|
// The palette mode, can be light or dark.
|
|
1626
1626
|
mode: t,
|
|
1627
1627
|
// The colors used to represent primary interface elements for a user.
|
|
1628
|
-
primary:
|
|
1629
|
-
color:
|
|
1628
|
+
primary: u({
|
|
1629
|
+
color: a,
|
|
1630
1630
|
name: "primary"
|
|
1631
1631
|
}),
|
|
1632
1632
|
// The colors used to represent secondary interface elements for a user.
|
|
1633
|
-
secondary:
|
|
1634
|
-
color:
|
|
1633
|
+
secondary: u({
|
|
1634
|
+
color: f,
|
|
1635
1635
|
name: "secondary",
|
|
1636
1636
|
mainShade: "A400",
|
|
1637
1637
|
lightShade: "A200",
|
|
1638
1638
|
darkShade: "A700"
|
|
1639
1639
|
}),
|
|
1640
1640
|
// The colors used to represent interface elements that the user should be made aware of.
|
|
1641
|
-
error:
|
|
1642
|
-
color:
|
|
1641
|
+
error: u({
|
|
1642
|
+
color: d,
|
|
1643
1643
|
name: "error"
|
|
1644
1644
|
}),
|
|
1645
1645
|
// The colors used to represent potentially dangerous actions or important messages.
|
|
1646
|
-
warning:
|
|
1647
|
-
color:
|
|
1646
|
+
warning: u({
|
|
1647
|
+
color: y,
|
|
1648
1648
|
name: "warning"
|
|
1649
1649
|
}),
|
|
1650
1650
|
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
1651
|
-
info:
|
|
1652
|
-
color:
|
|
1651
|
+
info: u({
|
|
1652
|
+
color: m,
|
|
1653
1653
|
name: "info"
|
|
1654
1654
|
}),
|
|
1655
1655
|
// The colors used to indicate the successful completion of an action that user triggered.
|
|
1656
|
-
success:
|
|
1657
|
-
color:
|
|
1656
|
+
success: u({
|
|
1657
|
+
color: b,
|
|
1658
1658
|
name: "success"
|
|
1659
1659
|
}),
|
|
1660
1660
|
// The grey colors.
|
|
@@ -1663,22 +1663,22 @@ const theme2 = createTheme({ palette: {
|
|
|
1663
1663
|
// the background and the text.
|
|
1664
1664
|
contrastThreshold: r,
|
|
1665
1665
|
// Takes a background color and returns the text color that maximizes the contrast.
|
|
1666
|
-
getContrastText:
|
|
1666
|
+
getContrastText: p,
|
|
1667
1667
|
// Generate a rich color object.
|
|
1668
|
-
augmentColor:
|
|
1668
|
+
augmentColor: u,
|
|
1669
1669
|
// Used by the functions below to shift a color's luminance by approximately
|
|
1670
1670
|
// two indexes within its tonal palette.
|
|
1671
1671
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
1672
1672
|
tonalOffset: n,
|
|
1673
1673
|
// The light and dark mode object.
|
|
1674
|
-
...
|
|
1675
|
-
},
|
|
1674
|
+
...g
|
|
1675
|
+
}, s);
|
|
1676
1676
|
}
|
|
1677
1677
|
function Dr(e) {
|
|
1678
1678
|
const t = {};
|
|
1679
1679
|
return Object.entries(e).forEach((n) => {
|
|
1680
|
-
const [i,
|
|
1681
|
-
typeof
|
|
1680
|
+
const [i, s] = n;
|
|
1681
|
+
typeof s == "object" && (t[i] = `${s.fontStyle ? `${s.fontStyle} ` : ""}${s.fontVariant ? `${s.fontVariant} ` : ""}${s.fontWeight ? `${s.fontWeight} ` : ""}${s.fontStretch ? `${s.fontStretch} ` : ""}${s.fontSize || ""}${s.lineHeight ? `/${s.lineHeight} ` : ""}${s.fontFamily || ""}`);
|
|
1682
1682
|
}), t;
|
|
1683
1683
|
}
|
|
1684
1684
|
function Mr(e, t) {
|
|
@@ -1710,22 +1710,22 @@ function Lr(e, t) {
|
|
|
1710
1710
|
fontSize: n = 14,
|
|
1711
1711
|
// px
|
|
1712
1712
|
fontWeightLight: i = 300,
|
|
1713
|
-
fontWeightRegular:
|
|
1714
|
-
fontWeightMedium:
|
|
1715
|
-
fontWeightBold:
|
|
1713
|
+
fontWeightRegular: s = 400,
|
|
1714
|
+
fontWeightMedium: a = 500,
|
|
1715
|
+
fontWeightBold: f = 700,
|
|
1716
1716
|
// Tell MUI what's the font-size on the html element.
|
|
1717
1717
|
// 16px is the default font-size used by browsers.
|
|
1718
|
-
htmlFontSize:
|
|
1718
|
+
htmlFontSize: d = 16,
|
|
1719
1719
|
// Apply the CSS properties to all the variants.
|
|
1720
|
-
allVariants:
|
|
1721
|
-
pxToRem:
|
|
1722
|
-
...
|
|
1720
|
+
allVariants: m,
|
|
1721
|
+
pxToRem: b,
|
|
1722
|
+
...y
|
|
1723
1723
|
} = typeof t == "function" ? t(e) : t;
|
|
1724
|
-
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof
|
|
1725
|
-
const
|
|
1724
|
+
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof d != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
1725
|
+
const p = n / 14, u = b || ((S) => `${S / d * p}rem`), g = (S, O, k, L, $) => ({
|
|
1726
1726
|
fontFamily: r,
|
|
1727
1727
|
fontWeight: S,
|
|
1728
|
-
fontSize:
|
|
1728
|
+
fontSize: u(O),
|
|
1729
1729
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
1730
1730
|
lineHeight: k,
|
|
1731
1731
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
@@ -1734,21 +1734,21 @@ function Lr(e, t) {
|
|
|
1734
1734
|
letterSpacing: `${Fr(L / O)}em`
|
|
1735
1735
|
} : {},
|
|
1736
1736
|
...$,
|
|
1737
|
-
...
|
|
1738
|
-
}),
|
|
1739
|
-
h1:
|
|
1740
|
-
h2:
|
|
1741
|
-
h3:
|
|
1742
|
-
h4:
|
|
1743
|
-
h5:
|
|
1744
|
-
h6:
|
|
1745
|
-
subtitle1:
|
|
1746
|
-
subtitle2:
|
|
1747
|
-
body1:
|
|
1748
|
-
body2:
|
|
1749
|
-
button:
|
|
1750
|
-
caption:
|
|
1751
|
-
overline:
|
|
1737
|
+
...m
|
|
1738
|
+
}), l = {
|
|
1739
|
+
h1: g(i, 96, 1.167, -1.5),
|
|
1740
|
+
h2: g(i, 60, 1.2, -0.5),
|
|
1741
|
+
h3: g(s, 48, 1.167, 0),
|
|
1742
|
+
h4: g(s, 34, 1.235, 0.25),
|
|
1743
|
+
h5: g(s, 24, 1.334, 0),
|
|
1744
|
+
h6: g(a, 20, 1.6, 0.15),
|
|
1745
|
+
subtitle1: g(s, 16, 1.75, 0.15),
|
|
1746
|
+
subtitle2: g(a, 14, 1.57, 0.1),
|
|
1747
|
+
body1: g(s, 16, 1.5, 0.15),
|
|
1748
|
+
body2: g(s, 14, 1.43, 0.15),
|
|
1749
|
+
button: g(a, 14, 1.75, 0.4, Ze),
|
|
1750
|
+
caption: g(s, 12, 1.66, 0.4),
|
|
1751
|
+
overline: g(s, 12, 2.66, 1, Ze),
|
|
1752
1752
|
// 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.
|
|
1753
1753
|
inherit: {
|
|
1754
1754
|
fontFamily: "inherit",
|
|
@@ -1759,16 +1759,16 @@ function Lr(e, t) {
|
|
|
1759
1759
|
}
|
|
1760
1760
|
};
|
|
1761
1761
|
return D({
|
|
1762
|
-
htmlFontSize:
|
|
1763
|
-
pxToRem:
|
|
1762
|
+
htmlFontSize: d,
|
|
1763
|
+
pxToRem: u,
|
|
1764
1764
|
fontFamily: r,
|
|
1765
1765
|
fontSize: n,
|
|
1766
1766
|
fontWeightLight: i,
|
|
1767
|
-
fontWeightRegular:
|
|
1768
|
-
fontWeightMedium:
|
|
1769
|
-
fontWeightBold:
|
|
1770
|
-
...
|
|
1771
|
-
},
|
|
1767
|
+
fontWeightRegular: s,
|
|
1768
|
+
fontWeightMedium: a,
|
|
1769
|
+
fontWeightBold: f,
|
|
1770
|
+
...l
|
|
1771
|
+
}, y, {
|
|
1772
1772
|
clone: !1
|
|
1773
1773
|
// No need to clone deep
|
|
1774
1774
|
});
|
|
@@ -1819,19 +1819,19 @@ function Kr(e) {
|
|
|
1819
1819
|
};
|
|
1820
1820
|
return {
|
|
1821
1821
|
getAutoHeightDuration: Yr,
|
|
1822
|
-
create: (i = ["all"],
|
|
1822
|
+
create: (i = ["all"], s = {}) => {
|
|
1823
1823
|
const {
|
|
1824
|
-
duration:
|
|
1825
|
-
easing:
|
|
1826
|
-
delay:
|
|
1827
|
-
...
|
|
1828
|
-
} =
|
|
1824
|
+
duration: a = r.standard,
|
|
1825
|
+
easing: f = t.easeInOut,
|
|
1826
|
+
delay: d = 0,
|
|
1827
|
+
...m
|
|
1828
|
+
} = s;
|
|
1829
1829
|
if (process.env.NODE_ENV !== "production") {
|
|
1830
|
-
const
|
|
1831
|
-
!
|
|
1832
|
-
`)), Object.keys(
|
|
1830
|
+
const b = (p) => typeof p == "string", y = (p) => !Number.isNaN(parseFloat(p));
|
|
1831
|
+
!b(i) && !Array.isArray(i) && console.error('MUI: Argument "props" must be a string or Array.'), !y(a) && !b(a) && console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`), b(f) || console.error('MUI: Argument "easing" must be a string.'), !y(d) && !b(d) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof s != "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(`
|
|
1832
|
+
`)), Object.keys(m).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(m).join(",")}].`);
|
|
1833
1833
|
}
|
|
1834
|
-
return (Array.isArray(i) ? i : [i]).map((
|
|
1834
|
+
return (Array.isArray(i) ? i : [i]).map((b) => `${b} ${typeof a == "string" ? a : tt(a)} ${f} ${typeof d == "string" ? d : tt(d)}`).join(",");
|
|
1835
1835
|
},
|
|
1836
1836
|
...e,
|
|
1837
1837
|
easing: t,
|
|
@@ -1857,11 +1857,11 @@ function ht(e = {}) {
|
|
|
1857
1857
|
};
|
|
1858
1858
|
function r(n) {
|
|
1859
1859
|
const i = Object.entries(n);
|
|
1860
|
-
for (let
|
|
1861
|
-
const [
|
|
1862
|
-
!qr(
|
|
1863
|
-
...
|
|
1864
|
-
}, r(n[
|
|
1860
|
+
for (let s = 0; s < i.length; s++) {
|
|
1861
|
+
const [a, f] = i[s];
|
|
1862
|
+
!qr(f) || a.startsWith("unstable_") ? delete n[a] : K(f) && (n[a] = {
|
|
1863
|
+
...f
|
|
1864
|
+
}, r(n[a]));
|
|
1865
1865
|
}
|
|
1866
1866
|
}
|
|
1867
1867
|
return r(t), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
@@ -1908,38 +1908,38 @@ function Fe(e = {}, ...t) {
|
|
|
1908
1908
|
breakpoints: r,
|
|
1909
1909
|
mixins: n = {},
|
|
1910
1910
|
spacing: i,
|
|
1911
|
-
palette:
|
|
1912
|
-
transitions:
|
|
1913
|
-
typography:
|
|
1914
|
-
shape:
|
|
1915
|
-
colorSpace:
|
|
1916
|
-
...
|
|
1911
|
+
palette: s = {},
|
|
1912
|
+
transitions: a = {},
|
|
1913
|
+
typography: f = {},
|
|
1914
|
+
shape: d,
|
|
1915
|
+
colorSpace: m,
|
|
1916
|
+
...b
|
|
1917
1917
|
} = e;
|
|
1918
1918
|
if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
|
|
1919
1919
|
// `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.
|
|
1920
1920
|
e.generateThemeVars === void 0)
|
|
1921
1921
|
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." : J(20));
|
|
1922
|
-
const
|
|
1923
|
-
...
|
|
1924
|
-
colorSpace:
|
|
1925
|
-
}),
|
|
1926
|
-
let
|
|
1927
|
-
mixins: Mr(
|
|
1928
|
-
palette:
|
|
1922
|
+
const y = We({
|
|
1923
|
+
...s,
|
|
1924
|
+
colorSpace: m
|
|
1925
|
+
}), p = Sr(e);
|
|
1926
|
+
let u = D(p, {
|
|
1927
|
+
mixins: Mr(p.breakpoints, n),
|
|
1928
|
+
palette: y,
|
|
1929
1929
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
1930
1930
|
shadows: jr.slice(),
|
|
1931
|
-
typography: Lr(
|
|
1932
|
-
transitions: Kr(
|
|
1931
|
+
typography: Lr(y, f),
|
|
1932
|
+
transitions: Kr(a),
|
|
1933
1933
|
zIndex: {
|
|
1934
1934
|
...Hr
|
|
1935
1935
|
}
|
|
1936
1936
|
});
|
|
1937
|
-
if (
|
|
1938
|
-
const
|
|
1937
|
+
if (u = D(u, b), u = t.reduce((g, l) => D(g, l), u), process.env.NODE_ENV !== "production") {
|
|
1938
|
+
const g = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], l = (S, O) => {
|
|
1939
1939
|
let k;
|
|
1940
1940
|
for (k in S) {
|
|
1941
1941
|
const L = S[k];
|
|
1942
|
-
if (
|
|
1942
|
+
if (g.includes(k) && Object.keys(L).length > 0) {
|
|
1943
1943
|
if (process.env.NODE_ENV !== "production") {
|
|
1944
1944
|
const $ = St("", k);
|
|
1945
1945
|
console.error([`MUI: The \`${O}\` component increases the CSS specificity of the \`${k}\` internal state.`, "You can not override it like this: ", JSON.stringify(S, null, 2), "", `Instead, you need to use the '&.${$}' syntax:`, JSON.stringify({
|
|
@@ -1953,20 +1953,20 @@ function Fe(e = {}, ...t) {
|
|
|
1953
1953
|
}
|
|
1954
1954
|
}
|
|
1955
1955
|
};
|
|
1956
|
-
Object.keys(
|
|
1957
|
-
const O =
|
|
1958
|
-
O && S.startsWith("Mui") &&
|
|
1956
|
+
Object.keys(u.components).forEach((S) => {
|
|
1957
|
+
const O = u.components[S].styleOverrides;
|
|
1958
|
+
O && S.startsWith("Mui") && l(O, S);
|
|
1959
1959
|
});
|
|
1960
1960
|
}
|
|
1961
|
-
return
|
|
1961
|
+
return u.unstable_sxConfig = {
|
|
1962
1962
|
...Oe,
|
|
1963
|
-
...
|
|
1964
|
-
},
|
|
1963
|
+
...b?.unstable_sxConfig
|
|
1964
|
+
}, u.unstable_sx = function(l) {
|
|
1965
1965
|
return ke({
|
|
1966
|
-
sx:
|
|
1966
|
+
sx: l,
|
|
1967
1967
|
theme: this
|
|
1968
1968
|
});
|
|
1969
|
-
},
|
|
1969
|
+
}, u.toRuntimeSource = ht, Xr(u), u;
|
|
1970
1970
|
}
|
|
1971
1971
|
function Jr(e) {
|
|
1972
1972
|
let t;
|
|
@@ -1998,19 +1998,19 @@ function en(e) {
|
|
|
1998
1998
|
opacity: r,
|
|
1999
1999
|
overlays: n,
|
|
2000
2000
|
colorSpace: i,
|
|
2001
|
-
...
|
|
2002
|
-
} = e,
|
|
2001
|
+
...s
|
|
2002
|
+
} = e, a = We({
|
|
2003
2003
|
...t,
|
|
2004
2004
|
colorSpace: i
|
|
2005
2005
|
});
|
|
2006
2006
|
return {
|
|
2007
|
-
palette:
|
|
2007
|
+
palette: a,
|
|
2008
2008
|
opacity: {
|
|
2009
|
-
...yt(
|
|
2009
|
+
...yt(a.mode),
|
|
2010
2010
|
...r
|
|
2011
2011
|
},
|
|
2012
|
-
overlays: n || bt(
|
|
2013
|
-
...
|
|
2012
|
+
overlays: n || bt(a.mode),
|
|
2013
|
+
...s
|
|
2014
2014
|
};
|
|
2015
2015
|
}
|
|
2016
2016
|
function tn(e) {
|
|
@@ -2019,38 +2019,38 @@ function tn(e) {
|
|
|
2019
2019
|
}
|
|
2020
2020
|
const rn = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], nn = (e) => (t, r) => {
|
|
2021
2021
|
const n = e.rootSelector || ":root", i = e.colorSchemeSelector;
|
|
2022
|
-
let
|
|
2023
|
-
if (i === "class" && (
|
|
2022
|
+
let s = i;
|
|
2023
|
+
if (i === "class" && (s = ".%s"), i === "data" && (s = "[data-%s]"), i?.startsWith("data-") && !i.includes("%s") && (s = `[${i}="%s"]`), e.defaultColorScheme === t) {
|
|
2024
2024
|
if (t === "dark") {
|
|
2025
|
-
const
|
|
2026
|
-
return rn(e.cssVarPrefix).forEach((
|
|
2027
|
-
|
|
2028
|
-
}),
|
|
2025
|
+
const a = {};
|
|
2026
|
+
return rn(e.cssVarPrefix).forEach((f) => {
|
|
2027
|
+
a[f] = r[f], delete r[f];
|
|
2028
|
+
}), s === "media" ? {
|
|
2029
2029
|
[n]: r,
|
|
2030
2030
|
"@media (prefers-color-scheme: dark)": {
|
|
2031
|
-
[n]:
|
|
2031
|
+
[n]: a
|
|
2032
2032
|
}
|
|
2033
|
-
} :
|
|
2034
|
-
[
|
|
2035
|
-
[`${n}, ${
|
|
2033
|
+
} : s ? {
|
|
2034
|
+
[s.replace("%s", t)]: a,
|
|
2035
|
+
[`${n}, ${s.replace("%s", t)}`]: r
|
|
2036
2036
|
} : {
|
|
2037
2037
|
[n]: {
|
|
2038
2038
|
...r,
|
|
2039
|
-
...
|
|
2039
|
+
...a
|
|
2040
2040
|
}
|
|
2041
2041
|
};
|
|
2042
2042
|
}
|
|
2043
|
-
if (
|
|
2044
|
-
return `${n}, ${
|
|
2043
|
+
if (s && s !== "media")
|
|
2044
|
+
return `${n}, ${s.replace("%s", String(t))}`;
|
|
2045
2045
|
} else if (t) {
|
|
2046
|
-
if (
|
|
2046
|
+
if (s === "media")
|
|
2047
2047
|
return {
|
|
2048
2048
|
[`@media (prefers-color-scheme: ${String(t)})`]: {
|
|
2049
2049
|
[n]: r
|
|
2050
2050
|
}
|
|
2051
2051
|
};
|
|
2052
|
-
if (
|
|
2053
|
-
return
|
|
2052
|
+
if (s)
|
|
2053
|
+
return s.replace("%s", String(t));
|
|
2054
2054
|
}
|
|
2055
2055
|
return n;
|
|
2056
2056
|
};
|
|
@@ -2082,12 +2082,12 @@ function Ie(e, t, r, n, i) {
|
|
|
2082
2082
|
if (!r)
|
|
2083
2083
|
return;
|
|
2084
2084
|
r = r === !0 ? {} : r;
|
|
2085
|
-
const
|
|
2085
|
+
const s = i === "dark" ? "dark" : "light";
|
|
2086
2086
|
if (!n) {
|
|
2087
2087
|
t[i] = en({
|
|
2088
2088
|
...r,
|
|
2089
2089
|
palette: {
|
|
2090
|
-
mode:
|
|
2090
|
+
mode: s,
|
|
2091
2091
|
...r?.palette
|
|
2092
2092
|
},
|
|
2093
2093
|
colorSpace: e
|
|
@@ -2095,25 +2095,25 @@ function Ie(e, t, r, n, i) {
|
|
|
2095
2095
|
return;
|
|
2096
2096
|
}
|
|
2097
2097
|
const {
|
|
2098
|
-
palette:
|
|
2099
|
-
...
|
|
2098
|
+
palette: a,
|
|
2099
|
+
...f
|
|
2100
2100
|
} = Fe({
|
|
2101
2101
|
...n,
|
|
2102
2102
|
palette: {
|
|
2103
|
-
mode:
|
|
2103
|
+
mode: s,
|
|
2104
2104
|
...r?.palette
|
|
2105
2105
|
},
|
|
2106
2106
|
colorSpace: e
|
|
2107
2107
|
});
|
|
2108
2108
|
return t[i] = {
|
|
2109
2109
|
...r,
|
|
2110
|
-
palette:
|
|
2110
|
+
palette: a,
|
|
2111
2111
|
opacity: {
|
|
2112
|
-
...yt(
|
|
2112
|
+
...yt(s),
|
|
2113
2113
|
...r?.opacity
|
|
2114
2114
|
},
|
|
2115
|
-
overlays: r?.overlays || bt(
|
|
2116
|
-
},
|
|
2115
|
+
overlays: r?.overlays || bt(s)
|
|
2116
|
+
}, f;
|
|
2117
2117
|
}
|
|
2118
2118
|
function ln(e = {}, ...t) {
|
|
2119
2119
|
const {
|
|
@@ -2122,48 +2122,48 @@ function ln(e = {}, ...t) {
|
|
|
2122
2122
|
},
|
|
2123
2123
|
defaultColorScheme: n,
|
|
2124
2124
|
disableCssColorScheme: i = !1,
|
|
2125
|
-
cssVarPrefix:
|
|
2126
|
-
nativeColor:
|
|
2127
|
-
shouldSkipGeneratingVar:
|
|
2128
|
-
colorSchemeSelector:
|
|
2129
|
-
rootSelector:
|
|
2130
|
-
...
|
|
2131
|
-
} = e,
|
|
2132
|
-
[
|
|
2133
|
-
light:
|
|
2125
|
+
cssVarPrefix: s = "mui",
|
|
2126
|
+
nativeColor: a = !1,
|
|
2127
|
+
shouldSkipGeneratingVar: f = tn,
|
|
2128
|
+
colorSchemeSelector: d = r.light && r.dark ? "media" : void 0,
|
|
2129
|
+
rootSelector: m = ":root",
|
|
2130
|
+
...b
|
|
2131
|
+
} = e, y = Object.keys(r)[0], p = n || (r.light && y !== "light" ? "light" : y), u = sn(s), {
|
|
2132
|
+
[p]: g,
|
|
2133
|
+
light: l,
|
|
2134
2134
|
dark: S,
|
|
2135
2135
|
...O
|
|
2136
2136
|
} = r, k = {
|
|
2137
2137
|
...O
|
|
2138
2138
|
};
|
|
2139
|
-
let L =
|
|
2140
|
-
if ((
|
|
2141
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${
|
|
2139
|
+
let L = g;
|
|
2140
|
+
if ((p === "dark" && !("dark" in r) || p === "light" && !("light" in r)) && (L = !0), !L)
|
|
2141
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${p}\` option is either missing or invalid.` : J(21, p));
|
|
2142
2142
|
let $;
|
|
2143
|
-
|
|
2144
|
-
const P = Ie($, k, L,
|
|
2145
|
-
|
|
2143
|
+
a && ($ = "oklch");
|
|
2144
|
+
const P = Ie($, k, L, b, p);
|
|
2145
|
+
l && !k.light && Ie($, k, l, void 0, "light"), S && !k.dark && Ie($, k, S, void 0, "dark");
|
|
2146
2146
|
let E = {
|
|
2147
|
-
defaultColorScheme:
|
|
2147
|
+
defaultColorScheme: p,
|
|
2148
2148
|
...P,
|
|
2149
|
-
cssVarPrefix:
|
|
2150
|
-
colorSchemeSelector:
|
|
2151
|
-
rootSelector:
|
|
2152
|
-
getCssVar:
|
|
2149
|
+
cssVarPrefix: s,
|
|
2150
|
+
colorSchemeSelector: d,
|
|
2151
|
+
rootSelector: m,
|
|
2152
|
+
getCssVar: u,
|
|
2153
2153
|
colorSchemes: k,
|
|
2154
2154
|
font: {
|
|
2155
2155
|
...Dr(P.typography),
|
|
2156
2156
|
...P.font
|
|
2157
2157
|
},
|
|
2158
|
-
spacing: an(
|
|
2158
|
+
spacing: an(b.spacing)
|
|
2159
2159
|
};
|
|
2160
2160
|
Object.keys(E.colorSchemes).forEach((M) => {
|
|
2161
2161
|
const o = E.colorSchemes[M].palette, C = (A) => {
|
|
2162
2162
|
const I = A.split("-"), Z = I[1], ee = I[2];
|
|
2163
|
-
return
|
|
2163
|
+
return u(A, o[Z][ee]);
|
|
2164
2164
|
};
|
|
2165
2165
|
o.mode === "light" && (c(o.common, "background", "#fff"), c(o.common, "onBackground", "#000")), o.mode === "dark" && (c(o.common, "background", "#000"), c(o.common, "onBackground", "#fff"));
|
|
2166
|
-
function
|
|
2166
|
+
function h(A, I, Z) {
|
|
2167
2167
|
if ($) {
|
|
2168
2168
|
let ee;
|
|
2169
2169
|
return A === X && (ee = `transparent ${((1 - Z) * 100).toFixed(0)}%`), A === T && (ee = `#000 ${(Z * 100).toFixed(0)}%`), A === w && (ee = `#fff ${(Z * 100).toFixed(0)}%`), `color-mix(in ${$}, ${I}, ${ee})`;
|
|
@@ -2171,14 +2171,14 @@ function ln(e = {}, ...t) {
|
|
|
2171
2171
|
return A(I, Z);
|
|
2172
2172
|
}
|
|
2173
2173
|
if (on(o, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), o.mode === "light") {
|
|
2174
|
-
c(o.Alert, "errorColor",
|
|
2175
|
-
const A = $ ?
|
|
2176
|
-
c(o.SnackbarContent, "bg", A), c(o.SnackbarContent, "color", z(() => $ ? Me.text.primary : o.getContrastText(A))), c(o.SpeedDialAction, "fabHoverBg", ye(o.background.paper, 0.15)), c(o.StepConnector, "border", C("palette-grey-400")), c(o.StepContent, "border", C("palette-grey-400")), c(o.Switch, "defaultColor", C("palette-common-white")), c(o.Switch, "defaultDisabledColor", C("palette-grey-100")), c(o.Switch, "primaryDisabledColor",
|
|
2174
|
+
c(o.Alert, "errorColor", h(T, a ? u("palette-error-light") : o.error.light, 0.6)), c(o.Alert, "infoColor", h(T, a ? u("palette-info-light") : o.info.light, 0.6)), c(o.Alert, "successColor", h(T, a ? u("palette-success-light") : o.success.light, 0.6)), c(o.Alert, "warningColor", h(T, a ? u("palette-warning-light") : o.warning.light, 0.6)), c(o.Alert, "errorFilledBg", C("palette-error-main")), c(o.Alert, "infoFilledBg", C("palette-info-main")), c(o.Alert, "successFilledBg", C("palette-success-main")), c(o.Alert, "warningFilledBg", C("palette-warning-main")), c(o.Alert, "errorFilledColor", z(() => o.getContrastText(o.error.main))), c(o.Alert, "infoFilledColor", z(() => o.getContrastText(o.info.main))), c(o.Alert, "successFilledColor", z(() => o.getContrastText(o.success.main))), c(o.Alert, "warningFilledColor", z(() => o.getContrastText(o.warning.main))), c(o.Alert, "errorStandardBg", h(w, a ? u("palette-error-light") : o.error.light, 0.9)), c(o.Alert, "infoStandardBg", h(w, a ? u("palette-info-light") : o.info.light, 0.9)), c(o.Alert, "successStandardBg", h(w, a ? u("palette-success-light") : o.success.light, 0.9)), c(o.Alert, "warningStandardBg", h(w, a ? u("palette-warning-light") : o.warning.light, 0.9)), c(o.Alert, "errorIconColor", C("palette-error-main")), c(o.Alert, "infoIconColor", C("palette-info-main")), c(o.Alert, "successIconColor", C("palette-success-main")), c(o.Alert, "warningIconColor", C("palette-warning-main")), c(o.AppBar, "defaultBg", C("palette-grey-100")), c(o.Avatar, "defaultBg", C("palette-grey-400")), c(o.Button, "inheritContainedBg", C("palette-grey-300")), c(o.Button, "inheritContainedHoverBg", C("palette-grey-A100")), c(o.Chip, "defaultBorder", C("palette-grey-400")), c(o.Chip, "defaultAvatarColor", C("palette-grey-700")), c(o.Chip, "defaultIconColor", C("palette-grey-700")), c(o.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), c(o.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), c(o.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), c(o.LinearProgress, "primaryBg", h(w, a ? u("palette-primary-main") : o.primary.main, 0.62)), c(o.LinearProgress, "secondaryBg", h(w, a ? u("palette-secondary-main") : o.secondary.main, 0.62)), c(o.LinearProgress, "errorBg", h(w, a ? u("palette-error-main") : o.error.main, 0.62)), c(o.LinearProgress, "infoBg", h(w, a ? u("palette-info-main") : o.info.main, 0.62)), c(o.LinearProgress, "successBg", h(w, a ? u("palette-success-main") : o.success.main, 0.62)), c(o.LinearProgress, "warningBg", h(w, a ? u("palette-warning-light") : o.warning.main, 0.62)), c(o.Skeleton, "bg", $ ? h(X, a ? u("palette-text-primary") : o.text.primary, 0.11) : `rgba(${C("palette-text-primaryChannel")} / 0.11)`), c(o.Slider, "primaryTrack", h(w, a ? u("palette-primary-main") : o.primary.main, 0.62)), c(o.Slider, "secondaryTrack", h(w, a ? u("palette-secondary-main") : o.secondary.main, 0.62)), c(o.Slider, "errorTrack", h(w, a ? u("palette-error-main") : o.error.main, 0.62)), c(o.Slider, "infoTrack", h(w, a ? u("palette-info-main") : o.info.main, 0.62)), c(o.Slider, "successTrack", h(w, a ? u("palette-success-main") : o.success.main, 0.62)), c(o.Slider, "warningTrack", h(w, a ? u("palette-warning-main") : o.warning.main, 0.62));
|
|
2175
|
+
const A = $ ? h(T, a ? u("palette-background-default") : o.background.default, 0.6825) : ye(o.background.default, 0.8);
|
|
2176
|
+
c(o.SnackbarContent, "bg", A), c(o.SnackbarContent, "color", z(() => $ ? Me.text.primary : o.getContrastText(A))), c(o.SpeedDialAction, "fabHoverBg", ye(o.background.paper, 0.15)), c(o.StepConnector, "border", C("palette-grey-400")), c(o.StepContent, "border", C("palette-grey-400")), c(o.Switch, "defaultColor", C("palette-common-white")), c(o.Switch, "defaultDisabledColor", C("palette-grey-100")), c(o.Switch, "primaryDisabledColor", h(w, a ? u("palette-primary-main") : o.primary.main, 0.62)), c(o.Switch, "secondaryDisabledColor", h(w, a ? u("palette-secondary-main") : o.secondary.main, 0.62)), c(o.Switch, "errorDisabledColor", h(w, a ? u("palette-error-main") : o.error.main, 0.62)), c(o.Switch, "infoDisabledColor", h(w, a ? u("palette-info-main") : o.info.main, 0.62)), c(o.Switch, "successDisabledColor", h(w, a ? u("palette-success-main") : o.success.main, 0.62)), c(o.Switch, "warningDisabledColor", h(w, a ? u("palette-warning-main") : o.warning.main, 0.62)), c(o.TableCell, "border", h(w, X(a ? u("palette-divider") : o.divider, 1), 0.88)), c(o.Tooltip, "bg", h(X, a ? u("palette-grey-700") : o.grey[700], 0.92));
|
|
2177
2177
|
}
|
|
2178
2178
|
if (o.mode === "dark") {
|
|
2179
|
-
c(o.Alert, "errorColor",
|
|
2180
|
-
const A = $ ?
|
|
2181
|
-
c(o.SnackbarContent, "bg", A), c(o.SnackbarContent, "color", z(() => $ ? mt.text.primary : o.getContrastText(A))), c(o.SpeedDialAction, "fabHoverBg", ye(o.background.paper, 0.15)), c(o.StepConnector, "border", C("palette-grey-600")), c(o.StepContent, "border", C("palette-grey-600")), c(o.Switch, "defaultColor", C("palette-grey-300")), c(o.Switch, "defaultDisabledColor", C("palette-grey-600")), c(o.Switch, "primaryDisabledColor",
|
|
2179
|
+
c(o.Alert, "errorColor", h(w, a ? u("palette-error-light") : o.error.light, 0.6)), c(o.Alert, "infoColor", h(w, a ? u("palette-info-light") : o.info.light, 0.6)), c(o.Alert, "successColor", h(w, a ? u("palette-success-light") : o.success.light, 0.6)), c(o.Alert, "warningColor", h(w, a ? u("palette-warning-light") : o.warning.light, 0.6)), c(o.Alert, "errorFilledBg", C("palette-error-dark")), c(o.Alert, "infoFilledBg", C("palette-info-dark")), c(o.Alert, "successFilledBg", C("palette-success-dark")), c(o.Alert, "warningFilledBg", C("palette-warning-dark")), c(o.Alert, "errorFilledColor", z(() => o.getContrastText(o.error.dark))), c(o.Alert, "infoFilledColor", z(() => o.getContrastText(o.info.dark))), c(o.Alert, "successFilledColor", z(() => o.getContrastText(o.success.dark))), c(o.Alert, "warningFilledColor", z(() => o.getContrastText(o.warning.dark))), c(o.Alert, "errorStandardBg", h(T, a ? u("palette-error-light") : o.error.light, 0.9)), c(o.Alert, "infoStandardBg", h(T, a ? u("palette-info-light") : o.info.light, 0.9)), c(o.Alert, "successStandardBg", h(T, a ? u("palette-success-light") : o.success.light, 0.9)), c(o.Alert, "warningStandardBg", h(T, a ? u("palette-warning-light") : o.warning.light, 0.9)), c(o.Alert, "errorIconColor", C("palette-error-main")), c(o.Alert, "infoIconColor", C("palette-info-main")), c(o.Alert, "successIconColor", C("palette-success-main")), c(o.Alert, "warningIconColor", C("palette-warning-main")), c(o.AppBar, "defaultBg", C("palette-grey-900")), c(o.AppBar, "darkBg", C("palette-background-paper")), c(o.AppBar, "darkColor", C("palette-text-primary")), c(o.Avatar, "defaultBg", C("palette-grey-600")), c(o.Button, "inheritContainedBg", C("palette-grey-800")), c(o.Button, "inheritContainedHoverBg", C("palette-grey-700")), c(o.Chip, "defaultBorder", C("palette-grey-700")), c(o.Chip, "defaultAvatarColor", C("palette-grey-300")), c(o.Chip, "defaultIconColor", C("palette-grey-300")), c(o.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), c(o.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), c(o.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), c(o.LinearProgress, "primaryBg", h(T, a ? u("palette-primary-main") : o.primary.main, 0.5)), c(o.LinearProgress, "secondaryBg", h(T, a ? u("palette-secondary-main") : o.secondary.main, 0.5)), c(o.LinearProgress, "errorBg", h(T, a ? u("palette-error-main") : o.error.main, 0.5)), c(o.LinearProgress, "infoBg", h(T, a ? u("palette-info-main") : o.info.main, 0.5)), c(o.LinearProgress, "successBg", h(T, a ? u("palette-success-main") : o.success.main, 0.5)), c(o.LinearProgress, "warningBg", h(T, a ? u("palette-warning-main") : o.warning.main, 0.5)), c(o.Skeleton, "bg", $ ? h(X, a ? u("palette-text-primary") : o.text.primary, 0.13) : `rgba(${C("palette-text-primaryChannel")} / 0.13)`), c(o.Slider, "primaryTrack", h(T, a ? u("palette-primary-main") : o.primary.main, 0.5)), c(o.Slider, "secondaryTrack", h(T, a ? u("palette-secondary-main") : o.secondary.main, 0.5)), c(o.Slider, "errorTrack", h(T, a ? u("palette-error-main") : o.error.main, 0.5)), c(o.Slider, "infoTrack", h(T, a ? u("palette-info-main") : o.info.main, 0.5)), c(o.Slider, "successTrack", h(T, a ? u("palette-success-main") : o.success.main, 0.5)), c(o.Slider, "warningTrack", h(T, a ? u("palette-warning-light") : o.warning.main, 0.5));
|
|
2180
|
+
const A = $ ? h(w, a ? u("palette-background-default") : o.background.default, 0.985) : ye(o.background.default, 0.98);
|
|
2181
|
+
c(o.SnackbarContent, "bg", A), c(o.SnackbarContent, "color", z(() => $ ? mt.text.primary : o.getContrastText(A))), c(o.SpeedDialAction, "fabHoverBg", ye(o.background.paper, 0.15)), c(o.StepConnector, "border", C("palette-grey-600")), c(o.StepContent, "border", C("palette-grey-600")), c(o.Switch, "defaultColor", C("palette-grey-300")), c(o.Switch, "defaultDisabledColor", C("palette-grey-600")), c(o.Switch, "primaryDisabledColor", h(T, a ? u("palette-primary-main") : o.primary.main, 0.55)), c(o.Switch, "secondaryDisabledColor", h(T, a ? u("palette-secondary-main") : o.secondary.main, 0.55)), c(o.Switch, "errorDisabledColor", h(T, a ? u("palette-error-main") : o.error.main, 0.55)), c(o.Switch, "infoDisabledColor", h(T, a ? u("palette-info-main") : o.info.main, 0.55)), c(o.Switch, "successDisabledColor", h(T, a ? u("palette-success-main") : o.success.main, 0.55)), c(o.Switch, "warningDisabledColor", h(T, a ? u("palette-warning-light") : o.warning.main, 0.55)), c(o.TableCell, "border", h(T, X(a ? u("palette-divider") : o.divider, 1), 0.68)), c(o.Tooltip, "bg", h(X, a ? u("palette-grey-700") : o.grey[700], 0.92));
|
|
2182
2182
|
}
|
|
2183
2183
|
G(o.background, "default"), G(o.background, "paper"), G(o.common, "background"), G(o.common, "onBackground"), G(o, "divider"), Object.keys(o).forEach((A) => {
|
|
2184
2184
|
const I = o[A];
|
|
@@ -2186,11 +2186,11 @@ function ln(e = {}, ...t) {
|
|
|
2186
2186
|
});
|
|
2187
2187
|
}), E = t.reduce((M, o) => D(M, o), E);
|
|
2188
2188
|
const Q = {
|
|
2189
|
-
prefix:
|
|
2189
|
+
prefix: s,
|
|
2190
2190
|
disableCssColorScheme: i,
|
|
2191
|
-
shouldSkipGeneratingVar:
|
|
2191
|
+
shouldSkipGeneratingVar: f,
|
|
2192
2192
|
getSelector: nn(E),
|
|
2193
|
-
enableContrastVars:
|
|
2193
|
+
enableContrastVars: a
|
|
2194
2194
|
}, {
|
|
2195
2195
|
vars: se,
|
|
2196
2196
|
generateThemeVars: W,
|
|
@@ -2199,10 +2199,10 @@ function ln(e = {}, ...t) {
|
|
|
2199
2199
|
return E.vars = se, Object.entries(E.colorSchemes[E.defaultColorScheme]).forEach(([M, o]) => {
|
|
2200
2200
|
E[M] = o;
|
|
2201
2201
|
}), E.generateThemeVars = W, E.generateStyleSheets = j, E.generateSpacing = function() {
|
|
2202
|
-
return ut(
|
|
2203
|
-
}, E.getColorSchemeSelector = Or(
|
|
2202
|
+
return ut(b.spacing, Le(this));
|
|
2203
|
+
}, E.getColorSchemeSelector = Or(d), E.spacing = E.generateSpacing(), E.shouldSkipGeneratingVar = f, E.unstable_sxConfig = {
|
|
2204
2204
|
...Oe,
|
|
2205
|
-
...
|
|
2205
|
+
...b?.unstable_sxConfig
|
|
2206
2206
|
}, E.unstable_sx = function(o) {
|
|
2207
2207
|
return ke({
|
|
2208
2208
|
sx: o,
|
|
@@ -2227,13 +2227,13 @@ function pn(e = {}, ...t) {
|
|
|
2227
2227
|
colorSchemes: i = r ? void 0 : {
|
|
2228
2228
|
light: !0
|
|
2229
2229
|
},
|
|
2230
|
-
defaultColorScheme:
|
|
2231
|
-
...
|
|
2232
|
-
} = e,
|
|
2230
|
+
defaultColorScheme: s = r?.mode,
|
|
2231
|
+
...a
|
|
2232
|
+
} = e, f = s || "light", d = i?.[f], m = {
|
|
2233
2233
|
...i,
|
|
2234
2234
|
...r ? {
|
|
2235
|
-
[
|
|
2236
|
-
...typeof
|
|
2235
|
+
[f]: {
|
|
2236
|
+
...typeof d != "boolean" && d,
|
|
2237
2237
|
palette: r
|
|
2238
2238
|
}
|
|
2239
2239
|
} : void 0
|
|
@@ -2241,26 +2241,26 @@ function pn(e = {}, ...t) {
|
|
|
2241
2241
|
if (n === !1) {
|
|
2242
2242
|
if (!("colorSchemes" in e))
|
|
2243
2243
|
return Fe(e, ...t);
|
|
2244
|
-
let
|
|
2245
|
-
"palette" in e ||
|
|
2244
|
+
let b = r;
|
|
2245
|
+
"palette" in e || m[f] && (m[f] !== !0 ? b = m[f].palette : f === "dark" && (b = {
|
|
2246
2246
|
mode: "dark"
|
|
2247
2247
|
}));
|
|
2248
|
-
const
|
|
2248
|
+
const y = Fe({
|
|
2249
2249
|
...e,
|
|
2250
|
-
palette:
|
|
2250
|
+
palette: b
|
|
2251
2251
|
}, ...t);
|
|
2252
|
-
return
|
|
2253
|
-
...
|
|
2254
|
-
palette:
|
|
2255
|
-
}, nt(
|
|
2256
|
-
...
|
|
2257
|
-
palette:
|
|
2258
|
-
}, nt(
|
|
2252
|
+
return y.defaultColorScheme = f, y.colorSchemes = m, y.palette.mode === "light" && (y.colorSchemes.light = {
|
|
2253
|
+
...m.light !== !0 && m.light,
|
|
2254
|
+
palette: y.palette
|
|
2255
|
+
}, nt(y, "dark", m.dark)), y.palette.mode === "dark" && (y.colorSchemes.dark = {
|
|
2256
|
+
...m.dark !== !0 && m.dark,
|
|
2257
|
+
palette: y.palette
|
|
2258
|
+
}, nt(y, "light", m.light)), y;
|
|
2259
2259
|
}
|
|
2260
|
-
return !r && !("light" in
|
|
2261
|
-
...
|
|
2262
|
-
colorSchemes:
|
|
2263
|
-
defaultColorScheme:
|
|
2260
|
+
return !r && !("light" in m) && f === "light" && (m.light = !0), ln({
|
|
2261
|
+
...a,
|
|
2262
|
+
colorSchemes: m,
|
|
2263
|
+
defaultColorScheme: f,
|
|
2264
2264
|
...typeof n != "boolean" && n
|
|
2265
2265
|
}, ...t);
|
|
2266
2266
|
}
|