@clearstory/drywall-react 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. package/dist/{Accordion-Bjv72dwO.js → Accordion-DCOykts4.js} +8 -7
  2. package/dist/{AccordionActions-OpMdCn2Z.js → AccordionActions-BAiH7fCc.js} +10 -9
  3. package/dist/{AccordionDetails-CgLf6g7z.js → AccordionDetails-m2yw4JWL.js} +12 -11
  4. package/dist/{AccordionSummary-C2WduOvw.js → AccordionSummary-Bcz3kHL3.js} +11 -10
  5. package/dist/{AdapterDayjs-BOLWylMD.js → AdapterDayjs-BrkWLsMH.js} +3 -3
  6. package/dist/{Alert-4WYM0NA5.js → Alert-BAwPio4K.js} +15 -14
  7. package/dist/{AlertTitle-BJh7YkkD.js → AlertTitle-DmUXFJub.js} +13 -12
  8. package/dist/{ArrowDropDown-1q6M8Obd.js → ArrowDropDown-CHZToUze.js} +4 -4
  9. package/dist/{Autocomplete-C9jR7Gz3.js → Autocomplete-BnNe-Ocu.js} +20 -19
  10. package/dist/{Avatar-BW1coVo5.js → Avatar-C331iVZj.js} +14 -13
  11. package/dist/{AvatarGroup-Cymumkbs.js → AvatarGroup-CguRmDSR.js} +15 -14
  12. package/dist/{Backdrop-D9hYyloM.js → Backdrop-DLtFFTHy.js} +13 -12
  13. package/dist/{Badge-CKX_N8SZ.js → Badge-CVhZHphu.js} +13 -12
  14. package/dist/{Box-O7SvtIw8.js → Box-CKDKtm7F.js} +19 -18
  15. package/dist/{Breadcrumbs-BCuC1VRi.js → Breadcrumbs-ze8mc2Zg.js} +9 -8
  16. package/dist/{Button-D5FpepiD.js → Button-B4158Ttr.js} +15 -14
  17. package/dist/{ButtonBase-t_kdVaqI.js → ButtonBase-COzHF9dg.js} +14 -13
  18. package/dist/{ButtonGroup-DejD8J4b.js → ButtonGroup-D-4yW6k2.js} +11 -10
  19. package/dist/{Card-C4KBUbxB.js → Card-Cqms7NUL.js} +13 -12
  20. package/dist/{CardActionArea-CJoEgqCm.js → CardActionArea-B2Ix5eDP.js} +19 -18
  21. package/dist/{CardActions-pYmlOEiI.js → CardActions-CMKGIQ5P.js} +8 -7
  22. package/dist/{CardContent-DeEDpoJu.js → CardContent-BEE7_vOd.js} +12 -11
  23. package/dist/{CardHeader-kp6aSapw.js → CardHeader-CeJ4xLV1.js} +13 -12
  24. package/dist/{CardMedia-CCgHX4bc.js → CardMedia-CjIGijkw.js} +10 -9
  25. package/dist/{Checkbox-BlVkkvFG.js → Checkbox-BlCrwG_a.js} +14 -13
  26. package/dist/{Chip-Dald_f2Y.js → Chip-BzXGbbX1.js} +14 -13
  27. package/dist/{CircularProgress-CjDaz1a_.js → CircularProgress-CE-gUslP.js} +14 -13
  28. package/dist/{Clear-Cp_Sfbwo.js → Clear-ABzw_mBN.js} +1 -1
  29. package/dist/ClickAwayListener-BhNP8Zmy.js +104 -0
  30. package/dist/{Close-CXMaN7wz.js → Close-sCOhjzLZ.js} +1 -1
  31. package/dist/{Collapse-Dled_24V.js → Collapse-54fTKYrR.js} +13 -12
  32. package/dist/{CssBaseline-B8z8Y0X2.js → CssBaseline-dhNsGT6h.js} +3 -3
  33. package/dist/{Datepicker-CqhyyHOO.js → Datepicker-DYDSgJ7Y.js} +90 -89
  34. package/dist/{DefaultPropsProvider-B3clbJFR.js → DefaultPropsProvider-972kdsvD.js} +1 -1
  35. package/dist/{DefaultPropsProvider-PBxTVeaD.js → DefaultPropsProvider-Hks9kyHW.js} +2 -2
  36. package/dist/{Dialog-CgBDoc1Q.js → Dialog-DVIwe9ZI.js} +12 -11
  37. package/dist/{DialogActions-B9aTR1RT.js → DialogActions-CPDvDLrR.js} +19 -18
  38. package/dist/{DialogContent-BQeFmie3.js → DialogContent-CKtOueUR.js} +13 -12
  39. package/dist/{DialogContentText-DTcw2F2t.js → DialogContentText-4wkWrNzG.js} +13 -12
  40. package/dist/{DialogTitle-BKSAT2jz.js → DialogTitle-CKBNYMcR.js} +5 -5
  41. package/dist/{Divider-CN1iZXpV.js → Divider-DANmFTyq.js} +5 -5
  42. package/dist/{Drawer-u9qup5a9.js → Drawer-SY5DxFp0.js} +44 -43
  43. package/dist/{FormControl-D-rAmw3r.js → FormControl-CuHXXTcL.js} +21 -20
  44. package/dist/{FormControlLabel-Dc1NyaPl.js → FormControlLabel-DfKMLiFM.js} +20 -19
  45. package/dist/{FormGroup-C6hX5Rxp.js → FormGroup-CclOJ_ni.js} +10 -9
  46. package/dist/{FormHelperText-BWHhdCfT.js → FormHelperText-wucHHOG8.js} +14 -13
  47. package/dist/{FormLabel-DNn2gpAc.js → FormLabel-CgNd8XLN.js} +21 -20
  48. package/dist/{GlobalStyles-ChwRSWsx.js → GlobalStyles-BEfXiUlZ.js} +3 -3
  49. package/dist/{Grow-DR-owdbZ.js → Grow-C0dChpKD.js} +4 -4
  50. package/dist/{IconButton-CMvCM_Lp.js → IconButton-rSBl8wjc.js} +20 -19
  51. package/dist/{Info-Nc5BG3Yc.js → Info-DtWHV9kz.js} +1 -1
  52. package/dist/{InputAdornment-DbMMP6fx.js → InputAdornment-BpuZG6da.js} +35 -34
  53. package/dist/{InputBase-B6OIIVG0.js → InputBase-CfVedJZK.js} +20 -19
  54. package/dist/{LinearProgress-BhzXKKHq.js → LinearProgress-C7E3wvv7.js} +22 -21
  55. package/dist/{Link-BMYQsA2J.js → Link-DuB1TakW.js} +21 -20
  56. package/dist/{List-BQ82y_D2.js → List-R1y2rt2I.js} +12 -11
  57. package/dist/{ListItem-BTJrs0xk.js → ListItem-YdhXS7jh.js} +10 -9
  58. package/dist/{ListItemAvatar-DMY5yneH.js → ListItemAvatar-Zov7uhBa.js} +16 -15
  59. package/dist/{ListItemButton-DuUhNIFe.js → ListItemButton-Dd8ymeh-.js} +6 -6
  60. package/dist/{ListItemIcon-Cwg5u5_e.js → ListItemIcon-C48tLADF.js} +5 -5
  61. package/dist/{ListItemText-BRX2EYOb.js → ListItemText-C4IUFTAh.js} +5 -5
  62. package/dist/{ListSubheader-CHpW48wG.js → ListSubheader-B2dYS-AB.js} +15 -14
  63. package/dist/Menu-DSTbuLGZ.js +289 -0
  64. package/dist/{MenuItem-B2uAesJs.js → MenuItem-B2Y2sEBv.js} +15 -14
  65. package/dist/{MenuList-G9HnfsX2.js → MenuList-DHWy1THR.js} +3 -2
  66. package/dist/{Modal-DLT528-9.js → Modal-quA3LOv8.js} +15 -14
  67. package/dist/{Paper-DeGJAQE9.js → Paper-DpGDlTnE.js} +17 -16
  68. package/dist/Popover-C4UMEZFM.js +485 -0
  69. package/dist/{Popper-706X-ixW.js → Popper-CEmc3hgj.js} +10 -8
  70. package/dist/{Portal-CkohOYPG.js → Portal-BD1qgEF2.js} +1 -1
  71. package/dist/{Radio-JRcvAFCw.js → Radio-CWGlqtWa.js} +38 -37
  72. package/dist/{RadioGroup-C0A6busY.js → RadioGroup-BA0CQX02.js} +17 -16
  73. package/dist/{Select-tNyTsCta.js → Select-G7DzAygS.js} +17 -16
  74. package/dist/{SelectControl-Bz5THtuf.js → SelectControl-DGAnDeHt.js} +9 -9
  75. package/dist/{Skeleton-B8pM1f3a.js → Skeleton-D9qDjbaT.js} +23 -22
  76. package/dist/Snackbar-B4ylEaa1.js +576 -0
  77. package/dist/{Step-CwOFbDz2.js → Step-C3KsW_sV.js} +13 -12
  78. package/dist/{StepButton-DSXTT103.js → StepButton-Cm9DhOQx.js} +14 -13
  79. package/dist/{StepConnector-BMHzfsfk.js → StepConnector-DK4MJqzZ.js} +15 -14
  80. package/dist/{StepContent-w8xvdrAQ.js → StepContent-Dl6UHgdu.js} +21 -20
  81. package/dist/{StepIcon-Cukq5aE2.js → StepIcon-ElSTT-7B.js} +26 -25
  82. package/dist/{StepLabel-Cy2krTW-.js → StepLabel-B_4bjXGA.js} +12 -11
  83. package/dist/{Stepper-Bm6IDco_.js → Stepper-CMQnaky0.js} +11 -10
  84. package/dist/{SvgIcon-ChnoHwqF.js → SvgIcon-CAF-TTUy.js} +24 -23
  85. package/dist/{Switch-Cvd5G-7l.js → Switch-C72ijhRh.js} +15 -14
  86. package/dist/{SwitchBase-CufBsptm.js → SwitchBase-BxwR-ITa.js} +11 -10
  87. package/dist/{Tab-zSeGVRiK.js → Tab-DpKBtsUw.js} +10 -9
  88. package/dist/{Tabs-Cksd8YLg.js → Tabs-SKtYSjnS.js} +11 -10
  89. package/dist/{ThemeProviderWithVars-bg3WT8UX.js → ThemeProviderWithVars-Cd9Vwf-U.js} +10 -9
  90. package/dist/{Toolbar-UdVSl6Kk.js → Toolbar-Dmu2ceP6.js} +10 -9
  91. package/dist/{Tooltip-CsdchI1h.js → Tooltip-BJmTHiZe.js} +14 -13
  92. package/dist/{Typography-DPs_xiDb.js → Typography-DnNWmNen.js} +16 -15
  93. package/dist/{WarningAmberOutlined-YV5tlDPZ.js → WarningAmberOutlined-Bip82sqV.js} +1 -1
  94. package/dist/{ZoomOut-CoqaIFxD.js → ZoomOut-BsqVAKgf.js} +1 -1
  95. package/dist/components/Accordion/index.js +1 -1
  96. package/dist/components/AccordionActions/index.js +1 -1
  97. package/dist/components/AccordionDetails/index.js +1 -1
  98. package/dist/components/AccordionSummary/index.js +1 -1
  99. package/dist/components/Alert/index.js +1 -1
  100. package/dist/components/AlertTitle/index.js +1 -1
  101. package/dist/components/Autocomplete/Autocomplete.js +2 -2
  102. package/dist/components/Autocomplete/index.js +1 -1
  103. package/dist/components/AutocompleteControl/AutocompleteControl.js +9 -9
  104. package/dist/components/AutocompleteControl/index.js +1 -1
  105. package/dist/components/Avatar/index.js +1 -1
  106. package/dist/components/AvatarGroup/index.js +1 -1
  107. package/dist/components/Backdrop/index.js +1 -1
  108. package/dist/components/Badge/index.js +1 -1
  109. package/dist/components/Box/index.js +1 -1
  110. package/dist/components/Breadcrumbs/index.js +1 -1
  111. package/dist/components/Button/index.js +1 -1
  112. package/dist/components/ButtonBase/index.js +1 -1
  113. package/dist/components/ButtonGroup/index.js +1 -1
  114. package/dist/components/Card/index.js +1 -1
  115. package/dist/components/CardActionArea/index.js +1 -1
  116. package/dist/components/CardActions/index.js +1 -1
  117. package/dist/components/CardContent/index.js +1 -1
  118. package/dist/components/CardHeader/index.js +1 -1
  119. package/dist/components/CardMedia/index.js +1 -1
  120. package/dist/components/Checkbox/index.js +1 -1
  121. package/dist/components/Chip/index.js +1 -1
  122. package/dist/components/CircularProgress/index.js +1 -1
  123. package/dist/components/ClickAwayListener/index.d.ts +2 -0
  124. package/dist/components/ClickAwayListener/index.js +4 -0
  125. package/dist/components/Container/index.js +1 -1
  126. package/dist/components/CssBaseline/index.js +1 -1
  127. package/dist/components/Datepicker/Datepicker.js +3 -3
  128. package/dist/components/Datepicker/index.js +2 -2
  129. package/dist/components/DatepickerControl/DatepickerControl.js +9 -9
  130. package/dist/components/DatepickerControl/index.js +1 -1
  131. package/dist/components/Dialog/index.js +1 -1
  132. package/dist/components/DialogActions/index.js +1 -1
  133. package/dist/components/DialogContent/index.js +1 -1
  134. package/dist/components/DialogContentText/index.js +1 -1
  135. package/dist/components/DialogTitle/index.js +2 -2
  136. package/dist/components/Divider/index.js +2 -2
  137. package/dist/components/Drawer/index.js +1 -1
  138. package/dist/components/FormControl/index.js +1 -1
  139. package/dist/components/FormControlLabel/index.js +1 -1
  140. package/dist/components/FormGroup/index.js +1 -1
  141. package/dist/components/FormHelperText/index.js +1 -1
  142. package/dist/components/FormLabel/index.js +1 -1
  143. package/dist/components/FormSublabel/FormSublabel.js +5 -5
  144. package/dist/components/FormSublabel/index.js +1 -1
  145. package/dist/components/IconButton/index.js +1 -1
  146. package/dist/components/Input/Input.js +1 -1
  147. package/dist/components/InputAdornment/index.js +1 -1
  148. package/dist/components/InputControl/InputControl.js +9 -9
  149. package/dist/components/InputControl/index.js +1 -1
  150. package/dist/components/LinearProgress/index.js +1 -1
  151. package/dist/components/Link/index.js +1 -1
  152. package/dist/components/List/index.js +1 -1
  153. package/dist/components/ListItem/index.js +1 -1
  154. package/dist/components/ListItemAvatar/index.js +1 -1
  155. package/dist/components/ListItemButton/index.js +2 -2
  156. package/dist/components/ListItemIcon/index.js +2 -2
  157. package/dist/components/ListItemText/index.js +2 -2
  158. package/dist/components/ListSubheader/index.js +1 -1
  159. package/dist/components/Menu/index.js +1 -1
  160. package/dist/components/MenuItem/index.js +1 -1
  161. package/dist/components/MenuList/index.js +1 -1
  162. package/dist/components/Paper/index.js +1 -1
  163. package/dist/components/Popover/index.d.ts +2 -0
  164. package/dist/components/Popover/index.js +10 -0
  165. package/dist/components/Popper/index.d.ts +2 -0
  166. package/dist/components/Popper/index.js +5 -0
  167. package/dist/components/Radio/index.js +1 -1
  168. package/dist/components/RadioGroup/index.js +1 -1
  169. package/dist/components/Select/Select.js +1 -1
  170. package/dist/components/Select/index.js +1 -1
  171. package/dist/components/SelectControl/SelectControl.js +9 -9
  172. package/dist/components/SelectControl/index.js +1 -1
  173. package/dist/components/Skeleton/index.js +1 -1
  174. package/dist/components/Snackbar/index.js +1 -1
  175. package/dist/components/Stack/index.js +1 -1
  176. package/dist/components/Step/index.js +1 -1
  177. package/dist/components/StepButton/index.js +1 -1
  178. package/dist/components/StepConnector/index.js +1 -1
  179. package/dist/components/StepContent/index.js +1 -1
  180. package/dist/components/StepIcon/index.js +1 -1
  181. package/dist/components/StepLabel/index.js +1 -1
  182. package/dist/components/Stepper/index.js +1 -1
  183. package/dist/components/SvgIcon/index.js +1 -1
  184. package/dist/components/Switch/index.js +1 -1
  185. package/dist/components/Tab/index.js +1 -1
  186. package/dist/components/Tabs/index.js +1 -1
  187. package/dist/components/ThemeProvider/ThemeProvider.js +1 -1
  188. package/dist/components/ToastContainer/ToastContainer.js +1 -1
  189. package/dist/components/ToastContainer/useToast.js +4 -4
  190. package/dist/components/Toolbar/index.js +1 -1
  191. package/dist/components/Tooltip/index.js +1 -1
  192. package/dist/components/Typography/index.js +1 -1
  193. package/dist/{containerClasses-CeRyE1e2.js → containerClasses-BzFNrSIR.js} +20 -19
  194. package/dist/{createSvgIcon-D1SROVbP.js → createSvgIcon-DHWmMfd-.js} +1 -1
  195. package/dist/createTheme-BnGUhbht.js +2328 -0
  196. package/dist/defaultTheme-B960IsQ-.js +5 -0
  197. package/dist/{dialogTitleClasses-L_U38KY4.js → dialogTitleClasses-Y20vamk3.js} +2 -2
  198. package/dist/{dividerClasses-3YRwzxAH.js → dividerClasses-C13nqEzJ.js} +2 -2
  199. package/dist/{elementAcceptingRef-DYOMXWeA.js → elementAcceptingRef-C0N4y82j.js} +1 -1
  200. package/dist/{elementTypeAcceptingRef-CnEbk7Q_.js → elementTypeAcceptingRef-B2d5_Vhf.js} +1 -1
  201. package/dist/{emotion-react.browser.esm-CNRN7WoC.js → emotion-react.browser.esm-VKtuqypl.js} +1 -1
  202. package/dist/{extendSxProp-BJVEtb89.js → extendSxProp-Ch2FDJvf.js} +1 -1
  203. package/dist/{generateUtilityClasses-CwzvHfCm.js → generateUtilityClasses-njw3KdKN.js} +1 -1
  204. package/dist/{getThemeProps-DT8XKnCO.js → getThemeProps-EVOScHVn.js} +1 -1
  205. package/dist/icons/ClearstoryIcon.js +1 -1
  206. package/dist/icons/InternalOnlyIcon.js +1 -1
  207. package/dist/icons/MoneyBucketIcon.js +1 -1
  208. package/dist/icons/MoreCircleOutlineIcon.js +1 -1
  209. package/dist/icons/index.js +4 -4
  210. package/dist/index-CyAhC1RZ.js +672 -0
  211. package/dist/{index-CcV0p0bw.js → index-D2IRntbh.js} +1 -1
  212. package/dist/{index-RvUJzkTI.js → index-De_dzPp4.js} +4 -4
  213. package/dist/{index-D7UP9u8i.js → index-JqwbD7Nb.js} +2 -2
  214. package/dist/{listItemButtonClasses-DY7lE6xx.js → listItemButtonClasses-B_nV0YiI.js} +2 -2
  215. package/dist/{listItemIconClasses-DZarNdF_.js → listItemIconClasses-CMPPJSFR.js} +2 -2
  216. package/dist/{listItemTextClasses-CMDvgiXw.js → listItemTextClasses-BUDn-rsR.js} +2 -2
  217. package/dist/main.d.ts +3 -0
  218. package/dist/main.js +223 -210
  219. package/dist/{memoTheme-DqlI3JW3.js → memoTheme-R-LnLD8I.js} +1 -1
  220. package/dist/{refType-CCckNw0a.js → refType-CedFpkve.js} +1 -1
  221. package/dist/{stackClasses-DqA89FGy.js → stackClasses-BGzeCt42.js} +22 -21
  222. package/dist/styled-DKUIcd6R.js +5 -0
  223. package/dist/{styled-bJ6DXD3Z.js → styled-fvngWWLy.js} +2 -2
  224. package/dist/theme/colorSchemes.js +1 -1
  225. package/dist/theme/index.js +25 -24
  226. package/dist/theme/internal.js +1 -1
  227. package/dist/{useTheme-BB-P11R3.js → useTheme-CbsaMxqD.js} +2 -2
  228. package/dist/{useTheme-DTBpB7d-.js → useTheme-Cz5y14_g.js} +1 -1
  229. package/dist/{useThemeProps-Dll6b3d8.js → useThemeProps-FvXli9RO.js} +2 -2
  230. package/dist/{utils-OCLAA0Ck.js → utils-CAuCuXQr.js} +1 -1
  231. package/package.json +1 -1
  232. package/dist/Menu-CA0hNHG8.js +0 -752
  233. package/dist/Snackbar-6S8FLk-7.js +0 -672
  234. package/dist/createTheme-D79OrE1w.js +0 -2997
  235. package/dist/defaultTheme-BmQF15Jm.js +0 -5
  236. package/dist/styled-w_4QIfiM.js +0 -5
@@ -0,0 +1,2328 @@
1
+ import { r as te, o as le } from "./orange-DJwLWzIS.js";
2
+ import * as it from "react";
3
+ import { P as ce } from "./index-CyAhC1RZ.js";
4
+ const pe = {
5
+ black: "#000",
6
+ white: "#fff"
7
+ }, re = {
8
+ 50: "#f3e5f5",
9
+ 200: "#ce93d8",
10
+ 300: "#ba68c8",
11
+ 400: "#ab47bc",
12
+ 500: "#9c27b0",
13
+ 700: "#7b1fa2"
14
+ }, ne = {
15
+ 50: "#e3f2fd",
16
+ 200: "#90caf9",
17
+ 400: "#42a5f5",
18
+ 700: "#1976d2",
19
+ 800: "#1565c0"
20
+ }, oe = {
21
+ 300: "#4fc3f7",
22
+ 400: "#29b6f6",
23
+ 500: "#03a9f4",
24
+ 700: "#0288d1",
25
+ 900: "#01579b"
26
+ }, ie = {
27
+ 300: "#81c784",
28
+ 400: "#66bb6a",
29
+ 500: "#4caf50",
30
+ 700: "#388e3c",
31
+ 800: "#2e7d32",
32
+ 900: "#1b5e20"
33
+ }, St = {
34
+ 50: "#fafafa",
35
+ 100: "#f5f5f5",
36
+ 200: "#eeeeee",
37
+ 300: "#e0e0e0",
38
+ 400: "#bdbdbd",
39
+ 500: "#9e9e9e",
40
+ 600: "#757575",
41
+ 700: "#616161",
42
+ 800: "#424242",
43
+ 900: "#212121",
44
+ A100: "#f5f5f5",
45
+ A200: "#eeeeee",
46
+ A400: "#bdbdbd",
47
+ A700: "#616161"
48
+ };
49
+ function H(e, ...t) {
50
+ const r = new URL(`https://mui.com/production-error/?code=${e}`);
51
+ return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
52
+ }
53
+ var he = { exports: {} }, x = {};
54
+ /**
55
+ * @license React
56
+ * react-is.production.js
57
+ *
58
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
59
+ *
60
+ * This source code is licensed under the MIT license found in the
61
+ * LICENSE file in the root directory of this source tree.
62
+ */
63
+ var je;
64
+ function $t() {
65
+ if (je) return x;
66
+ je = 1;
67
+ var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), d = Symbol.for("react.view_transition"), b = Symbol.for("react.client.reference");
68
+ function m(s) {
69
+ if (typeof s == "object" && s !== null) {
70
+ var C = s.$$typeof;
71
+ switch (C) {
72
+ case e:
73
+ switch (s = s.type, s) {
74
+ case r:
75
+ case i:
76
+ case n:
77
+ case f:
78
+ case p:
79
+ case d:
80
+ return s;
81
+ default:
82
+ switch (s = s && s.$$typeof, s) {
83
+ case l:
84
+ case u:
85
+ case h:
86
+ case y:
87
+ return s;
88
+ case a:
89
+ return s;
90
+ default:
91
+ return C;
92
+ }
93
+ }
94
+ case t:
95
+ return C;
96
+ }
97
+ }
98
+ }
99
+ return x.ContextConsumer = a, x.ContextProvider = l, x.Element = e, x.ForwardRef = u, x.Fragment = r, x.Lazy = h, x.Memo = y, x.Portal = t, x.Profiler = i, x.StrictMode = n, x.Suspense = f, x.SuspenseList = p, x.isContextConsumer = function(s) {
100
+ return m(s) === a;
101
+ }, x.isContextProvider = function(s) {
102
+ return m(s) === l;
103
+ }, x.isElement = function(s) {
104
+ return typeof s == "object" && s !== null && s.$$typeof === e;
105
+ }, x.isForwardRef = function(s) {
106
+ return m(s) === u;
107
+ }, x.isFragment = function(s) {
108
+ return m(s) === r;
109
+ }, x.isLazy = function(s) {
110
+ return m(s) === h;
111
+ }, x.isMemo = function(s) {
112
+ return m(s) === y;
113
+ }, x.isPortal = function(s) {
114
+ return m(s) === t;
115
+ }, x.isProfiler = function(s) {
116
+ return m(s) === i;
117
+ }, x.isStrictMode = function(s) {
118
+ return m(s) === n;
119
+ }, x.isSuspense = function(s) {
120
+ return m(s) === f;
121
+ }, x.isSuspenseList = function(s) {
122
+ return m(s) === p;
123
+ }, x.isValidElementType = function(s) {
124
+ return typeof s == "string" || typeof s == "function" || s === r || s === i || s === n || s === f || s === p || typeof s == "object" && s !== null && (s.$$typeof === h || s.$$typeof === y || s.$$typeof === l || s.$$typeof === a || s.$$typeof === u || s.$$typeof === b || s.getModuleId !== void 0);
125
+ }, x.typeOf = m, x;
126
+ }
127
+ var w = {};
128
+ /**
129
+ * @license React
130
+ * react-is.development.js
131
+ *
132
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
133
+ *
134
+ * This source code is licensed under the MIT license found in the
135
+ * LICENSE file in the root directory of this source tree.
136
+ */
137
+ var ze;
138
+ function Et() {
139
+ return ze || (ze = 1, process.env.NODE_ENV !== "production" && (function() {
140
+ function e(s) {
141
+ if (typeof s == "object" && s !== null) {
142
+ var C = s.$$typeof;
143
+ switch (C) {
144
+ case t:
145
+ switch (s = s.type, s) {
146
+ case n:
147
+ case a:
148
+ case i:
149
+ case p:
150
+ case y:
151
+ case b:
152
+ return s;
153
+ default:
154
+ switch (s = s && s.$$typeof, s) {
155
+ case u:
156
+ case f:
157
+ case d:
158
+ case h:
159
+ return s;
160
+ case l:
161
+ return s;
162
+ default:
163
+ return C;
164
+ }
165
+ }
166
+ case r:
167
+ return C;
168
+ }
169
+ }
170
+ }
171
+ var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), l = Symbol.for("react.consumer"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), b = Symbol.for("react.view_transition"), m = Symbol.for("react.client.reference");
172
+ w.ContextConsumer = l, w.ContextProvider = u, w.Element = t, w.ForwardRef = f, w.Fragment = n, w.Lazy = d, w.Memo = h, w.Portal = r, w.Profiler = a, w.StrictMode = i, w.Suspense = p, w.SuspenseList = y, w.isContextConsumer = function(s) {
173
+ return e(s) === l;
174
+ }, w.isContextProvider = function(s) {
175
+ return e(s) === u;
176
+ }, w.isElement = function(s) {
177
+ return typeof s == "object" && s !== null && s.$$typeof === t;
178
+ }, w.isForwardRef = function(s) {
179
+ return e(s) === f;
180
+ }, w.isFragment = function(s) {
181
+ return e(s) === n;
182
+ }, w.isLazy = function(s) {
183
+ return e(s) === d;
184
+ }, w.isMemo = function(s) {
185
+ return e(s) === h;
186
+ }, w.isPortal = function(s) {
187
+ return e(s) === r;
188
+ }, w.isProfiler = function(s) {
189
+ return e(s) === a;
190
+ }, w.isStrictMode = function(s) {
191
+ return e(s) === i;
192
+ }, w.isSuspense = function(s) {
193
+ return e(s) === p;
194
+ }, w.isSuspenseList = function(s) {
195
+ return e(s) === y;
196
+ }, w.isValidElementType = function(s) {
197
+ return typeof s == "string" || typeof s == "function" || s === n || s === a || s === i || s === p || s === y || typeof s == "object" && s !== null && (s.$$typeof === d || s.$$typeof === h || s.$$typeof === u || s.$$typeof === l || s.$$typeof === f || s.$$typeof === m || s.getModuleId !== void 0);
198
+ }, w.typeOf = e;
199
+ })()), w;
200
+ }
201
+ var Ge;
202
+ function Tt() {
203
+ return Ge || (Ge = 1, process.env.NODE_ENV === "production" ? he.exports = /* @__PURE__ */ $t() : he.exports = /* @__PURE__ */ Et()), he.exports;
204
+ }
205
+ var at = /* @__PURE__ */ Tt();
206
+ function K(e) {
207
+ if (typeof e != "object" || e === null)
208
+ return !1;
209
+ const t = Object.getPrototypeOf(e);
210
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
211
+ }
212
+ function st(e) {
213
+ if (/* @__PURE__ */ it.isValidElement(e) || at.isValidElementType(e) || !K(e))
214
+ return e;
215
+ const t = {};
216
+ return Object.keys(e).forEach((r) => {
217
+ t[r] = st(e[r]);
218
+ }), t;
219
+ }
220
+ function D(e, t, r = {
221
+ clone: !0
222
+ }) {
223
+ const n = r.clone ? {
224
+ ...e
225
+ } : e;
226
+ return K(e) && K(t) && Object.keys(t).forEach((i) => {
227
+ /* @__PURE__ */ it.isValidElement(t[i]) || at.isValidElementType(t[i]) ? n[i] = t[i] : K(t[i]) && // Avoid prototype pollution
228
+ Object.prototype.hasOwnProperty.call(e, i) && K(e[i]) ? n[i] = D(e[i], t[i], r) : r.clone ? n[i] = K(t[i]) ? st(t[i]) : t[i] : n[i] = t[i];
229
+ }), n;
230
+ }
231
+ const vt = (e) => {
232
+ const t = Object.keys(e).map((r) => ({
233
+ key: r,
234
+ val: e[r]
235
+ })) || [];
236
+ return t.sort((r, n) => r.val - n.val), t.reduce((r, n) => ({
237
+ ...r,
238
+ [n.key]: n.val
239
+ }), {});
240
+ };
241
+ function xt(e) {
242
+ const {
243
+ // The breakpoint **start** at this value.
244
+ // For instance with the first breakpoint xs: [xs, sm).
245
+ values: t = {
246
+ xs: 0,
247
+ // phone
248
+ sm: 600,
249
+ // tablet
250
+ md: 900,
251
+ // small laptop
252
+ lg: 1200,
253
+ // desktop
254
+ xl: 1536
255
+ // large screen
256
+ },
257
+ unit: r = "px",
258
+ step: n = 5,
259
+ ...i
260
+ } = e, a = vt(t), l = Object.keys(a);
261
+ function u(d) {
262
+ return `@media (min-width:${typeof t[d] == "number" ? t[d] : d}${r})`;
263
+ }
264
+ function f(d) {
265
+ return `@media (max-width:${(typeof t[d] == "number" ? t[d] : d) - n / 100}${r})`;
266
+ }
267
+ function p(d, b) {
268
+ const m = l.indexOf(b);
269
+ return `@media (min-width:${typeof t[d] == "number" ? t[d] : d}${r}) and (max-width:${(m !== -1 && typeof t[l[m]] == "number" ? t[l[m]] : b) - n / 100}${r})`;
270
+ }
271
+ function y(d) {
272
+ return l.indexOf(d) + 1 < l.length ? p(d, l[l.indexOf(d) + 1]) : u(d);
273
+ }
274
+ function h(d) {
275
+ const b = l.indexOf(d);
276
+ return b === 0 ? u(l[1]) : b === l.length - 1 ? f(l[b]) : p(d, l[l.indexOf(d) + 1]).replace("@media", "@media not all and");
277
+ }
278
+ return {
279
+ keys: l,
280
+ values: a,
281
+ up: u,
282
+ down: f,
283
+ between: p,
284
+ only: y,
285
+ not: h,
286
+ unit: r,
287
+ ...i
288
+ };
289
+ }
290
+ function Ye(e, t) {
291
+ if (!e.containerQueries)
292
+ return t;
293
+ const r = Object.keys(t).filter((n) => n.startsWith("@container")).sort((n, i) => {
294
+ const a = /min-width:\s*([0-9.]+)/;
295
+ return +(n.match(a)?.[1] || 0) - +(i.match(a)?.[1] || 0);
296
+ });
297
+ return r.length ? r.reduce((n, i) => {
298
+ const a = t[i];
299
+ return delete n[i], n[i] = a, n;
300
+ }, {
301
+ ...t
302
+ }) : t;
303
+ }
304
+ function wt(e, t) {
305
+ return t === "@" || t.startsWith("@") && (e.some((r) => t.startsWith(`@${r}`)) || !!t.match(/^@\d/));
306
+ }
307
+ function At(e, t) {
308
+ const r = t.match(/^@([^/]+)?\/?(.+)?$/);
309
+ if (!r) {
310
+ if (process.env.NODE_ENV !== "production")
311
+ 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>\`.
312
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : H(18, `(${t})`));
313
+ return null;
314
+ }
315
+ const [, n, i] = r, a = Number.isNaN(+n) ? n || 0 : +n;
316
+ return e.containerQueries(i).up(a);
317
+ }
318
+ function Ot(e) {
319
+ const t = (a, l) => a.replace("@media", l ? `@container ${l}` : "@container");
320
+ function r(a, l) {
321
+ a.up = (...u) => t(e.breakpoints.up(...u), l), a.down = (...u) => t(e.breakpoints.down(...u), l), a.between = (...u) => t(e.breakpoints.between(...u), l), a.only = (...u) => t(e.breakpoints.only(...u), l), a.not = (...u) => {
322
+ const f = t(e.breakpoints.not(...u), l);
323
+ return f.includes("not all and") ? f.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : f;
324
+ };
325
+ }
326
+ const n = {}, i = (a) => (r(n, a), n);
327
+ return r(i), {
328
+ ...e,
329
+ containerQueries: i
330
+ };
331
+ }
332
+ const kt = {
333
+ borderRadius: 4
334
+ }, Q = process.env.NODE_ENV !== "production" ? ce.oneOfType([ce.number, ce.string, ce.object, ce.array]) : {};
335
+ function de(e, t) {
336
+ return t ? D(e, t, {
337
+ clone: !1
338
+ // No need to clone deep, it's way faster.
339
+ }) : e;
340
+ }
341
+ const Ce = {
342
+ xs: 0,
343
+ // phone
344
+ sm: 600,
345
+ // tablet
346
+ md: 900,
347
+ // small laptop
348
+ lg: 1200,
349
+ // desktop
350
+ xl: 1536
351
+ // large screen
352
+ }, Ke = {
353
+ // Sorted ASC by size. That's important.
354
+ // It can't be configured as it's used statically for propTypes.
355
+ keys: ["xs", "sm", "md", "lg", "xl"],
356
+ up: (e) => `@media (min-width:${Ce[e]}px)`
357
+ }, _t = {
358
+ containerQueries: (e) => ({
359
+ up: (t) => {
360
+ let r = typeof t == "number" ? t : Ce[t] || t;
361
+ return typeof r == "number" && (r = `${r}px`), e ? `@container ${e} (min-width:${r})` : `@container (min-width:${r})`;
362
+ }
363
+ })
364
+ };
365
+ function Y(e, t, r) {
366
+ const n = e.theme || {};
367
+ if (Array.isArray(t)) {
368
+ const a = n.breakpoints || Ke;
369
+ return t.reduce((l, u, f) => (l[a.up(a.keys[f])] = r(t[f]), l), {});
370
+ }
371
+ if (typeof t == "object") {
372
+ const a = n.breakpoints || Ke;
373
+ return Object.keys(t).reduce((l, u) => {
374
+ if (wt(a.keys, u)) {
375
+ const f = At(n.containerQueries ? n : _t, u);
376
+ f && (l[f] = r(t[u], u));
377
+ } else if (Object.keys(a.values || Ce).includes(u)) {
378
+ const f = a.up(u);
379
+ l[f] = r(t[u], u);
380
+ } else {
381
+ const f = u;
382
+ l[f] = t[f];
383
+ }
384
+ return l;
385
+ }, {});
386
+ }
387
+ return r(t);
388
+ }
389
+ function lt(e = {}) {
390
+ return e.keys?.reduce((r, n) => {
391
+ const i = e.up(n);
392
+ return r[i] = {}, r;
393
+ }, {}) || {};
394
+ }
395
+ function Pe(e, t) {
396
+ return e.reduce((r, n) => {
397
+ const i = r[n];
398
+ return (!i || Object.keys(i).length === 0) && delete r[n], r;
399
+ }, t);
400
+ }
401
+ function gn(e, ...t) {
402
+ const r = lt(e), n = [r, ...t].reduce((i, a) => D(i, a), {});
403
+ return Pe(Object.keys(r), n);
404
+ }
405
+ function Nt(e, t) {
406
+ if (typeof e != "object")
407
+ return {};
408
+ const r = {}, n = Object.keys(t);
409
+ return Array.isArray(e) ? n.forEach((i, a) => {
410
+ a < e.length && (r[i] = !0);
411
+ }) : n.forEach((i) => {
412
+ e[i] != null && (r[i] = !0);
413
+ }), r;
414
+ }
415
+ function hn({
416
+ values: e,
417
+ breakpoints: t,
418
+ base: r
419
+ }) {
420
+ const n = r || Nt(e, t), i = Object.keys(n);
421
+ if (i.length === 0)
422
+ return e;
423
+ let a;
424
+ return i.reduce((l, u, f) => (Array.isArray(e) ? (l[u] = e[f] != null ? e[f] : e[a], a = f) : typeof e == "object" ? (l[u] = e[u] != null ? e[u] : e[a], a = u) : l[u] = e, l), {});
425
+ }
426
+ function ct(e) {
427
+ if (typeof e != "string")
428
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : H(7));
429
+ return e.charAt(0).toUpperCase() + e.slice(1);
430
+ }
431
+ function Se(e, t, r = !0) {
432
+ if (!t || typeof t != "string")
433
+ return null;
434
+ if (e && e.vars && r) {
435
+ const n = `vars.${t}`.split(".").reduce((i, a) => i && i[a] ? i[a] : null, e);
436
+ if (n != null)
437
+ return n;
438
+ }
439
+ return t.split(".").reduce((n, i) => n && n[i] != null ? n[i] : null, e);
440
+ }
441
+ function be(e, t, r, n = r) {
442
+ let i;
443
+ return typeof e == "function" ? i = e(r) : Array.isArray(e) ? i = e[r] || n : i = Se(e, r) || n, t && (i = t(i, n, e)), i;
444
+ }
445
+ function B(e) {
446
+ const {
447
+ prop: t,
448
+ cssProperty: r = e.prop,
449
+ themeKey: n,
450
+ transform: i
451
+ } = e, a = (l) => {
452
+ if (l[t] == null)
453
+ return null;
454
+ const u = l[t], f = l.theme, p = Se(f, n) || {};
455
+ return Y(l, u, (h) => {
456
+ let d = be(p, i, h);
457
+ return h === d && typeof h == "string" && (d = be(p, i, `${t}${h === "default" ? "" : ct(h)}`, h)), r === !1 ? d : {
458
+ [r]: d
459
+ };
460
+ });
461
+ };
462
+ return a.propTypes = process.env.NODE_ENV !== "production" ? {
463
+ [t]: Q
464
+ } : {}, a.filterProps = [t], a;
465
+ }
466
+ function Rt(e) {
467
+ const t = {};
468
+ return (r) => (t[r] === void 0 && (t[r] = e(r)), t[r]);
469
+ }
470
+ const Bt = {
471
+ m: "margin",
472
+ p: "padding"
473
+ }, It = {
474
+ t: "Top",
475
+ r: "Right",
476
+ b: "Bottom",
477
+ l: "Left",
478
+ x: ["Left", "Right"],
479
+ y: ["Top", "Bottom"]
480
+ }, He = {
481
+ marginX: "mx",
482
+ marginY: "my",
483
+ paddingX: "px",
484
+ paddingY: "py"
485
+ }, Pt = Rt((e) => {
486
+ if (e.length > 2)
487
+ if (He[e])
488
+ e = He[e];
489
+ else
490
+ return [e];
491
+ const [t, r] = e.split(""), n = Bt[t], i = It[r] || "";
492
+ return Array.isArray(i) ? i.map((a) => n + a) : [n + i];
493
+ }), $e = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Ee = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Dt = [...$e, ...Ee];
494
+ function me(e, t, r, n) {
495
+ const i = Se(e, t, !0) ?? r;
496
+ return typeof i == "number" || typeof i == "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 i == "string" ? i.startsWith("var(") && a === 0 ? 0 : i.startsWith("var(") && a === 1 ? i : `calc(${a} * ${i})` : i * a) : Array.isArray(i) ? (a) => {
497
+ if (typeof a == "string")
498
+ return a;
499
+ const l = Math.abs(a);
500
+ process.env.NODE_ENV !== "production" && (Number.isInteger(l) ? l > i.length - 1 && console.error([`MUI: The value provided (${l}) overflows.`, `The supported values are: ${JSON.stringify(i)}.`, `${l} > ${i.length - 1}, you need to add the missing values.`].join(`
501
+ `)) : console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
502
+ `)));
503
+ const u = i[l];
504
+ return a >= 0 ? u : typeof u == "number" ? -u : typeof u == "string" && u.startsWith("var(") ? `calc(-1 * ${u})` : `-${u}`;
505
+ } : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join(`
506
+ `)), () => {
507
+ });
508
+ }
509
+ function Ve(e) {
510
+ return me(e, "spacing", 8, "spacing");
511
+ }
512
+ function ge(e, t) {
513
+ return typeof t == "string" || t == null ? t : e(t);
514
+ }
515
+ function Mt(e, t) {
516
+ return (r) => e.reduce((n, i) => (n[i] = ge(t, r), n), {});
517
+ }
518
+ function Ft(e, t, r, n) {
519
+ if (!t.includes(r))
520
+ return null;
521
+ const i = Pt(r), a = Mt(i, n), l = e[r];
522
+ return Y(e, l, a);
523
+ }
524
+ function ut(e, t) {
525
+ const r = Ve(e.theme);
526
+ return Object.keys(e).map((n) => Ft(e, t, n, r)).reduce(de, {});
527
+ }
528
+ function N(e) {
529
+ return ut(e, $e);
530
+ }
531
+ N.propTypes = process.env.NODE_ENV !== "production" ? $e.reduce((e, t) => (e[t] = Q, e), {}) : {};
532
+ N.filterProps = $e;
533
+ function R(e) {
534
+ return ut(e, Ee);
535
+ }
536
+ R.propTypes = process.env.NODE_ENV !== "production" ? Ee.reduce((e, t) => (e[t] = Q, e), {}) : {};
537
+ R.filterProps = Ee;
538
+ process.env.NODE_ENV !== "production" && Dt.reduce((e, t) => (e[t] = Q, e), {});
539
+ function ft(e = 8, t = Ve({
540
+ spacing: e
541
+ })) {
542
+ if (e.mui)
543
+ return e;
544
+ const r = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((a) => {
545
+ const l = t(a);
546
+ return typeof l == "number" ? `${l}px` : l;
547
+ }).join(" "));
548
+ return r.mui = !0, r;
549
+ }
550
+ function Te(...e) {
551
+ const t = e.reduce((n, i) => (i.filterProps.forEach((a) => {
552
+ n[a] = i;
553
+ }), n), {}), r = (n) => Object.keys(n).reduce((i, a) => t[a] ? de(i, t[a](n)) : i, {});
554
+ return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, i) => Object.assign(n, i.propTypes), {}) : {}, r.filterProps = e.reduce((n, i) => n.concat(i.filterProps), []), r;
555
+ }
556
+ function L(e) {
557
+ return typeof e != "number" ? e : `${e}px solid`;
558
+ }
559
+ function U(e, t) {
560
+ return B({
561
+ prop: e,
562
+ themeKey: "borders",
563
+ transform: t
564
+ });
565
+ }
566
+ const Vt = U("border", L), Lt = U("borderTop", L), Ut = U("borderRight", L), Wt = U("borderBottom", L), jt = U("borderLeft", L), zt = U("borderColor"), Gt = U("borderTopColor"), Yt = U("borderRightColor"), Kt = U("borderBottomColor"), Ht = U("borderLeftColor"), qt = U("outline", L), Qt = U("outlineColor"), ve = (e) => {
567
+ if (e.borderRadius !== void 0 && e.borderRadius !== null) {
568
+ const t = me(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
569
+ borderRadius: ge(t, n)
570
+ });
571
+ return Y(e, e.borderRadius, r);
572
+ }
573
+ return null;
574
+ };
575
+ ve.propTypes = process.env.NODE_ENV !== "production" ? {
576
+ borderRadius: Q
577
+ } : {};
578
+ ve.filterProps = ["borderRadius"];
579
+ Te(Vt, Lt, Ut, Wt, jt, zt, Gt, Yt, Kt, Ht, ve, qt, Qt);
580
+ const xe = (e) => {
581
+ if (e.gap !== void 0 && e.gap !== null) {
582
+ const t = me(e.theme, "spacing", 8, "gap"), r = (n) => ({
583
+ gap: ge(t, n)
584
+ });
585
+ return Y(e, e.gap, r);
586
+ }
587
+ return null;
588
+ };
589
+ xe.propTypes = process.env.NODE_ENV !== "production" ? {
590
+ gap: Q
591
+ } : {};
592
+ xe.filterProps = ["gap"];
593
+ const we = (e) => {
594
+ if (e.columnGap !== void 0 && e.columnGap !== null) {
595
+ const t = me(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
596
+ columnGap: ge(t, n)
597
+ });
598
+ return Y(e, e.columnGap, r);
599
+ }
600
+ return null;
601
+ };
602
+ we.propTypes = process.env.NODE_ENV !== "production" ? {
603
+ columnGap: Q
604
+ } : {};
605
+ we.filterProps = ["columnGap"];
606
+ const Ae = (e) => {
607
+ if (e.rowGap !== void 0 && e.rowGap !== null) {
608
+ const t = me(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
609
+ rowGap: ge(t, n)
610
+ });
611
+ return Y(e, e.rowGap, r);
612
+ }
613
+ return null;
614
+ };
615
+ Ae.propTypes = process.env.NODE_ENV !== "production" ? {
616
+ rowGap: Q
617
+ } : {};
618
+ Ae.filterProps = ["rowGap"];
619
+ const Xt = B({
620
+ prop: "gridColumn"
621
+ }), Jt = B({
622
+ prop: "gridRow"
623
+ }), Zt = B({
624
+ prop: "gridAutoFlow"
625
+ }), er = B({
626
+ prop: "gridAutoColumns"
627
+ }), tr = B({
628
+ prop: "gridAutoRows"
629
+ }), rr = B({
630
+ prop: "gridTemplateColumns"
631
+ }), nr = B({
632
+ prop: "gridTemplateRows"
633
+ }), or = B({
634
+ prop: "gridTemplateAreas"
635
+ }), ir = B({
636
+ prop: "gridArea"
637
+ });
638
+ Te(xe, we, Ae, Xt, Jt, Zt, er, tr, rr, nr, or, ir);
639
+ function ae(e, t) {
640
+ return t === "grey" ? t : e;
641
+ }
642
+ const ar = B({
643
+ prop: "color",
644
+ themeKey: "palette",
645
+ transform: ae
646
+ }), sr = B({
647
+ prop: "bgcolor",
648
+ cssProperty: "backgroundColor",
649
+ themeKey: "palette",
650
+ transform: ae
651
+ }), lr = B({
652
+ prop: "backgroundColor",
653
+ themeKey: "palette",
654
+ transform: ae
655
+ });
656
+ Te(ar, sr, lr);
657
+ function F(e) {
658
+ return e <= 1 && e !== 0 ? `${e * 100}%` : e;
659
+ }
660
+ const cr = B({
661
+ prop: "width",
662
+ transform: F
663
+ }), Le = (e) => {
664
+ if (e.maxWidth !== void 0 && e.maxWidth !== null) {
665
+ const t = (r) => {
666
+ const n = e.theme?.breakpoints?.values?.[r] || Ce[r];
667
+ return n ? e.theme?.breakpoints?.unit !== "px" ? {
668
+ maxWidth: `${n}${e.theme.breakpoints.unit}`
669
+ } : {
670
+ maxWidth: n
671
+ } : {
672
+ maxWidth: F(r)
673
+ };
674
+ };
675
+ return Y(e, e.maxWidth, t);
676
+ }
677
+ return null;
678
+ };
679
+ Le.filterProps = ["maxWidth"];
680
+ const ur = B({
681
+ prop: "minWidth",
682
+ transform: F
683
+ }), fr = B({
684
+ prop: "height",
685
+ transform: F
686
+ }), dr = B({
687
+ prop: "maxHeight",
688
+ transform: F
689
+ }), pr = B({
690
+ prop: "minHeight",
691
+ transform: F
692
+ });
693
+ B({
694
+ prop: "size",
695
+ cssProperty: "width",
696
+ transform: F
697
+ });
698
+ B({
699
+ prop: "size",
700
+ cssProperty: "height",
701
+ transform: F
702
+ });
703
+ const mr = B({
704
+ prop: "boxSizing"
705
+ });
706
+ Te(cr, Le, ur, fr, dr, pr, mr);
707
+ const Oe = {
708
+ // borders
709
+ border: {
710
+ themeKey: "borders",
711
+ transform: L
712
+ },
713
+ borderTop: {
714
+ themeKey: "borders",
715
+ transform: L
716
+ },
717
+ borderRight: {
718
+ themeKey: "borders",
719
+ transform: L
720
+ },
721
+ borderBottom: {
722
+ themeKey: "borders",
723
+ transform: L
724
+ },
725
+ borderLeft: {
726
+ themeKey: "borders",
727
+ transform: L
728
+ },
729
+ borderColor: {
730
+ themeKey: "palette"
731
+ },
732
+ borderTopColor: {
733
+ themeKey: "palette"
734
+ },
735
+ borderRightColor: {
736
+ themeKey: "palette"
737
+ },
738
+ borderBottomColor: {
739
+ themeKey: "palette"
740
+ },
741
+ borderLeftColor: {
742
+ themeKey: "palette"
743
+ },
744
+ outline: {
745
+ themeKey: "borders",
746
+ transform: L
747
+ },
748
+ outlineColor: {
749
+ themeKey: "palette"
750
+ },
751
+ borderRadius: {
752
+ themeKey: "shape.borderRadius",
753
+ style: ve
754
+ },
755
+ // palette
756
+ color: {
757
+ themeKey: "palette",
758
+ transform: ae
759
+ },
760
+ bgcolor: {
761
+ themeKey: "palette",
762
+ cssProperty: "backgroundColor",
763
+ transform: ae
764
+ },
765
+ backgroundColor: {
766
+ themeKey: "palette",
767
+ transform: ae
768
+ },
769
+ // spacing
770
+ p: {
771
+ style: R
772
+ },
773
+ pt: {
774
+ style: R
775
+ },
776
+ pr: {
777
+ style: R
778
+ },
779
+ pb: {
780
+ style: R
781
+ },
782
+ pl: {
783
+ style: R
784
+ },
785
+ px: {
786
+ style: R
787
+ },
788
+ py: {
789
+ style: R
790
+ },
791
+ padding: {
792
+ style: R
793
+ },
794
+ paddingTop: {
795
+ style: R
796
+ },
797
+ paddingRight: {
798
+ style: R
799
+ },
800
+ paddingBottom: {
801
+ style: R
802
+ },
803
+ paddingLeft: {
804
+ style: R
805
+ },
806
+ paddingX: {
807
+ style: R
808
+ },
809
+ paddingY: {
810
+ style: R
811
+ },
812
+ paddingInline: {
813
+ style: R
814
+ },
815
+ paddingInlineStart: {
816
+ style: R
817
+ },
818
+ paddingInlineEnd: {
819
+ style: R
820
+ },
821
+ paddingBlock: {
822
+ style: R
823
+ },
824
+ paddingBlockStart: {
825
+ style: R
826
+ },
827
+ paddingBlockEnd: {
828
+ style: R
829
+ },
830
+ m: {
831
+ style: N
832
+ },
833
+ mt: {
834
+ style: N
835
+ },
836
+ mr: {
837
+ style: N
838
+ },
839
+ mb: {
840
+ style: N
841
+ },
842
+ ml: {
843
+ style: N
844
+ },
845
+ mx: {
846
+ style: N
847
+ },
848
+ my: {
849
+ style: N
850
+ },
851
+ margin: {
852
+ style: N
853
+ },
854
+ marginTop: {
855
+ style: N
856
+ },
857
+ marginRight: {
858
+ style: N
859
+ },
860
+ marginBottom: {
861
+ style: N
862
+ },
863
+ marginLeft: {
864
+ style: N
865
+ },
866
+ marginX: {
867
+ style: N
868
+ },
869
+ marginY: {
870
+ style: N
871
+ },
872
+ marginInline: {
873
+ style: N
874
+ },
875
+ marginInlineStart: {
876
+ style: N
877
+ },
878
+ marginInlineEnd: {
879
+ style: N
880
+ },
881
+ marginBlock: {
882
+ style: N
883
+ },
884
+ marginBlockStart: {
885
+ style: N
886
+ },
887
+ marginBlockEnd: {
888
+ style: N
889
+ },
890
+ // display
891
+ displayPrint: {
892
+ cssProperty: !1,
893
+ transform: (e) => ({
894
+ "@media print": {
895
+ display: e
896
+ }
897
+ })
898
+ },
899
+ display: {},
900
+ overflow: {},
901
+ textOverflow: {},
902
+ visibility: {},
903
+ whiteSpace: {},
904
+ // flexbox
905
+ flexBasis: {},
906
+ flexDirection: {},
907
+ flexWrap: {},
908
+ justifyContent: {},
909
+ alignItems: {},
910
+ alignContent: {},
911
+ order: {},
912
+ flex: {},
913
+ flexGrow: {},
914
+ flexShrink: {},
915
+ alignSelf: {},
916
+ justifyItems: {},
917
+ justifySelf: {},
918
+ // grid
919
+ gap: {
920
+ style: xe
921
+ },
922
+ rowGap: {
923
+ style: Ae
924
+ },
925
+ columnGap: {
926
+ style: we
927
+ },
928
+ gridColumn: {},
929
+ gridRow: {},
930
+ gridAutoFlow: {},
931
+ gridAutoColumns: {},
932
+ gridAutoRows: {},
933
+ gridTemplateColumns: {},
934
+ gridTemplateRows: {},
935
+ gridTemplateAreas: {},
936
+ gridArea: {},
937
+ // positions
938
+ position: {},
939
+ zIndex: {
940
+ themeKey: "zIndex"
941
+ },
942
+ top: {},
943
+ right: {},
944
+ bottom: {},
945
+ left: {},
946
+ // shadows
947
+ boxShadow: {
948
+ themeKey: "shadows"
949
+ },
950
+ // sizing
951
+ width: {
952
+ transform: F
953
+ },
954
+ maxWidth: {
955
+ style: Le
956
+ },
957
+ minWidth: {
958
+ transform: F
959
+ },
960
+ height: {
961
+ transform: F
962
+ },
963
+ maxHeight: {
964
+ transform: F
965
+ },
966
+ minHeight: {
967
+ transform: F
968
+ },
969
+ boxSizing: {},
970
+ // typography
971
+ font: {
972
+ themeKey: "font"
973
+ },
974
+ fontFamily: {
975
+ themeKey: "typography"
976
+ },
977
+ fontSize: {
978
+ themeKey: "typography"
979
+ },
980
+ fontStyle: {
981
+ themeKey: "typography"
982
+ },
983
+ fontWeight: {
984
+ themeKey: "typography"
985
+ },
986
+ letterSpacing: {},
987
+ textTransform: {},
988
+ lineHeight: {},
989
+ textAlign: {},
990
+ typography: {
991
+ cssProperty: !1,
992
+ themeKey: "typography"
993
+ }
994
+ };
995
+ function gr(...e) {
996
+ const t = e.reduce((n, i) => n.concat(Object.keys(i)), []), r = new Set(t);
997
+ return e.every((n) => r.size === Object.keys(n).length);
998
+ }
999
+ function hr(e, t) {
1000
+ return typeof e == "function" ? e(t) : e;
1001
+ }
1002
+ function yr() {
1003
+ function e(r, n, i, a) {
1004
+ const l = {
1005
+ [r]: n,
1006
+ theme: i
1007
+ }, u = a[r];
1008
+ if (!u)
1009
+ return {
1010
+ [r]: n
1011
+ };
1012
+ const {
1013
+ cssProperty: f = r,
1014
+ themeKey: p,
1015
+ transform: y,
1016
+ style: h
1017
+ } = u;
1018
+ if (n == null)
1019
+ return null;
1020
+ if (p === "typography" && n === "inherit")
1021
+ return {
1022
+ [r]: n
1023
+ };
1024
+ const d = Se(i, p) || {};
1025
+ return h ? h(l) : Y(l, n, (m) => {
1026
+ let s = be(d, y, m);
1027
+ return m === s && typeof m == "string" && (s = be(d, y, `${r}${m === "default" ? "" : ct(m)}`, m)), f === !1 ? s : {
1028
+ [f]: s
1029
+ };
1030
+ });
1031
+ }
1032
+ function t(r) {
1033
+ const {
1034
+ sx: n,
1035
+ theme: i = {},
1036
+ nested: a
1037
+ } = r || {};
1038
+ if (!n)
1039
+ return null;
1040
+ const l = i.unstable_sxConfig ?? Oe;
1041
+ function u(f) {
1042
+ let p = f;
1043
+ if (typeof f == "function")
1044
+ p = f(i);
1045
+ else if (typeof f != "object")
1046
+ return f;
1047
+ if (!p)
1048
+ return null;
1049
+ const y = lt(i.breakpoints), h = Object.keys(y);
1050
+ let d = y;
1051
+ return Object.keys(p).forEach((b) => {
1052
+ const m = hr(p[b], i);
1053
+ if (m != null)
1054
+ if (typeof m == "object")
1055
+ if (l[b])
1056
+ d = de(d, e(b, m, i, l));
1057
+ else {
1058
+ const s = Y({
1059
+ theme: i
1060
+ }, m, (C) => ({
1061
+ [b]: C
1062
+ }));
1063
+ gr(s, m) ? d[b] = t({
1064
+ sx: m,
1065
+ theme: i,
1066
+ nested: !0
1067
+ }) : d = de(d, s);
1068
+ }
1069
+ else
1070
+ d = de(d, e(b, m, i, l));
1071
+ }), !a && i.modularCssLayers ? {
1072
+ "@layer sx": Ye(i, Pe(h, d))
1073
+ } : Ye(i, Pe(h, d));
1074
+ }
1075
+ return Array.isArray(n) ? n.map(u) : u(n);
1076
+ }
1077
+ return t;
1078
+ }
1079
+ const ke = yr();
1080
+ ke.filterProps = ["sx"];
1081
+ function br(e, t) {
1082
+ const r = this;
1083
+ if (r.vars) {
1084
+ if (!r.colorSchemes?.[e] || typeof r.getColorSchemeSelector != "function")
1085
+ return {};
1086
+ let n = r.getColorSchemeSelector(e);
1087
+ return n === "&" ? t : ((n.includes("data-") || n.includes(".")) && (n = `*:where(${n.replace(/\s*&$/, "")}) &`), {
1088
+ [n]: t
1089
+ });
1090
+ }
1091
+ return r.palette.mode === e ? t : {};
1092
+ }
1093
+ function Cr(e = {}, ...t) {
1094
+ const {
1095
+ breakpoints: r = {},
1096
+ palette: n = {},
1097
+ spacing: i,
1098
+ shape: a = {},
1099
+ ...l
1100
+ } = e, u = xt(r), f = ft(i);
1101
+ let p = D({
1102
+ breakpoints: u,
1103
+ direction: "ltr",
1104
+ components: {},
1105
+ // Inject component definitions.
1106
+ palette: {
1107
+ mode: "light",
1108
+ ...n
1109
+ },
1110
+ spacing: f,
1111
+ shape: {
1112
+ ...kt,
1113
+ ...a
1114
+ }
1115
+ }, l);
1116
+ return p = Ot(p), p.applyStyles = br, p = t.reduce((y, h) => D(y, h), p), p.unstable_sxConfig = {
1117
+ ...Oe,
1118
+ ...l?.unstable_sxConfig
1119
+ }, p.unstable_sx = function(h) {
1120
+ return ke({
1121
+ sx: h,
1122
+ theme: this
1123
+ });
1124
+ }, p;
1125
+ }
1126
+ const qe = (e) => e, Sr = () => {
1127
+ let e = qe;
1128
+ return {
1129
+ configure(t) {
1130
+ e = t;
1131
+ },
1132
+ generate(t) {
1133
+ return e(t);
1134
+ },
1135
+ reset() {
1136
+ e = qe;
1137
+ }
1138
+ };
1139
+ }, $r = Sr(), Er = {
1140
+ active: "active",
1141
+ checked: "checked",
1142
+ completed: "completed",
1143
+ disabled: "disabled",
1144
+ error: "error",
1145
+ expanded: "expanded",
1146
+ focused: "focused",
1147
+ focusVisible: "focusVisible",
1148
+ open: "open",
1149
+ readOnly: "readOnly",
1150
+ required: "required",
1151
+ selected: "selected"
1152
+ };
1153
+ function Tr(e, t, r = "Mui") {
1154
+ const n = Er[t];
1155
+ return n ? `${r}-${n}` : `${$r.generate(e)}-${t}`;
1156
+ }
1157
+ function vr(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
1158
+ return Math.max(t, Math.min(e, r));
1159
+ }
1160
+ function Ue(e, t = 0, r = 1) {
1161
+ return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), vr(e, t, r);
1162
+ }
1163
+ function xr(e) {
1164
+ e = e.slice(1);
1165
+ const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
1166
+ let r = e.match(t);
1167
+ 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, i) => i < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
1168
+ }
1169
+ function q(e) {
1170
+ if (e.type)
1171
+ return e;
1172
+ if (e.charAt(0) === "#")
1173
+ return q(xr(e));
1174
+ const t = e.indexOf("("), r = e.substring(0, t);
1175
+ if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
1176
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
1177
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : H(9, e));
1178
+ let n = e.substring(t + 1, e.length - 1), i;
1179
+ if (r === "color") {
1180
+ if (n = n.split(" "), i = 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(i))
1181
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${i}\` color space.
1182
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : H(10, i));
1183
+ } else
1184
+ n = n.split(",");
1185
+ return n = n.map((a) => parseFloat(a)), {
1186
+ type: r,
1187
+ values: n,
1188
+ colorSpace: i
1189
+ };
1190
+ }
1191
+ const wr = (e) => {
1192
+ const t = q(e);
1193
+ return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
1194
+ }, ue = (e, t) => {
1195
+ try {
1196
+ return wr(e);
1197
+ } catch {
1198
+ return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
1199
+ }
1200
+ };
1201
+ function _e(e) {
1202
+ const {
1203
+ type: t,
1204
+ colorSpace: r
1205
+ } = e;
1206
+ let {
1207
+ values: n
1208
+ } = e;
1209
+ return t.includes("rgb") ? n = n.map((i, a) => a < 3 ? parseInt(i, 10) : i) : t.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.includes("color") ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
1210
+ }
1211
+ function dt(e) {
1212
+ e = q(e);
1213
+ const {
1214
+ values: t
1215
+ } = e, r = t[0], n = t[1] / 100, i = t[2] / 100, a = n * Math.min(i, 1 - i), l = (p, y = (p + r / 30) % 12) => i - a * Math.max(Math.min(y - 3, 9 - y, 1), -1);
1216
+ let u = "rgb";
1217
+ const f = [Math.round(l(0) * 255), Math.round(l(8) * 255), Math.round(l(4) * 255)];
1218
+ return e.type === "hsla" && (u += "a", f.push(t[3])), _e({
1219
+ type: u,
1220
+ values: f
1221
+ });
1222
+ }
1223
+ function De(e) {
1224
+ e = q(e);
1225
+ let t = e.type === "hsl" || e.type === "hsla" ? q(dt(e)).values : e.values;
1226
+ 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));
1227
+ }
1228
+ function Qe(e, t) {
1229
+ const r = De(e), n = De(t);
1230
+ return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
1231
+ }
1232
+ function pt(e, t) {
1233
+ return e = q(e), t = Ue(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, _e(e);
1234
+ }
1235
+ function J(e, t, r) {
1236
+ try {
1237
+ return pt(e, t);
1238
+ } catch {
1239
+ return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
1240
+ }
1241
+ }
1242
+ function Ne(e, t) {
1243
+ if (e = q(e), t = Ue(t), e.type.includes("hsl"))
1244
+ e.values[2] *= 1 - t;
1245
+ else if (e.type.includes("rgb") || e.type.includes("color"))
1246
+ for (let r = 0; r < 3; r += 1)
1247
+ e.values[r] *= 1 - t;
1248
+ return _e(e);
1249
+ }
1250
+ function T(e, t, r) {
1251
+ try {
1252
+ return Ne(e, t);
1253
+ } catch {
1254
+ return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
1255
+ }
1256
+ }
1257
+ function Re(e, t) {
1258
+ if (e = q(e), t = Ue(t), e.type.includes("hsl"))
1259
+ e.values[2] += (100 - e.values[2]) * t;
1260
+ else if (e.type.includes("rgb"))
1261
+ for (let r = 0; r < 3; r += 1)
1262
+ e.values[r] += (255 - e.values[r]) * t;
1263
+ else if (e.type.includes("color"))
1264
+ for (let r = 0; r < 3; r += 1)
1265
+ e.values[r] += (1 - e.values[r]) * t;
1266
+ return _e(e);
1267
+ }
1268
+ function v(e, t, r) {
1269
+ try {
1270
+ return Re(e, t);
1271
+ } catch {
1272
+ return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
1273
+ }
1274
+ }
1275
+ function Ar(e, t = 0.15) {
1276
+ return De(e) > 0.5 ? Ne(e, t) : Re(e, t);
1277
+ }
1278
+ function ye(e, t, r) {
1279
+ try {
1280
+ return Ar(e, t);
1281
+ } catch {
1282
+ return e;
1283
+ }
1284
+ }
1285
+ function Or(e = "") {
1286
+ function t(...n) {
1287
+ if (!n.length)
1288
+ return "";
1289
+ const i = n[0];
1290
+ return typeof i == "string" && !i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/) ? `, var(--${e ? `${e}-` : ""}${i}${t(...n.slice(1))})` : `, ${i}`;
1291
+ }
1292
+ return (n, ...i) => `var(--${e ? `${e}-` : ""}${n}${t(...i)})`;
1293
+ }
1294
+ const Xe = (e, t, r, n = []) => {
1295
+ let i = e;
1296
+ t.forEach((a, l) => {
1297
+ l === t.length - 1 ? Array.isArray(i) ? i[Number(a)] = r : i && typeof i == "object" && (i[a] = r) : i && typeof i == "object" && (i[a] || (i[a] = n.includes(a) ? [] : {}), i = i[a]);
1298
+ });
1299
+ }, kr = (e, t, r) => {
1300
+ function n(i, a = [], l = []) {
1301
+ Object.entries(i).forEach(([u, f]) => {
1302
+ (!r || r && !r([...a, u])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...a, u], Array.isArray(f) ? [...l, u] : l) : t([...a, u], f, l));
1303
+ });
1304
+ }
1305
+ n(e);
1306
+ }, _r = (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;
1307
+ function Be(e, t) {
1308
+ const {
1309
+ prefix: r,
1310
+ shouldSkipGeneratingVar: n
1311
+ } = t || {}, i = {}, a = {}, l = {};
1312
+ return kr(
1313
+ e,
1314
+ (u, f, p) => {
1315
+ if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
1316
+ const y = `--${r ? `${r}-` : ""}${u.join("-")}`, h = _r(u, f);
1317
+ Object.assign(i, {
1318
+ [y]: h
1319
+ }), Xe(a, u, `var(${y})`, p), Xe(l, u, `var(${y}, ${h})`, p);
1320
+ }
1321
+ },
1322
+ (u) => u[0] === "vars"
1323
+ // skip 'vars/*' paths
1324
+ ), {
1325
+ css: i,
1326
+ vars: a,
1327
+ varsWithDefaults: l
1328
+ };
1329
+ }
1330
+ function Nr(e, t = {}) {
1331
+ const {
1332
+ getSelector: r = O,
1333
+ disableCssColorScheme: n,
1334
+ colorSchemeSelector: i,
1335
+ enableContrastVars: a
1336
+ } = t, {
1337
+ colorSchemes: l = {},
1338
+ components: u,
1339
+ defaultColorScheme: f = "light",
1340
+ ...p
1341
+ } = e, {
1342
+ vars: y,
1343
+ css: h,
1344
+ varsWithDefaults: d
1345
+ } = Be(p, t);
1346
+ let b = d;
1347
+ const m = {}, {
1348
+ [f]: s,
1349
+ ...C
1350
+ } = l;
1351
+ if (Object.entries(C || {}).forEach(([$, P]) => {
1352
+ const {
1353
+ vars: E,
1354
+ css: X,
1355
+ varsWithDefaults: se
1356
+ } = Be(P, t);
1357
+ b = D(b, se), m[$] = {
1358
+ css: X,
1359
+ vars: E
1360
+ };
1361
+ }), s) {
1362
+ const {
1363
+ css: $,
1364
+ vars: P,
1365
+ varsWithDefaults: E
1366
+ } = Be(s, t);
1367
+ b = D(b, E), m[f] = {
1368
+ css: $,
1369
+ vars: P
1370
+ };
1371
+ }
1372
+ function O($, P) {
1373
+ let E = i;
1374
+ if (i === "class" && (E = ".%s"), i === "data" && (E = "[data-%s]"), i?.startsWith("data-") && !i.includes("%s") && (E = `[${i}="%s"]`), $) {
1375
+ if (E === "media")
1376
+ return e.defaultColorScheme === $ ? ":root" : {
1377
+ [`@media (prefers-color-scheme: ${l[$]?.palette?.mode || $})`]: {
1378
+ ":root": P
1379
+ }
1380
+ };
1381
+ if (E)
1382
+ return e.defaultColorScheme === $ ? `:root, ${E.replace("%s", String($))}` : E.replace("%s", String($));
1383
+ }
1384
+ return ":root";
1385
+ }
1386
+ return {
1387
+ vars: b,
1388
+ generateThemeVars: () => {
1389
+ let $ = {
1390
+ ...y
1391
+ };
1392
+ return Object.entries(m).forEach(([, {
1393
+ vars: P
1394
+ }]) => {
1395
+ $ = D($, P);
1396
+ }), $;
1397
+ },
1398
+ generateStyleSheets: () => {
1399
+ const $ = [], P = e.defaultColorScheme || "light";
1400
+ function E(W, j) {
1401
+ Object.keys(j).length && $.push(typeof W == "string" ? {
1402
+ [W]: {
1403
+ ...j
1404
+ }
1405
+ } : W);
1406
+ }
1407
+ E(r(void 0, {
1408
+ ...h
1409
+ }), h);
1410
+ const {
1411
+ [P]: X,
1412
+ ...se
1413
+ } = m;
1414
+ if (X) {
1415
+ const {
1416
+ css: W
1417
+ } = X, j = l[P]?.palette?.mode, M = !n && j ? {
1418
+ colorScheme: j,
1419
+ ...W
1420
+ } : {
1421
+ ...W
1422
+ };
1423
+ E(r(P, {
1424
+ ...M
1425
+ }), M);
1426
+ }
1427
+ return Object.entries(se).forEach(([W, {
1428
+ css: j
1429
+ }]) => {
1430
+ const M = l[W]?.palette?.mode, o = !n && M ? {
1431
+ colorScheme: M,
1432
+ ...j
1433
+ } : {
1434
+ ...j
1435
+ };
1436
+ E(r(W, {
1437
+ ...o
1438
+ }), o);
1439
+ }), a && $.push({
1440
+ ":root": {
1441
+ // use double underscore to indicate that these are private variables
1442
+ "--__l-threshold": "0.7",
1443
+ "--__l": "clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)",
1444
+ "--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
1445
+ // 0.87 is the default alpha value for black text.
1446
+ }
1447
+ }), $;
1448
+ }
1449
+ };
1450
+ }
1451
+ function Rr(e) {
1452
+ return function(r) {
1453
+ 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)} &` : "&";
1454
+ };
1455
+ }
1456
+ function mt() {
1457
+ return {
1458
+ // The colors used to style the text.
1459
+ text: {
1460
+ // The most important text.
1461
+ primary: "rgba(0, 0, 0, 0.87)",
1462
+ // Secondary text.
1463
+ secondary: "rgba(0, 0, 0, 0.6)",
1464
+ // Disabled text have even lower visual prominence.
1465
+ disabled: "rgba(0, 0, 0, 0.38)"
1466
+ },
1467
+ // The color used to divide different elements.
1468
+ divider: "rgba(0, 0, 0, 0.12)",
1469
+ // The background colors used to style the surfaces.
1470
+ // Consistency between these values is important.
1471
+ background: {
1472
+ paper: pe.white,
1473
+ default: pe.white
1474
+ },
1475
+ // The colors used to style the action elements.
1476
+ action: {
1477
+ // The color of an active action like an icon button.
1478
+ active: "rgba(0, 0, 0, 0.54)",
1479
+ // The color of an hovered action.
1480
+ hover: "rgba(0, 0, 0, 0.04)",
1481
+ hoverOpacity: 0.04,
1482
+ // The color of a selected action.
1483
+ selected: "rgba(0, 0, 0, 0.08)",
1484
+ selectedOpacity: 0.08,
1485
+ // The color of a disabled action.
1486
+ disabled: "rgba(0, 0, 0, 0.26)",
1487
+ // The background color of a disabled action.
1488
+ disabledBackground: "rgba(0, 0, 0, 0.12)",
1489
+ disabledOpacity: 0.38,
1490
+ focus: "rgba(0, 0, 0, 0.12)",
1491
+ focusOpacity: 0.12,
1492
+ activatedOpacity: 0.12
1493
+ }
1494
+ };
1495
+ }
1496
+ const gt = mt();
1497
+ function ht() {
1498
+ return {
1499
+ text: {
1500
+ primary: pe.white,
1501
+ secondary: "rgba(255, 255, 255, 0.7)",
1502
+ disabled: "rgba(255, 255, 255, 0.5)",
1503
+ icon: "rgba(255, 255, 255, 0.5)"
1504
+ },
1505
+ divider: "rgba(255, 255, 255, 0.12)",
1506
+ background: {
1507
+ paper: "#121212",
1508
+ default: "#121212"
1509
+ },
1510
+ action: {
1511
+ active: pe.white,
1512
+ hover: "rgba(255, 255, 255, 0.08)",
1513
+ hoverOpacity: 0.08,
1514
+ selected: "rgba(255, 255, 255, 0.16)",
1515
+ selectedOpacity: 0.16,
1516
+ disabled: "rgba(255, 255, 255, 0.3)",
1517
+ disabledBackground: "rgba(255, 255, 255, 0.12)",
1518
+ disabledOpacity: 0.38,
1519
+ focus: "rgba(255, 255, 255, 0.12)",
1520
+ focusOpacity: 0.12,
1521
+ activatedOpacity: 0.24
1522
+ }
1523
+ };
1524
+ }
1525
+ const Me = ht();
1526
+ function Je(e, t, r, n) {
1527
+ const i = n.light || n, a = n.dark || n * 1.5;
1528
+ e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = Re(e.main, i) : t === "dark" && (e.dark = Ne(e.main, a)));
1529
+ }
1530
+ function Ze(e, t, r, n, i) {
1531
+ const a = i.light || i, l = i.dark || i * 1.5;
1532
+ t[r] || (t.hasOwnProperty(n) ? t[r] = t[n] : r === "light" ? t.light = `color-mix(in ${e}, ${t.main}, #fff ${(a * 100).toFixed(0)}%)` : r === "dark" && (t.dark = `color-mix(in ${e}, ${t.main}, #000 ${(l * 100).toFixed(0)}%)`));
1533
+ }
1534
+ function Br(e = "light") {
1535
+ return e === "dark" ? {
1536
+ main: ne[200],
1537
+ light: ne[50],
1538
+ dark: ne[400]
1539
+ } : {
1540
+ main: ne[700],
1541
+ light: ne[400],
1542
+ dark: ne[800]
1543
+ };
1544
+ }
1545
+ function Ir(e = "light") {
1546
+ return e === "dark" ? {
1547
+ main: re[200],
1548
+ light: re[50],
1549
+ dark: re[400]
1550
+ } : {
1551
+ main: re[500],
1552
+ light: re[300],
1553
+ dark: re[700]
1554
+ };
1555
+ }
1556
+ function Pr(e = "light") {
1557
+ return e === "dark" ? {
1558
+ main: te[500],
1559
+ light: te[300],
1560
+ dark: te[700]
1561
+ } : {
1562
+ main: te[700],
1563
+ light: te[400],
1564
+ dark: te[800]
1565
+ };
1566
+ }
1567
+ function Dr(e = "light") {
1568
+ return e === "dark" ? {
1569
+ main: oe[400],
1570
+ light: oe[300],
1571
+ dark: oe[700]
1572
+ } : {
1573
+ main: oe[700],
1574
+ light: oe[500],
1575
+ dark: oe[900]
1576
+ };
1577
+ }
1578
+ function Mr(e = "light") {
1579
+ return e === "dark" ? {
1580
+ main: ie[400],
1581
+ light: ie[300],
1582
+ dark: ie[700]
1583
+ } : {
1584
+ main: ie[800],
1585
+ light: ie[500],
1586
+ dark: ie[900]
1587
+ };
1588
+ }
1589
+ function Fr(e = "light") {
1590
+ return e === "dark" ? {
1591
+ main: le[400],
1592
+ light: le[300],
1593
+ dark: le[700]
1594
+ } : {
1595
+ main: "#ed6c02",
1596
+ // closest to orange[800] that pass 3:1.
1597
+ light: le[500],
1598
+ dark: le[900]
1599
+ };
1600
+ }
1601
+ function Vr(e) {
1602
+ return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
1603
+ }
1604
+ function We(e) {
1605
+ const {
1606
+ mode: t = "light",
1607
+ contrastThreshold: r = 3,
1608
+ tonalOffset: n = 0.2,
1609
+ colorSpace: i,
1610
+ ...a
1611
+ } = e, l = e.primary || Br(t), u = e.secondary || Ir(t), f = e.error || Pr(t), p = e.info || Dr(t), y = e.success || Mr(t), h = e.warning || Fr(t);
1612
+ function d(C) {
1613
+ if (i)
1614
+ return Vr(C);
1615
+ const O = Qe(C, Me.text.primary) >= r ? Me.text.primary : gt.text.primary;
1616
+ if (process.env.NODE_ENV !== "production") {
1617
+ const k = Qe(C, O);
1618
+ k < 3 && console.error([`MUI: The contrast ratio of ${k}:1 for ${O} on ${C}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
1619
+ `));
1620
+ }
1621
+ return O;
1622
+ }
1623
+ const b = ({
1624
+ color: C,
1625
+ name: O,
1626
+ mainShade: k = 500,
1627
+ lightShade: V = 300,
1628
+ darkShade: $ = 700
1629
+ }) => {
1630
+ if (C = {
1631
+ ...C
1632
+ }, !C.main && C[k] && (C.main = C[k]), !C.hasOwnProperty("main"))
1633
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${O ? ` (${O})` : ""} provided to augmentColor(color) is invalid.
1634
+ The color object needs to have a \`main\` property or a \`${k}\` property.` : H(11, O ? ` (${O})` : "", k));
1635
+ if (typeof C.main != "string")
1636
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${O ? ` (${O})` : ""} provided to augmentColor(color) is invalid.
1637
+ \`color.main\` should be a string, but \`${JSON.stringify(C.main)}\` was provided instead.
1638
+
1639
+ Did you intend to use one of the following approaches?
1640
+
1641
+ import { green } from "@mui/material/colors";
1642
+
1643
+ const theme1 = createTheme({ palette: {
1644
+ primary: green,
1645
+ } });
1646
+
1647
+ const theme2 = createTheme({ palette: {
1648
+ primary: { main: green[500] },
1649
+ } });` : H(12, O ? ` (${O})` : "", JSON.stringify(C.main)));
1650
+ return i ? (Ze(i, C, "light", V, n), Ze(i, C, "dark", $, n)) : (Je(C, "light", V, n), Je(C, "dark", $, n)), C.contrastText || (C.contrastText = d(C.main)), C;
1651
+ };
1652
+ let m;
1653
+ return t === "light" ? m = mt() : t === "dark" && (m = ht()), process.env.NODE_ENV !== "production" && (m || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), D({
1654
+ // A collection of common colors.
1655
+ common: {
1656
+ ...pe
1657
+ },
1658
+ // prevent mutable object.
1659
+ // The palette mode, can be light or dark.
1660
+ mode: t,
1661
+ // The colors used to represent primary interface elements for a user.
1662
+ primary: b({
1663
+ color: l,
1664
+ name: "primary"
1665
+ }),
1666
+ // The colors used to represent secondary interface elements for a user.
1667
+ secondary: b({
1668
+ color: u,
1669
+ name: "secondary",
1670
+ mainShade: "A400",
1671
+ lightShade: "A200",
1672
+ darkShade: "A700"
1673
+ }),
1674
+ // The colors used to represent interface elements that the user should be made aware of.
1675
+ error: b({
1676
+ color: f,
1677
+ name: "error"
1678
+ }),
1679
+ // The colors used to represent potentially dangerous actions or important messages.
1680
+ warning: b({
1681
+ color: h,
1682
+ name: "warning"
1683
+ }),
1684
+ // The colors used to present information to the user that is neutral and not necessarily important.
1685
+ info: b({
1686
+ color: p,
1687
+ name: "info"
1688
+ }),
1689
+ // The colors used to indicate the successful completion of an action that user triggered.
1690
+ success: b({
1691
+ color: y,
1692
+ name: "success"
1693
+ }),
1694
+ // The grey colors.
1695
+ grey: St,
1696
+ // Used by `getContrastText()` to maximize the contrast between
1697
+ // the background and the text.
1698
+ contrastThreshold: r,
1699
+ // Takes a background color and returns the text color that maximizes the contrast.
1700
+ getContrastText: d,
1701
+ // Generate a rich color object.
1702
+ augmentColor: b,
1703
+ // Used by the functions below to shift a color's luminance by approximately
1704
+ // two indexes within its tonal palette.
1705
+ // E.g., shift from Red 500 to Red 300 or Red 700.
1706
+ tonalOffset: n,
1707
+ // The light and dark mode object.
1708
+ ...m
1709
+ }, a);
1710
+ }
1711
+ function Lr(e) {
1712
+ const t = {};
1713
+ return Object.entries(e).forEach((n) => {
1714
+ const [i, a] = n;
1715
+ typeof a == "object" && (t[i] = `${a.fontStyle ? `${a.fontStyle} ` : ""}${a.fontVariant ? `${a.fontVariant} ` : ""}${a.fontWeight ? `${a.fontWeight} ` : ""}${a.fontStretch ? `${a.fontStretch} ` : ""}${a.fontSize || ""}${a.lineHeight ? `/${a.lineHeight} ` : ""}${a.fontFamily || ""}`);
1716
+ }), t;
1717
+ }
1718
+ function Ur(e, t) {
1719
+ return {
1720
+ toolbar: {
1721
+ minHeight: 56,
1722
+ [e.up("xs")]: {
1723
+ "@media (orientation: landscape)": {
1724
+ minHeight: 48
1725
+ }
1726
+ },
1727
+ [e.up("sm")]: {
1728
+ minHeight: 64
1729
+ }
1730
+ },
1731
+ ...t
1732
+ };
1733
+ }
1734
+ function Wr(e) {
1735
+ return Math.round(e * 1e5) / 1e5;
1736
+ }
1737
+ const et = {
1738
+ textTransform: "uppercase"
1739
+ }, tt = '"Roboto", "Helvetica", "Arial", sans-serif';
1740
+ function jr(e, t) {
1741
+ const {
1742
+ fontFamily: r = tt,
1743
+ // The default font size of the Material Specification.
1744
+ fontSize: n = 14,
1745
+ // px
1746
+ fontWeightLight: i = 300,
1747
+ fontWeightRegular: a = 400,
1748
+ fontWeightMedium: l = 500,
1749
+ fontWeightBold: u = 700,
1750
+ // Tell MUI what's the font-size on the html element.
1751
+ // 16px is the default font-size used by browsers.
1752
+ htmlFontSize: f = 16,
1753
+ // Apply the CSS properties to all the variants.
1754
+ allVariants: p,
1755
+ pxToRem: y,
1756
+ ...h
1757
+ } = typeof t == "function" ? t(e) : t;
1758
+ 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."));
1759
+ const d = n / 14, b = y || ((C) => `${C / f * d}rem`), m = (C, O, k, V, $) => ({
1760
+ fontFamily: r,
1761
+ fontWeight: C,
1762
+ fontSize: b(O),
1763
+ // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
1764
+ lineHeight: k,
1765
+ // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
1766
+ // across font-families can cause issues with the kerning.
1767
+ ...r === tt ? {
1768
+ letterSpacing: `${Wr(V / O)}em`
1769
+ } : {},
1770
+ ...$,
1771
+ ...p
1772
+ }), s = {
1773
+ h1: m(i, 96, 1.167, -1.5),
1774
+ h2: m(i, 60, 1.2, -0.5),
1775
+ h3: m(a, 48, 1.167, 0),
1776
+ h4: m(a, 34, 1.235, 0.25),
1777
+ h5: m(a, 24, 1.334, 0),
1778
+ h6: m(l, 20, 1.6, 0.15),
1779
+ subtitle1: m(a, 16, 1.75, 0.15),
1780
+ subtitle2: m(l, 14, 1.57, 0.1),
1781
+ body1: m(a, 16, 1.5, 0.15),
1782
+ body2: m(a, 14, 1.43, 0.15),
1783
+ button: m(l, 14, 1.75, 0.4, et),
1784
+ caption: m(a, 12, 1.66, 0.4),
1785
+ overline: m(a, 12, 2.66, 1, et),
1786
+ // 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.
1787
+ inherit: {
1788
+ fontFamily: "inherit",
1789
+ fontWeight: "inherit",
1790
+ fontSize: "inherit",
1791
+ lineHeight: "inherit",
1792
+ letterSpacing: "inherit"
1793
+ }
1794
+ };
1795
+ return D({
1796
+ htmlFontSize: f,
1797
+ pxToRem: b,
1798
+ fontFamily: r,
1799
+ fontSize: n,
1800
+ fontWeightLight: i,
1801
+ fontWeightRegular: a,
1802
+ fontWeightMedium: l,
1803
+ fontWeightBold: u,
1804
+ ...s
1805
+ }, h, {
1806
+ clone: !1
1807
+ // No need to clone deep
1808
+ });
1809
+ }
1810
+ const zr = 0.2, Gr = 0.14, Yr = 0.12;
1811
+ function _(...e) {
1812
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${zr})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Gr})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Yr})`].join(",");
1813
+ }
1814
+ const Kr = ["none", _(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), _(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), _(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), _(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), _(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), _(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), _(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), _(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), _(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), _(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), _(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), _(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), _(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), _(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), _(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), _(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), _(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), _(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), _(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), _(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), _(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), _(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), _(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), _(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Hr = {
1815
+ // This is the most common easing curve.
1816
+ easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
1817
+ // Objects enter the screen at full velocity from off-screen and
1818
+ // slowly decelerate to a resting point.
1819
+ easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
1820
+ // Objects leave the screen at full velocity. They do not decelerate when off-screen.
1821
+ easeIn: "cubic-bezier(0.4, 0, 1, 1)",
1822
+ // The sharp curve is used by objects that may return to the screen at any time.
1823
+ sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
1824
+ }, qr = {
1825
+ shortest: 150,
1826
+ shorter: 200,
1827
+ short: 250,
1828
+ // most basic recommended timing
1829
+ standard: 300,
1830
+ // this is to be used in complex animations
1831
+ complex: 375,
1832
+ // recommended when something is entering screen
1833
+ enteringScreen: 225,
1834
+ // recommended when something is leaving screen
1835
+ leavingScreen: 195
1836
+ };
1837
+ function rt(e) {
1838
+ return `${Math.round(e)}ms`;
1839
+ }
1840
+ function Qr(e) {
1841
+ if (!e)
1842
+ return 0;
1843
+ const t = e / 36;
1844
+ return Math.min(Math.round((4 + 15 * t ** 0.25 + t / 5) * 10), 3e3);
1845
+ }
1846
+ function Xr(e) {
1847
+ const t = {
1848
+ ...Hr,
1849
+ ...e.easing
1850
+ }, r = {
1851
+ ...qr,
1852
+ ...e.duration
1853
+ };
1854
+ return {
1855
+ getAutoHeightDuration: Qr,
1856
+ create: (i = ["all"], a = {}) => {
1857
+ const {
1858
+ duration: l = r.standard,
1859
+ easing: u = t.easeInOut,
1860
+ delay: f = 0,
1861
+ ...p
1862
+ } = a;
1863
+ if (process.env.NODE_ENV !== "production") {
1864
+ const y = (d) => typeof d == "string", h = (d) => !Number.isNaN(parseFloat(d));
1865
+ !y(i) && !Array.isArray(i) && console.error('MUI: Argument "props" must be a string or Array.'), !h(l) && !y(l) && console.error(`MUI: Argument "duration" must be a number or a string but found ${l}.`), y(u) || console.error('MUI: Argument "easing" must be a string.'), !h(f) && !y(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
1866
+ `)), Object.keys(p).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(p).join(",")}].`);
1867
+ }
1868
+ return (Array.isArray(i) ? i : [i]).map((y) => `${y} ${typeof l == "string" ? l : rt(l)} ${u} ${typeof f == "string" ? f : rt(f)}`).join(",");
1869
+ },
1870
+ ...e,
1871
+ easing: t,
1872
+ duration: r
1873
+ };
1874
+ }
1875
+ const Jr = {
1876
+ mobileStepper: 1e3,
1877
+ fab: 1050,
1878
+ speedDial: 1050,
1879
+ appBar: 1100,
1880
+ drawer: 1200,
1881
+ modal: 1300,
1882
+ snackbar: 1400,
1883
+ tooltip: 1500
1884
+ };
1885
+ function Zr(e) {
1886
+ return K(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
1887
+ }
1888
+ function yt(e = {}) {
1889
+ const t = {
1890
+ ...e
1891
+ };
1892
+ function r(n) {
1893
+ const i = Object.entries(n);
1894
+ for (let a = 0; a < i.length; a++) {
1895
+ const [l, u] = i[a];
1896
+ !Zr(u) || l.startsWith("unstable_") ? delete n[l] : K(u) && (n[l] = {
1897
+ ...u
1898
+ }, r(n[l]));
1899
+ }
1900
+ }
1901
+ return r(t), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
1902
+
1903
+ const theme = ${JSON.stringify(t, null, 2)};
1904
+
1905
+ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
1906
+ theme.transitions = createTransitions(theme.transitions || {});
1907
+
1908
+ export default theme;`;
1909
+ }
1910
+ function nt(e) {
1911
+ return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
1912
+ }
1913
+ const en = (e) => {
1914
+ if (!Number.isNaN(+e))
1915
+ return +e;
1916
+ const t = e.match(/\d*\.?\d+/g);
1917
+ if (!t)
1918
+ return 0;
1919
+ let r = 0;
1920
+ for (let n = 0; n < t.length; n += 1)
1921
+ r += +t[n];
1922
+ return r;
1923
+ };
1924
+ function tn(e) {
1925
+ Object.assign(e, {
1926
+ alpha(t, r) {
1927
+ const n = this || e;
1928
+ return n.colorSpace ? `oklch(from ${t} l c h / ${typeof r == "string" ? `calc(${r})` : r})` : n.vars ? `rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof r == "string" ? `calc(${r})` : r})` : pt(t, en(r));
1929
+ },
1930
+ lighten(t, r) {
1931
+ const n = this || e;
1932
+ return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #fff ${nt(r)})` : Re(t, r);
1933
+ },
1934
+ darken(t, r) {
1935
+ const n = this || e;
1936
+ return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #000 ${nt(r)})` : Ne(t, r);
1937
+ }
1938
+ });
1939
+ }
1940
+ function Fe(e = {}, ...t) {
1941
+ const {
1942
+ breakpoints: r,
1943
+ mixins: n = {},
1944
+ spacing: i,
1945
+ palette: a = {},
1946
+ transitions: l = {},
1947
+ typography: u = {},
1948
+ shape: f,
1949
+ colorSpace: p,
1950
+ ...y
1951
+ } = e;
1952
+ if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
1953
+ // `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.
1954
+ e.generateThemeVars === void 0)
1955
+ 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));
1956
+ const h = We({
1957
+ ...a,
1958
+ colorSpace: p
1959
+ }), d = Cr(e);
1960
+ let b = D(d, {
1961
+ mixins: Ur(d.breakpoints, n),
1962
+ palette: h,
1963
+ // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
1964
+ shadows: Kr.slice(),
1965
+ typography: jr(h, u),
1966
+ transitions: Xr(l),
1967
+ zIndex: {
1968
+ ...Jr
1969
+ }
1970
+ });
1971
+ if (b = D(b, y), b = t.reduce((m, s) => D(m, s), b), process.env.NODE_ENV !== "production") {
1972
+ const m = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], s = (C, O) => {
1973
+ let k;
1974
+ for (k in C) {
1975
+ const V = C[k];
1976
+ if (m.includes(k) && Object.keys(V).length > 0) {
1977
+ if (process.env.NODE_ENV !== "production") {
1978
+ const $ = Tr("", k);
1979
+ console.error([`MUI: The \`${O}\` component increases the CSS specificity of the \`${k}\` internal state.`, "You can not override it like this: ", JSON.stringify(C, null, 2), "", `Instead, you need to use the '&.${$}' syntax:`, JSON.stringify({
1980
+ root: {
1981
+ [`&.${$}`]: V
1982
+ }
1983
+ }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
1984
+ `));
1985
+ }
1986
+ C[k] = {};
1987
+ }
1988
+ }
1989
+ };
1990
+ Object.keys(b.components).forEach((C) => {
1991
+ const O = b.components[C].styleOverrides;
1992
+ O && C.startsWith("Mui") && s(O, C);
1993
+ });
1994
+ }
1995
+ return b.unstable_sxConfig = {
1996
+ ...Oe,
1997
+ ...y?.unstable_sxConfig
1998
+ }, b.unstable_sx = function(s) {
1999
+ return ke({
2000
+ sx: s,
2001
+ theme: this
2002
+ });
2003
+ }, b.toRuntimeSource = yt, tn(b), b;
2004
+ }
2005
+ function rn(e) {
2006
+ let t;
2007
+ return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
2008
+ }
2009
+ const nn = [...Array(25)].map((e, t) => {
2010
+ if (t === 0)
2011
+ return "none";
2012
+ const r = rn(t);
2013
+ return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
2014
+ });
2015
+ function bt(e) {
2016
+ return {
2017
+ inputPlaceholder: e === "dark" ? 0.5 : 0.42,
2018
+ inputUnderline: e === "dark" ? 0.7 : 0.42,
2019
+ switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
2020
+ switchTrack: e === "dark" ? 0.3 : 0.38
2021
+ };
2022
+ }
2023
+ function Ct(e) {
2024
+ return e === "dark" ? nn : [];
2025
+ }
2026
+ function on(e) {
2027
+ const {
2028
+ palette: t = {
2029
+ mode: "light"
2030
+ },
2031
+ // need to cast to avoid module augmentation test
2032
+ opacity: r,
2033
+ overlays: n,
2034
+ colorSpace: i,
2035
+ ...a
2036
+ } = e, l = We({
2037
+ ...t,
2038
+ colorSpace: i
2039
+ });
2040
+ return {
2041
+ palette: l,
2042
+ opacity: {
2043
+ ...bt(l.mode),
2044
+ ...r
2045
+ },
2046
+ overlays: n || Ct(l.mode),
2047
+ ...a
2048
+ };
2049
+ }
2050
+ function an(e) {
2051
+ return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
2052
+ e[0] === "palette" && !!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
2053
+ }
2054
+ const sn = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], ln = (e) => (t, r) => {
2055
+ const n = e.rootSelector || ":root", i = e.colorSchemeSelector;
2056
+ let a = i;
2057
+ if (i === "class" && (a = ".%s"), i === "data" && (a = "[data-%s]"), i?.startsWith("data-") && !i.includes("%s") && (a = `[${i}="%s"]`), e.defaultColorScheme === t) {
2058
+ if (t === "dark") {
2059
+ const l = {};
2060
+ return sn(e.cssVarPrefix).forEach((u) => {
2061
+ l[u] = r[u], delete r[u];
2062
+ }), a === "media" ? {
2063
+ [n]: r,
2064
+ "@media (prefers-color-scheme: dark)": {
2065
+ [n]: l
2066
+ }
2067
+ } : a ? {
2068
+ [a.replace("%s", t)]: l,
2069
+ [`${n}, ${a.replace("%s", t)}`]: r
2070
+ } : {
2071
+ [n]: {
2072
+ ...r,
2073
+ ...l
2074
+ }
2075
+ };
2076
+ }
2077
+ if (a && a !== "media")
2078
+ return `${n}, ${a.replace("%s", String(t))}`;
2079
+ } else if (t) {
2080
+ if (a === "media")
2081
+ return {
2082
+ [`@media (prefers-color-scheme: ${String(t)})`]: {
2083
+ [n]: r
2084
+ }
2085
+ };
2086
+ if (a)
2087
+ return a.replace("%s", String(t));
2088
+ }
2089
+ return n;
2090
+ };
2091
+ function cn(e, t) {
2092
+ t.forEach((r) => {
2093
+ e[r] || (e[r] = {});
2094
+ });
2095
+ }
2096
+ function c(e, t, r) {
2097
+ !e[t] && r && (e[t] = r);
2098
+ }
2099
+ function fe(e) {
2100
+ return typeof e != "string" || !e.startsWith("hsl") ? e : dt(e);
2101
+ }
2102
+ function G(e, t) {
2103
+ `${t}Channel` in e || (e[`${t}Channel`] = ue(fe(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
2104
+ 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.`));
2105
+ }
2106
+ function un(e) {
2107
+ return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
2108
+ }
2109
+ const z = (e) => {
2110
+ try {
2111
+ return e();
2112
+ } catch {
2113
+ }
2114
+ }, fn = (e = "mui") => Or(e);
2115
+ function Ie(e, t, r, n, i) {
2116
+ if (!r)
2117
+ return;
2118
+ r = r === !0 ? {} : r;
2119
+ const a = i === "dark" ? "dark" : "light";
2120
+ if (!n) {
2121
+ t[i] = on({
2122
+ ...r,
2123
+ palette: {
2124
+ mode: a,
2125
+ ...r?.palette
2126
+ },
2127
+ colorSpace: e
2128
+ });
2129
+ return;
2130
+ }
2131
+ const {
2132
+ palette: l,
2133
+ ...u
2134
+ } = Fe({
2135
+ ...n,
2136
+ palette: {
2137
+ mode: a,
2138
+ ...r?.palette
2139
+ },
2140
+ colorSpace: e
2141
+ });
2142
+ return t[i] = {
2143
+ ...r,
2144
+ palette: l,
2145
+ opacity: {
2146
+ ...bt(a),
2147
+ ...r?.opacity
2148
+ },
2149
+ overlays: r?.overlays || Ct(a)
2150
+ }, u;
2151
+ }
2152
+ function dn(e = {}, ...t) {
2153
+ const {
2154
+ colorSchemes: r = {
2155
+ light: !0
2156
+ },
2157
+ defaultColorScheme: n,
2158
+ disableCssColorScheme: i = !1,
2159
+ cssVarPrefix: a = "mui",
2160
+ nativeColor: l = !1,
2161
+ shouldSkipGeneratingVar: u = an,
2162
+ colorSchemeSelector: f = r.light && r.dark ? "media" : void 0,
2163
+ rootSelector: p = ":root",
2164
+ ...y
2165
+ } = e, h = Object.keys(r)[0], d = n || (r.light && h !== "light" ? "light" : h), b = fn(a), {
2166
+ [d]: m,
2167
+ light: s,
2168
+ dark: C,
2169
+ ...O
2170
+ } = r, k = {
2171
+ ...O
2172
+ };
2173
+ let V = m;
2174
+ if ((d === "dark" && !("dark" in r) || d === "light" && !("light" in r)) && (V = !0), !V)
2175
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${d}\` option is either missing or invalid.` : H(21, d));
2176
+ let $;
2177
+ l && ($ = "oklch");
2178
+ const P = Ie($, k, V, y, d);
2179
+ s && !k.light && Ie($, k, s, void 0, "light"), C && !k.dark && Ie($, k, C, void 0, "dark");
2180
+ let E = {
2181
+ defaultColorScheme: d,
2182
+ ...P,
2183
+ cssVarPrefix: a,
2184
+ colorSchemeSelector: f,
2185
+ rootSelector: p,
2186
+ getCssVar: b,
2187
+ colorSchemes: k,
2188
+ font: {
2189
+ ...Lr(P.typography),
2190
+ ...P.font
2191
+ },
2192
+ spacing: un(y.spacing)
2193
+ };
2194
+ Object.keys(E.colorSchemes).forEach((M) => {
2195
+ const o = E.colorSchemes[M].palette, S = (A) => {
2196
+ const I = A.split("-"), Z = I[1], ee = I[2];
2197
+ return b(A, o[Z][ee]);
2198
+ };
2199
+ o.mode === "light" && (c(o.common, "background", "#fff"), c(o.common, "onBackground", "#000")), o.mode === "dark" && (c(o.common, "background", "#000"), c(o.common, "onBackground", "#fff"));
2200
+ function g(A, I, Z) {
2201
+ if ($) {
2202
+ let ee;
2203
+ return A === J && (ee = `transparent ${((1 - Z) * 100).toFixed(0)}%`), A === T && (ee = `#000 ${(Z * 100).toFixed(0)}%`), A === v && (ee = `#fff ${(Z * 100).toFixed(0)}%`), `color-mix(in ${$}, ${I}, ${ee})`;
2204
+ }
2205
+ return A(I, Z);
2206
+ }
2207
+ if (cn(o, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), o.mode === "light") {
2208
+ c(o.Alert, "errorColor", g(T, o.error.light, 0.6)), c(o.Alert, "infoColor", g(T, o.info.light, 0.6)), c(o.Alert, "successColor", g(T, o.success.light, 0.6)), c(o.Alert, "warningColor", g(T, o.warning.light, 0.6)), c(o.Alert, "errorFilledBg", S("palette-error-main")), c(o.Alert, "infoFilledBg", S("palette-info-main")), c(o.Alert, "successFilledBg", S("palette-success-main")), c(o.Alert, "warningFilledBg", S("palette-warning-main")), c(o.Alert, "errorFilledColor", z(() => o.getContrastText(o.error.main))), c(o.Alert, "infoFilledColor", z(() => o.getContrastText(o.info.main))), c(o.Alert, "successFilledColor", z(() => o.getContrastText(o.success.main))), c(o.Alert, "warningFilledColor", z(() => o.getContrastText(o.warning.main))), c(o.Alert, "errorStandardBg", g(v, o.error.light, 0.9)), c(o.Alert, "infoStandardBg", g(v, o.info.light, 0.9)), c(o.Alert, "successStandardBg", g(v, o.success.light, 0.9)), c(o.Alert, "warningStandardBg", g(v, o.warning.light, 0.9)), c(o.Alert, "errorIconColor", S("palette-error-main")), c(o.Alert, "infoIconColor", S("palette-info-main")), c(o.Alert, "successIconColor", S("palette-success-main")), c(o.Alert, "warningIconColor", S("palette-warning-main")), c(o.AppBar, "defaultBg", S("palette-grey-100")), c(o.Avatar, "defaultBg", S("palette-grey-400")), c(o.Button, "inheritContainedBg", S("palette-grey-300")), c(o.Button, "inheritContainedHoverBg", S("palette-grey-A100")), c(o.Chip, "defaultBorder", S("palette-grey-400")), c(o.Chip, "defaultAvatarColor", S("palette-grey-700")), c(o.Chip, "defaultIconColor", S("palette-grey-700")), c(o.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), c(o.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), c(o.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), c(o.LinearProgress, "primaryBg", g(v, o.primary.main, 0.62)), c(o.LinearProgress, "secondaryBg", g(v, o.secondary.main, 0.62)), c(o.LinearProgress, "errorBg", g(v, o.error.main, 0.62)), c(o.LinearProgress, "infoBg", g(v, o.info.main, 0.62)), c(o.LinearProgress, "successBg", g(v, o.success.main, 0.62)), c(o.LinearProgress, "warningBg", g(v, o.warning.main, 0.62)), c(o.Skeleton, "bg", $ ? g(J, o.text.primary, 0.11) : `rgba(${S("palette-text-primaryChannel")} / 0.11)`), c(o.Slider, "primaryTrack", g(v, o.primary.main, 0.62)), c(o.Slider, "secondaryTrack", g(v, o.secondary.main, 0.62)), c(o.Slider, "errorTrack", g(v, o.error.main, 0.62)), c(o.Slider, "infoTrack", g(v, o.info.main, 0.62)), c(o.Slider, "successTrack", g(v, o.success.main, 0.62)), c(o.Slider, "warningTrack", g(v, o.warning.main, 0.62));
2209
+ const A = $ ? g(T, o.background.default, 0.6825) : ye(o.background.default, 0.8);
2210
+ c(o.SnackbarContent, "bg", A), c(o.SnackbarContent, "color", z(() => $ ? Me.text.primary : o.getContrastText(A))), c(o.SpeedDialAction, "fabHoverBg", ye(o.background.paper, 0.15)), c(o.StepConnector, "border", S("palette-grey-400")), c(o.StepContent, "border", S("palette-grey-400")), c(o.Switch, "defaultColor", S("palette-common-white")), c(o.Switch, "defaultDisabledColor", S("palette-grey-100")), c(o.Switch, "primaryDisabledColor", g(v, o.primary.main, 0.62)), c(o.Switch, "secondaryDisabledColor", g(v, o.secondary.main, 0.62)), c(o.Switch, "errorDisabledColor", g(v, o.error.main, 0.62)), c(o.Switch, "infoDisabledColor", g(v, o.info.main, 0.62)), c(o.Switch, "successDisabledColor", g(v, o.success.main, 0.62)), c(o.Switch, "warningDisabledColor", g(v, o.warning.main, 0.62)), c(o.TableCell, "border", g(v, g(J, o.divider, 1), 0.88)), c(o.Tooltip, "bg", g(J, o.grey[700], 0.92));
2211
+ }
2212
+ if (o.mode === "dark") {
2213
+ c(o.Alert, "errorColor", g(v, o.error.light, 0.6)), c(o.Alert, "infoColor", g(v, o.info.light, 0.6)), c(o.Alert, "successColor", g(v, o.success.light, 0.6)), c(o.Alert, "warningColor", g(v, o.warning.light, 0.6)), c(o.Alert, "errorFilledBg", S("palette-error-dark")), c(o.Alert, "infoFilledBg", S("palette-info-dark")), c(o.Alert, "successFilledBg", S("palette-success-dark")), c(o.Alert, "warningFilledBg", S("palette-warning-dark")), c(o.Alert, "errorFilledColor", z(() => o.getContrastText(o.error.dark))), c(o.Alert, "infoFilledColor", z(() => o.getContrastText(o.info.dark))), c(o.Alert, "successFilledColor", z(() => o.getContrastText(o.success.dark))), c(o.Alert, "warningFilledColor", z(() => o.getContrastText(o.warning.dark))), c(o.Alert, "errorStandardBg", g(T, o.error.light, 0.9)), c(o.Alert, "infoStandardBg", g(T, o.info.light, 0.9)), c(o.Alert, "successStandardBg", g(T, o.success.light, 0.9)), c(o.Alert, "warningStandardBg", g(T, o.warning.light, 0.9)), c(o.Alert, "errorIconColor", S("palette-error-main")), c(o.Alert, "infoIconColor", S("palette-info-main")), c(o.Alert, "successIconColor", S("palette-success-main")), c(o.Alert, "warningIconColor", S("palette-warning-main")), c(o.AppBar, "defaultBg", S("palette-grey-900")), c(o.AppBar, "darkBg", S("palette-background-paper")), c(o.AppBar, "darkColor", S("palette-text-primary")), c(o.Avatar, "defaultBg", S("palette-grey-600")), c(o.Button, "inheritContainedBg", S("palette-grey-800")), c(o.Button, "inheritContainedHoverBg", S("palette-grey-700")), c(o.Chip, "defaultBorder", S("palette-grey-700")), c(o.Chip, "defaultAvatarColor", S("palette-grey-300")), c(o.Chip, "defaultIconColor", S("palette-grey-300")), c(o.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), c(o.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), c(o.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), c(o.LinearProgress, "primaryBg", g(T, o.primary.main, 0.5)), c(o.LinearProgress, "secondaryBg", g(T, o.secondary.main, 0.5)), c(o.LinearProgress, "errorBg", g(T, o.error.main, 0.5)), c(o.LinearProgress, "infoBg", g(T, o.info.main, 0.5)), c(o.LinearProgress, "successBg", g(T, o.success.main, 0.5)), c(o.LinearProgress, "warningBg", g(T, o.warning.main, 0.5)), c(o.Skeleton, "bg", $ ? g(J, o.text.primary, 0.13) : `rgba(${S("palette-text-primaryChannel")} / 0.13)`), c(o.Slider, "primaryTrack", g(T, o.primary.main, 0.5)), c(o.Slider, "secondaryTrack", g(T, o.secondary.main, 0.5)), c(o.Slider, "errorTrack", g(T, o.error.main, 0.5)), c(o.Slider, "infoTrack", g(T, o.info.main, 0.5)), c(o.Slider, "successTrack", g(T, o.success.main, 0.5)), c(o.Slider, "warningTrack", g(T, o.warning.main, 0.5));
2214
+ const A = $ ? g(v, o.background.default, 0.985) : ye(o.background.default, 0.98);
2215
+ c(o.SnackbarContent, "bg", A), c(o.SnackbarContent, "color", z(() => $ ? gt.text.primary : o.getContrastText(A))), c(o.SpeedDialAction, "fabHoverBg", ye(o.background.paper, 0.15)), c(o.StepConnector, "border", S("palette-grey-600")), c(o.StepContent, "border", S("palette-grey-600")), c(o.Switch, "defaultColor", S("palette-grey-300")), c(o.Switch, "defaultDisabledColor", S("palette-grey-600")), c(o.Switch, "primaryDisabledColor", g(T, o.primary.main, 0.55)), c(o.Switch, "secondaryDisabledColor", g(T, o.secondary.main, 0.55)), c(o.Switch, "errorDisabledColor", g(T, o.error.main, 0.55)), c(o.Switch, "infoDisabledColor", g(T, o.info.main, 0.55)), c(o.Switch, "successDisabledColor", g(T, o.success.main, 0.55)), c(o.Switch, "warningDisabledColor", g(T, o.warning.main, 0.55)), c(o.TableCell, "border", g(T, g(J, o.divider, 1), 0.68)), c(o.Tooltip, "bg", g(J, o.grey[700], 0.92));
2216
+ }
2217
+ G(o.background, "default"), G(o.background, "paper"), G(o.common, "background"), G(o.common, "onBackground"), G(o, "divider"), Object.keys(o).forEach((A) => {
2218
+ const I = o[A];
2219
+ A !== "tonalOffset" && I && typeof I == "object" && (I.main && c(o[A], "mainChannel", ue(fe(I.main))), I.light && c(o[A], "lightChannel", ue(fe(I.light))), I.dark && c(o[A], "darkChannel", ue(fe(I.dark))), I.contrastText && c(o[A], "contrastTextChannel", ue(fe(I.contrastText))), A === "text" && (G(o[A], "primary"), G(o[A], "secondary")), A === "action" && (I.active && G(o[A], "active"), I.selected && G(o[A], "selected")));
2220
+ });
2221
+ }), E = t.reduce((M, o) => D(M, o), E);
2222
+ const X = {
2223
+ prefix: a,
2224
+ disableCssColorScheme: i,
2225
+ shouldSkipGeneratingVar: u,
2226
+ getSelector: ln(E),
2227
+ enableContrastVars: l
2228
+ }, {
2229
+ vars: se,
2230
+ generateThemeVars: W,
2231
+ generateStyleSheets: j
2232
+ } = Nr(E, X);
2233
+ return E.vars = se, Object.entries(E.colorSchemes[E.defaultColorScheme]).forEach(([M, o]) => {
2234
+ E[M] = o;
2235
+ }), E.generateThemeVars = W, E.generateStyleSheets = j, E.generateSpacing = function() {
2236
+ return ft(y.spacing, Ve(this));
2237
+ }, E.getColorSchemeSelector = Rr(f), E.spacing = E.generateSpacing(), E.shouldSkipGeneratingVar = u, E.unstable_sxConfig = {
2238
+ ...Oe,
2239
+ ...y?.unstable_sxConfig
2240
+ }, E.unstable_sx = function(o) {
2241
+ return ke({
2242
+ sx: o,
2243
+ theme: this
2244
+ });
2245
+ }, E.toRuntimeSource = yt, E;
2246
+ }
2247
+ function ot(e, t, r) {
2248
+ e.colorSchemes && r && (e.colorSchemes[t] = {
2249
+ ...r !== !0 && r,
2250
+ palette: We({
2251
+ ...r === !0 ? {} : r.palette,
2252
+ mode: t
2253
+ })
2254
+ // cast type to skip module augmentation test
2255
+ });
2256
+ }
2257
+ function yn(e = {}, ...t) {
2258
+ const {
2259
+ palette: r,
2260
+ cssVariables: n = !1,
2261
+ colorSchemes: i = r ? void 0 : {
2262
+ light: !0
2263
+ },
2264
+ defaultColorScheme: a = r?.mode,
2265
+ ...l
2266
+ } = e, u = a || "light", f = i?.[u], p = {
2267
+ ...i,
2268
+ ...r ? {
2269
+ [u]: {
2270
+ ...typeof f != "boolean" && f,
2271
+ palette: r
2272
+ }
2273
+ } : void 0
2274
+ };
2275
+ if (n === !1) {
2276
+ if (!("colorSchemes" in e))
2277
+ return Fe(e, ...t);
2278
+ let y = r;
2279
+ "palette" in e || p[u] && (p[u] !== !0 ? y = p[u].palette : u === "dark" && (y = {
2280
+ mode: "dark"
2281
+ }));
2282
+ const h = Fe({
2283
+ ...e,
2284
+ palette: y
2285
+ }, ...t);
2286
+ return h.defaultColorScheme = u, h.colorSchemes = p, h.palette.mode === "light" && (h.colorSchemes.light = {
2287
+ ...p.light !== !0 && p.light,
2288
+ palette: h.palette
2289
+ }, ot(h, "dark", p.dark)), h.palette.mode === "dark" && (h.colorSchemes.dark = {
2290
+ ...p.dark !== !0 && p.dark,
2291
+ palette: h.palette
2292
+ }, ot(h, "light", p.light)), h;
2293
+ }
2294
+ return !r && !("light" in p) && u === "light" && (p.light = !0), dn({
2295
+ ...l,
2296
+ colorSchemes: p,
2297
+ defaultColorScheme: u,
2298
+ ...typeof n != "boolean" && n
2299
+ }, ...t);
2300
+ }
2301
+ export {
2302
+ $r as C,
2303
+ pt as a,
2304
+ De as b,
2305
+ Tr as c,
2306
+ Ne as d,
2307
+ Ar as e,
2308
+ yn as f,
2309
+ Qe as g,
2310
+ Oe as h,
2311
+ K as i,
2312
+ ct as j,
2313
+ rn as k,
2314
+ Re as l,
2315
+ Cr as m,
2316
+ qr as n,
2317
+ Se as o,
2318
+ Y as p,
2319
+ hn as q,
2320
+ at as r,
2321
+ ke as s,
2322
+ Ve as t,
2323
+ D as u,
2324
+ gn as v,
2325
+ ge as w,
2326
+ H as x,
2327
+ jr as y
2328
+ };