@cgi-learning-hub/ui 1.6.0 → 1.7.0-dev.1750752562
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-PmI169Dq.js → Alert-BhLIlUBu.js} +126 -212
- package/dist/Alert-DPSZppEy.cjs +1 -0
- package/dist/Alert-OeEy_IGc.js +94 -0
- package/dist/Alert-rPyl-bqs.cjs +1 -0
- package/dist/Autocomplete-BdPO9SAd.cjs +6 -0
- package/dist/{Autocomplete-BIBR54X2.js → Autocomplete-WZw_zCjA.js} +391 -398
- package/dist/{Backdrop-BxgGvlLM.js → Backdrop-CjZYrxkZ.js} +5 -5
- package/dist/Backdrop-DeNTZlA5.cjs +1 -0
- package/dist/Badge-Bwcsnbsa.js +465 -0
- package/dist/Badge-DFzvdVS-.cjs +1 -0
- package/dist/{Box-o7Tjjyko.js → Box-BI4osO9v.js} +3 -3
- package/dist/Box-DR3n_po_.cjs +1 -0
- package/dist/{Button-D974vesA.js → Button-DDV5EfwJ.js} +115 -151
- package/dist/Button-DyJV5llI.cjs +1 -0
- package/dist/{ButtonBase-Chb99sDQ.js → ButtonBase-6TF6t2SP.js} +22 -23
- package/dist/ButtonBase-Dp6sf_dP.cjs +74 -0
- package/dist/CardContent-COfaU6E0.cjs +1 -0
- package/dist/{CardContent-DaZl2i3G.js → CardContent-D3uGcxlr.js} +34 -36
- package/dist/Checkbox-3hTSv0EZ.cjs +1 -0
- package/dist/{Checkbox-p-PKpEw_.js → Checkbox-BfBDowB2.js} +27 -28
- package/dist/Chip-BG0OU0KI.cjs +1 -0
- package/dist/{Chip-CPR3r42q.js → Chip-DmjZbx_X.js} +213 -164
- package/dist/CircularProgress-CXXyPavb.cjs +28 -0
- package/dist/{CircularProgress-DVKNRMKq.js → CircularProgress-DZuYTFz-.js} +34 -36
- package/dist/{Close-DyRqry3p.cjs → Close-7S2hSoFB.cjs} +1 -1
- package/dist/{Close-m-MX3rFn.js → Close-DEMecSZ6.js} +1 -1
- package/dist/{CloseRounded-CjjQdrNy.js → CloseRounded-CioV1GK3.js} +1 -1
- package/dist/{CloseRounded-Bpxbxvyb.cjs → CloseRounded-DS-4-gMR.cjs} +1 -1
- package/dist/CustomTreeItem-B9FylIhL.js +2045 -0
- package/dist/CustomTreeItem-Bg8Ub4dn.cjs +41 -0
- package/dist/DatePicker-CH8XRum0.cjs +16 -0
- package/dist/DatePicker-DasS2wq6.js +10663 -0
- package/dist/DefaultPropsProvider-Cnf49AIv.cjs +1 -0
- package/dist/{DefaultPropsProvider-hFv1J_xl.js → DefaultPropsProvider-DqazQPtr.js} +36 -34
- package/dist/{Delete-9fJbdRit.js → Delete-B5VTV71K.js} +1 -1
- package/dist/{Delete-CEX2hq0f.cjs → Delete-BvkBJXEM.cjs} +1 -1
- package/dist/Dialog-Btagj_Gt.cjs +1 -0
- package/dist/{Dialog-BzsWl6Vl.js → Dialog-DEWB041V.js} +36 -41
- package/dist/{DialogContent-B41jvlMn.js → DialogContent-C294EkoQ.js} +3 -3
- package/dist/DialogContent-DXfUge3c.cjs +1 -0
- package/dist/{DialogTitle-CVvztEM0.js → DialogTitle-BSiId6Q1.js} +38 -40
- package/dist/DialogTitle-y2PrK6uU.cjs +1 -0
- package/dist/Divider-NermA5hZ.cjs +1 -0
- package/dist/{Divider-CJwnMdVg.js → Divider-kKp4VqHh.js} +4 -4
- package/dist/{Folder-7plrMkOp.cjs → Folder-BfLBqDHM.cjs} +1 -1
- package/dist/{Folder-CutUz0bW.js → Folder-BgQP5-Ve.js} +1 -1
- package/dist/{FormLabel-DSi2pGSZ.js → FormLabel-B3WAnPGP.js} +36 -38
- package/dist/FormLabel-JrZR9kt8.cjs +2 -0
- package/dist/Grid-BHYQ3JNy.cjs +2 -0
- package/dist/Grid-DFk-4jnZ.js +411 -0
- package/dist/Grow-BULCy6GX.cjs +1 -0
- package/dist/{Grow-FFFqe81C.js → Grow-BfjkXlG8.js} +2 -2
- package/dist/{IconButton-CgwURB2g.js → IconButton-BYvak8Nw.js} +13 -15
- package/dist/IconButton-CjtMjZ9e.cjs +2 -0
- package/dist/{InputAdornment-DgWvMLgR.js → InputAdornment-BBZXvhZ-.js} +14 -15
- package/dist/InputAdornment-DvHQMisT.cjs +1 -0
- package/dist/{InputBase-DxLqRpcl.js → InputBase-BS5oknUK.js} +196 -194
- package/dist/InputBase-DPdKpmOz.cjs +4 -0
- package/dist/Link-BwbY60dS.cjs +1 -0
- package/dist/{Link-rb-SwfiY.js → Link-DYPjEdvu.js} +10 -11
- package/dist/{List-BjfdkeEI.js → List-CB_cqCSw.js} +2 -2
- package/dist/List-t9bWFewp.cjs +1 -0
- package/dist/{ListItem-B0EiObKw.js → ListItem-DAZQEir2.js} +25 -26
- package/dist/ListItem-DP7YmqZk.cjs +1 -0
- package/dist/ListItemText-cVnimPLO.cjs +1 -0
- package/dist/ListItemText-qfdqJP77.js +441 -0
- package/dist/{Menu-By6cOqEO.js → Menu-9BK8jmzW.js} +110 -114
- package/dist/Menu-C61wLk41.cjs +7 -0
- package/dist/{MenuItem-B1FTx8Uo.js → MenuItem-C8nduSzJ.js} +8 -8
- package/dist/MenuItem-DHM3qxwr.cjs +1 -0
- package/dist/{Modal-vrLLqk9Y.js → Modal-D3Q9vEAI.js} +51 -55
- package/dist/Modal-DkzrSKHd.cjs +2 -0
- package/dist/{MoreVert-DC6HBf1h.cjs → MoreVert-C-Rhn-xK.cjs} +1 -1
- package/dist/{MoreVert-DJ8sAY3o.js → MoreVert-C_W1m_Z_.js} +1 -1
- package/dist/Paper-BbqZL5vx.cjs +2 -0
- package/dist/Paper-IQckggbn.js +158 -0
- package/dist/{Popper-DfwuvxaQ.js → Popper-CfFLBZ7-.js} +6 -7
- package/dist/Popper-DvWx5tR3.cjs +4 -0
- package/dist/{Portal-ChC9wmMZ.js → Portal-BlK6ttxt.js} +5 -5
- package/dist/Portal-CPOCKeMh.cjs +1 -0
- package/dist/Radio-Bwh_t6PC.cjs +1 -0
- package/dist/{Radio-BqY-su_F.js → Radio-DKiu6lVB.js} +17 -19
- package/dist/RadioGroup-Cvnwt4JE.cjs +1 -0
- package/dist/{RadioGroup-BQvlYFpE.js → RadioGroup-DFKMlNWO.js} +4 -4
- package/dist/Select-3HP39Z7o.cjs +3 -0
- package/dist/{Select-DZMwqCYA.js → Select-CpNF3a57.js} +425 -410
- package/dist/Stack-CIyfgZCM.cjs +1 -0
- package/dist/{Stack-CMUWQxQn.js → Stack-DSJ2DqNd.js} +36 -37
- package/dist/Stepper-CXHfLPtA.cjs +1 -0
- package/dist/Stepper-DE2l91K0.js +965 -0
- package/dist/{Switch-Bg4QB4PJ.js → Switch-BIcwDf_P.js} +24 -27
- package/dist/Switch-CTEqKDiv.cjs +1 -0
- package/dist/{SwitchBase-EDFBMPd7.js → SwitchBase-DZV8S81Z.js} +21 -22
- package/dist/SwitchBase-P3zHVmLX.cjs +1 -0
- package/dist/{Tab-52AkFc9v.js → Tab-Ckr6Bn59.js} +96 -99
- package/dist/Tab-r5imbU9z.cjs +4 -0
- package/dist/{TextField-DG9mRp_m.js → TextField-BenBw4oE.js} +46 -48
- package/dist/TextField-Brw3X9cn.cjs +1 -0
- package/dist/ToggleButtonGroup-CA1cSosV.cjs +138 -0
- package/dist/{Badge-rX7YUmBc.js → ToggleButtonGroup-DhtAoGtM.js} +3144 -4140
- package/dist/Tooltip-BAOKe3SY.cjs +4 -0
- package/dist/{Tooltip-DCgaU2em.js → Tooltip-KkgNQm4r.js} +27 -29
- package/dist/Typography-CSTmKyr8.cjs +1 -0
- package/dist/{Typography-DwMlN0K5.js → Typography-Dy8r_tT2.js} +6 -7
- package/dist/components/Alert/Alert.cjs.js +1 -1
- package/dist/components/Alert/Alert.es.js +5 -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/ButtonGroup/ButtonGroup.cjs.js +1 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +3 -0
- package/dist/components/ButtonGroup/ButtonGroup.es.js +38 -0
- package/dist/components/ButtonGroup/index.cjs.js +1 -0
- package/dist/components/ButtonGroup/index.d.ts +2 -0
- package/dist/components/ButtonGroup/index.es.js +4 -0
- package/dist/components/ButtonGroup/style.cjs.js +1 -0
- package/dist/components/ButtonGroup/style.es.js +29 -0
- package/dist/components/ButtonGroup/types.cjs.js +1 -0
- package/dist/components/ButtonGroup/types.d.ts +22 -0
- package/dist/components/ButtonGroup/types.es.js +1 -0
- package/dist/components/ColorPicker/ColorPicker.cjs.js +1 -1
- package/dist/components/ColorPicker/ColorPicker.es.js +5 -5
- package/dist/components/ColorPicker/styles.es.js +13 -11
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +1 -2
- 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 +8 -3
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +3 -3
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +1 -0
- package/dist/components/EmptyState/EmptyState.es.js +13 -12
- 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 +5 -7
- package/dist/components/TreeView/TreeView.es.js +1207 -1452
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
- package/dist/components/TreeView/components/CustomTreeItem.d.ts +2 -2
- package/dist/components/TreeView/components/CustomTreeItem.es.js +3 -3
- package/dist/components/TreeView/types.d.ts +5 -5
- package/dist/components/TreeView/utils.cjs.js +1 -1
- package/dist/components/TreeView/utils.es.js +3 -3
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +7 -2
- package/dist/components/index.es.js +402 -391
- package/dist/components/stories/Alert.stories.cjs.js +1 -1
- package/dist/components/stories/Alert.stories.d.ts +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.d.ts +1 -1
- package/dist/components/stories/Autocomplete.stories.es.js +2 -2
- package/dist/components/stories/Badge.stories.cjs.js +1 -0
- package/dist/components/stories/Badge.stories.d.ts +17 -0
- package/dist/components/stories/Badge.stories.es.js +188 -0
- package/dist/components/stories/Button.stories.cjs.js +1 -1
- package/dist/components/stories/Button.stories.d.ts +1 -1
- package/dist/components/stories/Button.stories.es.js +1 -1
- package/dist/components/stories/ButtonGroup.stories.cjs.js +153 -0
- package/dist/components/stories/ButtonGroup.stories.d.ts +17 -0
- package/dist/components/stories/ButtonGroup.stories.es.js +1296 -0
- package/dist/components/stories/Card.stories.cjs.js +1 -1
- package/dist/components/stories/Card.stories.d.ts +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.d.ts +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.d.ts +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.d.ts +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.d.ts +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.d.ts +1 -1
- package/dist/components/stories/Divider.stories.es.js +1 -1
- package/dist/components/stories/Dropzone.stories.d.ts +1 -1
- package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +1 -1
- package/dist/components/stories/EmptyState.stories.d.ts +1 -1
- package/dist/components/stories/FileList.stories.d.ts +1 -1
- package/dist/components/stories/FolderCard.stories.d.ts +1 -1
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.d.ts +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.d.ts +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.d.ts +1 -1
- package/dist/components/stories/IconButton.stories.es.js +2 -2
- package/dist/components/stories/ImagePicker.stories.d.ts +1 -1
- package/dist/components/stories/Link.stories.cjs.js +1 -1
- package/dist/components/stories/Link.stories.d.ts +1 -1
- package/dist/components/stories/Link.stories.es.js +1 -1
- package/dist/components/stories/Loader.stories.d.ts +1 -1
- package/dist/components/stories/LoaderBackdrop.stories.d.ts +1 -1
- package/dist/components/stories/Menu.stories.cjs.js +1 -1
- package/dist/components/stories/Menu.stories.d.ts +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.d.ts +1 -1
- package/dist/components/stories/Paper.stories.es.js +1 -1
- package/dist/components/stories/PasswordInput.stories.d.ts +1 -1
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.d.ts +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.d.ts +1 -1
- package/dist/components/stories/ResourceCard.stories.es.js +1 -1
- package/dist/components/stories/SearchInput.stories.d.ts +1 -1
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.d.ts +1 -1
- package/dist/components/stories/Select.stories.es.js +3 -3
- package/dist/components/stories/Stepper.stories.cjs.js +1 -0
- package/dist/components/stories/Stepper.stories.d.ts +7 -0
- package/dist/components/stories/Stepper.stories.es.js +161 -0
- package/dist/components/stories/TabList.stories.cjs.js +1 -1
- package/dist/components/stories/TabList.stories.d.ts +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.d.ts +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.d.ts +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/TreeView.stories.cjs.js +3 -3
- package/dist/components/stories/TreeView.stories.d.ts +1 -1
- package/dist/components/stories/TreeView.stories.es.js +39 -38
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.d.ts +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/{createSvgIcon-BlKmtOkV.js → createSvgIcon-B1E6Wo8z.js} +7 -8
- package/dist/createSvgIcon-IET9soda.cjs +1 -0
- package/dist/{dividerClasses-Glz8RJdF.js → dividerClasses-BPJZ8SFy.js} +1 -1
- package/dist/dividerClasses-C07OJKLL.cjs +1 -0
- package/dist/elementAcceptingRef-BZ42cOGO.cjs +1 -0
- package/dist/{extendSxProp-BouzOuB6.js → extendSxProp-CesAxox9.js} +1 -1
- package/dist/extendSxProp-ZMCunXYm.cjs +1 -0
- package/dist/identifier-BoZelETM.cjs +55 -0
- package/dist/{generateUtilityClasses-DngCqveO.js → identifier-PWESmBq6.js} +582 -612
- package/dist/{index-l8yqod25.js → index-8G2jvqZ8.js} +4 -4
- package/dist/index-D3lMWU76.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +402 -391
- package/dist/integerPropType-BihGt2aU.js +31 -0
- package/dist/integerPropType-CR7ytEJG.cjs +1 -0
- package/dist/{listItemTextClasses-BRj19IXv.js → listItemTextClasses-B5VhLd9W.js} +1 -1
- package/dist/listItemTextClasses-CJDKfXvl.cjs +1 -0
- package/dist/{memoTheme-BAbn60Cb.cjs → memoTheme-BKfsJx_F.cjs} +1 -1
- package/dist/{memoTheme-nmt7i1dS.js → memoTheme-DAFDflPY.js} +1 -1
- package/dist/{mergeSlotProps-BBciKnr4.js → mergeSlotProps-ChAye7iz.js} +1 -1
- package/dist/mergeSlotProps-DXwOW3FE.cjs +1 -0
- package/dist/styled-C7gyRDlj.js +5 -0
- package/dist/styled-Cax0O00h.cjs +1 -0
- package/dist/useControlled-QrrYcKxm.cjs +3 -0
- package/dist/useControlled-nm4pBabJ.js +31 -0
- package/dist/{useEventCallback-Yoj9nCug.js → useEventCallback-Y2KwRxBw.js} +2 -2
- package/dist/usePreviousProps-ByGlbpJ6.js +10 -0
- package/dist/usePreviousProps-jC3PWcIp.cjs +1 -0
- package/dist/{useSlot-BDb1lvxu.js → useSlot-BzdKwDQ5.js} +1 -1
- package/dist/useSlot-C2FjoUpF.cjs +1 -0
- package/dist/{useSlotProps-OhEflPiz.cjs → useSlotProps-CrQGQLdL.cjs} +1 -1
- package/dist/{useSlotProps-B_D8u0j-.js → useSlotProps-DdMuGelR.js} +1 -1
- package/dist/{useTheme-D9cVynB-.js → useTheme--i9fxE_A.js} +1 -1
- package/dist/useTheme-BLMJDSsv.cjs +1 -0
- package/dist/useTheme-CooC_6Ep.cjs +1 -0
- package/dist/useTheme-XJ9sFCWX.js +11 -0
- package/dist/{useThemeProps-ggw56DH-.js → useThemeProps-B4VFkcP0.js} +4 -4
- package/dist/{useThemeProps-DQOn-ezC.cjs → useThemeProps-B9E_wuN9.cjs} +1 -1
- package/dist/useThemeProps-C1A3rnbh.cjs +1 -0
- package/dist/useThemeProps-CQ9rZe7g.js +17 -0
- package/package.json +12 -11
- package/dist/Alert-DW8yCR-B.cjs +0 -1
- package/dist/Autocomplete-D9hZ2wrR.cjs +0 -6
- package/dist/Backdrop-3TL73mAe.cjs +0 -1
- package/dist/Badge-DhyDno9j.cjs +0 -138
- package/dist/Box-DYD6q-6M.cjs +0 -1
- package/dist/Button-y1LmxqGA.cjs +0 -1
- package/dist/ButtonBase-Cteo-mSC.cjs +0 -74
- package/dist/CardContent-ji0_AneN.cjs +0 -1
- package/dist/Checkbox-XXqW_dbW.cjs +0 -1
- package/dist/Chip-Bpcd3tnL.cjs +0 -1
- package/dist/CircularProgress-Wqx0-T36.cjs +0 -28
- package/dist/CustomTreeItem-DPyfIueW.cjs +0 -3
- package/dist/CustomTreeItem-hIRSCwAW.js +0 -1336
- package/dist/DatePicker-BMzW4v1g.js +0 -10255
- package/dist/DatePicker-CNhBoaI3.cjs +0 -14
- package/dist/DefaultPropsProvider-B1crdkTC.cjs +0 -1
- package/dist/Dialog-B2LKe7ZM.cjs +0 -1
- package/dist/DialogContent-BbCu_OEw.cjs +0 -1
- package/dist/DialogTitle-SwUSpeBT.cjs +0 -1
- package/dist/Divider-Cshcr5kR.cjs +0 -1
- package/dist/FormLabel-0LbNeQQU.cjs +0 -2
- package/dist/Grow-aEgTOewU.cjs +0 -1
- package/dist/IconButton-BKwDNYJl.cjs +0 -2
- package/dist/InputAdornment-C7e-kyf7.cjs +0 -1
- package/dist/InputBase-pYQWRFK2.cjs +0 -3
- package/dist/Link-DUtuCYMx.cjs +0 -1
- package/dist/List-BH_S4Hqm.cjs +0 -1
- package/dist/ListItem-D33t-hkx.cjs +0 -1
- package/dist/ListItemText-B8jlTz59.cjs +0 -2
- package/dist/ListItemText-BeyHu1da.js +0 -853
- package/dist/Menu-BjrN8rMF.cjs +0 -7
- package/dist/MenuItem-Cz_x60jl.cjs +0 -1
- package/dist/Modal-DxwlW5NV.cjs +0 -2
- package/dist/Paper-984iTz4H.js +0 -186
- package/dist/Paper-Bh9CKUCb.cjs +0 -2
- package/dist/Popper-yO_RaCbM.cjs +0 -4
- package/dist/Portal-B5KqLEa0.cjs +0 -1
- package/dist/Radio-C7zzpRFc.cjs +0 -1
- package/dist/RadioGroup-BlUWRmLG.cjs +0 -1
- package/dist/Select-Doay7ukI.cjs +0 -3
- package/dist/Stack-BVWbOqY_.cjs +0 -1
- package/dist/Switch-CEfqaD33.cjs +0 -1
- package/dist/SwitchBase-DvCITKv8.cjs +0 -1
- package/dist/Tab-C6H241Pf.cjs +0 -4
- package/dist/TextField-bE2NUKKK.cjs +0 -1
- package/dist/Tooltip-D_w-IJoD.cjs +0 -4
- package/dist/Typography-De-21leI.cjs +0 -1
- package/dist/capitalize-BHFotl9B.js +0 -9
- package/dist/capitalize-CKLkSyDO.cjs +0 -1
- package/dist/composeClasses-CJKlIaRn.js +0 -51
- package/dist/composeClasses-CWgX5SFD.cjs +0 -1
- package/dist/createSvgIcon-BgBODH2F.cjs +0 -1
- package/dist/dividerClasses-D3gnW6kZ.cjs +0 -1
- package/dist/extendSxProp-Cm-DtZe3.cjs +0 -1
- package/dist/generateUtilityClasses-CMlilM6r.cjs +0 -55
- package/dist/getReactElementRef-EVJnBPlV.cjs +0 -1
- package/dist/index-BzsuDIEl.cjs +0 -1
- package/dist/listItemTextClasses-BJFgw1ah.cjs +0 -1
- package/dist/mergeSlotProps-Z5-o9vSe.cjs +0 -1
- package/dist/useControlled-BYdyS7Pn.js +0 -31
- package/dist/useControlled-Ysk4KqoX.cjs +0 -3
- package/dist/useSlot-W0PiuVaZ.cjs +0 -1
- package/dist/useTheme-C59wIJ3-.js +0 -11
- package/dist/useTheme-ClhInrO2.cjs +0 -1
- package/dist/useTheme-CqYtLDbs.cjs +0 -1
- package/dist/useThemeProps-BFQ8ndnj.js +0 -17
- package/dist/useThemeProps-DYpozGhe.cjs +0 -1
- package/dist/{getReactElementRef-H8kwrWP1.js → elementAcceptingRef-CEweUuUA.js} +5 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import $t from "@emotion/styled";
|
|
2
2
|
import "@emotion/react";
|
|
3
|
-
import * as
|
|
4
|
-
import { P as
|
|
5
|
-
var
|
|
3
|
+
import * as it from "react";
|
|
4
|
+
import { P as ne } from "./index-Sy88PpwE.js";
|
|
5
|
+
var pe = { exports: {} }, $ = {};
|
|
6
6
|
/**
|
|
7
7
|
* @license React
|
|
8
8
|
* react-is.production.js
|
|
@@ -12,15 +12,15 @@ var me = { exports: {} }, $ = {};
|
|
|
12
12
|
* This source code is licensed under the MIT license found in the
|
|
13
13
|
* LICENSE file in the root directory of this source tree.
|
|
14
14
|
*/
|
|
15
|
-
var
|
|
16
|
-
function
|
|
17
|
-
if (
|
|
18
|
-
|
|
15
|
+
var We;
|
|
16
|
+
function Tt() {
|
|
17
|
+
if (We) return $;
|
|
18
|
+
We = 1;
|
|
19
19
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition"), b = Symbol.for("react.client.reference");
|
|
20
20
|
function g(s) {
|
|
21
21
|
if (typeof s == "object" && s !== null) {
|
|
22
|
-
var
|
|
23
|
-
switch (
|
|
22
|
+
var S = s.$$typeof;
|
|
23
|
+
switch (S) {
|
|
24
24
|
case e:
|
|
25
25
|
switch (s = s.type, s) {
|
|
26
26
|
case r:
|
|
@@ -40,11 +40,11 @@ function wt() {
|
|
|
40
40
|
case a:
|
|
41
41
|
return s;
|
|
42
42
|
default:
|
|
43
|
-
return
|
|
43
|
+
return S;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
case t:
|
|
47
|
-
return
|
|
47
|
+
return S;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -86,13 +86,13 @@ 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
|
|
89
|
+
var Ue;
|
|
90
|
+
function At() {
|
|
91
|
+
return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && function() {
|
|
92
92
|
function e(s) {
|
|
93
93
|
if (typeof s == "object" && s !== null) {
|
|
94
|
-
var
|
|
95
|
-
switch (
|
|
94
|
+
var S = s.$$typeof;
|
|
95
|
+
switch (S) {
|
|
96
96
|
case t:
|
|
97
97
|
switch (s = s.type, s) {
|
|
98
98
|
case n:
|
|
@@ -112,11 +112,11 @@ function Ot() {
|
|
|
112
112
|
case l:
|
|
113
113
|
return s;
|
|
114
114
|
default:
|
|
115
|
-
return
|
|
115
|
+
return S;
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
case r:
|
|
119
|
-
return
|
|
119
|
+
return S;
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
}
|
|
@@ -150,66 +150,66 @@ function Ot() {
|
|
|
150
150
|
}, T.typeOf = e;
|
|
151
151
|
}()), T;
|
|
152
152
|
}
|
|
153
|
-
var
|
|
154
|
-
function
|
|
155
|
-
return
|
|
153
|
+
var Ge;
|
|
154
|
+
function xt() {
|
|
155
|
+
return Ge || (Ge = 1, process.env.NODE_ENV === "production" ? pe.exports = /* @__PURE__ */ Tt() : pe.exports = /* @__PURE__ */ At()), pe.exports;
|
|
156
156
|
}
|
|
157
|
-
var
|
|
158
|
-
function
|
|
157
|
+
var at = /* @__PURE__ */ xt();
|
|
158
|
+
function st(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 = st(e[t])) && (n && (n += " "), n += r);
|
|
164
164
|
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
165
165
|
return n;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
168
|
-
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t =
|
|
167
|
+
function vn() {
|
|
168
|
+
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = st(e)) && (n && (n += " "), n += t);
|
|
169
169
|
return n;
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function H(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 lt(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." : H(7));
|
|
178
178
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function Y(e) {
|
|
181
181
|
if (typeof e != "object" || e === null)
|
|
182
182
|
return !1;
|
|
183
183
|
const t = Object.getPrototypeOf(e);
|
|
184
184
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
187
|
-
if (/* @__PURE__ */
|
|
186
|
+
function ct(e) {
|
|
187
|
+
if (/* @__PURE__ */ it.isValidElement(e) || at.isValidElementType(e) || !Y(e))
|
|
188
188
|
return e;
|
|
189
189
|
const t = {};
|
|
190
190
|
return Object.keys(e).forEach((r) => {
|
|
191
|
-
t[r] =
|
|
191
|
+
t[r] = ct(e[r]);
|
|
192
192
|
}), t;
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function B(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 Y(e) && Y(t) && Object.keys(t).forEach((o) => {
|
|
201
|
+
/* @__PURE__ */ it.isValidElement(t[o]) || at.isValidElementType(t[o]) ? n[o] = t[o] : Y(t[o]) && // Avoid prototype pollution
|
|
202
|
+
Object.prototype.hasOwnProperty.call(e, o) && Y(e[o]) ? n[o] = B(e[o], t[o], r) : r.clone ? n[o] = Y(t[o]) ? ct(t[o]) : t[o] : n[o] = t[o];
|
|
203
203
|
}), n;
|
|
204
204
|
}
|
|
205
|
-
function
|
|
206
|
-
return t ?
|
|
205
|
+
function se(e, t) {
|
|
206
|
+
return t ? B(e, t, {
|
|
207
207
|
clone: !1
|
|
208
208
|
// No need to clone deep, it's way faster.
|
|
209
209
|
}) : e;
|
|
210
210
|
}
|
|
211
|
-
const
|
|
212
|
-
function
|
|
211
|
+
const q = process.env.NODE_ENV !== "production" ? ne.oneOfType([ne.number, ne.string, ne.object, ne.array]) : {};
|
|
212
|
+
function vt(e, t) {
|
|
213
213
|
if (!e.containerQueries)
|
|
214
214
|
return t;
|
|
215
215
|
const r = Object.keys(t).filter((n) => n.startsWith("@container")).sort((n, o) => {
|
|
@@ -224,21 +224,21 @@ function kt(e, t) {
|
|
|
224
224
|
...t
|
|
225
225
|
}) : t;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function wt(e, t) {
|
|
228
228
|
return t === "@" || t.startsWith("@") && (e.some((r) => t.startsWith(`@${r}`)) || !!t.match(/^@\d/));
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Ot(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\`.` : H(18, `(${t})`));
|
|
236
236
|
return null;
|
|
237
237
|
}
|
|
238
238
|
const [, n, o] = r, a = Number.isNaN(+n) ? n || 0 : +n;
|
|
239
239
|
return e.containerQueries(o).up(a);
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function _t(e) {
|
|
242
242
|
const t = (a, l) => a.replace("@media", l ? `@container ${l}` : "@container");
|
|
243
243
|
function r(a, l) {
|
|
244
244
|
a.up = (...c) => t(e.breakpoints.up(...c), l), a.down = (...c) => t(e.breakpoints.down(...c), l), a.between = (...c) => t(e.breakpoints.between(...c), l), a.only = (...c) => t(e.breakpoints.only(...c), l), a.not = (...c) => {
|
|
@@ -252,7 +252,7 @@ function Nt(e) {
|
|
|
252
252
|
containerQueries: o
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
|
-
const
|
|
255
|
+
const be = {
|
|
256
256
|
xs: 0,
|
|
257
257
|
// phone
|
|
258
258
|
sm: 600,
|
|
@@ -263,32 +263,32 @@ const Te = {
|
|
|
263
263
|
// desktop
|
|
264
264
|
xl: 1536
|
|
265
265
|
// large screen
|
|
266
|
-
},
|
|
266
|
+
}, je = {
|
|
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:${be[e]}px)`
|
|
271
|
+
}, kt = {
|
|
272
272
|
containerQueries: (e) => ({
|
|
273
273
|
up: (t) => {
|
|
274
|
-
let r = typeof t == "number" ? t :
|
|
274
|
+
let r = typeof t == "number" ? t : be[t] || t;
|
|
275
275
|
return typeof r == "number" && (r = `${r}px`), e ? `@container ${e} (min-width:${r})` : `@container (min-width:${r})`;
|
|
276
276
|
}
|
|
277
277
|
})
|
|
278
278
|
};
|
|
279
|
-
function
|
|
279
|
+
function G(e, t, r) {
|
|
280
280
|
const n = e.theme || {};
|
|
281
281
|
if (Array.isArray(t)) {
|
|
282
|
-
const a = n.breakpoints ||
|
|
282
|
+
const a = n.breakpoints || je;
|
|
283
283
|
return t.reduce((l, c, f) => (l[a.up(a.keys[f])] = r(t[f]), l), {});
|
|
284
284
|
}
|
|
285
285
|
if (typeof t == "object") {
|
|
286
|
-
const a = n.breakpoints ||
|
|
286
|
+
const a = n.breakpoints || je;
|
|
287
287
|
return Object.keys(t).reduce((l, c) => {
|
|
288
|
-
if (
|
|
289
|
-
const f =
|
|
288
|
+
if (wt(a.keys, c)) {
|
|
289
|
+
const f = Ot(n.containerQueries ? n : kt, c);
|
|
290
290
|
f && (l[f] = r(t[c], c));
|
|
291
|
-
} else if (Object.keys(a.values ||
|
|
291
|
+
} else if (Object.keys(a.values || be).includes(c)) {
|
|
292
292
|
const f = a.up(c);
|
|
293
293
|
l[f] = r(t[c], c);
|
|
294
294
|
} else {
|
|
@@ -300,24 +300,24 @@ function W(e, t, r) {
|
|
|
300
300
|
}
|
|
301
301
|
return r(t);
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function ut(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 ft(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 wn(e, ...t) {
|
|
317
|
+
const r = ut(e), n = [r, ...t].reduce((o, a) => B(o, a), {});
|
|
318
|
+
return ft(Object.keys(r), n);
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function Rt(e, t) {
|
|
321
321
|
if (typeof e != "object")
|
|
322
322
|
return {};
|
|
323
323
|
const r = {}, n = Object.keys(t);
|
|
@@ -327,18 +327,18 @@ function Bt(e, t) {
|
|
|
327
327
|
e[o] != null && (r[o] = !0);
|
|
328
328
|
}), r;
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function On({
|
|
331
331
|
values: e,
|
|
332
332
|
breakpoints: t,
|
|
333
333
|
base: r
|
|
334
334
|
}) {
|
|
335
|
-
const n = r ||
|
|
335
|
+
const n = r || Rt(e, t), o = Object.keys(n);
|
|
336
336
|
if (o.length === 0)
|
|
337
337
|
return e;
|
|
338
338
|
let a;
|
|
339
339
|
return o.reduce((l, c, f) => (Array.isArray(e) ? (l[c] = e[f] != null ? e[f] : e[a], a = f) : typeof e == "object" ? (l[c] = e[c] != null ? e[c] : e[a], a = c) : l[c] = e, l), {});
|
|
340
340
|
}
|
|
341
|
-
function
|
|
341
|
+
function Ce(e, t, r = !0) {
|
|
342
342
|
if (!t || typeof t != "string")
|
|
343
343
|
return null;
|
|
344
344
|
if (e && e.vars && r) {
|
|
@@ -348,9 +348,9 @@ function Ae(e, t, r = !0) {
|
|
|
348
348
|
}
|
|
349
349
|
return t.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function he(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 = Ce(e, r) || n, t && (o = t(o, n, e)), o;
|
|
354
354
|
}
|
|
355
355
|
function R(e) {
|
|
356
356
|
const {
|
|
@@ -361,48 +361,48 @@ function R(e) {
|
|
|
361
361
|
} = e, a = (l) => {
|
|
362
362
|
if (l[t] == null)
|
|
363
363
|
return null;
|
|
364
|
-
const c = l[t], f = l.theme, d =
|
|
365
|
-
return
|
|
366
|
-
let p =
|
|
367
|
-
return m === p && typeof m == "string" && (p =
|
|
364
|
+
const c = l[t], f = l.theme, d = Ce(f, n) || {};
|
|
365
|
+
return G(l, c, (m) => {
|
|
366
|
+
let p = he(d, o, m);
|
|
367
|
+
return m === p && typeof m == "string" && (p = he(d, o, `${t}${m === "default" ? "" : lt(m)}`, m)), r === !1 ? p : {
|
|
368
368
|
[r]: p
|
|
369
369
|
};
|
|
370
370
|
});
|
|
371
371
|
};
|
|
372
372
|
return a.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
373
|
-
[t]:
|
|
373
|
+
[t]: q
|
|
374
374
|
} : {}, a.filterProps = [t], a;
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function Nt(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 It = {
|
|
381
381
|
m: "margin",
|
|
382
382
|
p: "padding"
|
|
383
|
-
},
|
|
383
|
+
}, Bt = {
|
|
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
|
+
}, ze = {
|
|
391
391
|
marginX: "mx",
|
|
392
392
|
marginY: "my",
|
|
393
393
|
paddingX: "px",
|
|
394
394
|
paddingY: "py"
|
|
395
|
-
},
|
|
395
|
+
}, Pt = Nt((e) => {
|
|
396
396
|
if (e.length > 2)
|
|
397
|
-
if (
|
|
398
|
-
e =
|
|
397
|
+
if (ze[e])
|
|
398
|
+
e = ze[e];
|
|
399
399
|
else
|
|
400
400
|
return [e];
|
|
401
|
-
const [t, r] = e.split(""), n =
|
|
401
|
+
const [t, r] = e.split(""), n = It[t], o = Bt[r] || "";
|
|
402
402
|
return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
|
|
403
|
-
}),
|
|
404
|
-
function
|
|
405
|
-
const o =
|
|
403
|
+
}), Se = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Ee = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Mt = [...Se, ...Ee];
|
|
404
|
+
function ce(e, t, r, n) {
|
|
405
|
+
const o = Ce(e, t, !0) ?? r;
|
|
406
406
|
return typeof o == "number" || typeof o == "string" ? (a) => typeof a == "string" ? a : (process.env.NODE_ENV !== "production" && typeof a != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`), typeof o == "string" ? o.startsWith("var(") && a === 0 ? 0 : o.startsWith("var(") && a === 1 ? o : `calc(${a} * ${o})` : o * a) : Array.isArray(o) ? (a) => {
|
|
407
407
|
if (typeof a == "string")
|
|
408
408
|
return a;
|
|
@@ -416,154 +416,154 @@ function ue(e, t, r, n) {
|
|
|
416
416
|
`)), () => {
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
|
-
function
|
|
420
|
-
return
|
|
419
|
+
function Pe(e) {
|
|
420
|
+
return ce(e, "spacing", 8, "spacing");
|
|
421
421
|
}
|
|
422
|
-
function
|
|
422
|
+
function ue(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 Dt(e, t) {
|
|
426
|
+
return (r) => e.reduce((n, o) => (n[o] = ue(t, r), n), {});
|
|
427
427
|
}
|
|
428
|
-
function
|
|
428
|
+
function Ft(e, t, r, n) {
|
|
429
429
|
if (!t.includes(r))
|
|
430
430
|
return null;
|
|
431
|
-
const o =
|
|
432
|
-
return
|
|
431
|
+
const o = Pt(r), a = Dt(o, n), l = e[r];
|
|
432
|
+
return G(e, l, a);
|
|
433
433
|
}
|
|
434
|
-
function
|
|
435
|
-
const r =
|
|
436
|
-
return Object.keys(e).map((n) =>
|
|
434
|
+
function dt(e, t) {
|
|
435
|
+
const r = Pe(e.theme);
|
|
436
|
+
return Object.keys(e).map((n) => Ft(e, t, n, r)).reduce(se, {});
|
|
437
437
|
}
|
|
438
438
|
function _(e) {
|
|
439
|
-
return
|
|
439
|
+
return dt(e, Se);
|
|
440
440
|
}
|
|
441
|
-
_.propTypes = process.env.NODE_ENV !== "production" ?
|
|
442
|
-
_.filterProps =
|
|
441
|
+
_.propTypes = process.env.NODE_ENV !== "production" ? Se.reduce((e, t) => (e[t] = q, e), {}) : {};
|
|
442
|
+
_.filterProps = Se;
|
|
443
443
|
function k(e) {
|
|
444
|
-
return
|
|
444
|
+
return dt(e, Ee);
|
|
445
445
|
}
|
|
446
|
-
k.propTypes = process.env.NODE_ENV !== "production" ?
|
|
447
|
-
k.filterProps =
|
|
448
|
-
process.env.NODE_ENV !== "production" &&
|
|
449
|
-
function
|
|
446
|
+
k.propTypes = process.env.NODE_ENV !== "production" ? Ee.reduce((e, t) => (e[t] = q, e), {}) : {};
|
|
447
|
+
k.filterProps = Ee;
|
|
448
|
+
process.env.NODE_ENV !== "production" && Mt.reduce((e, t) => (e[t] = q, e), {});
|
|
449
|
+
function $e(...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] ? se(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 M(e) {
|
|
456
456
|
return typeof e != "number" ? e : `${e}px solid`;
|
|
457
457
|
}
|
|
458
|
-
function
|
|
458
|
+
function D(e, t) {
|
|
459
459
|
return R({
|
|
460
460
|
prop: e,
|
|
461
461
|
themeKey: "borders",
|
|
462
462
|
transform: t
|
|
463
463
|
});
|
|
464
464
|
}
|
|
465
|
-
const
|
|
465
|
+
const Vt = D("border", M), Lt = D("borderTop", M), Wt = D("borderRight", M), Ut = D("borderBottom", M), Gt = D("borderLeft", M), jt = D("borderColor"), zt = D("borderTopColor"), Yt = D("borderRightColor"), Kt = D("borderBottomColor"), Ht = D("borderLeftColor"), qt = D("outline", M), Qt = D("outlineColor"), Te = (e) => {
|
|
466
466
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
467
|
-
const t =
|
|
468
|
-
borderRadius:
|
|
467
|
+
const t = ce(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
|
|
468
|
+
borderRadius: ue(t, n)
|
|
469
469
|
});
|
|
470
|
-
return
|
|
470
|
+
return G(e, e.borderRadius, r);
|
|
471
471
|
}
|
|
472
472
|
return null;
|
|
473
473
|
};
|
|
474
|
-
|
|
475
|
-
borderRadius:
|
|
474
|
+
Te.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
475
|
+
borderRadius: q
|
|
476
476
|
} : {};
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
const
|
|
477
|
+
Te.filterProps = ["borderRadius"];
|
|
478
|
+
$e(Vt, Lt, Wt, Ut, Gt, jt, zt, Yt, Kt, Ht, Te, qt, Qt);
|
|
479
|
+
const Ae = (e) => {
|
|
480
480
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
481
|
-
const t =
|
|
482
|
-
gap:
|
|
481
|
+
const t = ce(e.theme, "spacing", 8, "gap"), r = (n) => ({
|
|
482
|
+
gap: ue(t, n)
|
|
483
483
|
});
|
|
484
|
-
return
|
|
484
|
+
return G(e, e.gap, r);
|
|
485
485
|
}
|
|
486
486
|
return null;
|
|
487
487
|
};
|
|
488
|
-
|
|
489
|
-
gap:
|
|
488
|
+
Ae.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
489
|
+
gap: q
|
|
490
490
|
} : {};
|
|
491
|
-
|
|
492
|
-
const
|
|
491
|
+
Ae.filterProps = ["gap"];
|
|
492
|
+
const xe = (e) => {
|
|
493
493
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
494
|
-
const t =
|
|
495
|
-
columnGap:
|
|
494
|
+
const t = ce(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
|
|
495
|
+
columnGap: ue(t, n)
|
|
496
496
|
});
|
|
497
|
-
return
|
|
497
|
+
return G(e, e.columnGap, r);
|
|
498
498
|
}
|
|
499
499
|
return null;
|
|
500
500
|
};
|
|
501
|
-
|
|
502
|
-
columnGap:
|
|
501
|
+
xe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
502
|
+
columnGap: q
|
|
503
503
|
} : {};
|
|
504
|
-
|
|
505
|
-
const
|
|
504
|
+
xe.filterProps = ["columnGap"];
|
|
505
|
+
const ve = (e) => {
|
|
506
506
|
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
507
|
-
const t =
|
|
508
|
-
rowGap:
|
|
507
|
+
const t = ce(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
|
|
508
|
+
rowGap: ue(t, n)
|
|
509
509
|
});
|
|
510
|
-
return
|
|
510
|
+
return G(e, e.rowGap, r);
|
|
511
511
|
}
|
|
512
512
|
return null;
|
|
513
513
|
};
|
|
514
|
-
|
|
515
|
-
rowGap:
|
|
514
|
+
ve.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
515
|
+
rowGap: q
|
|
516
516
|
} : {};
|
|
517
|
-
|
|
518
|
-
const
|
|
517
|
+
ve.filterProps = ["rowGap"];
|
|
518
|
+
const Xt = R({
|
|
519
519
|
prop: "gridColumn"
|
|
520
|
-
}),
|
|
520
|
+
}), Jt = R({
|
|
521
521
|
prop: "gridRow"
|
|
522
|
-
}),
|
|
522
|
+
}), Zt = R({
|
|
523
523
|
prop: "gridAutoFlow"
|
|
524
|
-
}),
|
|
524
|
+
}), er = R({
|
|
525
525
|
prop: "gridAutoColumns"
|
|
526
|
-
}),
|
|
526
|
+
}), tr = R({
|
|
527
527
|
prop: "gridAutoRows"
|
|
528
|
-
}),
|
|
528
|
+
}), rr = R({
|
|
529
529
|
prop: "gridTemplateColumns"
|
|
530
|
-
}),
|
|
530
|
+
}), nr = R({
|
|
531
531
|
prop: "gridTemplateRows"
|
|
532
|
-
}),
|
|
532
|
+
}), or = R({
|
|
533
533
|
prop: "gridTemplateAreas"
|
|
534
|
-
}),
|
|
534
|
+
}), ir = R({
|
|
535
535
|
prop: "gridArea"
|
|
536
536
|
});
|
|
537
|
-
|
|
538
|
-
function
|
|
537
|
+
$e(Ae, xe, ve, Xt, Jt, Zt, er, tr, rr, nr, or, ir);
|
|
538
|
+
function te(e, t) {
|
|
539
539
|
return t === "grey" ? t : e;
|
|
540
540
|
}
|
|
541
|
-
const
|
|
541
|
+
const ar = R({
|
|
542
542
|
prop: "color",
|
|
543
543
|
themeKey: "palette",
|
|
544
|
-
transform:
|
|
545
|
-
}),
|
|
544
|
+
transform: te
|
|
545
|
+
}), sr = R({
|
|
546
546
|
prop: "bgcolor",
|
|
547
547
|
cssProperty: "backgroundColor",
|
|
548
548
|
themeKey: "palette",
|
|
549
|
-
transform:
|
|
550
|
-
}),
|
|
549
|
+
transform: te
|
|
550
|
+
}), lr = R({
|
|
551
551
|
prop: "backgroundColor",
|
|
552
552
|
themeKey: "palette",
|
|
553
|
-
transform:
|
|
553
|
+
transform: te
|
|
554
554
|
});
|
|
555
|
-
|
|
555
|
+
$e(ar, sr, lr);
|
|
556
556
|
function P(e) {
|
|
557
557
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
558
558
|
}
|
|
559
|
-
const
|
|
559
|
+
const cr = R({
|
|
560
560
|
prop: "width",
|
|
561
561
|
transform: P
|
|
562
|
-
}),
|
|
562
|
+
}), Me = (e) => {
|
|
563
563
|
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
564
564
|
const t = (r) => {
|
|
565
565
|
var o, a, l, c, f;
|
|
566
|
-
const n = ((l = (a = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : a.values) == null ? void 0 : l[r]) ||
|
|
566
|
+
const n = ((l = (a = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : a.values) == null ? void 0 : l[r]) || be[r];
|
|
567
567
|
return n ? ((f = (c = e.theme) == null ? void 0 : c.breakpoints) == null ? void 0 : f.unit) !== "px" ? {
|
|
568
568
|
maxWidth: `${n}${e.theme.breakpoints.unit}`
|
|
569
569
|
} : {
|
|
@@ -572,21 +572,21 @@ const pr = R({
|
|
|
572
572
|
maxWidth: P(r)
|
|
573
573
|
};
|
|
574
574
|
};
|
|
575
|
-
return
|
|
575
|
+
return G(e, e.maxWidth, t);
|
|
576
576
|
}
|
|
577
577
|
return null;
|
|
578
578
|
};
|
|
579
|
-
|
|
580
|
-
const
|
|
579
|
+
Me.filterProps = ["maxWidth"];
|
|
580
|
+
const ur = R({
|
|
581
581
|
prop: "minWidth",
|
|
582
582
|
transform: P
|
|
583
|
-
}),
|
|
583
|
+
}), fr = R({
|
|
584
584
|
prop: "height",
|
|
585
585
|
transform: P
|
|
586
|
-
}),
|
|
586
|
+
}), dr = R({
|
|
587
587
|
prop: "maxHeight",
|
|
588
588
|
transform: P
|
|
589
|
-
}),
|
|
589
|
+
}), pr = R({
|
|
590
590
|
prop: "minHeight",
|
|
591
591
|
transform: P
|
|
592
592
|
});
|
|
@@ -600,31 +600,31 @@ R({
|
|
|
600
600
|
cssProperty: "height",
|
|
601
601
|
transform: P
|
|
602
602
|
});
|
|
603
|
-
const
|
|
603
|
+
const mr = R({
|
|
604
604
|
prop: "boxSizing"
|
|
605
605
|
});
|
|
606
|
-
|
|
607
|
-
const
|
|
606
|
+
$e(cr, Me, ur, fr, dr, pr, mr);
|
|
607
|
+
const we = {
|
|
608
608
|
// borders
|
|
609
609
|
border: {
|
|
610
610
|
themeKey: "borders",
|
|
611
|
-
transform:
|
|
611
|
+
transform: M
|
|
612
612
|
},
|
|
613
613
|
borderTop: {
|
|
614
614
|
themeKey: "borders",
|
|
615
|
-
transform:
|
|
615
|
+
transform: M
|
|
616
616
|
},
|
|
617
617
|
borderRight: {
|
|
618
618
|
themeKey: "borders",
|
|
619
|
-
transform:
|
|
619
|
+
transform: M
|
|
620
620
|
},
|
|
621
621
|
borderBottom: {
|
|
622
622
|
themeKey: "borders",
|
|
623
|
-
transform:
|
|
623
|
+
transform: M
|
|
624
624
|
},
|
|
625
625
|
borderLeft: {
|
|
626
626
|
themeKey: "borders",
|
|
627
|
-
transform:
|
|
627
|
+
transform: M
|
|
628
628
|
},
|
|
629
629
|
borderColor: {
|
|
630
630
|
themeKey: "palette"
|
|
@@ -643,28 +643,28 @@ const Ie = {
|
|
|
643
643
|
},
|
|
644
644
|
outline: {
|
|
645
645
|
themeKey: "borders",
|
|
646
|
-
transform:
|
|
646
|
+
transform: M
|
|
647
647
|
},
|
|
648
648
|
outlineColor: {
|
|
649
649
|
themeKey: "palette"
|
|
650
650
|
},
|
|
651
651
|
borderRadius: {
|
|
652
652
|
themeKey: "shape.borderRadius",
|
|
653
|
-
style:
|
|
653
|
+
style: Te
|
|
654
654
|
},
|
|
655
655
|
// palette
|
|
656
656
|
color: {
|
|
657
657
|
themeKey: "palette",
|
|
658
|
-
transform:
|
|
658
|
+
transform: te
|
|
659
659
|
},
|
|
660
660
|
bgcolor: {
|
|
661
661
|
themeKey: "palette",
|
|
662
662
|
cssProperty: "backgroundColor",
|
|
663
|
-
transform:
|
|
663
|
+
transform: te
|
|
664
664
|
},
|
|
665
665
|
backgroundColor: {
|
|
666
666
|
themeKey: "palette",
|
|
667
|
-
transform:
|
|
667
|
+
transform: te
|
|
668
668
|
},
|
|
669
669
|
// spacing
|
|
670
670
|
p: {
|
|
@@ -817,13 +817,13 @@ const Ie = {
|
|
|
817
817
|
justifySelf: {},
|
|
818
818
|
// grid
|
|
819
819
|
gap: {
|
|
820
|
-
style:
|
|
820
|
+
style: Ae
|
|
821
821
|
},
|
|
822
822
|
rowGap: {
|
|
823
|
-
style:
|
|
823
|
+
style: ve
|
|
824
824
|
},
|
|
825
825
|
columnGap: {
|
|
826
|
-
style:
|
|
826
|
+
style: xe
|
|
827
827
|
},
|
|
828
828
|
gridColumn: {},
|
|
829
829
|
gridRow: {},
|
|
@@ -852,7 +852,7 @@ const Ie = {
|
|
|
852
852
|
transform: P
|
|
853
853
|
},
|
|
854
854
|
maxWidth: {
|
|
855
|
-
style:
|
|
855
|
+
style: Me
|
|
856
856
|
},
|
|
857
857
|
minWidth: {
|
|
858
858
|
transform: P
|
|
@@ -892,14 +892,14 @@ const Ie = {
|
|
|
892
892
|
themeKey: "typography"
|
|
893
893
|
}
|
|
894
894
|
};
|
|
895
|
-
function
|
|
895
|
+
function gr(...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 hr(e, t) {
|
|
900
900
|
return typeof e == "function" ? e(t) : e;
|
|
901
901
|
}
|
|
902
|
-
function
|
|
902
|
+
function yr() {
|
|
903
903
|
function e(r, n, o, a) {
|
|
904
904
|
const l = {
|
|
905
905
|
[r]: n,
|
|
@@ -921,10 +921,10 @@ function Er() {
|
|
|
921
921
|
return {
|
|
922
922
|
[r]: n
|
|
923
923
|
};
|
|
924
|
-
const p =
|
|
925
|
-
return m ? m(l) :
|
|
926
|
-
let s =
|
|
927
|
-
return g === s && typeof g == "string" && (s =
|
|
924
|
+
const p = Ce(o, d) || {};
|
|
925
|
+
return m ? m(l) : G(l, n, (g) => {
|
|
926
|
+
let s = he(p, h, g);
|
|
927
|
+
return g === s && typeof g == "string" && (s = he(p, h, `${r}${g === "default" ? "" : lt(g)}`, g)), f === !1 ? s : {
|
|
928
928
|
[f]: s
|
|
929
929
|
};
|
|
930
930
|
});
|
|
@@ -936,7 +936,7 @@ function Er() {
|
|
|
936
936
|
} = r || {};
|
|
937
937
|
if (!n)
|
|
938
938
|
return null;
|
|
939
|
-
const a = o.unstable_sxConfig ??
|
|
939
|
+
const a = o.unstable_sxConfig ?? we;
|
|
940
940
|
function l(c) {
|
|
941
941
|
let f = c;
|
|
942
942
|
if (typeof c == "function")
|
|
@@ -945,36 +945,36 @@ function Er() {
|
|
|
945
945
|
return c;
|
|
946
946
|
if (!f)
|
|
947
947
|
return null;
|
|
948
|
-
const d =
|
|
948
|
+
const d = ut(o.breakpoints), h = Object.keys(d);
|
|
949
949
|
let m = d;
|
|
950
950
|
return Object.keys(f).forEach((p) => {
|
|
951
|
-
const b =
|
|
951
|
+
const b = hr(f[p], o);
|
|
952
952
|
if (b != null)
|
|
953
953
|
if (typeof b == "object")
|
|
954
954
|
if (a[p])
|
|
955
|
-
m =
|
|
955
|
+
m = se(m, e(p, b, o, a));
|
|
956
956
|
else {
|
|
957
|
-
const g =
|
|
957
|
+
const g = G({
|
|
958
958
|
theme: o
|
|
959
959
|
}, b, (s) => ({
|
|
960
960
|
[p]: s
|
|
961
961
|
}));
|
|
962
|
-
|
|
962
|
+
gr(g, b) ? m[p] = t({
|
|
963
963
|
sx: b,
|
|
964
964
|
theme: o
|
|
965
|
-
}) : m =
|
|
965
|
+
}) : m = se(m, g);
|
|
966
966
|
}
|
|
967
967
|
else
|
|
968
|
-
m =
|
|
969
|
-
}),
|
|
968
|
+
m = se(m, e(p, b, o, a));
|
|
969
|
+
}), vt(o, ft(h, m));
|
|
970
970
|
}
|
|
971
971
|
return Array.isArray(n) ? n.map(l) : l(n);
|
|
972
972
|
}
|
|
973
973
|
return t;
|
|
974
974
|
}
|
|
975
|
-
const
|
|
976
|
-
|
|
977
|
-
function
|
|
975
|
+
const Oe = yr();
|
|
976
|
+
Oe.filterProps = ["sx"];
|
|
977
|
+
function br(e) {
|
|
978
978
|
for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
|
|
979
979
|
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): */
|
|
980
980
|
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
|
|
@@ -993,7 +993,7 @@ function $r(e) {
|
|
|
993
993
|
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
994
994
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
995
995
|
}
|
|
996
|
-
var
|
|
996
|
+
var Cr = {
|
|
997
997
|
animationIterationCount: 1,
|
|
998
998
|
aspectRatio: 1,
|
|
999
999
|
borderImageOutset: 1,
|
|
@@ -1043,34 +1043,34 @@ var Tr = {
|
|
|
1043
1043
|
strokeOpacity: 1,
|
|
1044
1044
|
strokeWidth: 1
|
|
1045
1045
|
};
|
|
1046
|
-
function
|
|
1046
|
+
function Sr(e) {
|
|
1047
1047
|
var t = /* @__PURE__ */ Object.create(null);
|
|
1048
1048
|
return function(r) {
|
|
1049
1049
|
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
1050
1050
|
};
|
|
1051
1051
|
}
|
|
1052
|
-
var
|
|
1052
|
+
var Er = /[A-Z]|^ms/g, $r = /_EMO_([^_]+?)_([^]*?)_EMO_/g, pt = function(t) {
|
|
1053
1053
|
return t.charCodeAt(1) === 45;
|
|
1054
|
-
},
|
|
1054
|
+
}, Ye = function(t) {
|
|
1055
1055
|
return t != null && typeof t != "boolean";
|
|
1056
|
-
},
|
|
1057
|
-
return
|
|
1058
|
-
}),
|
|
1056
|
+
}, ke = /* @__PURE__ */ Sr(function(e) {
|
|
1057
|
+
return pt(e) ? e : e.replace(Er, "-$&").toLowerCase();
|
|
1058
|
+
}), Ke = function(t, r) {
|
|
1059
1059
|
switch (t) {
|
|
1060
1060
|
case "animation":
|
|
1061
1061
|
case "animationName":
|
|
1062
1062
|
if (typeof r == "string")
|
|
1063
|
-
return r.replace(
|
|
1064
|
-
return
|
|
1063
|
+
return r.replace($r, function(n, o, a) {
|
|
1064
|
+
return K = {
|
|
1065
1065
|
name: o,
|
|
1066
1066
|
styles: a,
|
|
1067
|
-
next:
|
|
1067
|
+
next: K
|
|
1068
1068
|
}, o;
|
|
1069
1069
|
});
|
|
1070
1070
|
}
|
|
1071
|
-
return
|
|
1071
|
+
return Cr[t] !== 1 && !pt(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
1072
1072
|
};
|
|
1073
|
-
function
|
|
1073
|
+
function ye(e, t, r) {
|
|
1074
1074
|
if (r == null)
|
|
1075
1075
|
return "";
|
|
1076
1076
|
var n = r;
|
|
@@ -1082,50 +1082,50 @@ function Se(e, t, r) {
|
|
|
1082
1082
|
case "object": {
|
|
1083
1083
|
var o = r;
|
|
1084
1084
|
if (o.anim === 1)
|
|
1085
|
-
return
|
|
1085
|
+
return K = {
|
|
1086
1086
|
name: o.name,
|
|
1087
1087
|
styles: o.styles,
|
|
1088
|
-
next:
|
|
1088
|
+
next: K
|
|
1089
1089
|
}, o.name;
|
|
1090
1090
|
var a = r;
|
|
1091
1091
|
if (a.styles !== void 0) {
|
|
1092
1092
|
var l = a.next;
|
|
1093
1093
|
if (l !== void 0)
|
|
1094
1094
|
for (; l !== void 0; )
|
|
1095
|
-
|
|
1095
|
+
K = {
|
|
1096
1096
|
name: l.name,
|
|
1097
1097
|
styles: l.styles,
|
|
1098
|
-
next:
|
|
1098
|
+
next: K
|
|
1099
1099
|
}, l = l.next;
|
|
1100
1100
|
var c = a.styles + ";";
|
|
1101
1101
|
return c;
|
|
1102
1102
|
}
|
|
1103
|
-
return
|
|
1103
|
+
return Tr(e, t, r);
|
|
1104
1104
|
}
|
|
1105
1105
|
}
|
|
1106
1106
|
var f = r;
|
|
1107
1107
|
return f;
|
|
1108
1108
|
}
|
|
1109
|
-
function
|
|
1109
|
+
function Tr(e, t, r) {
|
|
1110
1110
|
var n = "";
|
|
1111
1111
|
if (Array.isArray(r))
|
|
1112
1112
|
for (var o = 0; o < r.length; o++)
|
|
1113
|
-
n +=
|
|
1113
|
+
n += ye(e, t, r[o]) + ";";
|
|
1114
1114
|
else
|
|
1115
1115
|
for (var a in r) {
|
|
1116
1116
|
var l = r[a];
|
|
1117
1117
|
if (typeof l != "object") {
|
|
1118
1118
|
var c = l;
|
|
1119
|
-
|
|
1119
|
+
Ye(c) && (n += ke(a) + ":" + Ke(a, c) + ";");
|
|
1120
1120
|
} else if (Array.isArray(l) && typeof l[0] == "string" && t == null)
|
|
1121
1121
|
for (var f = 0; f < l.length; f++)
|
|
1122
|
-
|
|
1122
|
+
Ye(l[f]) && (n += ke(a) + ":" + Ke(a, l[f]) + ";");
|
|
1123
1123
|
else {
|
|
1124
|
-
var d =
|
|
1124
|
+
var d = ye(e, t, l);
|
|
1125
1125
|
switch (a) {
|
|
1126
1126
|
case "animation":
|
|
1127
1127
|
case "animationName": {
|
|
1128
|
-
n +=
|
|
1128
|
+
n += ke(a) + ":" + d + ";";
|
|
1129
1129
|
break;
|
|
1130
1130
|
}
|
|
1131
1131
|
default:
|
|
@@ -1135,57 +1135,57 @@ function wr(e, t, r) {
|
|
|
1135
1135
|
}
|
|
1136
1136
|
return n;
|
|
1137
1137
|
}
|
|
1138
|
-
var
|
|
1139
|
-
function
|
|
1138
|
+
var He = /label:\s*([^\s;{]+)\s*(;|$)/g, K;
|
|
1139
|
+
function Ar(e, t, r) {
|
|
1140
1140
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
1141
1141
|
return e[0];
|
|
1142
1142
|
var n = !0, o = "";
|
|
1143
|
-
|
|
1143
|
+
K = void 0;
|
|
1144
1144
|
var a = e[0];
|
|
1145
1145
|
if (a == null || a.raw === void 0)
|
|
1146
|
-
n = !1, o +=
|
|
1146
|
+
n = !1, o += ye(r, t, a);
|
|
1147
1147
|
else {
|
|
1148
1148
|
var l = a;
|
|
1149
1149
|
o += l[0];
|
|
1150
1150
|
}
|
|
1151
1151
|
for (var c = 1; c < e.length; c++)
|
|
1152
|
-
if (o +=
|
|
1152
|
+
if (o += ye(r, t, e[c]), n) {
|
|
1153
1153
|
var f = a;
|
|
1154
1154
|
o += f[c];
|
|
1155
1155
|
}
|
|
1156
|
-
|
|
1157
|
-
for (var d = "", h; (h =
|
|
1156
|
+
He.lastIndex = 0;
|
|
1157
|
+
for (var d = "", h; (h = He.exec(o)) !== null; )
|
|
1158
1158
|
d += "-" + h[1];
|
|
1159
|
-
var m =
|
|
1159
|
+
var m = br(o) + d;
|
|
1160
1160
|
return {
|
|
1161
1161
|
name: m,
|
|
1162
1162
|
styles: o,
|
|
1163
|
-
next:
|
|
1163
|
+
next: K
|
|
1164
1164
|
};
|
|
1165
1165
|
}
|
|
1166
1166
|
/**
|
|
1167
|
-
* @mui/styled-engine v7.1.
|
|
1167
|
+
* @mui/styled-engine v7.1.1
|
|
1168
1168
|
*
|
|
1169
1169
|
* @license MIT
|
|
1170
1170
|
* This source code is licensed under the MIT license found in the
|
|
1171
1171
|
* LICENSE file in the root directory of this source tree.
|
|
1172
1172
|
*/
|
|
1173
|
-
function
|
|
1174
|
-
const r =
|
|
1173
|
+
function _n(e, t) {
|
|
1174
|
+
const r = $t(e, t);
|
|
1175
1175
|
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
1176
1176
|
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
1177
1177
|
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(`
|
|
1178
1178
|
`)) : n.some((a) => a === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...n);
|
|
1179
1179
|
} : r;
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1181
|
+
function kn(e, t) {
|
|
1182
1182
|
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
|
|
1183
1183
|
}
|
|
1184
|
-
const
|
|
1185
|
-
function
|
|
1186
|
-
return
|
|
1184
|
+
const qe = [];
|
|
1185
|
+
function Rn(e) {
|
|
1186
|
+
return qe[0] = e, Ar(qe);
|
|
1187
1187
|
}
|
|
1188
|
-
const
|
|
1188
|
+
const xr = (e) => {
|
|
1189
1189
|
const t = Object.keys(e).map((r) => ({
|
|
1190
1190
|
key: r,
|
|
1191
1191
|
val: e[r]
|
|
@@ -1195,7 +1195,7 @@ const _r = (e) => {
|
|
|
1195
1195
|
[n.key]: n.val
|
|
1196
1196
|
}), {});
|
|
1197
1197
|
};
|
|
1198
|
-
function
|
|
1198
|
+
function vr(e) {
|
|
1199
1199
|
const {
|
|
1200
1200
|
// The breakpoint **start** at this value.
|
|
1201
1201
|
// For instance with the first breakpoint xs: [xs, sm).
|
|
@@ -1214,7 +1214,7 @@ function kr(e) {
|
|
|
1214
1214
|
unit: r = "px",
|
|
1215
1215
|
step: n = 5,
|
|
1216
1216
|
...o
|
|
1217
|
-
} = e, a =
|
|
1217
|
+
} = e, a = xr(t), l = Object.keys(a);
|
|
1218
1218
|
function c(p) {
|
|
1219
1219
|
return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r})`;
|
|
1220
1220
|
}
|
|
@@ -1244,10 +1244,10 @@ function kr(e) {
|
|
|
1244
1244
|
...o
|
|
1245
1245
|
};
|
|
1246
1246
|
}
|
|
1247
|
-
const
|
|
1247
|
+
const wr = {
|
|
1248
1248
|
borderRadius: 4
|
|
1249
1249
|
};
|
|
1250
|
-
function
|
|
1250
|
+
function mt(e = 8, t = Pe({
|
|
1251
1251
|
spacing: e
|
|
1252
1252
|
})) {
|
|
1253
1253
|
if (e.mui)
|
|
@@ -1258,7 +1258,7 @@ function yt(e = 8, t = Le({
|
|
|
1258
1258
|
}).join(" "));
|
|
1259
1259
|
return r.mui = !0, r;
|
|
1260
1260
|
}
|
|
1261
|
-
function
|
|
1261
|
+
function Or(e, t) {
|
|
1262
1262
|
var n;
|
|
1263
1263
|
const r = this;
|
|
1264
1264
|
if (r.vars) {
|
|
@@ -1271,15 +1271,15 @@ function Ir(e, t) {
|
|
|
1271
1271
|
}
|
|
1272
1272
|
return r.palette.mode === e ? t : {};
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1274
|
+
function _r(e = {}, ...t) {
|
|
1275
1275
|
const {
|
|
1276
1276
|
breakpoints: r = {},
|
|
1277
1277
|
palette: n = {},
|
|
1278
1278
|
spacing: o,
|
|
1279
1279
|
shape: a = {},
|
|
1280
1280
|
...l
|
|
1281
|
-
} = e, c =
|
|
1282
|
-
let d =
|
|
1281
|
+
} = e, c = vr(r), f = mt(o);
|
|
1282
|
+
let d = B({
|
|
1283
1283
|
breakpoints: c,
|
|
1284
1284
|
direction: "ltr",
|
|
1285
1285
|
components: {},
|
|
@@ -1290,25 +1290,62 @@ function Nr(e = {}, ...t) {
|
|
|
1290
1290
|
},
|
|
1291
1291
|
spacing: f,
|
|
1292
1292
|
shape: {
|
|
1293
|
-
...
|
|
1293
|
+
...wr,
|
|
1294
1294
|
...a
|
|
1295
1295
|
}
|
|
1296
1296
|
}, l);
|
|
1297
|
-
return d =
|
|
1298
|
-
...
|
|
1297
|
+
return d = _t(d), d.applyStyles = Or, d = t.reduce((h, m) => B(h, m), d), d.unstable_sxConfig = {
|
|
1298
|
+
...we,
|
|
1299
1299
|
...l == null ? void 0 : l.unstable_sxConfig
|
|
1300
1300
|
}, d.unstable_sx = function(m) {
|
|
1301
|
-
return
|
|
1301
|
+
return Oe({
|
|
1302
1302
|
sx: m,
|
|
1303
1303
|
theme: this
|
|
1304
1304
|
});
|
|
1305
1305
|
}, d;
|
|
1306
1306
|
}
|
|
1307
|
-
|
|
1307
|
+
const Qe = (e) => e, kr = () => {
|
|
1308
|
+
let e = Qe;
|
|
1309
|
+
return {
|
|
1310
|
+
configure(t) {
|
|
1311
|
+
e = t;
|
|
1312
|
+
},
|
|
1313
|
+
generate(t) {
|
|
1314
|
+
return e(t);
|
|
1315
|
+
},
|
|
1316
|
+
reset() {
|
|
1317
|
+
e = Qe;
|
|
1318
|
+
}
|
|
1319
|
+
};
|
|
1320
|
+
}, Rr = kr(), Nr = {
|
|
1321
|
+
active: "active",
|
|
1322
|
+
checked: "checked",
|
|
1323
|
+
completed: "completed",
|
|
1324
|
+
disabled: "disabled",
|
|
1325
|
+
error: "error",
|
|
1326
|
+
expanded: "expanded",
|
|
1327
|
+
focused: "focused",
|
|
1328
|
+
focusVisible: "focusVisible",
|
|
1329
|
+
open: "open",
|
|
1330
|
+
readOnly: "readOnly",
|
|
1331
|
+
required: "required",
|
|
1332
|
+
selected: "selected"
|
|
1333
|
+
};
|
|
1334
|
+
function gt(e, t, r = "Mui") {
|
|
1335
|
+
const n = Nr[t];
|
|
1336
|
+
return n ? `${r}-${n}` : `${Rr.generate(e)}-${t}`;
|
|
1337
|
+
}
|
|
1338
|
+
function Nn(e, t, r = "Mui") {
|
|
1339
|
+
const n = {};
|
|
1340
|
+
return t.forEach((o) => {
|
|
1341
|
+
n[o] = gt(e, o, r);
|
|
1342
|
+
}), n;
|
|
1343
|
+
}
|
|
1344
|
+
function Ir(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
1308
1345
|
return Math.max(t, Math.min(e, r));
|
|
1309
1346
|
}
|
|
1310
|
-
function
|
|
1311
|
-
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),
|
|
1347
|
+
function De(e, t = 0, r = 1) {
|
|
1348
|
+
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), Ir(e, t, r);
|
|
1312
1349
|
}
|
|
1313
1350
|
function Br(e) {
|
|
1314
1351
|
e = e.slice(1);
|
|
@@ -1316,7 +1353,7 @@ function Br(e) {
|
|
|
1316
1353
|
let r = e.match(t);
|
|
1317
1354
|
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(", ")})` : "";
|
|
1318
1355
|
}
|
|
1319
|
-
function
|
|
1356
|
+
function Pr(e) {
|
|
1320
1357
|
const t = e.toString(16);
|
|
1321
1358
|
return t.length === 1 ? `0${t}` : t;
|
|
1322
1359
|
}
|
|
@@ -1328,12 +1365,12 @@ function j(e) {
|
|
|
1328
1365
|
const t = e.indexOf("("), r = e.substring(0, t);
|
|
1329
1366
|
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
|
|
1330
1367
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
1331
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` :
|
|
1368
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : H(9, e));
|
|
1332
1369
|
let n = e.substring(t + 1, e.length - 1), o;
|
|
1333
1370
|
if (r === "color") {
|
|
1334
1371
|
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))
|
|
1335
1372
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
|
|
1336
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` :
|
|
1373
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : H(10, o));
|
|
1337
1374
|
} else
|
|
1338
1375
|
n = n.split(",");
|
|
1339
1376
|
return n = n.map((a) => parseFloat(a)), {
|
|
@@ -1342,17 +1379,17 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
1342
1379
|
colorSpace: o
|
|
1343
1380
|
};
|
|
1344
1381
|
}
|
|
1345
|
-
const
|
|
1382
|
+
const Mr = (e) => {
|
|
1346
1383
|
const t = j(e);
|
|
1347
1384
|
return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
|
|
1348
|
-
},
|
|
1385
|
+
}, ie = (e, t) => {
|
|
1349
1386
|
try {
|
|
1350
|
-
return
|
|
1387
|
+
return Mr(e);
|
|
1351
1388
|
} catch {
|
|
1352
1389
|
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
1353
1390
|
}
|
|
1354
1391
|
};
|
|
1355
|
-
function
|
|
1392
|
+
function _e(e) {
|
|
1356
1393
|
const {
|
|
1357
1394
|
type: t,
|
|
1358
1395
|
colorSpace: r
|
|
@@ -1362,62 +1399,62 @@ function Pe(e) {
|
|
|
1362
1399
|
} = e;
|
|
1363
1400
|
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})`;
|
|
1364
1401
|
}
|
|
1365
|
-
function
|
|
1402
|
+
function In(e) {
|
|
1366
1403
|
if (e.startsWith("#"))
|
|
1367
1404
|
return e;
|
|
1368
1405
|
const {
|
|
1369
1406
|
values: t
|
|
1370
1407
|
} = j(e);
|
|
1371
|
-
return `#${t.map((r, n) =>
|
|
1408
|
+
return `#${t.map((r, n) => Pr(n === 3 ? Math.round(255 * r) : r)).join("")}`;
|
|
1372
1409
|
}
|
|
1373
|
-
function
|
|
1410
|
+
function ht(e) {
|
|
1374
1411
|
e = j(e);
|
|
1375
1412
|
const {
|
|
1376
1413
|
values: t
|
|
1377
1414
|
} = e, r = t[0], n = t[1] / 100, o = t[2] / 100, a = n * Math.min(o, 1 - o), l = (d, h = (d + r / 30) % 12) => o - a * Math.max(Math.min(h - 3, 9 - h, 1), -1);
|
|
1378
1415
|
let c = "rgb";
|
|
1379
1416
|
const f = [Math.round(l(0) * 255), Math.round(l(8) * 255), Math.round(l(4) * 255)];
|
|
1380
|
-
return e.type === "hsla" && (c += "a", f.push(t[3])),
|
|
1417
|
+
return e.type === "hsla" && (c += "a", f.push(t[3])), _e({
|
|
1381
1418
|
type: c,
|
|
1382
1419
|
values: f
|
|
1383
1420
|
});
|
|
1384
1421
|
}
|
|
1385
|
-
function
|
|
1422
|
+
function Ie(e) {
|
|
1386
1423
|
e = j(e);
|
|
1387
|
-
let t = e.type === "hsl" || e.type === "hsla" ? j(
|
|
1424
|
+
let t = e.type === "hsl" || e.type === "hsla" ? j(ht(e)).values : e.values;
|
|
1388
1425
|
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));
|
|
1389
1426
|
}
|
|
1390
|
-
function
|
|
1391
|
-
const r =
|
|
1427
|
+
function Xe(e, t) {
|
|
1428
|
+
const r = Ie(e), n = Ie(t);
|
|
1392
1429
|
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
1393
1430
|
}
|
|
1394
|
-
function
|
|
1395
|
-
return e = j(e), t =
|
|
1431
|
+
function Dr(e, t) {
|
|
1432
|
+
return e = j(e), t = De(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, _e(e);
|
|
1396
1433
|
}
|
|
1397
|
-
function
|
|
1434
|
+
function me(e, t, r) {
|
|
1398
1435
|
try {
|
|
1399
|
-
return
|
|
1436
|
+
return Dr(e, t);
|
|
1400
1437
|
} catch {
|
|
1401
1438
|
return e;
|
|
1402
1439
|
}
|
|
1403
1440
|
}
|
|
1404
|
-
function
|
|
1405
|
-
if (e = j(e), t =
|
|
1441
|
+
function Fe(e, t) {
|
|
1442
|
+
if (e = j(e), t = De(t), e.type.includes("hsl"))
|
|
1406
1443
|
e.values[2] *= 1 - t;
|
|
1407
1444
|
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
1408
1445
|
for (let r = 0; r < 3; r += 1)
|
|
1409
1446
|
e.values[r] *= 1 - t;
|
|
1410
|
-
return
|
|
1447
|
+
return _e(e);
|
|
1411
1448
|
}
|
|
1412
1449
|
function x(e, t, r) {
|
|
1413
1450
|
try {
|
|
1414
|
-
return
|
|
1451
|
+
return Fe(e, t);
|
|
1415
1452
|
} catch {
|
|
1416
1453
|
return e;
|
|
1417
1454
|
}
|
|
1418
1455
|
}
|
|
1419
|
-
function
|
|
1420
|
-
if (e = j(e), t =
|
|
1456
|
+
function Ve(e, t) {
|
|
1457
|
+
if (e = j(e), t = De(t), e.type.includes("hsl"))
|
|
1421
1458
|
e.values[2] += (100 - e.values[2]) * t;
|
|
1422
1459
|
else if (e.type.includes("rgb"))
|
|
1423
1460
|
for (let r = 0; r < 3; r += 1)
|
|
@@ -1425,26 +1462,26 @@ function Ge(e, t) {
|
|
|
1425
1462
|
else if (e.type.includes("color"))
|
|
1426
1463
|
for (let r = 0; r < 3; r += 1)
|
|
1427
1464
|
e.values[r] += (1 - e.values[r]) * t;
|
|
1428
|
-
return
|
|
1465
|
+
return _e(e);
|
|
1429
1466
|
}
|
|
1430
1467
|
function v(e, t, r) {
|
|
1431
1468
|
try {
|
|
1432
|
-
return
|
|
1469
|
+
return Ve(e, t);
|
|
1433
1470
|
} catch {
|
|
1434
1471
|
return e;
|
|
1435
1472
|
}
|
|
1436
1473
|
}
|
|
1437
1474
|
function Fr(e, t = 0.15) {
|
|
1438
|
-
return
|
|
1475
|
+
return Ie(e) > 0.5 ? Fe(e, t) : Ve(e, t);
|
|
1439
1476
|
}
|
|
1440
|
-
function
|
|
1477
|
+
function ge(e, t, r) {
|
|
1441
1478
|
try {
|
|
1442
1479
|
return Fr(e, t);
|
|
1443
1480
|
} catch {
|
|
1444
1481
|
return e;
|
|
1445
1482
|
}
|
|
1446
1483
|
}
|
|
1447
|
-
function
|
|
1484
|
+
function Vr(e = "") {
|
|
1448
1485
|
function t(...n) {
|
|
1449
1486
|
if (!n.length)
|
|
1450
1487
|
return "";
|
|
@@ -1453,12 +1490,12 @@ function Lr(e = "") {
|
|
|
1453
1490
|
}
|
|
1454
1491
|
return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${t(...o)})`;
|
|
1455
1492
|
}
|
|
1456
|
-
const
|
|
1493
|
+
const Je = (e, t, r, n = []) => {
|
|
1457
1494
|
let o = e;
|
|
1458
1495
|
t.forEach((a, l) => {
|
|
1459
1496
|
l === 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]);
|
|
1460
1497
|
});
|
|
1461
|
-
},
|
|
1498
|
+
}, Lr = (e, t, r) => {
|
|
1462
1499
|
function n(o, a = [], l = []) {
|
|
1463
1500
|
Object.entries(o).forEach(([c, f]) => {
|
|
1464
1501
|
(!r || r && !r([...a, c])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...a, c], Array.isArray(f) ? [...l, c] : l) : t([...a, c], f, l));
|
|
@@ -1466,19 +1503,19 @@ const rt = (e, t, r, n = []) => {
|
|
|
1466
1503
|
}
|
|
1467
1504
|
n(e);
|
|
1468
1505
|
}, Wr = (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;
|
|
1469
|
-
function
|
|
1506
|
+
function Re(e, t) {
|
|
1470
1507
|
const {
|
|
1471
1508
|
prefix: r,
|
|
1472
1509
|
shouldSkipGeneratingVar: n
|
|
1473
1510
|
} = t || {}, o = {}, a = {}, l = {};
|
|
1474
|
-
return
|
|
1511
|
+
return Lr(
|
|
1475
1512
|
e,
|
|
1476
1513
|
(c, f, d) => {
|
|
1477
1514
|
if ((typeof f == "string" || typeof f == "number") && (!n || !n(c, f))) {
|
|
1478
1515
|
const h = `--${r ? `${r}-` : ""}${c.join("-")}`, m = Wr(c, f);
|
|
1479
1516
|
Object.assign(o, {
|
|
1480
1517
|
[h]: m
|
|
1481
|
-
}),
|
|
1518
|
+
}), Je(a, c, `var(${h})`, d), Je(l, c, `var(${h}, ${m})`, d);
|
|
1482
1519
|
}
|
|
1483
1520
|
},
|
|
1484
1521
|
(c) => c[0] === "vars"
|
|
@@ -1489,9 +1526,9 @@ function Me(e, t) {
|
|
|
1489
1526
|
varsWithDefaults: l
|
|
1490
1527
|
};
|
|
1491
1528
|
}
|
|
1492
|
-
function
|
|
1529
|
+
function Ur(e, t = {}) {
|
|
1493
1530
|
const {
|
|
1494
|
-
getSelector: r =
|
|
1531
|
+
getSelector: r = S,
|
|
1495
1532
|
disableCssColorScheme: n,
|
|
1496
1533
|
colorSchemeSelector: o
|
|
1497
1534
|
} = t, {
|
|
@@ -1503,45 +1540,45 @@ function jr(e, t = {}) {
|
|
|
1503
1540
|
vars: d,
|
|
1504
1541
|
css: h,
|
|
1505
1542
|
varsWithDefaults: m
|
|
1506
|
-
} =
|
|
1543
|
+
} = Re(f, t);
|
|
1507
1544
|
let p = m;
|
|
1508
1545
|
const b = {}, {
|
|
1509
1546
|
[c]: g,
|
|
1510
1547
|
...s
|
|
1511
1548
|
} = a;
|
|
1512
|
-
if (Object.entries(s || {}).forEach(([E,
|
|
1549
|
+
if (Object.entries(s || {}).forEach(([E, C]) => {
|
|
1513
1550
|
const {
|
|
1514
|
-
vars:
|
|
1515
|
-
css:
|
|
1516
|
-
varsWithDefaults:
|
|
1517
|
-
} =
|
|
1518
|
-
p =
|
|
1519
|
-
css:
|
|
1520
|
-
vars:
|
|
1551
|
+
vars: I,
|
|
1552
|
+
css: W,
|
|
1553
|
+
varsWithDefaults: z
|
|
1554
|
+
} = Re(C, t);
|
|
1555
|
+
p = B(p, z), b[E] = {
|
|
1556
|
+
css: W,
|
|
1557
|
+
vars: I
|
|
1521
1558
|
};
|
|
1522
1559
|
}), g) {
|
|
1523
1560
|
const {
|
|
1524
1561
|
css: E,
|
|
1525
|
-
vars:
|
|
1526
|
-
varsWithDefaults:
|
|
1527
|
-
} =
|
|
1528
|
-
p =
|
|
1562
|
+
vars: C,
|
|
1563
|
+
varsWithDefaults: I
|
|
1564
|
+
} = Re(g, t);
|
|
1565
|
+
p = B(p, I), b[c] = {
|
|
1529
1566
|
css: E,
|
|
1530
|
-
vars:
|
|
1567
|
+
vars: C
|
|
1531
1568
|
};
|
|
1532
1569
|
}
|
|
1533
|
-
function
|
|
1534
|
-
var
|
|
1535
|
-
let
|
|
1536
|
-
if (o === "class" && (
|
|
1537
|
-
if (
|
|
1570
|
+
function S(E, C) {
|
|
1571
|
+
var W, z;
|
|
1572
|
+
let I = o;
|
|
1573
|
+
if (o === "class" && (I = ".%s"), o === "data" && (I = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (I = `[${o}="%s"]`), E) {
|
|
1574
|
+
if (I === "media")
|
|
1538
1575
|
return e.defaultColorScheme === E ? ":root" : {
|
|
1539
|
-
[`@media (prefers-color-scheme: ${((
|
|
1540
|
-
":root":
|
|
1576
|
+
[`@media (prefers-color-scheme: ${((z = (W = a[E]) == null ? void 0 : W.palette) == null ? void 0 : z.mode) || E})`]: {
|
|
1577
|
+
":root": C
|
|
1541
1578
|
}
|
|
1542
1579
|
};
|
|
1543
|
-
if (
|
|
1544
|
-
return e.defaultColorScheme === E ? `:root, ${
|
|
1580
|
+
if (I)
|
|
1581
|
+
return e.defaultColorScheme === E ? `:root, ${I.replace("%s", String(E))}` : I.replace("%s", String(E));
|
|
1545
1582
|
}
|
|
1546
1583
|
return ":root";
|
|
1547
1584
|
}
|
|
@@ -1552,54 +1589,54 @@ function jr(e, t = {}) {
|
|
|
1552
1589
|
...d
|
|
1553
1590
|
};
|
|
1554
1591
|
return Object.entries(b).forEach(([, {
|
|
1555
|
-
vars:
|
|
1592
|
+
vars: C
|
|
1556
1593
|
}]) => {
|
|
1557
|
-
E =
|
|
1594
|
+
E = B(E, C);
|
|
1558
1595
|
}), E;
|
|
1559
1596
|
},
|
|
1560
1597
|
generateStyleSheets: () => {
|
|
1561
|
-
var
|
|
1562
|
-
const E = [],
|
|
1563
|
-
function
|
|
1598
|
+
var re, V;
|
|
1599
|
+
const E = [], C = e.defaultColorScheme || "light";
|
|
1600
|
+
function I(i, y) {
|
|
1564
1601
|
Object.keys(y).length && E.push(typeof i == "string" ? {
|
|
1565
1602
|
[i]: {
|
|
1566
1603
|
...y
|
|
1567
1604
|
}
|
|
1568
1605
|
} : i);
|
|
1569
1606
|
}
|
|
1570
|
-
|
|
1607
|
+
I(r(void 0, {
|
|
1571
1608
|
...h
|
|
1572
1609
|
}), h);
|
|
1573
1610
|
const {
|
|
1574
|
-
[
|
|
1575
|
-
...
|
|
1611
|
+
[C]: W,
|
|
1612
|
+
...z
|
|
1576
1613
|
} = b;
|
|
1577
|
-
if (
|
|
1614
|
+
if (W) {
|
|
1578
1615
|
const {
|
|
1579
1616
|
css: i
|
|
1580
|
-
} =
|
|
1617
|
+
} = W, y = (V = (re = a[C]) == null ? void 0 : re.palette) == null ? void 0 : V.mode, A = !n && y ? {
|
|
1581
1618
|
colorScheme: y,
|
|
1582
1619
|
...i
|
|
1583
1620
|
} : {
|
|
1584
1621
|
...i
|
|
1585
1622
|
};
|
|
1586
|
-
|
|
1623
|
+
I(r(C, {
|
|
1587
1624
|
...A
|
|
1588
1625
|
}), A);
|
|
1589
1626
|
}
|
|
1590
|
-
return Object.entries(
|
|
1627
|
+
return Object.entries(z).forEach(([i, {
|
|
1591
1628
|
css: y
|
|
1592
1629
|
}]) => {
|
|
1593
|
-
var
|
|
1594
|
-
const A = (
|
|
1630
|
+
var fe, de;
|
|
1631
|
+
const A = (de = (fe = a[i]) == null ? void 0 : fe.palette) == null ? void 0 : de.mode, N = !n && A ? {
|
|
1595
1632
|
colorScheme: A,
|
|
1596
1633
|
...y
|
|
1597
1634
|
} : {
|
|
1598
1635
|
...y
|
|
1599
1636
|
};
|
|
1600
|
-
|
|
1601
|
-
...
|
|
1602
|
-
}),
|
|
1637
|
+
I(r(i, {
|
|
1638
|
+
...N
|
|
1639
|
+
}), N);
|
|
1603
1640
|
}), E;
|
|
1604
1641
|
}
|
|
1605
1642
|
};
|
|
@@ -1609,39 +1646,10 @@ function Gr(e) {
|
|
|
1609
1646
|
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)} &` : "&";
|
|
1610
1647
|
};
|
|
1611
1648
|
}
|
|
1612
|
-
|
|
1613
|
-
const r = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
1614
|
-
return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
|
|
1615
|
-
}
|
|
1616
|
-
function z(e) {
|
|
1617
|
-
if (typeof e != "object" || e === null)
|
|
1618
|
-
return !1;
|
|
1619
|
-
const t = Object.getPrototypeOf(e);
|
|
1620
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
1621
|
-
}
|
|
1622
|
-
function St(e) {
|
|
1623
|
-
if (/* @__PURE__ */ Ee.isValidElement(e) || $e.isValidElementType(e) || !z(e))
|
|
1624
|
-
return e;
|
|
1625
|
-
const t = {};
|
|
1626
|
-
return Object.keys(e).forEach((r) => {
|
|
1627
|
-
t[r] = St(e[r]);
|
|
1628
|
-
}), t;
|
|
1629
|
-
}
|
|
1630
|
-
function q(e, t, r = {
|
|
1631
|
-
clone: !0
|
|
1632
|
-
}) {
|
|
1633
|
-
const n = r.clone ? {
|
|
1634
|
-
...e
|
|
1635
|
-
} : e;
|
|
1636
|
-
return z(e) && z(t) && Object.keys(t).forEach((o) => {
|
|
1637
|
-
/* @__PURE__ */ Ee.isValidElement(t[o]) || $e.isValidElementType(t[o]) ? n[o] = t[o] : z(t[o]) && // Avoid prototype pollution
|
|
1638
|
-
Object.prototype.hasOwnProperty.call(e, o) && z(e[o]) ? n[o] = q(e[o], t[o], r) : r.clone ? n[o] = z(t[o]) ? St(t[o]) : t[o] : n[o] = t[o];
|
|
1639
|
-
}), n;
|
|
1640
|
-
}
|
|
1641
|
-
const ce = {
|
|
1649
|
+
const le = {
|
|
1642
1650
|
black: "#000",
|
|
1643
1651
|
white: "#fff"
|
|
1644
|
-
},
|
|
1652
|
+
}, jr = {
|
|
1645
1653
|
50: "#fafafa",
|
|
1646
1654
|
100: "#f5f5f5",
|
|
1647
1655
|
200: "#eeeeee",
|
|
@@ -1686,7 +1694,7 @@ const ce = {
|
|
|
1686
1694
|
A200: "#ff5252",
|
|
1687
1695
|
A400: "#ff1744",
|
|
1688
1696
|
A700: "#d50000"
|
|
1689
|
-
},
|
|
1697
|
+
}, oe = {
|
|
1690
1698
|
50: "#fff3e0",
|
|
1691
1699
|
100: "#ffe0b2",
|
|
1692
1700
|
200: "#ffcc80",
|
|
@@ -1747,7 +1755,7 @@ const ce = {
|
|
|
1747
1755
|
A400: "#00e676",
|
|
1748
1756
|
A700: "#00c853"
|
|
1749
1757
|
};
|
|
1750
|
-
function
|
|
1758
|
+
function yt() {
|
|
1751
1759
|
return {
|
|
1752
1760
|
// The colors used to style the text.
|
|
1753
1761
|
text: {
|
|
@@ -1763,8 +1771,8 @@ function Ct() {
|
|
|
1763
1771
|
// The background colors used to style the surfaces.
|
|
1764
1772
|
// Consistency between these values is important.
|
|
1765
1773
|
background: {
|
|
1766
|
-
paper:
|
|
1767
|
-
default:
|
|
1774
|
+
paper: le.white,
|
|
1775
|
+
default: le.white
|
|
1768
1776
|
},
|
|
1769
1777
|
// The colors used to style the action elements.
|
|
1770
1778
|
action: {
|
|
@@ -1787,11 +1795,11 @@ function Ct() {
|
|
|
1787
1795
|
}
|
|
1788
1796
|
};
|
|
1789
1797
|
}
|
|
1790
|
-
const
|
|
1791
|
-
function
|
|
1798
|
+
const zr = yt();
|
|
1799
|
+
function bt() {
|
|
1792
1800
|
return {
|
|
1793
1801
|
text: {
|
|
1794
|
-
primary:
|
|
1802
|
+
primary: le.white,
|
|
1795
1803
|
secondary: "rgba(255, 255, 255, 0.7)",
|
|
1796
1804
|
disabled: "rgba(255, 255, 255, 0.5)",
|
|
1797
1805
|
icon: "rgba(255, 255, 255, 0.5)"
|
|
@@ -1802,7 +1810,7 @@ function Et() {
|
|
|
1802
1810
|
default: "#121212"
|
|
1803
1811
|
},
|
|
1804
1812
|
action: {
|
|
1805
|
-
active:
|
|
1813
|
+
active: le.white,
|
|
1806
1814
|
hover: "rgba(255, 255, 255, 0.08)",
|
|
1807
1815
|
hoverOpacity: 0.08,
|
|
1808
1816
|
selected: "rgba(255, 255, 255, 0.16)",
|
|
@@ -1816,12 +1824,12 @@ function Et() {
|
|
|
1816
1824
|
}
|
|
1817
1825
|
};
|
|
1818
1826
|
}
|
|
1819
|
-
const
|
|
1820
|
-
function
|
|
1827
|
+
const Ze = bt();
|
|
1828
|
+
function et(e, t, r, n) {
|
|
1821
1829
|
const o = n.light || n, a = n.dark || n * 1.5;
|
|
1822
|
-
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light =
|
|
1830
|
+
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = Ve(e.main, o) : t === "dark" && (e.dark = Fe(e.main, a)));
|
|
1823
1831
|
}
|
|
1824
|
-
function
|
|
1832
|
+
function Yr(e = "light") {
|
|
1825
1833
|
return e === "dark" ? {
|
|
1826
1834
|
main: J[200],
|
|
1827
1835
|
light: J[50],
|
|
@@ -1832,7 +1840,7 @@ function Kr(e = "light") {
|
|
|
1832
1840
|
dark: J[800]
|
|
1833
1841
|
};
|
|
1834
1842
|
}
|
|
1835
|
-
function
|
|
1843
|
+
function Kr(e = "light") {
|
|
1836
1844
|
return e === "dark" ? {
|
|
1837
1845
|
main: Q[200],
|
|
1838
1846
|
light: Q[50],
|
|
@@ -1843,7 +1851,7 @@ function Hr(e = "light") {
|
|
|
1843
1851
|
dark: Q[700]
|
|
1844
1852
|
};
|
|
1845
1853
|
}
|
|
1846
|
-
function
|
|
1854
|
+
function Hr(e = "light") {
|
|
1847
1855
|
return e === "dark" ? {
|
|
1848
1856
|
main: X[500],
|
|
1849
1857
|
light: X[300],
|
|
@@ -1854,7 +1862,7 @@ function qr(e = "light") {
|
|
|
1854
1862
|
dark: X[800]
|
|
1855
1863
|
};
|
|
1856
1864
|
}
|
|
1857
|
-
function
|
|
1865
|
+
function qr(e = "light") {
|
|
1858
1866
|
return e === "dark" ? {
|
|
1859
1867
|
main: Z[400],
|
|
1860
1868
|
light: Z[300],
|
|
@@ -1865,7 +1873,7 @@ function Qr(e = "light") {
|
|
|
1865
1873
|
dark: Z[900]
|
|
1866
1874
|
};
|
|
1867
1875
|
}
|
|
1868
|
-
function
|
|
1876
|
+
function Qr(e = "light") {
|
|
1869
1877
|
return e === "dark" ? {
|
|
1870
1878
|
main: ee[400],
|
|
1871
1879
|
light: ee[300],
|
|
@@ -1876,48 +1884,48 @@ function Xr(e = "light") {
|
|
|
1876
1884
|
dark: ee[900]
|
|
1877
1885
|
};
|
|
1878
1886
|
}
|
|
1879
|
-
function
|
|
1887
|
+
function Xr(e = "light") {
|
|
1880
1888
|
return e === "dark" ? {
|
|
1881
|
-
main:
|
|
1882
|
-
light:
|
|
1883
|
-
dark:
|
|
1889
|
+
main: oe[400],
|
|
1890
|
+
light: oe[300],
|
|
1891
|
+
dark: oe[700]
|
|
1884
1892
|
} : {
|
|
1885
1893
|
main: "#ed6c02",
|
|
1886
1894
|
// closest to orange[800] that pass 3:1.
|
|
1887
|
-
light:
|
|
1888
|
-
dark:
|
|
1895
|
+
light: oe[500],
|
|
1896
|
+
dark: oe[900]
|
|
1889
1897
|
};
|
|
1890
1898
|
}
|
|
1891
|
-
function
|
|
1899
|
+
function Le(e) {
|
|
1892
1900
|
const {
|
|
1893
1901
|
mode: t = "light",
|
|
1894
1902
|
contrastThreshold: r = 3,
|
|
1895
1903
|
tonalOffset: n = 0.2,
|
|
1896
1904
|
...o
|
|
1897
|
-
} = e, a = e.primary ||
|
|
1905
|
+
} = e, a = e.primary || Yr(t), l = e.secondary || Kr(t), c = e.error || Hr(t), f = e.info || qr(t), d = e.success || Qr(t), h = e.warning || Xr(t);
|
|
1898
1906
|
function m(s) {
|
|
1899
|
-
const
|
|
1907
|
+
const S = Xe(s, Ze.text.primary) >= r ? Ze.text.primary : zr.text.primary;
|
|
1900
1908
|
if (process.env.NODE_ENV !== "production") {
|
|
1901
|
-
const w =
|
|
1902
|
-
w < 3 && console.error([`MUI: The contrast ratio of ${w}:1 for ${
|
|
1909
|
+
const w = Xe(s, S);
|
|
1910
|
+
w < 3 && console.error([`MUI: The contrast ratio of ${w}:1 for ${S} on ${s}`, "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(`
|
|
1903
1911
|
`));
|
|
1904
1912
|
}
|
|
1905
|
-
return
|
|
1913
|
+
return S;
|
|
1906
1914
|
}
|
|
1907
1915
|
const p = ({
|
|
1908
1916
|
color: s,
|
|
1909
|
-
name:
|
|
1917
|
+
name: S,
|
|
1910
1918
|
mainShade: w = 500,
|
|
1911
|
-
lightShade:
|
|
1919
|
+
lightShade: F = 300,
|
|
1912
1920
|
darkShade: E = 700
|
|
1913
1921
|
}) => {
|
|
1914
1922
|
if (s = {
|
|
1915
1923
|
...s
|
|
1916
1924
|
}, !s.main && s[w] && (s.main = s[w]), !s.hasOwnProperty("main"))
|
|
1917
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
1918
|
-
The color object needs to have a \`main\` property or a \`${w}\` property.` :
|
|
1925
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${S ? ` (${S})` : ""} provided to augmentColor(color) is invalid.
|
|
1926
|
+
The color object needs to have a \`main\` property or a \`${w}\` property.` : H(11, S ? ` (${S})` : "", w));
|
|
1919
1927
|
if (typeof s.main != "string")
|
|
1920
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
1928
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${S ? ` (${S})` : ""} provided to augmentColor(color) is invalid.
|
|
1921
1929
|
\`color.main\` should be a string, but \`${JSON.stringify(s.main)}\` was provided instead.
|
|
1922
1930
|
|
|
1923
1931
|
Did you intend to use one of the following approaches?
|
|
@@ -1930,14 +1938,14 @@ const theme1 = createTheme({ palette: {
|
|
|
1930
1938
|
|
|
1931
1939
|
const theme2 = createTheme({ palette: {
|
|
1932
1940
|
primary: { main: green[500] },
|
|
1933
|
-
} });` :
|
|
1934
|
-
return
|
|
1941
|
+
} });` : H(12, S ? ` (${S})` : "", JSON.stringify(s.main)));
|
|
1942
|
+
return et(s, "light", F, n), et(s, "dark", E, n), s.contrastText || (s.contrastText = m(s.main)), s;
|
|
1935
1943
|
};
|
|
1936
1944
|
let b;
|
|
1937
|
-
return t === "light" ? b =
|
|
1945
|
+
return t === "light" ? b = yt() : t === "dark" && (b = bt()), process.env.NODE_ENV !== "production" && (b || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), B({
|
|
1938
1946
|
// A collection of common colors.
|
|
1939
1947
|
common: {
|
|
1940
|
-
...
|
|
1948
|
+
...le
|
|
1941
1949
|
},
|
|
1942
1950
|
// prevent mutable object.
|
|
1943
1951
|
// The palette mode, can be light or dark.
|
|
@@ -1976,7 +1984,7 @@ const theme2 = createTheme({ palette: {
|
|
|
1976
1984
|
name: "success"
|
|
1977
1985
|
}),
|
|
1978
1986
|
// The grey colors.
|
|
1979
|
-
grey:
|
|
1987
|
+
grey: jr,
|
|
1980
1988
|
// Used by `getContrastText()` to maximize the contrast between
|
|
1981
1989
|
// the background and the text.
|
|
1982
1990
|
contrastThreshold: r,
|
|
@@ -1992,45 +2000,14 @@ const theme2 = createTheme({ palette: {
|
|
|
1992
2000
|
...b
|
|
1993
2001
|
}, o);
|
|
1994
2002
|
}
|
|
1995
|
-
function
|
|
2003
|
+
function Jr(e) {
|
|
1996
2004
|
const t = {};
|
|
1997
2005
|
return Object.entries(e).forEach((n) => {
|
|
1998
2006
|
const [o, a] = n;
|
|
1999
2007
|
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 || ""}`);
|
|
2000
2008
|
}), t;
|
|
2001
2009
|
}
|
|
2002
|
-
|
|
2003
|
-
let e = it;
|
|
2004
|
-
return {
|
|
2005
|
-
configure(t) {
|
|
2006
|
-
e = t;
|
|
2007
|
-
},
|
|
2008
|
-
generate(t) {
|
|
2009
|
-
return e(t);
|
|
2010
|
-
},
|
|
2011
|
-
reset() {
|
|
2012
|
-
e = it;
|
|
2013
|
-
}
|
|
2014
|
-
};
|
|
2015
|
-
}, tn = en(), rn = {
|
|
2016
|
-
active: "active",
|
|
2017
|
-
checked: "checked",
|
|
2018
|
-
completed: "completed",
|
|
2019
|
-
disabled: "disabled",
|
|
2020
|
-
error: "error",
|
|
2021
|
-
expanded: "expanded",
|
|
2022
|
-
focused: "focused",
|
|
2023
|
-
focusVisible: "focusVisible",
|
|
2024
|
-
open: "open",
|
|
2025
|
-
readOnly: "readOnly",
|
|
2026
|
-
required: "required",
|
|
2027
|
-
selected: "selected"
|
|
2028
|
-
};
|
|
2029
|
-
function $t(e, t, r = "Mui") {
|
|
2030
|
-
const n = rn[t];
|
|
2031
|
-
return n ? `${r}-${n}` : `${tn.generate(e)}-${t}`;
|
|
2032
|
-
}
|
|
2033
|
-
function nn(e, t) {
|
|
2010
|
+
function Zr(e, t) {
|
|
2034
2011
|
return {
|
|
2035
2012
|
toolbar: {
|
|
2036
2013
|
minHeight: 56,
|
|
@@ -2046,15 +2023,15 @@ function nn(e, t) {
|
|
|
2046
2023
|
...t
|
|
2047
2024
|
};
|
|
2048
2025
|
}
|
|
2049
|
-
function
|
|
2026
|
+
function en(e) {
|
|
2050
2027
|
return Math.round(e * 1e5) / 1e5;
|
|
2051
2028
|
}
|
|
2052
|
-
const
|
|
2029
|
+
const tt = {
|
|
2053
2030
|
textTransform: "uppercase"
|
|
2054
|
-
},
|
|
2055
|
-
function
|
|
2031
|
+
}, rt = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
2032
|
+
function tn(e, t) {
|
|
2056
2033
|
const {
|
|
2057
|
-
fontFamily: r =
|
|
2034
|
+
fontFamily: r = rt,
|
|
2058
2035
|
// The default font size of the Material Specification.
|
|
2059
2036
|
fontSize: n = 14,
|
|
2060
2037
|
// px
|
|
@@ -2071,18 +2048,18 @@ function an(e, t) {
|
|
|
2071
2048
|
...m
|
|
2072
2049
|
} = typeof t == "function" ? t(e) : t;
|
|
2073
2050
|
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2074
|
-
const p = n / 14, b = h || ((
|
|
2051
|
+
const p = n / 14, b = h || ((S) => `${S / f * p}rem`), g = (S, w, F, E, C) => ({
|
|
2075
2052
|
fontFamily: r,
|
|
2076
|
-
fontWeight:
|
|
2053
|
+
fontWeight: S,
|
|
2077
2054
|
fontSize: b(w),
|
|
2078
2055
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2079
|
-
lineHeight:
|
|
2056
|
+
lineHeight: F,
|
|
2080
2057
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
2081
2058
|
// across font-families can cause issues with the kerning.
|
|
2082
|
-
...r ===
|
|
2083
|
-
letterSpacing: `${
|
|
2059
|
+
...r === rt ? {
|
|
2060
|
+
letterSpacing: `${en(E / w)}em`
|
|
2084
2061
|
} : {},
|
|
2085
|
-
...
|
|
2062
|
+
...C,
|
|
2086
2063
|
...d
|
|
2087
2064
|
}), s = {
|
|
2088
2065
|
h1: g(o, 96, 1.167, -1.5),
|
|
@@ -2095,9 +2072,9 @@ function an(e, t) {
|
|
|
2095
2072
|
subtitle2: g(l, 14, 1.57, 0.1),
|
|
2096
2073
|
body1: g(a, 16, 1.5, 0.15),
|
|
2097
2074
|
body2: g(a, 14, 1.43, 0.15),
|
|
2098
|
-
button: g(l, 14, 1.75, 0.4,
|
|
2075
|
+
button: g(l, 14, 1.75, 0.4, tt),
|
|
2099
2076
|
caption: g(a, 12, 1.66, 0.4),
|
|
2100
|
-
overline: g(a, 12, 2.66, 1,
|
|
2077
|
+
overline: g(a, 12, 2.66, 1, tt),
|
|
2101
2078
|
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
2102
2079
|
inherit: {
|
|
2103
2080
|
fontFamily: "inherit",
|
|
@@ -2107,7 +2084,7 @@ function an(e, t) {
|
|
|
2107
2084
|
letterSpacing: "inherit"
|
|
2108
2085
|
}
|
|
2109
2086
|
};
|
|
2110
|
-
return
|
|
2087
|
+
return B({
|
|
2111
2088
|
htmlFontSize: f,
|
|
2112
2089
|
pxToRem: b,
|
|
2113
2090
|
fontFamily: r,
|
|
@@ -2122,11 +2099,11 @@ function an(e, t) {
|
|
|
2122
2099
|
// No need to clone deep
|
|
2123
2100
|
});
|
|
2124
2101
|
}
|
|
2125
|
-
const
|
|
2102
|
+
const rn = 0.2, nn = 0.14, on = 0.12;
|
|
2126
2103
|
function O(...e) {
|
|
2127
|
-
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${
|
|
2104
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${rn})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${nn})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${on})`].join(",");
|
|
2128
2105
|
}
|
|
2129
|
-
const
|
|
2106
|
+
const an = ["none", O(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), O(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), O(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), O(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), O(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), O(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), O(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), O(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), O(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), O(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), O(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), O(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), O(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), O(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), O(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), O(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), O(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), O(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), O(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), O(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), O(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), O(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), O(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), O(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], sn = {
|
|
2130
2107
|
// This is the most common easing curve.
|
|
2131
2108
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2132
2109
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -2136,7 +2113,7 @@ const un = ["none", O(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), O(0, 3, 1, -2, 0, 2,
|
|
|
2136
2113
|
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2137
2114
|
// The sharp curve is used by objects that may return to the screen at any time.
|
|
2138
2115
|
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
2139
|
-
},
|
|
2116
|
+
}, ln = {
|
|
2140
2117
|
shortest: 150,
|
|
2141
2118
|
shorter: 200,
|
|
2142
2119
|
short: 250,
|
|
@@ -2149,25 +2126,25 @@ const un = ["none", O(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), O(0, 3, 1, -2, 0, 2,
|
|
|
2149
2126
|
// recommended when something is leaving screen
|
|
2150
2127
|
leavingScreen: 195
|
|
2151
2128
|
};
|
|
2152
|
-
function
|
|
2129
|
+
function nt(e) {
|
|
2153
2130
|
return `${Math.round(e)}ms`;
|
|
2154
2131
|
}
|
|
2155
|
-
function
|
|
2132
|
+
function cn(e) {
|
|
2156
2133
|
if (!e)
|
|
2157
2134
|
return 0;
|
|
2158
2135
|
const t = e / 36;
|
|
2159
2136
|
return Math.min(Math.round((4 + 15 * t ** 0.25 + t / 5) * 10), 3e3);
|
|
2160
2137
|
}
|
|
2161
|
-
function
|
|
2138
|
+
function un(e) {
|
|
2162
2139
|
const t = {
|
|
2163
|
-
...
|
|
2140
|
+
...sn,
|
|
2164
2141
|
...e.easing
|
|
2165
2142
|
}, r = {
|
|
2166
|
-
...
|
|
2143
|
+
...ln,
|
|
2167
2144
|
...e.duration
|
|
2168
2145
|
};
|
|
2169
2146
|
return {
|
|
2170
|
-
getAutoHeightDuration:
|
|
2147
|
+
getAutoHeightDuration: cn,
|
|
2171
2148
|
create: (o = ["all"], a = {}) => {
|
|
2172
2149
|
const {
|
|
2173
2150
|
duration: l = r.standard,
|
|
@@ -2180,14 +2157,14 @@ function mn(e) {
|
|
|
2180
2157
|
!h(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !m(l) && !h(l) && console.error(`MUI: Argument "duration" must be a number or a string but found ${l}.`), h(c) || console.error('MUI: Argument "easing" must be a string.'), !m(f) && !h(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
2181
2158
|
`)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
|
|
2182
2159
|
}
|
|
2183
|
-
return (Array.isArray(o) ? o : [o]).map((h) => `${h} ${typeof l == "string" ? l :
|
|
2160
|
+
return (Array.isArray(o) ? o : [o]).map((h) => `${h} ${typeof l == "string" ? l : nt(l)} ${c} ${typeof f == "string" ? f : nt(f)}`).join(",");
|
|
2184
2161
|
},
|
|
2185
2162
|
...e,
|
|
2186
2163
|
easing: t,
|
|
2187
2164
|
duration: r
|
|
2188
2165
|
};
|
|
2189
2166
|
}
|
|
2190
|
-
const
|
|
2167
|
+
const fn = {
|
|
2191
2168
|
mobileStepper: 1e3,
|
|
2192
2169
|
fab: 1050,
|
|
2193
2170
|
speedDial: 1050,
|
|
@@ -2197,10 +2174,10 @@ const gn = {
|
|
|
2197
2174
|
snackbar: 1400,
|
|
2198
2175
|
tooltip: 1500
|
|
2199
2176
|
};
|
|
2200
|
-
function
|
|
2201
|
-
return
|
|
2177
|
+
function dn(e) {
|
|
2178
|
+
return Y(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
2202
2179
|
}
|
|
2203
|
-
function
|
|
2180
|
+
function Ct(e = {}) {
|
|
2204
2181
|
const t = {
|
|
2205
2182
|
...e
|
|
2206
2183
|
};
|
|
@@ -2208,7 +2185,7 @@ function Tt(e = {}) {
|
|
|
2208
2185
|
const o = Object.entries(n);
|
|
2209
2186
|
for (let a = 0; a < o.length; a++) {
|
|
2210
2187
|
const [l, c] = o[a];
|
|
2211
|
-
!
|
|
2188
|
+
!dn(c) || l.startsWith("unstable_") ? delete n[l] : Y(c) && (n[l] = {
|
|
2212
2189
|
...c
|
|
2213
2190
|
}, r(n[l]));
|
|
2214
2191
|
}
|
|
@@ -2222,7 +2199,7 @@ theme.transitions = createTransitions(theme.transitions || {});
|
|
|
2222
2199
|
|
|
2223
2200
|
export default theme;`;
|
|
2224
2201
|
}
|
|
2225
|
-
function
|
|
2202
|
+
function Be(e = {}, ...t) {
|
|
2226
2203
|
const {
|
|
2227
2204
|
breakpoints: r,
|
|
2228
2205
|
mixins: n = {},
|
|
@@ -2236,30 +2213,30 @@ function Fe(e = {}, ...t) {
|
|
|
2236
2213
|
if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
|
|
2237
2214
|
// `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.
|
|
2238
2215
|
e.generateThemeVars === void 0)
|
|
2239
|
-
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." :
|
|
2240
|
-
const h =
|
|
2241
|
-
let p =
|
|
2242
|
-
mixins:
|
|
2216
|
+
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." : H(20));
|
|
2217
|
+
const h = Le(a), m = _r(e);
|
|
2218
|
+
let p = B(m, {
|
|
2219
|
+
mixins: Zr(m.breakpoints, n),
|
|
2243
2220
|
palette: h,
|
|
2244
2221
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2245
|
-
shadows:
|
|
2246
|
-
typography:
|
|
2247
|
-
transitions:
|
|
2222
|
+
shadows: an.slice(),
|
|
2223
|
+
typography: tn(h, c),
|
|
2224
|
+
transitions: un(l),
|
|
2248
2225
|
zIndex: {
|
|
2249
|
-
...
|
|
2226
|
+
...fn
|
|
2250
2227
|
}
|
|
2251
2228
|
});
|
|
2252
|
-
if (p =
|
|
2253
|
-
const b = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], g = (s,
|
|
2229
|
+
if (p = B(p, d), p = t.reduce((b, g) => B(b, g), p), process.env.NODE_ENV !== "production") {
|
|
2230
|
+
const b = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], g = (s, S) => {
|
|
2254
2231
|
let w;
|
|
2255
2232
|
for (w in s) {
|
|
2256
|
-
const
|
|
2257
|
-
if (b.includes(w) && Object.keys(
|
|
2233
|
+
const F = s[w];
|
|
2234
|
+
if (b.includes(w) && Object.keys(F).length > 0) {
|
|
2258
2235
|
if (process.env.NODE_ENV !== "production") {
|
|
2259
|
-
const E =
|
|
2260
|
-
console.error([`MUI: The \`${
|
|
2236
|
+
const E = gt("", w);
|
|
2237
|
+
console.error([`MUI: The \`${S}\` component increases the CSS specificity of the \`${w}\` internal state.`, "You can not override it like this: ", JSON.stringify(s, null, 2), "", `Instead, you need to use the '&.${E}' syntax:`, JSON.stringify({
|
|
2261
2238
|
root: {
|
|
2262
|
-
[`&.${E}`]:
|
|
2239
|
+
[`&.${E}`]: F
|
|
2263
2240
|
}
|
|
2264
2241
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
2265
2242
|
`));
|
|
@@ -2269,31 +2246,31 @@ function Fe(e = {}, ...t) {
|
|
|
2269
2246
|
}
|
|
2270
2247
|
};
|
|
2271
2248
|
Object.keys(p.components).forEach((s) => {
|
|
2272
|
-
const
|
|
2273
|
-
|
|
2249
|
+
const S = p.components[s].styleOverrides;
|
|
2250
|
+
S && s.startsWith("Mui") && g(S, s);
|
|
2274
2251
|
});
|
|
2275
2252
|
}
|
|
2276
2253
|
return p.unstable_sxConfig = {
|
|
2277
|
-
...
|
|
2254
|
+
...we,
|
|
2278
2255
|
...d == null ? void 0 : d.unstable_sxConfig
|
|
2279
2256
|
}, p.unstable_sx = function(g) {
|
|
2280
|
-
return
|
|
2257
|
+
return Oe({
|
|
2281
2258
|
sx: g,
|
|
2282
2259
|
theme: this
|
|
2283
2260
|
});
|
|
2284
|
-
}, p.toRuntimeSource =
|
|
2261
|
+
}, p.toRuntimeSource = Ct, p;
|
|
2285
2262
|
}
|
|
2286
|
-
function
|
|
2263
|
+
function pn(e) {
|
|
2287
2264
|
let t;
|
|
2288
2265
|
return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
|
|
2289
2266
|
}
|
|
2290
|
-
const
|
|
2267
|
+
const mn = [...Array(25)].map((e, t) => {
|
|
2291
2268
|
if (t === 0)
|
|
2292
2269
|
return "none";
|
|
2293
|
-
const r =
|
|
2270
|
+
const r = pn(t);
|
|
2294
2271
|
return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
|
|
2295
2272
|
});
|
|
2296
|
-
function
|
|
2273
|
+
function St(e) {
|
|
2297
2274
|
return {
|
|
2298
2275
|
inputPlaceholder: e === "dark" ? 0.5 : 0.42,
|
|
2299
2276
|
inputUnderline: e === "dark" ? 0.7 : 0.42,
|
|
@@ -2301,10 +2278,10 @@ function At(e) {
|
|
|
2301
2278
|
switchTrack: e === "dark" ? 0.3 : 0.38
|
|
2302
2279
|
};
|
|
2303
2280
|
}
|
|
2304
|
-
function
|
|
2305
|
-
return e === "dark" ?
|
|
2281
|
+
function Et(e) {
|
|
2282
|
+
return e === "dark" ? mn : [];
|
|
2306
2283
|
}
|
|
2307
|
-
function
|
|
2284
|
+
function gn(e) {
|
|
2308
2285
|
const {
|
|
2309
2286
|
palette: t = {
|
|
2310
2287
|
mode: "light"
|
|
@@ -2313,29 +2290,29 @@ function Sn(e) {
|
|
|
2313
2290
|
opacity: r,
|
|
2314
2291
|
overlays: n,
|
|
2315
2292
|
...o
|
|
2316
|
-
} = e, a =
|
|
2293
|
+
} = e, a = Le(t);
|
|
2317
2294
|
return {
|
|
2318
2295
|
palette: a,
|
|
2319
2296
|
opacity: {
|
|
2320
|
-
...
|
|
2297
|
+
...St(a.mode),
|
|
2321
2298
|
...r
|
|
2322
2299
|
},
|
|
2323
|
-
overlays: n ||
|
|
2300
|
+
overlays: n || Et(a.mode),
|
|
2324
2301
|
...o
|
|
2325
2302
|
};
|
|
2326
2303
|
}
|
|
2327
|
-
function
|
|
2304
|
+
function hn(e) {
|
|
2328
2305
|
var t;
|
|
2329
2306
|
return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
|
|
2330
2307
|
e[0] === "palette" && !!((t = e[1]) != null && t.match(/(mode|contrastThreshold|tonalOffset)/));
|
|
2331
2308
|
}
|
|
2332
|
-
const
|
|
2309
|
+
const yn = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], bn = (e) => (t, r) => {
|
|
2333
2310
|
const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
|
|
2334
2311
|
let a = o;
|
|
2335
2312
|
if (o === "class" && (a = ".%s"), o === "data" && (a = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (a = `[${o}="%s"]`), e.defaultColorScheme === t) {
|
|
2336
2313
|
if (t === "dark") {
|
|
2337
2314
|
const l = {};
|
|
2338
|
-
return
|
|
2315
|
+
return yn(e.cssVarPrefix).forEach((c) => {
|
|
2339
2316
|
l[c] = r[c], delete r[c];
|
|
2340
2317
|
}), a === "media" ? {
|
|
2341
2318
|
[n]: r,
|
|
@@ -2366,7 +2343,7 @@ const En = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlay
|
|
|
2366
2343
|
}
|
|
2367
2344
|
return n;
|
|
2368
2345
|
};
|
|
2369
|
-
function
|
|
2346
|
+
function Cn(e, t) {
|
|
2370
2347
|
t.forEach((r) => {
|
|
2371
2348
|
e[r] || (e[r] = {});
|
|
2372
2349
|
});
|
|
@@ -2374,29 +2351,29 @@ function Tn(e, t) {
|
|
|
2374
2351
|
function u(e, t, r) {
|
|
2375
2352
|
!e[t] && r && (e[t] = r);
|
|
2376
2353
|
}
|
|
2377
|
-
function
|
|
2378
|
-
return typeof e != "string" || !e.startsWith("hsl") ? e :
|
|
2354
|
+
function ae(e) {
|
|
2355
|
+
return typeof e != "string" || !e.startsWith("hsl") ? e : ht(e);
|
|
2379
2356
|
}
|
|
2380
2357
|
function U(e, t) {
|
|
2381
|
-
`${t}Channel` in e || (e[`${t}Channel`] = ae(
|
|
2358
|
+
`${t}Channel` in e || (e[`${t}Channel`] = ie(ae(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().
|
|
2382
2359
|
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.`));
|
|
2383
2360
|
}
|
|
2384
|
-
function
|
|
2361
|
+
function Sn(e) {
|
|
2385
2362
|
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
2386
2363
|
}
|
|
2387
|
-
const
|
|
2364
|
+
const L = (e) => {
|
|
2388
2365
|
try {
|
|
2389
2366
|
return e();
|
|
2390
2367
|
} catch {
|
|
2391
2368
|
}
|
|
2392
|
-
},
|
|
2393
|
-
function
|
|
2369
|
+
}, En = (e = "mui") => Vr(e);
|
|
2370
|
+
function Ne(e, t, r, n) {
|
|
2394
2371
|
if (!t)
|
|
2395
2372
|
return;
|
|
2396
2373
|
t = t === !0 ? {} : t;
|
|
2397
2374
|
const o = n === "dark" ? "dark" : "light";
|
|
2398
2375
|
if (!r) {
|
|
2399
|
-
e[n] =
|
|
2376
|
+
e[n] = gn({
|
|
2400
2377
|
...t,
|
|
2401
2378
|
palette: {
|
|
2402
2379
|
mode: o,
|
|
@@ -2408,7 +2385,7 @@ function De(e, t, r, n) {
|
|
|
2408
2385
|
const {
|
|
2409
2386
|
palette: a,
|
|
2410
2387
|
...l
|
|
2411
|
-
} =
|
|
2388
|
+
} = Be({
|
|
2412
2389
|
...r,
|
|
2413
2390
|
palette: {
|
|
2414
2391
|
mode: o,
|
|
@@ -2419,13 +2396,13 @@ function De(e, t, r, n) {
|
|
|
2419
2396
|
...t,
|
|
2420
2397
|
palette: a,
|
|
2421
2398
|
opacity: {
|
|
2422
|
-
...
|
|
2399
|
+
...St(o),
|
|
2423
2400
|
...t == null ? void 0 : t.opacity
|
|
2424
2401
|
},
|
|
2425
|
-
overlays: (t == null ? void 0 : t.overlays) ||
|
|
2402
|
+
overlays: (t == null ? void 0 : t.overlays) || Et(o)
|
|
2426
2403
|
}, l;
|
|
2427
2404
|
}
|
|
2428
|
-
function
|
|
2405
|
+
function $n(e = {}, ...t) {
|
|
2429
2406
|
const {
|
|
2430
2407
|
colorSchemes: r = {
|
|
2431
2408
|
light: !0
|
|
@@ -2433,24 +2410,24 @@ function vn(e = {}, ...t) {
|
|
|
2433
2410
|
defaultColorScheme: n,
|
|
2434
2411
|
disableCssColorScheme: o = !1,
|
|
2435
2412
|
cssVarPrefix: a = "mui",
|
|
2436
|
-
shouldSkipGeneratingVar: l =
|
|
2413
|
+
shouldSkipGeneratingVar: l = hn,
|
|
2437
2414
|
colorSchemeSelector: c = r.light && r.dark ? "media" : void 0,
|
|
2438
2415
|
rootSelector: f = ":root",
|
|
2439
2416
|
...d
|
|
2440
|
-
} = e, h = Object.keys(r)[0], m = n || (r.light && h !== "light" ? "light" : h), p =
|
|
2417
|
+
} = e, h = Object.keys(r)[0], m = n || (r.light && h !== "light" ? "light" : h), p = En(a), {
|
|
2441
2418
|
[m]: b,
|
|
2442
2419
|
light: g,
|
|
2443
2420
|
dark: s,
|
|
2444
|
-
...
|
|
2421
|
+
...S
|
|
2445
2422
|
} = r, w = {
|
|
2446
|
-
...
|
|
2423
|
+
...S
|
|
2447
2424
|
};
|
|
2448
|
-
let
|
|
2449
|
-
if ((m === "dark" && !("dark" in r) || m === "light" && !("light" in r)) && (
|
|
2450
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${m}\` option is either missing or invalid.` :
|
|
2451
|
-
const E =
|
|
2452
|
-
g && !w.light &&
|
|
2453
|
-
let
|
|
2425
|
+
let F = b;
|
|
2426
|
+
if ((m === "dark" && !("dark" in r) || m === "light" && !("light" in r)) && (F = !0), !F)
|
|
2427
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${m}\` option is either missing or invalid.` : H(21, m));
|
|
2428
|
+
const E = Ne(w, F, d, m);
|
|
2429
|
+
g && !w.light && Ne(w, g, void 0, "light"), s && !w.dark && Ne(w, s, void 0, "dark");
|
|
2430
|
+
let C = {
|
|
2454
2431
|
defaultColorScheme: m,
|
|
2455
2432
|
...E,
|
|
2456
2433
|
cssVarPrefix: a,
|
|
@@ -2459,66 +2436,66 @@ function vn(e = {}, ...t) {
|
|
|
2459
2436
|
getCssVar: p,
|
|
2460
2437
|
colorSchemes: w,
|
|
2461
2438
|
font: {
|
|
2462
|
-
...
|
|
2439
|
+
...Jr(E.typography),
|
|
2463
2440
|
...E.font
|
|
2464
2441
|
},
|
|
2465
|
-
spacing:
|
|
2442
|
+
spacing: Sn(d.spacing)
|
|
2466
2443
|
};
|
|
2467
|
-
Object.keys(
|
|
2468
|
-
const i =
|
|
2469
|
-
const
|
|
2470
|
-
return p(A, i[
|
|
2444
|
+
Object.keys(C.colorSchemes).forEach((V) => {
|
|
2445
|
+
const i = C.colorSchemes[V].palette, y = (A) => {
|
|
2446
|
+
const N = A.split("-"), fe = N[1], de = N[2];
|
|
2447
|
+
return p(A, i[fe][de]);
|
|
2471
2448
|
};
|
|
2472
|
-
if (i.mode === "light" && (u(i.common, "background", "#fff"), u(i.common, "onBackground", "#000")), i.mode === "dark" && (u(i.common, "background", "#000"), u(i.common, "onBackground", "#fff")),
|
|
2473
|
-
u(i.Alert, "errorColor", x(i.error.light, 0.6)), u(i.Alert, "infoColor", x(i.info.light, 0.6)), u(i.Alert, "successColor", x(i.success.light, 0.6)), u(i.Alert, "warningColor", x(i.warning.light, 0.6)), u(i.Alert, "errorFilledBg", y("palette-error-main")), u(i.Alert, "infoFilledBg", y("palette-info-main")), u(i.Alert, "successFilledBg", y("palette-success-main")), u(i.Alert, "warningFilledBg", y("palette-warning-main")), u(i.Alert, "errorFilledColor",
|
|
2474
|
-
const A =
|
|
2475
|
-
u(i.SnackbarContent, "bg", A), u(i.SnackbarContent, "color",
|
|
2449
|
+
if (i.mode === "light" && (u(i.common, "background", "#fff"), u(i.common, "onBackground", "#000")), i.mode === "dark" && (u(i.common, "background", "#000"), u(i.common, "onBackground", "#fff")), Cn(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
|
|
2450
|
+
u(i.Alert, "errorColor", x(i.error.light, 0.6)), u(i.Alert, "infoColor", x(i.info.light, 0.6)), u(i.Alert, "successColor", x(i.success.light, 0.6)), u(i.Alert, "warningColor", x(i.warning.light, 0.6)), u(i.Alert, "errorFilledBg", y("palette-error-main")), u(i.Alert, "infoFilledBg", y("palette-info-main")), u(i.Alert, "successFilledBg", y("palette-success-main")), u(i.Alert, "warningFilledBg", y("palette-warning-main")), u(i.Alert, "errorFilledColor", L(() => i.getContrastText(i.error.main))), u(i.Alert, "infoFilledColor", L(() => i.getContrastText(i.info.main))), u(i.Alert, "successFilledColor", L(() => i.getContrastText(i.success.main))), u(i.Alert, "warningFilledColor", L(() => i.getContrastText(i.warning.main))), u(i.Alert, "errorStandardBg", v(i.error.light, 0.9)), u(i.Alert, "infoStandardBg", v(i.info.light, 0.9)), u(i.Alert, "successStandardBg", v(i.success.light, 0.9)), u(i.Alert, "warningStandardBg", v(i.warning.light, 0.9)), u(i.Alert, "errorIconColor", y("palette-error-main")), u(i.Alert, "infoIconColor", y("palette-info-main")), u(i.Alert, "successIconColor", y("palette-success-main")), u(i.Alert, "warningIconColor", y("palette-warning-main")), u(i.AppBar, "defaultBg", y("palette-grey-100")), u(i.Avatar, "defaultBg", y("palette-grey-400")), u(i.Button, "inheritContainedBg", y("palette-grey-300")), u(i.Button, "inheritContainedHoverBg", y("palette-grey-A100")), u(i.Chip, "defaultBorder", y("palette-grey-400")), u(i.Chip, "defaultAvatarColor", y("palette-grey-700")), u(i.Chip, "defaultIconColor", y("palette-grey-700")), u(i.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), u(i.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), u(i.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), u(i.LinearProgress, "primaryBg", v(i.primary.main, 0.62)), u(i.LinearProgress, "secondaryBg", v(i.secondary.main, 0.62)), u(i.LinearProgress, "errorBg", v(i.error.main, 0.62)), u(i.LinearProgress, "infoBg", v(i.info.main, 0.62)), u(i.LinearProgress, "successBg", v(i.success.main, 0.62)), u(i.LinearProgress, "warningBg", v(i.warning.main, 0.62)), u(i.Skeleton, "bg", `rgba(${y("palette-text-primaryChannel")} / 0.11)`), u(i.Slider, "primaryTrack", v(i.primary.main, 0.62)), u(i.Slider, "secondaryTrack", v(i.secondary.main, 0.62)), u(i.Slider, "errorTrack", v(i.error.main, 0.62)), u(i.Slider, "infoTrack", v(i.info.main, 0.62)), u(i.Slider, "successTrack", v(i.success.main, 0.62)), u(i.Slider, "warningTrack", v(i.warning.main, 0.62));
|
|
2451
|
+
const A = ge(i.background.default, 0.8);
|
|
2452
|
+
u(i.SnackbarContent, "bg", A), u(i.SnackbarContent, "color", L(() => i.getContrastText(A))), u(i.SpeedDialAction, "fabHoverBg", ge(i.background.paper, 0.15)), u(i.StepConnector, "border", y("palette-grey-400")), u(i.StepContent, "border", y("palette-grey-400")), u(i.Switch, "defaultColor", y("palette-common-white")), u(i.Switch, "defaultDisabledColor", y("palette-grey-100")), u(i.Switch, "primaryDisabledColor", v(i.primary.main, 0.62)), u(i.Switch, "secondaryDisabledColor", v(i.secondary.main, 0.62)), u(i.Switch, "errorDisabledColor", v(i.error.main, 0.62)), u(i.Switch, "infoDisabledColor", v(i.info.main, 0.62)), u(i.Switch, "successDisabledColor", v(i.success.main, 0.62)), u(i.Switch, "warningDisabledColor", v(i.warning.main, 0.62)), u(i.TableCell, "border", v(me(i.divider, 1), 0.88)), u(i.Tooltip, "bg", me(i.grey[700], 0.92));
|
|
2476
2453
|
}
|
|
2477
2454
|
if (i.mode === "dark") {
|
|
2478
|
-
u(i.Alert, "errorColor", v(i.error.light, 0.6)), u(i.Alert, "infoColor", v(i.info.light, 0.6)), u(i.Alert, "successColor", v(i.success.light, 0.6)), u(i.Alert, "warningColor", v(i.warning.light, 0.6)), u(i.Alert, "errorFilledBg", y("palette-error-dark")), u(i.Alert, "infoFilledBg", y("palette-info-dark")), u(i.Alert, "successFilledBg", y("palette-success-dark")), u(i.Alert, "warningFilledBg", y("palette-warning-dark")), u(i.Alert, "errorFilledColor",
|
|
2479
|
-
const A =
|
|
2480
|
-
u(i.SnackbarContent, "bg", A), u(i.SnackbarContent, "color",
|
|
2455
|
+
u(i.Alert, "errorColor", v(i.error.light, 0.6)), u(i.Alert, "infoColor", v(i.info.light, 0.6)), u(i.Alert, "successColor", v(i.success.light, 0.6)), u(i.Alert, "warningColor", v(i.warning.light, 0.6)), u(i.Alert, "errorFilledBg", y("palette-error-dark")), u(i.Alert, "infoFilledBg", y("palette-info-dark")), u(i.Alert, "successFilledBg", y("palette-success-dark")), u(i.Alert, "warningFilledBg", y("palette-warning-dark")), u(i.Alert, "errorFilledColor", L(() => i.getContrastText(i.error.dark))), u(i.Alert, "infoFilledColor", L(() => i.getContrastText(i.info.dark))), u(i.Alert, "successFilledColor", L(() => i.getContrastText(i.success.dark))), u(i.Alert, "warningFilledColor", L(() => i.getContrastText(i.warning.dark))), u(i.Alert, "errorStandardBg", x(i.error.light, 0.9)), u(i.Alert, "infoStandardBg", x(i.info.light, 0.9)), u(i.Alert, "successStandardBg", x(i.success.light, 0.9)), u(i.Alert, "warningStandardBg", x(i.warning.light, 0.9)), u(i.Alert, "errorIconColor", y("palette-error-main")), u(i.Alert, "infoIconColor", y("palette-info-main")), u(i.Alert, "successIconColor", y("palette-success-main")), u(i.Alert, "warningIconColor", y("palette-warning-main")), u(i.AppBar, "defaultBg", y("palette-grey-900")), u(i.AppBar, "darkBg", y("palette-background-paper")), u(i.AppBar, "darkColor", y("palette-text-primary")), u(i.Avatar, "defaultBg", y("palette-grey-600")), u(i.Button, "inheritContainedBg", y("palette-grey-800")), u(i.Button, "inheritContainedHoverBg", y("palette-grey-700")), u(i.Chip, "defaultBorder", y("palette-grey-700")), u(i.Chip, "defaultAvatarColor", y("palette-grey-300")), u(i.Chip, "defaultIconColor", y("palette-grey-300")), u(i.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), u(i.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), u(i.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), u(i.LinearProgress, "primaryBg", x(i.primary.main, 0.5)), u(i.LinearProgress, "secondaryBg", x(i.secondary.main, 0.5)), u(i.LinearProgress, "errorBg", x(i.error.main, 0.5)), u(i.LinearProgress, "infoBg", x(i.info.main, 0.5)), u(i.LinearProgress, "successBg", x(i.success.main, 0.5)), u(i.LinearProgress, "warningBg", x(i.warning.main, 0.5)), u(i.Skeleton, "bg", `rgba(${y("palette-text-primaryChannel")} / 0.13)`), u(i.Slider, "primaryTrack", x(i.primary.main, 0.5)), u(i.Slider, "secondaryTrack", x(i.secondary.main, 0.5)), u(i.Slider, "errorTrack", x(i.error.main, 0.5)), u(i.Slider, "infoTrack", x(i.info.main, 0.5)), u(i.Slider, "successTrack", x(i.success.main, 0.5)), u(i.Slider, "warningTrack", x(i.warning.main, 0.5));
|
|
2456
|
+
const A = ge(i.background.default, 0.98);
|
|
2457
|
+
u(i.SnackbarContent, "bg", A), u(i.SnackbarContent, "color", L(() => i.getContrastText(A))), u(i.SpeedDialAction, "fabHoverBg", ge(i.background.paper, 0.15)), u(i.StepConnector, "border", y("palette-grey-600")), u(i.StepContent, "border", y("palette-grey-600")), u(i.Switch, "defaultColor", y("palette-grey-300")), u(i.Switch, "defaultDisabledColor", y("palette-grey-600")), u(i.Switch, "primaryDisabledColor", x(i.primary.main, 0.55)), u(i.Switch, "secondaryDisabledColor", x(i.secondary.main, 0.55)), u(i.Switch, "errorDisabledColor", x(i.error.main, 0.55)), u(i.Switch, "infoDisabledColor", x(i.info.main, 0.55)), u(i.Switch, "successDisabledColor", x(i.success.main, 0.55)), u(i.Switch, "warningDisabledColor", x(i.warning.main, 0.55)), u(i.TableCell, "border", x(me(i.divider, 1), 0.68)), u(i.Tooltip, "bg", me(i.grey[700], 0.92));
|
|
2481
2458
|
}
|
|
2482
2459
|
U(i.background, "default"), U(i.background, "paper"), U(i.common, "background"), U(i.common, "onBackground"), U(i, "divider"), Object.keys(i).forEach((A) => {
|
|
2483
|
-
const
|
|
2484
|
-
A !== "tonalOffset" &&
|
|
2460
|
+
const N = i[A];
|
|
2461
|
+
A !== "tonalOffset" && N && typeof N == "object" && (N.main && u(i[A], "mainChannel", ie(ae(N.main))), N.light && u(i[A], "lightChannel", ie(ae(N.light))), N.dark && u(i[A], "darkChannel", ie(ae(N.dark))), N.contrastText && u(i[A], "contrastTextChannel", ie(ae(N.contrastText))), A === "text" && (U(i[A], "primary"), U(i[A], "secondary")), A === "action" && (N.active && U(i[A], "active"), N.selected && U(i[A], "selected")));
|
|
2485
2462
|
});
|
|
2486
|
-
}),
|
|
2487
|
-
const
|
|
2463
|
+
}), C = t.reduce((V, i) => B(V, i), C);
|
|
2464
|
+
const I = {
|
|
2488
2465
|
prefix: a,
|
|
2489
2466
|
disableCssColorScheme: o,
|
|
2490
2467
|
shouldSkipGeneratingVar: l,
|
|
2491
|
-
getSelector:
|
|
2468
|
+
getSelector: bn(C)
|
|
2492
2469
|
}, {
|
|
2493
|
-
vars:
|
|
2494
|
-
generateThemeVars:
|
|
2495
|
-
generateStyleSheets:
|
|
2496
|
-
} =
|
|
2497
|
-
return
|
|
2498
|
-
|
|
2499
|
-
}),
|
|
2500
|
-
return
|
|
2501
|
-
},
|
|
2502
|
-
...
|
|
2470
|
+
vars: W,
|
|
2471
|
+
generateThemeVars: z,
|
|
2472
|
+
generateStyleSheets: re
|
|
2473
|
+
} = Ur(C, I);
|
|
2474
|
+
return C.vars = W, Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([V, i]) => {
|
|
2475
|
+
C[V] = i;
|
|
2476
|
+
}), C.generateThemeVars = z, C.generateStyleSheets = re, C.generateSpacing = function() {
|
|
2477
|
+
return mt(d.spacing, Pe(this));
|
|
2478
|
+
}, C.getColorSchemeSelector = Gr(c), C.spacing = C.generateSpacing(), C.shouldSkipGeneratingVar = l, C.unstable_sxConfig = {
|
|
2479
|
+
...we,
|
|
2503
2480
|
...d == null ? void 0 : d.unstable_sxConfig
|
|
2504
|
-
},
|
|
2505
|
-
return
|
|
2481
|
+
}, C.unstable_sx = function(i) {
|
|
2482
|
+
return Oe({
|
|
2506
2483
|
sx: i,
|
|
2507
2484
|
theme: this
|
|
2508
2485
|
});
|
|
2509
|
-
},
|
|
2486
|
+
}, C.toRuntimeSource = Ct, C;
|
|
2510
2487
|
}
|
|
2511
|
-
function
|
|
2488
|
+
function ot(e, t, r) {
|
|
2512
2489
|
e.colorSchemes && r && (e.colorSchemes[t] = {
|
|
2513
2490
|
...r !== !0 && r,
|
|
2514
|
-
palette:
|
|
2491
|
+
palette: Le({
|
|
2515
2492
|
...r === !0 ? {} : r.palette,
|
|
2516
2493
|
mode: t
|
|
2517
2494
|
})
|
|
2518
2495
|
// cast type to skip module augmentation test
|
|
2519
2496
|
});
|
|
2520
2497
|
}
|
|
2521
|
-
function
|
|
2498
|
+
function Bn(e = {}, ...t) {
|
|
2522
2499
|
const {
|
|
2523
2500
|
palette: r,
|
|
2524
2501
|
cssVariables: n = !1,
|
|
@@ -2538,91 +2515,84 @@ function Dn(e = {}, ...t) {
|
|
|
2538
2515
|
};
|
|
2539
2516
|
if (n === !1) {
|
|
2540
2517
|
if (!("colorSchemes" in e))
|
|
2541
|
-
return
|
|
2518
|
+
return Be(e, ...t);
|
|
2542
2519
|
let h = r;
|
|
2543
2520
|
"palette" in e || d[c] && (d[c] !== !0 ? h = d[c].palette : c === "dark" && (h = {
|
|
2544
2521
|
mode: "dark"
|
|
2545
2522
|
}));
|
|
2546
|
-
const m =
|
|
2523
|
+
const m = Be({
|
|
2547
2524
|
...e,
|
|
2548
2525
|
palette: h
|
|
2549
2526
|
}, ...t);
|
|
2550
2527
|
return m.defaultColorScheme = c, m.colorSchemes = d, m.palette.mode === "light" && (m.colorSchemes.light = {
|
|
2551
2528
|
...d.light !== !0 && d.light,
|
|
2552
2529
|
palette: m.palette
|
|
2553
|
-
},
|
|
2530
|
+
}, ot(m, "dark", d.dark)), m.palette.mode === "dark" && (m.colorSchemes.dark = {
|
|
2554
2531
|
...d.dark !== !0 && d.dark,
|
|
2555
2532
|
palette: m.palette
|
|
2556
|
-
},
|
|
2533
|
+
}, ot(m, "light", d.light)), m;
|
|
2557
2534
|
}
|
|
2558
|
-
return !r && !("light" in d) && c === "light" && (d.light = !0),
|
|
2535
|
+
return !r && !("light" in d) && c === "light" && (d.light = !0), $n({
|
|
2559
2536
|
...l,
|
|
2560
2537
|
colorSchemes: d,
|
|
2561
2538
|
defaultColorScheme: c,
|
|
2562
2539
|
...typeof n != "boolean" && n
|
|
2563
2540
|
}, ...t);
|
|
2564
2541
|
}
|
|
2565
|
-
const
|
|
2566
|
-
function Fn(e, t, r = "Mui") {
|
|
2567
|
-
const n = {};
|
|
2568
|
-
return t.forEach((o) => {
|
|
2569
|
-
n[o] = $t(e, o, r);
|
|
2570
|
-
}), n;
|
|
2571
|
-
}
|
|
2542
|
+
const Pn = "$$material";
|
|
2572
2543
|
export {
|
|
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
|
-
|
|
2602
|
-
yt as a0,
|
|
2544
|
+
mt as $,
|
|
2545
|
+
pn as A,
|
|
2546
|
+
hn as B,
|
|
2547
|
+
tn as C,
|
|
2548
|
+
Zr as D,
|
|
2549
|
+
yn as E,
|
|
2550
|
+
Nn as F,
|
|
2551
|
+
gt as G,
|
|
2552
|
+
vn as H,
|
|
2553
|
+
Y as I,
|
|
2554
|
+
we as J,
|
|
2555
|
+
lt as K,
|
|
2556
|
+
G as L,
|
|
2557
|
+
On as M,
|
|
2558
|
+
Pe as N,
|
|
2559
|
+
B as O,
|
|
2560
|
+
wn as P,
|
|
2561
|
+
_r as Q,
|
|
2562
|
+
ue as R,
|
|
2563
|
+
Ce as S,
|
|
2564
|
+
Pn as T,
|
|
2565
|
+
_n as U,
|
|
2566
|
+
Oe as V,
|
|
2567
|
+
Rr as W,
|
|
2568
|
+
H as X,
|
|
2569
|
+
at as Y,
|
|
2570
|
+
Rn as Z,
|
|
2571
|
+
kn as _,
|
|
2572
|
+
jr as a,
|
|
2603
2573
|
J as b,
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2574
|
+
le as c,
|
|
2575
|
+
In as d,
|
|
2576
|
+
ht as e,
|
|
2607
2577
|
j as f,
|
|
2608
2578
|
ee as g,
|
|
2609
2579
|
Br as h,
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2580
|
+
_e as i,
|
|
2581
|
+
Xe as j,
|
|
2582
|
+
Ie as k,
|
|
2613
2583
|
Z as l,
|
|
2614
2584
|
Fr as m,
|
|
2615
|
-
|
|
2616
|
-
|
|
2585
|
+
Dr as n,
|
|
2586
|
+
oe as o,
|
|
2617
2587
|
Q as p,
|
|
2618
|
-
|
|
2588
|
+
Fe as q,
|
|
2619
2589
|
X as r,
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2590
|
+
Ve as s,
|
|
2591
|
+
vr as t,
|
|
2592
|
+
Bn as u,
|
|
2593
|
+
un as v,
|
|
2594
|
+
ln as w,
|
|
2595
|
+
sn as x,
|
|
2596
|
+
gn as y,
|
|
2597
|
+
$n as z
|
|
2628
2598
|
};
|