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