everest-npm-features 0.0.22 → 0.0.24

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 (246) hide show
  1. package/dist/{Alert-C1UNQHPD.js → Alert-CbQZ8Nii.js} +142 -116
  2. package/dist/{ArrowBack-Clp4i3dA.js → ArrowBack-BoYSBb8u.js} +1 -1
  3. package/dist/{ArrowDropDown-CoJNyIet.js → ArrowDropDown-BC_iEASy.js} +1 -1
  4. package/dist/{ArrowRight-DXtbS-1g.js → ArrowRight-rYkfGJuF.js} +1 -1
  5. package/dist/{Backdrop-DD6Ysl5O.js → Backdrop-CJBRZv_z.js} +106 -107
  6. package/dist/{Box-Be0E_-eR.js → Box-B12x52NC.js} +17 -16
  7. package/dist/Button-C57IMamW.js +660 -0
  8. package/dist/{ButtonBase-CE33gcZ6.js → ButtonBase-DugIO1pR.js} +194 -194
  9. package/dist/{Cancel-DEk2meuc.js → Cancel-D1JNu4Hj.js} +1 -1
  10. package/dist/{CardContent-B5tGyfc5.js → CardContent-CbObWW6t.js} +44 -45
  11. package/dist/{CheckCircle-BIckgNlV.js → CheckCircle-CyxKX1TY.js} +1 -1
  12. package/dist/{CircularProgress-fePUtoaj.js → CircularProgress-t8uGhLMo.js} +17 -17
  13. package/dist/{Close-D20PIPiF.js → Close-VV7zb3cu.js} +1 -1
  14. package/dist/{Close-Bj6AaxRi.js → Close-jnEgOCZv.js} +1 -1
  15. package/dist/{Container-CTfl6Vy4.js → Container-B3Af6Sc3.js} +20 -20
  16. package/dist/{ContentCopy-DzhD9ue3.js → ContentCopy-Ufwoeeov.js} +1 -1
  17. package/dist/DefaultPropsProvider-B2njZVNv.js +242 -0
  18. package/dist/DefaultPropsProvider-CZh8M2jM.js +351 -0
  19. package/dist/{Delete-BqqmGzYe.js → Delete-TCARcVtU.js} +1 -1
  20. package/dist/{DialogContent-D8jGp88c.js → DialogContent-DzidtXui.js} +202 -140
  21. package/dist/{DialogTitle-CxbjAJOw.js → DialogTitle-Bg61Hr7M.js} +23 -23
  22. package/dist/{Divider-D3PIEE97.js → Divider-Dy5hKfey.js} +31 -30
  23. package/dist/{ErrorOutline-CnwdlXPx.js → ErrorOutline-CI_ys3Zo.js} +1 -1
  24. package/dist/{FileDownload-BX69Jvdx.js → FileDownload-BcYF17B0.js} +1 -1
  25. package/dist/{FilledInput-n9W_V8GV.js → FilledInput-DrGeWgue.js} +352 -335
  26. package/dist/{FormControl-Cc-02KHW.js → FormControl-DeeQCuu5.js} +98 -81
  27. package/dist/{FormControlLabel-BEN9P8rJ.js → FormControlLabel-DVnrJkC8.js} +194 -165
  28. package/dist/GlobalStyles-DhHHc9O0.js +59 -0
  29. package/dist/Grid-BXyV_lM8.js +410 -0
  30. package/dist/Grow-B2p7O_1C.js +196 -0
  31. package/dist/{ownerDocument-C0GI-r2b.js → HTMLElementType-BrQSV2FE.js} +6 -6
  32. package/dist/IconButton-eWRhV6Q9.js +295 -0
  33. package/dist/{Info-83BXSu73.js → Info-D2UkGxyK.js} +1 -1
  34. package/dist/{InputAdornment-Ck_-Z38v.js → InputAdornment-BKuUMfPj.js} +14 -12
  35. package/dist/{Link-BqusVoz5.js → Link-Cm4BkRHO.js} +50 -49
  36. package/dist/{ListItemIcon-DIz-ZmJ0.js → ListItemIcon-GKRFb1Gr.js} +14 -13
  37. package/dist/{MenuItem-BkJ_C9Xs.js → MenuItem-CeCt0bfa.js} +46 -39
  38. package/dist/{Modal-CQcBtr07.js → Modal-csf3Y8d2.js} +265 -269
  39. package/dist/{Paper-B5pcGZbI.js → Paper-CnStNE24.js} +39 -38
  40. package/dist/{PlayArrow-1Y66tCVx.js → PlayArrow-DRCGjsrx.js} +1 -1
  41. package/dist/{Popper-CYsd-3n5.js → Popper-pPBEFLi4.js} +15 -15
  42. package/dist/{Portal-Bw0-5YJ9.js → Portal-CLa9CbMv.js} +36 -37
  43. package/dist/{RadioGroup-DtQqYrwU.js → RadioGroup-KiyYjXaT.js} +29 -28
  44. package/dist/{Select-DpKw-a6h.js → Select-Chubcks_.js} +1248 -933
  45. package/dist/{Slide-CdNJY-CT.js → Slide-DHG0r2gy.js} +68 -66
  46. package/dist/{Stack-C4POCZZb.js → Stack-CcR5RCg8.js} +41 -43
  47. package/dist/SwitchBase-CHO5ZceN.js +317 -0
  48. package/dist/{TextField-Cm9apaOp.js → TextField-q_SeLeNd.js} +144 -135
  49. package/dist/TransitionGroupContext-CYRQkQ6k.js +49 -0
  50. package/dist/{Typography-Ds4fpvK8.js → Typography-DBlMiOti.js} +39 -38
  51. package/dist/{auth-CR0412E5.js → auth-Bf9zHZ-x.js} +1 -1
  52. package/dist/{bank-iFS1RXp-.js → bank-BC4YNBRb.js} +3 -3
  53. package/dist/components/RocketRamp/MinimalKyc/form.js +9 -9
  54. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  55. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  56. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  57. package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
  58. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  59. package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
  60. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  61. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  62. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  63. package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
  64. package/dist/components/RocketRamp/Player/Sell/index.js +7 -7
  65. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  66. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  67. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
  68. package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
  69. package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
  70. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
  71. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  72. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  73. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  74. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  75. package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
  76. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  77. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  78. package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
  79. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  80. package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
  81. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  82. package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
  83. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
  84. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
  85. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  86. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  87. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  88. package/dist/components/Shared/FullKyc/index.js +4 -4
  89. package/dist/components/Shared/FullKyc/pep.js +9 -9
  90. package/dist/components/Shared/FullKyc/personalDetails.js +7 -7
  91. package/dist/components/Shared/FullKyc/userInfo.js +11 -11
  92. package/dist/components/Shared/HistoryItem/index.js +7 -7
  93. package/dist/components/Shared/Incode/index.js +5 -5
  94. package/dist/components/Shared/MinimalKyc/index.js +8 -8
  95. package/dist/components/Shared/loader.js +2 -2
  96. package/dist/components/Shared/tooltip.js +2 -2
  97. package/dist/components/Shared/transition.js +1 -1
  98. package/dist/components/Wallet/Account/createIban.d.ts +1 -0
  99. package/dist/components/Wallet/Account/createIban.js +36 -35
  100. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  101. package/dist/components/Wallet/Account/iban.js +16 -16
  102. package/dist/components/Wallet/Account/index.d.ts +1 -0
  103. package/dist/components/Wallet/Account/index.js +76 -70
  104. package/dist/components/Wallet/Account/sendIban.js +61 -61
  105. package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
  106. package/dist/components/Wallet/Buy/form.d.ts +2 -2
  107. package/dist/components/Wallet/Buy/form.js +17 -17
  108. package/dist/components/Wallet/Buy/index.js +6 -6
  109. package/dist/components/Wallet/Deposit/index.js +7 -7
  110. package/dist/components/Wallet/EnterpriseKyc/edd.js +7 -7
  111. package/dist/components/Wallet/EnterpriseKyc/index.js +26 -24
  112. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
  113. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
  114. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
  115. package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
  116. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +45 -44
  117. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3626 -100
  118. package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
  119. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +0 -1
  120. package/dist/components/Wallet/EnterpriseKyc/verify.js +5 -5
  121. package/dist/components/Wallet/History/index.js +61 -62
  122. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +14 -14
  123. package/dist/components/Wallet/Portfolio/index.js +95 -95
  124. package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
  125. package/dist/components/Wallet/Profile/documents.js +17 -17
  126. package/dist/components/Wallet/Profile/index.js +225 -206
  127. package/dist/components/Wallet/Receive/index.js +9 -9
  128. package/dist/components/Wallet/Sell/confirmTransaction.js +7 -7
  129. package/dist/components/Wallet/Sell/form.js +17 -17
  130. package/dist/components/Wallet/Sell/index.js +6 -6
  131. package/dist/components/Wallet/Send/index.js +14 -14
  132. package/dist/components/Wallet/Shared/Auth/emailForm.js +3 -3
  133. package/dist/components/Wallet/Shared/Auth/otpForm.js +217 -10451
  134. package/dist/components/Wallet/Shared/CardPayment/index.js +57 -55
  135. package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
  136. package/dist/components/Wallet/Shared/Container/index.js +3 -3
  137. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  138. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +9 -10
  139. package/dist/components/Wallet/Shared/Order/types.d.ts +23 -2
  140. package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
  141. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
  142. package/dist/components/Wallet/Shared/addBank.js +11 -11
  143. package/dist/components/Wallet/Shared/appButton.js +5 -5
  144. package/dist/components/Wallet/Shared/backBtn.js +8 -8
  145. package/dist/components/Wallet/Shared/button.js +1 -1
  146. package/dist/components/Wallet/Shared/connectPlaidBank.js +5 -5
  147. package/dist/components/Wallet/Shared/inputField.js +1 -1
  148. package/dist/components/Wallet/Shared/noData.js +2 -2
  149. package/dist/components/Wallet/Shared/pin.js +3 -3
  150. package/dist/components/Wallet/Shared/radioButton.js +3 -3
  151. package/dist/components/Wallet/Shared/step.js +2 -2
  152. package/dist/components/Wallet/SignIn/index.js +2 -2
  153. package/dist/components/Wallet/SignUp/index.js +2 -2
  154. package/dist/components/Wallet/SignUp/terms.js +4 -4
  155. package/dist/components/Wallet/Stake/gems/index.js +11 -11
  156. package/dist/components/Wallet/Stake/id/index.js +12 -12
  157. package/dist/components/Wallet/Stake/index.js +10 -10
  158. package/dist/components/Wallet/Swap/index.js +138 -150
  159. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  160. package/dist/components/Wallet/Withdraw/bankSelect.js +10 -10
  161. package/dist/components/Wallet/Withdraw/confirmTransaction.js +7 -7
  162. package/dist/components/Wallet/Withdraw/form.d.ts +2 -2
  163. package/dist/components/Wallet/Withdraw/form.js +16 -16
  164. package/dist/components/Wallet/Withdraw/index.js +5 -5
  165. package/dist/{constants-BJByDTQY.js → constants-CsMPRK0U.js} +285 -284
  166. package/dist/{createSvgIcon-C0wzKL72.js → createSvgIcon-CH41ZVFw.js} +58 -57
  167. package/dist/createTheme-DmGCMO09.js +3825 -0
  168. package/dist/{cryptoAssets-BcVSdM1C.js → cryptoAssets-CzNDY1j6.js} +1 -1
  169. package/dist/defaultTheme-9fAph5zo.js +5 -0
  170. package/dist/{dividerClasses-Cb_Is0-O.js → dividerClasses-DnbM--4s.js} +2 -2
  171. package/dist/{documents-HjBKq9qA.js → documents-CEeV8SyW.js} +16 -16
  172. package/dist/{Transition-CYSgg85A.js → elementAcceptingRef-BbsmdE_3.js} +109 -66
  173. package/dist/{elementTypeAcceptingRef-Bc1kRXA9.js → elementTypeAcceptingRef-CdmXUhJ8.js} +1 -1
  174. package/dist/{emotion-react.browser.esm-BjxI_t8k.js → emotion-react.browser.esm-C2mxoK1z.js} +42 -42
  175. package/dist/{extendSxProp-a8ZTL0ZI.js → extendSxProp-Bwha5fon.js} +1 -1
  176. package/dist/{fiatAssets-C_F8qNzr.js → fiatAssets-DVHfFafS.js} +1 -1
  177. package/dist/hoc/withThemeProvider.js +518 -417
  178. package/dist/hooks/useDialog/index.js +4 -4
  179. package/dist/hooks/useRrDialog/index.js +4 -4
  180. package/dist/hooks/useSnackBar.js +363 -288
  181. package/dist/{iban-Dh7qBGGc.js → iban-DRT7i0vb.js} +74 -85
  182. package/dist/icons/buyIcon.js +1 -1
  183. package/dist/icons/canceledBuyIcon.js +1 -1
  184. package/dist/icons/canceledRedeemIcon.js +1 -1
  185. package/dist/icons/failedBuyIcon.js +1 -1
  186. package/dist/icons/failedRedeemIcon.js +1 -1
  187. package/dist/icons/pendingBuyIcon.js +1 -1
  188. package/dist/icons/pendingRedeemIcon.js +1 -1
  189. package/dist/icons/redeemIcon.js +1 -1
  190. package/dist/index-BB3__zW3.js +644 -0
  191. package/dist/index-C86AoaoB.js +43 -0
  192. package/dist/{index-BFIhKqqi.js → index-C9uGghB8.js} +141 -133
  193. package/dist/{index-DkMQ44xy.js → index-DZ__IpVI.js} +19 -19
  194. package/dist/{index-B2OIoTNN.js → index-DxX5Mo0o.js} +18 -18
  195. package/dist/{index-CQe8cwpc.js → index-VE9lYjq3.js} +22 -22
  196. package/dist/index-eEYiDlpX.js +723 -0
  197. package/dist/{index-CtkDfW5M.js → index-x9CniyQB.js} +1 -1
  198. package/dist/{kyc-DJpiKj5d.js → kyc-BweeW6k9.js} +1 -1
  199. package/dist/main.js +6 -6
  200. package/dist/{order-DhUA-ZNX.js → order-DmTHC7ZG.js} +7 -7
  201. package/dist/{ownerWindow-iFlVse9X.js → ownerWindow-CRgpWY6I.js} +1 -1
  202. package/dist/pep-C5Ge-kU4.js +2691 -0
  203. package/dist/{radioButton-CdYLf2fc.js → radioButton-Bgy7Kxxo.js} +172 -121
  204. package/dist/refType-CaiGhRso.js +56 -0
  205. package/dist/{stake-DWRuAE1u.js → stake-B150utJI.js} +1 -1
  206. package/dist/tokenRow-BR8f4g7G.js +198 -0
  207. package/dist/{tooltip-CwdohO6q.js → tooltip-DGtrVEzU.js} +258 -235
  208. package/dist/useControlled-nm4pBabJ.js +31 -0
  209. package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
  210. package/dist/useSlot-DtSnboW7.js +125 -0
  211. package/dist/useSlotProps-D62tWbb1.js +25 -0
  212. package/dist/useTheme-Bfw5Gt1b.js +17 -0
  213. package/dist/{useTheme-BzIjfC6u.js → useTheme-XTDzJ69d.js} +3 -3
  214. package/dist/useThemeProps-lRuJRcRX.js +29 -0
  215. package/dist/util/constants.d.ts +1 -3
  216. package/dist/util/constants.js +27 -29
  217. package/dist/wallet-DDW5KCHp.js +39 -0
  218. package/package.json +7 -6
  219. package/dist/Button-DCBtFwk3.js +0 -452
  220. package/dist/DefaultPropsProvider-5cxFAZuq.js +0 -647
  221. package/dist/DefaultPropsProvider-DOLtk4kZ.js +0 -88
  222. package/dist/GlobalStyles-O5U8h5ZQ.js +0 -23
  223. package/dist/Grid-BaaKMDwM.js +0 -501
  224. package/dist/Grid2-DX2sucnU.js +0 -374
  225. package/dist/Grow-CC3Va50c.js +0 -216
  226. package/dist/IconButton-8B2ygvr4.js +0 -238
  227. package/dist/SwitchBase-B9rcpVZ0.js +0 -261
  228. package/dist/TransitionGroupContext-BzyZRJGo.js +0 -37
  229. package/dist/createTheme-D_EHVLXp.js +0 -3662
  230. package/dist/defaultTheme-CGLnLLk_.js +0 -5
  231. package/dist/index-BEH1PkNC.js +0 -572
  232. package/dist/index-DSZxScyY.js +0 -704
  233. package/dist/index-DlZLKtdr.js +0 -72
  234. package/dist/pep-BsWvrgyM.js +0 -2600
  235. package/dist/resolveComponentProps-CPnCrKvI.js +0 -80
  236. package/dist/styled-CyBKg0N-.js +0 -5
  237. package/dist/tokenRow-QlGBYRKR.js +0 -206
  238. package/dist/useControlled-BYdyS7Pn.js +0 -31
  239. package/dist/useSlot-BdP6R4tz.js +0 -50
  240. package/dist/useTheme-BFI_g9FY.js +0 -9
  241. package/dist/useThemeProps-BOrAzOS4.js +0 -40
  242. package/dist/useThemeWithoutDefault-BWt80cCE.js +0 -12
  243. package/dist/useTimeout-_ag1gI7y.js +0 -56
  244. package/dist/utils-B-vKE_Dv.js +0 -50
  245. package/dist/utils-asicApOI.js +0 -21
  246. package/dist/wallet-z7NHqtCj.js +0 -35
@@ -1,3662 +0,0 @@
1
- import * as ge from "react";
2
- import { forwardRef as Ut, useContext as Vt } from "react";
3
- import { g as zt } from "./_commonjsHelpers-BkfeUUK-.js";
4
- const Fe = {
5
- black: "#000",
6
- white: "#fff"
7
- }, Te = {
8
- 50: "#ffebee",
9
- 100: "#ffcdd2",
10
- 200: "#ef9a9a",
11
- 300: "#e57373",
12
- 400: "#ef5350",
13
- 500: "#f44336",
14
- 600: "#e53935",
15
- 700: "#d32f2f",
16
- 800: "#c62828",
17
- 900: "#b71c1c",
18
- A100: "#ff8a80",
19
- A200: "#ff5252",
20
- A400: "#ff1744",
21
- A700: "#d50000"
22
- }, $e = {
23
- 50: "#f3e5f5",
24
- 100: "#e1bee7",
25
- 200: "#ce93d8",
26
- 300: "#ba68c8",
27
- 400: "#ab47bc",
28
- 500: "#9c27b0",
29
- 600: "#8e24aa",
30
- 700: "#7b1fa2",
31
- 800: "#6a1b9a",
32
- 900: "#4a148c",
33
- A100: "#ea80fc",
34
- A200: "#e040fb",
35
- A400: "#d500f9",
36
- A700: "#aa00ff"
37
- }, Ae = {
38
- 50: "#e3f2fd",
39
- 100: "#bbdefb",
40
- 200: "#90caf9",
41
- 300: "#64b5f6",
42
- 400: "#42a5f5",
43
- 500: "#2196f3",
44
- 600: "#1e88e5",
45
- 700: "#1976d2",
46
- 800: "#1565c0",
47
- 900: "#0d47a1",
48
- A100: "#82b1ff",
49
- A200: "#448aff",
50
- A400: "#2979ff",
51
- A700: "#2962ff"
52
- }, Oe = {
53
- 50: "#e1f5fe",
54
- 100: "#b3e5fc",
55
- 200: "#81d4fa",
56
- 300: "#4fc3f7",
57
- 400: "#29b6f6",
58
- 500: "#03a9f4",
59
- 600: "#039be5",
60
- 700: "#0288d1",
61
- 800: "#0277bd",
62
- 900: "#01579b",
63
- A100: "#80d8ff",
64
- A200: "#40c4ff",
65
- A400: "#00b0ff",
66
- A700: "#0091ea"
67
- }, ke = {
68
- 50: "#e8f5e9",
69
- 100: "#c8e6c9",
70
- 200: "#a5d6a7",
71
- 300: "#81c784",
72
- 400: "#66bb6a",
73
- 500: "#4caf50",
74
- 600: "#43a047",
75
- 700: "#388e3c",
76
- 800: "#2e7d32",
77
- 900: "#1b5e20",
78
- A100: "#b9f6ca",
79
- A200: "#69f0ae",
80
- A400: "#00e676",
81
- A700: "#00c853"
82
- }, Be = {
83
- 50: "#fff3e0",
84
- 100: "#ffe0b2",
85
- 200: "#ffcc80",
86
- 300: "#ffb74d",
87
- 400: "#ffa726",
88
- 500: "#ff9800",
89
- 600: "#fb8c00",
90
- 700: "#f57c00",
91
- 800: "#ef6c00",
92
- 900: "#e65100",
93
- A100: "#ffd180",
94
- A200: "#ffab40",
95
- A400: "#ff9100",
96
- A700: "#ff6d00"
97
- }, Gt = {
98
- 50: "#fafafa",
99
- 100: "#f5f5f5",
100
- 200: "#eeeeee",
101
- 300: "#e0e0e0",
102
- 400: "#bdbdbd",
103
- 500: "#9e9e9e",
104
- 600: "#757575",
105
- 700: "#616161",
106
- 800: "#424242",
107
- 900: "#212121",
108
- A100: "#f5f5f5",
109
- A200: "#eeeeee",
110
- A400: "#bdbdbd",
111
- A700: "#616161"
112
- };
113
- function Ce(e) {
114
- let r = "https://mui.com/production-error/?code=" + e;
115
- for (let t = 1; t < arguments.length; t += 1)
116
- r += "&args[]=" + encodeURIComponent(arguments[t]);
117
- return "Minified MUI error #" + e + "; visit " + r + " for the full message.";
118
- }
119
- const Ui = "$$material";
120
- var Yt = !1;
121
- function Kt(e) {
122
- if (e.sheet)
123
- return e.sheet;
124
- for (var r = 0; r < document.styleSheets.length; r++)
125
- if (document.styleSheets[r].ownerNode === e)
126
- return document.styleSheets[r];
127
- }
128
- function qt(e) {
129
- var r = document.createElement("style");
130
- return r.setAttribute("data-emotion", e.key), e.nonce !== void 0 && r.setAttribute("nonce", e.nonce), r.appendChild(document.createTextNode("")), r.setAttribute("data-s", ""), r;
131
- }
132
- var Ht = /* @__PURE__ */ function() {
133
- function e(t) {
134
- var n = this;
135
- this._insertTag = function(o) {
136
- var i;
137
- n.tags.length === 0 ? n.insertionPoint ? i = n.insertionPoint.nextSibling : n.prepend ? i = n.container.firstChild : i = n.before : i = n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(o, i), n.tags.push(o);
138
- }, this.isSpeedy = t.speedy === void 0 ? !Yt : t.speedy, this.tags = [], this.ctr = 0, this.nonce = t.nonce, this.key = t.key, this.container = t.container, this.prepend = t.prepend, this.insertionPoint = t.insertionPoint, this.before = null;
139
- }
140
- var r = e.prototype;
141
- return r.hydrate = function(n) {
142
- n.forEach(this._insertTag);
143
- }, r.insert = function(n) {
144
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(qt(this));
145
- var o = this.tags[this.tags.length - 1];
146
- if (this.isSpeedy) {
147
- var i = Kt(o);
148
- try {
149
- i.insertRule(n, i.cssRules.length);
150
- } catch {
151
- }
152
- } else
153
- o.appendChild(document.createTextNode(n));
154
- this.ctr++;
155
- }, r.flush = function() {
156
- this.tags.forEach(function(n) {
157
- var o;
158
- return (o = n.parentNode) == null ? void 0 : o.removeChild(n);
159
- }), this.tags = [], this.ctr = 0;
160
- }, e;
161
- }(), Z = "-ms-", tr = "-moz-", D = "-webkit-", vt = "comm", Mr = "rule", jr = "decl", Qt = "@import", Ct = "@keyframes", Jt = "@layer", Xt = Math.abs, or = String.fromCharCode, Zt = Object.assign;
162
- function en(e, r) {
163
- return X(e, 0) ^ 45 ? (((r << 2 ^ X(e, 0)) << 2 ^ X(e, 1)) << 2 ^ X(e, 2)) << 2 ^ X(e, 3) : 0;
164
- }
165
- function St(e) {
166
- return e.trim();
167
- }
168
- function rn(e, r) {
169
- return (e = r.exec(e)) ? e[0] : e;
170
- }
171
- function W(e, r, t) {
172
- return e.replace(r, t);
173
- }
174
- function Pr(e, r) {
175
- return e.indexOf(r);
176
- }
177
- function X(e, r) {
178
- return e.charCodeAt(r) | 0;
179
- }
180
- function Le(e, r, t) {
181
- return e.slice(r, t);
182
- }
183
- function de(e) {
184
- return e.length;
185
- }
186
- function Dr(e) {
187
- return e.length;
188
- }
189
- function He(e, r) {
190
- return r.push(e), e;
191
- }
192
- function tn(e, r) {
193
- return e.map(r).join("");
194
- }
195
- var ir = 1, _e = 1, wt = 0, ne = 0, J = 0, Ie = "";
196
- function ar(e, r, t, n, o, i, s) {
197
- return { value: e, root: r, parent: t, type: n, props: o, children: i, line: ir, column: _e, length: s, return: "" };
198
- }
199
- function Ne(e, r) {
200
- return Zt(ar("", null, null, "", null, null, 0), e, { length: -e.length }, r);
201
- }
202
- function nn() {
203
- return J;
204
- }
205
- function on() {
206
- return J = ne > 0 ? X(Ie, --ne) : 0, _e--, J === 10 && (_e = 1, ir--), J;
207
- }
208
- function ie() {
209
- return J = ne < wt ? X(Ie, ne++) : 0, _e++, J === 10 && (_e = 1, ir++), J;
210
- }
211
- function he() {
212
- return X(Ie, ne);
213
- }
214
- function Ze() {
215
- return ne;
216
- }
217
- function ze(e, r) {
218
- return Le(Ie, e, r);
219
- }
220
- function Ue(e) {
221
- switch (e) {
222
- case 0:
223
- case 9:
224
- case 10:
225
- case 13:
226
- case 32:
227
- return 5;
228
- case 33:
229
- case 43:
230
- case 44:
231
- case 47:
232
- case 62:
233
- case 64:
234
- case 126:
235
- case 59:
236
- case 123:
237
- case 125:
238
- return 4;
239
- case 58:
240
- return 3;
241
- case 34:
242
- case 39:
243
- case 40:
244
- case 91:
245
- return 2;
246
- case 41:
247
- case 93:
248
- return 1;
249
- }
250
- return 0;
251
- }
252
- function xt(e) {
253
- return ir = _e = 1, wt = de(Ie = e), ne = 0, [];
254
- }
255
- function Et(e) {
256
- return Ie = "", e;
257
- }
258
- function er(e) {
259
- return St(ze(ne - 1, Rr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
260
- }
261
- function an(e) {
262
- for (; (J = he()) && J < 33; )
263
- ie();
264
- return Ue(e) > 2 || Ue(J) > 3 ? "" : " ";
265
- }
266
- function sn(e, r) {
267
- for (; --r && ie() && !(J < 48 || J > 102 || J > 57 && J < 65 || J > 70 && J < 97); )
268
- ;
269
- return ze(e, Ze() + (r < 6 && he() == 32 && ie() == 32));
270
- }
271
- function Rr(e) {
272
- for (; ie(); )
273
- switch (J) {
274
- case e:
275
- return ne;
276
- case 34:
277
- case 39:
278
- e !== 34 && e !== 39 && Rr(J);
279
- break;
280
- case 40:
281
- e === 41 && Rr(e);
282
- break;
283
- case 92:
284
- ie();
285
- break;
286
- }
287
- return ne;
288
- }
289
- function cn(e, r) {
290
- for (; ie() && e + J !== 57; )
291
- if (e + J === 84 && he() === 47)
292
- break;
293
- return "/*" + ze(r, ne - 1) + "*" + or(e === 47 ? e : ie());
294
- }
295
- function un(e) {
296
- for (; !Ue(he()); )
297
- ie();
298
- return ze(e, ne);
299
- }
300
- function fn(e) {
301
- return Et(rr("", null, null, null, [""], e = xt(e), 0, [0], e));
302
- }
303
- function rr(e, r, t, n, o, i, s, c, u) {
304
- for (var l = 0, p = 0, d = s, g = 0, S = 0, v = 0, m = 1, w = 1, E = 1, I = 0, b = "", A = o, h = i, V = n, O = b; w; )
305
- switch (v = I, I = ie()) {
306
- case 40:
307
- if (v != 108 && X(O, d - 1) == 58) {
308
- Pr(O += W(er(I), "&", "&\f"), "&\f") != -1 && (E = -1);
309
- break;
310
- }
311
- case 34:
312
- case 39:
313
- case 91:
314
- O += er(I);
315
- break;
316
- case 9:
317
- case 10:
318
- case 13:
319
- case 32:
320
- O += an(v);
321
- break;
322
- case 92:
323
- O += sn(Ze() - 1, 7);
324
- continue;
325
- case 47:
326
- switch (he()) {
327
- case 42:
328
- case 47:
329
- He(ln(cn(ie(), Ze()), r, t), u);
330
- break;
331
- default:
332
- O += "/";
333
- }
334
- break;
335
- case 123 * m:
336
- c[l++] = de(O) * E;
337
- case 125 * m:
338
- case 59:
339
- case 0:
340
- switch (I) {
341
- case 0:
342
- case 125:
343
- w = 0;
344
- case 59 + p:
345
- E == -1 && (O = W(O, /\f/g, "")), S > 0 && de(O) - d && He(S > 32 ? qr(O + ";", n, t, d - 1) : qr(W(O, " ", "") + ";", n, t, d - 2), u);
346
- break;
347
- case 59:
348
- O += ";";
349
- default:
350
- if (He(V = Kr(O, r, t, l, p, o, c, b, A = [], h = [], d), i), I === 123)
351
- if (p === 0)
352
- rr(O, r, V, V, A, i, d, c, h);
353
- else
354
- switch (g === 99 && X(O, 3) === 110 ? 100 : g) {
355
- case 100:
356
- case 108:
357
- case 109:
358
- case 115:
359
- rr(e, V, V, n && He(Kr(e, V, V, 0, 0, o, c, b, o, A = [], d), h), o, h, d, c, n ? A : h);
360
- break;
361
- default:
362
- rr(O, V, V, V, [""], h, 0, c, h);
363
- }
364
- }
365
- l = p = S = 0, m = E = 1, b = O = "", d = s;
366
- break;
367
- case 58:
368
- d = 1 + de(O), S = v;
369
- default:
370
- if (m < 1) {
371
- if (I == 123)
372
- --m;
373
- else if (I == 125 && m++ == 0 && on() == 125)
374
- continue;
375
- }
376
- switch (O += or(I), I * m) {
377
- case 38:
378
- E = p > 0 ? 1 : (O += "\f", -1);
379
- break;
380
- case 44:
381
- c[l++] = (de(O) - 1) * E, E = 1;
382
- break;
383
- case 64:
384
- he() === 45 && (O += er(ie())), g = he(), p = d = de(b = O += un(Ze())), I++;
385
- break;
386
- case 45:
387
- v === 45 && de(O) == 2 && (m = 0);
388
- }
389
- }
390
- return i;
391
- }
392
- function Kr(e, r, t, n, o, i, s, c, u, l, p) {
393
- for (var d = o - 1, g = o === 0 ? i : [""], S = Dr(g), v = 0, m = 0, w = 0; v < n; ++v)
394
- for (var E = 0, I = Le(e, d + 1, d = Xt(m = s[v])), b = e; E < S; ++E)
395
- (b = St(m > 0 ? g[E] + " " + I : W(I, /&\f/g, g[E]))) && (u[w++] = b);
396
- return ar(e, r, t, o === 0 ? Mr : c, u, l, p);
397
- }
398
- function ln(e, r, t) {
399
- return ar(e, r, t, vt, or(nn()), Le(e, 2, -2), 0);
400
- }
401
- function qr(e, r, t, n) {
402
- return ar(e, r, t, jr, Le(e, 0, n), Le(e, n + 1, -1), n);
403
- }
404
- function Pe(e, r) {
405
- for (var t = "", n = Dr(e), o = 0; o < n; o++)
406
- t += r(e[o], o, e, r) || "";
407
- return t;
408
- }
409
- function dn(e, r, t, n) {
410
- switch (e.type) {
411
- case Jt:
412
- if (e.children.length) break;
413
- case Qt:
414
- case jr:
415
- return e.return = e.return || e.value;
416
- case vt:
417
- return "";
418
- case Ct:
419
- return e.return = e.value + "{" + Pe(e.children, n) + "}";
420
- case Mr:
421
- e.value = e.props.join(",");
422
- }
423
- return de(t = Pe(e.children, n)) ? e.return = e.value + "{" + t + "}" : "";
424
- }
425
- function pn(e) {
426
- var r = Dr(e);
427
- return function(t, n, o, i) {
428
- for (var s = "", c = 0; c < r; c++)
429
- s += e[c](t, n, o, i) || "";
430
- return s;
431
- };
432
- }
433
- function gn(e) {
434
- return function(r) {
435
- r.root || (r = r.return) && e(r);
436
- };
437
- }
438
- function hn(e) {
439
- var r = /* @__PURE__ */ Object.create(null);
440
- return function(t) {
441
- return r[t] === void 0 && (r[t] = e(t)), r[t];
442
- };
443
- }
444
- var mn = function(r, t, n) {
445
- for (var o = 0, i = 0; o = i, i = he(), o === 38 && i === 12 && (t[n] = 1), !Ue(i); )
446
- ie();
447
- return ze(r, ne);
448
- }, yn = function(r, t) {
449
- var n = -1, o = 44;
450
- do
451
- switch (Ue(o)) {
452
- case 0:
453
- o === 38 && he() === 12 && (t[n] = 1), r[n] += mn(ne - 1, t, n);
454
- break;
455
- case 2:
456
- r[n] += er(o);
457
- break;
458
- case 4:
459
- if (o === 44) {
460
- r[++n] = he() === 58 ? "&\f" : "", t[n] = r[n].length;
461
- break;
462
- }
463
- default:
464
- r[n] += or(o);
465
- }
466
- while (o = ie());
467
- return r;
468
- }, bn = function(r, t) {
469
- return Et(yn(xt(r), t));
470
- }, Hr = /* @__PURE__ */ new WeakMap(), vn = function(r) {
471
- if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
472
- // negative .length indicates that this rule has been already prefixed
473
- r.length < 1)) {
474
- for (var t = r.value, n = r.parent, o = r.column === n.column && r.line === n.line; n.type !== "rule"; )
475
- if (n = n.parent, !n) return;
476
- if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !Hr.get(n)) && !o) {
477
- Hr.set(r, !0);
478
- for (var i = [], s = bn(t, i), c = n.props, u = 0, l = 0; u < s.length; u++)
479
- for (var p = 0; p < c.length; p++, l++)
480
- r.props[l] = i[u] ? s[u].replace(/&\f/g, c[p]) : c[p] + " " + s[u];
481
- }
482
- }
483
- }, Cn = function(r) {
484
- if (r.type === "decl") {
485
- var t = r.value;
486
- // charcode for l
487
- t.charCodeAt(0) === 108 && // charcode for b
488
- t.charCodeAt(2) === 98 && (r.return = "", r.value = "");
489
- }
490
- };
491
- function Tt(e, r) {
492
- switch (en(e, r)) {
493
- case 5103:
494
- return D + "print-" + e + e;
495
- case 5737:
496
- case 4201:
497
- case 3177:
498
- case 3433:
499
- case 1641:
500
- case 4457:
501
- case 2921:
502
- case 5572:
503
- case 6356:
504
- case 5844:
505
- case 3191:
506
- case 6645:
507
- case 3005:
508
- case 6391:
509
- case 5879:
510
- case 5623:
511
- case 6135:
512
- case 4599:
513
- case 4855:
514
- case 4215:
515
- case 6389:
516
- case 5109:
517
- case 5365:
518
- case 5621:
519
- case 3829:
520
- return D + e + e;
521
- case 5349:
522
- case 4246:
523
- case 4810:
524
- case 6968:
525
- case 2756:
526
- return D + e + tr + e + Z + e + e;
527
- case 6828:
528
- case 4268:
529
- return D + e + Z + e + e;
530
- case 6165:
531
- return D + e + Z + "flex-" + e + e;
532
- case 5187:
533
- return D + e + W(e, /(\w+).+(:[^]+)/, D + "box-$1$2" + Z + "flex-$1$2") + e;
534
- case 5443:
535
- return D + e + Z + "flex-item-" + W(e, /flex-|-self/, "") + e;
536
- case 4675:
537
- return D + e + Z + "flex-line-pack" + W(e, /align-content|flex-|-self/, "") + e;
538
- case 5548:
539
- return D + e + Z + W(e, "shrink", "negative") + e;
540
- case 5292:
541
- return D + e + Z + W(e, "basis", "preferred-size") + e;
542
- case 6060:
543
- return D + "box-" + W(e, "-grow", "") + D + e + Z + W(e, "grow", "positive") + e;
544
- case 4554:
545
- return D + W(e, /([^-])(transform)/g, "$1" + D + "$2") + e;
546
- case 6187:
547
- return W(W(W(e, /(zoom-|grab)/, D + "$1"), /(image-set)/, D + "$1"), e, "") + e;
548
- case 5495:
549
- case 3959:
550
- return W(e, /(image-set\([^]*)/, D + "$1$`$1");
551
- case 4968:
552
- return W(W(e, /(.+:)(flex-)?(.*)/, D + "box-pack:$3" + Z + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + D + e + e;
553
- case 4095:
554
- case 3583:
555
- case 4068:
556
- case 2532:
557
- return W(e, /(.+)-inline(.+)/, D + "$1$2") + e;
558
- case 8116:
559
- case 7059:
560
- case 5753:
561
- case 5535:
562
- case 5445:
563
- case 5701:
564
- case 4933:
565
- case 4677:
566
- case 5533:
567
- case 5789:
568
- case 5021:
569
- case 4765:
570
- if (de(e) - 1 - r > 6) switch (X(e, r + 1)) {
571
- case 109:
572
- if (X(e, r + 4) !== 45) break;
573
- case 102:
574
- return W(e, /(.+:)(.+)-([^]+)/, "$1" + D + "$2-$3$1" + tr + (X(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
575
- case 115:
576
- return ~Pr(e, "stretch") ? Tt(W(e, "stretch", "fill-available"), r) + e : e;
577
- }
578
- break;
579
- case 4949:
580
- if (X(e, r + 1) !== 115) break;
581
- case 6444:
582
- switch (X(e, de(e) - 3 - (~Pr(e, "!important") && 10))) {
583
- case 107:
584
- return W(e, ":", ":" + D) + e;
585
- case 101:
586
- return W(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + D + (X(e, 14) === 45 ? "inline-" : "") + "box$3$1" + D + "$2$3$1" + Z + "$2box$3") + e;
587
- }
588
- break;
589
- case 5936:
590
- switch (X(e, r + 11)) {
591
- case 114:
592
- return D + e + Z + W(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
593
- case 108:
594
- return D + e + Z + W(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
595
- case 45:
596
- return D + e + Z + W(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
597
- }
598
- return D + e + Z + e + e;
599
- }
600
- return e;
601
- }
602
- var Sn = function(r, t, n, o) {
603
- if (r.length > -1 && !r.return) switch (r.type) {
604
- case jr:
605
- r.return = Tt(r.value, r.length);
606
- break;
607
- case Ct:
608
- return Pe([Ne(r, {
609
- value: W(r.value, "@", "@" + D)
610
- })], o);
611
- case Mr:
612
- if (r.length) return tn(r.props, function(i) {
613
- switch (rn(i, /(::plac\w+|:read-\w+)/)) {
614
- case ":read-only":
615
- case ":read-write":
616
- return Pe([Ne(r, {
617
- props: [W(i, /:(read-\w+)/, ":" + tr + "$1")]
618
- })], o);
619
- case "::placeholder":
620
- return Pe([Ne(r, {
621
- props: [W(i, /:(plac\w+)/, ":" + D + "input-$1")]
622
- }), Ne(r, {
623
- props: [W(i, /:(plac\w+)/, ":" + tr + "$1")]
624
- }), Ne(r, {
625
- props: [W(i, /:(plac\w+)/, Z + "input-$1")]
626
- })], o);
627
- }
628
- return "";
629
- });
630
- }
631
- }, wn = [Sn], xn = function(r) {
632
- var t = r.key;
633
- if (t === "css") {
634
- var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
635
- Array.prototype.forEach.call(n, function(m) {
636
- var w = m.getAttribute("data-emotion");
637
- w.indexOf(" ") !== -1 && (document.head.appendChild(m), m.setAttribute("data-s", ""));
638
- });
639
- }
640
- var o = r.stylisPlugins || wn, i = {}, s, c = [];
641
- s = r.container || document.head, Array.prototype.forEach.call(
642
- // this means we will ignore elements which don't have a space in them which
643
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
644
- document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
645
- function(m) {
646
- for (var w = m.getAttribute("data-emotion").split(" "), E = 1; E < w.length; E++)
647
- i[w[E]] = !0;
648
- c.push(m);
649
- }
650
- );
651
- var u, l = [vn, Cn];
652
- {
653
- var p, d = [dn, gn(function(m) {
654
- p.insert(m);
655
- })], g = pn(l.concat(o, d)), S = function(w) {
656
- return Pe(fn(w), g);
657
- };
658
- u = function(w, E, I, b) {
659
- p = I, S(w ? w + "{" + E.styles + "}" : E.styles), b && (v.inserted[E.name] = !0);
660
- };
661
- }
662
- var v = {
663
- key: t,
664
- sheet: new Ht({
665
- key: t,
666
- container: s,
667
- nonce: r.nonce,
668
- speedy: r.speedy,
669
- prepend: r.prepend,
670
- insertionPoint: r.insertionPoint
671
- }),
672
- nonce: r.nonce,
673
- inserted: i,
674
- registered: {},
675
- insert: u
676
- };
677
- return v.sheet.hydrate(c), v;
678
- }, En = !0;
679
- function Tn(e, r, t) {
680
- var n = "";
681
- return t.split(" ").forEach(function(o) {
682
- e[o] !== void 0 ? r.push(e[o] + ";") : o && (n += o + " ");
683
- }), n;
684
- }
685
- var $t = function(r, t, n) {
686
- var o = r.key + "-" + t.name;
687
- // we only need to add the styles to the registered cache if the
688
- // class name could be used further down
689
- // the tree but if it's a string tag, we know it won't
690
- // so we don't have to add it to registered cache.
691
- // this improves memory usage since we can avoid storing the whole style string
692
- (n === !1 || // we need to always store it if we're in compat mode and
693
- // in node since emotion-server relies on whether a style is in
694
- // the registered cache to know whether a style is global or not
695
- // also, note that this check will be dead code eliminated in the browser
696
- En === !1) && r.registered[o] === void 0 && (r.registered[o] = t.styles);
697
- }, $n = function(r, t, n) {
698
- $t(r, t, n);
699
- var o = r.key + "-" + t.name;
700
- if (r.inserted[t.name] === void 0) {
701
- var i = t;
702
- do
703
- r.insert(t === i ? "." + o : "", i, r.sheet, !0), i = i.next;
704
- while (i !== void 0);
705
- }
706
- };
707
- function An(e) {
708
- for (var r = 0, t, n = 0, o = e.length; o >= 4; ++n, o -= 4)
709
- t = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, t = /* Math.imul(k, m): */
710
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
711
- t >>> 24, r = /* Math.imul(k, m): */
712
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
713
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
714
- switch (o) {
715
- case 3:
716
- r ^= (e.charCodeAt(n + 2) & 255) << 16;
717
- case 2:
718
- r ^= (e.charCodeAt(n + 1) & 255) << 8;
719
- case 1:
720
- r ^= e.charCodeAt(n) & 255, r = /* Math.imul(h, m): */
721
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
722
- }
723
- return r ^= r >>> 13, r = /* Math.imul(h, m): */
724
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
725
- }
726
- var On = {
727
- animationIterationCount: 1,
728
- aspectRatio: 1,
729
- borderImageOutset: 1,
730
- borderImageSlice: 1,
731
- borderImageWidth: 1,
732
- boxFlex: 1,
733
- boxFlexGroup: 1,
734
- boxOrdinalGroup: 1,
735
- columnCount: 1,
736
- columns: 1,
737
- flex: 1,
738
- flexGrow: 1,
739
- flexPositive: 1,
740
- flexShrink: 1,
741
- flexNegative: 1,
742
- flexOrder: 1,
743
- gridRow: 1,
744
- gridRowEnd: 1,
745
- gridRowSpan: 1,
746
- gridRowStart: 1,
747
- gridColumn: 1,
748
- gridColumnEnd: 1,
749
- gridColumnSpan: 1,
750
- gridColumnStart: 1,
751
- msGridRow: 1,
752
- msGridRowSpan: 1,
753
- msGridColumn: 1,
754
- msGridColumnSpan: 1,
755
- fontWeight: 1,
756
- lineHeight: 1,
757
- opacity: 1,
758
- order: 1,
759
- orphans: 1,
760
- scale: 1,
761
- tabSize: 1,
762
- widows: 1,
763
- zIndex: 1,
764
- zoom: 1,
765
- WebkitLineClamp: 1,
766
- // SVG-related properties
767
- fillOpacity: 1,
768
- floodOpacity: 1,
769
- stopOpacity: 1,
770
- strokeDasharray: 1,
771
- strokeDashoffset: 1,
772
- strokeMiterlimit: 1,
773
- strokeOpacity: 1,
774
- strokeWidth: 1
775
- }, kn = !1, Pn = /[A-Z]|^ms/g, Rn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, At = function(r) {
776
- return r.charCodeAt(1) === 45;
777
- }, Qr = function(r) {
778
- return r != null && typeof r != "boolean";
779
- }, Cr = /* @__PURE__ */ hn(function(e) {
780
- return At(e) ? e : e.replace(Pn, "-$&").toLowerCase();
781
- }), Jr = function(r, t) {
782
- switch (r) {
783
- case "animation":
784
- case "animationName":
785
- if (typeof t == "string")
786
- return t.replace(Rn, function(n, o, i) {
787
- return pe = {
788
- name: o,
789
- styles: i,
790
- next: pe
791
- }, o;
792
- });
793
- }
794
- return On[r] !== 1 && !At(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
795
- }, _n = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
796
- function Ve(e, r, t) {
797
- if (t == null)
798
- return "";
799
- var n = t;
800
- if (n.__emotion_styles !== void 0)
801
- return n;
802
- switch (typeof t) {
803
- case "boolean":
804
- return "";
805
- case "object": {
806
- var o = t;
807
- if (o.anim === 1)
808
- return pe = {
809
- name: o.name,
810
- styles: o.styles,
811
- next: pe
812
- }, o.name;
813
- var i = t;
814
- if (i.styles !== void 0) {
815
- var s = i.next;
816
- if (s !== void 0)
817
- for (; s !== void 0; )
818
- pe = {
819
- name: s.name,
820
- styles: s.styles,
821
- next: pe
822
- }, s = s.next;
823
- var c = i.styles + ";";
824
- return c;
825
- }
826
- return In(e, r, t);
827
- }
828
- case "function": {
829
- if (e !== void 0) {
830
- var u = pe, l = t(e);
831
- return pe = u, Ve(e, r, l);
832
- }
833
- break;
834
- }
835
- }
836
- var p = t;
837
- if (r == null)
838
- return p;
839
- var d = r[p];
840
- return d !== void 0 ? d : p;
841
- }
842
- function In(e, r, t) {
843
- var n = "";
844
- if (Array.isArray(t))
845
- for (var o = 0; o < t.length; o++)
846
- n += Ve(e, r, t[o]) + ";";
847
- else
848
- for (var i in t) {
849
- var s = t[i];
850
- if (typeof s != "object") {
851
- var c = s;
852
- r != null && r[c] !== void 0 ? n += i + "{" + r[c] + "}" : Qr(c) && (n += Cr(i) + ":" + Jr(i, c) + ";");
853
- } else {
854
- if (i === "NO_COMPONENT_SELECTOR" && kn)
855
- throw new Error(_n);
856
- if (Array.isArray(s) && typeof s[0] == "string" && (r == null || r[s[0]] === void 0))
857
- for (var u = 0; u < s.length; u++)
858
- Qr(s[u]) && (n += Cr(i) + ":" + Jr(i, s[u]) + ";");
859
- else {
860
- var l = Ve(e, r, s);
861
- switch (i) {
862
- case "animation":
863
- case "animationName": {
864
- n += Cr(i) + ":" + l + ";";
865
- break;
866
- }
867
- default:
868
- n += i + "{" + l + "}";
869
- }
870
- }
871
- }
872
- }
873
- return n;
874
- }
875
- var Xr = /label:\s*([^\s;{]+)\s*(;|$)/g, pe;
876
- function Bn(e, r, t) {
877
- if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
878
- return e[0];
879
- var n = !0, o = "";
880
- pe = void 0;
881
- var i = e[0];
882
- if (i == null || i.raw === void 0)
883
- n = !1, o += Ve(t, r, i);
884
- else {
885
- var s = i;
886
- o += s[0];
887
- }
888
- for (var c = 1; c < e.length; c++)
889
- if (o += Ve(t, r, e[c]), n) {
890
- var u = i;
891
- o += u[c];
892
- }
893
- Xr.lastIndex = 0;
894
- for (var l = "", p; (p = Xr.exec(o)) !== null; )
895
- l += "-" + p[1];
896
- var d = An(o) + l;
897
- return {
898
- name: d,
899
- styles: o,
900
- next: pe
901
- };
902
- }
903
- var Nn = function(r) {
904
- return r();
905
- }, Ot = ge.useInsertionEffect ? ge.useInsertionEffect : !1, Mn = Ot || Nn, Vi = Ot || ge.useLayoutEffect, jn = !1, kt = /* @__PURE__ */ ge.createContext(
906
- // we're doing this to avoid preconstruct's dead code elimination in this one case
907
- // because this module is primarily intended for the browser and node
908
- // but it's also required in react native and similar environments sometimes
909
- // and we could have a special build just for that
910
- // but this is much easier and the native packages
911
- // might use a different theme context in the future anyway
912
- typeof HTMLElement < "u" ? /* @__PURE__ */ xn({
913
- key: "css"
914
- }) : null
915
- ), zi = kt.Provider, Dn = function(r) {
916
- return /* @__PURE__ */ Ut(function(t, n) {
917
- var o = Vt(kt);
918
- return r(t, o, n);
919
- });
920
- }, Wn = /* @__PURE__ */ ge.createContext({}), Pt = {}.hasOwnProperty, _r = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Gi = function(r, t) {
921
- var n = {};
922
- for (var o in t)
923
- Pt.call(t, o) && (n[o] = t[o]);
924
- return n[_r] = r, n;
925
- }, Fn = function(r) {
926
- var t = r.cache, n = r.serialized, o = r.isStringTag;
927
- return $t(t, n, o), Mn(function() {
928
- return $n(t, n, o);
929
- }), null;
930
- }, Ln = /* @__PURE__ */ Dn(function(e, r, t) {
931
- var n = e.css;
932
- typeof n == "string" && r.registered[n] !== void 0 && (n = r.registered[n]);
933
- var o = e[_r], i = [n], s = "";
934
- typeof e.className == "string" ? s = Tn(r.registered, i, e.className) : e.className != null && (s = e.className + " ");
935
- var c = Bn(i, void 0, ge.useContext(Wn));
936
- s += r.key + "-" + c.name;
937
- var u = {};
938
- for (var l in e)
939
- Pt.call(e, l) && l !== "css" && l !== _r && !jn && (u[l] = e[l]);
940
- return u.className = s, t && (u.ref = t), /* @__PURE__ */ ge.createElement(ge.Fragment, null, /* @__PURE__ */ ge.createElement(Fn, {
941
- cache: r,
942
- serialized: c,
943
- isStringTag: typeof o == "string"
944
- }), /* @__PURE__ */ ge.createElement(o, u));
945
- }), Yi = Ln, Ir = { exports: {} }, Qe = { exports: {} }, F = {};
946
- /** @license React v16.13.1
947
- * react-is.production.min.js
948
- *
949
- * Copyright (c) Facebook, Inc. and its affiliates.
950
- *
951
- * This source code is licensed under the MIT license found in the
952
- * LICENSE file in the root directory of this source tree.
953
- */
954
- var Zr;
955
- function Un() {
956
- if (Zr) return F;
957
- Zr = 1;
958
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
959
- function b(h) {
960
- if (typeof h == "object" && h !== null) {
961
- var V = h.$$typeof;
962
- switch (V) {
963
- case r:
964
- switch (h = h.type, h) {
965
- case u:
966
- case l:
967
- case n:
968
- case i:
969
- case o:
970
- case d:
971
- return h;
972
- default:
973
- switch (h = h && h.$$typeof, h) {
974
- case c:
975
- case p:
976
- case v:
977
- case S:
978
- case s:
979
- return h;
980
- default:
981
- return V;
982
- }
983
- }
984
- case t:
985
- return V;
986
- }
987
- }
988
- }
989
- function A(h) {
990
- return b(h) === l;
991
- }
992
- return F.AsyncMode = u, F.ConcurrentMode = l, F.ContextConsumer = c, F.ContextProvider = s, F.Element = r, F.ForwardRef = p, F.Fragment = n, F.Lazy = v, F.Memo = S, F.Portal = t, F.Profiler = i, F.StrictMode = o, F.Suspense = d, F.isAsyncMode = function(h) {
993
- return A(h) || b(h) === u;
994
- }, F.isConcurrentMode = A, F.isContextConsumer = function(h) {
995
- return b(h) === c;
996
- }, F.isContextProvider = function(h) {
997
- return b(h) === s;
998
- }, F.isElement = function(h) {
999
- return typeof h == "object" && h !== null && h.$$typeof === r;
1000
- }, F.isForwardRef = function(h) {
1001
- return b(h) === p;
1002
- }, F.isFragment = function(h) {
1003
- return b(h) === n;
1004
- }, F.isLazy = function(h) {
1005
- return b(h) === v;
1006
- }, F.isMemo = function(h) {
1007
- return b(h) === S;
1008
- }, F.isPortal = function(h) {
1009
- return b(h) === t;
1010
- }, F.isProfiler = function(h) {
1011
- return b(h) === i;
1012
- }, F.isStrictMode = function(h) {
1013
- return b(h) === o;
1014
- }, F.isSuspense = function(h) {
1015
- return b(h) === d;
1016
- }, F.isValidElementType = function(h) {
1017
- return typeof h == "string" || typeof h == "function" || h === n || h === l || h === i || h === o || h === d || h === g || typeof h == "object" && h !== null && (h.$$typeof === v || h.$$typeof === S || h.$$typeof === s || h.$$typeof === c || h.$$typeof === p || h.$$typeof === w || h.$$typeof === E || h.$$typeof === I || h.$$typeof === m);
1018
- }, F.typeOf = b, F;
1019
- }
1020
- var L = {};
1021
- /** @license React v16.13.1
1022
- * react-is.development.js
1023
- *
1024
- * Copyright (c) Facebook, Inc. and its affiliates.
1025
- *
1026
- * This source code is licensed under the MIT license found in the
1027
- * LICENSE file in the root directory of this source tree.
1028
- */
1029
- var et;
1030
- function Vn() {
1031
- return et || (et = 1, process.env.NODE_ENV !== "production" && function() {
1032
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
1033
- function b(C) {
1034
- return typeof C == "string" || typeof C == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1035
- C === n || C === l || C === i || C === o || C === d || C === g || typeof C == "object" && C !== null && (C.$$typeof === v || C.$$typeof === S || C.$$typeof === s || C.$$typeof === c || C.$$typeof === p || C.$$typeof === w || C.$$typeof === E || C.$$typeof === I || C.$$typeof === m);
1036
- }
1037
- function A(C) {
1038
- if (typeof C == "object" && C !== null) {
1039
- var fe = C.$$typeof;
1040
- switch (fe) {
1041
- case r:
1042
- var qe = C.type;
1043
- switch (qe) {
1044
- case u:
1045
- case l:
1046
- case n:
1047
- case i:
1048
- case o:
1049
- case d:
1050
- return qe;
1051
- default:
1052
- var Yr = qe && qe.$$typeof;
1053
- switch (Yr) {
1054
- case c:
1055
- case p:
1056
- case v:
1057
- case S:
1058
- case s:
1059
- return Yr;
1060
- default:
1061
- return fe;
1062
- }
1063
- }
1064
- case t:
1065
- return fe;
1066
- }
1067
- }
1068
- }
1069
- var h = u, V = l, O = c, ee = s, a = r, T = p, B = n, Y = v, be = S, ce = t, Ee = i, ue = o, xe = d, Ke = !1;
1070
- function vr(C) {
1071
- return Ke || (Ke = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), y(C) || A(C) === u;
1072
- }
1073
- function y(C) {
1074
- return A(C) === l;
1075
- }
1076
- function x(C) {
1077
- return A(C) === c;
1078
- }
1079
- function _(C) {
1080
- return A(C) === s;
1081
- }
1082
- function P(C) {
1083
- return typeof C == "object" && C !== null && C.$$typeof === r;
1084
- }
1085
- function $(C) {
1086
- return A(C) === p;
1087
- }
1088
- function N(C) {
1089
- return A(C) === n;
1090
- }
1091
- function k(C) {
1092
- return A(C) === v;
1093
- }
1094
- function R(C) {
1095
- return A(C) === S;
1096
- }
1097
- function M(C) {
1098
- return A(C) === t;
1099
- }
1100
- function U(C) {
1101
- return A(C) === i;
1102
- }
1103
- function j(C) {
1104
- return A(C) === o;
1105
- }
1106
- function re(C) {
1107
- return A(C) === d;
1108
- }
1109
- L.AsyncMode = h, L.ConcurrentMode = V, L.ContextConsumer = O, L.ContextProvider = ee, L.Element = a, L.ForwardRef = T, L.Fragment = B, L.Lazy = Y, L.Memo = be, L.Portal = ce, L.Profiler = Ee, L.StrictMode = ue, L.Suspense = xe, L.isAsyncMode = vr, L.isConcurrentMode = y, L.isContextConsumer = x, L.isContextProvider = _, L.isElement = P, L.isForwardRef = $, L.isFragment = N, L.isLazy = k, L.isMemo = R, L.isPortal = M, L.isProfiler = U, L.isStrictMode = j, L.isSuspense = re, L.isValidElementType = b, L.typeOf = A;
1110
- }()), L;
1111
- }
1112
- var rt;
1113
- function Rt() {
1114
- return rt || (rt = 1, process.env.NODE_ENV === "production" ? Qe.exports = Un() : Qe.exports = Vn()), Qe.exports;
1115
- }
1116
- /*
1117
- object-assign
1118
- (c) Sindre Sorhus
1119
- @license MIT
1120
- */
1121
- var Sr, tt;
1122
- function zn() {
1123
- if (tt) return Sr;
1124
- tt = 1;
1125
- var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
1126
- function n(i) {
1127
- if (i == null)
1128
- throw new TypeError("Object.assign cannot be called with null or undefined");
1129
- return Object(i);
1130
- }
1131
- function o() {
1132
- try {
1133
- if (!Object.assign)
1134
- return !1;
1135
- var i = new String("abc");
1136
- if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
1137
- return !1;
1138
- for (var s = {}, c = 0; c < 10; c++)
1139
- s["_" + String.fromCharCode(c)] = c;
1140
- var u = Object.getOwnPropertyNames(s).map(function(p) {
1141
- return s[p];
1142
- });
1143
- if (u.join("") !== "0123456789")
1144
- return !1;
1145
- var l = {};
1146
- return "abcdefghijklmnopqrst".split("").forEach(function(p) {
1147
- l[p] = p;
1148
- }), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
1149
- } catch {
1150
- return !1;
1151
- }
1152
- }
1153
- return Sr = o() ? Object.assign : function(i, s) {
1154
- for (var c, u = n(i), l, p = 1; p < arguments.length; p++) {
1155
- c = Object(arguments[p]);
1156
- for (var d in c)
1157
- r.call(c, d) && (u[d] = c[d]);
1158
- if (e) {
1159
- l = e(c);
1160
- for (var g = 0; g < l.length; g++)
1161
- t.call(c, l[g]) && (u[l[g]] = c[l[g]]);
1162
- }
1163
- }
1164
- return u;
1165
- }, Sr;
1166
- }
1167
- var wr, nt;
1168
- function Wr() {
1169
- if (nt) return wr;
1170
- nt = 1;
1171
- var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
1172
- return wr = e, wr;
1173
- }
1174
- var xr, ot;
1175
- function _t() {
1176
- return ot || (ot = 1, xr = Function.call.bind(Object.prototype.hasOwnProperty)), xr;
1177
- }
1178
- var Er, it;
1179
- function Gn() {
1180
- if (it) return Er;
1181
- it = 1;
1182
- var e = function() {
1183
- };
1184
- if (process.env.NODE_ENV !== "production") {
1185
- var r = Wr(), t = {}, n = _t();
1186
- e = function(i) {
1187
- var s = "Warning: " + i;
1188
- typeof console < "u" && console.error(s);
1189
- try {
1190
- throw new Error(s);
1191
- } catch {
1192
- }
1193
- };
1194
- }
1195
- function o(i, s, c, u, l) {
1196
- if (process.env.NODE_ENV !== "production") {
1197
- for (var p in i)
1198
- if (n(i, p)) {
1199
- var d;
1200
- try {
1201
- if (typeof i[p] != "function") {
1202
- var g = Error(
1203
- (u || "React class") + ": " + c + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
1204
- );
1205
- throw g.name = "Invariant Violation", g;
1206
- }
1207
- d = i[p](s, p, u, c, null, r);
1208
- } catch (v) {
1209
- d = v;
1210
- }
1211
- if (d && !(d instanceof Error) && e(
1212
- (u || "React class") + ": type specification of " + c + " `" + p + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
1213
- ), d instanceof Error && !(d.message in t)) {
1214
- t[d.message] = !0;
1215
- var S = l ? l() : "";
1216
- e(
1217
- "Failed " + c + " type: " + d.message + (S ?? "")
1218
- );
1219
- }
1220
- }
1221
- }
1222
- }
1223
- return o.resetWarningCache = function() {
1224
- process.env.NODE_ENV !== "production" && (t = {});
1225
- }, Er = o, Er;
1226
- }
1227
- var Tr, at;
1228
- function Yn() {
1229
- if (at) return Tr;
1230
- at = 1;
1231
- var e = Rt(), r = zn(), t = Wr(), n = _t(), o = Gn(), i = function() {
1232
- };
1233
- process.env.NODE_ENV !== "production" && (i = function(c) {
1234
- var u = "Warning: " + c;
1235
- typeof console < "u" && console.error(u);
1236
- try {
1237
- throw new Error(u);
1238
- } catch {
1239
- }
1240
- });
1241
- function s() {
1242
- return null;
1243
- }
1244
- return Tr = function(c, u) {
1245
- var l = typeof Symbol == "function" && Symbol.iterator, p = "@@iterator";
1246
- function d(y) {
1247
- var x = y && (l && y[l] || y[p]);
1248
- if (typeof x == "function")
1249
- return x;
1250
- }
1251
- var g = "<<anonymous>>", S = {
1252
- array: E("array"),
1253
- bigint: E("bigint"),
1254
- bool: E("boolean"),
1255
- func: E("function"),
1256
- number: E("number"),
1257
- object: E("object"),
1258
- string: E("string"),
1259
- symbol: E("symbol"),
1260
- any: I(),
1261
- arrayOf: b,
1262
- element: A(),
1263
- elementType: h(),
1264
- instanceOf: V,
1265
- node: T(),
1266
- objectOf: ee,
1267
- oneOf: O,
1268
- oneOfType: a,
1269
- shape: Y,
1270
- exact: be
1271
- };
1272
- function v(y, x) {
1273
- return y === x ? y !== 0 || 1 / y === 1 / x : y !== y && x !== x;
1274
- }
1275
- function m(y, x) {
1276
- this.message = y, this.data = x && typeof x == "object" ? x : {}, this.stack = "";
1277
- }
1278
- m.prototype = Error.prototype;
1279
- function w(y) {
1280
- if (process.env.NODE_ENV !== "production")
1281
- var x = {}, _ = 0;
1282
- function P(N, k, R, M, U, j, re) {
1283
- if (M = M || g, j = j || R, re !== t) {
1284
- if (u) {
1285
- var C = new Error(
1286
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
1287
- );
1288
- throw C.name = "Invariant Violation", C;
1289
- } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1290
- var fe = M + ":" + R;
1291
- !x[fe] && // Avoid spamming the console because they are often not actionable except for lib authors
1292
- _ < 3 && (i(
1293
- "You are manually calling a React.PropTypes validation function for the `" + j + "` prop on `" + M + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1294
- ), x[fe] = !0, _++);
1295
- }
1296
- }
1297
- return k[R] == null ? N ? k[R] === null ? new m("The " + U + " `" + j + "` is marked as required " + ("in `" + M + "`, but its value is `null`.")) : new m("The " + U + " `" + j + "` is marked as required in " + ("`" + M + "`, but its value is `undefined`.")) : null : y(k, R, M, U, j);
1298
- }
1299
- var $ = P.bind(null, !1);
1300
- return $.isRequired = P.bind(null, !0), $;
1301
- }
1302
- function E(y) {
1303
- function x(_, P, $, N, k, R) {
1304
- var M = _[P], U = ue(M);
1305
- if (U !== y) {
1306
- var j = xe(M);
1307
- return new m(
1308
- "Invalid " + N + " `" + k + "` of type " + ("`" + j + "` supplied to `" + $ + "`, expected ") + ("`" + y + "`."),
1309
- { expectedType: y }
1310
- );
1311
- }
1312
- return null;
1313
- }
1314
- return w(x);
1315
- }
1316
- function I() {
1317
- return w(s);
1318
- }
1319
- function b(y) {
1320
- function x(_, P, $, N, k) {
1321
- if (typeof y != "function")
1322
- return new m("Property `" + k + "` of component `" + $ + "` has invalid PropType notation inside arrayOf.");
1323
- var R = _[P];
1324
- if (!Array.isArray(R)) {
1325
- var M = ue(R);
1326
- return new m("Invalid " + N + " `" + k + "` of type " + ("`" + M + "` supplied to `" + $ + "`, expected an array."));
1327
- }
1328
- for (var U = 0; U < R.length; U++) {
1329
- var j = y(R, U, $, N, k + "[" + U + "]", t);
1330
- if (j instanceof Error)
1331
- return j;
1332
- }
1333
- return null;
1334
- }
1335
- return w(x);
1336
- }
1337
- function A() {
1338
- function y(x, _, P, $, N) {
1339
- var k = x[_];
1340
- if (!c(k)) {
1341
- var R = ue(k);
1342
- return new m("Invalid " + $ + " `" + N + "` of type " + ("`" + R + "` supplied to `" + P + "`, expected a single ReactElement."));
1343
- }
1344
- return null;
1345
- }
1346
- return w(y);
1347
- }
1348
- function h() {
1349
- function y(x, _, P, $, N) {
1350
- var k = x[_];
1351
- if (!e.isValidElementType(k)) {
1352
- var R = ue(k);
1353
- return new m("Invalid " + $ + " `" + N + "` of type " + ("`" + R + "` supplied to `" + P + "`, expected a single ReactElement type."));
1354
- }
1355
- return null;
1356
- }
1357
- return w(y);
1358
- }
1359
- function V(y) {
1360
- function x(_, P, $, N, k) {
1361
- if (!(_[P] instanceof y)) {
1362
- var R = y.name || g, M = vr(_[P]);
1363
- return new m("Invalid " + N + " `" + k + "` of type " + ("`" + M + "` supplied to `" + $ + "`, expected ") + ("instance of `" + R + "`."));
1364
- }
1365
- return null;
1366
- }
1367
- return w(x);
1368
- }
1369
- function O(y) {
1370
- if (!Array.isArray(y))
1371
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1372
- "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1373
- ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
1374
- function x(_, P, $, N, k) {
1375
- for (var R = _[P], M = 0; M < y.length; M++)
1376
- if (v(R, y[M]))
1377
- return null;
1378
- var U = JSON.stringify(y, function(re, C) {
1379
- var fe = xe(C);
1380
- return fe === "symbol" ? String(C) : C;
1381
- });
1382
- return new m("Invalid " + N + " `" + k + "` of value `" + String(R) + "` " + ("supplied to `" + $ + "`, expected one of " + U + "."));
1383
- }
1384
- return w(x);
1385
- }
1386
- function ee(y) {
1387
- function x(_, P, $, N, k) {
1388
- if (typeof y != "function")
1389
- return new m("Property `" + k + "` of component `" + $ + "` has invalid PropType notation inside objectOf.");
1390
- var R = _[P], M = ue(R);
1391
- if (M !== "object")
1392
- return new m("Invalid " + N + " `" + k + "` of type " + ("`" + M + "` supplied to `" + $ + "`, expected an object."));
1393
- for (var U in R)
1394
- if (n(R, U)) {
1395
- var j = y(R, U, $, N, k + "." + U, t);
1396
- if (j instanceof Error)
1397
- return j;
1398
- }
1399
- return null;
1400
- }
1401
- return w(x);
1402
- }
1403
- function a(y) {
1404
- if (!Array.isArray(y))
1405
- return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
1406
- for (var x = 0; x < y.length; x++) {
1407
- var _ = y[x];
1408
- if (typeof _ != "function")
1409
- return i(
1410
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Ke(_) + " at index " + x + "."
1411
- ), s;
1412
- }
1413
- function P($, N, k, R, M) {
1414
- for (var U = [], j = 0; j < y.length; j++) {
1415
- var re = y[j], C = re($, N, k, R, M, t);
1416
- if (C == null)
1417
- return null;
1418
- C.data && n(C.data, "expectedType") && U.push(C.data.expectedType);
1419
- }
1420
- var fe = U.length > 0 ? ", expected one of type [" + U.join(", ") + "]" : "";
1421
- return new m("Invalid " + R + " `" + M + "` supplied to " + ("`" + k + "`" + fe + "."));
1422
- }
1423
- return w(P);
1424
- }
1425
- function T() {
1426
- function y(x, _, P, $, N) {
1427
- return ce(x[_]) ? null : new m("Invalid " + $ + " `" + N + "` supplied to " + ("`" + P + "`, expected a ReactNode."));
1428
- }
1429
- return w(y);
1430
- }
1431
- function B(y, x, _, P, $) {
1432
- return new m(
1433
- (y || "React class") + ": " + x + " type `" + _ + "." + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + $ + "`."
1434
- );
1435
- }
1436
- function Y(y) {
1437
- function x(_, P, $, N, k) {
1438
- var R = _[P], M = ue(R);
1439
- if (M !== "object")
1440
- return new m("Invalid " + N + " `" + k + "` of type `" + M + "` " + ("supplied to `" + $ + "`, expected `object`."));
1441
- for (var U in y) {
1442
- var j = y[U];
1443
- if (typeof j != "function")
1444
- return B($, N, k, U, xe(j));
1445
- var re = j(R, U, $, N, k + "." + U, t);
1446
- if (re)
1447
- return re;
1448
- }
1449
- return null;
1450
- }
1451
- return w(x);
1452
- }
1453
- function be(y) {
1454
- function x(_, P, $, N, k) {
1455
- var R = _[P], M = ue(R);
1456
- if (M !== "object")
1457
- return new m("Invalid " + N + " `" + k + "` of type `" + M + "` " + ("supplied to `" + $ + "`, expected `object`."));
1458
- var U = r({}, _[P], y);
1459
- for (var j in U) {
1460
- var re = y[j];
1461
- if (n(y, j) && typeof re != "function")
1462
- return B($, N, k, j, xe(re));
1463
- if (!re)
1464
- return new m(
1465
- "Invalid " + N + " `" + k + "` key `" + j + "` supplied to `" + $ + "`.\nBad object: " + JSON.stringify(_[P], null, " ") + `
1466
- Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
1467
- );
1468
- var C = re(R, j, $, N, k + "." + j, t);
1469
- if (C)
1470
- return C;
1471
- }
1472
- return null;
1473
- }
1474
- return w(x);
1475
- }
1476
- function ce(y) {
1477
- switch (typeof y) {
1478
- case "number":
1479
- case "string":
1480
- case "undefined":
1481
- return !0;
1482
- case "boolean":
1483
- return !y;
1484
- case "object":
1485
- if (Array.isArray(y))
1486
- return y.every(ce);
1487
- if (y === null || c(y))
1488
- return !0;
1489
- var x = d(y);
1490
- if (x) {
1491
- var _ = x.call(y), P;
1492
- if (x !== y.entries) {
1493
- for (; !(P = _.next()).done; )
1494
- if (!ce(P.value))
1495
- return !1;
1496
- } else
1497
- for (; !(P = _.next()).done; ) {
1498
- var $ = P.value;
1499
- if ($ && !ce($[1]))
1500
- return !1;
1501
- }
1502
- } else
1503
- return !1;
1504
- return !0;
1505
- default:
1506
- return !1;
1507
- }
1508
- }
1509
- function Ee(y, x) {
1510
- return y === "symbol" ? !0 : x ? x["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && x instanceof Symbol : !1;
1511
- }
1512
- function ue(y) {
1513
- var x = typeof y;
1514
- return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : Ee(x, y) ? "symbol" : x;
1515
- }
1516
- function xe(y) {
1517
- if (typeof y > "u" || y === null)
1518
- return "" + y;
1519
- var x = ue(y);
1520
- if (x === "object") {
1521
- if (y instanceof Date)
1522
- return "date";
1523
- if (y instanceof RegExp)
1524
- return "regexp";
1525
- }
1526
- return x;
1527
- }
1528
- function Ke(y) {
1529
- var x = xe(y);
1530
- switch (x) {
1531
- case "array":
1532
- case "object":
1533
- return "an " + x;
1534
- case "boolean":
1535
- case "date":
1536
- case "regexp":
1537
- return "a " + x;
1538
- default:
1539
- return x;
1540
- }
1541
- }
1542
- function vr(y) {
1543
- return !y.constructor || !y.constructor.name ? g : y.constructor.name;
1544
- }
1545
- return S.checkPropTypes = o, S.resetWarningCache = o.resetWarningCache, S.PropTypes = S, S;
1546
- }, Tr;
1547
- }
1548
- var $r, st;
1549
- function Kn() {
1550
- if (st) return $r;
1551
- st = 1;
1552
- var e = Wr();
1553
- function r() {
1554
- }
1555
- function t() {
1556
- }
1557
- return t.resetWarningCache = r, $r = function() {
1558
- function n(s, c, u, l, p, d) {
1559
- if (d !== e) {
1560
- var g = new Error(
1561
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
1562
- );
1563
- throw g.name = "Invariant Violation", g;
1564
- }
1565
- }
1566
- n.isRequired = n;
1567
- function o() {
1568
- return n;
1569
- }
1570
- var i = {
1571
- array: n,
1572
- bigint: n,
1573
- bool: n,
1574
- func: n,
1575
- number: n,
1576
- object: n,
1577
- string: n,
1578
- symbol: n,
1579
- any: n,
1580
- arrayOf: o,
1581
- element: n,
1582
- elementType: n,
1583
- instanceOf: o,
1584
- node: n,
1585
- objectOf: o,
1586
- oneOf: o,
1587
- oneOfType: o,
1588
- shape: o,
1589
- exact: o,
1590
- checkPropTypes: t,
1591
- resetWarningCache: r
1592
- };
1593
- return i.PropTypes = i, i;
1594
- }, $r;
1595
- }
1596
- if (process.env.NODE_ENV !== "production") {
1597
- var qn = Rt(), Hn = !0;
1598
- Ir.exports = Yn()(qn.isElement, Hn);
1599
- } else
1600
- Ir.exports = Kn()();
1601
- var Qn = Ir.exports;
1602
- const Me = /* @__PURE__ */ zt(Qn);
1603
- function ve(e) {
1604
- if (typeof e != "object" || e === null)
1605
- return !1;
1606
- const r = Object.getPrototypeOf(e);
1607
- return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
1608
- }
1609
- function It(e) {
1610
- if (!ve(e))
1611
- return e;
1612
- const r = {};
1613
- return Object.keys(e).forEach((t) => {
1614
- r[t] = It(e[t]);
1615
- }), r;
1616
- }
1617
- function te(e, r, t = {
1618
- clone: !0
1619
- }) {
1620
- const n = t.clone ? {
1621
- ...e
1622
- } : e;
1623
- return ve(e) && ve(r) && Object.keys(r).forEach((o) => {
1624
- ve(r[o]) && // Avoid prototype pollution
1625
- Object.prototype.hasOwnProperty.call(e, o) && ve(e[o]) ? n[o] = te(e[o], r[o], t) : t.clone ? n[o] = ve(r[o]) ? It(r[o]) : r[o] : n[o] = r[o];
1626
- }), n;
1627
- }
1628
- const Jn = (e) => {
1629
- const r = Object.keys(e).map((t) => ({
1630
- key: t,
1631
- val: e[t]
1632
- })) || [];
1633
- return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
1634
- ...t,
1635
- [n.key]: n.val
1636
- }), {});
1637
- };
1638
- function Xn(e) {
1639
- const {
1640
- // The breakpoint **start** at this value.
1641
- // For instance with the first breakpoint xs: [xs, sm).
1642
- values: r = {
1643
- xs: 0,
1644
- // phone
1645
- sm: 600,
1646
- // tablet
1647
- md: 900,
1648
- // small laptop
1649
- lg: 1200,
1650
- // desktop
1651
- xl: 1536
1652
- // large screen
1653
- },
1654
- unit: t = "px",
1655
- step: n = 5,
1656
- ...o
1657
- } = e, i = Jn(r), s = Object.keys(i);
1658
- function c(g) {
1659
- return `@media (min-width:${typeof r[g] == "number" ? r[g] : g}${t})`;
1660
- }
1661
- function u(g) {
1662
- return `@media (max-width:${(typeof r[g] == "number" ? r[g] : g) - n / 100}${t})`;
1663
- }
1664
- function l(g, S) {
1665
- const v = s.indexOf(S);
1666
- return `@media (min-width:${typeof r[g] == "number" ? r[g] : g}${t}) and (max-width:${(v !== -1 && typeof r[s[v]] == "number" ? r[s[v]] : S) - n / 100}${t})`;
1667
- }
1668
- function p(g) {
1669
- return s.indexOf(g) + 1 < s.length ? l(g, s[s.indexOf(g) + 1]) : c(g);
1670
- }
1671
- function d(g) {
1672
- const S = s.indexOf(g);
1673
- return S === 0 ? c(s[1]) : S === s.length - 1 ? u(s[S]) : l(g, s[s.indexOf(g) + 1]).replace("@media", "@media not all and");
1674
- }
1675
- return {
1676
- keys: s,
1677
- values: i,
1678
- up: c,
1679
- down: u,
1680
- between: l,
1681
- only: p,
1682
- not: d,
1683
- unit: t,
1684
- ...o
1685
- };
1686
- }
1687
- function Zn(e, r) {
1688
- if (!e.containerQueries)
1689
- return r;
1690
- const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => {
1691
- var s, c;
1692
- const i = /min-width:\s*([0-9.]+)/;
1693
- return +(((s = n.match(i)) == null ? void 0 : s[1]) || 0) - +(((c = o.match(i)) == null ? void 0 : c[1]) || 0);
1694
- });
1695
- return t.length ? t.reduce((n, o) => {
1696
- const i = r[o];
1697
- return delete n[o], n[o] = i, n;
1698
- }, {
1699
- ...r
1700
- }) : r;
1701
- }
1702
- function eo(e, r) {
1703
- return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
1704
- }
1705
- function ro(e, r) {
1706
- const t = r.match(/^@([^/]+)?\/?(.+)?$/);
1707
- if (!t) {
1708
- if (process.env.NODE_ENV !== "production")
1709
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
1710
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : Ce(18, `(${r})`));
1711
- return null;
1712
- }
1713
- const [, n, o] = t, i = Number.isNaN(+n) ? n || 0 : +n;
1714
- return e.containerQueries(o).up(i);
1715
- }
1716
- function to(e) {
1717
- const r = (i, s) => i.replace("@media", s ? `@container ${s}` : "@container");
1718
- function t(i, s) {
1719
- i.up = (...c) => r(e.breakpoints.up(...c), s), i.down = (...c) => r(e.breakpoints.down(...c), s), i.between = (...c) => r(e.breakpoints.between(...c), s), i.only = (...c) => r(e.breakpoints.only(...c), s), i.not = (...c) => {
1720
- const u = r(e.breakpoints.not(...c), s);
1721
- return u.includes("not all and") ? u.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : u;
1722
- };
1723
- }
1724
- const n = {}, o = (i) => (t(n, i), n);
1725
- return t(o), {
1726
- ...e,
1727
- containerQueries: o
1728
- };
1729
- }
1730
- const no = {
1731
- borderRadius: 4
1732
- }, we = process.env.NODE_ENV !== "production" ? Me.oneOfType([Me.number, Me.string, Me.object, Me.array]) : {};
1733
- function We(e, r) {
1734
- return r ? te(e, r, {
1735
- clone: !1
1736
- // No need to clone deep, it's way faster.
1737
- }) : e;
1738
- }
1739
- const sr = {
1740
- xs: 0,
1741
- // phone
1742
- sm: 600,
1743
- // tablet
1744
- md: 900,
1745
- // small laptop
1746
- lg: 1200,
1747
- // desktop
1748
- xl: 1536
1749
- // large screen
1750
- }, ct = {
1751
- // Sorted ASC by size. That's important.
1752
- // It can't be configured as it's used statically for propTypes.
1753
- keys: ["xs", "sm", "md", "lg", "xl"],
1754
- up: (e) => `@media (min-width:${sr[e]}px)`
1755
- }, oo = {
1756
- containerQueries: (e) => ({
1757
- up: (r) => {
1758
- let t = typeof r == "number" ? r : sr[r] || r;
1759
- return typeof t == "number" && (t = `${t}px`), e ? `@container ${e} (min-width:${t})` : `@container (min-width:${t})`;
1760
- }
1761
- })
1762
- };
1763
- function ye(e, r, t) {
1764
- const n = e.theme || {};
1765
- if (Array.isArray(r)) {
1766
- const i = n.breakpoints || ct;
1767
- return r.reduce((s, c, u) => (s[i.up(i.keys[u])] = t(r[u]), s), {});
1768
- }
1769
- if (typeof r == "object") {
1770
- const i = n.breakpoints || ct;
1771
- return Object.keys(r).reduce((s, c) => {
1772
- if (eo(i.keys, c)) {
1773
- const u = ro(n.containerQueries ? n : oo, c);
1774
- u && (s[u] = t(r[c], c));
1775
- } else if (Object.keys(i.values || sr).includes(c)) {
1776
- const u = i.up(c);
1777
- s[u] = t(r[c], c);
1778
- } else {
1779
- const u = c;
1780
- s[u] = r[u];
1781
- }
1782
- return s;
1783
- }, {});
1784
- }
1785
- return t(r);
1786
- }
1787
- function Bt(e = {}) {
1788
- var t;
1789
- return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
1790
- const i = e.up(o);
1791
- return n[i] = {}, n;
1792
- }, {})) || {};
1793
- }
1794
- function Nt(e, r) {
1795
- return e.reduce((t, n) => {
1796
- const o = t[n];
1797
- return (!o || Object.keys(o).length === 0) && delete t[n], t;
1798
- }, r);
1799
- }
1800
- function Ki(e, ...r) {
1801
- const t = Bt(e), n = [t, ...r].reduce((o, i) => te(o, i), {});
1802
- return Nt(Object.keys(t), n);
1803
- }
1804
- function io(e, r) {
1805
- if (typeof e != "object")
1806
- return {};
1807
- const t = {}, n = Object.keys(r);
1808
- return Array.isArray(e) ? n.forEach((o, i) => {
1809
- i < e.length && (t[o] = !0);
1810
- }) : n.forEach((o) => {
1811
- e[o] != null && (t[o] = !0);
1812
- }), t;
1813
- }
1814
- function qi({
1815
- values: e,
1816
- breakpoints: r,
1817
- base: t
1818
- }) {
1819
- const n = t || io(e, r), o = Object.keys(n);
1820
- if (o.length === 0)
1821
- return e;
1822
- let i;
1823
- return o.reduce((s, c, u) => (Array.isArray(e) ? (s[c] = e[u] != null ? e[u] : e[i], i = u) : typeof e == "object" ? (s[c] = e[c] != null ? e[c] : e[i], i = c) : s[c] = e, s), {});
1824
- }
1825
- function Mt(e) {
1826
- if (typeof e != "string")
1827
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Ce(7));
1828
- return e.charAt(0).toUpperCase() + e.slice(1);
1829
- }
1830
- function cr(e, r, t = !0) {
1831
- if (!r || typeof r != "string")
1832
- return null;
1833
- if (e && e.vars && t) {
1834
- const n = `vars.${r}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e);
1835
- if (n != null)
1836
- return n;
1837
- }
1838
- return r.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
1839
- }
1840
- function nr(e, r, t, n = t) {
1841
- let o;
1842
- return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = cr(e, t) || n, r && (o = r(o, n, e)), o;
1843
- }
1844
- function Q(e) {
1845
- const {
1846
- prop: r,
1847
- cssProperty: t = e.prop,
1848
- themeKey: n,
1849
- transform: o
1850
- } = e, i = (s) => {
1851
- if (s[r] == null)
1852
- return null;
1853
- const c = s[r], u = s.theme, l = cr(u, n) || {};
1854
- return ye(s, c, (d) => {
1855
- let g = nr(l, o, d);
1856
- return d === g && typeof d == "string" && (g = nr(l, o, `${r}${d === "default" ? "" : Mt(d)}`, d)), t === !1 ? g : {
1857
- [t]: g
1858
- };
1859
- });
1860
- };
1861
- return i.propTypes = process.env.NODE_ENV !== "production" ? {
1862
- [r]: we
1863
- } : {}, i.filterProps = [r], i;
1864
- }
1865
- function ao(e) {
1866
- const r = {};
1867
- return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
1868
- }
1869
- const so = {
1870
- m: "margin",
1871
- p: "padding"
1872
- }, co = {
1873
- t: "Top",
1874
- r: "Right",
1875
- b: "Bottom",
1876
- l: "Left",
1877
- x: ["Left", "Right"],
1878
- y: ["Top", "Bottom"]
1879
- }, ut = {
1880
- marginX: "mx",
1881
- marginY: "my",
1882
- paddingX: "px",
1883
- paddingY: "py"
1884
- }, uo = ao((e) => {
1885
- if (e.length > 2)
1886
- if (ut[e])
1887
- e = ut[e];
1888
- else
1889
- return [e];
1890
- const [r, t] = e.split(""), n = so[r], o = co[t] || "";
1891
- return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
1892
- }), ur = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], fr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], fo = [...ur, ...fr];
1893
- function Ge(e, r, t, n) {
1894
- const o = cr(e, r, !0) ?? t;
1895
- return typeof o == "number" || typeof o == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`), typeof o == "string" ? `calc(${i} * ${o})` : o * i) : Array.isArray(o) ? (i) => {
1896
- if (typeof i == "string")
1897
- return i;
1898
- const s = Math.abs(i);
1899
- process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > o.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${s} > ${o.length - 1}, you need to add the missing values.`].join(`
1900
- `)) : console.error([`MUI: The \`theme.${r}\` 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.${r}\` as a number.`].join(`
1901
- `)));
1902
- const c = o[s];
1903
- return i >= 0 ? c : typeof c == "number" ? -c : `-${c}`;
1904
- } : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
1905
- `)), () => {
1906
- });
1907
- }
1908
- function Fr(e) {
1909
- return Ge(e, "spacing", 8, "spacing");
1910
- }
1911
- function Ye(e, r) {
1912
- return typeof r == "string" || r == null ? r : e(r);
1913
- }
1914
- function lo(e, r) {
1915
- return (t) => e.reduce((n, o) => (n[o] = Ye(r, t), n), {});
1916
- }
1917
- function po(e, r, t, n) {
1918
- if (!r.includes(t))
1919
- return null;
1920
- const o = uo(t), i = lo(o, n), s = e[t];
1921
- return ye(e, s, i);
1922
- }
1923
- function jt(e, r) {
1924
- const t = Fr(e.theme);
1925
- return Object.keys(e).map((n) => po(e, r, n, t)).reduce(We, {});
1926
- }
1927
- function q(e) {
1928
- return jt(e, ur);
1929
- }
1930
- q.propTypes = process.env.NODE_ENV !== "production" ? ur.reduce((e, r) => (e[r] = we, e), {}) : {};
1931
- q.filterProps = ur;
1932
- function H(e) {
1933
- return jt(e, fr);
1934
- }
1935
- H.propTypes = process.env.NODE_ENV !== "production" ? fr.reduce((e, r) => (e[r] = we, e), {}) : {};
1936
- H.filterProps = fr;
1937
- process.env.NODE_ENV !== "production" && fo.reduce((e, r) => (e[r] = we, e), {});
1938
- function Dt(e = 8, r = Fr({
1939
- spacing: e
1940
- })) {
1941
- if (e.mui)
1942
- return e;
1943
- const t = (...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((i) => {
1944
- const s = r(i);
1945
- return typeof s == "number" ? `${s}px` : s;
1946
- }).join(" "));
1947
- return t.mui = !0, t;
1948
- }
1949
- function lr(...e) {
1950
- const r = e.reduce((n, o) => (o.filterProps.forEach((i) => {
1951
- n[i] = o;
1952
- }), n), {}), t = (n) => Object.keys(n).reduce((o, i) => r[i] ? We(o, r[i](n)) : o, {});
1953
- return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, t.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), t;
1954
- }
1955
- function ae(e) {
1956
- return typeof e != "number" ? e : `${e}px solid`;
1957
- }
1958
- function se(e, r) {
1959
- return Q({
1960
- prop: e,
1961
- themeKey: "borders",
1962
- transform: r
1963
- });
1964
- }
1965
- const go = se("border", ae), ho = se("borderTop", ae), mo = se("borderRight", ae), yo = se("borderBottom", ae), bo = se("borderLeft", ae), vo = se("borderColor"), Co = se("borderTopColor"), So = se("borderRightColor"), wo = se("borderBottomColor"), xo = se("borderLeftColor"), Eo = se("outline", ae), To = se("outlineColor"), dr = (e) => {
1966
- if (e.borderRadius !== void 0 && e.borderRadius !== null) {
1967
- const r = Ge(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
1968
- borderRadius: Ye(r, n)
1969
- });
1970
- return ye(e, e.borderRadius, t);
1971
- }
1972
- return null;
1973
- };
1974
- dr.propTypes = process.env.NODE_ENV !== "production" ? {
1975
- borderRadius: we
1976
- } : {};
1977
- dr.filterProps = ["borderRadius"];
1978
- lr(go, ho, mo, yo, bo, vo, Co, So, wo, xo, dr, Eo, To);
1979
- const pr = (e) => {
1980
- if (e.gap !== void 0 && e.gap !== null) {
1981
- const r = Ge(e.theme, "spacing", 8, "gap"), t = (n) => ({
1982
- gap: Ye(r, n)
1983
- });
1984
- return ye(e, e.gap, t);
1985
- }
1986
- return null;
1987
- };
1988
- pr.propTypes = process.env.NODE_ENV !== "production" ? {
1989
- gap: we
1990
- } : {};
1991
- pr.filterProps = ["gap"];
1992
- const gr = (e) => {
1993
- if (e.columnGap !== void 0 && e.columnGap !== null) {
1994
- const r = Ge(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
1995
- columnGap: Ye(r, n)
1996
- });
1997
- return ye(e, e.columnGap, t);
1998
- }
1999
- return null;
2000
- };
2001
- gr.propTypes = process.env.NODE_ENV !== "production" ? {
2002
- columnGap: we
2003
- } : {};
2004
- gr.filterProps = ["columnGap"];
2005
- const hr = (e) => {
2006
- if (e.rowGap !== void 0 && e.rowGap !== null) {
2007
- const r = Ge(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
2008
- rowGap: Ye(r, n)
2009
- });
2010
- return ye(e, e.rowGap, t);
2011
- }
2012
- return null;
2013
- };
2014
- hr.propTypes = process.env.NODE_ENV !== "production" ? {
2015
- rowGap: we
2016
- } : {};
2017
- hr.filterProps = ["rowGap"];
2018
- const $o = Q({
2019
- prop: "gridColumn"
2020
- }), Ao = Q({
2021
- prop: "gridRow"
2022
- }), Oo = Q({
2023
- prop: "gridAutoFlow"
2024
- }), ko = Q({
2025
- prop: "gridAutoColumns"
2026
- }), Po = Q({
2027
- prop: "gridAutoRows"
2028
- }), Ro = Q({
2029
- prop: "gridTemplateColumns"
2030
- }), _o = Q({
2031
- prop: "gridTemplateRows"
2032
- }), Io = Q({
2033
- prop: "gridTemplateAreas"
2034
- }), Bo = Q({
2035
- prop: "gridArea"
2036
- });
2037
- lr(pr, gr, hr, $o, Ao, Oo, ko, Po, Ro, _o, Io, Bo);
2038
- function Re(e, r) {
2039
- return r === "grey" ? r : e;
2040
- }
2041
- const No = Q({
2042
- prop: "color",
2043
- themeKey: "palette",
2044
- transform: Re
2045
- }), Mo = Q({
2046
- prop: "bgcolor",
2047
- cssProperty: "backgroundColor",
2048
- themeKey: "palette",
2049
- transform: Re
2050
- }), jo = Q({
2051
- prop: "backgroundColor",
2052
- themeKey: "palette",
2053
- transform: Re
2054
- });
2055
- lr(No, Mo, jo);
2056
- function oe(e) {
2057
- return e <= 1 && e !== 0 ? `${e * 100}%` : e;
2058
- }
2059
- const Do = Q({
2060
- prop: "width",
2061
- transform: oe
2062
- }), Lr = (e) => {
2063
- if (e.maxWidth !== void 0 && e.maxWidth !== null) {
2064
- const r = (t) => {
2065
- var o, i, s, c, u;
2066
- const n = ((s = (i = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : i.values) == null ? void 0 : s[t]) || sr[t];
2067
- return n ? ((u = (c = e.theme) == null ? void 0 : c.breakpoints) == null ? void 0 : u.unit) !== "px" ? {
2068
- maxWidth: `${n}${e.theme.breakpoints.unit}`
2069
- } : {
2070
- maxWidth: n
2071
- } : {
2072
- maxWidth: oe(t)
2073
- };
2074
- };
2075
- return ye(e, e.maxWidth, r);
2076
- }
2077
- return null;
2078
- };
2079
- Lr.filterProps = ["maxWidth"];
2080
- const Wo = Q({
2081
- prop: "minWidth",
2082
- transform: oe
2083
- }), Fo = Q({
2084
- prop: "height",
2085
- transform: oe
2086
- }), Lo = Q({
2087
- prop: "maxHeight",
2088
- transform: oe
2089
- }), Uo = Q({
2090
- prop: "minHeight",
2091
- transform: oe
2092
- });
2093
- Q({
2094
- prop: "size",
2095
- cssProperty: "width",
2096
- transform: oe
2097
- });
2098
- Q({
2099
- prop: "size",
2100
- cssProperty: "height",
2101
- transform: oe
2102
- });
2103
- const Vo = Q({
2104
- prop: "boxSizing"
2105
- });
2106
- lr(Do, Lr, Wo, Fo, Lo, Uo, Vo);
2107
- const mr = {
2108
- // borders
2109
- border: {
2110
- themeKey: "borders",
2111
- transform: ae
2112
- },
2113
- borderTop: {
2114
- themeKey: "borders",
2115
- transform: ae
2116
- },
2117
- borderRight: {
2118
- themeKey: "borders",
2119
- transform: ae
2120
- },
2121
- borderBottom: {
2122
- themeKey: "borders",
2123
- transform: ae
2124
- },
2125
- borderLeft: {
2126
- themeKey: "borders",
2127
- transform: ae
2128
- },
2129
- borderColor: {
2130
- themeKey: "palette"
2131
- },
2132
- borderTopColor: {
2133
- themeKey: "palette"
2134
- },
2135
- borderRightColor: {
2136
- themeKey: "palette"
2137
- },
2138
- borderBottomColor: {
2139
- themeKey: "palette"
2140
- },
2141
- borderLeftColor: {
2142
- themeKey: "palette"
2143
- },
2144
- outline: {
2145
- themeKey: "borders",
2146
- transform: ae
2147
- },
2148
- outlineColor: {
2149
- themeKey: "palette"
2150
- },
2151
- borderRadius: {
2152
- themeKey: "shape.borderRadius",
2153
- style: dr
2154
- },
2155
- // palette
2156
- color: {
2157
- themeKey: "palette",
2158
- transform: Re
2159
- },
2160
- bgcolor: {
2161
- themeKey: "palette",
2162
- cssProperty: "backgroundColor",
2163
- transform: Re
2164
- },
2165
- backgroundColor: {
2166
- themeKey: "palette",
2167
- transform: Re
2168
- },
2169
- // spacing
2170
- p: {
2171
- style: H
2172
- },
2173
- pt: {
2174
- style: H
2175
- },
2176
- pr: {
2177
- style: H
2178
- },
2179
- pb: {
2180
- style: H
2181
- },
2182
- pl: {
2183
- style: H
2184
- },
2185
- px: {
2186
- style: H
2187
- },
2188
- py: {
2189
- style: H
2190
- },
2191
- padding: {
2192
- style: H
2193
- },
2194
- paddingTop: {
2195
- style: H
2196
- },
2197
- paddingRight: {
2198
- style: H
2199
- },
2200
- paddingBottom: {
2201
- style: H
2202
- },
2203
- paddingLeft: {
2204
- style: H
2205
- },
2206
- paddingX: {
2207
- style: H
2208
- },
2209
- paddingY: {
2210
- style: H
2211
- },
2212
- paddingInline: {
2213
- style: H
2214
- },
2215
- paddingInlineStart: {
2216
- style: H
2217
- },
2218
- paddingInlineEnd: {
2219
- style: H
2220
- },
2221
- paddingBlock: {
2222
- style: H
2223
- },
2224
- paddingBlockStart: {
2225
- style: H
2226
- },
2227
- paddingBlockEnd: {
2228
- style: H
2229
- },
2230
- m: {
2231
- style: q
2232
- },
2233
- mt: {
2234
- style: q
2235
- },
2236
- mr: {
2237
- style: q
2238
- },
2239
- mb: {
2240
- style: q
2241
- },
2242
- ml: {
2243
- style: q
2244
- },
2245
- mx: {
2246
- style: q
2247
- },
2248
- my: {
2249
- style: q
2250
- },
2251
- margin: {
2252
- style: q
2253
- },
2254
- marginTop: {
2255
- style: q
2256
- },
2257
- marginRight: {
2258
- style: q
2259
- },
2260
- marginBottom: {
2261
- style: q
2262
- },
2263
- marginLeft: {
2264
- style: q
2265
- },
2266
- marginX: {
2267
- style: q
2268
- },
2269
- marginY: {
2270
- style: q
2271
- },
2272
- marginInline: {
2273
- style: q
2274
- },
2275
- marginInlineStart: {
2276
- style: q
2277
- },
2278
- marginInlineEnd: {
2279
- style: q
2280
- },
2281
- marginBlock: {
2282
- style: q
2283
- },
2284
- marginBlockStart: {
2285
- style: q
2286
- },
2287
- marginBlockEnd: {
2288
- style: q
2289
- },
2290
- // display
2291
- displayPrint: {
2292
- cssProperty: !1,
2293
- transform: (e) => ({
2294
- "@media print": {
2295
- display: e
2296
- }
2297
- })
2298
- },
2299
- display: {},
2300
- overflow: {},
2301
- textOverflow: {},
2302
- visibility: {},
2303
- whiteSpace: {},
2304
- // flexbox
2305
- flexBasis: {},
2306
- flexDirection: {},
2307
- flexWrap: {},
2308
- justifyContent: {},
2309
- alignItems: {},
2310
- alignContent: {},
2311
- order: {},
2312
- flex: {},
2313
- flexGrow: {},
2314
- flexShrink: {},
2315
- alignSelf: {},
2316
- justifyItems: {},
2317
- justifySelf: {},
2318
- // grid
2319
- gap: {
2320
- style: pr
2321
- },
2322
- rowGap: {
2323
- style: hr
2324
- },
2325
- columnGap: {
2326
- style: gr
2327
- },
2328
- gridColumn: {},
2329
- gridRow: {},
2330
- gridAutoFlow: {},
2331
- gridAutoColumns: {},
2332
- gridAutoRows: {},
2333
- gridTemplateColumns: {},
2334
- gridTemplateRows: {},
2335
- gridTemplateAreas: {},
2336
- gridArea: {},
2337
- // positions
2338
- position: {},
2339
- zIndex: {
2340
- themeKey: "zIndex"
2341
- },
2342
- top: {},
2343
- right: {},
2344
- bottom: {},
2345
- left: {},
2346
- // shadows
2347
- boxShadow: {
2348
- themeKey: "shadows"
2349
- },
2350
- // sizing
2351
- width: {
2352
- transform: oe
2353
- },
2354
- maxWidth: {
2355
- style: Lr
2356
- },
2357
- minWidth: {
2358
- transform: oe
2359
- },
2360
- height: {
2361
- transform: oe
2362
- },
2363
- maxHeight: {
2364
- transform: oe
2365
- },
2366
- minHeight: {
2367
- transform: oe
2368
- },
2369
- boxSizing: {},
2370
- // typography
2371
- font: {
2372
- themeKey: "font"
2373
- },
2374
- fontFamily: {
2375
- themeKey: "typography"
2376
- },
2377
- fontSize: {
2378
- themeKey: "typography"
2379
- },
2380
- fontStyle: {
2381
- themeKey: "typography"
2382
- },
2383
- fontWeight: {
2384
- themeKey: "typography"
2385
- },
2386
- letterSpacing: {},
2387
- textTransform: {},
2388
- lineHeight: {},
2389
- textAlign: {},
2390
- typography: {
2391
- cssProperty: !1,
2392
- themeKey: "typography"
2393
- }
2394
- };
2395
- function zo(...e) {
2396
- const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
2397
- return e.every((n) => t.size === Object.keys(n).length);
2398
- }
2399
- function Go(e, r) {
2400
- return typeof e == "function" ? e(r) : e;
2401
- }
2402
- function Yo() {
2403
- function e(t, n, o, i) {
2404
- const s = {
2405
- [t]: n,
2406
- theme: o
2407
- }, c = i[t];
2408
- if (!c)
2409
- return {
2410
- [t]: n
2411
- };
2412
- const {
2413
- cssProperty: u = t,
2414
- themeKey: l,
2415
- transform: p,
2416
- style: d
2417
- } = c;
2418
- if (n == null)
2419
- return null;
2420
- if (l === "typography" && n === "inherit")
2421
- return {
2422
- [t]: n
2423
- };
2424
- const g = cr(o, l) || {};
2425
- return d ? d(s) : ye(s, n, (v) => {
2426
- let m = nr(g, p, v);
2427
- return v === m && typeof v == "string" && (m = nr(g, p, `${t}${v === "default" ? "" : Mt(v)}`, v)), u === !1 ? m : {
2428
- [u]: m
2429
- };
2430
- });
2431
- }
2432
- function r(t) {
2433
- const {
2434
- sx: n,
2435
- theme: o = {}
2436
- } = t || {};
2437
- if (!n)
2438
- return null;
2439
- const i = o.unstable_sxConfig ?? mr;
2440
- function s(c) {
2441
- let u = c;
2442
- if (typeof c == "function")
2443
- u = c(o);
2444
- else if (typeof c != "object")
2445
- return c;
2446
- if (!u)
2447
- return null;
2448
- const l = Bt(o.breakpoints), p = Object.keys(l);
2449
- let d = l;
2450
- return Object.keys(u).forEach((g) => {
2451
- const S = Go(u[g], o);
2452
- if (S != null)
2453
- if (typeof S == "object")
2454
- if (i[g])
2455
- d = We(d, e(g, S, o, i));
2456
- else {
2457
- const v = ye({
2458
- theme: o
2459
- }, S, (m) => ({
2460
- [g]: m
2461
- }));
2462
- zo(v, S) ? d[g] = r({
2463
- sx: S,
2464
- theme: o
2465
- }) : d = We(d, v);
2466
- }
2467
- else
2468
- d = We(d, e(g, S, o, i));
2469
- }), Zn(o, Nt(p, d));
2470
- }
2471
- return Array.isArray(n) ? n.map(s) : s(n);
2472
- }
2473
- return r;
2474
- }
2475
- const yr = Yo();
2476
- yr.filterProps = ["sx"];
2477
- function Ko(e, r) {
2478
- var n;
2479
- const t = this;
2480
- if (t.vars) {
2481
- if (!((n = t.colorSchemes) != null && n[e]) || typeof t.getColorSchemeSelector != "function")
2482
- return {};
2483
- let o = t.getColorSchemeSelector(e);
2484
- return o === "&" ? r : ((o.includes("data-") || o.includes(".")) && (o = `*:where(${o.replace(/\s*&$/, "")}) &`), {
2485
- [o]: r
2486
- });
2487
- }
2488
- return t.palette.mode === e ? r : {};
2489
- }
2490
- function qo(e = {}, ...r) {
2491
- const {
2492
- breakpoints: t = {},
2493
- palette: n = {},
2494
- spacing: o,
2495
- shape: i = {},
2496
- ...s
2497
- } = e, c = Xn(t), u = Dt(o);
2498
- let l = te({
2499
- breakpoints: c,
2500
- direction: "ltr",
2501
- components: {},
2502
- // Inject component definitions.
2503
- palette: {
2504
- mode: "light",
2505
- ...n
2506
- },
2507
- spacing: u,
2508
- shape: {
2509
- ...no,
2510
- ...i
2511
- }
2512
- }, s);
2513
- return l = to(l), l.applyStyles = Ko, l = r.reduce((p, d) => te(p, d), l), l.unstable_sxConfig = {
2514
- ...mr,
2515
- ...s == null ? void 0 : s.unstable_sxConfig
2516
- }, l.unstable_sx = function(d) {
2517
- return yr({
2518
- sx: d,
2519
- theme: this
2520
- });
2521
- }, l;
2522
- }
2523
- const ft = (e) => e, Ho = () => {
2524
- let e = ft;
2525
- return {
2526
- configure(r) {
2527
- e = r;
2528
- },
2529
- generate(r) {
2530
- return e(r);
2531
- },
2532
- reset() {
2533
- e = ft;
2534
- }
2535
- };
2536
- }, Qo = Ho(), Jo = {
2537
- active: "active",
2538
- checked: "checked",
2539
- completed: "completed",
2540
- disabled: "disabled",
2541
- error: "error",
2542
- expanded: "expanded",
2543
- focused: "focused",
2544
- focusVisible: "focusVisible",
2545
- open: "open",
2546
- readOnly: "readOnly",
2547
- required: "required",
2548
- selected: "selected"
2549
- };
2550
- function Xo(e, r, t = "Mui") {
2551
- const n = Jo[r];
2552
- return n ? `${t}-${n}` : `${Qo.generate(e)}-${r}`;
2553
- }
2554
- function Zo(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
2555
- return Math.max(r, Math.min(e, t));
2556
- }
2557
- function Ur(e, r = 0, t = 1) {
2558
- return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), Zo(e, r, t);
2559
- }
2560
- function ei(e) {
2561
- e = e.slice(1);
2562
- const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
2563
- let t = e.match(r);
2564
- return t && t[0].length === 1 && (t = t.map((n) => n + n)), t ? `rgb${t.length === 4 ? "a" : ""}(${t.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
2565
- }
2566
- function Se(e) {
2567
- if (e.type)
2568
- return e;
2569
- if (e.charAt(0) === "#")
2570
- return Se(ei(e));
2571
- const r = e.indexOf("("), t = e.substring(0, r);
2572
- if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
2573
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
2574
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Ce(9, e));
2575
- let n = e.substring(r + 1, e.length - 1), o;
2576
- if (t === "color") {
2577
- if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(o))
2578
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
2579
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Ce(10, o));
2580
- } else
2581
- n = n.split(",");
2582
- return n = n.map((i) => parseFloat(i)), {
2583
- type: t,
2584
- values: n,
2585
- colorSpace: o
2586
- };
2587
- }
2588
- const ri = (e) => {
2589
- const r = Se(e);
2590
- return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
2591
- }, je = (e, r) => {
2592
- try {
2593
- return ri(e);
2594
- } catch {
2595
- return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
2596
- }
2597
- };
2598
- function br(e) {
2599
- const {
2600
- type: r,
2601
- colorSpace: t
2602
- } = e;
2603
- let {
2604
- values: n
2605
- } = e;
2606
- return r.includes("rgb") ? n = n.map((o, i) => i < 3 ? parseInt(o, 10) : o) : r.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.includes("color") ? n = `${t} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
2607
- }
2608
- function Wt(e) {
2609
- e = Se(e);
2610
- const {
2611
- values: r
2612
- } = e, t = r[0], n = r[1] / 100, o = r[2] / 100, i = n * Math.min(o, 1 - o), s = (l, p = (l + t / 30) % 12) => o - i * Math.max(Math.min(p - 3, 9 - p, 1), -1);
2613
- let c = "rgb";
2614
- const u = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
2615
- return e.type === "hsla" && (c += "a", u.push(r[3])), br({
2616
- type: c,
2617
- values: u
2618
- });
2619
- }
2620
- function Br(e) {
2621
- e = Se(e);
2622
- let r = e.type === "hsl" || e.type === "hsla" ? Se(Wt(e)).values : e.values;
2623
- return r = r.map((t) => (e.type !== "color" && (t /= 255), t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
2624
- }
2625
- function lt(e, r) {
2626
- const t = Br(e), n = Br(r);
2627
- return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
2628
- }
2629
- function ti(e, r) {
2630
- return e = Se(e), r = Ur(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, br(e);
2631
- }
2632
- function Je(e, r, t) {
2633
- try {
2634
- return ti(e, r);
2635
- } catch {
2636
- return e;
2637
- }
2638
- }
2639
- function Vr(e, r) {
2640
- if (e = Se(e), r = Ur(r), e.type.includes("hsl"))
2641
- e.values[2] *= 1 - r;
2642
- else if (e.type.includes("rgb") || e.type.includes("color"))
2643
- for (let t = 0; t < 3; t += 1)
2644
- e.values[t] *= 1 - r;
2645
- return br(e);
2646
- }
2647
- function z(e, r, t) {
2648
- try {
2649
- return Vr(e, r);
2650
- } catch {
2651
- return e;
2652
- }
2653
- }
2654
- function zr(e, r) {
2655
- if (e = Se(e), r = Ur(r), e.type.includes("hsl"))
2656
- e.values[2] += (100 - e.values[2]) * r;
2657
- else if (e.type.includes("rgb"))
2658
- for (let t = 0; t < 3; t += 1)
2659
- e.values[t] += (255 - e.values[t]) * r;
2660
- else if (e.type.includes("color"))
2661
- for (let t = 0; t < 3; t += 1)
2662
- e.values[t] += (1 - e.values[t]) * r;
2663
- return br(e);
2664
- }
2665
- function G(e, r, t) {
2666
- try {
2667
- return zr(e, r);
2668
- } catch {
2669
- return e;
2670
- }
2671
- }
2672
- function ni(e, r = 0.15) {
2673
- return Br(e) > 0.5 ? Vr(e, r) : zr(e, r);
2674
- }
2675
- function Xe(e, r, t) {
2676
- try {
2677
- return ni(e, r);
2678
- } catch {
2679
- return e;
2680
- }
2681
- }
2682
- function oi(e = "") {
2683
- function r(...n) {
2684
- if (!n.length)
2685
- return "";
2686
- const o = n[0];
2687
- return typeof o == "string" && !o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/) ? `, var(--${e ? `${e}-` : ""}${o}${r(...n.slice(1))})` : `, ${o}`;
2688
- }
2689
- return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${r(...o)})`;
2690
- }
2691
- const dt = (e, r, t, n = []) => {
2692
- let o = e;
2693
- r.forEach((i, s) => {
2694
- s === r.length - 1 ? Array.isArray(o) ? o[Number(i)] = t : o && typeof o == "object" && (o[i] = t) : o && typeof o == "object" && (o[i] || (o[i] = n.includes(i) ? [] : {}), o = o[i]);
2695
- });
2696
- }, ii = (e, r, t) => {
2697
- function n(o, i = [], s = []) {
2698
- Object.entries(o).forEach(([c, u]) => {
2699
- (!t || t && !t([...i, c])) && u != null && (typeof u == "object" && Object.keys(u).length > 0 ? n(u, [...i, c], Array.isArray(u) ? [...s, c] : s) : r([...i, c], u, s));
2700
- });
2701
- }
2702
- n(e);
2703
- }, ai = (e, r) => typeof r == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? r : `${r}px` : r;
2704
- function Ar(e, r) {
2705
- const {
2706
- prefix: t,
2707
- shouldSkipGeneratingVar: n
2708
- } = r || {}, o = {}, i = {}, s = {};
2709
- return ii(
2710
- e,
2711
- (c, u, l) => {
2712
- if ((typeof u == "string" || typeof u == "number") && (!n || !n(c, u))) {
2713
- const p = `--${t ? `${t}-` : ""}${c.join("-")}`, d = ai(c, u);
2714
- Object.assign(o, {
2715
- [p]: d
2716
- }), dt(i, c, `var(${p})`, l), dt(s, c, `var(${p}, ${d})`, l);
2717
- }
2718
- },
2719
- (c) => c[0] === "vars"
2720
- // skip 'vars/*' paths
2721
- ), {
2722
- css: o,
2723
- vars: i,
2724
- varsWithDefaults: s
2725
- };
2726
- }
2727
- function si(e, r = {}) {
2728
- const {
2729
- getSelector: t = w,
2730
- disableCssColorScheme: n,
2731
- colorSchemeSelector: o
2732
- } = r, {
2733
- colorSchemes: i = {},
2734
- components: s,
2735
- defaultColorScheme: c = "light",
2736
- ...u
2737
- } = e, {
2738
- vars: l,
2739
- css: p,
2740
- varsWithDefaults: d
2741
- } = Ar(u, r);
2742
- let g = d;
2743
- const S = {}, {
2744
- [c]: v,
2745
- ...m
2746
- } = i;
2747
- if (Object.entries(m || {}).forEach(([b, A]) => {
2748
- const {
2749
- vars: h,
2750
- css: V,
2751
- varsWithDefaults: O
2752
- } = Ar(A, r);
2753
- g = te(g, O), S[b] = {
2754
- css: V,
2755
- vars: h
2756
- };
2757
- }), v) {
2758
- const {
2759
- css: b,
2760
- vars: A,
2761
- varsWithDefaults: h
2762
- } = Ar(v, r);
2763
- g = te(g, h), S[c] = {
2764
- css: b,
2765
- vars: A
2766
- };
2767
- }
2768
- function w(b, A) {
2769
- var V, O;
2770
- let h = o;
2771
- if (o === "class" && (h = ".%s"), o === "data" && (h = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (h = `[${o}="%s"]`), b) {
2772
- if (h === "media")
2773
- return e.defaultColorScheme === b ? ":root" : {
2774
- [`@media (prefers-color-scheme: ${((O = (V = i[b]) == null ? void 0 : V.palette) == null ? void 0 : O.mode) || b})`]: {
2775
- ":root": A
2776
- }
2777
- };
2778
- if (h)
2779
- return e.defaultColorScheme === b ? `:root, ${h.replace("%s", String(b))}` : h.replace("%s", String(b));
2780
- }
2781
- return ":root";
2782
- }
2783
- return {
2784
- vars: g,
2785
- generateThemeVars: () => {
2786
- let b = {
2787
- ...l
2788
- };
2789
- return Object.entries(S).forEach(([, {
2790
- vars: A
2791
- }]) => {
2792
- b = te(b, A);
2793
- }), b;
2794
- },
2795
- generateStyleSheets: () => {
2796
- var ee, a;
2797
- const b = [], A = e.defaultColorScheme || "light";
2798
- function h(T, B) {
2799
- Object.keys(B).length && b.push(typeof T == "string" ? {
2800
- [T]: {
2801
- ...B
2802
- }
2803
- } : T);
2804
- }
2805
- h(t(void 0, {
2806
- ...p
2807
- }), p);
2808
- const {
2809
- [A]: V,
2810
- ...O
2811
- } = S;
2812
- if (V) {
2813
- const {
2814
- css: T
2815
- } = V, B = (a = (ee = i[A]) == null ? void 0 : ee.palette) == null ? void 0 : a.mode, Y = !n && B ? {
2816
- colorScheme: B,
2817
- ...T
2818
- } : {
2819
- ...T
2820
- };
2821
- h(t(A, {
2822
- ...Y
2823
- }), Y);
2824
- }
2825
- return Object.entries(O).forEach(([T, {
2826
- css: B
2827
- }]) => {
2828
- var ce, Ee;
2829
- const Y = (Ee = (ce = i[T]) == null ? void 0 : ce.palette) == null ? void 0 : Ee.mode, be = !n && Y ? {
2830
- colorScheme: Y,
2831
- ...B
2832
- } : {
2833
- ...B
2834
- };
2835
- h(t(T, {
2836
- ...be
2837
- }), be);
2838
- }), b;
2839
- }
2840
- };
2841
- }
2842
- function ci(e) {
2843
- return function(t) {
2844
- return e === "media" ? (process.env.NODE_ENV !== "production" && t !== "light" && t !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`), `@media (prefers-color-scheme: ${t})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${t}"] &` : e === "class" ? `.${t} &` : e === "data" ? `[data-${t}] &` : `${e.replace("%s", t)} &` : "&";
2845
- };
2846
- }
2847
- const pt = {
2848
- // The colors used to style the text.
2849
- text: {
2850
- // The most important text.
2851
- primary: "rgba(0, 0, 0, 0.87)",
2852
- // Secondary text.
2853
- secondary: "rgba(0, 0, 0, 0.6)",
2854
- // Disabled text have even lower visual prominence.
2855
- disabled: "rgba(0, 0, 0, 0.38)"
2856
- },
2857
- // The color used to divide different elements.
2858
- divider: "rgba(0, 0, 0, 0.12)",
2859
- // The background colors used to style the surfaces.
2860
- // Consistency between these values is important.
2861
- background: {
2862
- paper: Fe.white,
2863
- default: Fe.white
2864
- },
2865
- // The colors used to style the action elements.
2866
- action: {
2867
- // The color of an active action like an icon button.
2868
- active: "rgba(0, 0, 0, 0.54)",
2869
- // The color of an hovered action.
2870
- hover: "rgba(0, 0, 0, 0.04)",
2871
- hoverOpacity: 0.04,
2872
- // The color of a selected action.
2873
- selected: "rgba(0, 0, 0, 0.08)",
2874
- selectedOpacity: 0.08,
2875
- // The color of a disabled action.
2876
- disabled: "rgba(0, 0, 0, 0.26)",
2877
- // The background color of a disabled action.
2878
- disabledBackground: "rgba(0, 0, 0, 0.12)",
2879
- disabledOpacity: 0.38,
2880
- focus: "rgba(0, 0, 0, 0.12)",
2881
- focusOpacity: 0.12,
2882
- activatedOpacity: 0.12
2883
- }
2884
- }, Or = {
2885
- text: {
2886
- primary: Fe.white,
2887
- secondary: "rgba(255, 255, 255, 0.7)",
2888
- disabled: "rgba(255, 255, 255, 0.5)",
2889
- icon: "rgba(255, 255, 255, 0.5)"
2890
- },
2891
- divider: "rgba(255, 255, 255, 0.12)",
2892
- background: {
2893
- paper: "#121212",
2894
- default: "#121212"
2895
- },
2896
- action: {
2897
- active: Fe.white,
2898
- hover: "rgba(255, 255, 255, 0.08)",
2899
- hoverOpacity: 0.08,
2900
- selected: "rgba(255, 255, 255, 0.16)",
2901
- selectedOpacity: 0.16,
2902
- disabled: "rgba(255, 255, 255, 0.3)",
2903
- disabledBackground: "rgba(255, 255, 255, 0.12)",
2904
- disabledOpacity: 0.38,
2905
- focus: "rgba(255, 255, 255, 0.12)",
2906
- focusOpacity: 0.12,
2907
- activatedOpacity: 0.24
2908
- }
2909
- };
2910
- function gt(e, r, t, n) {
2911
- const o = n.light || n, i = n.dark || n * 1.5;
2912
- e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = zr(e.main, o) : r === "dark" && (e.dark = Vr(e.main, i)));
2913
- }
2914
- function ui(e = "light") {
2915
- return e === "dark" ? {
2916
- main: Ae[200],
2917
- light: Ae[50],
2918
- dark: Ae[400]
2919
- } : {
2920
- main: Ae[700],
2921
- light: Ae[400],
2922
- dark: Ae[800]
2923
- };
2924
- }
2925
- function fi(e = "light") {
2926
- return e === "dark" ? {
2927
- main: $e[200],
2928
- light: $e[50],
2929
- dark: $e[400]
2930
- } : {
2931
- main: $e[500],
2932
- light: $e[300],
2933
- dark: $e[700]
2934
- };
2935
- }
2936
- function li(e = "light") {
2937
- return e === "dark" ? {
2938
- main: Te[500],
2939
- light: Te[300],
2940
- dark: Te[700]
2941
- } : {
2942
- main: Te[700],
2943
- light: Te[400],
2944
- dark: Te[800]
2945
- };
2946
- }
2947
- function di(e = "light") {
2948
- return e === "dark" ? {
2949
- main: Oe[400],
2950
- light: Oe[300],
2951
- dark: Oe[700]
2952
- } : {
2953
- main: Oe[700],
2954
- light: Oe[500],
2955
- dark: Oe[900]
2956
- };
2957
- }
2958
- function pi(e = "light") {
2959
- return e === "dark" ? {
2960
- main: ke[400],
2961
- light: ke[300],
2962
- dark: ke[700]
2963
- } : {
2964
- main: ke[800],
2965
- light: ke[500],
2966
- dark: ke[900]
2967
- };
2968
- }
2969
- function gi(e = "light") {
2970
- return e === "dark" ? {
2971
- main: Be[400],
2972
- light: Be[300],
2973
- dark: Be[700]
2974
- } : {
2975
- main: "#ed6c02",
2976
- // closest to orange[800] that pass 3:1.
2977
- light: Be[500],
2978
- dark: Be[900]
2979
- };
2980
- }
2981
- function Gr(e) {
2982
- const {
2983
- mode: r = "light",
2984
- contrastThreshold: t = 3,
2985
- tonalOffset: n = 0.2,
2986
- ...o
2987
- } = e, i = e.primary || ui(r), s = e.secondary || fi(r), c = e.error || li(r), u = e.info || di(r), l = e.success || pi(r), p = e.warning || gi(r);
2988
- function d(m) {
2989
- const w = lt(m, Or.text.primary) >= t ? Or.text.primary : pt.text.primary;
2990
- if (process.env.NODE_ENV !== "production") {
2991
- const E = lt(m, w);
2992
- E < 3 && console.error([`MUI: The contrast ratio of ${E}:1 for ${w} on ${m}`, "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(`
2993
- `));
2994
- }
2995
- return w;
2996
- }
2997
- const g = ({
2998
- color: m,
2999
- name: w,
3000
- mainShade: E = 500,
3001
- lightShade: I = 300,
3002
- darkShade: b = 700
3003
- }) => {
3004
- if (m = {
3005
- ...m
3006
- }, !m.main && m[E] && (m.main = m[E]), !m.hasOwnProperty("main"))
3007
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
3008
- The color object needs to have a \`main\` property or a \`${E}\` property.` : Ce(11, w ? ` (${w})` : "", E));
3009
- if (typeof m.main != "string")
3010
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
3011
- \`color.main\` should be a string, but \`${JSON.stringify(m.main)}\` was provided instead.
3012
-
3013
- Did you intend to use one of the following approaches?
3014
-
3015
- import { green } from "@mui/material/colors";
3016
-
3017
- const theme1 = createTheme({ palette: {
3018
- primary: green,
3019
- } });
3020
-
3021
- const theme2 = createTheme({ palette: {
3022
- primary: { main: green[500] },
3023
- } });` : Ce(12, w ? ` (${w})` : "", JSON.stringify(m.main)));
3024
- return gt(m, "light", I, n), gt(m, "dark", b, n), m.contrastText || (m.contrastText = d(m.main)), m;
3025
- }, S = {
3026
- dark: Or,
3027
- light: pt
3028
- };
3029
- return process.env.NODE_ENV !== "production" && (S[r] || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), te({
3030
- // A collection of common colors.
3031
- common: {
3032
- ...Fe
3033
- },
3034
- // prevent mutable object.
3035
- // The palette mode, can be light or dark.
3036
- mode: r,
3037
- // The colors used to represent primary interface elements for a user.
3038
- primary: g({
3039
- color: i,
3040
- name: "primary"
3041
- }),
3042
- // The colors used to represent secondary interface elements for a user.
3043
- secondary: g({
3044
- color: s,
3045
- name: "secondary",
3046
- mainShade: "A400",
3047
- lightShade: "A200",
3048
- darkShade: "A700"
3049
- }),
3050
- // The colors used to represent interface elements that the user should be made aware of.
3051
- error: g({
3052
- color: c,
3053
- name: "error"
3054
- }),
3055
- // The colors used to represent potentially dangerous actions or important messages.
3056
- warning: g({
3057
- color: p,
3058
- name: "warning"
3059
- }),
3060
- // The colors used to present information to the user that is neutral and not necessarily important.
3061
- info: g({
3062
- color: u,
3063
- name: "info"
3064
- }),
3065
- // The colors used to indicate the successful completion of an action that user triggered.
3066
- success: g({
3067
- color: l,
3068
- name: "success"
3069
- }),
3070
- // The grey colors.
3071
- grey: Gt,
3072
- // Used by `getContrastText()` to maximize the contrast between
3073
- // the background and the text.
3074
- contrastThreshold: t,
3075
- // Takes a background color and returns the text color that maximizes the contrast.
3076
- getContrastText: d,
3077
- // Generate a rich color object.
3078
- augmentColor: g,
3079
- // Used by the functions below to shift a color's luminance by approximately
3080
- // two indexes within its tonal palette.
3081
- // E.g., shift from Red 500 to Red 300 or Red 700.
3082
- tonalOffset: n,
3083
- // The light and dark mode object.
3084
- ...S[r]
3085
- }, o);
3086
- }
3087
- function hi(e) {
3088
- const r = {};
3089
- return Object.entries(e).forEach((n) => {
3090
- const [o, i] = n;
3091
- typeof i == "object" && (r[o] = `${i.fontStyle ? `${i.fontStyle} ` : ""}${i.fontVariant ? `${i.fontVariant} ` : ""}${i.fontWeight ? `${i.fontWeight} ` : ""}${i.fontStretch ? `${i.fontStretch} ` : ""}${i.fontSize || ""}${i.lineHeight ? `/${i.lineHeight} ` : ""}${i.fontFamily || ""}`);
3092
- }), r;
3093
- }
3094
- function mi(e, r) {
3095
- return {
3096
- toolbar: {
3097
- minHeight: 56,
3098
- [e.up("xs")]: {
3099
- "@media (orientation: landscape)": {
3100
- minHeight: 48
3101
- }
3102
- },
3103
- [e.up("sm")]: {
3104
- minHeight: 64
3105
- }
3106
- },
3107
- ...r
3108
- };
3109
- }
3110
- function yi(e) {
3111
- return Math.round(e * 1e5) / 1e5;
3112
- }
3113
- const ht = {
3114
- textTransform: "uppercase"
3115
- }, mt = '"Roboto", "Helvetica", "Arial", sans-serif';
3116
- function bi(e, r) {
3117
- const {
3118
- fontFamily: t = mt,
3119
- // The default font size of the Material Specification.
3120
- fontSize: n = 14,
3121
- // px
3122
- fontWeightLight: o = 300,
3123
- fontWeightRegular: i = 400,
3124
- fontWeightMedium: s = 500,
3125
- fontWeightBold: c = 700,
3126
- // Tell MUI what's the font-size on the html element.
3127
- // 16px is the default font-size used by browsers.
3128
- htmlFontSize: u = 16,
3129
- // Apply the CSS properties to all the variants.
3130
- allVariants: l,
3131
- pxToRem: p,
3132
- ...d
3133
- } = typeof r == "function" ? r(e) : r;
3134
- process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof u != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
3135
- const g = n / 14, S = p || ((w) => `${w / u * g}rem`), v = (w, E, I, b, A) => ({
3136
- fontFamily: t,
3137
- fontWeight: w,
3138
- fontSize: S(E),
3139
- // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
3140
- lineHeight: I,
3141
- // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
3142
- // across font-families can cause issues with the kerning.
3143
- ...t === mt ? {
3144
- letterSpacing: `${yi(b / E)}em`
3145
- } : {},
3146
- ...A,
3147
- ...l
3148
- }), m = {
3149
- h1: v(o, 96, 1.167, -1.5),
3150
- h2: v(o, 60, 1.2, -0.5),
3151
- h3: v(i, 48, 1.167, 0),
3152
- h4: v(i, 34, 1.235, 0.25),
3153
- h5: v(i, 24, 1.334, 0),
3154
- h6: v(s, 20, 1.6, 0.15),
3155
- subtitle1: v(i, 16, 1.75, 0.15),
3156
- subtitle2: v(s, 14, 1.57, 0.1),
3157
- body1: v(i, 16, 1.5, 0.15),
3158
- body2: v(i, 14, 1.43, 0.15),
3159
- button: v(s, 14, 1.75, 0.4, ht),
3160
- caption: v(i, 12, 1.66, 0.4),
3161
- overline: v(i, 12, 2.66, 1, ht),
3162
- // 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.
3163
- inherit: {
3164
- fontFamily: "inherit",
3165
- fontWeight: "inherit",
3166
- fontSize: "inherit",
3167
- lineHeight: "inherit",
3168
- letterSpacing: "inherit"
3169
- }
3170
- };
3171
- return te({
3172
- htmlFontSize: u,
3173
- pxToRem: S,
3174
- fontFamily: t,
3175
- fontSize: n,
3176
- fontWeightLight: o,
3177
- fontWeightRegular: i,
3178
- fontWeightMedium: s,
3179
- fontWeightBold: c,
3180
- ...m
3181
- }, d, {
3182
- clone: !1
3183
- // No need to clone deep
3184
- });
3185
- }
3186
- const vi = 0.2, Ci = 0.14, Si = 0.12;
3187
- function K(...e) {
3188
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${vi})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ci})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Si})`].join(",");
3189
- }
3190
- const wi = ["none", K(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), K(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), K(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), K(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), K(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), K(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), K(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), K(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), K(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), K(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), K(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), K(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), K(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), K(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), K(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), K(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), K(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), K(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), K(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), K(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), K(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), K(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), K(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), K(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], xi = {
3191
- // This is the most common easing curve.
3192
- easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
3193
- // Objects enter the screen at full velocity from off-screen and
3194
- // slowly decelerate to a resting point.
3195
- easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
3196
- // Objects leave the screen at full velocity. They do not decelerate when off-screen.
3197
- easeIn: "cubic-bezier(0.4, 0, 1, 1)",
3198
- // The sharp curve is used by objects that may return to the screen at any time.
3199
- sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
3200
- }, Ei = {
3201
- shortest: 150,
3202
- shorter: 200,
3203
- short: 250,
3204
- // most basic recommended timing
3205
- standard: 300,
3206
- // this is to be used in complex animations
3207
- complex: 375,
3208
- // recommended when something is entering screen
3209
- enteringScreen: 225,
3210
- // recommended when something is leaving screen
3211
- leavingScreen: 195
3212
- };
3213
- function yt(e) {
3214
- return `${Math.round(e)}ms`;
3215
- }
3216
- function Ti(e) {
3217
- if (!e)
3218
- return 0;
3219
- const r = e / 36;
3220
- return Math.min(Math.round((4 + 15 * r ** 0.25 + r / 5) * 10), 3e3);
3221
- }
3222
- function $i(e) {
3223
- const r = {
3224
- ...xi,
3225
- ...e.easing
3226
- }, t = {
3227
- ...Ei,
3228
- ...e.duration
3229
- };
3230
- return {
3231
- getAutoHeightDuration: Ti,
3232
- create: (o = ["all"], i = {}) => {
3233
- const {
3234
- duration: s = t.standard,
3235
- easing: c = r.easeInOut,
3236
- delay: u = 0,
3237
- ...l
3238
- } = i;
3239
- if (process.env.NODE_ENV !== "production") {
3240
- const p = (g) => typeof g == "string", d = (g) => !Number.isNaN(parseFloat(g));
3241
- !p(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !d(s) && !p(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), p(c) || console.error('MUI: Argument "easing" must be a string.'), !d(u) && !p(u) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "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(`
3242
- `)), Object.keys(l).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(l).join(",")}].`);
3243
- }
3244
- return (Array.isArray(o) ? o : [o]).map((p) => `${p} ${typeof s == "string" ? s : yt(s)} ${c} ${typeof u == "string" ? u : yt(u)}`).join(",");
3245
- },
3246
- ...e,
3247
- easing: r,
3248
- duration: t
3249
- };
3250
- }
3251
- const Ai = {
3252
- mobileStepper: 1e3,
3253
- fab: 1050,
3254
- speedDial: 1050,
3255
- appBar: 1100,
3256
- drawer: 1200,
3257
- modal: 1300,
3258
- snackbar: 1400,
3259
- tooltip: 1500
3260
- };
3261
- function Nr(e = {}, ...r) {
3262
- const {
3263
- breakpoints: t,
3264
- mixins: n = {},
3265
- spacing: o,
3266
- palette: i = {},
3267
- transitions: s = {},
3268
- typography: c = {},
3269
- shape: u,
3270
- ...l
3271
- } = e;
3272
- if (e.vars)
3273
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : Ce(20));
3274
- const p = Gr(i), d = qo(e);
3275
- let g = te(d, {
3276
- mixins: mi(d.breakpoints, n),
3277
- palette: p,
3278
- // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
3279
- shadows: wi.slice(),
3280
- typography: bi(p, c),
3281
- transitions: $i(s),
3282
- zIndex: {
3283
- ...Ai
3284
- }
3285
- });
3286
- if (g = te(g, l), g = r.reduce((S, v) => te(S, v), g), process.env.NODE_ENV !== "production") {
3287
- const S = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], v = (m, w) => {
3288
- let E;
3289
- for (E in m) {
3290
- const I = m[E];
3291
- if (S.includes(E) && Object.keys(I).length > 0) {
3292
- if (process.env.NODE_ENV !== "production") {
3293
- const b = Xo("", E);
3294
- console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${E}\` internal state.`, "You can not override it like this: ", JSON.stringify(m, null, 2), "", `Instead, you need to use the '&.${b}' syntax:`, JSON.stringify({
3295
- root: {
3296
- [`&.${b}`]: I
3297
- }
3298
- }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
3299
- `));
3300
- }
3301
- m[E] = {};
3302
- }
3303
- }
3304
- };
3305
- Object.keys(g.components).forEach((m) => {
3306
- const w = g.components[m].styleOverrides;
3307
- w && m.startsWith("Mui") && v(w, m);
3308
- });
3309
- }
3310
- return g.unstable_sxConfig = {
3311
- ...mr,
3312
- ...l == null ? void 0 : l.unstable_sxConfig
3313
- }, g.unstable_sx = function(v) {
3314
- return yr({
3315
- sx: v,
3316
- theme: this
3317
- });
3318
- }, g;
3319
- }
3320
- function Oi(e) {
3321
- let r;
3322
- return e < 1 ? r = 5.11916 * e ** 2 : r = 4.5 * Math.log(e + 1) + 2, Math.round(r * 10) / 1e3;
3323
- }
3324
- const ki = [...Array(25)].map((e, r) => {
3325
- if (r === 0)
3326
- return "none";
3327
- const t = Oi(r);
3328
- return `linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`;
3329
- });
3330
- function Ft(e) {
3331
- return {
3332
- inputPlaceholder: e === "dark" ? 0.5 : 0.42,
3333
- inputUnderline: e === "dark" ? 0.7 : 0.42,
3334
- switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
3335
- switchTrack: e === "dark" ? 0.3 : 0.38
3336
- };
3337
- }
3338
- function Lt(e) {
3339
- return e === "dark" ? ki : [];
3340
- }
3341
- function Pi(e) {
3342
- const {
3343
- palette: r = {
3344
- mode: "light"
3345
- },
3346
- // need to cast to avoid module augmentation test
3347
- opacity: t,
3348
- overlays: n,
3349
- ...o
3350
- } = e, i = Gr(r);
3351
- return {
3352
- palette: i,
3353
- opacity: {
3354
- ...Ft(i.mode),
3355
- ...t
3356
- },
3357
- overlays: n || Lt(i.mode),
3358
- ...o
3359
- };
3360
- }
3361
- function Ri(e) {
3362
- var r;
3363
- return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
3364
- e[0] === "palette" && !!((r = e[1]) != null && r.match(/(mode|contrastThreshold|tonalOffset)/));
3365
- }
3366
- const _i = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], Ii = (e) => (r, t) => {
3367
- const n = e.colorSchemeSelector;
3368
- let o = n;
3369
- if (n === "class" && (o = ".%s"), n === "data" && (o = "[data-%s]"), n != null && n.startsWith("data-") && !n.includes("%s") && (o = `[${n}="%s"]`), e.defaultColorScheme === r) {
3370
- if (r === "dark") {
3371
- const i = {};
3372
- return _i(e.cssVarPrefix).forEach((s) => {
3373
- i[s] = t[s], delete t[s];
3374
- }), o === "media" ? {
3375
- ":root": t,
3376
- "@media (prefers-color-scheme: dark)": {
3377
- ":root": i
3378
- }
3379
- } : o ? {
3380
- [o.replace("%s", r)]: i,
3381
- [`:root, ${o.replace("%s", r)}`]: t
3382
- } : {
3383
- ":root": {
3384
- ...t,
3385
- ...i
3386
- }
3387
- };
3388
- }
3389
- if (o && o !== "media")
3390
- return `:root, ${o.replace("%s", String(r))}`;
3391
- } else if (r) {
3392
- if (o === "media")
3393
- return {
3394
- [`@media (prefers-color-scheme: ${String(r)})`]: {
3395
- ":root": t
3396
- }
3397
- };
3398
- if (o)
3399
- return o.replace("%s", String(r));
3400
- }
3401
- return ":root";
3402
- };
3403
- function Bi(e) {
3404
- return ve(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
3405
- }
3406
- function Ni(e = {}) {
3407
- const r = {
3408
- ...e
3409
- };
3410
- function t(n) {
3411
- const o = Object.entries(n);
3412
- for (let i = 0; i < o.length; i++) {
3413
- const [s, c] = o[i];
3414
- !Bi(c) || s.startsWith("unstable_") ? delete n[s] : ve(c) && (n[s] = {
3415
- ...c
3416
- }, t(n[s]));
3417
- }
3418
- }
3419
- return t(r), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
3420
-
3421
- const theme = ${JSON.stringify(r, null, 2)};
3422
-
3423
- theme.breakpoints = createBreakpoints(theme.breakpoints || {});
3424
- theme.transitions = createTransitions(theme.transitions || {});
3425
-
3426
- export default theme;`;
3427
- }
3428
- function Mi(e, r) {
3429
- r.forEach((t) => {
3430
- e[t] || (e[t] = {});
3431
- });
3432
- }
3433
- function f(e, r, t) {
3434
- !e[r] && t && (e[r] = t);
3435
- }
3436
- function De(e) {
3437
- return !e || !e.startsWith("hsl") ? e : Wt(e);
3438
- }
3439
- function me(e, r) {
3440
- `${r}Channel` in e || (e[`${r}Channel`] = je(De(e[r]), `MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
3441
- To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
3442
- }
3443
- function ji(e) {
3444
- return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
3445
- }
3446
- const le = (e) => {
3447
- try {
3448
- return e();
3449
- } catch {
3450
- }
3451
- }, Di = (e = "mui") => oi(e);
3452
- function kr(e, r, t, n) {
3453
- if (!r)
3454
- return;
3455
- r = r === !0 ? {} : r;
3456
- const o = n === "dark" ? "dark" : "light";
3457
- if (!t) {
3458
- e[n] = Pi({
3459
- ...r,
3460
- palette: {
3461
- mode: o,
3462
- ...r == null ? void 0 : r.palette
3463
- }
3464
- });
3465
- return;
3466
- }
3467
- const {
3468
- palette: i,
3469
- ...s
3470
- } = Nr({
3471
- ...t,
3472
- palette: {
3473
- mode: o,
3474
- ...r == null ? void 0 : r.palette
3475
- }
3476
- });
3477
- return e[n] = {
3478
- ...r,
3479
- palette: i,
3480
- opacity: {
3481
- ...Ft(o),
3482
- ...r == null ? void 0 : r.opacity
3483
- },
3484
- overlays: (r == null ? void 0 : r.overlays) || Lt(o)
3485
- }, s;
3486
- }
3487
- function Wi(e = {}, ...r) {
3488
- const {
3489
- colorSchemes: t = {
3490
- light: !0
3491
- },
3492
- defaultColorScheme: n,
3493
- disableCssColorScheme: o = !1,
3494
- cssVarPrefix: i = "mui",
3495
- shouldSkipGeneratingVar: s = Ri,
3496
- colorSchemeSelector: c = t.light && t.dark ? "media" : void 0,
3497
- ...u
3498
- } = e, l = Object.keys(t)[0], p = n || (t.light && l !== "light" ? "light" : l), d = Di(i), {
3499
- [p]: g,
3500
- light: S,
3501
- dark: v,
3502
- ...m
3503
- } = t, w = {
3504
- ...m
3505
- };
3506
- let E = g;
3507
- if ((p === "dark" && !("dark" in t) || p === "light" && !("light" in t)) && (E = !0), !E)
3508
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${p}\` option is either missing or invalid.` : Ce(21, p));
3509
- const I = kr(w, E, u, p);
3510
- S && !w.light && kr(w, S, void 0, "light"), v && !w.dark && kr(w, v, void 0, "dark");
3511
- let b = {
3512
- defaultColorScheme: p,
3513
- ...I,
3514
- cssVarPrefix: i,
3515
- colorSchemeSelector: c,
3516
- getCssVar: d,
3517
- colorSchemes: w,
3518
- font: {
3519
- ...hi(I.typography),
3520
- ...I.font
3521
- },
3522
- spacing: ji(u.spacing)
3523
- };
3524
- Object.keys(b.colorSchemes).forEach((ee) => {
3525
- const a = b.colorSchemes[ee].palette, T = (B) => {
3526
- const Y = B.split("-"), be = Y[1], ce = Y[2];
3527
- return d(B, a[be][ce]);
3528
- };
3529
- if (a.mode === "light" && (f(a.common, "background", "#fff"), f(a.common, "onBackground", "#000")), a.mode === "dark" && (f(a.common, "background", "#000"), f(a.common, "onBackground", "#fff")), Mi(a, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), a.mode === "light") {
3530
- f(a.Alert, "errorColor", z(a.error.light, 0.6)), f(a.Alert, "infoColor", z(a.info.light, 0.6)), f(a.Alert, "successColor", z(a.success.light, 0.6)), f(a.Alert, "warningColor", z(a.warning.light, 0.6)), f(a.Alert, "errorFilledBg", T("palette-error-main")), f(a.Alert, "infoFilledBg", T("palette-info-main")), f(a.Alert, "successFilledBg", T("palette-success-main")), f(a.Alert, "warningFilledBg", T("palette-warning-main")), f(a.Alert, "errorFilledColor", le(() => a.getContrastText(a.error.main))), f(a.Alert, "infoFilledColor", le(() => a.getContrastText(a.info.main))), f(a.Alert, "successFilledColor", le(() => a.getContrastText(a.success.main))), f(a.Alert, "warningFilledColor", le(() => a.getContrastText(a.warning.main))), f(a.Alert, "errorStandardBg", G(a.error.light, 0.9)), f(a.Alert, "infoStandardBg", G(a.info.light, 0.9)), f(a.Alert, "successStandardBg", G(a.success.light, 0.9)), f(a.Alert, "warningStandardBg", G(a.warning.light, 0.9)), f(a.Alert, "errorIconColor", T("palette-error-main")), f(a.Alert, "infoIconColor", T("palette-info-main")), f(a.Alert, "successIconColor", T("palette-success-main")), f(a.Alert, "warningIconColor", T("palette-warning-main")), f(a.AppBar, "defaultBg", T("palette-grey-100")), f(a.Avatar, "defaultBg", T("palette-grey-400")), f(a.Button, "inheritContainedBg", T("palette-grey-300")), f(a.Button, "inheritContainedHoverBg", T("palette-grey-A100")), f(a.Chip, "defaultBorder", T("palette-grey-400")), f(a.Chip, "defaultAvatarColor", T("palette-grey-700")), f(a.Chip, "defaultIconColor", T("palette-grey-700")), f(a.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), f(a.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), f(a.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), f(a.LinearProgress, "primaryBg", G(a.primary.main, 0.62)), f(a.LinearProgress, "secondaryBg", G(a.secondary.main, 0.62)), f(a.LinearProgress, "errorBg", G(a.error.main, 0.62)), f(a.LinearProgress, "infoBg", G(a.info.main, 0.62)), f(a.LinearProgress, "successBg", G(a.success.main, 0.62)), f(a.LinearProgress, "warningBg", G(a.warning.main, 0.62)), f(a.Skeleton, "bg", `rgba(${T("palette-text-primaryChannel")} / 0.11)`), f(a.Slider, "primaryTrack", G(a.primary.main, 0.62)), f(a.Slider, "secondaryTrack", G(a.secondary.main, 0.62)), f(a.Slider, "errorTrack", G(a.error.main, 0.62)), f(a.Slider, "infoTrack", G(a.info.main, 0.62)), f(a.Slider, "successTrack", G(a.success.main, 0.62)), f(a.Slider, "warningTrack", G(a.warning.main, 0.62));
3531
- const B = Xe(a.background.default, 0.8);
3532
- f(a.SnackbarContent, "bg", B), f(a.SnackbarContent, "color", le(() => a.getContrastText(B))), f(a.SpeedDialAction, "fabHoverBg", Xe(a.background.paper, 0.15)), f(a.StepConnector, "border", T("palette-grey-400")), f(a.StepContent, "border", T("palette-grey-400")), f(a.Switch, "defaultColor", T("palette-common-white")), f(a.Switch, "defaultDisabledColor", T("palette-grey-100")), f(a.Switch, "primaryDisabledColor", G(a.primary.main, 0.62)), f(a.Switch, "secondaryDisabledColor", G(a.secondary.main, 0.62)), f(a.Switch, "errorDisabledColor", G(a.error.main, 0.62)), f(a.Switch, "infoDisabledColor", G(a.info.main, 0.62)), f(a.Switch, "successDisabledColor", G(a.success.main, 0.62)), f(a.Switch, "warningDisabledColor", G(a.warning.main, 0.62)), f(a.TableCell, "border", G(Je(a.divider, 1), 0.88)), f(a.Tooltip, "bg", Je(a.grey[700], 0.92));
3533
- }
3534
- if (a.mode === "dark") {
3535
- f(a.Alert, "errorColor", G(a.error.light, 0.6)), f(a.Alert, "infoColor", G(a.info.light, 0.6)), f(a.Alert, "successColor", G(a.success.light, 0.6)), f(a.Alert, "warningColor", G(a.warning.light, 0.6)), f(a.Alert, "errorFilledBg", T("palette-error-dark")), f(a.Alert, "infoFilledBg", T("palette-info-dark")), f(a.Alert, "successFilledBg", T("palette-success-dark")), f(a.Alert, "warningFilledBg", T("palette-warning-dark")), f(a.Alert, "errorFilledColor", le(() => a.getContrastText(a.error.dark))), f(a.Alert, "infoFilledColor", le(() => a.getContrastText(a.info.dark))), f(a.Alert, "successFilledColor", le(() => a.getContrastText(a.success.dark))), f(a.Alert, "warningFilledColor", le(() => a.getContrastText(a.warning.dark))), f(a.Alert, "errorStandardBg", z(a.error.light, 0.9)), f(a.Alert, "infoStandardBg", z(a.info.light, 0.9)), f(a.Alert, "successStandardBg", z(a.success.light, 0.9)), f(a.Alert, "warningStandardBg", z(a.warning.light, 0.9)), f(a.Alert, "errorIconColor", T("palette-error-main")), f(a.Alert, "infoIconColor", T("palette-info-main")), f(a.Alert, "successIconColor", T("palette-success-main")), f(a.Alert, "warningIconColor", T("palette-warning-main")), f(a.AppBar, "defaultBg", T("palette-grey-900")), f(a.AppBar, "darkBg", T("palette-background-paper")), f(a.AppBar, "darkColor", T("palette-text-primary")), f(a.Avatar, "defaultBg", T("palette-grey-600")), f(a.Button, "inheritContainedBg", T("palette-grey-800")), f(a.Button, "inheritContainedHoverBg", T("palette-grey-700")), f(a.Chip, "defaultBorder", T("palette-grey-700")), f(a.Chip, "defaultAvatarColor", T("palette-grey-300")), f(a.Chip, "defaultIconColor", T("palette-grey-300")), f(a.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), f(a.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), f(a.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), f(a.LinearProgress, "primaryBg", z(a.primary.main, 0.5)), f(a.LinearProgress, "secondaryBg", z(a.secondary.main, 0.5)), f(a.LinearProgress, "errorBg", z(a.error.main, 0.5)), f(a.LinearProgress, "infoBg", z(a.info.main, 0.5)), f(a.LinearProgress, "successBg", z(a.success.main, 0.5)), f(a.LinearProgress, "warningBg", z(a.warning.main, 0.5)), f(a.Skeleton, "bg", `rgba(${T("palette-text-primaryChannel")} / 0.13)`), f(a.Slider, "primaryTrack", z(a.primary.main, 0.5)), f(a.Slider, "secondaryTrack", z(a.secondary.main, 0.5)), f(a.Slider, "errorTrack", z(a.error.main, 0.5)), f(a.Slider, "infoTrack", z(a.info.main, 0.5)), f(a.Slider, "successTrack", z(a.success.main, 0.5)), f(a.Slider, "warningTrack", z(a.warning.main, 0.5));
3536
- const B = Xe(a.background.default, 0.98);
3537
- f(a.SnackbarContent, "bg", B), f(a.SnackbarContent, "color", le(() => a.getContrastText(B))), f(a.SpeedDialAction, "fabHoverBg", Xe(a.background.paper, 0.15)), f(a.StepConnector, "border", T("palette-grey-600")), f(a.StepContent, "border", T("palette-grey-600")), f(a.Switch, "defaultColor", T("palette-grey-300")), f(a.Switch, "defaultDisabledColor", T("palette-grey-600")), f(a.Switch, "primaryDisabledColor", z(a.primary.main, 0.55)), f(a.Switch, "secondaryDisabledColor", z(a.secondary.main, 0.55)), f(a.Switch, "errorDisabledColor", z(a.error.main, 0.55)), f(a.Switch, "infoDisabledColor", z(a.info.main, 0.55)), f(a.Switch, "successDisabledColor", z(a.success.main, 0.55)), f(a.Switch, "warningDisabledColor", z(a.warning.main, 0.55)), f(a.TableCell, "border", z(Je(a.divider, 1), 0.68)), f(a.Tooltip, "bg", Je(a.grey[700], 0.92));
3538
- }
3539
- me(a.background, "default"), me(a.background, "paper"), me(a.common, "background"), me(a.common, "onBackground"), me(a, "divider"), Object.keys(a).forEach((B) => {
3540
- const Y = a[B];
3541
- Y && typeof Y == "object" && (Y.main && f(a[B], "mainChannel", je(De(Y.main))), Y.light && f(a[B], "lightChannel", je(De(Y.light))), Y.dark && f(a[B], "darkChannel", je(De(Y.dark))), Y.contrastText && f(a[B], "contrastTextChannel", je(De(Y.contrastText))), B === "text" && (me(a[B], "primary"), me(a[B], "secondary")), B === "action" && (Y.active && me(a[B], "active"), Y.selected && me(a[B], "selected")));
3542
- });
3543
- }), b = r.reduce((ee, a) => te(ee, a), b);
3544
- const A = {
3545
- prefix: i,
3546
- disableCssColorScheme: o,
3547
- shouldSkipGeneratingVar: s,
3548
- getSelector: Ii(b)
3549
- }, {
3550
- vars: h,
3551
- generateThemeVars: V,
3552
- generateStyleSheets: O
3553
- } = si(b, A);
3554
- return b.vars = h, Object.entries(b.colorSchemes[b.defaultColorScheme]).forEach(([ee, a]) => {
3555
- b[ee] = a;
3556
- }), b.generateThemeVars = V, b.generateStyleSheets = O, b.generateSpacing = function() {
3557
- return Dt(u.spacing, Fr(this));
3558
- }, b.getColorSchemeSelector = ci(c), b.spacing = b.generateSpacing(), b.shouldSkipGeneratingVar = s, b.unstable_sxConfig = {
3559
- ...mr,
3560
- ...u == null ? void 0 : u.unstable_sxConfig
3561
- }, b.unstable_sx = function(a) {
3562
- return yr({
3563
- sx: a,
3564
- theme: this
3565
- });
3566
- }, b.toRuntimeSource = Ni, b;
3567
- }
3568
- function bt(e, r, t) {
3569
- e.colorSchemes && t && (e.colorSchemes[r] = {
3570
- ...t !== !0 && t,
3571
- palette: Gr({
3572
- ...t === !0 ? {} : t.palette,
3573
- mode: r
3574
- })
3575
- // cast type to skip module augmentation test
3576
- });
3577
- }
3578
- function Hi(e = {}, ...r) {
3579
- const {
3580
- palette: t,
3581
- cssVariables: n = !1,
3582
- colorSchemes: o = t ? void 0 : {
3583
- light: !0
3584
- },
3585
- defaultColorScheme: i = t == null ? void 0 : t.mode,
3586
- ...s
3587
- } = e, c = i || "light", u = o == null ? void 0 : o[c], l = {
3588
- ...o,
3589
- ...t ? {
3590
- [c]: {
3591
- ...typeof u != "boolean" && u,
3592
- palette: t
3593
- }
3594
- } : void 0
3595
- };
3596
- if (n === !1) {
3597
- if (!("colorSchemes" in e))
3598
- return Nr(e, ...r);
3599
- let p = t;
3600
- "palette" in e || l[c] && (l[c] !== !0 ? p = l[c].palette : c === "dark" && (p = {
3601
- mode: "dark"
3602
- }));
3603
- const d = Nr({
3604
- ...e,
3605
- palette: p
3606
- }, ...r);
3607
- return d.defaultColorScheme = c, d.colorSchemes = l, d.palette.mode === "light" && (d.colorSchemes.light = {
3608
- ...l.light !== !0 && l.light,
3609
- palette: d.palette
3610
- }, bt(d, "dark", l.dark)), d.palette.mode === "dark" && (d.colorSchemes.dark = {
3611
- ...l.dark !== !0 && l.dark,
3612
- palette: d.palette
3613
- }, bt(d, "light", l.light)), d;
3614
- }
3615
- return !t && !("light" in l) && c === "light" && (l.light = !0), Wi({
3616
- ...s,
3617
- colorSchemes: l,
3618
- defaultColorScheme: c,
3619
- ...typeof n != "boolean" && n
3620
- }, ...r);
3621
- }
3622
- export {
3623
- $n as A,
3624
- zi as B,
3625
- Qo as C,
3626
- xn as D,
3627
- Yi as E,
3628
- bi as F,
3629
- hn as G,
3630
- Tn as H,
3631
- $t as I,
3632
- Mn as J,
3633
- Me as P,
3634
- Ht as S,
3635
- Ui as T,
3636
- ti as a,
3637
- qo as b,
3638
- Hi as c,
3639
- mr as d,
3640
- Wn as e,
3641
- Mt as f,
3642
- Xo as g,
3643
- ye as h,
3644
- ve as i,
3645
- Fr as j,
3646
- te as k,
3647
- Ye as l,
3648
- Ki as m,
3649
- Oi as n,
3650
- cr as o,
3651
- Ce as p,
3652
- Vr as q,
3653
- qi as r,
3654
- yr as s,
3655
- zr as t,
3656
- ni as u,
3657
- Bn as v,
3658
- Pt as w,
3659
- Gi as x,
3660
- Dn as y,
3661
- Vi as z
3662
- };