@cgi-learning-hub/ui 1.2.0-dev.1730801938 → 1.2.0-dev.1730802047

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 (162) hide show
  1. package/dist/Backdrop-Br80Nd7t.cjs +1 -0
  2. package/dist/{Backdrop-NYR-wJpx.js → Backdrop-DZxABi0e.js} +290 -289
  3. package/dist/{Box-BOwB0WGP.js → Box-CCNJo4xc.js} +3 -3
  4. package/dist/Box-CHgIMOMk.cjs +1 -0
  5. package/dist/Button-BZ3CM4Ou.cjs +1 -0
  6. package/dist/{Button-DOz72eRZ.js → Button-BbB53SmV.js} +76 -78
  7. package/dist/{ButtonBase-Cc4QJr0W.js → ButtonBase-CWK9_uNc.js} +78 -79
  8. package/dist/ButtonBase-CfGA-YGO.cjs +75 -0
  9. package/dist/{CircularProgress-CQAqrfVo.js → CircularProgress-CCcQGuv7.js} +60 -59
  10. package/dist/CircularProgress-CjmXu0NI.cjs +28 -0
  11. package/dist/DatePicker-BSHPkMOi.cjs +17 -0
  12. package/dist/{DatePicker-DLbJ-Y35.js → DatePicker-DhT2Azgz.js} +3796 -3827
  13. package/dist/DefaultButton-BDGm3E32.cjs +1 -0
  14. package/dist/{DefaultButton-xBiX39mb.js → DefaultButton-DRX60ZWo.js} +22 -23
  15. package/dist/DefaultPropsProvider-BL9ahJBw.cjs +17 -0
  16. package/dist/{DefaultPropsProvider-3gIWHkeE.js → DefaultPropsProvider-DtDY-TZb.js} +2 -1
  17. package/dist/{IconButton-DQ115lN0.js → IconButton-CJADlk4N.js} +60 -70
  18. package/dist/IconButton-CQIpnm5Y.cjs +2 -0
  19. package/dist/{InputAdornment-CQEOPpj_.cjs → InputAdornment-BgclYUXK.cjs} +1 -1
  20. package/dist/{InputAdornment-C91s059c.js → InputAdornment-DB3IsWy6.js} +5 -5
  21. package/dist/InputBase-BgPlZIwC.cjs +3 -0
  22. package/dist/{InputBase-BqiRpsZm.js → InputBase-D4oDoC6z.js} +76 -77
  23. package/dist/{Stack-CRf_NOj5.js → Stack-DkKYFn95.js} +13 -13
  24. package/dist/Stack-h0ulkByu.cjs +1 -0
  25. package/dist/{Tabs-ClaQRksF.js → Tabs-COdZZ9QD.js} +13 -14
  26. package/dist/Tabs-CVG205ba.cjs +4 -0
  27. package/dist/TextField-DYHbqOp9.cjs +14 -0
  28. package/dist/{TextField-poQmKhLJ.js → TextField-PKXBC85g.js} +1457 -1415
  29. package/dist/{Tooltip-h4eHRca2.js → Tooltip-Bjvuk-Lb.js} +1117 -1099
  30. package/dist/Tooltip-D8bjRAAW.cjs +100 -0
  31. package/dist/Typography-Ddo2XgEF.cjs +1 -0
  32. package/dist/{Typography-Brk7us7e.js → Typography-NOCV1w8B.js} +38 -37
  33. package/dist/components/Alert/Alert.cjs.js +1 -1
  34. package/dist/components/Alert/Alert.stories.cjs.js +1 -1
  35. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  36. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  37. package/dist/components/DatePicker/DatePicker.stories.cjs.js +1 -1
  38. package/dist/components/DatePicker/DatePicker.stories.es.js +1 -1
  39. package/dist/components/DatePicker/index.cjs.js +1 -1
  40. package/dist/components/DatePicker/index.es.js +1 -1
  41. package/dist/components/DefaultButton/DefaultButton.cjs.js +1 -1
  42. package/dist/components/DefaultButton/DefaultButton.es.js +2 -2
  43. package/dist/components/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
  44. package/dist/components/DefaultButton/DefaultButtonIcon.es.js +15 -14
  45. package/dist/components/DefaultButton/index.cjs.js +1 -1
  46. package/dist/components/DefaultButton/index.es.js +1 -1
  47. package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
  48. package/dist/components/Dropzone/Dropzone.es.js +1675 -679
  49. package/dist/components/Dropzone/Dropzone.stories.cjs.js +1 -1
  50. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  51. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  52. package/dist/components/EmptyState/EmptyState.stories.cjs.js +1 -1
  53. package/dist/components/FileList/FileList.cjs.js +1 -1
  54. package/dist/components/FileList/FileList.es.js +1 -1
  55. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  56. package/dist/components/FileList/FileListItem.es.js +21 -33
  57. package/dist/components/IconButton.stories.cjs.js +1 -1
  58. package/dist/components/IconButton.stories.es.js +11 -17
  59. package/dist/components/Loader/Loader.cjs.js +1 -1
  60. package/dist/components/Loader/Loader.es.js +1 -1
  61. package/dist/components/Loader/Loader.stories.cjs.js +1 -1
  62. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  63. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  64. package/dist/components/PaperHeader/PaperHeader.cjs.js +1 -1
  65. package/dist/components/PaperHeader/PaperHeader.es.js +2 -2
  66. package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +1 -1
  67. package/dist/components/PaperHeader/PaperHeader.stories.es.js +13 -19
  68. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  69. package/dist/components/PasswordInput/PasswordInput.es.js +5 -5
  70. package/dist/components/PasswordInput/PasswordInput.stories.cjs.js +1 -1
  71. package/dist/components/PrimaryButton/PrimaryButton.cjs.js +1 -1
  72. package/dist/components/PrimaryButton/PrimaryButton.es.js +1 -1
  73. package/dist/components/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
  74. package/dist/components/PrimaryButton/PrimaryButton.stories.es.js +1 -1
  75. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  76. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  77. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  78. package/dist/components/SearchInput/SearchInput.stories.cjs.js +1 -1
  79. package/dist/components/SecondaryButton/SecondaryButton.cjs.js +1 -1
  80. package/dist/components/SecondaryButton/SecondaryButton.es.js +1 -1
  81. package/dist/components/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
  82. package/dist/components/SecondaryButton/SecondaryButton.stories.es.js +1 -1
  83. package/dist/components/TabList.stories.cjs.js +1 -1
  84. package/dist/components/TabList.stories.es.js +11 -12
  85. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  86. package/dist/components/TextInput/TextInput.es.js +1 -1
  87. package/dist/components/TextInput/TextInput.stories.cjs.js +1 -1
  88. package/dist/components/index.cjs.js +1 -1
  89. package/dist/components/index.es.js +17 -17
  90. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  91. package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +1 -0
  92. package/dist/{createSvgIcon-BHNwYp0k.cjs → createSvgIcon-BH5C6nT9.cjs} +1 -1
  93. package/dist/{createSvgIcon-CWZXMIY6.js → createSvgIcon-CCVUTVqS.js} +3 -3
  94. package/dist/{extendSxProp-h_vH_Efx.cjs → extendSxProp-CxNq_K9W.cjs} +1 -1
  95. package/dist/{extendSxProp-Cr6SqfyU.js → extendSxProp-ZFHbVaVf.js} +1 -1
  96. package/dist/{fr-CrUmNQ8y.js → fr-D-ljiFMc.js} +1 -1
  97. package/dist/{fr-Dh4vpkIL.cjs → fr-W-CTnhjw.cjs} +1 -1
  98. package/dist/identifier-8mtH7ZcP.cjs +59 -0
  99. package/dist/{identifier-vL3mZxtO.js → identifier-C_jicJ2R.js} +1001 -1013
  100. package/dist/{index-PJSlkMUh.js → index-1jrO2HSs.js} +3 -3
  101. package/dist/{index-DJfvQgvG.cjs → index-8rVsYib2.cjs} +1 -1
  102. package/dist/{index-CrWaTytV.js → index-C-X1cQ2Z.js} +4 -4
  103. package/dist/index-DoBWXbUD.cjs +1 -0
  104. package/dist/index.cjs.js +1 -1
  105. package/dist/index.es.js +17 -17
  106. package/dist/memoTheme-B1D0RO58.js +15 -0
  107. package/dist/memoTheme-K38b4dAY.cjs +1 -0
  108. package/dist/{refType-CslmN23s.js → useEnhancedEffect-De8QYV_L.js} +11 -9
  109. package/dist/useEnhancedEffect-Dl7COs_u.cjs +1 -0
  110. package/dist/useForkRef-D-DyzOXj.js +21 -0
  111. package/dist/useForkRef-D81w5oMb.cjs +1 -0
  112. package/dist/{useTheme-BZN9T64v.js → useTheme-C18aJRpp.js} +1 -1
  113. package/dist/{useTheme-Cy30-54x.cjs → useTheme-D0cUaNbZ.cjs} +1 -1
  114. package/dist/{useTheme-BcsinTgi.cjs → useTheme-DMgnO6le.cjs} +1 -1
  115. package/dist/{useTheme-Cs6W-67J.js → useTheme-DR3unGHQ.js} +3 -3
  116. package/dist/useThemeProps-9fosi2Au.cjs +1 -0
  117. package/dist/useThemeProps-B8ZTH6Oh.cjs +1 -0
  118. package/dist/useThemeProps-BcqXKsD0.js +24 -0
  119. package/dist/useThemeProps-BwLSmftx.js +27 -0
  120. package/dist/useTimeout-CUZ4CtvQ.js +53 -0
  121. package/dist/useTimeout-Dfi8FwFc.cjs +1 -0
  122. package/package.json +10 -10
  123. package/dist/Backdrop-2u2eUNhW.cjs +0 -1
  124. package/dist/Box-BM-kEZ6w.cjs +0 -1
  125. package/dist/Button-DF4FLm9c.cjs +0 -1
  126. package/dist/ButtonBase-D-LBunY3.cjs +0 -75
  127. package/dist/CircularProgress-Bc4Jb-wh.cjs +0 -28
  128. package/dist/DatePicker-B7Kxulzh.cjs +0 -19
  129. package/dist/DefaultButton-BiytyhNr.cjs +0 -1
  130. package/dist/DefaultPropsProvider-D5gdl0ZP.cjs +0 -17
  131. package/dist/IconButton-C1Q6F-WI.cjs +0 -2
  132. package/dist/InputBase-BhTvM4pD.cjs +0 -3
  133. package/dist/Stack-C-pSEK_U.cjs +0 -1
  134. package/dist/Tabs-DQQR_Rej.cjs +0 -4
  135. package/dist/TextField-ESuNQ6_j.cjs +0 -12
  136. package/dist/Tooltip-iexr64ud.cjs +0 -100
  137. package/dist/Typography-DXUkMq5K.cjs +0 -1
  138. package/dist/chainPropTypes-CEUi6Jb4.cjs +0 -1
  139. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  140. package/dist/composeClasses-B_ETVugV.cjs +0 -1
  141. package/dist/composeClasses-zmPRtZOg.js +0 -16
  142. package/dist/createSvgIcon-C9v8HKxu.cjs +0 -2
  143. package/dist/createSvgIcon-ampgkdBR.js +0 -89
  144. package/dist/identifier-lU3TQXv0.cjs +0 -59
  145. package/dist/index-B4-7REI3.cjs +0 -1
  146. package/dist/memoTheme-B2EWpIp3.cjs +0 -1
  147. package/dist/memoTheme-O-hJ9iBh.js +0 -13
  148. package/dist/refType-xt9KmJ1e.cjs +0 -1
  149. package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
  150. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
  151. package/dist/useControlled-Bf7_InaL.cjs +0 -3
  152. package/dist/useControlled-D59BLg1S.js +0 -48
  153. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
  154. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  155. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  156. package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
  157. package/dist/useForkRef-CTI33h-3.cjs +0 -1
  158. package/dist/useForkRef-C_4o__cU.js +0 -15
  159. package/dist/useThemeProps-CjDUEYiA.js +0 -40
  160. package/dist/useThemeProps-DxowsTec.cjs +0 -1
  161. package/dist/useTimeout-COCrDKz-.cjs +0 -1
  162. package/dist/useTimeout-CcRdgCDK.js +0 -42
@@ -1,45 +1,83 @@
1
1
  import * as c from "react";
2
- import { I as Q, J as ee, L as Z, n as Ro, B as Po, P as e, K as de, V as io, Z as ht } from "./identifier-vL3mZxtO.js";
3
- import { a as Ke, e as ao, B as gt, u as me, T as vt, r as yt, c as Co } from "./Backdrop-NYR-wJpx.js";
4
- import { jsx as I, jsxs as be } from "react/jsx-runtime";
5
- import { s as F, u as re, c as oe, b as he, e as lo, f as Tt } from "./DefaultPropsProvider-3gIWHkeE.js";
6
- import { i as Ot, a as to, F as Et, u as Ae, f as Be, b as co, c as uo, r as po, d as fo, e as mo, I as bo, g as xt } from "./InputBase-BqiRpsZm.js";
7
- import { c as wo, i as Ze, u as Io } from "./useControlled-D59BLg1S.js";
8
- import { u as zo } from "./useId-CK6Kn3Tn.js";
9
- import { m as se } from "./memoTheme-O-hJ9iBh.js";
10
- import { u as Rt, a as So } from "./index-PJSlkMUh.js";
11
- import { a as ce, o as ke, d as Pt } from "./ownerWindow-BoRkeomM.js";
12
- import { u as ge, s as No } from "./useForkRef-C_4o__cU.js";
13
- import { u as Mo } from "./useEventCallback-BAQJJ3ye.js";
14
- import { u as qo, e as Ct } from "./useTheme-Cs6W-67J.js";
15
- import * as wt from "react-dom";
16
- import { u as no } from "./useEnhancedEffect-CJGo-L3B.js";
17
- import { c as _o } from "./chainPropTypes-D9lkm76m.js";
18
- import { r as Oe, e as It } from "./refType-CslmN23s.js";
19
- import { a as St } from "./useTimeout-CcRdgCDK.js";
20
- import { c as Nt } from "./createSvgIcon-CWZXMIY6.js";
21
- import { u as Mt } from "./useThemeProps-CjDUEYiA.js";
22
- const Ft = "exact-prop: ​";
23
- function Ho(o) {
2
+ import { I as Q, J as ee, L as Z, n as Co, B as wo, P as e, K as ce, V as lo, Z as vt } from "./identifier-C_jicJ2R.js";
3
+ import { a as Xe, e as co, B as yt, u as me, T as Tt, r as Et, c as Io } from "./Backdrop-DZxABi0e.js";
4
+ import { jsx as w, jsxs as be } from "react/jsx-runtime";
5
+ import { s as k, u as te, c as oe, b as he, e as uo, f as Ot } from "./DefaultPropsProvider-DtDY-TZb.js";
6
+ import { i as xt, a as ro, F as Rt, u as Ae, f as Be, b as po, c as fo, r as mo, d as bo, e as ho, I as go, g as Pt } from "./InputBase-D4oDoC6z.js";
7
+ import { u as _o } from "./useId-CK6Kn3Tn.js";
8
+ import { m as se } from "./memoTheme-B1D0RO58.js";
9
+ import { c as Ge } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
10
+ import { u as Ct, a as So } from "./index-1jrO2HSs.js";
11
+ import { o as Ee, a as pe, d as wt } from "./ownerWindow-BoRkeomM.js";
12
+ import { c as Ho, u as ge, s as No } from "./useForkRef-D-DyzOXj.js";
13
+ import { u as Mo, b as It } from "./useTimeout-CUZ4CtvQ.js";
14
+ import { u as Ko, e as St } from "./useTheme-DR3unGHQ.js";
15
+ import * as Nt from "react-dom";
16
+ import { u as so, r as Oe, e as Mt } from "./useEnhancedEffect-De8QYV_L.js";
17
+ import { c as Ft } from "./createSvgIcon-CCVUTVqS.js";
18
+ const kt = "exact-prop: ​";
19
+ function Xo(o) {
24
20
  return process.env.NODE_ENV === "production" ? o : {
25
21
  ...o,
26
- [Ft]: (t) => {
22
+ [kt]: (t) => {
27
23
  const n = Object.keys(t).filter((r) => !o.hasOwnProperty(r));
28
24
  return n.length > 0 ? new Error(`The following props are not supported: ${n.map((r) => `\`${r}\``).join(", ")}. Please remove them.`) : null;
29
25
  }
30
26
  };
31
27
  }
32
- function Le(o, t, n, r, a) {
28
+ function $e(o, t, n, r, s) {
33
29
  if (process.env.NODE_ENV === "production")
34
30
  return null;
35
- const s = o[t], i = a || t;
36
- return s == null ? null : s && s.nodeType !== 1 ? new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an HTMLElement.`) : null;
31
+ const i = o[t], a = s || t;
32
+ return i == null ? null : i && i.nodeType !== 1 ? new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an HTMLElement.`) : null;
37
33
  }
38
- function Ko(o = window) {
34
+ function Fo(...o) {
35
+ return o.reduce((t, n) => n == null ? t : function(...s) {
36
+ t.apply(this, s), n.apply(this, s);
37
+ }, () => {
38
+ });
39
+ }
40
+ function eo(o, t) {
41
+ var n, r, s;
42
+ return /* @__PURE__ */ c.isValidElement(o) && t.indexOf(
43
+ // For server components `muiName` is avaialble in element.type._payload.value.muiName
44
+ // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
45
+ // eslint-disable-next-line no-underscore-dangle
46
+ o.type.muiName ?? ((s = (r = (n = o.type) == null ? void 0 : n._payload) == null ? void 0 : r.value) == null ? void 0 : s.muiName)
47
+ ) !== -1;
48
+ }
49
+ function ko({
50
+ controlled: o,
51
+ default: t,
52
+ name: n,
53
+ state: r = "value"
54
+ }) {
55
+ const {
56
+ current: s
57
+ } = c.useRef(o !== void 0), [i, a] = c.useState(t), l = s ? o : i;
58
+ if (process.env.NODE_ENV !== "production") {
59
+ c.useEffect(() => {
60
+ s !== (o !== void 0) && console.error([`MUI: A component is changing the ${s ? "" : "un"}controlled ${r} state of ${n} to be ${s ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
61
+ `));
62
+ }, [r, n, o]);
63
+ const {
64
+ current: f
65
+ } = c.useRef(t);
66
+ c.useEffect(() => {
67
+ !s && !Object.is(f, t) && console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
68
+ `));
69
+ }, [JSON.stringify(t)]);
70
+ }
71
+ const d = c.useCallback((f) => {
72
+ s || a(f);
73
+ }, []);
74
+ return [l, d];
75
+ }
76
+ function Go(o = window) {
39
77
  const t = o.document.documentElement.clientWidth;
40
78
  return o.innerWidth - t;
41
79
  }
42
- function kt(o) {
80
+ function $t(o) {
43
81
  const t = typeof o;
44
82
  switch (t) {
45
83
  case "number":
@@ -50,37 +88,37 @@ function kt(o) {
50
88
  return t;
51
89
  }
52
90
  }
53
- function Xo(o, t, n, r) {
54
- const a = o[t];
55
- if (a == null || !Number.isInteger(a)) {
56
- const s = kt(a);
57
- return new RangeError(`Invalid ${r} \`${t}\` of type \`${s}\` supplied to \`${n}\`, expected \`integer\`.`);
91
+ function Yo(o, t, n, r) {
92
+ const s = o[t];
93
+ if (s == null || !Number.isInteger(s)) {
94
+ const i = $t(s);
95
+ return new RangeError(`Invalid ${r} \`${t}\` of type \`${i}\` supplied to \`${n}\`, expected \`integer\`.`);
58
96
  }
59
97
  return null;
60
98
  }
61
- function Go(o, t, ...n) {
62
- return o[t] === void 0 ? null : Xo(o, t, ...n);
99
+ function Jo(o, t, ...n) {
100
+ return o[t] === void 0 ? null : Yo(o, t, ...n);
63
101
  }
64
- function ro() {
102
+ function io() {
65
103
  return null;
66
104
  }
67
- Go.isRequired = Xo;
68
- ro.isRequired = ro;
69
- const Yo = process.env.NODE_ENV === "production" ? ro : Go;
105
+ Jo.isRequired = Yo;
106
+ io.isRequired = io;
107
+ const Zo = process.env.NODE_ENV === "production" ? io : Jo;
70
108
  function Lt(o) {
71
109
  return Q("MuiPaper", o);
72
110
  }
73
- const Mr = ee("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]), jt = (o) => {
111
+ const wr = ee("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]), jt = (o) => {
74
112
  const {
75
113
  square: t,
76
114
  elevation: n,
77
115
  variant: r,
78
- classes: a
79
- } = o, s = {
116
+ classes: s
117
+ } = o, i = {
80
118
  root: ["root", r, !t && "rounded", r === "elevation" && `elevation${n}`]
81
119
  };
82
- return oe(s, Lt, a);
83
- }, $t = F("div", {
120
+ return oe(i, Lt, s);
121
+ }, Dt = k("div", {
84
122
  name: "MuiPaper",
85
123
  slot: "Root",
86
124
  overridesResolver: (o, t) => {
@@ -118,47 +156,47 @@ const Mr = ee("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevatio
118
156
  backgroundImage: "var(--Paper-overlay)"
119
157
  }
120
158
  }]
121
- }))), Jo = /* @__PURE__ */ c.forwardRef(function(t, n) {
122
- var f;
123
- const r = re({
159
+ }))), Qo = /* @__PURE__ */ c.forwardRef(function(t, n) {
160
+ var p;
161
+ const r = te({
124
162
  props: t,
125
163
  name: "MuiPaper"
126
- }), a = qo(), {
127
- className: s,
128
- component: i = "div",
164
+ }), s = Ko(), {
165
+ className: i,
166
+ component: a = "div",
129
167
  elevation: l = 1,
130
- square: u = !1,
131
- variant: m = "elevation",
132
- ...b
133
- } = r, h = {
168
+ square: d = !1,
169
+ variant: f = "elevation",
170
+ ...T
171
+ } = r, b = {
134
172
  ...r,
135
- component: i,
173
+ component: a,
136
174
  elevation: l,
137
- square: u,
138
- variant: m
139
- }, T = jt(h);
140
- return process.env.NODE_ENV !== "production" && a.shadows[l] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${l}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${l}]\` is defined.`].join(`
141
- `)), /* @__PURE__ */ I($t, {
142
- as: i,
143
- ownerState: h,
144
- className: Z(T.root, s),
175
+ square: d,
176
+ variant: f
177
+ }, O = jt(b);
178
+ return process.env.NODE_ENV !== "production" && s.shadows[l] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${l}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${l}]\` is defined.`].join(`
179
+ `)), /* @__PURE__ */ w(Dt, {
180
+ as: a,
181
+ ownerState: b,
182
+ className: Z(O.root, i),
145
183
  ref: n,
146
- ...b,
184
+ ...T,
147
185
  style: {
148
- ...m === "elevation" && {
149
- "--Paper-shadow": (a.vars || a).shadows[l],
150
- ...a.vars && {
151
- "--Paper-overlay": (f = a.vars.overlays) == null ? void 0 : f[l]
186
+ ...f === "elevation" && {
187
+ "--Paper-shadow": (s.vars || s).shadows[l],
188
+ ...s.vars && {
189
+ "--Paper-overlay": (p = s.vars.overlays) == null ? void 0 : p[l]
152
190
  },
153
- ...!a.vars && a.palette.mode === "dark" && {
154
- "--Paper-overlay": `linear-gradient(${Ro("#fff", Po(l))}, ${Ro("#fff", Po(l))})`
191
+ ...!s.vars && s.palette.mode === "dark" && {
192
+ "--Paper-overlay": `linear-gradient(${Co("#fff", wo(l))}, ${Co("#fff", wo(l))})`
155
193
  }
156
194
  },
157
- ...b.style
195
+ ...T.style
158
196
  }
159
197
  });
160
198
  });
161
- process.env.NODE_ENV !== "production" && (Jo.propTypes = {
199
+ process.env.NODE_ENV !== "production" && (Qo.propTypes = {
162
200
  // ┌────────────────────────────── Warning ──────────────────────────────┐
163
201
  // │ These PropTypes are generated from the TypeScript type definitions. │
164
202
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -185,7 +223,7 @@ process.env.NODE_ENV !== "production" && (Jo.propTypes = {
185
223
  * It accepts values between 0 and 24 inclusive.
186
224
  * @default 1
187
225
  */
188
- elevation: _o(Yo, (o) => {
226
+ elevation: Ho(Zo, (o) => {
189
227
  const {
190
228
  elevation: t,
191
229
  variant: n
@@ -211,82 +249,82 @@ process.env.NODE_ENV !== "production" && (Jo.propTypes = {
211
249
  */
212
250
  variant: e.oneOfType([e.oneOf(["elevation", "outlined"]), e.string])
213
251
  });
214
- function Dt(o) {
215
- const t = ce(o);
216
- return t.body === o ? ke(o).innerWidth > t.documentElement.clientWidth : o.scrollHeight > o.clientHeight;
252
+ function At(o) {
253
+ const t = pe(o);
254
+ return t.body === o ? Ee(o).innerWidth > t.documentElement.clientWidth : o.scrollHeight > o.clientHeight;
217
255
  }
218
- function Me(o, t) {
256
+ function Fe(o, t) {
219
257
  t ? o.setAttribute("aria-hidden", "true") : o.removeAttribute("aria-hidden");
220
258
  }
221
- function Fo(o) {
222
- return parseInt(ke(o).getComputedStyle(o).paddingRight, 10) || 0;
259
+ function $o(o) {
260
+ return parseInt(Ee(o).getComputedStyle(o).paddingRight, 10) || 0;
223
261
  }
224
- function At(o) {
225
- const n = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].indexOf(o.tagName) !== -1, r = o.tagName === "INPUT" && o.getAttribute("type") === "hidden";
262
+ function Bt(o) {
263
+ const n = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].includes(o.tagName), r = o.tagName === "INPUT" && o.getAttribute("type") === "hidden";
226
264
  return n || r;
227
265
  }
228
- function ko(o, t, n, r, a) {
229
- const s = [t, n, ...r];
230
- [].forEach.call(o.children, (i) => {
231
- const l = s.indexOf(i) === -1, u = !At(i);
232
- l && u && Me(i, a);
266
+ function Lo(o, t, n, r, s) {
267
+ const i = [t, n, ...r];
268
+ [].forEach.call(o.children, (a) => {
269
+ const l = !i.includes(a), d = !Bt(a);
270
+ l && d && Fe(a, s);
233
271
  });
234
272
  }
235
- function Qe(o, t) {
273
+ function oo(o, t) {
236
274
  let n = -1;
237
- return o.some((r, a) => t(r) ? (n = a, !0) : !1), n;
275
+ return o.some((r, s) => t(r) ? (n = s, !0) : !1), n;
238
276
  }
239
- function Bt(o, t) {
277
+ function Ut(o, t) {
240
278
  const n = [], r = o.container;
241
279
  if (!t.disableScrollLock) {
242
- if (Dt(r)) {
243
- const i = Ko(ce(r));
280
+ if (At(r)) {
281
+ const a = Go(Ee(r));
244
282
  n.push({
245
283
  value: r.style.paddingRight,
246
284
  property: "padding-right",
247
285
  el: r
248
- }), r.style.paddingRight = `${Fo(r) + i}px`;
249
- const l = ce(r).querySelectorAll(".mui-fixed");
250
- [].forEach.call(l, (u) => {
286
+ }), r.style.paddingRight = `${$o(r) + a}px`;
287
+ const l = pe(r).querySelectorAll(".mui-fixed");
288
+ [].forEach.call(l, (d) => {
251
289
  n.push({
252
- value: u.style.paddingRight,
290
+ value: d.style.paddingRight,
253
291
  property: "padding-right",
254
- el: u
255
- }), u.style.paddingRight = `${Fo(u) + i}px`;
292
+ el: d
293
+ }), d.style.paddingRight = `${$o(d) + a}px`;
256
294
  });
257
295
  }
258
- let s;
296
+ let i;
259
297
  if (r.parentNode instanceof DocumentFragment)
260
- s = ce(r).body;
298
+ i = pe(r).body;
261
299
  else {
262
- const i = r.parentElement, l = ke(r);
263
- s = (i == null ? void 0 : i.nodeName) === "HTML" && l.getComputedStyle(i).overflowY === "scroll" ? i : r;
300
+ const a = r.parentElement, l = Ee(r);
301
+ i = (a == null ? void 0 : a.nodeName) === "HTML" && l.getComputedStyle(a).overflowY === "scroll" ? a : r;
264
302
  }
265
303
  n.push({
266
- value: s.style.overflow,
304
+ value: i.style.overflow,
267
305
  property: "overflow",
268
- el: s
306
+ el: i
269
307
  }, {
270
- value: s.style.overflowX,
308
+ value: i.style.overflowX,
271
309
  property: "overflow-x",
272
- el: s
310
+ el: i
273
311
  }, {
274
- value: s.style.overflowY,
312
+ value: i.style.overflowY,
275
313
  property: "overflow-y",
276
- el: s
277
- }), s.style.overflow = "hidden";
314
+ el: i
315
+ }), i.style.overflow = "hidden";
278
316
  }
279
317
  return () => {
280
318
  n.forEach(({
281
- value: s,
282
- el: i,
319
+ value: i,
320
+ el: a,
283
321
  property: l
284
322
  }) => {
285
- s ? i.style.setProperty(l, s) : i.style.removeProperty(l);
323
+ i ? a.style.setProperty(l, i) : a.style.removeProperty(l);
286
324
  });
287
325
  };
288
326
  }
289
- function Ut(o) {
327
+ function Vt(o) {
290
328
  const t = [];
291
329
  return [].forEach.call(o.children, (n) => {
292
330
  n.getAttribute("aria-hidden") === "true" && t.push(n);
@@ -300,31 +338,31 @@ class Wt {
300
338
  let r = this.modals.indexOf(t);
301
339
  if (r !== -1)
302
340
  return r;
303
- r = this.modals.length, this.modals.push(t), t.modalRef && Me(t.modalRef, !1);
304
- const a = Ut(n);
305
- ko(n, t.mount, t.modalRef, a, !0);
306
- const s = Qe(this.containers, (i) => i.container === n);
307
- return s !== -1 ? (this.containers[s].modals.push(t), r) : (this.containers.push({
341
+ r = this.modals.length, this.modals.push(t), t.modalRef && Fe(t.modalRef, !1);
342
+ const s = Vt(n);
343
+ Lo(n, t.mount, t.modalRef, s, !0);
344
+ const i = oo(this.containers, (a) => a.container === n);
345
+ return i !== -1 ? (this.containers[i].modals.push(t), r) : (this.containers.push({
308
346
  modals: [t],
309
347
  container: n,
310
348
  restore: null,
311
- hiddenSiblings: a
349
+ hiddenSiblings: s
312
350
  }), r);
313
351
  }
314
352
  mount(t, n) {
315
- const r = Qe(this.containers, (s) => s.modals.indexOf(t) !== -1), a = this.containers[r];
316
- a.restore || (a.restore = Bt(a, n));
353
+ const r = oo(this.containers, (i) => i.modals.includes(t)), s = this.containers[r];
354
+ s.restore || (s.restore = Ut(s, n));
317
355
  }
318
356
  remove(t, n = !0) {
319
357
  const r = this.modals.indexOf(t);
320
358
  if (r === -1)
321
359
  return r;
322
- const a = Qe(this.containers, (i) => i.modals.indexOf(t) !== -1), s = this.containers[a];
323
- if (s.modals.splice(s.modals.indexOf(t), 1), this.modals.splice(r, 1), s.modals.length === 0)
324
- s.restore && s.restore(), t.modalRef && Me(t.modalRef, n), ko(s.container, t.mount, t.modalRef, s.hiddenSiblings, !1), this.containers.splice(a, 1);
360
+ const s = oo(this.containers, (a) => a.modals.includes(t)), i = this.containers[s];
361
+ if (i.modals.splice(i.modals.indexOf(t), 1), this.modals.splice(r, 1), i.modals.length === 0)
362
+ i.restore && i.restore(), t.modalRef && Fe(t.modalRef, n), Lo(i.container, t.mount, t.modalRef, i.hiddenSiblings, !1), this.containers.splice(s, 1);
325
363
  else {
326
- const i = s.modals[s.modals.length - 1];
327
- i.modalRef && Me(i.modalRef, !1);
364
+ const a = i.modals[i.modals.length - 1];
365
+ a.modalRef && Fe(a.modalRef, !1);
328
366
  }
329
367
  return r;
330
368
  }
@@ -332,117 +370,117 @@ class Wt {
332
370
  return this.modals.length > 0 && this.modals[this.modals.length - 1] === t;
333
371
  }
334
372
  }
335
- const Vt = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
336
- function zt(o) {
373
+ const zt = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
374
+ function qt(o) {
337
375
  const t = parseInt(o.getAttribute("tabindex") || "", 10);
338
376
  return Number.isNaN(t) ? o.contentEditable === "true" || (o.nodeName === "AUDIO" || o.nodeName === "VIDEO" || o.nodeName === "DETAILS") && o.getAttribute("tabindex") === null ? 0 : o.tabIndex : t;
339
377
  }
340
- function qt(o) {
378
+ function _t(o) {
341
379
  if (o.tagName !== "INPUT" || o.type !== "radio" || !o.name)
342
380
  return !1;
343
381
  const t = (r) => o.ownerDocument.querySelector(`input[type="radio"]${r}`);
344
382
  let n = t(`[name="${o.name}"]:checked`);
345
383
  return n || (n = t(`[name="${o.name}"]`)), n !== o;
346
384
  }
347
- function _t(o) {
348
- return !(o.disabled || o.tagName === "INPUT" && o.type === "hidden" || qt(o));
349
- }
350
385
  function Ht(o) {
386
+ return !(o.disabled || o.tagName === "INPUT" && o.type === "hidden" || _t(o));
387
+ }
388
+ function Kt(o) {
351
389
  const t = [], n = [];
352
- return Array.from(o.querySelectorAll(Vt)).forEach((r, a) => {
353
- const s = zt(r);
354
- s === -1 || !_t(r) || (s === 0 ? t.push(r) : n.push({
355
- documentOrder: a,
356
- tabIndex: s,
390
+ return Array.from(o.querySelectorAll(zt)).forEach((r, s) => {
391
+ const i = qt(r);
392
+ i === -1 || !Ht(r) || (i === 0 ? t.push(r) : n.push({
393
+ documentOrder: s,
394
+ tabIndex: i,
357
395
  node: r
358
396
  }));
359
- }), n.sort((r, a) => r.tabIndex === a.tabIndex ? r.documentOrder - a.documentOrder : r.tabIndex - a.tabIndex).map((r) => r.node).concat(t);
397
+ }), n.sort((r, s) => r.tabIndex === s.tabIndex ? r.documentOrder - s.documentOrder : r.tabIndex - s.tabIndex).map((r) => r.node).concat(t);
360
398
  }
361
- function Kt() {
399
+ function Xt() {
362
400
  return !0;
363
401
  }
364
- function qe(o) {
402
+ function _e(o) {
365
403
  const {
366
404
  children: t,
367
405
  disableAutoFocus: n = !1,
368
406
  disableEnforceFocus: r = !1,
369
- disableRestoreFocus: a = !1,
370
- getTabbable: s = Ht,
371
- isEnabled: i = Kt,
407
+ disableRestoreFocus: s = !1,
408
+ getTabbable: i = Kt,
409
+ isEnabled: a = Xt,
372
410
  open: l
373
- } = o, u = c.useRef(!1), m = c.useRef(null), b = c.useRef(null), h = c.useRef(null), T = c.useRef(null), f = c.useRef(!1), p = c.useRef(null), R = ge(Ke(t), p), v = c.useRef(null);
411
+ } = o, d = c.useRef(!1), f = c.useRef(null), T = c.useRef(null), b = c.useRef(null), O = c.useRef(null), p = c.useRef(!1), h = c.useRef(null), R = ge(Xe(t), h), v = c.useRef(null);
374
412
  c.useEffect(() => {
375
- !l || !p.current || (f.current = !n);
413
+ !l || !h.current || (p.current = !n);
376
414
  }, [n, l]), c.useEffect(() => {
377
- if (!l || !p.current)
415
+ if (!l || !h.current)
378
416
  return;
379
- const d = ce(p.current);
380
- return p.current.contains(d.activeElement) || (p.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
381
- `)), p.current.setAttribute("tabIndex", "-1")), f.current && p.current.focus()), () => {
382
- a || (h.current && h.current.focus && (u.current = !0, h.current.focus()), h.current = null);
417
+ const u = pe(h.current);
418
+ return h.current.contains(u.activeElement) || (h.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
419
+ `)), h.current.setAttribute("tabIndex", "-1")), p.current && h.current.focus()), () => {
420
+ s || (b.current && b.current.focus && (d.current = !0, b.current.focus()), b.current = null);
383
421
  };
384
422
  }, [l]), c.useEffect(() => {
385
- if (!l || !p.current)
423
+ if (!l || !h.current)
386
424
  return;
387
- const d = ce(p.current), g = (M) => {
388
- v.current = M, !(r || !i() || M.key !== "Tab") && d.activeElement === p.current && M.shiftKey && (u.current = !0, b.current && b.current.focus());
389
- }, P = () => {
390
- var D, L;
391
- const M = p.current;
392
- if (M === null)
425
+ const u = pe(h.current), g = (N) => {
426
+ v.current = N, !(r || !a() || N.key !== "Tab") && u.activeElement === h.current && N.shiftKey && (d.current = !0, T.current && T.current.focus());
427
+ }, C = () => {
428
+ var F, B;
429
+ const N = h.current;
430
+ if (N === null)
393
431
  return;
394
- if (!d.hasFocus() || !i() || u.current) {
395
- u.current = !1;
432
+ if (!u.hasFocus() || !a() || d.current) {
433
+ d.current = !1;
396
434
  return;
397
435
  }
398
- if (M.contains(d.activeElement) || r && d.activeElement !== m.current && d.activeElement !== b.current)
436
+ if (N.contains(u.activeElement) || r && u.activeElement !== f.current && u.activeElement !== T.current)
399
437
  return;
400
- if (d.activeElement !== T.current)
401
- T.current = null;
402
- else if (T.current !== null)
438
+ if (u.activeElement !== O.current)
439
+ O.current = null;
440
+ else if (O.current !== null)
403
441
  return;
404
- if (!f.current)
442
+ if (!p.current)
405
443
  return;
406
- let S = [];
407
- if ((d.activeElement === m.current || d.activeElement === b.current) && (S = s(p.current)), S.length > 0) {
408
- const U = !!((D = v.current) != null && D.shiftKey && ((L = v.current) == null ? void 0 : L.key) === "Tab"), V = S[0], k = S[S.length - 1];
409
- typeof V != "string" && typeof k != "string" && (U ? k.focus() : V.focus());
444
+ let I = [];
445
+ if ((u.activeElement === f.current || u.activeElement === T.current) && (I = i(h.current)), I.length > 0) {
446
+ const A = !!((F = v.current) != null && F.shiftKey && ((B = v.current) == null ? void 0 : B.key) === "Tab"), V = I[0], W = I[I.length - 1];
447
+ typeof V != "string" && typeof W != "string" && (A ? W.focus() : V.focus());
410
448
  } else
411
- M.focus();
449
+ N.focus();
412
450
  };
413
- d.addEventListener("focusin", P), d.addEventListener("keydown", g, !0);
414
- const B = setInterval(() => {
415
- d.activeElement && d.activeElement.tagName === "BODY" && P();
451
+ u.addEventListener("focusin", C), u.addEventListener("keydown", g, !0);
452
+ const D = setInterval(() => {
453
+ u.activeElement && u.activeElement.tagName === "BODY" && C();
416
454
  }, 50);
417
455
  return () => {
418
- clearInterval(B), d.removeEventListener("focusin", P), d.removeEventListener("keydown", g, !0);
456
+ clearInterval(D), u.removeEventListener("focusin", C), u.removeEventListener("keydown", g, !0);
419
457
  };
420
- }, [n, r, a, i, l, s]);
421
- const y = (d) => {
422
- h.current === null && (h.current = d.relatedTarget), f.current = !0, T.current = d.target;
458
+ }, [n, r, s, a, l, i]);
459
+ const y = (u) => {
460
+ b.current === null && (b.current = u.relatedTarget), p.current = !0, O.current = u.target;
423
461
  const g = t.props.onFocus;
424
- g && g(d);
425
- }, C = (d) => {
426
- h.current === null && (h.current = d.relatedTarget), f.current = !0;
462
+ g && g(u);
463
+ }, P = (u) => {
464
+ b.current === null && (b.current = u.relatedTarget), p.current = !0;
427
465
  };
428
466
  return /* @__PURE__ */ be(c.Fragment, {
429
- children: [/* @__PURE__ */ I("div", {
467
+ children: [/* @__PURE__ */ w("div", {
430
468
  tabIndex: l ? 0 : -1,
431
- onFocus: C,
432
- ref: m,
469
+ onFocus: P,
470
+ ref: f,
433
471
  "data-testid": "sentinelStart"
434
472
  }), /* @__PURE__ */ c.cloneElement(t, {
435
473
  ref: R,
436
474
  onFocus: y
437
- }), /* @__PURE__ */ I("div", {
475
+ }), /* @__PURE__ */ w("div", {
438
476
  tabIndex: l ? 0 : -1,
439
- onFocus: C,
440
- ref: b,
477
+ onFocus: P,
478
+ ref: T,
441
479
  "data-testid": "sentinelEnd"
442
480
  })]
443
481
  });
444
482
  }
445
- process.env.NODE_ENV !== "production" && (qe.propTypes = {
483
+ process.env.NODE_ENV !== "production" && (_e.propTypes = {
446
484
  // ┌────────────────────────────── Warning ──────────────────────────────┐
447
485
  // │ These PropTypes are generated from the TypeScript type definitions. │
448
486
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -450,7 +488,7 @@ process.env.NODE_ENV !== "production" && (qe.propTypes = {
450
488
  /**
451
489
  * A single child content element.
452
490
  */
453
- children: ao,
491
+ children: co,
454
492
  /**
455
493
  * If `true`, the focus trap will not automatically shift focus to itself when it opens, and
456
494
  * replace it to the last focused element when it closes.
@@ -496,39 +534,39 @@ process.env.NODE_ENV !== "production" && (qe.propTypes = {
496
534
  */
497
535
  open: e.bool.isRequired
498
536
  });
499
- process.env.NODE_ENV !== "production" && (qe.propTypes = Ho(qe.propTypes));
500
- function Xt(o) {
537
+ process.env.NODE_ENV !== "production" && (_e.propTypes = Xo(_e.propTypes));
538
+ function Gt(o) {
501
539
  return typeof o == "function" ? o() : o;
502
540
  }
503
- const _e = /* @__PURE__ */ c.forwardRef(function(t, n) {
541
+ const He = /* @__PURE__ */ c.forwardRef(function(t, n) {
504
542
  const {
505
543
  children: r,
506
- container: a,
507
- disablePortal: s = !1
508
- } = t, [i, l] = c.useState(null), u = ge(Ke(r), n);
509
- if (no(() => {
510
- s || l(Xt(a) || document.body);
511
- }, [a, s]), no(() => {
512
- if (i && !s)
513
- return No(n, i), () => {
544
+ container: s,
545
+ disablePortal: i = !1
546
+ } = t, [a, l] = c.useState(null), d = ge(/* @__PURE__ */ c.isValidElement(r) ? Xe(r) : null, n);
547
+ if (so(() => {
548
+ i || l(Gt(s) || document.body);
549
+ }, [s, i]), so(() => {
550
+ if (a && !i)
551
+ return No(n, a), () => {
514
552
  No(n, null);
515
553
  };
516
- }, [n, i, s]), s) {
554
+ }, [n, a, i]), i) {
517
555
  if (/* @__PURE__ */ c.isValidElement(r)) {
518
- const m = {
519
- ref: u
556
+ const f = {
557
+ ref: d
520
558
  };
521
- return /* @__PURE__ */ c.cloneElement(r, m);
559
+ return /* @__PURE__ */ c.cloneElement(r, f);
522
560
  }
523
- return /* @__PURE__ */ I(c.Fragment, {
561
+ return /* @__PURE__ */ w(c.Fragment, {
524
562
  children: r
525
563
  });
526
564
  }
527
- return /* @__PURE__ */ I(c.Fragment, {
528
- children: i && /* @__PURE__ */ wt.createPortal(r, i)
565
+ return /* @__PURE__ */ w(c.Fragment, {
566
+ children: a && /* @__PURE__ */ Nt.createPortal(r, a)
529
567
  });
530
568
  });
531
- process.env.NODE_ENV !== "production" && (_e.propTypes = {
569
+ process.env.NODE_ENV !== "production" && (He.propTypes = {
532
570
  // ┌────────────────────────────── Warning ──────────────────────────────┐
533
571
  // │ These PropTypes are generated from the TypeScript type definitions. │
534
572
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -547,103 +585,107 @@ process.env.NODE_ENV !== "production" && (_e.propTypes = {
547
585
  * By default, it uses the body of the top-level document object,
548
586
  * so it's simply `document.body` most of the time.
549
587
  */
550
- container: e.oneOfType([Le, e.func]),
588
+ container: e.oneOfType([$e, e.func]),
551
589
  /**
552
590
  * The `children` will be under the DOM hierarchy of the parent component.
553
591
  * @default false
554
592
  */
555
593
  disablePortal: e.bool
556
594
  });
557
- process.env.NODE_ENV !== "production" && (_e.propTypes = Ho(_e.propTypes));
558
- function Gt(o) {
595
+ process.env.NODE_ENV !== "production" && (He.propTypes = Xo(He.propTypes));
596
+ function Yt(o) {
559
597
  return typeof o == "function" ? o() : o;
560
598
  }
561
- function Yt(o) {
599
+ function Jt(o) {
562
600
  return o ? o.props.hasOwnProperty("in") : !1;
563
601
  }
564
- const Jt = new Wt();
602
+ const ze = new Wt();
565
603
  function Zt(o) {
566
604
  const {
567
605
  container: t,
568
606
  disableEscapeKeyDown: n = !1,
569
607
  disableScrollLock: r = !1,
570
- // @ts-ignore internal logic - Base UI supports the manager as a prop too
571
- manager: a = Jt,
572
608
  closeAfterTransition: s = !1,
573
609
  onTransitionEnter: i,
574
- onTransitionExited: l,
575
- children: u,
576
- onClose: m,
577
- open: b,
578
- rootRef: h
579
- } = o, T = c.useRef({}), f = c.useRef(null), p = c.useRef(null), R = ge(p, h), [v, y] = c.useState(!b), C = Yt(u);
580
- let d = !0;
581
- (o["aria-hidden"] === "false" || o["aria-hidden"] === !1) && (d = !1);
582
- const g = () => ce(f.current), P = () => (T.current.modalRef = p.current, T.current.mount = f.current, T.current), B = () => {
583
- a.mount(P(), {
610
+ onTransitionExited: a,
611
+ children: l,
612
+ onClose: d,
613
+ open: f,
614
+ rootRef: T
615
+ } = o, b = c.useRef({}), O = c.useRef(null), p = c.useRef(null), h = ge(p, T), [R, v] = c.useState(!f), y = Jt(l);
616
+ let P = !0;
617
+ (o["aria-hidden"] === "false" || o["aria-hidden"] === !1) && (P = !1);
618
+ const u = () => pe(O.current), g = () => (b.current.modalRef = p.current, b.current.mount = O.current, b.current), C = () => {
619
+ ze.mount(g(), {
584
620
  disableScrollLock: r
585
621
  }), p.current && (p.current.scrollTop = 0);
586
- }, M = Mo(() => {
587
- const x = Gt(t) || g().body;
588
- a.add(P(), x), p.current && B();
589
- }), S = c.useCallback(() => a.isTopModal(P()), [a]), D = Mo((x) => {
590
- f.current = x, x && (b && S() ? B() : p.current && Me(p.current, d));
591
- }), L = c.useCallback(() => {
592
- a.remove(P(), d);
593
- }, [d, a]);
622
+ }, D = Mo(() => {
623
+ const m = Yt(t) || u().body;
624
+ ze.add(g(), m), p.current && C();
625
+ }), N = () => ze.isTopModal(g()), I = Mo((m) => {
626
+ O.current = m, m && (f && N() ? C() : p.current && Fe(p.current, P));
627
+ }), F = c.useCallback(() => {
628
+ ze.remove(g(), P);
629
+ }, [P]);
594
630
  c.useEffect(() => () => {
595
- L();
596
- }, [L]), c.useEffect(() => {
597
- b ? M() : (!C || !s) && L();
598
- }, [b, L, C, s, M]);
599
- const U = (x) => (w) => {
600
- var O;
601
- (O = x.onKeyDown) == null || O.call(x, w), !(w.key !== "Escape" || w.which === 229 || // Wait until IME is settled.
602
- !S()) && (n || (w.stopPropagation(), m && m(w, "escapeKeyDown")));
603
- }, V = (x) => (w) => {
604
- var O;
605
- (O = x.onClick) == null || O.call(x, w), w.target === w.currentTarget && m && m(w, "backdropClick");
631
+ F();
632
+ }, [F]), c.useEffect(() => {
633
+ f ? D() : (!y || !s) && F();
634
+ }, [f, F, y, s, D]);
635
+ const B = (m) => (E) => {
636
+ var M;
637
+ (M = m.onKeyDown) == null || M.call(m, E), !(E.key !== "Escape" || E.which === 229 || // Wait until IME is settled.
638
+ !N()) && (n || (E.stopPropagation(), d && d(E, "escapeKeyDown")));
639
+ }, A = (m) => (E) => {
640
+ var M;
641
+ (M = m.onClick) == null || M.call(m, E), E.target === E.currentTarget && d && d(E, "backdropClick");
606
642
  };
607
643
  return {
608
- getRootProps: (x = {}) => {
609
- const w = Ct(o);
610
- delete w.onTransitionEnter, delete w.onTransitionExited;
611
- const O = {
612
- ...w,
613
- ...x
644
+ getRootProps: (m = {}) => {
645
+ const E = St(o);
646
+ delete E.onTransitionEnter, delete E.onTransitionExited;
647
+ const M = {
648
+ ...E,
649
+ ...m
614
650
  };
615
651
  return {
652
+ /*
653
+ * Marking an element with the role presentation indicates to assistive technology
654
+ * that this element should be ignored; it exists to support the web application and
655
+ * is not meant for humans to interact with directly.
656
+ * https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
657
+ */
616
658
  role: "presentation",
617
- ...O,
618
- onKeyDown: U(O),
619
- ref: R
659
+ ...M,
660
+ onKeyDown: B(M),
661
+ ref: h
620
662
  };
621
663
  },
622
- getBackdropProps: (x = {}) => {
623
- const w = x;
664
+ getBackdropProps: (m = {}) => {
665
+ const E = m;
624
666
  return {
625
667
  "aria-hidden": !0,
626
- ...w,
627
- onClick: V(w),
628
- open: b
668
+ ...E,
669
+ onClick: A(E),
670
+ open: f
629
671
  };
630
672
  },
631
673
  getTransitionProps: () => {
632
- const x = () => {
633
- y(!1), i && i();
634
- }, w = () => {
635
- y(!0), l && l(), s && L();
674
+ const m = () => {
675
+ v(!1), i && i();
676
+ }, E = () => {
677
+ v(!0), a && a(), s && F();
636
678
  };
637
679
  return {
638
- onEnter: wo(x, u == null ? void 0 : u.props.onEnter),
639
- onExited: wo(w, u == null ? void 0 : u.props.onExited)
680
+ onEnter: Fo(m, l == null ? void 0 : l.props.onEnter),
681
+ onExited: Fo(E, l == null ? void 0 : l.props.onExited)
640
682
  };
641
683
  },
642
- rootRef: R,
643
- portalRef: D,
644
- isTopModal: S,
645
- exited: v,
646
- hasTransition: C
684
+ rootRef: h,
685
+ portalRef: I,
686
+ isTopModal: N,
687
+ exited: R,
688
+ hasTransition: y
647
689
  };
648
690
  }
649
691
  function Qt(o) {
@@ -660,7 +702,7 @@ const en = (o) => {
660
702
  root: ["root", !t && n && "hidden"],
661
703
  backdrop: ["backdrop"]
662
704
  }, Qt, r);
663
- }, on = F("div", {
705
+ }, on = k("div", {
664
706
  name: "MuiModal",
665
707
  slot: "Root",
666
708
  overridesResolver: (o, t) => {
@@ -686,133 +728,133 @@ const en = (o) => {
686
728
  visibility: "hidden"
687
729
  }
688
730
  }]
689
- }))), tn = F(gt, {
731
+ }))), tn = k(yt, {
690
732
  name: "MuiModal",
691
733
  slot: "Backdrop",
692
734
  overridesResolver: (o, t) => t.backdrop
693
735
  })({
694
736
  zIndex: -1
695
- }), Zo = /* @__PURE__ */ c.forwardRef(function(t, n) {
696
- const r = re({
737
+ }), et = /* @__PURE__ */ c.forwardRef(function(t, n) {
738
+ const r = te({
697
739
  name: "MuiModal",
698
740
  props: t
699
741
  }), {
700
- BackdropComponent: a = tn,
701
- BackdropProps: s,
702
- classes: i,
742
+ BackdropComponent: s = tn,
743
+ BackdropProps: i,
744
+ classes: a,
703
745
  className: l,
704
- closeAfterTransition: u = !1,
705
- children: m,
706
- container: b,
707
- component: h,
708
- components: T = {},
709
- componentsProps: f = {},
710
- disableAutoFocus: p = !1,
746
+ closeAfterTransition: d = !1,
747
+ children: f,
748
+ container: T,
749
+ component: b,
750
+ components: O = {},
751
+ componentsProps: p = {},
752
+ disableAutoFocus: h = !1,
711
753
  disableEnforceFocus: R = !1,
712
754
  disableEscapeKeyDown: v = !1,
713
755
  disablePortal: y = !1,
714
- disableRestoreFocus: C = !1,
715
- disableScrollLock: d = !1,
756
+ disableRestoreFocus: P = !1,
757
+ disableScrollLock: u = !1,
716
758
  hideBackdrop: g = !1,
717
- keepMounted: P = !1,
718
- onBackdropClick: B,
719
- onClose: M,
720
- onTransitionEnter: S,
721
- onTransitionExited: D,
722
- open: L,
723
- slotProps: U = {},
759
+ keepMounted: C = !1,
760
+ onBackdropClick: D,
761
+ onClose: N,
762
+ onTransitionEnter: I,
763
+ onTransitionExited: F,
764
+ open: B,
765
+ slotProps: A = {},
724
766
  slots: V = {},
725
767
  // eslint-disable-next-line react/prop-types
726
- theme: k,
727
- ...z
728
- } = r, N = {
768
+ theme: W,
769
+ ...q
770
+ } = r, m = {
729
771
  ...r,
730
- closeAfterTransition: u,
731
- disableAutoFocus: p,
772
+ closeAfterTransition: d,
773
+ disableAutoFocus: h,
732
774
  disableEnforceFocus: R,
733
775
  disableEscapeKeyDown: v,
734
776
  disablePortal: y,
735
- disableRestoreFocus: C,
736
- disableScrollLock: d,
777
+ disableRestoreFocus: P,
778
+ disableScrollLock: u,
737
779
  hideBackdrop: g,
738
- keepMounted: P
780
+ keepMounted: C
739
781
  }, {
740
- getRootProps: x,
741
- getBackdropProps: w,
742
- getTransitionProps: O,
782
+ getRootProps: E,
783
+ getBackdropProps: M,
784
+ getTransitionProps: S,
743
785
  portalRef: H,
744
786
  isTopModal: Y,
745
787
  exited: ie,
746
788
  hasTransition: fe
747
789
  } = Zt({
748
- ...N,
790
+ ...m,
749
791
  rootRef: n
750
- }), q = {
751
- ...N,
792
+ }), z = {
793
+ ...m,
752
794
  exited: ie
753
- }, _ = en(q), X = {};
754
- if (m.props.tabIndex === void 0 && (X.tabIndex = "-1"), fe) {
795
+ }, _ = en(z), X = {};
796
+ if (f.props.tabIndex === void 0 && (X.tabIndex = "-1"), fe) {
755
797
  const {
756
- onEnter: W,
798
+ onEnter: U,
757
799
  onExited: J
758
- } = O();
759
- X.onEnter = W, X.onExited = J;
800
+ } = S();
801
+ X.onEnter = U, X.onExited = J;
760
802
  }
761
- const te = {
803
+ const ne = {
804
+ ...q,
762
805
  slots: {
763
- root: T.Root,
764
- backdrop: T.Backdrop,
806
+ root: O.Root,
807
+ backdrop: O.Backdrop,
765
808
  ...V
766
809
  },
767
810
  slotProps: {
768
- ...f,
769
- ...U
811
+ ...p,
812
+ ...A
770
813
  }
771
814
  }, [ve, ye] = me("root", {
772
815
  elementType: on,
773
- externalForwardedProps: te,
774
- getSlotProps: x,
816
+ externalForwardedProps: ne,
817
+ getSlotProps: E,
775
818
  additionalProps: {
776
819
  ref: n,
777
- as: h
820
+ as: b
778
821
  },
779
- ownerState: q,
780
- className: Z(l, _ == null ? void 0 : _.root, !q.open && q.exited && (_ == null ? void 0 : _.hidden))
781
- }), [ae, j] = me("backdrop", {
782
- elementType: a,
783
- externalForwardedProps: te,
784
- additionalProps: s,
785
- getSlotProps: (W) => w({
786
- ...W,
822
+ ownerState: z,
823
+ className: Z(l, _ == null ? void 0 : _.root, !z.open && z.exited && (_ == null ? void 0 : _.hidden))
824
+ }), [ae, $] = me("backdrop", {
825
+ elementType: s,
826
+ externalForwardedProps: ne,
827
+ additionalProps: i,
828
+ getSlotProps: (U) => M({
829
+ ...U,
787
830
  onClick: (J) => {
788
- B && B(J), W != null && W.onClick && W.onClick(J);
831
+ D && D(J), U != null && U.onClick && U.onClick(J);
789
832
  }
790
833
  }),
791
- className: Z(s == null ? void 0 : s.className, _ == null ? void 0 : _.backdrop),
792
- ownerState: q
793
- }), A = ge(s == null ? void 0 : s.ref, j.ref);
794
- return !P && !L && (!fe || ie) ? null : /* @__PURE__ */ I(_e, {
834
+ className: Z(i == null ? void 0 : i.className, _ == null ? void 0 : _.backdrop),
835
+ ownerState: z
836
+ }), j = ge(i == null ? void 0 : i.ref, $.ref);
837
+ return !C && !B && (!fe || ie) ? null : /* @__PURE__ */ w(He, {
795
838
  ref: H,
796
- container: b,
839
+ container: T,
797
840
  disablePortal: y,
798
841
  children: /* @__PURE__ */ be(ve, {
799
842
  ...ye,
800
- ...z,
801
- children: [!g && a ? /* @__PURE__ */ I(ae, {
802
- ...j,
803
- ref: A
804
- }) : null, /* @__PURE__ */ I(qe, {
843
+ children: [!g && s ? /* @__PURE__ */ w(ae, {
844
+ ...$,
845
+ ref: j
846
+ }) : null, /* @__PURE__ */ w(_e, {
805
847
  disableEnforceFocus: R,
806
- disableAutoFocus: p,
807
- disableRestoreFocus: C,
848
+ disableAutoFocus: h,
849
+ disableRestoreFocus: P,
808
850
  isEnabled: Y,
809
- open: L,
810
- children: /* @__PURE__ */ c.cloneElement(m, X)
851
+ open: B,
852
+ children: /* @__PURE__ */ c.cloneElement(f, X)
811
853
  })]
812
854
  })
813
855
  });
814
856
  });
815
- process.env.NODE_ENV !== "production" && (Zo.propTypes = {
857
+ process.env.NODE_ENV !== "production" && (et.propTypes = {
816
858
  // ┌────────────────────────────── Warning ──────────────────────────────┐
817
859
  // │ These PropTypes are generated from the TypeScript type definitions. │
818
860
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -840,7 +882,7 @@ process.env.NODE_ENV !== "production" && (Zo.propTypes = {
840
882
  /**
841
883
  * A single child content element.
842
884
  */
843
- children: ao.isRequired,
885
+ children: co.isRequired,
844
886
  /**
845
887
  * Override or extend the styles applied to the component.
846
888
  */
@@ -892,7 +934,7 @@ process.env.NODE_ENV !== "production" && (Zo.propTypes = {
892
934
  * By default, it uses the body of the top-level document object,
893
935
  * so it's simply `document.body` most of the time.
894
936
  */
895
- container: e.oneOfType([Le, e.func]),
937
+ container: e.oneOfType([$e, e.func]),
896
938
  /**
897
939
  * If `true`, the modal will not automatically shift focus to itself when it opens, and
898
940
  * replace it to the last focused element when it closes.
@@ -994,23 +1036,23 @@ process.env.NODE_ENV !== "production" && (Zo.propTypes = {
994
1036
  function nn(o) {
995
1037
  return Q("MuiFormControl", o);
996
1038
  }
997
- const Fr = ee("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]), rn = (o) => {
1039
+ const Ir = ee("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]), rn = (o) => {
998
1040
  const {
999
1041
  classes: t,
1000
1042
  margin: n,
1001
1043
  fullWidth: r
1002
- } = o, a = {
1003
- root: ["root", n !== "none" && `margin${de(n)}`, r && "fullWidth"]
1044
+ } = o, s = {
1045
+ root: ["root", n !== "none" && `margin${ce(n)}`, r && "fullWidth"]
1004
1046
  };
1005
- return oe(a, nn, t);
1006
- }, sn = F("div", {
1047
+ return oe(s, nn, t);
1048
+ }, sn = k("div", {
1007
1049
  name: "MuiFormControl",
1008
1050
  slot: "Root",
1009
1051
  overridesResolver: ({
1010
1052
  ownerState: o
1011
1053
  }, t) => ({
1012
1054
  ...t.root,
1013
- ...t[`margin${de(o.margin)}`],
1055
+ ...t[`margin${ce(o.margin)}`],
1014
1056
  ...o.fullWidth && t.fullWidth
1015
1057
  })
1016
1058
  })({
@@ -1048,101 +1090,99 @@ const Fr = ee("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDe
1048
1090
  width: "100%"
1049
1091
  }
1050
1092
  }]
1051
- }), Qo = /* @__PURE__ */ c.forwardRef(function(t, n) {
1052
- const r = re({
1093
+ }), ot = /* @__PURE__ */ c.forwardRef(function(t, n) {
1094
+ const r = te({
1053
1095
  props: t,
1054
1096
  name: "MuiFormControl"
1055
1097
  }), {
1056
- children: a,
1057
- className: s,
1058
- color: i = "primary",
1098
+ children: s,
1099
+ className: i,
1100
+ color: a = "primary",
1059
1101
  component: l = "div",
1060
- disabled: u = !1,
1061
- error: m = !1,
1062
- focused: b,
1063
- fullWidth: h = !1,
1064
- hiddenLabel: T = !1,
1065
- margin: f = "none",
1066
- required: p = !1,
1102
+ disabled: d = !1,
1103
+ error: f = !1,
1104
+ focused: T,
1105
+ fullWidth: b = !1,
1106
+ hiddenLabel: O = !1,
1107
+ margin: p = "none",
1108
+ required: h = !1,
1067
1109
  size: R = "medium",
1068
1110
  variant: v = "outlined",
1069
1111
  ...y
1070
- } = r, C = {
1112
+ } = r, P = {
1071
1113
  ...r,
1072
- color: i,
1114
+ color: a,
1073
1115
  component: l,
1074
- disabled: u,
1075
- error: m,
1076
- fullWidth: h,
1077
- hiddenLabel: T,
1078
- margin: f,
1079
- required: p,
1116
+ disabled: d,
1117
+ error: f,
1118
+ fullWidth: b,
1119
+ hiddenLabel: O,
1120
+ margin: p,
1121
+ required: h,
1080
1122
  size: R,
1081
1123
  variant: v
1082
- }, d = rn(C), [g, P] = c.useState(() => {
1083
- let k = !1;
1084
- return a && c.Children.forEach(a, (z) => {
1085
- if (!Ze(z, ["Input", "Select"]))
1124
+ }, u = rn(P), [g, C] = c.useState(() => {
1125
+ let q = !1;
1126
+ return s && c.Children.forEach(s, (m) => {
1127
+ if (!eo(m, ["Input", "Select"]))
1086
1128
  return;
1087
- const N = Ze(z, ["Select"]) ? z.props.input : z;
1088
- N && Ot(N.props) && (k = !0);
1089
- }), k;
1090
- }), [B, M] = c.useState(() => {
1091
- let k = !1;
1092
- return a && c.Children.forEach(a, (z) => {
1093
- Ze(z, ["Input", "Select"]) && (to(z.props, !0) || to(z.props.inputProps, !0)) && (k = !0);
1094
- }), k;
1095
- }), [S, D] = c.useState(!1);
1096
- u && S && D(!1);
1097
- const L = b !== void 0 && !u ? b : S;
1098
- let U;
1099
- if (process.env.NODE_ENV !== "production") {
1100
- const k = c.useRef(!1);
1101
- U = () => (k.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
1102
- `)), k.current = !0, () => {
1103
- k.current = !1;
1104
- });
1105
- }
1106
- const V = c.useMemo(() => ({
1129
+ const E = eo(m, ["Select"]) ? m.props.input : m;
1130
+ E && xt(E.props) && (q = !0);
1131
+ }), q;
1132
+ }), [D, N] = c.useState(() => {
1133
+ let q = !1;
1134
+ return s && c.Children.forEach(s, (m) => {
1135
+ eo(m, ["Input", "Select"]) && (ro(m.props, !0) || ro(m.props.inputProps, !0)) && (q = !0);
1136
+ }), q;
1137
+ }), [I, F] = c.useState(!1);
1138
+ d && I && F(!1);
1139
+ const B = T !== void 0 && !d ? T : I;
1140
+ let A;
1141
+ const V = c.useRef(!1);
1142
+ process.env.NODE_ENV !== "production" && (A = () => (V.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
1143
+ `)), V.current = !0, () => {
1144
+ V.current = !1;
1145
+ }));
1146
+ const W = c.useMemo(() => ({
1107
1147
  adornedStart: g,
1108
- setAdornedStart: P,
1109
- color: i,
1110
- disabled: u,
1111
- error: m,
1112
- filled: B,
1113
- focused: L,
1114
- fullWidth: h,
1115
- hiddenLabel: T,
1148
+ setAdornedStart: C,
1149
+ color: a,
1150
+ disabled: d,
1151
+ error: f,
1152
+ filled: D,
1153
+ focused: B,
1154
+ fullWidth: b,
1155
+ hiddenLabel: O,
1116
1156
  size: R,
1117
1157
  onBlur: () => {
1118
- D(!1);
1158
+ F(!1);
1119
1159
  },
1120
1160
  onEmpty: () => {
1121
- M(!1);
1161
+ N(!1);
1122
1162
  },
1123
1163
  onFilled: () => {
1124
- M(!0);
1164
+ N(!0);
1125
1165
  },
1126
1166
  onFocus: () => {
1127
- D(!0);
1167
+ F(!0);
1128
1168
  },
1129
- registerEffect: U,
1130
- required: p,
1169
+ registerEffect: A,
1170
+ required: h,
1131
1171
  variant: v
1132
- }), [g, i, u, m, B, L, h, T, U, p, R, v]);
1133
- return /* @__PURE__ */ I(Et.Provider, {
1134
- value: V,
1135
- children: /* @__PURE__ */ I(sn, {
1172
+ }), [g, a, d, f, D, B, b, O, A, h, R, v]);
1173
+ return /* @__PURE__ */ w(Rt.Provider, {
1174
+ value: W,
1175
+ children: /* @__PURE__ */ w(sn, {
1136
1176
  as: l,
1137
- ownerState: C,
1138
- className: Z(d.root, s),
1177
+ ownerState: P,
1178
+ className: Z(u.root, i),
1139
1179
  ref: n,
1140
1180
  ...y,
1141
- children: a
1181
+ children: s
1142
1182
  })
1143
1183
  });
1144
1184
  });
1145
- process.env.NODE_ENV !== "production" && (Qo.propTypes = {
1185
+ process.env.NODE_ENV !== "production" && (ot.propTypes = {
1146
1186
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1147
1187
  // │ These PropTypes are generated from the TypeScript type definitions. │
1148
1188
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1225,30 +1265,30 @@ process.env.NODE_ENV !== "production" && (Qo.propTypes = {
1225
1265
  function an(o) {
1226
1266
  return Q("MuiFormHelperText", o);
1227
1267
  }
1228
- const Lo = ee("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
1229
- var jo;
1268
+ const jo = ee("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
1269
+ var Do;
1230
1270
  const ln = (o) => {
1231
1271
  const {
1232
1272
  classes: t,
1233
1273
  contained: n,
1234
1274
  size: r,
1235
- disabled: a,
1236
- error: s,
1237
- filled: i,
1275
+ disabled: s,
1276
+ error: i,
1277
+ filled: a,
1238
1278
  focused: l,
1239
- required: u
1240
- } = o, m = {
1241
- root: ["root", a && "disabled", s && "error", r && `size${de(r)}`, n && "contained", l && "focused", i && "filled", u && "required"]
1279
+ required: d
1280
+ } = o, f = {
1281
+ root: ["root", s && "disabled", i && "error", r && `size${ce(r)}`, n && "contained", l && "focused", a && "filled", d && "required"]
1242
1282
  };
1243
- return oe(m, an, t);
1244
- }, cn = F("p", {
1283
+ return oe(f, an, t);
1284
+ }, cn = k("p", {
1245
1285
  name: "MuiFormHelperText",
1246
1286
  slot: "Root",
1247
1287
  overridesResolver: (o, t) => {
1248
1288
  const {
1249
1289
  ownerState: n
1250
1290
  } = o;
1251
- return [t.root, n.size && t[`size${de(n.size)}`], n.contained && t.contained, n.filled && t.filled];
1291
+ return [t.root, n.size && t[`size${ce(n.size)}`], n.contained && t.contained, n.filled && t.filled];
1252
1292
  }
1253
1293
  })(se(({
1254
1294
  theme: o
@@ -1260,10 +1300,10 @@ const ln = (o) => {
1260
1300
  marginRight: 0,
1261
1301
  marginBottom: 0,
1262
1302
  marginLeft: 0,
1263
- [`&.${Lo.disabled}`]: {
1303
+ [`&.${jo.disabled}`]: {
1264
1304
  color: (o.vars || o).palette.text.disabled
1265
1305
  },
1266
- [`&.${Lo.error}`]: {
1306
+ [`&.${jo.error}`]: {
1267
1307
  color: (o.vars || o).palette.error.main
1268
1308
  },
1269
1309
  variants: [{
@@ -1282,29 +1322,29 @@ const ln = (o) => {
1282
1322
  marginRight: 14
1283
1323
  }
1284
1324
  }]
1285
- }))), et = /* @__PURE__ */ c.forwardRef(function(t, n) {
1286
- const r = re({
1325
+ }))), tt = /* @__PURE__ */ c.forwardRef(function(t, n) {
1326
+ const r = te({
1287
1327
  props: t,
1288
1328
  name: "MuiFormHelperText"
1289
1329
  }), {
1290
- children: a,
1291
- className: s,
1292
- component: i = "p",
1330
+ children: s,
1331
+ className: i,
1332
+ component: a = "p",
1293
1333
  disabled: l,
1294
- error: u,
1295
- filled: m,
1296
- focused: b,
1297
- margin: h,
1298
- required: T,
1299
- variant: f,
1300
- ...p
1334
+ error: d,
1335
+ filled: f,
1336
+ focused: T,
1337
+ margin: b,
1338
+ required: O,
1339
+ variant: p,
1340
+ ...h
1301
1341
  } = r, R = Ae(), v = Be({
1302
1342
  props: r,
1303
1343
  muiFormControl: R,
1304
1344
  states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
1305
1345
  }), y = {
1306
1346
  ...r,
1307
- component: i,
1347
+ component: a,
1308
1348
  contained: v.variant === "filled" || v.variant === "outlined",
1309
1349
  variant: v.variant,
1310
1350
  size: v.size,
@@ -1315,23 +1355,23 @@ const ln = (o) => {
1315
1355
  required: v.required
1316
1356
  };
1317
1357
  delete y.ownerState;
1318
- const C = ln(y);
1319
- return /* @__PURE__ */ I(cn, {
1320
- as: i,
1321
- className: Z(C.root, s),
1358
+ const P = ln(y);
1359
+ return /* @__PURE__ */ w(cn, {
1360
+ as: a,
1361
+ className: Z(P.root, i),
1322
1362
  ref: n,
1323
- ...p,
1363
+ ...h,
1324
1364
  ownerState: y,
1325
- children: a === " " ? (
1365
+ children: s === " " ? (
1326
1366
  // notranslate needed while Google Translate will not fix zero-width space issue
1327
- jo || (jo = /* @__PURE__ */ I("span", {
1367
+ Do || (Do = /* @__PURE__ */ w("span", {
1328
1368
  className: "notranslate",
1329
1369
  children: "​"
1330
1370
  }))
1331
- ) : a
1371
+ ) : s
1332
1372
  });
1333
1373
  });
1334
- process.env.NODE_ENV !== "production" && (et.propTypes = {
1374
+ process.env.NODE_ENV !== "production" && (tt.propTypes = {
1335
1375
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1336
1376
  // │ These PropTypes are generated from the TypeScript type definitions. │
1337
1377
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1392,21 +1432,21 @@ process.env.NODE_ENV !== "production" && (et.propTypes = {
1392
1432
  function dn(o) {
1393
1433
  return Q("MuiFormLabel", o);
1394
1434
  }
1395
- const Fe = ee("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), un = (o) => {
1435
+ const ke = ee("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), un = (o) => {
1396
1436
  const {
1397
1437
  classes: t,
1398
1438
  color: n,
1399
1439
  focused: r,
1400
- disabled: a,
1401
- error: s,
1402
- filled: i,
1440
+ disabled: s,
1441
+ error: i,
1442
+ filled: a,
1403
1443
  required: l
1404
- } = o, u = {
1405
- root: ["root", `color${de(n)}`, a && "disabled", s && "error", i && "filled", r && "focused", l && "required"],
1406
- asterisk: ["asterisk", s && "error"]
1444
+ } = o, d = {
1445
+ root: ["root", `color${ce(n)}`, s && "disabled", i && "error", a && "filled", r && "focused", l && "required"],
1446
+ asterisk: ["asterisk", i && "error"]
1407
1447
  };
1408
- return oe(u, dn, t);
1409
- }, pn = F("label", {
1448
+ return oe(d, dn, t);
1449
+ }, pn = k("label", {
1410
1450
  name: "MuiFormLabel",
1411
1451
  slot: "Root",
1412
1452
  overridesResolver: ({
@@ -1424,54 +1464,54 @@ const Fe = ee("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
1424
1464
  lineHeight: "1.4375em",
1425
1465
  padding: 0,
1426
1466
  position: "relative",
1427
- variants: [...Object.entries(o.palette).filter(([, t]) => t && t.main).map(([t]) => ({
1467
+ variants: [...Object.entries(o.palette).filter(Ge()).map(([t]) => ({
1428
1468
  props: {
1429
1469
  color: t
1430
1470
  },
1431
1471
  style: {
1432
- [`&.${Fe.focused}`]: {
1472
+ [`&.${ke.focused}`]: {
1433
1473
  color: (o.vars || o).palette[t].main
1434
1474
  }
1435
1475
  }
1436
1476
  })), {
1437
1477
  props: {},
1438
1478
  style: {
1439
- [`&.${Fe.disabled}`]: {
1479
+ [`&.${ke.disabled}`]: {
1440
1480
  color: (o.vars || o).palette.text.disabled
1441
1481
  },
1442
- [`&.${Fe.error}`]: {
1482
+ [`&.${ke.error}`]: {
1443
1483
  color: (o.vars || o).palette.error.main
1444
1484
  }
1445
1485
  }
1446
1486
  }]
1447
- }))), fn = F("span", {
1487
+ }))), fn = k("span", {
1448
1488
  name: "MuiFormLabel",
1449
1489
  slot: "Asterisk",
1450
1490
  overridesResolver: (o, t) => t.asterisk
1451
1491
  })(se(({
1452
1492
  theme: o
1453
1493
  }) => ({
1454
- [`&.${Fe.error}`]: {
1494
+ [`&.${ke.error}`]: {
1455
1495
  color: (o.vars || o).palette.error.main
1456
1496
  }
1457
- }))), ot = /* @__PURE__ */ c.forwardRef(function(t, n) {
1458
- const r = re({
1497
+ }))), nt = /* @__PURE__ */ c.forwardRef(function(t, n) {
1498
+ const r = te({
1459
1499
  props: t,
1460
1500
  name: "MuiFormLabel"
1461
1501
  }), {
1462
- children: a,
1463
- className: s,
1464
- color: i,
1502
+ children: s,
1503
+ className: i,
1504
+ color: a,
1465
1505
  component: l = "label",
1466
- disabled: u,
1467
- error: m,
1468
- filled: b,
1469
- focused: h,
1470
- required: T,
1471
- ...f
1472
- } = r, p = Ae(), R = Be({
1506
+ disabled: d,
1507
+ error: f,
1508
+ filled: T,
1509
+ focused: b,
1510
+ required: O,
1511
+ ...p
1512
+ } = r, h = Ae(), R = Be({
1473
1513
  props: r,
1474
- muiFormControl: p,
1514
+ muiFormControl: h,
1475
1515
  states: ["color", "required", "focused", "disabled", "error", "filled"]
1476
1516
  }), v = {
1477
1517
  ...r,
@@ -1486,10 +1526,10 @@ const Fe = ee("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
1486
1526
  return /* @__PURE__ */ be(pn, {
1487
1527
  as: l,
1488
1528
  ownerState: v,
1489
- className: Z(y.root, s),
1529
+ className: Z(y.root, i),
1490
1530
  ref: n,
1491
- ...f,
1492
- children: [a, R.required && /* @__PURE__ */ be(fn, {
1531
+ ...p,
1532
+ children: [s, R.required && /* @__PURE__ */ be(fn, {
1493
1533
  ownerState: v,
1494
1534
  "aria-hidden": !0,
1495
1535
  className: y.asterisk,
@@ -1497,7 +1537,7 @@ const Fe = ee("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
1497
1537
  })]
1498
1538
  });
1499
1539
  });
1500
- process.env.NODE_ENV !== "production" && (ot.propTypes = {
1540
+ process.env.NODE_ENV !== "production" && (nt.propTypes = {
1501
1541
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1502
1542
  // │ These PropTypes are generated from the TypeScript type definitions. │
1503
1543
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1553,23 +1593,23 @@ process.env.NODE_ENV !== "production" && (ot.propTypes = {
1553
1593
  function mn(o) {
1554
1594
  return Q("MuiInput", o);
1555
1595
  }
1556
- const Ie = {
1557
- ...co,
1596
+ const Se = {
1597
+ ...po,
1558
1598
  ...ee("MuiInput", ["root", "underline", "input"])
1559
1599
  }, bn = (o) => {
1560
1600
  const {
1561
1601
  classes: t,
1562
1602
  disableUnderline: n
1563
- } = o, a = oe({
1603
+ } = o, s = oe({
1564
1604
  root: ["root", !n && "underline"],
1565
1605
  input: ["input"]
1566
1606
  }, mn, t);
1567
1607
  return {
1568
1608
  ...t,
1569
1609
  // forward classes to the InputBase
1570
- ...a
1610
+ ...s
1571
1611
  };
1572
- }, hn = F(uo, {
1612
+ }, hn = k(fo, {
1573
1613
  shouldForwardProp: (o) => he(o) || o === "classes",
1574
1614
  name: "MuiInput",
1575
1615
  slot: "Root",
@@ -1577,7 +1617,7 @@ const Ie = {
1577
1617
  const {
1578
1618
  ownerState: n
1579
1619
  } = o;
1580
- return [...po(o, t), !n.disableUnderline && t.underline];
1620
+ return [...mo(o, t), !n.disableUnderline && t.underline];
1581
1621
  }
1582
1622
  })(se(({
1583
1623
  theme: o
@@ -1613,12 +1653,12 @@ const Ie = {
1613
1653
  pointerEvents: "none"
1614
1654
  // Transparent to the hover style.
1615
1655
  },
1616
- [`&.${Ie.focused}:after`]: {
1656
+ [`&.${Se.focused}:after`]: {
1617
1657
  // translateX(0) is a workaround for Safari transform scale bug
1618
1658
  // See https://github.com/mui/material-ui/issues/31766
1619
1659
  transform: "scaleX(1) translateX(0)"
1620
1660
  },
1621
- [`&.${Ie.error}`]: {
1661
+ [`&.${Se.error}`]: {
1622
1662
  "&::before, &::after": {
1623
1663
  borderBottomColor: (o.vars || o).palette.error.main
1624
1664
  }
@@ -1636,18 +1676,18 @@ const Ie = {
1636
1676
  pointerEvents: "none"
1637
1677
  // Transparent to the hover style.
1638
1678
  },
1639
- [`&:hover:not(.${Ie.disabled}, .${Ie.error}):before`]: {
1679
+ [`&:hover:not(.${Se.disabled}, .${Se.error}):before`]: {
1640
1680
  borderBottom: `2px solid ${(o.vars || o).palette.text.primary}`,
1641
1681
  // Reset on touch devices, it doesn't add specificity
1642
1682
  "@media (hover: none)": {
1643
1683
  borderBottom: `1px solid ${n}`
1644
1684
  }
1645
1685
  },
1646
- [`&.${Ie.disabled}:before`]: {
1686
+ [`&.${Se.disabled}:before`]: {
1647
1687
  borderBottomStyle: "dotted"
1648
1688
  }
1649
1689
  }
1650
- }, ...Object.entries(o.palette).filter(([, r]) => r && r.main).map(([r]) => ({
1690
+ }, ...Object.entries(o.palette).filter(Ge()).map(([r]) => ({
1651
1691
  props: {
1652
1692
  color: r,
1653
1693
  disableUnderline: !1
@@ -1659,48 +1699,48 @@ const Ie = {
1659
1699
  }
1660
1700
  }))]
1661
1701
  };
1662
- })), gn = F(fo, {
1702
+ })), gn = k(bo, {
1663
1703
  name: "MuiInput",
1664
1704
  slot: "Input",
1665
- overridesResolver: mo
1666
- })({}), je = /* @__PURE__ */ c.forwardRef(function(t, n) {
1667
- const r = re({
1705
+ overridesResolver: ho
1706
+ })({}), Le = /* @__PURE__ */ c.forwardRef(function(t, n) {
1707
+ const r = te({
1668
1708
  props: t,
1669
1709
  name: "MuiInput"
1670
1710
  }), {
1671
- disableUnderline: a = !1,
1672
- components: s = {},
1673
- componentsProps: i,
1711
+ disableUnderline: s = !1,
1712
+ components: i = {},
1713
+ componentsProps: a,
1674
1714
  fullWidth: l = !1,
1675
- inputComponent: u = "input",
1676
- multiline: m = !1,
1677
- slotProps: b,
1678
- slots: h = {},
1679
- type: T = "text",
1680
- ...f
1681
- } = r, p = bn(r), v = {
1715
+ inputComponent: d = "input",
1716
+ multiline: f = !1,
1717
+ slotProps: T,
1718
+ slots: b = {},
1719
+ type: O = "text",
1720
+ ...p
1721
+ } = r, h = bn(r), v = {
1682
1722
  root: {
1683
1723
  ownerState: {
1684
- disableUnderline: a
1724
+ disableUnderline: s
1685
1725
  }
1686
1726
  }
1687
- }, y = b ?? i ? io(b ?? i, v) : v, C = h.root ?? s.Root ?? hn, d = h.input ?? s.Input ?? gn;
1688
- return /* @__PURE__ */ I(bo, {
1727
+ }, y = T ?? a ? lo(T ?? a, v) : v, P = b.root ?? i.Root ?? hn, u = b.input ?? i.Input ?? gn;
1728
+ return /* @__PURE__ */ w(go, {
1689
1729
  slots: {
1690
- root: C,
1691
- input: d
1730
+ root: P,
1731
+ input: u
1692
1732
  },
1693
1733
  slotProps: y,
1694
1734
  fullWidth: l,
1695
- inputComponent: u,
1696
- multiline: m,
1735
+ inputComponent: d,
1736
+ multiline: f,
1697
1737
  ref: n,
1698
- type: T,
1699
- ...f,
1700
- classes: p
1738
+ type: O,
1739
+ ...p,
1740
+ classes: h
1701
1741
  });
1702
1742
  });
1703
- process.env.NODE_ENV !== "production" && (je.propTypes = {
1743
+ process.env.NODE_ENV !== "production" && (Le.propTypes = {
1704
1744
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1705
1745
  // │ These PropTypes are generated from the TypeScript type definitions. │
1706
1746
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1885,29 +1925,29 @@ process.env.NODE_ENV !== "production" && (je.propTypes = {
1885
1925
  */
1886
1926
  value: e.any
1887
1927
  });
1888
- je && (je.muiName = "Input");
1928
+ Le && (Le.muiName = "Input");
1889
1929
  function vn(o) {
1890
1930
  return Q("MuiInputLabel", o);
1891
1931
  }
1892
- const kr = ee("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]), yn = (o) => {
1932
+ const Sr = ee("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]), yn = (o) => {
1893
1933
  const {
1894
1934
  classes: t,
1895
1935
  formControl: n,
1896
1936
  size: r,
1897
- shrink: a,
1898
- disableAnimation: s,
1899
- variant: i,
1937
+ shrink: s,
1938
+ disableAnimation: i,
1939
+ variant: a,
1900
1940
  required: l
1901
- } = o, u = {
1902
- root: ["root", n && "formControl", !s && "animated", a && "shrink", r && r !== "normal" && `size${de(r)}`, i],
1941
+ } = o, d = {
1942
+ root: ["root", n && "formControl", !i && "animated", s && "shrink", r && r !== "normal" && `size${ce(r)}`, a],
1903
1943
  asterisk: [l && "asterisk"]
1904
- }, m = oe(u, vn, t);
1944
+ }, f = oe(d, vn, t);
1905
1945
  return {
1906
1946
  ...t,
1907
1947
  // forward the focused, disabled, etc. classes to the FormLabel
1908
- ...m
1948
+ ...f
1909
1949
  };
1910
- }, Tn = F(ot, {
1950
+ }, Tn = k(nt, {
1911
1951
  shouldForwardProp: (o) => he(o) || o === "classes",
1912
1952
  name: "MuiInputLabel",
1913
1953
  slot: "Root",
@@ -1916,7 +1956,7 @@ const kr = ee("MuiInputLabel", ["root", "focused", "disabled", "error", "require
1916
1956
  ownerState: n
1917
1957
  } = o;
1918
1958
  return [{
1919
- [`& .${Fe.asterisk}`]: t.asterisk
1959
+ [`& .${ke.asterisk}`]: t.asterisk
1920
1960
  }, t.root, n.formControl && t.formControl, n.size === "small" && t.sizeSmall, n.shrink && t.shrink, !n.disableAnimation && t.animated, n.focused && t.focused, t[n.variant]];
1921
1961
  }
1922
1962
  })(se(({
@@ -2041,44 +2081,44 @@ const kr = ee("MuiInputLabel", ["root", "focused", "disabled", "error", "require
2041
2081
  transform: "translate(14px, -9px) scale(0.75)"
2042
2082
  }
2043
2083
  }]
2044
- }))), tt = /* @__PURE__ */ c.forwardRef(function(t, n) {
2045
- const r = re({
2084
+ }))), rt = /* @__PURE__ */ c.forwardRef(function(t, n) {
2085
+ const r = te({
2046
2086
  name: "MuiInputLabel",
2047
2087
  props: t
2048
2088
  }), {
2049
- disableAnimation: a = !1,
2050
- margin: s,
2051
- shrink: i,
2089
+ disableAnimation: s = !1,
2090
+ margin: i,
2091
+ shrink: a,
2052
2092
  variant: l,
2053
- className: u,
2054
- ...m
2055
- } = r, b = Ae();
2056
- let h = i;
2057
- typeof h > "u" && b && (h = b.filled || b.focused || b.adornedStart);
2058
- const T = Be({
2093
+ className: d,
2094
+ ...f
2095
+ } = r, T = Ae();
2096
+ let b = a;
2097
+ typeof b > "u" && T && (b = T.filled || T.focused || T.adornedStart);
2098
+ const O = Be({
2059
2099
  props: r,
2060
- muiFormControl: b,
2100
+ muiFormControl: T,
2061
2101
  states: ["size", "variant", "required", "focused"]
2062
- }), f = {
2102
+ }), p = {
2063
2103
  ...r,
2064
- disableAnimation: a,
2065
- formControl: b,
2066
- shrink: h,
2067
- size: T.size,
2068
- variant: T.variant,
2069
- required: T.required,
2070
- focused: T.focused
2071
- }, p = yn(f);
2072
- return /* @__PURE__ */ I(Tn, {
2073
- "data-shrink": h,
2104
+ disableAnimation: s,
2105
+ formControl: T,
2106
+ shrink: b,
2107
+ size: O.size,
2108
+ variant: O.variant,
2109
+ required: O.required,
2110
+ focused: O.focused
2111
+ }, h = yn(p);
2112
+ return /* @__PURE__ */ w(Tn, {
2113
+ "data-shrink": b,
2074
2114
  ref: n,
2075
- className: Z(p.root, u),
2076
- ...m,
2077
- ownerState: f,
2078
- classes: p
2115
+ className: Z(h.root, d),
2116
+ ...f,
2117
+ ownerState: p,
2118
+ classes: h
2079
2119
  });
2080
2120
  });
2081
- process.env.NODE_ENV !== "production" && (tt.propTypes = {
2121
+ process.env.NODE_ENV !== "production" && (rt.propTypes = {
2082
2122
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2083
2123
  // │ These PropTypes are generated from the TypeScript type definitions. │
2084
2124
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2145,22 +2185,22 @@ process.env.NODE_ENV !== "production" && (tt.propTypes = {
2145
2185
  */
2146
2186
  variant: e.oneOf(["filled", "outlined", "standard"])
2147
2187
  });
2148
- const nt = /* @__PURE__ */ c.createContext({});
2149
- process.env.NODE_ENV !== "production" && (nt.displayName = "ListContext");
2150
- function On(o) {
2188
+ const st = /* @__PURE__ */ c.createContext({});
2189
+ process.env.NODE_ENV !== "production" && (st.displayName = "ListContext");
2190
+ function En(o) {
2151
2191
  return Q("MuiList", o);
2152
2192
  }
2153
- const Lr = ee("MuiList", ["root", "padding", "dense", "subheader"]), En = (o) => {
2193
+ const Nr = ee("MuiList", ["root", "padding", "dense", "subheader"]), On = (o) => {
2154
2194
  const {
2155
2195
  classes: t,
2156
2196
  disablePadding: n,
2157
2197
  dense: r,
2158
- subheader: a
2198
+ subheader: s
2159
2199
  } = o;
2160
2200
  return oe({
2161
- root: ["root", !n && "padding", r && "dense", a && "subheader"]
2162
- }, On, t);
2163
- }, xn = F("ul", {
2201
+ root: ["root", !n && "padding", r && "dense", s && "subheader"]
2202
+ }, En, t);
2203
+ }, xn = k("ul", {
2164
2204
  name: "MuiList",
2165
2205
  slot: "Root",
2166
2206
  overridesResolver: (o, t) => {
@@ -2190,39 +2230,39 @@ const Lr = ee("MuiList", ["root", "padding", "dense", "subheader"]), En = (o) =>
2190
2230
  paddingTop: 0
2191
2231
  }
2192
2232
  }]
2193
- }), rt = /* @__PURE__ */ c.forwardRef(function(t, n) {
2194
- const r = re({
2233
+ }), it = /* @__PURE__ */ c.forwardRef(function(t, n) {
2234
+ const r = te({
2195
2235
  props: t,
2196
2236
  name: "MuiList"
2197
2237
  }), {
2198
- children: a,
2199
- className: s,
2200
- component: i = "ul",
2238
+ children: s,
2239
+ className: i,
2240
+ component: a = "ul",
2201
2241
  dense: l = !1,
2202
- disablePadding: u = !1,
2203
- subheader: m,
2204
- ...b
2205
- } = r, h = c.useMemo(() => ({
2242
+ disablePadding: d = !1,
2243
+ subheader: f,
2244
+ ...T
2245
+ } = r, b = c.useMemo(() => ({
2206
2246
  dense: l
2207
- }), [l]), T = {
2247
+ }), [l]), O = {
2208
2248
  ...r,
2209
- component: i,
2249
+ component: a,
2210
2250
  dense: l,
2211
- disablePadding: u
2212
- }, f = En(T);
2213
- return /* @__PURE__ */ I(nt.Provider, {
2214
- value: h,
2251
+ disablePadding: d
2252
+ }, p = On(O);
2253
+ return /* @__PURE__ */ w(st.Provider, {
2254
+ value: b,
2215
2255
  children: /* @__PURE__ */ be(xn, {
2216
- as: i,
2217
- className: Z(f.root, s),
2256
+ as: a,
2257
+ className: Z(p.root, i),
2218
2258
  ref: n,
2219
- ownerState: T,
2220
- ...b,
2221
- children: [m, a]
2259
+ ownerState: O,
2260
+ ...T,
2261
+ children: [f, s]
2222
2262
  })
2223
2263
  });
2224
2264
  });
2225
- process.env.NODE_ENV !== "production" && (rt.propTypes = {
2265
+ process.env.NODE_ENV !== "production" && (it.propTypes = {
2226
2266
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2227
2267
  // │ These PropTypes are generated from the TypeScript type definitions. │
2228
2268
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2265,118 +2305,118 @@ process.env.NODE_ENV !== "production" && (rt.propTypes = {
2265
2305
  */
2266
2306
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
2267
2307
  });
2268
- function eo(o, t, n) {
2308
+ function to(o, t, n) {
2269
2309
  return o === t ? o.firstChild : t && t.nextElementSibling ? t.nextElementSibling : n ? null : o.firstChild;
2270
2310
  }
2271
- function $o(o, t, n) {
2311
+ function Ao(o, t, n) {
2272
2312
  return o === t ? n ? o.firstChild : o.lastChild : t && t.previousElementSibling ? t.previousElementSibling : n ? null : o.lastChild;
2273
2313
  }
2274
- function st(o, t) {
2314
+ function at(o, t) {
2275
2315
  if (t === void 0)
2276
2316
  return !0;
2277
2317
  let n = o.innerText;
2278
2318
  return n === void 0 && (n = o.textContent), n = n.trim().toLowerCase(), n.length === 0 ? !1 : t.repeating ? n[0] === t.keys[0] : n.startsWith(t.keys.join(""));
2279
2319
  }
2280
- function Se(o, t, n, r, a, s) {
2281
- let i = !1, l = a(o, t, t ? n : !1);
2320
+ function Ne(o, t, n, r, s, i) {
2321
+ let a = !1, l = s(o, t, t ? n : !1);
2282
2322
  for (; l; ) {
2283
2323
  if (l === o.firstChild) {
2284
- if (i)
2324
+ if (a)
2285
2325
  return !1;
2286
- i = !0;
2326
+ a = !0;
2287
2327
  }
2288
- const u = r ? !1 : l.disabled || l.getAttribute("aria-disabled") === "true";
2289
- if (!l.hasAttribute("tabindex") || !st(l, s) || u)
2290
- l = a(o, l, n);
2328
+ const d = r ? !1 : l.disabled || l.getAttribute("aria-disabled") === "true";
2329
+ if (!l.hasAttribute("tabindex") || !at(l, i) || d)
2330
+ l = s(o, l, n);
2291
2331
  else
2292
2332
  return l.focus(), !0;
2293
2333
  }
2294
2334
  return !1;
2295
2335
  }
2296
- const it = /* @__PURE__ */ c.forwardRef(function(t, n) {
2336
+ const lt = /* @__PURE__ */ c.forwardRef(function(t, n) {
2297
2337
  const {
2298
2338
  // private
2299
2339
  // eslint-disable-next-line react/prop-types
2300
2340
  actions: r,
2301
- autoFocus: a = !1,
2302
- autoFocusItem: s = !1,
2303
- children: i,
2341
+ autoFocus: s = !1,
2342
+ autoFocusItem: i = !1,
2343
+ children: a,
2304
2344
  className: l,
2305
- disabledItemsFocusable: u = !1,
2306
- disableListWrap: m = !1,
2307
- onKeyDown: b,
2308
- variant: h = "selectedMenu",
2309
- ...T
2310
- } = t, f = c.useRef(null), p = c.useRef({
2345
+ disabledItemsFocusable: d = !1,
2346
+ disableListWrap: f = !1,
2347
+ onKeyDown: T,
2348
+ variant: b = "selectedMenu",
2349
+ ...O
2350
+ } = t, p = c.useRef(null), h = c.useRef({
2311
2351
  keys: [],
2312
2352
  repeating: !0,
2313
2353
  previousKeyMatched: !0,
2314
2354
  lastTime: null
2315
2355
  });
2316
- no(() => {
2317
- a && f.current.focus();
2318
- }, [a]), c.useImperativeHandle(r, () => ({
2319
- adjustStyleForScrollbar: (d, {
2356
+ so(() => {
2357
+ s && p.current.focus();
2358
+ }, [s]), c.useImperativeHandle(r, () => ({
2359
+ adjustStyleForScrollbar: (u, {
2320
2360
  direction: g
2321
2361
  }) => {
2322
- const P = !f.current.style.width;
2323
- if (d.clientHeight < f.current.clientHeight && P) {
2324
- const B = `${Ko(ce(d))}px`;
2325
- f.current.style[g === "rtl" ? "paddingLeft" : "paddingRight"] = B, f.current.style.width = `calc(100% + ${B})`;
2362
+ const C = !p.current.style.width;
2363
+ if (u.clientHeight < p.current.clientHeight && C) {
2364
+ const D = `${Go(Ee(u))}px`;
2365
+ p.current.style[g === "rtl" ? "paddingLeft" : "paddingRight"] = D, p.current.style.width = `calc(100% + ${D})`;
2326
2366
  }
2327
- return f.current;
2367
+ return p.current;
2328
2368
  }
2329
2369
  }), []);
2330
- const R = (d) => {
2331
- const g = f.current, P = d.key;
2332
- if (d.ctrlKey || d.metaKey || d.altKey) {
2333
- b && b(d);
2370
+ const R = (u) => {
2371
+ const g = p.current, C = u.key;
2372
+ if (u.ctrlKey || u.metaKey || u.altKey) {
2373
+ T && T(u);
2334
2374
  return;
2335
2375
  }
2336
- const M = ce(g).activeElement;
2337
- if (P === "ArrowDown")
2338
- d.preventDefault(), Se(g, M, m, u, eo);
2339
- else if (P === "ArrowUp")
2340
- d.preventDefault(), Se(g, M, m, u, $o);
2341
- else if (P === "Home")
2342
- d.preventDefault(), Se(g, null, m, u, eo);
2343
- else if (P === "End")
2344
- d.preventDefault(), Se(g, null, m, u, $o);
2345
- else if (P.length === 1) {
2346
- const S = p.current, D = P.toLowerCase(), L = performance.now();
2347
- S.keys.length > 0 && (L - S.lastTime > 500 ? (S.keys = [], S.repeating = !0, S.previousKeyMatched = !0) : S.repeating && D !== S.keys[0] && (S.repeating = !1)), S.lastTime = L, S.keys.push(D);
2348
- const U = M && !S.repeating && st(M, S);
2349
- S.previousKeyMatched && (U || Se(g, M, !1, u, eo, S)) ? d.preventDefault() : S.previousKeyMatched = !1;
2376
+ const N = pe(g).activeElement;
2377
+ if (C === "ArrowDown")
2378
+ u.preventDefault(), Ne(g, N, f, d, to);
2379
+ else if (C === "ArrowUp")
2380
+ u.preventDefault(), Ne(g, N, f, d, Ao);
2381
+ else if (C === "Home")
2382
+ u.preventDefault(), Ne(g, null, f, d, to);
2383
+ else if (C === "End")
2384
+ u.preventDefault(), Ne(g, null, f, d, Ao);
2385
+ else if (C.length === 1) {
2386
+ const I = h.current, F = C.toLowerCase(), B = performance.now();
2387
+ I.keys.length > 0 && (B - I.lastTime > 500 ? (I.keys = [], I.repeating = !0, I.previousKeyMatched = !0) : I.repeating && F !== I.keys[0] && (I.repeating = !1)), I.lastTime = B, I.keys.push(F);
2388
+ const A = N && !I.repeating && at(N, I);
2389
+ I.previousKeyMatched && (A || Ne(g, N, !1, d, to, I)) ? u.preventDefault() : I.previousKeyMatched = !1;
2350
2390
  }
2351
- b && b(d);
2352
- }, v = ge(f, n);
2391
+ T && T(u);
2392
+ }, v = ge(p, n);
2353
2393
  let y = -1;
2354
- c.Children.forEach(i, (d, g) => {
2355
- if (!/* @__PURE__ */ c.isValidElement(d)) {
2356
- y === g && (y += 1, y >= i.length && (y = -1));
2394
+ c.Children.forEach(a, (u, g) => {
2395
+ if (!/* @__PURE__ */ c.isValidElement(u)) {
2396
+ y === g && (y += 1, y >= a.length && (y = -1));
2357
2397
  return;
2358
2398
  }
2359
- process.env.NODE_ENV !== "production" && lo.isFragment(d) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
2360
- `)), d.props.disabled || (h === "selectedMenu" && d.props.selected || y === -1) && (y = g), y === g && (d.props.disabled || d.props.muiSkipListHighlight || d.type.muiSkipListHighlight) && (y += 1, y >= i.length && (y = -1));
2399
+ process.env.NODE_ENV !== "production" && uo.isFragment(u) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
2400
+ `)), u.props.disabled || (b === "selectedMenu" && u.props.selected || y === -1) && (y = g), y === g && (u.props.disabled || u.props.muiSkipListHighlight || u.type.muiSkipListHighlight) && (y += 1, y >= a.length && (y = -1));
2361
2401
  });
2362
- const C = c.Children.map(i, (d, g) => {
2402
+ const P = c.Children.map(a, (u, g) => {
2363
2403
  if (g === y) {
2364
- const P = {};
2365
- return s && (P.autoFocus = !0), d.props.tabIndex === void 0 && h === "selectedMenu" && (P.tabIndex = 0), /* @__PURE__ */ c.cloneElement(d, P);
2404
+ const C = {};
2405
+ return i && (C.autoFocus = !0), u.props.tabIndex === void 0 && b === "selectedMenu" && (C.tabIndex = 0), /* @__PURE__ */ c.cloneElement(u, C);
2366
2406
  }
2367
- return d;
2407
+ return u;
2368
2408
  });
2369
- return /* @__PURE__ */ I(rt, {
2409
+ return /* @__PURE__ */ w(it, {
2370
2410
  role: "menu",
2371
2411
  ref: v,
2372
2412
  className: l,
2373
2413
  onKeyDown: R,
2374
- tabIndex: a ? 0 : -1,
2375
- ...T,
2376
- children: C
2414
+ tabIndex: s ? 0 : -1,
2415
+ ...O,
2416
+ children: P
2377
2417
  });
2378
2418
  });
2379
- process.env.NODE_ENV !== "production" && (it.propTypes = {
2419
+ process.env.NODE_ENV !== "production" && (lt.propTypes = {
2380
2420
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2381
2421
  // │ These PropTypes are generated from the TypeScript type definitions. │
2382
2422
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2421,115 +2461,115 @@ process.env.NODE_ENV !== "production" && (it.propTypes = {
2421
2461
  */
2422
2462
  variant: e.oneOf(["menu", "selectedMenu"])
2423
2463
  });
2424
- function so(o) {
2464
+ function ao(o) {
2425
2465
  return `scale(${o}, ${o ** 2})`;
2426
2466
  }
2427
2467
  const Rn = {
2428
2468
  entering: {
2429
2469
  opacity: 1,
2430
- transform: so(1)
2470
+ transform: ao(1)
2431
2471
  },
2432
2472
  entered: {
2433
2473
  opacity: 1,
2434
2474
  transform: "none"
2435
2475
  }
2436
- }, oo = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), He = /* @__PURE__ */ c.forwardRef(function(t, n) {
2476
+ }, no = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), Ke = /* @__PURE__ */ c.forwardRef(function(t, n) {
2437
2477
  const {
2438
2478
  addEndListener: r,
2439
- appear: a = !0,
2440
- children: s,
2441
- easing: i,
2479
+ appear: s = !0,
2480
+ children: i,
2481
+ easing: a,
2442
2482
  in: l,
2443
- onEnter: u,
2444
- onEntered: m,
2445
- onEntering: b,
2446
- onExit: h,
2447
- onExited: T,
2448
- onExiting: f,
2449
- style: p,
2483
+ onEnter: d,
2484
+ onEntered: f,
2485
+ onEntering: T,
2486
+ onExit: b,
2487
+ onExited: O,
2488
+ onExiting: p,
2489
+ style: h,
2450
2490
  timeout: R = "auto",
2451
2491
  // eslint-disable-next-line react/prop-types
2452
- TransitionComponent: v = vt,
2492
+ TransitionComponent: v = Tt,
2453
2493
  ...y
2454
- } = t, C = St(), d = c.useRef(), g = qo(), P = c.useRef(null), B = ge(P, Ke(s), n), M = (N) => (x) => {
2455
- if (N) {
2456
- const w = P.current;
2457
- x === void 0 ? N(w) : N(w, x);
2494
+ } = t, P = It(), u = c.useRef(), g = Ko(), C = c.useRef(null), D = ge(C, Xe(i), n), N = (m) => (E) => {
2495
+ if (m) {
2496
+ const M = C.current;
2497
+ E === void 0 ? m(M) : m(M, E);
2458
2498
  }
2459
- }, S = M(b), D = M((N, x) => {
2460
- yt(N);
2499
+ }, I = N(T), F = N((m, E) => {
2500
+ Et(m);
2461
2501
  const {
2462
- duration: w,
2463
- delay: O,
2502
+ duration: M,
2503
+ delay: S,
2464
2504
  easing: H
2465
- } = Co({
2466
- style: p,
2505
+ } = Io({
2506
+ style: h,
2467
2507
  timeout: R,
2468
- easing: i
2508
+ easing: a
2469
2509
  }, {
2470
2510
  mode: "enter"
2471
2511
  });
2472
2512
  let Y;
2473
- R === "auto" ? (Y = g.transitions.getAutoHeightDuration(N.clientHeight), d.current = Y) : Y = w, N.style.transition = [g.transitions.create("opacity", {
2513
+ R === "auto" ? (Y = g.transitions.getAutoHeightDuration(m.clientHeight), u.current = Y) : Y = M, m.style.transition = [g.transitions.create("opacity", {
2474
2514
  duration: Y,
2475
- delay: O
2515
+ delay: S
2476
2516
  }), g.transitions.create("transform", {
2477
- duration: oo ? Y : Y * 0.666,
2478
- delay: O,
2517
+ duration: no ? Y : Y * 0.666,
2518
+ delay: S,
2479
2519
  easing: H
2480
- })].join(","), u && u(N, x);
2481
- }), L = M(m), U = M(f), V = M((N) => {
2520
+ })].join(","), d && d(m, E);
2521
+ }), B = N(f), A = N(p), V = N((m) => {
2482
2522
  const {
2483
- duration: x,
2484
- delay: w,
2485
- easing: O
2486
- } = Co({
2487
- style: p,
2523
+ duration: E,
2524
+ delay: M,
2525
+ easing: S
2526
+ } = Io({
2527
+ style: h,
2488
2528
  timeout: R,
2489
- easing: i
2529
+ easing: a
2490
2530
  }, {
2491
2531
  mode: "exit"
2492
2532
  });
2493
2533
  let H;
2494
- R === "auto" ? (H = g.transitions.getAutoHeightDuration(N.clientHeight), d.current = H) : H = x, N.style.transition = [g.transitions.create("opacity", {
2534
+ R === "auto" ? (H = g.transitions.getAutoHeightDuration(m.clientHeight), u.current = H) : H = E, m.style.transition = [g.transitions.create("opacity", {
2495
2535
  duration: H,
2496
- delay: w
2536
+ delay: M
2497
2537
  }), g.transitions.create("transform", {
2498
- duration: oo ? H : H * 0.666,
2499
- delay: oo ? w : w || H * 0.333,
2500
- easing: O
2501
- })].join(","), N.style.opacity = 0, N.style.transform = so(0.75), h && h(N);
2502
- }), k = M(T);
2503
- return /* @__PURE__ */ I(v, {
2504
- appear: a,
2538
+ duration: no ? H : H * 0.666,
2539
+ delay: no ? M : M || H * 0.333,
2540
+ easing: S
2541
+ })].join(","), m.style.opacity = 0, m.style.transform = ao(0.75), b && b(m);
2542
+ }), W = N(O);
2543
+ return /* @__PURE__ */ w(v, {
2544
+ appear: s,
2505
2545
  in: l,
2506
- nodeRef: P,
2507
- onEnter: D,
2508
- onEntered: L,
2509
- onEntering: S,
2546
+ nodeRef: C,
2547
+ onEnter: F,
2548
+ onEntered: B,
2549
+ onEntering: I,
2510
2550
  onExit: V,
2511
- onExited: k,
2512
- onExiting: U,
2513
- addEndListener: (N) => {
2514
- R === "auto" && C.start(d.current || 0, N), r && r(P.current, N);
2551
+ onExited: W,
2552
+ onExiting: A,
2553
+ addEndListener: (m) => {
2554
+ R === "auto" && P.start(u.current || 0, m), r && r(C.current, m);
2515
2555
  },
2516
2556
  timeout: R === "auto" ? null : R,
2517
2557
  ...y,
2518
- children: (N, x) => /* @__PURE__ */ c.cloneElement(s, {
2558
+ children: (m, E) => /* @__PURE__ */ c.cloneElement(i, {
2519
2559
  style: {
2520
2560
  opacity: 0,
2521
- transform: so(0.75),
2522
- visibility: N === "exited" && !l ? "hidden" : void 0,
2523
- ...Rn[N],
2524
- ...p,
2525
- ...s.props.style
2561
+ transform: ao(0.75),
2562
+ visibility: m === "exited" && !l ? "hidden" : void 0,
2563
+ ...Rn[m],
2564
+ ...h,
2565
+ ...i.props.style
2526
2566
  },
2527
- ref: B,
2528
- ...x
2567
+ ref: D,
2568
+ ...E
2529
2569
  })
2530
2570
  });
2531
2571
  });
2532
- process.env.NODE_ENV !== "production" && (He.propTypes = {
2572
+ process.env.NODE_ENV !== "production" && (Ke.propTypes = {
2533
2573
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2534
2574
  // │ These PropTypes are generated from the TypeScript type definitions. │
2535
2575
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2549,7 +2589,7 @@ process.env.NODE_ENV !== "production" && (He.propTypes = {
2549
2589
  /**
2550
2590
  * A single child content element.
2551
2591
  */
2552
- children: ao.isRequired,
2592
+ children: co.isRequired,
2553
2593
  /**
2554
2594
  * The transition timing function.
2555
2595
  * You may specify a single easing or a object containing enter and exit values.
@@ -2603,23 +2643,23 @@ process.env.NODE_ENV !== "production" && (He.propTypes = {
2603
2643
  exit: e.number
2604
2644
  })])
2605
2645
  });
2606
- He && (He.muiSupportAuto = !0);
2646
+ Ke && (Ke.muiSupportAuto = !0);
2607
2647
  function Pn(o) {
2608
2648
  return Q("MuiPopover", o);
2609
2649
  }
2610
2650
  ee("MuiPopover", ["root", "paper"]);
2611
- function Do(o, t) {
2651
+ function Bo(o, t) {
2612
2652
  let n = 0;
2613
2653
  return typeof t == "number" ? n = t : t === "center" ? n = o.height / 2 : t === "bottom" && (n = o.height), n;
2614
2654
  }
2615
- function Ao(o, t) {
2655
+ function Uo(o, t) {
2616
2656
  let n = 0;
2617
2657
  return typeof t == "number" ? n = t : t === "center" ? n = o.width / 2 : t === "right" && (n = o.width), n;
2618
2658
  }
2619
- function Bo(o) {
2659
+ function Vo(o) {
2620
2660
  return [o.horizontal, o.vertical].map((t) => typeof t == "number" ? `${t}px` : t).join(" ");
2621
2661
  }
2622
- function ze(o) {
2662
+ function qe(o) {
2623
2663
  return typeof o == "function" ? o() : o;
2624
2664
  }
2625
2665
  const Cn = (o) => {
@@ -2630,11 +2670,11 @@ const Cn = (o) => {
2630
2670
  root: ["root"],
2631
2671
  paper: ["paper"]
2632
2672
  }, Pn, t);
2633
- }, wn = F(Zo, {
2673
+ }, wn = k(et, {
2634
2674
  name: "MuiPopover",
2635
2675
  slot: "Root",
2636
2676
  overridesResolver: (o, t) => t.root
2637
- })({}), at = F(Jo, {
2677
+ })({}), ct = k(Qo, {
2638
2678
  name: "MuiPopover",
2639
2679
  slot: "Paper",
2640
2680
  overridesResolver: (o, t) => t.paper
@@ -2650,156 +2690,156 @@ const Cn = (o) => {
2650
2690
  maxHeight: "calc(100% - 32px)",
2651
2691
  // We disable the focus ring for mouse, touch and keyboard users.
2652
2692
  outline: 0
2653
- }), lt = /* @__PURE__ */ c.forwardRef(function(t, n) {
2654
- const r = re({
2693
+ }), dt = /* @__PURE__ */ c.forwardRef(function(t, n) {
2694
+ const r = te({
2655
2695
  props: t,
2656
2696
  name: "MuiPopover"
2657
2697
  }), {
2658
- action: a,
2659
- anchorEl: s,
2660
- anchorOrigin: i = {
2698
+ action: s,
2699
+ anchorEl: i,
2700
+ anchorOrigin: a = {
2661
2701
  vertical: "top",
2662
2702
  horizontal: "left"
2663
2703
  },
2664
2704
  anchorPosition: l,
2665
- anchorReference: u = "anchorEl",
2666
- children: m,
2667
- className: b,
2668
- container: h,
2669
- elevation: T = 8,
2670
- marginThreshold: f = 16,
2671
- open: p,
2705
+ anchorReference: d = "anchorEl",
2706
+ children: f,
2707
+ className: T,
2708
+ container: b,
2709
+ elevation: O = 8,
2710
+ marginThreshold: p = 16,
2711
+ open: h,
2672
2712
  PaperProps: R = {},
2673
2713
  slots: v = {},
2674
2714
  slotProps: y = {},
2675
- transformOrigin: C = {
2715
+ transformOrigin: P = {
2676
2716
  vertical: "top",
2677
2717
  horizontal: "left"
2678
2718
  },
2679
- TransitionComponent: d = He,
2719
+ TransitionComponent: u = Ke,
2680
2720
  transitionDuration: g = "auto",
2681
2721
  TransitionProps: {
2682
- onEntering: P,
2683
- ...B
2722
+ onEntering: C,
2723
+ ...D
2684
2724
  } = {},
2685
- disableScrollLock: M = !1,
2686
- ...S
2687
- } = r, D = (y == null ? void 0 : y.paper) ?? R, L = c.useRef(), U = {
2725
+ disableScrollLock: N = !1,
2726
+ ...I
2727
+ } = r, F = (y == null ? void 0 : y.paper) ?? R, B = c.useRef(), A = {
2688
2728
  ...r,
2689
- anchorOrigin: i,
2690
- anchorReference: u,
2691
- elevation: T,
2692
- marginThreshold: f,
2693
- externalPaperSlotProps: D,
2694
- transformOrigin: C,
2695
- TransitionComponent: d,
2729
+ anchorOrigin: a,
2730
+ anchorReference: d,
2731
+ elevation: O,
2732
+ marginThreshold: p,
2733
+ externalPaperSlotProps: F,
2734
+ transformOrigin: P,
2735
+ TransitionComponent: u,
2696
2736
  transitionDuration: g,
2697
- TransitionProps: B
2698
- }, V = Cn(U), k = c.useCallback(() => {
2699
- if (u === "anchorPosition")
2737
+ TransitionProps: D
2738
+ }, V = Cn(A), W = c.useCallback(() => {
2739
+ if (d === "anchorPosition")
2700
2740
  return process.env.NODE_ENV !== "production" && (l || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), l;
2701
- const j = ze(s), A = j && j.nodeType === 1 ? j : ce(L.current).body, W = A.getBoundingClientRect();
2741
+ const $ = qe(i), j = $ && $.nodeType === 1 ? $ : pe(B.current).body, U = j.getBoundingClientRect();
2702
2742
  if (process.env.NODE_ENV !== "production") {
2703
- const J = A.getBoundingClientRect();
2743
+ const J = j.getBoundingClientRect();
2704
2744
  process.env.NODE_ENV !== "test" && J.top === 0 && J.left === 0 && J.right === 0 && J.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
2705
2745
  `));
2706
2746
  }
2707
2747
  return {
2708
- top: W.top + Do(W, i.vertical),
2709
- left: W.left + Ao(W, i.horizontal)
2748
+ top: U.top + Bo(U, a.vertical),
2749
+ left: U.left + Uo(U, a.horizontal)
2710
2750
  };
2711
- }, [s, i.horizontal, i.vertical, l, u]), z = c.useCallback((j) => ({
2712
- vertical: Do(j, C.vertical),
2713
- horizontal: Ao(j, C.horizontal)
2714
- }), [C.horizontal, C.vertical]), N = c.useCallback((j) => {
2715
- const A = {
2716
- width: j.offsetWidth,
2717
- height: j.offsetHeight
2718
- }, W = z(A);
2719
- if (u === "none")
2751
+ }, [i, a.horizontal, a.vertical, l, d]), q = c.useCallback(($) => ({
2752
+ vertical: Bo($, P.vertical),
2753
+ horizontal: Uo($, P.horizontal)
2754
+ }), [P.horizontal, P.vertical]), m = c.useCallback(($) => {
2755
+ const j = {
2756
+ width: $.offsetWidth,
2757
+ height: $.offsetHeight
2758
+ }, U = q(j);
2759
+ if (d === "none")
2720
2760
  return {
2721
2761
  top: null,
2722
2762
  left: null,
2723
- transformOrigin: Bo(W)
2763
+ transformOrigin: Vo(U)
2724
2764
  };
2725
- const J = k();
2726
- let ue = J.top - W.vertical, ne = J.left - W.horizontal;
2727
- const Ee = ue + A.height, xe = ne + A.width, Re = ke(ze(s)), le = Re.innerHeight - f, Pe = Re.innerWidth - f;
2728
- if (f !== null && ue < f) {
2729
- const K = ue - f;
2730
- ue -= K, W.vertical += K;
2731
- } else if (f !== null && Ee > le) {
2732
- const K = Ee - le;
2733
- ue -= K, W.vertical += K;
2765
+ const J = W();
2766
+ let de = J.top - U.vertical, re = J.left - U.horizontal;
2767
+ const xe = de + j.height, Re = re + j.width, Pe = Ee(qe(i)), le = Pe.innerHeight - p, Ce = Pe.innerWidth - p;
2768
+ if (p !== null && de < p) {
2769
+ const K = de - p;
2770
+ de -= K, U.vertical += K;
2771
+ } else if (p !== null && xe > le) {
2772
+ const K = xe - le;
2773
+ de -= K, U.vertical += K;
2734
2774
  }
2735
- if (process.env.NODE_ENV !== "production" && A.height > le && A.height && le && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${A.height - le}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
2736
- `)), f !== null && ne < f) {
2737
- const K = ne - f;
2738
- ne -= K, W.horizontal += K;
2739
- } else if (xe > Pe) {
2740
- const K = xe - Pe;
2741
- ne -= K, W.horizontal += K;
2775
+ if (process.env.NODE_ENV !== "production" && j.height > le && j.height && le && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${j.height - le}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
2776
+ `)), p !== null && re < p) {
2777
+ const K = re - p;
2778
+ re -= K, U.horizontal += K;
2779
+ } else if (Re > Ce) {
2780
+ const K = Re - Ce;
2781
+ re -= K, U.horizontal += K;
2742
2782
  }
2743
2783
  return {
2744
- top: `${Math.round(ue)}px`,
2745
- left: `${Math.round(ne)}px`,
2746
- transformOrigin: Bo(W)
2784
+ top: `${Math.round(de)}px`,
2785
+ left: `${Math.round(re)}px`,
2786
+ transformOrigin: Vo(U)
2747
2787
  };
2748
- }, [s, u, k, z, f]), [x, w] = c.useState(p), O = c.useCallback(() => {
2749
- const j = L.current;
2750
- if (!j)
2788
+ }, [i, d, W, q, p]), [E, M] = c.useState(h), S = c.useCallback(() => {
2789
+ const $ = B.current;
2790
+ if (!$)
2751
2791
  return;
2752
- const A = N(j);
2753
- A.top !== null && (j.style.top = A.top), A.left !== null && (j.style.left = A.left), j.style.transformOrigin = A.transformOrigin, w(!0);
2754
- }, [N]);
2755
- c.useEffect(() => (M && window.addEventListener("scroll", O), () => window.removeEventListener("scroll", O)), [s, M, O]);
2756
- const H = (j, A) => {
2757
- P && P(j, A), O();
2792
+ const j = m($);
2793
+ j.top !== null && $.style.setProperty("top", j.top), j.left !== null && ($.style.left = j.left), $.style.transformOrigin = j.transformOrigin, M(!0);
2794
+ }, [m]);
2795
+ c.useEffect(() => (N && window.addEventListener("scroll", S), () => window.removeEventListener("scroll", S)), [i, N, S]);
2796
+ const H = ($, j) => {
2797
+ C && C($, j), S();
2758
2798
  }, Y = () => {
2759
- w(!1);
2799
+ M(!1);
2760
2800
  };
2761
2801
  c.useEffect(() => {
2762
- p && O();
2763
- }), c.useImperativeHandle(a, () => p ? {
2802
+ h && S();
2803
+ }), c.useImperativeHandle(s, () => h ? {
2764
2804
  updatePosition: () => {
2765
- O();
2805
+ S();
2766
2806
  }
2767
- } : null, [p, O]), c.useEffect(() => {
2768
- if (!p)
2807
+ } : null, [h, S]), c.useEffect(() => {
2808
+ if (!h)
2769
2809
  return;
2770
- const j = Pt(() => {
2771
- O();
2772
- }), A = ke(s);
2773
- return A.addEventListener("resize", j), () => {
2774
- j.clear(), A.removeEventListener("resize", j);
2810
+ const $ = wt(() => {
2811
+ S();
2812
+ }), j = Ee(i);
2813
+ return j.addEventListener("resize", $), () => {
2814
+ $.clear(), j.removeEventListener("resize", $);
2775
2815
  };
2776
- }, [s, p, O]);
2816
+ }, [i, h, S]);
2777
2817
  let ie = g;
2778
- g === "auto" && !d.muiSupportAuto && (ie = void 0);
2779
- const fe = h || (s ? ce(ze(s)).body : void 0), q = {
2818
+ g === "auto" && !u.muiSupportAuto && (ie = void 0);
2819
+ const fe = b || (i ? pe(qe(i)).body : void 0), z = {
2780
2820
  slots: v,
2781
2821
  slotProps: {
2782
2822
  ...y,
2783
- paper: D
2823
+ paper: F
2784
2824
  }
2785
2825
  }, [_, X] = me("paper", {
2786
- elementType: at,
2787
- externalForwardedProps: q,
2826
+ elementType: ct,
2827
+ externalForwardedProps: z,
2788
2828
  additionalProps: {
2789
- elevation: T,
2790
- className: Z(V.paper, D == null ? void 0 : D.className),
2791
- style: x ? D.style : {
2792
- ...D.style,
2829
+ elevation: O,
2830
+ className: Z(V.paper, F == null ? void 0 : F.className),
2831
+ style: E ? F.style : {
2832
+ ...F.style,
2793
2833
  opacity: 0
2794
2834
  }
2795
2835
  },
2796
- ownerState: U
2797
- }), [te, {
2836
+ ownerState: A
2837
+ }), [ne, {
2798
2838
  slotProps: ve,
2799
2839
  ...ye
2800
2840
  }] = me("root", {
2801
2841
  elementType: wn,
2802
- externalForwardedProps: q,
2842
+ externalForwardedProps: z,
2803
2843
  additionalProps: {
2804
2844
  slotProps: {
2805
2845
  backdrop: {
@@ -2807,35 +2847,35 @@ const Cn = (o) => {
2807
2847
  }
2808
2848
  },
2809
2849
  container: fe,
2810
- open: p
2850
+ open: h
2811
2851
  },
2812
- ownerState: U,
2813
- className: Z(V.root, b)
2814
- }), ae = ge(L, X.ref);
2815
- return /* @__PURE__ */ I(te, {
2852
+ ownerState: A,
2853
+ className: Z(V.root, T)
2854
+ }), ae = ge(B, X.ref);
2855
+ return /* @__PURE__ */ w(ne, {
2816
2856
  ...ye,
2817
- ...!xt(te) && {
2857
+ ...!Pt(ne) && {
2818
2858
  slotProps: ve,
2819
- disableScrollLock: M
2859
+ disableScrollLock: N
2820
2860
  },
2821
- ...S,
2861
+ ...I,
2822
2862
  ref: n,
2823
- children: /* @__PURE__ */ I(d, {
2863
+ children: /* @__PURE__ */ w(u, {
2824
2864
  appear: !0,
2825
- in: p,
2865
+ in: h,
2826
2866
  onEntering: H,
2827
2867
  onExited: Y,
2828
2868
  timeout: ie,
2829
- ...B,
2830
- children: /* @__PURE__ */ I(_, {
2869
+ ...D,
2870
+ children: /* @__PURE__ */ w(_, {
2831
2871
  ...X,
2832
2872
  ref: ae,
2833
- children: m
2873
+ children: f
2834
2874
  })
2835
2875
  })
2836
2876
  });
2837
2877
  });
2838
- process.env.NODE_ENV !== "production" && (lt.propTypes = {
2878
+ process.env.NODE_ENV !== "production" && (dt.propTypes = {
2839
2879
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2840
2880
  // │ These PropTypes are generated from the TypeScript type definitions. │
2841
2881
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2850,9 +2890,9 @@ process.env.NODE_ENV !== "production" && (lt.propTypes = {
2850
2890
  * or a function that returns either.
2851
2891
  * It's used to set the position of the popover.
2852
2892
  */
2853
- anchorEl: _o(e.oneOfType([Le, e.func]), (o) => {
2893
+ anchorEl: Ho(e.oneOfType([$e, e.func]), (o) => {
2854
2894
  if (o.open && (!o.anchorReference || o.anchorReference === "anchorEl")) {
2855
- const t = ze(o.anchorEl);
2895
+ const t = qe(o.anchorEl);
2856
2896
  if (t && t.nodeType === 1) {
2857
2897
  const n = t.getBoundingClientRect();
2858
2898
  if (process.env.NODE_ENV !== "test" && n.top === 0 && n.left === 0 && n.right === 0 && n.bottom === 0)
@@ -2934,7 +2974,7 @@ process.env.NODE_ENV !== "production" && (lt.propTypes = {
2934
2974
  * By default, it uses the body of the anchorEl's top-level document object,
2935
2975
  * so it's simply `document.body` most of the time.
2936
2976
  */
2937
- container: e.oneOfType([Le, e.func]),
2977
+ container: e.oneOfType([$e, e.func]),
2938
2978
  /**
2939
2979
  * Disable the scroll lock behavior.
2940
2980
  * @default false
@@ -2944,7 +2984,7 @@ process.env.NODE_ENV !== "production" && (lt.propTypes = {
2944
2984
  * The elevation of the popover.
2945
2985
  * @default 8
2946
2986
  */
2947
- elevation: Yo,
2987
+ elevation: Zo,
2948
2988
  /**
2949
2989
  * Specifies how close to the edge of the window the popover can appear.
2950
2990
  * If null, the popover will not be constrained by the window.
@@ -2969,7 +3009,7 @@ process.env.NODE_ENV !== "production" && (lt.propTypes = {
2969
3009
  * @default {}
2970
3010
  */
2971
3011
  PaperProps: e.shape({
2972
- component: It
3012
+ component: Mt
2973
3013
  }),
2974
3014
  /**
2975
3015
  * The props used for each slot inside.
@@ -3032,7 +3072,7 @@ process.env.NODE_ENV !== "production" && (lt.propTypes = {
3032
3072
  function In(o) {
3033
3073
  return Q("MuiMenu", o);
3034
3074
  }
3035
- const jr = ee("MuiMenu", ["root", "paper", "list"]), Sn = {
3075
+ const Mr = ee("MuiMenu", ["root", "paper", "list"]), Sn = {
3036
3076
  vertical: "top",
3037
3077
  horizontal: "right"
3038
3078
  }, Nn = {
@@ -3047,12 +3087,12 @@ const jr = ee("MuiMenu", ["root", "paper", "list"]), Sn = {
3047
3087
  paper: ["paper"],
3048
3088
  list: ["list"]
3049
3089
  }, In, t);
3050
- }, Fn = F(lt, {
3090
+ }, Fn = k(dt, {
3051
3091
  shouldForwardProp: (o) => he(o) || o === "classes",
3052
3092
  name: "MuiMenu",
3053
3093
  slot: "Root",
3054
3094
  overridesResolver: (o, t) => t.root
3055
- })({}), kn = F(at, {
3095
+ })({}), kn = k(ct, {
3056
3096
  name: "MuiMenu",
3057
3097
  slot: "Paper",
3058
3098
  overridesResolver: (o, t) => t.paper
@@ -3063,71 +3103,71 @@ const jr = ee("MuiMenu", ["root", "paper", "list"]), Sn = {
3063
3103
  maxHeight: "calc(100% - 96px)",
3064
3104
  // Add iOS momentum scrolling for iOS < 13.0
3065
3105
  WebkitOverflowScrolling: "touch"
3066
- }), Ln = F(it, {
3106
+ }), $n = k(lt, {
3067
3107
  name: "MuiMenu",
3068
3108
  slot: "List",
3069
3109
  overridesResolver: (o, t) => t.list
3070
3110
  })({
3071
3111
  // We disable the focus ring for mouse, touch and keyboard users.
3072
3112
  outline: 0
3073
- }), ct = /* @__PURE__ */ c.forwardRef(function(t, n) {
3074
- const r = re({
3113
+ }), ut = /* @__PURE__ */ c.forwardRef(function(t, n) {
3114
+ const r = te({
3075
3115
  props: t,
3076
3116
  name: "MuiMenu"
3077
3117
  }), {
3078
- autoFocus: a = !0,
3079
- children: s,
3080
- className: i,
3118
+ autoFocus: s = !0,
3119
+ children: i,
3120
+ className: a,
3081
3121
  disableAutoFocusItem: l = !1,
3082
- MenuListProps: u = {},
3083
- onClose: m,
3084
- open: b,
3085
- PaperProps: h = {},
3086
- PopoverClasses: T,
3087
- transitionDuration: f = "auto",
3122
+ MenuListProps: d = {},
3123
+ onClose: f,
3124
+ open: T,
3125
+ PaperProps: b = {},
3126
+ PopoverClasses: O,
3127
+ transitionDuration: p = "auto",
3088
3128
  TransitionProps: {
3089
- onEntering: p,
3129
+ onEntering: h,
3090
3130
  ...R
3091
3131
  } = {},
3092
3132
  variant: v = "selectedMenu",
3093
3133
  slots: y = {},
3094
- slotProps: C = {},
3095
- ...d
3096
- } = r, g = Rt(), P = {
3134
+ slotProps: P = {},
3135
+ ...u
3136
+ } = r, g = Ct(), C = {
3097
3137
  ...r,
3098
- autoFocus: a,
3138
+ autoFocus: s,
3099
3139
  disableAutoFocusItem: l,
3100
- MenuListProps: u,
3101
- onEntering: p,
3102
- PaperProps: h,
3103
- transitionDuration: f,
3140
+ MenuListProps: d,
3141
+ onEntering: h,
3142
+ PaperProps: b,
3143
+ transitionDuration: p,
3104
3144
  TransitionProps: R,
3105
3145
  variant: v
3106
- }, B = Mn(P), M = a && !l && b, S = c.useRef(null), D = (x, w) => {
3107
- S.current && S.current.adjustStyleForScrollbar(x, {
3146
+ }, D = Mn(C), N = s && !l && T, I = c.useRef(null), F = (E, M) => {
3147
+ I.current && I.current.adjustStyleForScrollbar(E, {
3108
3148
  direction: g ? "rtl" : "ltr"
3109
- }), p && p(x, w);
3110
- }, L = (x) => {
3111
- x.key === "Tab" && (x.preventDefault(), m && m(x, "tabKeyDown"));
3149
+ }), h && h(E, M);
3150
+ }, B = (E) => {
3151
+ E.key === "Tab" && (E.preventDefault(), f && f(E, "tabKeyDown"));
3112
3152
  };
3113
- let U = -1;
3114
- c.Children.map(s, (x, w) => {
3115
- /* @__PURE__ */ c.isValidElement(x) && (process.env.NODE_ENV !== "production" && lo.isFragment(x) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
3116
- `)), x.props.disabled || (v === "selectedMenu" && x.props.selected || U === -1) && (U = w));
3153
+ let A = -1;
3154
+ c.Children.map(i, (E, M) => {
3155
+ /* @__PURE__ */ c.isValidElement(E) && (process.env.NODE_ENV !== "production" && uo.isFragment(E) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
3156
+ `)), E.props.disabled || (v === "selectedMenu" && E.props.selected || A === -1) && (A = M));
3117
3157
  });
3118
- const V = y.paper ?? kn, k = C.paper ?? h, z = So({
3158
+ const V = y.paper ?? kn, W = P.paper ?? b, q = So({
3119
3159
  elementType: y.root,
3120
- externalSlotProps: C.root,
3121
- ownerState: P,
3122
- className: [B.root, i]
3123
- }), N = So({
3160
+ externalSlotProps: P.root,
3161
+ ownerState: C,
3162
+ className: [D.root, a]
3163
+ }), m = So({
3124
3164
  elementType: V,
3125
- externalSlotProps: k,
3126
- ownerState: P,
3127
- className: B.paper
3165
+ externalSlotProps: W,
3166
+ ownerState: C,
3167
+ className: D.paper
3128
3168
  });
3129
- return /* @__PURE__ */ I(Fn, {
3130
- onClose: m,
3169
+ return /* @__PURE__ */ w(Fn, {
3170
+ onClose: f,
3131
3171
  anchorOrigin: {
3132
3172
  vertical: "bottom",
3133
3173
  horizontal: g ? "right" : "left"
@@ -3138,32 +3178,32 @@ const jr = ee("MuiMenu", ["root", "paper", "list"]), Sn = {
3138
3178
  root: y.root
3139
3179
  },
3140
3180
  slotProps: {
3141
- root: z,
3142
- paper: N
3181
+ root: q,
3182
+ paper: m
3143
3183
  },
3144
- open: b,
3184
+ open: T,
3145
3185
  ref: n,
3146
- transitionDuration: f,
3186
+ transitionDuration: p,
3147
3187
  TransitionProps: {
3148
- onEntering: D,
3188
+ onEntering: F,
3149
3189
  ...R
3150
3190
  },
3151
- ownerState: P,
3152
- ...d,
3153
- classes: T,
3154
- children: /* @__PURE__ */ I(Ln, {
3155
- onKeyDown: L,
3156
- actions: S,
3157
- autoFocus: a && (U === -1 || l),
3158
- autoFocusItem: M,
3191
+ ownerState: C,
3192
+ ...u,
3193
+ classes: O,
3194
+ children: /* @__PURE__ */ w($n, {
3195
+ onKeyDown: B,
3196
+ actions: I,
3197
+ autoFocus: s && (A === -1 || l),
3198
+ autoFocusItem: N,
3159
3199
  variant: v,
3160
- ...u,
3161
- className: Z(B.list, u.className),
3162
- children: s
3200
+ ...d,
3201
+ className: Z(D.list, d.className),
3202
+ children: i
3163
3203
  })
3164
3204
  });
3165
3205
  });
3166
- process.env.NODE_ENV !== "production" && (ct.propTypes = {
3206
+ process.env.NODE_ENV !== "production" && (ut.propTypes = {
3167
3207
  // ┌────────────────────────────── Warning ──────────────────────────────┐
3168
3208
  // │ These PropTypes are generated from the TypeScript type definitions. │
3169
3209
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -3172,7 +3212,7 @@ process.env.NODE_ENV !== "production" && (ct.propTypes = {
3172
3212
  * An HTML element, or a function that returns one.
3173
3213
  * It's used to set the position of the menu.
3174
3214
  */
3175
- anchorEl: e.oneOfType([Le, e.func]),
3215
+ anchorEl: e.oneOfType([$e, e.func]),
3176
3216
  /**
3177
3217
  * If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled
3178
3218
  * children are not focusable. If you set this prop to `false` focus will be placed
@@ -3266,23 +3306,23 @@ process.env.NODE_ENV !== "production" && (ct.propTypes = {
3266
3306
  */
3267
3307
  variant: e.oneOf(["menu", "selectedMenu"])
3268
3308
  });
3269
- function jn(o) {
3309
+ function Ln(o) {
3270
3310
  return Q("MuiNativeSelect", o);
3271
3311
  }
3272
- const ho = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), $n = (o) => {
3312
+ const vo = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), jn = (o) => {
3273
3313
  const {
3274
3314
  classes: t,
3275
3315
  variant: n,
3276
3316
  disabled: r,
3277
- multiple: a,
3278
- open: s,
3279
- error: i
3317
+ multiple: s,
3318
+ open: i,
3319
+ error: a
3280
3320
  } = o, l = {
3281
- select: ["select", n, r && "disabled", a && "multiple", i && "error"],
3282
- icon: ["icon", `icon${de(n)}`, s && "iconOpen", r && "disabled"]
3321
+ select: ["select", n, r && "disabled", s && "multiple", a && "error"],
3322
+ icon: ["icon", `icon${ce(n)}`, i && "iconOpen", r && "disabled"]
3283
3323
  };
3284
- return oe(l, jn, t);
3285
- }, dt = F("select")(({
3324
+ return oe(l, Ln, t);
3325
+ }, pt = k("select")(({
3286
3326
  theme: o
3287
3327
  }) => ({
3288
3328
  // Reset
@@ -3299,7 +3339,7 @@ const ho = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
3299
3339
  // Reset Chrome style
3300
3340
  borderRadius: 0
3301
3341
  },
3302
- [`&.${ho.disabled}`]: {
3342
+ [`&.${vo.disabled}`]: {
3303
3343
  cursor: "default"
3304
3344
  },
3305
3345
  "&[multiple]": {
@@ -3344,7 +3384,7 @@ const ho = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
3344
3384
  }
3345
3385
  }
3346
3386
  }]
3347
- })), Dn = F(dt, {
3387
+ })), Dn = k(pt, {
3348
3388
  name: "MuiNativeSelect",
3349
3389
  slot: "Select",
3350
3390
  shouldForwardProp: he,
@@ -3353,10 +3393,10 @@ const ho = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
3353
3393
  ownerState: n
3354
3394
  } = o;
3355
3395
  return [t.select, t[n.variant], n.error && t.error, {
3356
- [`&.${ho.multiple}`]: t.multiple
3396
+ [`&.${vo.multiple}`]: t.multiple
3357
3397
  }];
3358
3398
  }
3359
- })({}), ut = F("svg")(({
3399
+ })({}), ft = k("svg")(({
3360
3400
  theme: o
3361
3401
  }) => ({
3362
3402
  // We use a position absolute over a flexbox in order to forward the pointer events
@@ -3368,7 +3408,7 @@ const ho = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
3368
3408
  // Don't block pointer events on the select under the icon.
3369
3409
  pointerEvents: "none",
3370
3410
  color: (o.vars || o).palette.action.active,
3371
- [`&.${ho.disabled}`]: {
3411
+ [`&.${vo.disabled}`]: {
3372
3412
  color: (o.vars || o).palette.action.disabled
3373
3413
  },
3374
3414
  variants: [{
@@ -3393,45 +3433,45 @@ const ho = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
3393
3433
  right: 7
3394
3434
  }
3395
3435
  }]
3396
- })), An = F(ut, {
3436
+ })), An = k(ft, {
3397
3437
  name: "MuiNativeSelect",
3398
3438
  slot: "Icon",
3399
3439
  overridesResolver: (o, t) => {
3400
3440
  const {
3401
3441
  ownerState: n
3402
3442
  } = o;
3403
- return [t.icon, n.variant && t[`icon${de(n.variant)}`], n.open && t.iconOpen];
3443
+ return [t.icon, n.variant && t[`icon${ce(n.variant)}`], n.open && t.iconOpen];
3404
3444
  }
3405
- })({}), pt = /* @__PURE__ */ c.forwardRef(function(t, n) {
3445
+ })({}), mt = /* @__PURE__ */ c.forwardRef(function(t, n) {
3406
3446
  const {
3407
3447
  className: r,
3408
- disabled: a,
3409
- error: s,
3410
- IconComponent: i,
3448
+ disabled: s,
3449
+ error: i,
3450
+ IconComponent: a,
3411
3451
  inputRef: l,
3412
- variant: u = "standard",
3413
- ...m
3414
- } = t, b = {
3452
+ variant: d = "standard",
3453
+ ...f
3454
+ } = t, T = {
3415
3455
  ...t,
3416
- disabled: a,
3417
- variant: u,
3418
- error: s
3419
- }, h = $n(b);
3456
+ disabled: s,
3457
+ variant: d,
3458
+ error: i
3459
+ }, b = jn(T);
3420
3460
  return /* @__PURE__ */ be(c.Fragment, {
3421
- children: [/* @__PURE__ */ I(Dn, {
3422
- ownerState: b,
3423
- className: Z(h.select, r),
3424
- disabled: a,
3461
+ children: [/* @__PURE__ */ w(Dn, {
3462
+ ownerState: T,
3463
+ className: Z(b.select, r),
3464
+ disabled: s,
3425
3465
  ref: l || n,
3426
- ...m
3427
- }), t.multiple ? null : /* @__PURE__ */ I(An, {
3428
- as: i,
3429
- ownerState: b,
3430
- className: h.icon
3466
+ ...f
3467
+ }), t.multiple ? null : /* @__PURE__ */ w(An, {
3468
+ as: a,
3469
+ ownerState: T,
3470
+ className: b.icon
3431
3471
  })]
3432
3472
  });
3433
3473
  });
3434
- process.env.NODE_ENV !== "production" && (pt.propTypes = {
3474
+ process.env.NODE_ENV !== "production" && (mt.propTypes = {
3435
3475
  /**
3436
3476
  * The option elements to populate the select with.
3437
3477
  * Can be some `<option>` elements.
@@ -3489,9 +3529,9 @@ process.env.NODE_ENV !== "production" && (pt.propTypes = {
3489
3529
  function Bn(o) {
3490
3530
  return Q("MuiSelect", o);
3491
3531
  }
3492
- const Ne = ee("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
3493
- var Uo;
3494
- const Un = F(dt, {
3532
+ const Me = ee("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
3533
+ var Wo;
3534
+ const Un = k(pt, {
3495
3535
  name: "MuiSelect",
3496
3536
  slot: "Select",
3497
3537
  overridesResolver: (o, t) => {
@@ -3501,22 +3541,22 @@ const Un = F(dt, {
3501
3541
  return [
3502
3542
  // Win specificity over the input base
3503
3543
  {
3504
- [`&.${Ne.select}`]: t.select
3544
+ [`&.${Me.select}`]: t.select
3505
3545
  },
3506
3546
  {
3507
- [`&.${Ne.select}`]: t[n.variant]
3547
+ [`&.${Me.select}`]: t[n.variant]
3508
3548
  },
3509
3549
  {
3510
- [`&.${Ne.error}`]: t.error
3550
+ [`&.${Me.error}`]: t.error
3511
3551
  },
3512
3552
  {
3513
- [`&.${Ne.multiple}`]: t.multiple
3553
+ [`&.${Me.multiple}`]: t.multiple
3514
3554
  }
3515
3555
  ];
3516
3556
  }
3517
3557
  })({
3518
3558
  // Win specificity over the input base
3519
- [`&.${Ne.select}`]: {
3559
+ [`&.${Me.select}`]: {
3520
3560
  height: "auto",
3521
3561
  // Resets for multiple select with chips
3522
3562
  minHeight: "1.4375em",
@@ -3525,17 +3565,17 @@ const Un = F(dt, {
3525
3565
  whiteSpace: "nowrap",
3526
3566
  overflow: "hidden"
3527
3567
  }
3528
- }), Wn = F(ut, {
3568
+ }), Vn = k(ft, {
3529
3569
  name: "MuiSelect",
3530
3570
  slot: "Icon",
3531
3571
  overridesResolver: (o, t) => {
3532
3572
  const {
3533
3573
  ownerState: n
3534
3574
  } = o;
3535
- return [t.icon, n.variant && t[`icon${de(n.variant)}`], n.open && t.iconOpen];
3575
+ return [t.icon, n.variant && t[`icon${ce(n.variant)}`], n.open && t.iconOpen];
3536
3576
  }
3537
- })({}), Vn = F("input", {
3538
- shouldForwardProp: (o) => Tt(o) && o !== "classes",
3577
+ })({}), Wn = k("input", {
3578
+ shouldForwardProp: (o) => Ot(o) && o !== "classes",
3539
3579
  name: "MuiSelect",
3540
3580
  slot: "NativeInput",
3541
3581
  overridesResolver: (o, t) => t.nativeInput
@@ -3548,7 +3588,7 @@ const Un = F(dt, {
3548
3588
  width: "100%",
3549
3589
  boxSizing: "border-box"
3550
3590
  });
3551
- function Wo(o, t) {
3591
+ function zo(o, t) {
3552
3592
  return typeof t == "object" && t !== null ? o === t : String(o) === String(t);
3553
3593
  }
3554
3594
  function zn(o) {
@@ -3559,238 +3599,238 @@ const qn = (o) => {
3559
3599
  classes: t,
3560
3600
  variant: n,
3561
3601
  disabled: r,
3562
- multiple: a,
3563
- open: s,
3564
- error: i
3602
+ multiple: s,
3603
+ open: i,
3604
+ error: a
3565
3605
  } = o, l = {
3566
- select: ["select", n, r && "disabled", a && "multiple", i && "error"],
3567
- icon: ["icon", `icon${de(n)}`, s && "iconOpen", r && "disabled"],
3606
+ select: ["select", n, r && "disabled", s && "multiple", a && "error"],
3607
+ icon: ["icon", `icon${ce(n)}`, i && "iconOpen", r && "disabled"],
3568
3608
  nativeInput: ["nativeInput"]
3569
3609
  };
3570
3610
  return oe(l, Bn, t);
3571
- }, ft = /* @__PURE__ */ c.forwardRef(function(t, n) {
3572
- var Eo;
3611
+ }, bt = /* @__PURE__ */ c.forwardRef(function(t, n) {
3612
+ var Ro;
3573
3613
  const {
3574
3614
  "aria-describedby": r,
3575
- "aria-label": a,
3576
- autoFocus: s,
3577
- autoWidth: i,
3615
+ "aria-label": s,
3616
+ autoFocus: i,
3617
+ autoWidth: a,
3578
3618
  children: l,
3579
- className: u,
3580
- defaultOpen: m,
3581
- defaultValue: b,
3582
- disabled: h,
3583
- displayEmpty: T,
3584
- error: f = !1,
3585
- IconComponent: p,
3619
+ className: d,
3620
+ defaultOpen: f,
3621
+ defaultValue: T,
3622
+ disabled: b,
3623
+ displayEmpty: O,
3624
+ error: p = !1,
3625
+ IconComponent: h,
3586
3626
  inputRef: R,
3587
3627
  labelId: v,
3588
3628
  MenuProps: y = {},
3589
- multiple: C,
3590
- name: d,
3629
+ multiple: P,
3630
+ name: u,
3591
3631
  onBlur: g,
3592
- onChange: P,
3593
- onClose: B,
3594
- onFocus: M,
3595
- onOpen: S,
3596
- open: D,
3597
- readOnly: L,
3598
- renderValue: U,
3632
+ onChange: C,
3633
+ onClose: D,
3634
+ onFocus: N,
3635
+ onOpen: I,
3636
+ open: F,
3637
+ readOnly: B,
3638
+ renderValue: A,
3599
3639
  SelectDisplayProps: V = {},
3600
- tabIndex: k,
3640
+ tabIndex: W,
3601
3641
  // catching `type` from Input which makes no sense for SelectInput
3602
- type: z,
3603
- value: N,
3604
- variant: x = "standard",
3605
- ...w
3606
- } = t, [O, H] = Io({
3607
- controlled: N,
3608
- default: b,
3642
+ type: q,
3643
+ value: m,
3644
+ variant: E = "standard",
3645
+ ...M
3646
+ } = t, [S, H] = ko({
3647
+ controlled: m,
3648
+ default: T,
3609
3649
  name: "Select"
3610
- }), [Y, ie] = Io({
3611
- controlled: D,
3612
- default: m,
3650
+ }), [Y, ie] = ko({
3651
+ controlled: F,
3652
+ default: f,
3613
3653
  name: "Select"
3614
- }), fe = c.useRef(null), q = c.useRef(null), [_, X] = c.useState(null), {
3615
- current: te
3616
- } = c.useRef(D != null), [ve, ye] = c.useState(), ae = ge(n, R), j = c.useCallback((E) => {
3617
- q.current = E, E && X(E);
3618
- }, []), A = _ == null ? void 0 : _.parentNode;
3654
+ }), fe = c.useRef(null), z = c.useRef(null), [_, X] = c.useState(null), {
3655
+ current: ne
3656
+ } = c.useRef(F != null), [ve, ye] = c.useState(), ae = ge(n, R), $ = c.useCallback((x) => {
3657
+ z.current = x, x && X(x);
3658
+ }, []), j = _ == null ? void 0 : _.parentNode;
3619
3659
  c.useImperativeHandle(ae, () => ({
3620
3660
  focus: () => {
3621
- q.current.focus();
3661
+ z.current.focus();
3622
3662
  },
3623
3663
  node: fe.current,
3624
- value: O
3625
- }), [O]), c.useEffect(() => {
3626
- m && Y && _ && !te && (ye(i ? null : A.clientWidth), q.current.focus());
3627
- }, [_, i]), c.useEffect(() => {
3628
- s && q.current.focus();
3629
- }, [s]), c.useEffect(() => {
3664
+ value: S
3665
+ }), [S]), c.useEffect(() => {
3666
+ f && Y && _ && !ne && (ye(a ? null : j.clientWidth), z.current.focus());
3667
+ }, [_, a]), c.useEffect(() => {
3668
+ i && z.current.focus();
3669
+ }, [i]), c.useEffect(() => {
3630
3670
  if (!v)
3631
3671
  return;
3632
- const E = ce(q.current).getElementById(v);
3633
- if (E) {
3634
- const $ = () => {
3635
- getSelection().isCollapsed && q.current.focus();
3672
+ const x = pe(z.current).getElementById(v);
3673
+ if (x) {
3674
+ const L = () => {
3675
+ getSelection().isCollapsed && z.current.focus();
3636
3676
  };
3637
- return E.addEventListener("click", $), () => {
3638
- E.removeEventListener("click", $);
3677
+ return x.addEventListener("click", L), () => {
3678
+ x.removeEventListener("click", L);
3639
3679
  };
3640
3680
  }
3641
3681
  }, [v]);
3642
- const W = (E, $) => {
3643
- E ? S && S($) : B && B($), te || (ye(i ? null : A.clientWidth), ie(E));
3644
- }, J = (E) => {
3645
- E.button === 0 && (E.preventDefault(), q.current.focus(), W(!0, E));
3646
- }, ue = (E) => {
3647
- W(!1, E);
3648
- }, ne = c.Children.toArray(l), Ee = (E) => {
3649
- const $ = ne.find((G) => G.props.value === E.target.value);
3650
- $ !== void 0 && (H($.props.value), P && P(E, $));
3651
- }, xe = (E) => ($) => {
3682
+ const U = (x, L) => {
3683
+ x ? I && I(L) : D && D(L), ne || (ye(a ? null : j.clientWidth), ie(x));
3684
+ }, J = (x) => {
3685
+ x.button === 0 && (x.preventDefault(), z.current.focus(), U(!0, x));
3686
+ }, de = (x) => {
3687
+ U(!1, x);
3688
+ }, re = c.Children.toArray(l), xe = (x) => {
3689
+ const L = re.find((G) => G.props.value === x.target.value);
3690
+ L !== void 0 && (H(L.props.value), C && C(x, L));
3691
+ }, Re = (x) => (L) => {
3652
3692
  let G;
3653
- if ($.currentTarget.hasAttribute("tabindex")) {
3654
- if (C) {
3655
- G = Array.isArray(O) ? O.slice() : [];
3656
- const Ce = O.indexOf(E.props.value);
3657
- Ce === -1 ? G.push(E.props.value) : G.splice(Ce, 1);
3693
+ if (L.currentTarget.hasAttribute("tabindex")) {
3694
+ if (P) {
3695
+ G = Array.isArray(S) ? S.slice() : [];
3696
+ const we = S.indexOf(x.props.value);
3697
+ we === -1 ? G.push(x.props.value) : G.splice(we, 1);
3658
3698
  } else
3659
- G = E.props.value;
3660
- if (E.props.onClick && E.props.onClick($), O !== G && (H(G), P)) {
3661
- const Ce = $.nativeEvent || $, xo = new Ce.constructor(Ce.type, Ce);
3662
- Object.defineProperty(xo, "target", {
3699
+ G = x.props.value;
3700
+ if (x.props.onClick && x.props.onClick(L), S !== G && (H(G), C)) {
3701
+ const we = L.nativeEvent || L, Po = new we.constructor(we.type, we);
3702
+ Object.defineProperty(Po, "target", {
3663
3703
  writable: !0,
3664
3704
  value: {
3665
3705
  value: G,
3666
- name: d
3706
+ name: u
3667
3707
  }
3668
- }), P(xo, E);
3708
+ }), C(Po, x);
3669
3709
  }
3670
- C || W(!1, $);
3710
+ P || U(!1, L);
3671
3711
  }
3672
- }, Re = (E) => {
3673
- L || [
3712
+ }, Pe = (x) => {
3713
+ B || [
3674
3714
  " ",
3675
3715
  "ArrowUp",
3676
3716
  "ArrowDown",
3677
3717
  // The native select doesn't respond to enter on macOS, but it's recommended by
3678
3718
  // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
3679
3719
  "Enter"
3680
- ].includes(E.key) && (E.preventDefault(), W(!0, E));
3681
- }, le = _ !== null && Y, Pe = (E) => {
3682
- !le && g && (Object.defineProperty(E, "target", {
3720
+ ].includes(x.key) && (x.preventDefault(), U(!0, x));
3721
+ }, le = _ !== null && Y, Ce = (x) => {
3722
+ !le && g && (Object.defineProperty(x, "target", {
3683
3723
  writable: !0,
3684
3724
  value: {
3685
- value: O,
3686
- name: d
3725
+ value: S,
3726
+ name: u
3687
3727
  }
3688
- }), g(E));
3728
+ }), g(x));
3689
3729
  };
3690
- delete w["aria-invalid"];
3691
- let K, we;
3730
+ delete M["aria-invalid"];
3731
+ let K, Ie;
3692
3732
  const Ue = [];
3693
- let We = !1, Xe = !1;
3694
- (to({
3695
- value: O
3696
- }) || T) && (U ? K = U(O) : We = !0);
3697
- const bt = ne.map((E) => {
3698
- if (!/* @__PURE__ */ c.isValidElement(E))
3733
+ let Ve = !1, Ye = !1;
3734
+ (ro({
3735
+ value: S
3736
+ }) || O) && (A ? K = A(S) : Ve = !0);
3737
+ const gt = re.map((x) => {
3738
+ if (!/* @__PURE__ */ c.isValidElement(x))
3699
3739
  return null;
3700
- process.env.NODE_ENV !== "production" && lo.isFragment(E) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
3740
+ process.env.NODE_ENV !== "production" && uo.isFragment(x) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
3701
3741
  `));
3702
- let $;
3703
- if (C) {
3704
- if (!Array.isArray(O))
3705
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : ht(2));
3706
- $ = O.some((G) => Wo(G, E.props.value)), $ && We && Ue.push(E.props.children);
3742
+ let L;
3743
+ if (P) {
3744
+ if (!Array.isArray(S))
3745
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : vt(2));
3746
+ L = S.some((G) => zo(G, x.props.value)), L && Ve && Ue.push(x.props.children);
3707
3747
  } else
3708
- $ = Wo(O, E.props.value), $ && We && (we = E.props.children);
3709
- return $ && (Xe = !0), /* @__PURE__ */ c.cloneElement(E, {
3710
- "aria-selected": $ ? "true" : "false",
3711
- onClick: xe(E),
3748
+ L = zo(S, x.props.value), L && Ve && (Ie = x.props.children);
3749
+ return L && (Ye = !0), /* @__PURE__ */ c.cloneElement(x, {
3750
+ "aria-selected": L ? "true" : "false",
3751
+ onClick: Re(x),
3712
3752
  onKeyUp: (G) => {
3713
- G.key === " " && G.preventDefault(), E.props.onKeyUp && E.props.onKeyUp(G);
3753
+ G.key === " " && G.preventDefault(), x.props.onKeyUp && x.props.onKeyUp(G);
3714
3754
  },
3715
3755
  role: "option",
3716
- selected: $,
3756
+ selected: L,
3717
3757
  value: void 0,
3718
3758
  // The value is most likely not a valid HTML attribute.
3719
- "data-value": E.props.value
3759
+ "data-value": x.props.value
3720
3760
  // Instead, we provide it as a data attribute.
3721
3761
  });
3722
3762
  });
3723
3763
  process.env.NODE_ENV !== "production" && c.useEffect(() => {
3724
- if (!Xe && !C && O !== "") {
3725
- const E = ne.map(($) => $.props.value);
3726
- console.warn([`MUI: You have provided an out-of-range value \`${O}\` for the select ${d ? `(name="${d}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${E.filter(($) => $ != null).map(($) => `\`${$}\``).join(", ") || '""'}.`].join(`
3764
+ if (!Ye && !P && S !== "") {
3765
+ const x = re.map((L) => L.props.value);
3766
+ console.warn([`MUI: You have provided an out-of-range value \`${S}\` for the select ${u ? `(name="${u}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${x.filter((L) => L != null).map((L) => `\`${L}\``).join(", ") || '""'}.`].join(`
3727
3767
  `));
3728
3768
  }
3729
- }, [Xe, ne, C, d, O]), We && (C ? Ue.length === 0 ? K = null : K = Ue.reduce((E, $, G) => (E.push($), G < Ue.length - 1 && E.push(", "), E), []) : K = we);
3730
- let yo = ve;
3731
- !i && te && _ && (yo = A.clientWidth);
3732
- let Ge;
3733
- typeof k < "u" ? Ge = k : Ge = h ? null : 0;
3734
- const To = V.id || (d ? `mui-component-select-${d}` : void 0), Ve = {
3769
+ }, [Ye, re, P, u, S]), Ve && (P ? Ue.length === 0 ? K = null : K = Ue.reduce((x, L, G) => (x.push(L), G < Ue.length - 1 && x.push(", "), x), []) : K = Ie);
3770
+ let Eo = ve;
3771
+ !a && ne && _ && (Eo = j.clientWidth);
3772
+ let Je;
3773
+ typeof W < "u" ? Je = W : Je = b ? null : 0;
3774
+ const Oo = V.id || (u ? `mui-component-select-${u}` : void 0), We = {
3735
3775
  ...t,
3736
- variant: x,
3737
- value: O,
3776
+ variant: E,
3777
+ value: S,
3738
3778
  open: le,
3739
- error: f
3740
- }, Ye = qn(Ve), Je = {
3779
+ error: p
3780
+ }, Ze = qn(We), Qe = {
3741
3781
  ...y.PaperProps,
3742
- ...(Eo = y.slotProps) == null ? void 0 : Eo.paper
3743
- }, Oo = zo();
3782
+ ...(Ro = y.slotProps) == null ? void 0 : Ro.paper
3783
+ }, xo = _o();
3744
3784
  return /* @__PURE__ */ be(c.Fragment, {
3745
- children: [/* @__PURE__ */ I(Un, {
3785
+ children: [/* @__PURE__ */ w(Un, {
3746
3786
  as: "div",
3747
- ref: j,
3748
- tabIndex: Ge,
3787
+ ref: $,
3788
+ tabIndex: Je,
3749
3789
  role: "combobox",
3750
- "aria-controls": Oo,
3751
- "aria-disabled": h ? "true" : void 0,
3790
+ "aria-controls": xo,
3791
+ "aria-disabled": b ? "true" : void 0,
3752
3792
  "aria-expanded": le ? "true" : "false",
3753
3793
  "aria-haspopup": "listbox",
3754
- "aria-label": a,
3755
- "aria-labelledby": [v, To].filter(Boolean).join(" ") || void 0,
3794
+ "aria-label": s,
3795
+ "aria-labelledby": [v, Oo].filter(Boolean).join(" ") || void 0,
3756
3796
  "aria-describedby": r,
3757
- onKeyDown: Re,
3758
- onMouseDown: h || L ? null : J,
3759
- onBlur: Pe,
3760
- onFocus: M,
3797
+ onKeyDown: Pe,
3798
+ onMouseDown: b || B ? null : J,
3799
+ onBlur: Ce,
3800
+ onFocus: N,
3761
3801
  ...V,
3762
- ownerState: Ve,
3763
- className: Z(V.className, Ye.select, u),
3764
- id: To,
3802
+ ownerState: We,
3803
+ className: Z(V.className, Ze.select, d),
3804
+ id: Oo,
3765
3805
  children: zn(K) ? (
3766
3806
  // notranslate needed while Google Translate will not fix zero-width space issue
3767
- Uo || (Uo = /* @__PURE__ */ I("span", {
3807
+ Wo || (Wo = /* @__PURE__ */ w("span", {
3768
3808
  className: "notranslate",
3769
3809
  children: "​"
3770
3810
  }))
3771
3811
  ) : K
3772
- }), /* @__PURE__ */ I(Vn, {
3773
- "aria-invalid": f,
3774
- value: Array.isArray(O) ? O.join(",") : O,
3775
- name: d,
3812
+ }), /* @__PURE__ */ w(Wn, {
3813
+ "aria-invalid": p,
3814
+ value: Array.isArray(S) ? S.join(",") : S,
3815
+ name: u,
3776
3816
  ref: fe,
3777
3817
  "aria-hidden": !0,
3778
- onChange: Ee,
3818
+ onChange: xe,
3779
3819
  tabIndex: -1,
3780
- disabled: h,
3781
- className: Ye.nativeInput,
3782
- autoFocus: s,
3783
- ...w,
3784
- ownerState: Ve
3785
- }), /* @__PURE__ */ I(Wn, {
3786
- as: p,
3787
- className: Ye.icon,
3788
- ownerState: Ve
3789
- }), /* @__PURE__ */ I(ct, {
3790
- id: `menu-${d || ""}`,
3791
- anchorEl: A,
3820
+ disabled: b,
3821
+ className: Ze.nativeInput,
3822
+ autoFocus: i,
3823
+ ...M,
3824
+ ownerState: We
3825
+ }), /* @__PURE__ */ w(Vn, {
3826
+ as: h,
3827
+ className: Ze.icon,
3828
+ ownerState: We
3829
+ }), /* @__PURE__ */ w(ut, {
3830
+ id: `menu-${u || ""}`,
3831
+ anchorEl: j,
3792
3832
  open: le,
3793
- onClose: ue,
3833
+ onClose: de,
3794
3834
  anchorOrigin: {
3795
3835
  vertical: "bottom",
3796
3836
  horizontal: "center"
@@ -3803,26 +3843,26 @@ const qn = (o) => {
3803
3843
  MenuListProps: {
3804
3844
  "aria-labelledby": v,
3805
3845
  role: "listbox",
3806
- "aria-multiselectable": C ? "true" : void 0,
3846
+ "aria-multiselectable": P ? "true" : void 0,
3807
3847
  disableListWrap: !0,
3808
- id: Oo,
3848
+ id: xo,
3809
3849
  ...y.MenuListProps
3810
3850
  },
3811
3851
  slotProps: {
3812
3852
  ...y.slotProps,
3813
3853
  paper: {
3814
- ...Je,
3854
+ ...Qe,
3815
3855
  style: {
3816
- minWidth: yo,
3817
- ...Je != null ? Je.style : null
3856
+ minWidth: Eo,
3857
+ ...Qe != null ? Qe.style : null
3818
3858
  }
3819
3859
  }
3820
3860
  },
3821
- children: bt
3861
+ children: gt
3822
3862
  })]
3823
3863
  });
3824
3864
  });
3825
- process.env.NODE_ENV !== "production" && (ft.propTypes = {
3865
+ process.env.NODE_ENV !== "production" && (bt.propTypes = {
3826
3866
  /**
3827
3867
  * @ignore
3828
3868
  */
@@ -3966,34 +4006,34 @@ process.env.NODE_ENV !== "production" && (ft.propTypes = {
3966
4006
  */
3967
4007
  variant: e.oneOf(["standard", "outlined", "filled"])
3968
4008
  });
3969
- const _n = Nt(/* @__PURE__ */ I("path", {
4009
+ const _n = Ft(/* @__PURE__ */ w("path", {
3970
4010
  d: "M7 10l5 5 5-5z"
3971
4011
  }), "ArrowDropDown");
3972
4012
  function Hn(o) {
3973
4013
  return Q("MuiFilledInput", o);
3974
4014
  }
3975
4015
  const Te = {
3976
- ...co,
4016
+ ...po,
3977
4017
  ...ee("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
3978
4018
  }, Kn = (o) => {
3979
4019
  const {
3980
4020
  classes: t,
3981
4021
  disableUnderline: n,
3982
4022
  startAdornment: r,
3983
- endAdornment: a,
3984
- size: s,
3985
- hiddenLabel: i,
4023
+ endAdornment: s,
4024
+ size: i,
4025
+ hiddenLabel: a,
3986
4026
  multiline: l
3987
- } = o, u = {
3988
- root: ["root", !n && "underline", r && "adornedStart", a && "adornedEnd", s === "small" && `size${de(s)}`, i && "hiddenLabel", l && "multiline"],
4027
+ } = o, d = {
4028
+ root: ["root", !n && "underline", r && "adornedStart", s && "adornedEnd", i === "small" && `size${ce(i)}`, a && "hiddenLabel", l && "multiline"],
3989
4029
  input: ["input"]
3990
- }, m = oe(u, Hn, t);
4030
+ }, f = oe(d, Hn, t);
3991
4031
  return {
3992
4032
  ...t,
3993
4033
  // forward classes to the InputBase
3994
- ...m
4034
+ ...f
3995
4035
  };
3996
- }, Xn = F(uo, {
4036
+ }, Xn = k(fo, {
3997
4037
  shouldForwardProp: (o) => he(o) || o === "classes",
3998
4038
  name: "MuiFilledInput",
3999
4039
  slot: "Root",
@@ -4001,12 +4041,12 @@ const Te = {
4001
4041
  const {
4002
4042
  ownerState: n
4003
4043
  } = o;
4004
- return [...po(o, t), !n.disableUnderline && t.underline];
4044
+ return [...mo(o, t), !n.disableUnderline && t.underline];
4005
4045
  }
4006
4046
  })(se(({
4007
4047
  theme: o
4008
4048
  }) => {
4009
- const t = o.palette.mode === "light", n = t ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)", r = t ? "rgba(0, 0, 0, 0.06)" : "rgba(255, 255, 255, 0.09)", a = t ? "rgba(0, 0, 0, 0.09)" : "rgba(255, 255, 255, 0.13)", s = t ? "rgba(0, 0, 0, 0.12)" : "rgba(255, 255, 255, 0.12)";
4049
+ const t = o.palette.mode === "light", n = t ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)", r = t ? "rgba(0, 0, 0, 0.06)" : "rgba(255, 255, 255, 0.09)", s = t ? "rgba(0, 0, 0, 0.09)" : "rgba(255, 255, 255, 0.13)", i = t ? "rgba(0, 0, 0, 0.12)" : "rgba(255, 255, 255, 0.12)";
4010
4050
  return {
4011
4051
  position: "relative",
4012
4052
  backgroundColor: o.vars ? o.vars.palette.FilledInput.bg : r,
@@ -4017,7 +4057,7 @@ const Te = {
4017
4057
  easing: o.transitions.easing.easeOut
4018
4058
  }),
4019
4059
  "&:hover": {
4020
- backgroundColor: o.vars ? o.vars.palette.FilledInput.hoverBg : a,
4060
+ backgroundColor: o.vars ? o.vars.palette.FilledInput.hoverBg : s,
4021
4061
  // Reset on touch devices, it doesn't add specificity
4022
4062
  "@media (hover: none)": {
4023
4063
  backgroundColor: o.vars ? o.vars.palette.FilledInput.bg : r
@@ -4027,12 +4067,12 @@ const Te = {
4027
4067
  backgroundColor: o.vars ? o.vars.palette.FilledInput.bg : r
4028
4068
  },
4029
4069
  [`&.${Te.disabled}`]: {
4030
- backgroundColor: o.vars ? o.vars.palette.FilledInput.disabledBg : s
4070
+ backgroundColor: o.vars ? o.vars.palette.FilledInput.disabledBg : i
4031
4071
  },
4032
4072
  variants: [{
4033
4073
  props: ({
4034
- ownerState: i
4035
- }) => !i.disableUnderline,
4074
+ ownerState: a
4075
+ }) => !a.disableUnderline,
4036
4076
  style: {
4037
4077
  "&::after": {
4038
4078
  left: 0,
@@ -4078,71 +4118,71 @@ const Te = {
4078
4118
  borderBottomStyle: "dotted"
4079
4119
  }
4080
4120
  }
4081
- }, ...Object.entries(o.palette).filter(([, i]) => i && i.main).map(([i]) => {
4121
+ }, ...Object.entries(o.palette).filter(Ge()).map(([a]) => {
4082
4122
  var l;
4083
4123
  return {
4084
4124
  props: {
4085
4125
  disableUnderline: !1,
4086
- color: i
4126
+ color: a
4087
4127
  },
4088
4128
  style: {
4089
4129
  "&::after": {
4090
- borderBottom: `2px solid ${(l = (o.vars || o).palette[i]) == null ? void 0 : l.main}`
4130
+ borderBottom: `2px solid ${(l = (o.vars || o).palette[a]) == null ? void 0 : l.main}`
4091
4131
  }
4092
4132
  }
4093
4133
  };
4094
4134
  }), {
4095
4135
  props: ({
4096
- ownerState: i
4097
- }) => i.startAdornment,
4136
+ ownerState: a
4137
+ }) => a.startAdornment,
4098
4138
  style: {
4099
4139
  paddingLeft: 12
4100
4140
  }
4101
4141
  }, {
4102
4142
  props: ({
4103
- ownerState: i
4104
- }) => i.endAdornment,
4143
+ ownerState: a
4144
+ }) => a.endAdornment,
4105
4145
  style: {
4106
4146
  paddingRight: 12
4107
4147
  }
4108
4148
  }, {
4109
4149
  props: ({
4110
- ownerState: i
4111
- }) => i.multiline,
4150
+ ownerState: a
4151
+ }) => a.multiline,
4112
4152
  style: {
4113
4153
  padding: "25px 12px 8px"
4114
4154
  }
4115
4155
  }, {
4116
4156
  props: ({
4117
- ownerState: i,
4157
+ ownerState: a,
4118
4158
  size: l
4119
- }) => i.multiline && l === "small",
4159
+ }) => a.multiline && l === "small",
4120
4160
  style: {
4121
4161
  paddingTop: 21,
4122
4162
  paddingBottom: 4
4123
4163
  }
4124
4164
  }, {
4125
4165
  props: ({
4126
- ownerState: i
4127
- }) => i.multiline && i.hiddenLabel,
4166
+ ownerState: a
4167
+ }) => a.multiline && a.hiddenLabel,
4128
4168
  style: {
4129
4169
  paddingTop: 16,
4130
4170
  paddingBottom: 17
4131
4171
  }
4132
4172
  }, {
4133
4173
  props: ({
4134
- ownerState: i
4135
- }) => i.multiline && i.hiddenLabel && i.size === "small",
4174
+ ownerState: a
4175
+ }) => a.multiline && a.hiddenLabel && a.size === "small",
4136
4176
  style: {
4137
4177
  paddingTop: 8,
4138
4178
  paddingBottom: 9
4139
4179
  }
4140
4180
  }]
4141
4181
  };
4142
- })), Gn = F(fo, {
4182
+ })), Gn = k(bo, {
4143
4183
  name: "MuiFilledInput",
4144
4184
  slot: "Input",
4145
- overridesResolver: mo
4185
+ overridesResolver: ho
4146
4186
  })(se(({
4147
4187
  theme: o
4148
4188
  }) => ({
@@ -4221,30 +4261,30 @@ const Te = {
4221
4261
  paddingRight: 0
4222
4262
  }
4223
4263
  }]
4224
- }))), $e = /* @__PURE__ */ c.forwardRef(function(t, n) {
4225
- const r = re({
4264
+ }))), je = /* @__PURE__ */ c.forwardRef(function(t, n) {
4265
+ const r = te({
4226
4266
  props: t,
4227
4267
  name: "MuiFilledInput"
4228
4268
  }), {
4229
- disableUnderline: a = !1,
4230
- components: s = {},
4231
- componentsProps: i,
4269
+ disableUnderline: s = !1,
4270
+ components: i = {},
4271
+ componentsProps: a,
4232
4272
  fullWidth: l = !1,
4233
- hiddenLabel: u,
4273
+ hiddenLabel: d,
4234
4274
  // declare here to prevent spreading to DOM
4235
- inputComponent: m = "input",
4236
- multiline: b = !1,
4237
- slotProps: h,
4238
- slots: T = {},
4239
- type: f = "text",
4240
- ...p
4275
+ inputComponent: f = "input",
4276
+ multiline: T = !1,
4277
+ slotProps: b,
4278
+ slots: O = {},
4279
+ type: p = "text",
4280
+ ...h
4241
4281
  } = r, R = {
4242
4282
  ...r,
4243
- disableUnderline: a,
4283
+ disableUnderline: s,
4244
4284
  fullWidth: l,
4245
- inputComponent: m,
4246
- multiline: b,
4247
- type: f
4285
+ inputComponent: f,
4286
+ multiline: T,
4287
+ type: p
4248
4288
  }, v = Kn(r), y = {
4249
4289
  root: {
4250
4290
  ownerState: R
@@ -4252,23 +4292,23 @@ const Te = {
4252
4292
  input: {
4253
4293
  ownerState: R
4254
4294
  }
4255
- }, C = h ?? i ? io(y, h ?? i) : y, d = T.root ?? s.Root ?? Xn, g = T.input ?? s.Input ?? Gn;
4256
- return /* @__PURE__ */ I(bo, {
4295
+ }, P = b ?? a ? lo(y, b ?? a) : y, u = O.root ?? i.Root ?? Xn, g = O.input ?? i.Input ?? Gn;
4296
+ return /* @__PURE__ */ w(go, {
4257
4297
  slots: {
4258
- root: d,
4298
+ root: u,
4259
4299
  input: g
4260
4300
  },
4261
- componentsProps: C,
4301
+ componentsProps: P,
4262
4302
  fullWidth: l,
4263
- inputComponent: m,
4264
- multiline: b,
4303
+ inputComponent: f,
4304
+ multiline: T,
4265
4305
  ref: n,
4266
- type: f,
4267
- ...p,
4306
+ type: p,
4307
+ ...h,
4268
4308
  classes: v
4269
4309
  });
4270
4310
  });
4271
- process.env.NODE_ENV !== "production" && ($e.propTypes = {
4311
+ process.env.NODE_ENV !== "production" && (je.propTypes = {
4272
4312
  // ┌────────────────────────────── Warning ──────────────────────────────┐
4273
4313
  // │ These PropTypes are generated from the TypeScript type definitions. │
4274
4314
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -4460,9 +4500,9 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
4460
4500
  */
4461
4501
  value: e.any
4462
4502
  });
4463
- $e && ($e.muiName = "Input");
4464
- var Vo;
4465
- const Yn = F("fieldset", {
4503
+ je && (je.muiName = "Input");
4504
+ var qo;
4505
+ const Yn = k("fieldset", {
4466
4506
  shouldForwardProp: he
4467
4507
  })({
4468
4508
  textAlign: "left",
@@ -4479,7 +4519,7 @@ const Yn = F("fieldset", {
4479
4519
  borderWidth: 1,
4480
4520
  overflow: "hidden",
4481
4521
  minWidth: "0%"
4482
- }), Jn = F("legend", {
4522
+ }), Jn = k("legend", {
4483
4523
  shouldForwardProp: he
4484
4524
  })(se(({
4485
4525
  theme: o
@@ -4543,31 +4583,31 @@ const Yn = F("fieldset", {
4543
4583
  }
4544
4584
  }]
4545
4585
  })));
4546
- function mt(o) {
4586
+ function ht(o) {
4547
4587
  const {
4548
4588
  children: t,
4549
4589
  classes: n,
4550
4590
  className: r,
4551
- label: a,
4552
- notched: s,
4553
- ...i
4554
- } = o, l = a != null && a !== "", u = {
4591
+ label: s,
4592
+ notched: i,
4593
+ ...a
4594
+ } = o, l = s != null && s !== "", d = {
4555
4595
  ...o,
4556
- notched: s,
4596
+ notched: i,
4557
4597
  withLabel: l
4558
4598
  };
4559
- return /* @__PURE__ */ I(Yn, {
4599
+ return /* @__PURE__ */ w(Yn, {
4560
4600
  "aria-hidden": !0,
4561
4601
  className: r,
4562
- ownerState: u,
4563
- ...i,
4564
- children: /* @__PURE__ */ I(Jn, {
4565
- ownerState: u,
4566
- children: l ? /* @__PURE__ */ I("span", {
4567
- children: a
4602
+ ownerState: d,
4603
+ ...a,
4604
+ children: /* @__PURE__ */ w(Jn, {
4605
+ ownerState: d,
4606
+ children: l ? /* @__PURE__ */ w("span", {
4607
+ children: s
4568
4608
  }) : (
4569
4609
  // notranslate needed while Google Translate will not fix zero-width space issue
4570
- Vo || (Vo = /* @__PURE__ */ I("span", {
4610
+ qo || (qo = /* @__PURE__ */ w("span", {
4571
4611
  className: "notranslate",
4572
4612
  children: "​"
4573
4613
  }))
@@ -4575,7 +4615,7 @@ function mt(o) {
4575
4615
  })
4576
4616
  });
4577
4617
  }
4578
- process.env.NODE_ENV !== "production" && (mt.propTypes = {
4618
+ process.env.NODE_ENV !== "production" && (ht.propTypes = {
4579
4619
  /**
4580
4620
  * The content of the component.
4581
4621
  */
@@ -4604,8 +4644,8 @@ process.env.NODE_ENV !== "production" && (mt.propTypes = {
4604
4644
  function Zn(o) {
4605
4645
  return Q("MuiOutlinedInput", o);
4606
4646
  }
4607
- const pe = {
4608
- ...co,
4647
+ const ue = {
4648
+ ...po,
4609
4649
  ...ee("MuiOutlinedInput", ["root", "notchedOutline", "input"])
4610
4650
  }, Qn = (o) => {
4611
4651
  const {
@@ -4620,11 +4660,11 @@ const pe = {
4620
4660
  // forward classes to the InputBase
4621
4661
  ...r
4622
4662
  };
4623
- }, er = F(uo, {
4663
+ }, er = k(fo, {
4624
4664
  shouldForwardProp: (o) => he(o) || o === "classes",
4625
4665
  name: "MuiOutlinedInput",
4626
4666
  slot: "Root",
4627
- overridesResolver: po
4667
+ overridesResolver: mo
4628
4668
  })(se(({
4629
4669
  theme: o
4630
4670
  }) => {
@@ -4632,18 +4672,24 @@ const pe = {
4632
4672
  return {
4633
4673
  position: "relative",
4634
4674
  borderRadius: (o.vars || o).shape.borderRadius,
4635
- [`&:hover .${pe.notchedOutline}`]: {
4675
+ [`&:hover .${ue.notchedOutline}`]: {
4636
4676
  borderColor: (o.vars || o).palette.text.primary
4637
4677
  },
4638
- [`&.${pe.focused} .${pe.notchedOutline}`]: {
4678
+ // Reset on touch devices, it doesn't add specificity
4679
+ "@media (hover: none)": {
4680
+ [`&:hover .${ue.notchedOutline}`]: {
4681
+ borderColor: o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)` : t
4682
+ }
4683
+ },
4684
+ [`&.${ue.focused} .${ue.notchedOutline}`]: {
4639
4685
  borderWidth: 2
4640
4686
  },
4641
- variants: [...Object.entries(o.palette).filter(([, n]) => n && n.main).map(([n]) => ({
4687
+ variants: [...Object.entries(o.palette).filter(Ge()).map(([n]) => ({
4642
4688
  props: {
4643
4689
  color: n
4644
4690
  },
4645
4691
  style: {
4646
- [`&.${pe.focused} .${pe.notchedOutline}`]: {
4692
+ [`&.${ue.focused} .${ue.notchedOutline}`]: {
4647
4693
  borderColor: (o.vars || o).palette[n].main
4648
4694
  }
4649
4695
  }
@@ -4651,16 +4697,10 @@ const pe = {
4651
4697
  props: {},
4652
4698
  // to overide the above style
4653
4699
  style: {
4654
- // Reset on touch devices, it doesn't add specificity
4655
- "@media (hover: none)": {
4656
- [`&:hover .${pe.notchedOutline}`]: {
4657
- borderColor: o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)` : t
4658
- }
4659
- },
4660
- [`&.${pe.error} .${pe.notchedOutline}`]: {
4700
+ [`&.${ue.error} .${ue.notchedOutline}`]: {
4661
4701
  borderColor: (o.vars || o).palette.error.main
4662
4702
  },
4663
- [`&.${pe.disabled} .${pe.notchedOutline}`]: {
4703
+ [`&.${ue.disabled} .${ue.notchedOutline}`]: {
4664
4704
  borderColor: (o.vars || o).palette.action.disabled
4665
4705
  }
4666
4706
  }
@@ -4695,7 +4735,7 @@ const pe = {
4695
4735
  }
4696
4736
  }]
4697
4737
  };
4698
- })), or = F(mt, {
4738
+ })), or = k(ht, {
4699
4739
  name: "MuiOutlinedInput",
4700
4740
  slot: "NotchedOutline",
4701
4741
  overridesResolver: (o, t) => t.notchedOutline
@@ -4706,10 +4746,10 @@ const pe = {
4706
4746
  return {
4707
4747
  borderColor: o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)` : t
4708
4748
  };
4709
- })), tr = F(fo, {
4749
+ })), tr = k(bo, {
4710
4750
  name: "MuiOutlinedInput",
4711
4751
  slot: "Input",
4712
- overridesResolver: mo
4752
+ overridesResolver: ho
4713
4753
  })(se(({
4714
4754
  theme: o
4715
4755
  }) => ({
@@ -4765,57 +4805,57 @@ const pe = {
4765
4805
  }]
4766
4806
  }))), De = /* @__PURE__ */ c.forwardRef(function(t, n) {
4767
4807
  var r;
4768
- const a = re({
4808
+ const s = te({
4769
4809
  props: t,
4770
4810
  name: "MuiOutlinedInput"
4771
4811
  }), {
4772
- components: s = {},
4773
- fullWidth: i = !1,
4812
+ components: i = {},
4813
+ fullWidth: a = !1,
4774
4814
  inputComponent: l = "input",
4775
- label: u,
4776
- multiline: m = !1,
4777
- notched: b,
4778
- slots: h = {},
4779
- type: T = "text",
4780
- ...f
4781
- } = a, p = Qn(a), R = Ae(), v = Be({
4782
- props: a,
4815
+ label: d,
4816
+ multiline: f = !1,
4817
+ notched: T,
4818
+ slots: b = {},
4819
+ type: O = "text",
4820
+ ...p
4821
+ } = s, h = Qn(s), R = Ae(), v = Be({
4822
+ props: s,
4783
4823
  muiFormControl: R,
4784
4824
  states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
4785
4825
  }), y = {
4786
- ...a,
4826
+ ...s,
4787
4827
  color: v.color || "primary",
4788
4828
  disabled: v.disabled,
4789
4829
  error: v.error,
4790
4830
  focused: v.focused,
4791
4831
  formControl: R,
4792
- fullWidth: i,
4832
+ fullWidth: a,
4793
4833
  hiddenLabel: v.hiddenLabel,
4794
- multiline: m,
4834
+ multiline: f,
4795
4835
  size: v.size,
4796
- type: T
4797
- }, C = h.root ?? s.Root ?? er, d = h.input ?? s.Input ?? tr;
4798
- return /* @__PURE__ */ I(bo, {
4836
+ type: O
4837
+ }, P = b.root ?? i.Root ?? er, u = b.input ?? i.Input ?? tr;
4838
+ return /* @__PURE__ */ w(go, {
4799
4839
  slots: {
4800
- root: C,
4801
- input: d
4840
+ root: P,
4841
+ input: u
4802
4842
  },
4803
- renderSuffix: (g) => /* @__PURE__ */ I(or, {
4843
+ renderSuffix: (g) => /* @__PURE__ */ w(or, {
4804
4844
  ownerState: y,
4805
- className: p.notchedOutline,
4806
- label: u != null && u !== "" && v.required ? r || (r = /* @__PURE__ */ be(c.Fragment, {
4807
- children: [u, " ", "*"]
4808
- })) : u,
4809
- notched: typeof b < "u" ? b : !!(g.startAdornment || g.filled || g.focused)
4845
+ className: h.notchedOutline,
4846
+ label: d != null && d !== "" && v.required ? r || (r = /* @__PURE__ */ be(c.Fragment, {
4847
+ children: [d, " ", "*"]
4848
+ })) : d,
4849
+ notched: typeof T < "u" ? T : !!(g.startAdornment || g.filled || g.focused)
4810
4850
  }),
4811
- fullWidth: i,
4851
+ fullWidth: a,
4812
4852
  inputComponent: l,
4813
- multiline: m,
4853
+ multiline: f,
4814
4854
  ref: n,
4815
- type: T,
4816
- ...f,
4855
+ type: O,
4856
+ ...p,
4817
4857
  classes: {
4818
- ...p,
4858
+ ...h,
4819
4859
  notchedOutline: null
4820
4860
  }
4821
4861
  });
@@ -4991,109 +5031,109 @@ const nr = (o) => {
4991
5031
  classes: t
4992
5032
  } = o;
4993
5033
  return t;
4994
- }, go = {
5034
+ }, yo = {
4995
5035
  name: "MuiSelect",
4996
5036
  overridesResolver: (o, t) => t.root,
4997
5037
  shouldForwardProp: (o) => he(o) && o !== "variant",
4998
5038
  slot: "Root"
4999
- }, rr = F(je, go)(""), sr = F(De, go)(""), ir = F($e, go)(""), vo = /* @__PURE__ */ c.forwardRef(function(t, n) {
5000
- const r = Mt({
5039
+ }, rr = k(Le, yo)(""), sr = k(De, yo)(""), ir = k(je, yo)(""), To = /* @__PURE__ */ c.forwardRef(function(t, n) {
5040
+ const r = te({
5001
5041
  name: "MuiSelect",
5002
5042
  props: t
5003
5043
  }), {
5004
- autoWidth: a = !1,
5005
- children: s,
5006
- classes: i = {},
5044
+ autoWidth: s = !1,
5045
+ children: i,
5046
+ classes: a = {},
5007
5047
  className: l,
5008
- defaultOpen: u = !1,
5009
- displayEmpty: m = !1,
5010
- IconComponent: b = _n,
5011
- id: h,
5012
- input: T,
5013
- inputProps: f,
5014
- label: p,
5048
+ defaultOpen: d = !1,
5049
+ displayEmpty: f = !1,
5050
+ IconComponent: T = _n,
5051
+ id: b,
5052
+ input: O,
5053
+ inputProps: p,
5054
+ label: h,
5015
5055
  labelId: R,
5016
5056
  MenuProps: v,
5017
5057
  multiple: y = !1,
5018
- native: C = !1,
5019
- onClose: d,
5058
+ native: P = !1,
5059
+ onClose: u,
5020
5060
  onOpen: g,
5021
- open: P,
5022
- renderValue: B,
5023
- SelectDisplayProps: M,
5024
- variant: S = "outlined",
5025
- ...D
5026
- } = r, L = C ? pt : ft, U = Ae(), V = Be({
5061
+ open: C,
5062
+ renderValue: D,
5063
+ SelectDisplayProps: N,
5064
+ variant: I = "outlined",
5065
+ ...F
5066
+ } = r, B = P ? mt : bt, A = Ae(), V = Be({
5027
5067
  props: r,
5028
- muiFormControl: U,
5068
+ muiFormControl: A,
5029
5069
  states: ["variant", "error"]
5030
- }), k = V.variant || S, z = {
5070
+ }), W = V.variant || I, q = {
5031
5071
  ...r,
5032
- variant: k,
5033
- classes: i
5034
- }, N = nr(z), {
5035
- root: x,
5036
- ...w
5037
- } = N, O = T || {
5038
- standard: /* @__PURE__ */ I(rr, {
5039
- ownerState: z
5072
+ variant: W,
5073
+ classes: a
5074
+ }, m = nr(q), {
5075
+ root: E,
5076
+ ...M
5077
+ } = m, S = O || {
5078
+ standard: /* @__PURE__ */ w(rr, {
5079
+ ownerState: q
5040
5080
  }),
5041
- outlined: /* @__PURE__ */ I(sr, {
5042
- label: p,
5043
- ownerState: z
5081
+ outlined: /* @__PURE__ */ w(sr, {
5082
+ label: h,
5083
+ ownerState: q
5044
5084
  }),
5045
- filled: /* @__PURE__ */ I(ir, {
5046
- ownerState: z
5085
+ filled: /* @__PURE__ */ w(ir, {
5086
+ ownerState: q
5047
5087
  })
5048
- }[k], H = ge(n, Ke(O));
5049
- return /* @__PURE__ */ I(c.Fragment, {
5050
- children: /* @__PURE__ */ c.cloneElement(O, {
5088
+ }[W], H = ge(n, Xe(S));
5089
+ return /* @__PURE__ */ w(c.Fragment, {
5090
+ children: /* @__PURE__ */ c.cloneElement(S, {
5051
5091
  // Most of the logic is implemented in `SelectInput`.
5052
5092
  // The `Select` component is a simple API wrapper to expose something better to play with.
5053
- inputComponent: L,
5093
+ inputComponent: B,
5054
5094
  inputProps: {
5055
- children: s,
5095
+ children: i,
5056
5096
  error: V.error,
5057
- IconComponent: b,
5058
- variant: k,
5097
+ IconComponent: T,
5098
+ variant: W,
5059
5099
  type: void 0,
5060
5100
  // We render a select. We can ignore the type provided by the `Input`.
5061
5101
  multiple: y,
5062
- ...C ? {
5063
- id: h
5102
+ ...P ? {
5103
+ id: b
5064
5104
  } : {
5065
- autoWidth: a,
5066
- defaultOpen: u,
5067
- displayEmpty: m,
5105
+ autoWidth: s,
5106
+ defaultOpen: d,
5107
+ displayEmpty: f,
5068
5108
  labelId: R,
5069
5109
  MenuProps: v,
5070
- onClose: d,
5110
+ onClose: u,
5071
5111
  onOpen: g,
5072
- open: P,
5073
- renderValue: B,
5112
+ open: C,
5113
+ renderValue: D,
5074
5114
  SelectDisplayProps: {
5075
- id: h,
5076
- ...M
5115
+ id: b,
5116
+ ...N
5077
5117
  }
5078
5118
  },
5079
- ...f,
5080
- classes: f ? io(w, f.classes) : w,
5081
- ...T ? T.props.inputProps : {}
5119
+ ...p,
5120
+ classes: p ? lo(M, p.classes) : M,
5121
+ ...O ? O.props.inputProps : {}
5082
5122
  },
5083
- ...(y && C || m) && k === "outlined" ? {
5123
+ ...(y && P || f) && W === "outlined" ? {
5084
5124
  notched: !0
5085
5125
  } : {},
5086
5126
  ref: H,
5087
- className: Z(O.props.className, l, N.root),
5127
+ className: Z(S.props.className, l, m.root),
5088
5128
  // If a custom input is provided via 'input' prop, do not allow 'variant' to be propagated to it's root element. See https://github.com/mui/material-ui/issues/33894.
5089
- ...!T && {
5090
- variant: k
5129
+ ...!O && {
5130
+ variant: W
5091
5131
  },
5092
- ...D
5132
+ ...F
5093
5133
  })
5094
5134
  });
5095
5135
  });
5096
- process.env.NODE_ENV !== "production" && (vo.propTypes = {
5136
+ process.env.NODE_ENV !== "production" && (To.propTypes = {
5097
5137
  // ┌────────────────────────────── Warning ──────────────────────────────┐
5098
5138
  // │ These PropTypes are generated from the TypeScript type definitions. │
5099
5139
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -5240,14 +5280,14 @@ process.env.NODE_ENV !== "production" && (vo.propTypes = {
5240
5280
  */
5241
5281
  variant: e.oneOf(["filled", "outlined", "standard"])
5242
5282
  });
5243
- vo.muiName = "Select";
5283
+ To.muiName = "Select";
5244
5284
  function ar(o) {
5245
5285
  return Q("MuiTextField", o);
5246
5286
  }
5247
5287
  ee("MuiTextField", ["root"]);
5248
5288
  const lr = {
5249
- standard: je,
5250
- filled: $e,
5289
+ standard: Le,
5290
+ filled: je,
5251
5291
  outlined: De
5252
5292
  }, cr = (o) => {
5253
5293
  const {
@@ -5256,149 +5296,149 @@ const lr = {
5256
5296
  return oe({
5257
5297
  root: ["root"]
5258
5298
  }, ar, t);
5259
- }, dr = F(Qo, {
5299
+ }, dr = k(ot, {
5260
5300
  name: "MuiTextField",
5261
5301
  slot: "Root",
5262
5302
  overridesResolver: (o, t) => t.root
5263
5303
  })({}), ur = /* @__PURE__ */ c.forwardRef(function(t, n) {
5264
- const r = re({
5304
+ const r = te({
5265
5305
  props: t,
5266
5306
  name: "MuiTextField"
5267
5307
  }), {
5268
- autoComplete: a,
5269
- autoFocus: s = !1,
5270
- children: i,
5308
+ autoComplete: s,
5309
+ autoFocus: i = !1,
5310
+ children: a,
5271
5311
  className: l,
5272
- color: u = "primary",
5273
- defaultValue: m,
5274
- disabled: b = !1,
5275
- error: h = !1,
5276
- FormHelperTextProps: T,
5277
- fullWidth: f = !1,
5278
- helperText: p,
5312
+ color: d = "primary",
5313
+ defaultValue: f,
5314
+ disabled: T = !1,
5315
+ error: b = !1,
5316
+ FormHelperTextProps: O,
5317
+ fullWidth: p = !1,
5318
+ helperText: h,
5279
5319
  id: R,
5280
5320
  InputLabelProps: v,
5281
5321
  inputProps: y,
5282
- InputProps: C,
5283
- inputRef: d,
5322
+ InputProps: P,
5323
+ inputRef: u,
5284
5324
  label: g,
5285
- maxRows: P,
5286
- minRows: B,
5287
- multiline: M = !1,
5288
- name: S,
5289
- onBlur: D,
5290
- onChange: L,
5291
- onFocus: U,
5325
+ maxRows: C,
5326
+ minRows: D,
5327
+ multiline: N = !1,
5328
+ name: I,
5329
+ onBlur: F,
5330
+ onChange: B,
5331
+ onFocus: A,
5292
5332
  placeholder: V,
5293
- required: k = !1,
5294
- rows: z,
5295
- select: N = !1,
5296
- SelectProps: x,
5297
- slots: w = {},
5298
- slotProps: O = {},
5333
+ required: W = !1,
5334
+ rows: q,
5335
+ select: m = !1,
5336
+ SelectProps: E,
5337
+ slots: M = {},
5338
+ slotProps: S = {},
5299
5339
  type: H,
5300
5340
  value: Y,
5301
5341
  variant: ie = "outlined",
5302
5342
  ...fe
5303
- } = r, q = {
5343
+ } = r, z = {
5304
5344
  ...r,
5305
- autoFocus: s,
5306
- color: u,
5307
- disabled: b,
5308
- error: h,
5309
- fullWidth: f,
5310
- multiline: M,
5311
- required: k,
5312
- select: N,
5345
+ autoFocus: i,
5346
+ color: d,
5347
+ disabled: T,
5348
+ error: b,
5349
+ fullWidth: p,
5350
+ multiline: N,
5351
+ required: W,
5352
+ select: m,
5313
5353
  variant: ie
5314
- }, _ = cr(q);
5315
- process.env.NODE_ENV !== "production" && N && !i && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
5316
- const X = zo(R), te = p && X ? `${X}-helper-text` : void 0, ve = g && X ? `${X}-label` : void 0, ye = lr[ie], ae = {
5317
- slots: w,
5354
+ }, _ = cr(z);
5355
+ process.env.NODE_ENV !== "production" && m && !a && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
5356
+ const X = _o(R), ne = h && X ? `${X}-helper-text` : void 0, ve = g && X ? `${X}-label` : void 0, ye = lr[ie], ae = {
5357
+ slots: M,
5318
5358
  slotProps: {
5319
- input: C,
5359
+ input: P,
5320
5360
  inputLabel: v,
5321
5361
  htmlInput: y,
5322
- formHelperText: T,
5323
- select: x,
5324
- ...O
5362
+ formHelperText: O,
5363
+ select: E,
5364
+ ...S
5325
5365
  }
5326
- }, j = {}, A = ae.slotProps.inputLabel;
5327
- ie === "outlined" && (A && typeof A.shrink < "u" && (j.notched = A.shrink), j.label = g), N && ((!x || !x.native) && (j.id = void 0), j["aria-describedby"] = void 0);
5328
- const [W, J] = me("input", {
5366
+ }, $ = {}, j = ae.slotProps.inputLabel;
5367
+ ie === "outlined" && (j && typeof j.shrink < "u" && ($.notched = j.shrink), $.label = g), m && ((!E || !E.native) && ($.id = void 0), $["aria-describedby"] = void 0);
5368
+ const [U, J] = me("input", {
5329
5369
  elementType: ye,
5330
5370
  externalForwardedProps: ae,
5331
- additionalProps: j,
5332
- ownerState: q
5333
- }), [ue, ne] = me("inputLabel", {
5334
- elementType: tt,
5371
+ additionalProps: $,
5372
+ ownerState: z
5373
+ }), [de, re] = me("inputLabel", {
5374
+ elementType: rt,
5335
5375
  externalForwardedProps: ae,
5336
- ownerState: q
5337
- }), [Ee, xe] = me("htmlInput", {
5376
+ ownerState: z
5377
+ }), [xe, Re] = me("htmlInput", {
5338
5378
  elementType: "input",
5339
5379
  externalForwardedProps: ae,
5340
- ownerState: q
5341
- }), [Re, le] = me("formHelperText", {
5342
- elementType: et,
5380
+ ownerState: z
5381
+ }), [Pe, le] = me("formHelperText", {
5382
+ elementType: tt,
5343
5383
  externalForwardedProps: ae,
5344
- ownerState: q
5345
- }), [Pe, K] = me("select", {
5346
- elementType: vo,
5384
+ ownerState: z
5385
+ }), [Ce, K] = me("select", {
5386
+ elementType: To,
5347
5387
  externalForwardedProps: ae,
5348
- ownerState: q
5349
- }), we = /* @__PURE__ */ I(W, {
5350
- "aria-describedby": te,
5351
- autoComplete: a,
5352
- autoFocus: s,
5353
- defaultValue: m,
5354
- fullWidth: f,
5355
- multiline: M,
5356
- name: S,
5357
- rows: z,
5358
- maxRows: P,
5359
- minRows: B,
5388
+ ownerState: z
5389
+ }), Ie = /* @__PURE__ */ w(U, {
5390
+ "aria-describedby": ne,
5391
+ autoComplete: s,
5392
+ autoFocus: i,
5393
+ defaultValue: f,
5394
+ fullWidth: p,
5395
+ multiline: N,
5396
+ name: I,
5397
+ rows: q,
5398
+ maxRows: C,
5399
+ minRows: D,
5360
5400
  type: H,
5361
5401
  value: Y,
5362
5402
  id: X,
5363
- inputRef: d,
5364
- onBlur: D,
5365
- onChange: L,
5366
- onFocus: U,
5403
+ inputRef: u,
5404
+ onBlur: F,
5405
+ onChange: B,
5406
+ onFocus: A,
5367
5407
  placeholder: V,
5368
- inputProps: xe,
5408
+ inputProps: Re,
5369
5409
  slots: {
5370
- input: w.htmlInput ? Ee : void 0
5410
+ input: M.htmlInput ? xe : void 0
5371
5411
  },
5372
5412
  ...J
5373
5413
  });
5374
5414
  return /* @__PURE__ */ be(dr, {
5375
5415
  className: Z(_.root, l),
5376
- disabled: b,
5377
- error: h,
5378
- fullWidth: f,
5416
+ disabled: T,
5417
+ error: b,
5418
+ fullWidth: p,
5379
5419
  ref: n,
5380
- required: k,
5381
- color: u,
5420
+ required: W,
5421
+ color: d,
5382
5422
  variant: ie,
5383
- ownerState: q,
5423
+ ownerState: z,
5384
5424
  ...fe,
5385
- children: [g != null && g !== "" && /* @__PURE__ */ I(ue, {
5425
+ children: [g != null && g !== "" && /* @__PURE__ */ w(de, {
5386
5426
  htmlFor: X,
5387
5427
  id: ve,
5388
- ...ne,
5428
+ ...re,
5389
5429
  children: g
5390
- }), N ? /* @__PURE__ */ I(Pe, {
5391
- "aria-describedby": te,
5430
+ }), m ? /* @__PURE__ */ w(Ce, {
5431
+ "aria-describedby": ne,
5392
5432
  id: X,
5393
5433
  labelId: ve,
5394
5434
  value: Y,
5395
- input: we,
5435
+ input: Ie,
5396
5436
  ...K,
5397
- children: i
5398
- }) : we, p && /* @__PURE__ */ I(Re, {
5399
- id: te,
5437
+ children: a
5438
+ }) : Ie, h && /* @__PURE__ */ w(Pe, {
5439
+ id: ne,
5400
5440
  ...le,
5401
- children: p
5441
+ children: h
5402
5442
  })]
5403
5443
  });
5404
5444
  });
@@ -5603,41 +5643,43 @@ process.env.NODE_ENV !== "production" && (ur.propTypes = {
5603
5643
  variant: e.oneOf(["filled", "outlined", "standard"])
5604
5644
  });
5605
5645
  export {
5606
- _e as A,
5607
- qe as B,
5608
- Qo as F,
5609
- He as G,
5610
- Le as H,
5611
- je as I,
5612
- rt as L,
5613
- ct as M,
5614
- Jo as P,
5615
- vo as S,
5646
+ st as A,
5647
+ eo as B,
5648
+ He as C,
5649
+ _e as D,
5650
+ ot as F,
5651
+ Ke as G,
5652
+ $e as H,
5653
+ Le as I,
5654
+ it as L,
5655
+ ut as M,
5656
+ Qo as P,
5657
+ To as S,
5616
5658
  ur as T,
5617
- et as a,
5618
- ot as b,
5619
- tt as c,
5620
- Lo as d,
5659
+ tt as a,
5660
+ nt as b,
5661
+ rt as c,
5662
+ jo as d,
5621
5663
  an as e,
5622
- Fr as f,
5664
+ Ir as f,
5623
5665
  nn as g,
5624
- Fe as h,
5666
+ ke as h,
5625
5667
  pn as i,
5626
5668
  dn as j,
5627
- Ie as k,
5669
+ Se as k,
5628
5670
  mn as l,
5629
- kr as m,
5671
+ Sr as m,
5630
5672
  vn as n,
5631
- Lr as o,
5632
- On as p,
5633
- jr as q,
5673
+ Nr as o,
5674
+ En as p,
5675
+ Mr as q,
5634
5676
  In as r,
5635
- Mr as s,
5677
+ wr as s,
5636
5678
  Lt as t,
5637
- Ne as u,
5679
+ Me as u,
5638
5680
  Bn as v,
5639
- Ho as w,
5640
- Zo as x,
5641
- Yo as y,
5642
- nt as z
5681
+ Xo as w,
5682
+ ko as x,
5683
+ et as y,
5684
+ Zo as z
5643
5685
  };