@cgi-learning-hub/ui 0.0.1-dev.1708382893 → 0.0.1-dev.1708424507

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 (53) hide show
  1. package/dist/Button-8coRSZ3M.cjs +1 -0
  2. package/dist/Button-BJMp7Tz3.js +355 -0
  3. package/dist/ButtonBase-DfYGPVje.js +892 -0
  4. package/dist/ButtonBase-xIJbOm-V.cjs +75 -0
  5. package/dist/Input-DS9hzPC3.js +322 -0
  6. package/dist/Input-DWEaLJ-2.cjs +1 -0
  7. package/dist/{InputBase-CGq779n2.js → InputBase-B31rEvBe.js} +59 -60
  8. package/dist/InputBase-BuseI3Oe.cjs +4 -0
  9. package/dist/components/AnotherComponent/AnotherComponent.cjs.js +1 -1
  10. package/dist/components/AnotherComponent/AnotherComponent.es.js +7 -6
  11. package/dist/components/AnotherComponent/AnotherComponent.stories.d.ts +1 -1
  12. package/dist/components/BasicButtons/BasicButtons.cjs.js +1 -1
  13. package/dist/components/BasicButtons/BasicButtons.es.js +22 -23
  14. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
  15. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +3 -3
  16. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
  17. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +12 -13
  18. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
  19. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +1 -1
  20. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
  21. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
  22. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
  23. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +1 -1
  24. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
  25. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
  26. package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
  27. package/dist/components/inputs/SearchInput/SearchInput.es.js +18 -19
  28. package/dist/components/inputs/TextInput/TextInput.cjs.js +13 -13
  29. package/dist/components/inputs/TextInput/TextInput.es.js +1015 -1329
  30. package/dist/{createSvgIcon-CHLyeSLU.js → createSvgIcon-BPyRt0N5.js} +12 -13
  31. package/dist/createSvgIcon-Cz9hf1Fl.cjs +1 -0
  32. package/dist/{extendSxProp-BqGiF689.js → extendSxProp-DzGZiKZk.js} +1 -1
  33. package/dist/extendSxProp-LEI89AMt.cjs +1 -0
  34. package/dist/{useForkRef-GL_-ZsET.js → useForkRef-C0Hk1SEc.js} +1 -1
  35. package/dist/useForkRef-YQvz-OME.cjs +1 -0
  36. package/dist/useTheme-BzgwMQvX.cjs +1 -0
  37. package/dist/{TransitionGroupContext-BjDSFqZJ.js → useTheme-D1_U7jx5.js} +20 -14
  38. package/dist/useThemeProps-Aqe6oH65.cjs +65 -0
  39. package/dist/useThemeProps-Dkkbtzcg.js +2696 -0
  40. package/package.json +1 -1
  41. package/dist/Button-D0o8tGej.cjs +0 -75
  42. package/dist/Button-D0z_AY3E.js +0 -1241
  43. package/dist/InputBase-lIiwyvaO.cjs +0 -4
  44. package/dist/TransitionGroupContext-B6r0bfvS.cjs +0 -1
  45. package/dist/createSvgIcon-DHY1YrJ8.cjs +0 -1
  46. package/dist/defaultTheme-BKohU5FP.js +0 -2232
  47. package/dist/defaultTheme-DdZ2uQhZ.cjs +0 -42
  48. package/dist/extendSxProp-DRVELas3.cjs +0 -1
  49. package/dist/styled-1ec4DLGK.js +0 -472
  50. package/dist/styled-DqWU6H76.cjs +0 -24
  51. package/dist/useForkRef-BkcfGVSE.cjs +0 -1
  52. package/dist/useTheme-B4qd7ENB.js +0 -9
  53. package/dist/useTheme-DjsJvzN5.cjs +0 -1
@@ -1,22 +1,21 @@
1
1
  import { jsxs as me, jsx as S } from "react/jsx-runtime";
2
2
  import * as d from "react";
3
- import Ke from "react";
4
- import { c as Y, g as ee, s as j, r as be, u as re, a as ne, f as hn, h as Uo } from "../../../styled-1ec4DLGK.js";
5
- import { P as e, a as u, _ as z, g as oe, j as vn, c as ce, l as Dn, n as Wo } from "../../../defaultTheme-BKohU5FP.js";
6
- import { i as oo, o as ie, a as Ue, b as gn, c as yn, r as En, d as xn, e as Tn, I as On, u as Ve, f as qe, g as Vo, h as dn, F as qo, j as zo } from "../../../InputBase-CGq779n2.js";
7
- import { u as Qe } from "../../../useTheme-B4qd7ENB.js";
8
- import { c as en, a as ue, u as pn, s as Ln, r as we, e as Ho } from "../../../useForkRef-GL_-ZsET.js";
9
- import { _ as Ko, a as to, b as jn, u as Go } from "../../../TransitionGroupContext-BjDSFqZJ.js";
10
- import * as Xo from "react-dom";
11
- import Ge from "react-dom";
12
- import { c as Yo } from "../../../createSvgIcon-CHLyeSLU.js";
13
- function Zo(n) {
3
+ import He from "react";
4
+ import { P as e, a as u, _ as q, h as Y, g as ne, b as oe, s as B, r as Oe, u as re, c as Kn, e as te, f as ce, z as bn, t as Pn, A as Ao, y as Bo } from "../../../useThemeProps-Dkkbtzcg.js";
5
+ import { d as Gn, o as ie, e as Be, i as Xn, I as Yn, r as Zn, a as Jn, b as Qn, c as eo, u as We, f as Ue, g as Vo, h as dn, F as Wo, j as Uo } from "../../../InputBase-B31rEvBe.js";
6
+ import { _ as zo, a as no, c as Nn, b as qo, u as Je } from "../../../useTheme-D1_U7jx5.js";
7
+ import { c as Qe, a as de, u as un, s as In, r as $e, e as Ho } from "../../../useForkRef-C0Hk1SEc.js";
8
+ import * as Ko from "react-dom";
9
+ import Ke from "react-dom";
10
+ import { c as Go } from "../../../createSvgIcon-BPyRt0N5.js";
11
+ import { I as oo } from "../../../Input-DS9hzPC3.js";
12
+ function Xo(n) {
14
13
  const {
15
14
  prototype: o = {}
16
15
  } = n;
17
16
  return !!o.isReactComponent;
18
17
  }
19
- function ro(n, o, t, r, i) {
18
+ function to(n, o, t, r, i) {
20
19
  const s = n[o], a = i || o;
21
20
  if (s == null || // When server-side rendering React doesn't warn either.
22
21
  // This is not an accurate check for SSR.
@@ -26,32 +25,32 @@ function ro(n, o, t, r, i) {
26
25
  return null;
27
26
  let l;
28
27
  const c = s.type;
29
- return typeof c == "function" && !Zo(c) && (l = "Did you accidentally use a plain function component for an element instead?"), l !== void 0 ? new Error(`Invalid ${r} \`${a}\` supplied to \`${t}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
28
+ return typeof c == "function" && !Xo(c) && (l = "Did you accidentally use a plain function component for an element instead?"), l !== void 0 ? new Error(`Invalid ${r} \`${a}\` supplied to \`${t}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
30
29
  }
31
- const so = en(e.element, ro);
32
- so.isRequired = en(e.element.isRequired, ro);
33
- const nn = so, Jo = "exact-prop: ​";
34
- function io(n) {
30
+ const ro = Qe(e.element, to);
31
+ ro.isRequired = Qe(e.element.isRequired, to);
32
+ const en = ro, Yo = "exact-prop: ​";
33
+ function so(n) {
35
34
  return process.env.NODE_ENV === "production" ? n : u({}, n, {
36
- [Jo]: (o) => {
35
+ [Yo]: (o) => {
37
36
  const t = Object.keys(o).filter((r) => !n.hasOwnProperty(r));
38
37
  return t.length > 0 ? new Error(`The following props are not supported: ${t.map((r) => `\`${r}\``).join(", ")}. Please remove them.`) : null;
39
38
  }
40
39
  });
41
40
  }
42
- function We(n, o, t, r, i) {
41
+ function Ve(n, o, t, r, i) {
43
42
  if (process.env.NODE_ENV === "production")
44
43
  return null;
45
44
  const s = n[o], a = i || o;
46
45
  return s == null ? null : s && s.nodeType !== 1 ? new Error(`Invalid ${r} \`${a}\` supplied to \`${t}\`. Expected an HTMLElement.`) : null;
47
46
  }
48
- function _n(...n) {
47
+ function Sn(...n) {
49
48
  return n.reduce((o, t) => t == null ? o : function(...i) {
50
49
  o.apply(this, i), t.apply(this, i);
51
50
  }, () => {
52
51
  });
53
52
  }
54
- function an(n, o) {
53
+ function sn(n, o) {
55
54
  var t, r;
56
55
  return /* @__PURE__ */ d.isValidElement(n) && o.indexOf(
57
56
  // For server components `muiName` is avaialble in element.type._payload.value.muiName
@@ -60,22 +59,22 @@ function an(n, o) {
60
59
  (t = n.type.muiName) != null ? t : (r = n.type) == null || (r = r._payload) == null || (r = r.value) == null ? void 0 : r.muiName
61
60
  ) !== -1;
62
61
  }
63
- let An = 0;
64
- function Qo(n) {
62
+ let wn = 0;
63
+ function Zo(n) {
65
64
  const [o, t] = d.useState(n), r = n || o;
66
65
  return d.useEffect(() => {
67
- o == null && (An += 1, t(`mui-${An}`));
66
+ o == null && (wn += 1, t(`mui-${wn}`));
68
67
  }, [o]), r;
69
68
  }
70
- const Bn = d.useId;
71
- function ao(n) {
72
- if (Bn !== void 0) {
73
- const o = Bn();
69
+ const kn = d.useId;
70
+ function io(n) {
71
+ if (kn !== void 0) {
72
+ const o = kn();
74
73
  return n ?? o;
75
74
  }
76
- return Qo(n);
75
+ return Zo(n);
77
76
  }
78
- function Un({
77
+ function Mn({
79
78
  controlled: n,
80
79
  default: o,
81
80
  name: t,
@@ -102,11 +101,11 @@ function Un({
102
101
  }, []);
103
102
  return [l, c];
104
103
  }
105
- function lo(n) {
104
+ function ao(n) {
106
105
  const o = n.documentElement.clientWidth;
107
106
  return Math.abs(window.innerWidth - o);
108
107
  }
109
- function et(n) {
108
+ function Jo(n) {
110
109
  const o = typeof n;
111
110
  switch (o) {
112
111
  case "number":
@@ -117,33 +116,30 @@ function et(n) {
117
116
  return o;
118
117
  }
119
118
  }
120
- function nt(n) {
119
+ function Qo(n) {
121
120
  return typeof n == "number" && isFinite(n) && Math.floor(n) === n;
122
121
  }
123
- const ot = Number.isInteger || nt;
124
- function co(n, o, t, r) {
122
+ const et = Number.isInteger || Qo;
123
+ function lo(n, o, t, r) {
125
124
  const i = n[o];
126
- if (i == null || !ot(i)) {
127
- const s = et(i);
125
+ if (i == null || !et(i)) {
126
+ const s = Jo(i);
128
127
  return new RangeError(`Invalid ${r} \`${o}\` of type \`${s}\` supplied to \`${t}\`, expected \`integer\`.`);
129
128
  }
130
129
  return null;
131
130
  }
132
- function uo(n, o, ...t) {
133
- return n[o] === void 0 ? null : co(n, o, ...t);
131
+ function co(n, o, ...t) {
132
+ return n[o] === void 0 ? null : lo(n, o, ...t);
134
133
  }
135
- function fn() {
134
+ function pn() {
136
135
  return null;
137
136
  }
138
- uo.isRequired = co;
139
- fn.isRequired = fn;
140
- const po = process.env.NODE_ENV === "production" ? fn : uo, Wn = (n) => {
141
- let o;
142
- return n < 1 ? o = 5.11916 * n ** 2 : o = 4.5 * Math.log(n + 1) + 2, (o / 100).toFixed(2);
143
- }, Vn = {
137
+ co.isRequired = lo;
138
+ pn.isRequired = pn;
139
+ const uo = process.env.NODE_ENV === "production" ? pn : co, Fn = {
144
140
  disabled: !1
145
141
  };
146
- var tt = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
142
+ var nt = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
147
143
  enter: e.number,
148
144
  exit: e.number,
149
145
  appear: e.number
@@ -160,15 +156,15 @@ process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
160
156
  exitDone: e.string,
161
157
  exitActive: e.string
162
158
  })]);
163
- var rt = function(o) {
159
+ var ot = function(o) {
164
160
  return o.scrollTop;
165
- }, _e = "unmounted", Ie = "exited", Se = "entering", ke = "entered", mn = "exiting", he = /* @__PURE__ */ function(n) {
166
- Ko(o, n);
161
+ }, _e = "unmounted", Ie = "exited", Se = "entering", Me = "entered", fn = "exiting", be = /* @__PURE__ */ function(n) {
162
+ zo(o, n);
167
163
  function o(r, i) {
168
164
  var s;
169
165
  s = n.call(this, r, i) || this;
170
166
  var a = i, l = a && !a.isMounting ? r.enter : r.appear, c;
171
- return s.appearStatus = null, r.in ? l ? (c = Ie, s.appearStatus = Se) : c = ke : r.unmountOnExit || r.mountOnEnter ? c = _e : c = Ie, s.state = {
167
+ return s.appearStatus = null, r.in ? l ? (c = Ie, s.appearStatus = Se) : c = Me : r.unmountOnExit || r.mountOnEnter ? c = _e : c = Ie, s.state = {
172
168
  status: c
173
169
  }, s.nextCallback = null, s;
174
170
  }
@@ -185,7 +181,7 @@ var rt = function(o) {
185
181
  var s = null;
186
182
  if (i !== this.props) {
187
183
  var a = this.state.status;
188
- this.props.in ? a !== Se && a !== ke && (s = Se) : (a === Se || a === ke) && (s = mn);
184
+ this.props.in ? a !== Se && a !== Me && (s = Se) : (a === Se || a === Me) && (s = fn);
189
185
  }
190
186
  this.updateStatus(!1, s);
191
187
  }, t.componentWillUnmount = function() {
@@ -201,8 +197,8 @@ var rt = function(o) {
201
197
  if (i === void 0 && (i = !1), s !== null)
202
198
  if (this.cancelNextCallback(), s === Se) {
203
199
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
204
- var a = this.props.nodeRef ? this.props.nodeRef.current : Ge.findDOMNode(this);
205
- a && rt(a);
200
+ var a = this.props.nodeRef ? this.props.nodeRef.current : Ke.findDOMNode(this);
201
+ a && ot(a);
206
202
  }
207
203
  this.performEnter(i);
208
204
  } else
@@ -212,10 +208,10 @@ var rt = function(o) {
212
208
  status: _e
213
209
  });
214
210
  }, t.performEnter = function(i) {
215
- var s = this, a = this.props.enter, l = this.context ? this.context.isMounting : i, c = this.props.nodeRef ? [l] : [Ge.findDOMNode(this), l], p = c[0], m = c[1], h = this.getTimeouts(), g = l ? h.appear : h.enter;
216
- if (!i && !a || Vn.disabled) {
211
+ var s = this, a = this.props.enter, l = this.context ? this.context.isMounting : i, c = this.props.nodeRef ? [l] : [Ke.findDOMNode(this), l], p = c[0], m = c[1], h = this.getTimeouts(), v = l ? h.appear : h.enter;
212
+ if (!i && !a || Fn.disabled) {
217
213
  this.safeSetState({
218
- status: ke
214
+ status: Me
219
215
  }, function() {
220
216
  s.props.onEntered(p);
221
217
  });
@@ -224,17 +220,17 @@ var rt = function(o) {
224
220
  this.props.onEnter(p, m), this.safeSetState({
225
221
  status: Se
226
222
  }, function() {
227
- s.props.onEntering(p, m), s.onTransitionEnd(g, function() {
223
+ s.props.onEntering(p, m), s.onTransitionEnd(v, function() {
228
224
  s.safeSetState({
229
- status: ke
225
+ status: Me
230
226
  }, function() {
231
227
  s.props.onEntered(p, m);
232
228
  });
233
229
  });
234
230
  });
235
231
  }, t.performExit = function() {
236
- var i = this, s = this.props.exit, a = this.getTimeouts(), l = this.props.nodeRef ? void 0 : Ge.findDOMNode(this);
237
- if (!s || Vn.disabled) {
232
+ var i = this, s = this.props.exit, a = this.getTimeouts(), l = this.props.nodeRef ? void 0 : Ke.findDOMNode(this);
233
+ if (!s || Fn.disabled) {
238
234
  this.safeSetState({
239
235
  status: Ie
240
236
  }, function() {
@@ -243,7 +239,7 @@ var rt = function(o) {
243
239
  return;
244
240
  }
245
241
  this.props.onExit(l), this.safeSetState({
246
- status: mn
242
+ status: fn
247
243
  }, function() {
248
244
  i.props.onExiting(l), i.onTransitionEnd(a.exit, function() {
249
245
  i.safeSetState({
@@ -266,7 +262,7 @@ var rt = function(o) {
266
262
  }, this.nextCallback;
267
263
  }, t.onTransitionEnd = function(i, s) {
268
264
  this.setNextCallback(s);
269
- var a = this.props.nodeRef ? this.props.nodeRef.current : Ge.findDOMNode(this), l = i == null && !this.props.addEndListener;
265
+ var a = this.props.nodeRef ? this.props.nodeRef.current : Ke.findDOMNode(this), l = i == null && !this.props.addEndListener;
270
266
  if (!a || l) {
271
267
  setTimeout(this.nextCallback, 0);
272
268
  return;
@@ -282,17 +278,17 @@ var rt = function(o) {
282
278
  return null;
283
279
  var s = this.props, a = s.children;
284
280
  s.in, s.mountOnEnter, s.unmountOnExit, s.appear, s.enter, s.exit, s.timeout, s.addEndListener, s.onEnter, s.onEntering, s.onEntered, s.onExit, s.onExiting, s.onExited, s.nodeRef;
285
- var l = z(s, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
281
+ var l = q(s, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
286
282
  return (
287
283
  // allows for nested Transitions
288
- /* @__PURE__ */ Ke.createElement(to.Provider, {
284
+ /* @__PURE__ */ He.createElement(no.Provider, {
289
285
  value: null
290
- }, typeof a == "function" ? a(i, l) : Ke.cloneElement(Ke.Children.only(a), l))
286
+ }, typeof a == "function" ? a(i, l) : He.cloneElement(He.Children.only(a), l))
291
287
  );
292
288
  }, o;
293
- }(Ke.Component);
294
- he.contextType = to;
295
- he.propTypes = process.env.NODE_ENV !== "production" ? {
289
+ }(He.Component);
290
+ be.contextType = no;
291
+ be.propTypes = process.env.NODE_ENV !== "production" ? {
296
292
  /**
297
293
  * A React reference to DOM element that need to transition:
298
294
  * https://stackoverflow.com/a/51127130/4671932
@@ -388,7 +384,7 @@ he.propTypes = process.env.NODE_ENV !== "production" ? {
388
384
  * @type {number | { enter?: number, exit?: number, appear?: number }}
389
385
  */
390
386
  timeout: function(o) {
391
- var t = tt;
387
+ var t = nt;
392
388
  o.addEndListener || (t = t.isRequired);
393
389
  for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
394
390
  i[s - 1] = arguments[s];
@@ -461,34 +457,34 @@ he.propTypes = process.env.NODE_ENV !== "production" ? {
461
457
  */
462
458
  onExited: e.func
463
459
  } : {};
464
- function Me() {
460
+ function ke() {
465
461
  }
466
- he.defaultProps = {
462
+ be.defaultProps = {
467
463
  in: !1,
468
464
  mountOnEnter: !1,
469
465
  unmountOnExit: !1,
470
466
  appear: !1,
471
467
  enter: !0,
472
468
  exit: !0,
473
- onEnter: Me,
474
- onEntering: Me,
475
- onEntered: Me,
476
- onExit: Me,
477
- onExiting: Me,
478
- onExited: Me
469
+ onEnter: ke,
470
+ onEntering: ke,
471
+ onEntered: ke,
472
+ onExit: ke,
473
+ onExiting: ke,
474
+ onExited: ke
479
475
  };
480
- he.UNMOUNTED = _e;
481
- he.EXITED = Ie;
482
- he.ENTERING = Se;
483
- he.ENTERED = ke;
484
- he.EXITING = mn;
485
- const fo = he;
486
- function st(n, o, t) {
487
- return n === void 0 || oo(n) ? o : u({}, o, {
476
+ be.UNMOUNTED = _e;
477
+ be.EXITED = Ie;
478
+ be.ENTERING = Se;
479
+ be.ENTERED = Me;
480
+ be.EXITING = fn;
481
+ const po = be;
482
+ function tt(n, o, t) {
483
+ return n === void 0 || Gn(n) ? o : u({}, o, {
488
484
  ownerState: u({}, o.ownerState, t)
489
485
  });
490
486
  }
491
- function mo(n, o = []) {
487
+ function fo(n, o = []) {
492
488
  if (n === void 0)
493
489
  return {};
494
490
  const t = {};
@@ -496,10 +492,10 @@ function mo(n, o = []) {
496
492
  t[r] = n[r];
497
493
  }), t;
498
494
  }
499
- function it(n, o, t) {
495
+ function rt(n, o, t) {
500
496
  return typeof n == "function" ? n(o, t) : n;
501
497
  }
502
- function qn(n) {
498
+ function $n(n) {
503
499
  if (n === void 0)
504
500
  return {};
505
501
  const o = {};
@@ -507,7 +503,7 @@ function qn(n) {
507
503
  o[t] = n[t];
508
504
  }), o;
509
505
  }
510
- function at(n) {
506
+ function st(n) {
511
507
  const {
512
508
  getSlotProps: o,
513
509
  additionalProps: t,
@@ -516,19 +512,19 @@ function at(n) {
516
512
  className: s
517
513
  } = n;
518
514
  if (!o) {
519
- const x = Y(t == null ? void 0 : t.className, s, i == null ? void 0 : i.className, r == null ? void 0 : r.className), v = u({}, t == null ? void 0 : t.style, i == null ? void 0 : i.style, r == null ? void 0 : r.style), I = u({}, t, i, r);
520
- return x.length > 0 && (I.className = x), Object.keys(v).length > 0 && (I.style = v), {
521
- props: I,
515
+ const x = Y(t == null ? void 0 : t.className, s, i == null ? void 0 : i.className, r == null ? void 0 : r.className), g = u({}, t == null ? void 0 : t.style, i == null ? void 0 : i.style, r == null ? void 0 : r.style), w = u({}, t, i, r);
516
+ return x.length > 0 && (w.className = x), Object.keys(g).length > 0 && (w.style = g), {
517
+ props: w,
522
518
  internalRef: void 0
523
519
  };
524
520
  }
525
- const a = mo(u({}, i, r)), l = qn(r), c = qn(i), p = o(a), m = Y(p == null ? void 0 : p.className, t == null ? void 0 : t.className, s, i == null ? void 0 : i.className, r == null ? void 0 : r.className), h = u({}, p == null ? void 0 : p.style, t == null ? void 0 : t.style, i == null ? void 0 : i.style, r == null ? void 0 : r.style), g = u({}, p, t, c, l);
526
- return m.length > 0 && (g.className = m), Object.keys(h).length > 0 && (g.style = h), {
527
- props: g,
521
+ const a = fo(u({}, i, r)), l = $n(r), c = $n(i), p = o(a), m = Y(p == null ? void 0 : p.className, t == null ? void 0 : t.className, s, i == null ? void 0 : i.className, r == null ? void 0 : r.className), h = u({}, p == null ? void 0 : p.style, t == null ? void 0 : t.style, i == null ? void 0 : i.style, r == null ? void 0 : r.style), v = u({}, p, t, c, l);
522
+ return m.length > 0 && (v.className = m), Object.keys(h).length > 0 && (v.style = h), {
523
+ props: v,
528
524
  internalRef: p.ref
529
525
  };
530
526
  }
531
- const lt = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
527
+ const it = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
532
528
  function Fe(n) {
533
529
  var o;
534
530
  const {
@@ -536,72 +532,72 @@ function Fe(n) {
536
532
  externalSlotProps: r,
537
533
  ownerState: i,
538
534
  skipResolvingSlotProps: s = !1
539
- } = n, a = z(n, lt), l = s ? {} : it(r, i), {
535
+ } = n, a = q(n, it), l = s ? {} : rt(r, i), {
540
536
  props: c,
541
537
  internalRef: p
542
- } = at(u({}, a, {
538
+ } = st(u({}, a, {
543
539
  externalSlotProps: l
544
- })), m = ue(p, l == null ? void 0 : l.ref, (o = n.additionalProps) == null ? void 0 : o.ref);
545
- return st(t, u({}, c, {
540
+ })), m = de(p, l == null ? void 0 : l.ref, (o = n.additionalProps) == null ? void 0 : o.ref);
541
+ return tt(t, u({}, c, {
546
542
  ref: m
547
543
  }), i);
548
544
  }
549
- const ct = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
550
- function ut(n) {
545
+ const at = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
546
+ function lt(n) {
551
547
  const o = parseInt(n.getAttribute("tabindex") || "", 10);
552
548
  return Number.isNaN(o) ? n.contentEditable === "true" || (n.nodeName === "AUDIO" || n.nodeName === "VIDEO" || n.nodeName === "DETAILS") && n.getAttribute("tabindex") === null ? 0 : n.tabIndex : o;
553
549
  }
554
- function dt(n) {
550
+ function ct(n) {
555
551
  if (n.tagName !== "INPUT" || n.type !== "radio" || !n.name)
556
552
  return !1;
557
553
  const o = (r) => n.ownerDocument.querySelector(`input[type="radio"]${r}`);
558
554
  let t = o(`[name="${n.name}"]:checked`);
559
555
  return t || (t = o(`[name="${n.name}"]`)), t !== n;
560
556
  }
561
- function pt(n) {
562
- return !(n.disabled || n.tagName === "INPUT" && n.type === "hidden" || dt(n));
557
+ function dt(n) {
558
+ return !(n.disabled || n.tagName === "INPUT" && n.type === "hidden" || ct(n));
563
559
  }
564
- function ft(n) {
560
+ function ut(n) {
565
561
  const o = [], t = [];
566
- return Array.from(n.querySelectorAll(ct)).forEach((r, i) => {
567
- const s = ut(r);
568
- s === -1 || !pt(r) || (s === 0 ? o.push(r) : t.push({
562
+ return Array.from(n.querySelectorAll(at)).forEach((r, i) => {
563
+ const s = lt(r);
564
+ s === -1 || !dt(r) || (s === 0 ? o.push(r) : t.push({
569
565
  documentOrder: i,
570
566
  tabIndex: s,
571
567
  node: r
572
568
  }));
573
569
  }), t.sort((r, i) => r.tabIndex === i.tabIndex ? r.documentOrder - i.documentOrder : r.tabIndex - i.tabIndex).map((r) => r.node).concat(o);
574
570
  }
575
- function mt() {
571
+ function pt() {
576
572
  return !0;
577
573
  }
578
- function Ye(n) {
574
+ function Xe(n) {
579
575
  const {
580
576
  children: o,
581
577
  disableAutoFocus: t = !1,
582
578
  disableEnforceFocus: r = !1,
583
579
  disableRestoreFocus: i = !1,
584
- getTabbable: s = ft,
585
- isEnabled: a = mt,
580
+ getTabbable: s = ut,
581
+ isEnabled: a = pt,
586
582
  open: l
587
- } = n, c = d.useRef(!1), p = d.useRef(null), m = d.useRef(null), h = d.useRef(null), g = d.useRef(null), x = d.useRef(!1), v = d.useRef(null), I = ue(o.ref, v), O = d.useRef(null);
583
+ } = n, c = d.useRef(!1), p = d.useRef(null), m = d.useRef(null), h = d.useRef(null), v = d.useRef(null), x = d.useRef(!1), g = d.useRef(null), w = de(o.ref, g), R = d.useRef(null);
588
584
  d.useEffect(() => {
589
- !l || !v.current || (x.current = !t);
585
+ !l || !g.current || (x.current = !t);
590
586
  }, [t, l]), d.useEffect(() => {
591
- if (!l || !v.current)
587
+ if (!l || !g.current)
592
588
  return;
593
- const f = ie(v.current);
594
- return v.current.contains(f.activeElement) || (v.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(`
595
- `)), v.current.setAttribute("tabIndex", "-1")), x.current && v.current.focus()), () => {
589
+ const f = ie(g.current);
590
+ return g.current.contains(f.activeElement) || (g.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(`
591
+ `)), g.current.setAttribute("tabIndex", "-1")), x.current && g.current.focus()), () => {
596
592
  i || (h.current && h.current.focus && (c.current = !0, h.current.focus()), h.current = null);
597
593
  };
598
594
  }, [l]), d.useEffect(() => {
599
- if (!l || !v.current)
595
+ if (!l || !g.current)
600
596
  return;
601
- const f = ie(v.current), b = (E) => {
602
- O.current = E, !(r || !a() || E.key !== "Tab") && f.activeElement === v.current && E.shiftKey && (c.current = !0, m.current && m.current.focus());
597
+ const f = ie(g.current), b = (E) => {
598
+ R.current = E, !(r || !a() || E.key !== "Tab") && f.activeElement === g.current && E.shiftKey && (c.current = !0, m.current && m.current.focus());
603
599
  }, T = () => {
604
- const E = v.current;
600
+ const E = g.current;
605
601
  if (E === null)
606
602
  return;
607
603
  if (!f.hasFocus() || !a() || c.current) {
@@ -610,53 +606,53 @@ function Ye(n) {
610
606
  }
611
607
  if (E.contains(f.activeElement) || r && f.activeElement !== p.current && f.activeElement !== m.current)
612
608
  return;
613
- if (f.activeElement !== g.current)
614
- g.current = null;
615
- else if (g.current !== null)
609
+ if (f.activeElement !== v.current)
610
+ v.current = null;
611
+ else if (v.current !== null)
616
612
  return;
617
613
  if (!x.current)
618
614
  return;
619
615
  let D = [];
620
- if ((f.activeElement === p.current || f.activeElement === m.current) && (D = s(v.current)), D.length > 0) {
621
- var _, A;
622
- const V = !!((_ = O.current) != null && _.shiftKey && ((A = O.current) == null ? void 0 : A.key) === "Tab"), U = D[0], F = D[D.length - 1];
623
- typeof U != "string" && typeof F != "string" && (V ? F.focus() : U.focus());
616
+ if ((f.activeElement === p.current || f.activeElement === m.current) && (D = s(g.current)), D.length > 0) {
617
+ var _, j;
618
+ const U = !!((_ = R.current) != null && _.shiftKey && ((j = R.current) == null ? void 0 : j.key) === "Tab"), V = D[0], $ = D[D.length - 1];
619
+ typeof V != "string" && typeof $ != "string" && (U ? $.focus() : V.focus());
624
620
  } else
625
621
  E.focus();
626
622
  };
627
623
  f.addEventListener("focusin", T), f.addEventListener("keydown", b, !0);
628
- const P = setInterval(() => {
624
+ const N = setInterval(() => {
629
625
  f.activeElement && f.activeElement.tagName === "BODY" && T();
630
626
  }, 50);
631
627
  return () => {
632
- clearInterval(P), f.removeEventListener("focusin", T), f.removeEventListener("keydown", b, !0);
628
+ clearInterval(N), f.removeEventListener("focusin", T), f.removeEventListener("keydown", b, !0);
633
629
  };
634
630
  }, [t, r, i, a, l, s]);
635
631
  const y = (f) => {
636
- h.current === null && (h.current = f.relatedTarget), x.current = !0, g.current = f.target;
632
+ h.current === null && (h.current = f.relatedTarget), x.current = !0, v.current = f.target;
637
633
  const b = o.props.onFocus;
638
634
  b && b(f);
639
- }, $ = (f) => {
635
+ }, F = (f) => {
640
636
  h.current === null && (h.current = f.relatedTarget), x.current = !0;
641
637
  };
642
638
  return /* @__PURE__ */ me(d.Fragment, {
643
639
  children: [/* @__PURE__ */ S("div", {
644
640
  tabIndex: l ? 0 : -1,
645
- onFocus: $,
641
+ onFocus: F,
646
642
  ref: p,
647
643
  "data-testid": "sentinelStart"
648
644
  }), /* @__PURE__ */ d.cloneElement(o, {
649
- ref: I,
645
+ ref: w,
650
646
  onFocus: y
651
647
  }), /* @__PURE__ */ S("div", {
652
648
  tabIndex: l ? 0 : -1,
653
- onFocus: $,
649
+ onFocus: F,
654
650
  ref: m,
655
651
  "data-testid": "sentinelEnd"
656
652
  })]
657
653
  });
658
654
  }
659
- process.env.NODE_ENV !== "production" && (Ye.propTypes = {
655
+ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
660
656
  // ┌────────────────────────────── Warning ──────────────────────────────┐
661
657
  // │ These PropTypes are generated from the TypeScript type definitions. │
662
658
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -664,7 +660,7 @@ process.env.NODE_ENV !== "production" && (Ye.propTypes = {
664
660
  /**
665
661
  * A single child content element.
666
662
  */
667
- children: nn,
663
+ children: en,
668
664
  /**
669
665
  * If `true`, the focus trap will not automatically shift focus to itself when it opens, and
670
666
  * replace it to the last focused element when it closes.
@@ -710,22 +706,22 @@ process.env.NODE_ENV !== "production" && (Ye.propTypes = {
710
706
  */
711
707
  open: e.bool.isRequired
712
708
  });
713
- process.env.NODE_ENV !== "production" && (Ye.propTypes = io(Ye.propTypes));
714
- function bt(n) {
709
+ process.env.NODE_ENV !== "production" && (Xe.propTypes = so(Xe.propTypes));
710
+ function ft(n) {
715
711
  return typeof n == "function" ? n() : n;
716
712
  }
717
- const Ze = /* @__PURE__ */ d.forwardRef(function(o, t) {
713
+ const Ye = /* @__PURE__ */ d.forwardRef(function(o, t) {
718
714
  const {
719
715
  children: r,
720
716
  container: i,
721
717
  disablePortal: s = !1
722
- } = o, [a, l] = d.useState(null), c = ue(/* @__PURE__ */ d.isValidElement(r) ? r.ref : null, t);
723
- if (pn(() => {
724
- s || l(bt(i) || document.body);
725
- }, [i, s]), pn(() => {
718
+ } = o, [a, l] = d.useState(null), c = de(/* @__PURE__ */ d.isValidElement(r) ? r.ref : null, t);
719
+ if (un(() => {
720
+ s || l(ft(i) || document.body);
721
+ }, [i, s]), un(() => {
726
722
  if (a && !s)
727
- return Ln(t, a), () => {
728
- Ln(t, null);
723
+ return In(t, a), () => {
724
+ In(t, null);
729
725
  };
730
726
  }, [t, a, s]), s) {
731
727
  if (/* @__PURE__ */ d.isValidElement(r)) {
@@ -739,10 +735,10 @@ const Ze = /* @__PURE__ */ d.forwardRef(function(o, t) {
739
735
  });
740
736
  }
741
737
  return /* @__PURE__ */ S(d.Fragment, {
742
- children: a && /* @__PURE__ */ Xo.createPortal(r, a)
738
+ children: a && /* @__PURE__ */ Ko.createPortal(r, a)
743
739
  });
744
740
  });
745
- process.env.NODE_ENV !== "production" && (Ze.propTypes = {
741
+ process.env.NODE_ENV !== "production" && (Ye.propTypes = {
746
742
  // ┌────────────────────────────── Warning ──────────────────────────────┐
747
743
  // │ These PropTypes are generated from the TypeScript type definitions. │
748
744
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -761,63 +757,63 @@ process.env.NODE_ENV !== "production" && (Ze.propTypes = {
761
757
  * By default, it uses the body of the top-level document object,
762
758
  * so it's simply `document.body` most of the time.
763
759
  */
764
- container: e.oneOfType([We, e.func]),
760
+ container: e.oneOfType([Ve, e.func]),
765
761
  /**
766
762
  * The `children` will be under the DOM hierarchy of the parent component.
767
763
  * @default false
768
764
  */
769
765
  disablePortal: e.bool
770
766
  });
771
- process.env.NODE_ENV !== "production" && (Ze.propTypes = io(Ze.propTypes));
772
- function ht(n) {
767
+ process.env.NODE_ENV !== "production" && (Ye.propTypes = so(Ye.propTypes));
768
+ function mt(n) {
773
769
  const o = ie(n);
774
- return o.body === n ? Ue(n).innerWidth > o.documentElement.clientWidth : n.scrollHeight > n.clientHeight;
770
+ return o.body === n ? Be(n).innerWidth > o.documentElement.clientWidth : n.scrollHeight > n.clientHeight;
775
771
  }
776
- function Ae(n, o) {
772
+ function je(n, o) {
777
773
  o ? n.setAttribute("aria-hidden", "true") : n.removeAttribute("aria-hidden");
778
774
  }
779
- function zn(n) {
780
- return parseInt(Ue(n).getComputedStyle(n).paddingRight, 10) || 0;
775
+ function Dn(n) {
776
+ return parseInt(Be(n).getComputedStyle(n).paddingRight, 10) || 0;
781
777
  }
782
- function vt(n) {
778
+ function bt(n) {
783
779
  const t = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].indexOf(n.tagName) !== -1, r = n.tagName === "INPUT" && n.getAttribute("type") === "hidden";
784
780
  return t || r;
785
781
  }
786
- function Hn(n, o, t, r, i) {
782
+ function Ln(n, o, t, r, i) {
787
783
  const s = [o, t, ...r];
788
784
  [].forEach.call(n.children, (a) => {
789
- const l = s.indexOf(a) === -1, c = !vt(a);
790
- l && c && Ae(a, i);
785
+ const l = s.indexOf(a) === -1, c = !bt(a);
786
+ l && c && je(a, i);
791
787
  });
792
788
  }
793
- function ln(n, o) {
789
+ function an(n, o) {
794
790
  let t = -1;
795
791
  return n.some((r, i) => o(r) ? (t = i, !0) : !1), t;
796
792
  }
797
- function gt(n, o) {
793
+ function ht(n, o) {
798
794
  const t = [], r = n.container;
799
795
  if (!o.disableScrollLock) {
800
- if (ht(r)) {
801
- const a = lo(ie(r));
796
+ if (mt(r)) {
797
+ const a = ao(ie(r));
802
798
  t.push({
803
799
  value: r.style.paddingRight,
804
800
  property: "padding-right",
805
801
  el: r
806
- }), r.style.paddingRight = `${zn(r) + a}px`;
802
+ }), r.style.paddingRight = `${Dn(r) + a}px`;
807
803
  const l = ie(r).querySelectorAll(".mui-fixed");
808
804
  [].forEach.call(l, (c) => {
809
805
  t.push({
810
806
  value: c.style.paddingRight,
811
807
  property: "padding-right",
812
808
  el: c
813
- }), c.style.paddingRight = `${zn(c) + a}px`;
809
+ }), c.style.paddingRight = `${Dn(c) + a}px`;
814
810
  });
815
811
  }
816
812
  let s;
817
813
  if (r.parentNode instanceof DocumentFragment)
818
814
  s = ie(r).body;
819
815
  else {
820
- const a = r.parentElement, l = Ue(r);
816
+ const a = r.parentElement, l = Be(r);
821
817
  s = (a == null ? void 0 : a.nodeName) === "HTML" && l.getComputedStyle(a).overflowY === "scroll" ? a : r;
822
818
  }
823
819
  t.push({
@@ -844,13 +840,13 @@ function gt(n, o) {
844
840
  });
845
841
  };
846
842
  }
847
- function yt(n) {
843
+ function vt(n) {
848
844
  const o = [];
849
845
  return [].forEach.call(n.children, (t) => {
850
846
  t.getAttribute("aria-hidden") === "true" && o.push(t);
851
847
  }), o;
852
848
  }
853
- class Et {
849
+ class gt {
854
850
  constructor() {
855
851
  this.containers = void 0, this.modals = void 0, this.modals = [], this.containers = [];
856
852
  }
@@ -858,10 +854,10 @@ class Et {
858
854
  let r = this.modals.indexOf(o);
859
855
  if (r !== -1)
860
856
  return r;
861
- r = this.modals.length, this.modals.push(o), o.modalRef && Ae(o.modalRef, !1);
862
- const i = yt(t);
863
- Hn(t, o.mount, o.modalRef, i, !0);
864
- const s = ln(this.containers, (a) => a.container === t);
857
+ r = this.modals.length, this.modals.push(o), o.modalRef && je(o.modalRef, !1);
858
+ const i = vt(t);
859
+ Ln(t, o.mount, o.modalRef, i, !0);
860
+ const s = an(this.containers, (a) => a.container === t);
865
861
  return s !== -1 ? (this.containers[s].modals.push(o), r) : (this.containers.push({
866
862
  modals: [o],
867
863
  container: t,
@@ -870,19 +866,19 @@ class Et {
870
866
  }), r);
871
867
  }
872
868
  mount(o, t) {
873
- const r = ln(this.containers, (s) => s.modals.indexOf(o) !== -1), i = this.containers[r];
874
- i.restore || (i.restore = gt(i, t));
869
+ const r = an(this.containers, (s) => s.modals.indexOf(o) !== -1), i = this.containers[r];
870
+ i.restore || (i.restore = ht(i, t));
875
871
  }
876
872
  remove(o, t = !0) {
877
873
  const r = this.modals.indexOf(o);
878
874
  if (r === -1)
879
875
  return r;
880
- const i = ln(this.containers, (a) => a.modals.indexOf(o) !== -1), s = this.containers[i];
876
+ const i = an(this.containers, (a) => a.modals.indexOf(o) !== -1), s = this.containers[i];
881
877
  if (s.modals.splice(s.modals.indexOf(o), 1), this.modals.splice(r, 1), s.modals.length === 0)
882
- s.restore && s.restore(), o.modalRef && Ae(o.modalRef, t), Hn(s.container, o.mount, o.modalRef, s.hiddenSiblings, !1), this.containers.splice(i, 1);
878
+ s.restore && s.restore(), o.modalRef && je(o.modalRef, t), Ln(s.container, o.mount, o.modalRef, s.hiddenSiblings, !1), this.containers.splice(i, 1);
883
879
  else {
884
880
  const a = s.modals[s.modals.length - 1];
885
- a.modalRef && Ae(a.modalRef, !1);
881
+ a.modalRef && je(a.modalRef, !1);
886
882
  }
887
883
  return r;
888
884
  }
@@ -890,20 +886,20 @@ class Et {
890
886
  return this.modals.length > 0 && this.modals[this.modals.length - 1] === o;
891
887
  }
892
888
  }
893
- function xt(n) {
889
+ function yt(n) {
894
890
  return typeof n == "function" ? n() : n;
895
891
  }
896
- function Tt(n) {
892
+ function Et(n) {
897
893
  return n ? n.props.hasOwnProperty("in") : !1;
898
894
  }
899
- const Ot = new Et();
900
- function Rt(n) {
895
+ const xt = new gt();
896
+ function Tt(n) {
901
897
  const {
902
898
  container: o,
903
899
  disableEscapeKeyDown: t = !1,
904
900
  disableScrollLock: r = !1,
905
901
  // @ts-ignore internal logic - Base UI supports the manager as a prop too
906
- manager: i = Ot,
902
+ manager: i = xt,
907
903
  closeAfterTransition: s = !1,
908
904
  onTransitionEnter: a,
909
905
  onTransitionExited: l,
@@ -911,408 +907,98 @@ function Rt(n) {
911
907
  onClose: p,
912
908
  open: m,
913
909
  rootRef: h
914
- } = n, g = d.useRef({}), x = d.useRef(null), v = d.useRef(null), I = ue(v, h), [O, y] = d.useState(!m), $ = Tt(c);
910
+ } = n, v = d.useRef({}), x = d.useRef(null), g = d.useRef(null), w = de(g, h), [R, y] = d.useState(!m), F = Et(c);
915
911
  let f = !0;
916
912
  (n["aria-hidden"] === "false" || n["aria-hidden"] === !1) && (f = !1);
917
- const b = () => ie(x.current), T = () => (g.current.modalRef = v.current, g.current.mount = x.current, g.current), P = () => {
913
+ const b = () => ie(x.current), T = () => (v.current.modalRef = g.current, v.current.mount = x.current, v.current), N = () => {
918
914
  i.mount(T(), {
919
915
  disableScrollLock: r
920
- }), v.current && (v.current.scrollTop = 0);
921
- }, E = jn(() => {
922
- const w = xt(o) || b().body;
923
- i.add(T(), w), v.current && P();
924
- }), D = d.useCallback(() => i.isTopModal(T()), [i]), _ = jn((w) => {
925
- x.current = w, w && (m && D() ? P() : v.current && Ae(v.current, f));
926
- }), A = d.useCallback(() => {
916
+ }), g.current && (g.current.scrollTop = 0);
917
+ }, E = Nn(() => {
918
+ const I = yt(o) || b().body;
919
+ i.add(T(), I), g.current && N();
920
+ }), D = d.useCallback(() => i.isTopModal(T()), [i]), _ = Nn((I) => {
921
+ x.current = I, I && (m && D() ? N() : g.current && je(g.current, f));
922
+ }), j = d.useCallback(() => {
927
923
  i.remove(T(), f);
928
924
  }, [f, i]);
929
925
  d.useEffect(() => () => {
930
- A();
931
- }, [A]), d.useEffect(() => {
932
- m ? E() : (!$ || !s) && A();
933
- }, [m, A, $, s, E]);
934
- const V = (w) => (k) => {
935
- var M;
936
- (M = w.onKeyDown) == null || M.call(w, k), !(k.key !== "Escape" || k.which === 229 || // Wait until IME is settled.
937
- !D()) && (t || (k.stopPropagation(), p && p(k, "escapeKeyDown")));
938
- }, U = (w) => (k) => {
939
- var M;
940
- (M = w.onClick) == null || M.call(w, k), k.target === k.currentTarget && p && p(k, "backdropClick");
926
+ j();
927
+ }, [j]), d.useEffect(() => {
928
+ m ? E() : (!F || !s) && j();
929
+ }, [m, j, F, s, E]);
930
+ const U = (I) => (M) => {
931
+ var k;
932
+ (k = I.onKeyDown) == null || k.call(I, M), !(M.key !== "Escape" || M.which === 229 || // Wait until IME is settled.
933
+ !D()) && (t || (M.stopPropagation(), p && p(M, "escapeKeyDown")));
934
+ }, V = (I) => (M) => {
935
+ var k;
936
+ (k = I.onClick) == null || k.call(I, M), M.target === M.currentTarget && p && p(M, "backdropClick");
941
937
  };
942
938
  return {
943
- getRootProps: (w = {}) => {
944
- const k = mo(n);
945
- delete k.onTransitionEnter, delete k.onTransitionExited;
946
- const M = u({}, k, w);
939
+ getRootProps: (I = {}) => {
940
+ const M = fo(n);
941
+ delete M.onTransitionEnter, delete M.onTransitionExited;
942
+ const k = u({}, M, I);
947
943
  return u({
948
944
  role: "presentation"
949
- }, M, {
950
- onKeyDown: V(M),
951
- ref: I
945
+ }, k, {
946
+ onKeyDown: U(k),
947
+ ref: w
952
948
  });
953
949
  },
954
- getBackdropProps: (w = {}) => {
955
- const k = w;
950
+ getBackdropProps: (I = {}) => {
951
+ const M = I;
956
952
  return u({
957
953
  "aria-hidden": !0
958
- }, k, {
959
- onClick: U(k),
954
+ }, M, {
955
+ onClick: V(M),
960
956
  open: m
961
957
  });
962
958
  },
963
959
  getTransitionProps: () => {
964
- const w = () => {
960
+ const I = () => {
965
961
  y(!1), a && a();
966
- }, k = () => {
967
- y(!0), l && l(), s && A();
962
+ }, M = () => {
963
+ y(!0), l && l(), s && j();
968
964
  };
969
965
  return {
970
- onEnter: _n(w, c == null ? void 0 : c.props.onEnter),
971
- onExited: _n(k, c == null ? void 0 : c.props.onExited)
966
+ onEnter: Sn(I, c == null ? void 0 : c.props.onEnter),
967
+ onExited: Sn(M, c == null ? void 0 : c.props.onExited)
972
968
  };
973
969
  },
974
- rootRef: I,
970
+ rootRef: w,
975
971
  portalRef: _,
976
972
  isTopModal: D,
977
- exited: O,
978
- hasTransition: $
973
+ exited: R,
974
+ hasTransition: F
979
975
  };
980
976
  }
981
- function Ct(n) {
982
- return oe("MuiInput", n);
983
- }
984
- const Pt = u({}, gn, ee("MuiInput", ["root", "underline", "input"])), De = Pt, Nt = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"], It = (n) => {
985
- const {
986
- classes: o,
987
- disableUnderline: t
988
- } = n, i = ne({
989
- root: ["root", !t && "underline"],
990
- input: ["input"]
991
- }, Ct, o);
992
- return u({}, o, i);
993
- }, St = j(yn, {
994
- shouldForwardProp: (n) => be(n) || n === "classes",
995
- name: "MuiInput",
996
- slot: "Root",
997
- overridesResolver: (n, o) => {
998
- const {
999
- ownerState: t
1000
- } = n;
1001
- return [...En(n, o), !t.disableUnderline && o.underline];
1002
- }
1003
- })(({
1004
- theme: n,
1005
- ownerState: o
1006
- }) => {
1007
- let r = n.palette.mode === "light" ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)";
1008
- return n.vars && (r = `rgba(${n.vars.palette.common.onBackgroundChannel} / ${n.vars.opacity.inputUnderline})`), u({
1009
- position: "relative"
1010
- }, o.formControl && {
1011
- "label + &": {
1012
- marginTop: 16
1013
- }
1014
- }, !o.disableUnderline && {
1015
- "&::after": {
1016
- borderBottom: `2px solid ${(n.vars || n).palette[o.color].main}`,
1017
- left: 0,
1018
- bottom: 0,
1019
- // Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
1020
- content: '""',
1021
- position: "absolute",
1022
- right: 0,
1023
- transform: "scaleX(0)",
1024
- transition: n.transitions.create("transform", {
1025
- duration: n.transitions.duration.shorter,
1026
- easing: n.transitions.easing.easeOut
1027
- }),
1028
- pointerEvents: "none"
1029
- // Transparent to the hover style.
1030
- },
1031
- [`&.${De.focused}:after`]: {
1032
- // translateX(0) is a workaround for Safari transform scale bug
1033
- // See https://github.com/mui/material-ui/issues/31766
1034
- transform: "scaleX(1) translateX(0)"
1035
- },
1036
- [`&.${De.error}`]: {
1037
- "&::before, &::after": {
1038
- borderBottomColor: (n.vars || n).palette.error.main
1039
- }
1040
- },
1041
- "&::before": {
1042
- borderBottom: `1px solid ${r}`,
1043
- left: 0,
1044
- bottom: 0,
1045
- // Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
1046
- content: '"\\00a0"',
1047
- position: "absolute",
1048
- right: 0,
1049
- transition: n.transitions.create("border-bottom-color", {
1050
- duration: n.transitions.duration.shorter
1051
- }),
1052
- pointerEvents: "none"
1053
- // Transparent to the hover style.
1054
- },
1055
- [`&:hover:not(.${De.disabled}, .${De.error}):before`]: {
1056
- borderBottom: `2px solid ${(n.vars || n).palette.text.primary}`,
1057
- // Reset on touch devices, it doesn't add specificity
1058
- "@media (hover: none)": {
1059
- borderBottom: `1px solid ${r}`
1060
- }
1061
- },
1062
- [`&.${De.disabled}:before`]: {
1063
- borderBottomStyle: "dotted"
1064
- }
1065
- });
1066
- }), wt = j(xn, {
1067
- name: "MuiInput",
1068
- slot: "Input",
1069
- overridesResolver: Tn
1070
- })({}), Rn = /* @__PURE__ */ d.forwardRef(function(o, t) {
1071
- var r, i, s, a;
1072
- const l = re({
1073
- props: o,
1074
- name: "MuiInput"
1075
- }), {
1076
- disableUnderline: c,
1077
- components: p = {},
1078
- componentsProps: m,
1079
- fullWidth: h = !1,
1080
- inputComponent: g = "input",
1081
- multiline: x = !1,
1082
- slotProps: v,
1083
- slots: I = {},
1084
- type: O = "text"
1085
- } = l, y = z(l, Nt), $ = It(l), b = {
1086
- root: {
1087
- ownerState: {
1088
- disableUnderline: c
1089
- }
1090
- }
1091
- }, T = v ?? m ? vn(v ?? m, b) : b, P = (r = (i = I.root) != null ? i : p.Root) != null ? r : St, E = (s = (a = I.input) != null ? a : p.Input) != null ? s : wt;
1092
- return /* @__PURE__ */ S(On, u({
1093
- slots: {
1094
- root: P,
1095
- input: E
1096
- },
1097
- slotProps: T,
1098
- fullWidth: h,
1099
- inputComponent: g,
1100
- multiline: x,
1101
- ref: t,
1102
- type: O
1103
- }, y, {
1104
- classes: $
1105
- }));
1106
- });
1107
- process.env.NODE_ENV !== "production" && (Rn.propTypes = {
1108
- // ┌────────────────────────────── Warning ──────────────────────────────┐
1109
- // │ These PropTypes are generated from the TypeScript type definitions. │
1110
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1111
- // └─────────────────────────────────────────────────────────────────────┘
1112
- /**
1113
- * This prop helps users to fill forms faster, especially on mobile devices.
1114
- * The name can be confusing, as it's more like an autofill.
1115
- * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
1116
- */
1117
- autoComplete: e.string,
1118
- /**
1119
- * If `true`, the `input` element is focused during the first mount.
1120
- */
1121
- autoFocus: e.bool,
1122
- /**
1123
- * Override or extend the styles applied to the component.
1124
- */
1125
- classes: e.object,
1126
- /**
1127
- * The color of the component.
1128
- * It supports both default and custom theme colors, which can be added as shown in the
1129
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
1130
- * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
1131
- */
1132
- color: e.oneOfType([e.oneOf(["primary", "secondary"]), e.string]),
1133
- /**
1134
- * The components used for each slot inside.
1135
- *
1136
- * This prop is an alias for the `slots` prop.
1137
- * It's recommended to use the `slots` prop instead.
1138
- *
1139
- * @default {}
1140
- */
1141
- components: e.shape({
1142
- Input: e.elementType,
1143
- Root: e.elementType
1144
- }),
1145
- /**
1146
- * The extra props for the slot components.
1147
- * You can override the existing props or add new ones.
1148
- *
1149
- * This prop is an alias for the `slotProps` prop.
1150
- * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
1151
- *
1152
- * @default {}
1153
- */
1154
- componentsProps: e.shape({
1155
- input: e.object,
1156
- root: e.object
1157
- }),
1158
- /**
1159
- * The default value. Use when the component is not controlled.
1160
- */
1161
- defaultValue: e.any,
1162
- /**
1163
- * If `true`, the component is disabled.
1164
- * The prop defaults to the value (`false`) inherited from the parent FormControl component.
1165
- */
1166
- disabled: e.bool,
1167
- /**
1168
- * If `true`, the `input` will not have an underline.
1169
- */
1170
- disableUnderline: e.bool,
1171
- /**
1172
- * End `InputAdornment` for this component.
1173
- */
1174
- endAdornment: e.node,
1175
- /**
1176
- * If `true`, the `input` will indicate an error.
1177
- * The prop defaults to the value (`false`) inherited from the parent FormControl component.
1178
- */
1179
- error: e.bool,
1180
- /**
1181
- * If `true`, the `input` will take up the full width of its container.
1182
- * @default false
1183
- */
1184
- fullWidth: e.bool,
1185
- /**
1186
- * The id of the `input` element.
1187
- */
1188
- id: e.string,
1189
- /**
1190
- * The component used for the `input` element.
1191
- * Either a string to use a HTML element or a component.
1192
- * @default 'input'
1193
- */
1194
- inputComponent: e.elementType,
1195
- /**
1196
- * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
1197
- * @default {}
1198
- */
1199
- inputProps: e.object,
1200
- /**
1201
- * Pass a ref to the `input` element.
1202
- */
1203
- inputRef: we,
1204
- /**
1205
- * If `dense`, will adjust vertical spacing. This is normally obtained via context from
1206
- * FormControl.
1207
- * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.
1208
- */
1209
- margin: e.oneOf(["dense", "none"]),
1210
- /**
1211
- * Maximum number of rows to display when multiline option is set to true.
1212
- */
1213
- maxRows: e.oneOfType([e.number, e.string]),
1214
- /**
1215
- * Minimum number of rows to display when multiline option is set to true.
1216
- */
1217
- minRows: e.oneOfType([e.number, e.string]),
1218
- /**
1219
- * If `true`, a [TextareaAutosize](/material-ui/react-textarea-autosize/) element is rendered.
1220
- * @default false
1221
- */
1222
- multiline: e.bool,
1223
- /**
1224
- * Name attribute of the `input` element.
1225
- */
1226
- name: e.string,
1227
- /**
1228
- * Callback fired when the value is changed.
1229
- *
1230
- * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
1231
- * You can pull out the new value by accessing `event.target.value` (string).
1232
- */
1233
- onChange: e.func,
1234
- /**
1235
- * The short hint displayed in the `input` before the user enters a value.
1236
- */
1237
- placeholder: e.string,
1238
- /**
1239
- * It prevents the user from changing the value of the field
1240
- * (not from interacting with the field).
1241
- */
1242
- readOnly: e.bool,
1243
- /**
1244
- * If `true`, the `input` element is required.
1245
- * The prop defaults to the value (`false`) inherited from the parent FormControl component.
1246
- */
1247
- required: e.bool,
1248
- /**
1249
- * Number of rows to display when multiline option is set to true.
1250
- */
1251
- rows: e.oneOfType([e.number, e.string]),
1252
- /**
1253
- * The extra props for the slot components.
1254
- * You can override the existing props or add new ones.
1255
- *
1256
- * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
1257
- *
1258
- * @default {}
1259
- */
1260
- slotProps: e.shape({
1261
- input: e.object,
1262
- root: e.object
1263
- }),
1264
- /**
1265
- * The components used for each slot inside.
1266
- *
1267
- * This prop is an alias for the `components` prop, which will be deprecated in the future.
1268
- *
1269
- * @default {}
1270
- */
1271
- slots: e.shape({
1272
- input: e.elementType,
1273
- root: e.elementType
1274
- }),
1275
- /**
1276
- * Start `InputAdornment` for this component.
1277
- */
1278
- startAdornment: e.node,
1279
- /**
1280
- * The system prop that allows defining system overrides as well as additional CSS styles.
1281
- */
1282
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
1283
- /**
1284
- * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
1285
- * @default 'text'
1286
- */
1287
- type: e.string,
1288
- /**
1289
- * The value of the `input` element, required for a controlled component.
1290
- */
1291
- value: e.any
1292
- });
1293
- Rn.muiName = "Input";
1294
- const bo = Rn;
1295
- function $t(n) {
977
+ const _n = (n) => {
978
+ let o;
979
+ return n < 1 ? o = 5.11916 * n ** 2 : o = 4.5 * Math.log(n + 1) + 2, (o / 100).toFixed(2);
980
+ };
981
+ function Ot(n) {
1296
982
  return oe("MuiFilledInput", n);
1297
983
  }
1298
- const Mt = u({}, gn, ee("MuiFilledInput", ["root", "underline", "input"])), Ne = Mt, kt = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"], Ft = (n) => {
984
+ const Rt = u({}, Xn, ne("MuiFilledInput", ["root", "underline", "input"])), Ne = Rt, Ct = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"], Pt = (n) => {
1299
985
  const {
1300
986
  classes: o,
1301
987
  disableUnderline: t
1302
- } = n, i = ne({
988
+ } = n, i = te({
1303
989
  root: ["root", !t && "underline"],
1304
990
  input: ["input"]
1305
- }, $t, o);
991
+ }, Ot, o);
1306
992
  return u({}, o, i);
1307
- }, Dt = j(yn, {
1308
- shouldForwardProp: (n) => be(n) || n === "classes",
993
+ }, Nt = B(Yn, {
994
+ shouldForwardProp: (n) => Oe(n) || n === "classes",
1309
995
  name: "MuiFilledInput",
1310
996
  slot: "Root",
1311
997
  overridesResolver: (n, o) => {
1312
998
  const {
1313
999
  ownerState: t
1314
1000
  } = n;
1315
- return [...En(n, o), !t.disableUnderline && o.underline];
1001
+ return [...Zn(n, o), !t.disableUnderline && o.underline];
1316
1002
  }
1317
1003
  })(({
1318
1004
  theme: n,
@@ -1405,10 +1091,10 @@ const Mt = u({}, gn, ee("MuiFilledInput", ["root", "underline", "input"])), Ne =
1405
1091
  paddingTop: 8,
1406
1092
  paddingBottom: 9
1407
1093
  }));
1408
- }), Lt = j(xn, {
1094
+ }), It = B(Jn, {
1409
1095
  name: "MuiFilledInput",
1410
1096
  slot: "Input",
1411
- overridesResolver: Tn
1097
+ overridesResolver: Qn
1412
1098
  })(({
1413
1099
  theme: n,
1414
1100
  ownerState: o
@@ -1455,7 +1141,7 @@ const Mt = u({}, gn, ee("MuiFilledInput", ["root", "underline", "input"])), Ne =
1455
1141
  paddingBottom: 0,
1456
1142
  paddingLeft: 0,
1457
1143
  paddingRight: 0
1458
- })), Cn = /* @__PURE__ */ d.forwardRef(function(o, t) {
1144
+ })), hn = /* @__PURE__ */ d.forwardRef(function(o, t) {
1459
1145
  var r, i, s, a;
1460
1146
  const l = re({
1461
1147
  props: o,
@@ -1466,39 +1152,39 @@ const Mt = u({}, gn, ee("MuiFilledInput", ["root", "underline", "input"])), Ne =
1466
1152
  fullWidth: m = !1,
1467
1153
  // declare here to prevent spreading to DOM
1468
1154
  inputComponent: h = "input",
1469
- multiline: g = !1,
1155
+ multiline: v = !1,
1470
1156
  slotProps: x,
1471
- slots: v = {},
1472
- type: I = "text"
1473
- } = l, O = z(l, kt), y = u({}, l, {
1157
+ slots: g = {},
1158
+ type: w = "text"
1159
+ } = l, R = q(l, Ct), y = u({}, l, {
1474
1160
  fullWidth: m,
1475
1161
  inputComponent: h,
1476
- multiline: g,
1477
- type: I
1478
- }), $ = Ft(l), f = {
1162
+ multiline: v,
1163
+ type: w
1164
+ }), F = Pt(l), f = {
1479
1165
  root: {
1480
1166
  ownerState: y
1481
1167
  },
1482
1168
  input: {
1483
1169
  ownerState: y
1484
1170
  }
1485
- }, b = x ?? p ? vn(f, x ?? p) : f, T = (r = (i = v.root) != null ? i : c.Root) != null ? r : Dt, P = (s = (a = v.input) != null ? a : c.Input) != null ? s : Lt;
1486
- return /* @__PURE__ */ S(On, u({
1171
+ }, b = x ?? p ? Kn(f, x ?? p) : f, T = (r = (i = g.root) != null ? i : c.Root) != null ? r : Nt, N = (s = (a = g.input) != null ? a : c.Input) != null ? s : It;
1172
+ return /* @__PURE__ */ S(eo, u({
1487
1173
  slots: {
1488
1174
  root: T,
1489
- input: P
1175
+ input: N
1490
1176
  },
1491
1177
  componentsProps: b,
1492
1178
  fullWidth: m,
1493
1179
  inputComponent: h,
1494
- multiline: g,
1180
+ multiline: v,
1495
1181
  ref: t,
1496
- type: I
1497
- }, O, {
1498
- classes: $
1182
+ type: w
1183
+ }, R, {
1184
+ classes: F
1499
1185
  }));
1500
1186
  });
1501
- process.env.NODE_ENV !== "production" && (Cn.propTypes = {
1187
+ process.env.NODE_ENV !== "production" && (hn.propTypes = {
1502
1188
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1503
1189
  // │ These PropTypes are generated from the TypeScript type definitions. │
1504
1190
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1601,7 +1287,7 @@ process.env.NODE_ENV !== "production" && (Cn.propTypes = {
1601
1287
  /**
1602
1288
  * Pass a ref to the `input` element.
1603
1289
  */
1604
- inputRef: we,
1290
+ inputRef: $e,
1605
1291
  /**
1606
1292
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
1607
1293
  * FormControl.
@@ -1691,11 +1377,11 @@ process.env.NODE_ENV !== "production" && (Cn.propTypes = {
1691
1377
  */
1692
1378
  value: e.any
1693
1379
  });
1694
- Cn.muiName = "Input";
1695
- const ho = Cn;
1696
- var Kn;
1697
- const jt = ["children", "classes", "className", "label", "notched"], _t = j("fieldset", {
1698
- shouldForwardProp: be
1380
+ hn.muiName = "Input";
1381
+ const mo = hn;
1382
+ var jn;
1383
+ const St = ["children", "classes", "className", "label", "notched"], wt = B("fieldset", {
1384
+ shouldForwardProp: Oe
1699
1385
  })({
1700
1386
  textAlign: "left",
1701
1387
  position: "absolute",
@@ -1711,8 +1397,8 @@ const jt = ["children", "classes", "className", "label", "notched"], _t = j("fie
1711
1397
  borderWidth: 1,
1712
1398
  overflow: "hidden",
1713
1399
  minWidth: "0%"
1714
- }), At = j("legend", {
1715
- shouldForwardProp: be
1400
+ }), kt = B("legend", {
1401
+ shouldForwardProp: Oe
1716
1402
  })(({
1717
1403
  ownerState: n,
1718
1404
  theme: o
@@ -1759,27 +1445,27 @@ const jt = ["children", "classes", "className", "label", "notched"], _t = j("fie
1759
1445
  delay: 50
1760
1446
  })
1761
1447
  })));
1762
- function vo(n) {
1448
+ function bo(n) {
1763
1449
  const {
1764
1450
  className: o,
1765
1451
  label: t,
1766
1452
  notched: r
1767
- } = n, i = z(n, jt), s = t != null && t !== "", a = u({}, n, {
1453
+ } = n, i = q(n, St), s = t != null && t !== "", a = u({}, n, {
1768
1454
  notched: r,
1769
1455
  withLabel: s
1770
1456
  });
1771
- return /* @__PURE__ */ S(_t, u({
1457
+ return /* @__PURE__ */ S(wt, u({
1772
1458
  "aria-hidden": !0,
1773
1459
  className: o,
1774
1460
  ownerState: a
1775
1461
  }, i, {
1776
- children: /* @__PURE__ */ S(At, {
1462
+ children: /* @__PURE__ */ S(kt, {
1777
1463
  ownerState: a,
1778
1464
  children: s ? /* @__PURE__ */ S("span", {
1779
1465
  children: t
1780
1466
  }) : (
1781
1467
  // notranslate needed while Google Translate will not fix zero-width space issue
1782
- Kn || (Kn = /* @__PURE__ */ S("span", {
1468
+ jn || (jn = /* @__PURE__ */ S("span", {
1783
1469
  className: "notranslate",
1784
1470
  children: "​"
1785
1471
  }))
@@ -1787,7 +1473,7 @@ function vo(n) {
1787
1473
  })
1788
1474
  }));
1789
1475
  }
1790
- process.env.NODE_ENV !== "production" && (vo.propTypes = {
1476
+ process.env.NODE_ENV !== "production" && (bo.propTypes = {
1791
1477
  /**
1792
1478
  * The content of the component.
1793
1479
  */
@@ -1814,23 +1500,23 @@ process.env.NODE_ENV !== "production" && (vo.propTypes = {
1814
1500
  */
1815
1501
  style: e.object
1816
1502
  });
1817
- function Bt(n) {
1503
+ function Mt(n) {
1818
1504
  return oe("MuiOutlinedInput", n);
1819
1505
  }
1820
- const Ut = u({}, gn, ee("MuiOutlinedInput", ["root", "notchedOutline", "input"])), Oe = Ut, Wt = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"], Vt = (n) => {
1506
+ const Ft = u({}, Xn, ne("MuiOutlinedInput", ["root", "notchedOutline", "input"])), Te = Ft, $t = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"], Dt = (n) => {
1821
1507
  const {
1822
1508
  classes: o
1823
- } = n, r = ne({
1509
+ } = n, r = te({
1824
1510
  root: ["root"],
1825
1511
  notchedOutline: ["notchedOutline"],
1826
1512
  input: ["input"]
1827
- }, Bt, o);
1513
+ }, Mt, o);
1828
1514
  return u({}, o, r);
1829
- }, qt = j(yn, {
1830
- shouldForwardProp: (n) => be(n) || n === "classes",
1515
+ }, Lt = B(Yn, {
1516
+ shouldForwardProp: (n) => Oe(n) || n === "classes",
1831
1517
  name: "MuiOutlinedInput",
1832
1518
  slot: "Root",
1833
- overridesResolver: En
1519
+ overridesResolver: Zn
1834
1520
  })(({
1835
1521
  theme: n,
1836
1522
  ownerState: o
@@ -1839,23 +1525,23 @@ const Ut = u({}, gn, ee("MuiOutlinedInput", ["root", "notchedOutline", "input"])
1839
1525
  return u({
1840
1526
  position: "relative",
1841
1527
  borderRadius: (n.vars || n).shape.borderRadius,
1842
- [`&:hover .${Oe.notchedOutline}`]: {
1528
+ [`&:hover .${Te.notchedOutline}`]: {
1843
1529
  borderColor: (n.vars || n).palette.text.primary
1844
1530
  },
1845
1531
  // Reset on touch devices, it doesn't add specificity
1846
1532
  "@media (hover: none)": {
1847
- [`&:hover .${Oe.notchedOutline}`]: {
1533
+ [`&:hover .${Te.notchedOutline}`]: {
1848
1534
  borderColor: n.vars ? `rgba(${n.vars.palette.common.onBackgroundChannel} / 0.23)` : t
1849
1535
  }
1850
1536
  },
1851
- [`&.${Oe.focused} .${Oe.notchedOutline}`]: {
1537
+ [`&.${Te.focused} .${Te.notchedOutline}`]: {
1852
1538
  borderColor: (n.vars || n).palette[o.color].main,
1853
1539
  borderWidth: 2
1854
1540
  },
1855
- [`&.${Oe.error} .${Oe.notchedOutline}`]: {
1541
+ [`&.${Te.error} .${Te.notchedOutline}`]: {
1856
1542
  borderColor: (n.vars || n).palette.error.main
1857
1543
  },
1858
- [`&.${Oe.disabled} .${Oe.notchedOutline}`]: {
1544
+ [`&.${Te.disabled} .${Te.notchedOutline}`]: {
1859
1545
  borderColor: (n.vars || n).palette.action.disabled
1860
1546
  }
1861
1547
  }, o.startAdornment && {
@@ -1867,7 +1553,7 @@ const Ut = u({}, gn, ee("MuiOutlinedInput", ["root", "notchedOutline", "input"])
1867
1553
  }, o.size === "small" && {
1868
1554
  padding: "8.5px 14px"
1869
1555
  }));
1870
- }), zt = j(vo, {
1556
+ }), _t = B(bo, {
1871
1557
  name: "MuiOutlinedInput",
1872
1558
  slot: "NotchedOutline",
1873
1559
  overridesResolver: (n, o) => o.notchedOutline
@@ -1878,10 +1564,10 @@ const Ut = u({}, gn, ee("MuiOutlinedInput", ["root", "notchedOutline", "input"])
1878
1564
  return {
1879
1565
  borderColor: n.vars ? `rgba(${n.vars.palette.common.onBackgroundChannel} / 0.23)` : o
1880
1566
  };
1881
- }), Ht = j(xn, {
1567
+ }), jt = B(Jn, {
1882
1568
  name: "MuiOutlinedInput",
1883
1569
  slot: "Input",
1884
- overridesResolver: Tn
1570
+ overridesResolver: Qn
1885
1571
  })(({
1886
1572
  theme: n,
1887
1573
  ownerState: o
@@ -1913,7 +1599,7 @@ const Ut = u({}, gn, ee("MuiOutlinedInput", ["root", "notchedOutline", "input"])
1913
1599
  paddingLeft: 0
1914
1600
  }, o.endAdornment && {
1915
1601
  paddingRight: 0
1916
- })), Pn = /* @__PURE__ */ d.forwardRef(function(o, t) {
1602
+ })), vn = /* @__PURE__ */ d.forwardRef(function(o, t) {
1917
1603
  var r, i, s, a, l;
1918
1604
  const c = re({
1919
1605
  props: o,
@@ -1922,12 +1608,12 @@ const Ut = u({}, gn, ee("MuiOutlinedInput", ["root", "notchedOutline", "input"])
1922
1608
  components: p = {},
1923
1609
  fullWidth: m = !1,
1924
1610
  inputComponent: h = "input",
1925
- label: g,
1611
+ label: v,
1926
1612
  multiline: x = !1,
1927
- notched: v,
1928
- slots: I = {},
1929
- type: O = "text"
1930
- } = c, y = z(c, Wt), $ = Vt(c), f = Ve(), b = qe({
1613
+ notched: g,
1614
+ slots: w = {},
1615
+ type: R = "text"
1616
+ } = c, y = q(c, $t), F = Dt(c), f = We(), b = Ue({
1931
1617
  props: c,
1932
1618
  muiFormControl: f,
1933
1619
  states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
@@ -1941,33 +1627,33 @@ const Ut = u({}, gn, ee("MuiOutlinedInput", ["root", "notchedOutline", "input"])
1941
1627
  hiddenLabel: b.hiddenLabel,
1942
1628
  multiline: x,
1943
1629
  size: b.size,
1944
- type: O
1945
- }), P = (r = (i = I.root) != null ? i : p.Root) != null ? r : qt, E = (s = (a = I.input) != null ? a : p.Input) != null ? s : Ht;
1946
- return /* @__PURE__ */ S(On, u({
1630
+ type: R
1631
+ }), N = (r = (i = w.root) != null ? i : p.Root) != null ? r : Lt, E = (s = (a = w.input) != null ? a : p.Input) != null ? s : jt;
1632
+ return /* @__PURE__ */ S(eo, u({
1947
1633
  slots: {
1948
- root: P,
1634
+ root: N,
1949
1635
  input: E
1950
1636
  },
1951
- renderSuffix: (D) => /* @__PURE__ */ S(zt, {
1637
+ renderSuffix: (D) => /* @__PURE__ */ S(_t, {
1952
1638
  ownerState: T,
1953
- className: $.notchedOutline,
1954
- label: g != null && g !== "" && b.required ? l || (l = /* @__PURE__ */ me(d.Fragment, {
1955
- children: [g, " ", "*"]
1956
- })) : g,
1957
- notched: typeof v < "u" ? v : !!(D.startAdornment || D.filled || D.focused)
1639
+ className: F.notchedOutline,
1640
+ label: v != null && v !== "" && b.required ? l || (l = /* @__PURE__ */ me(d.Fragment, {
1641
+ children: [v, " ", "*"]
1642
+ })) : v,
1643
+ notched: typeof g < "u" ? g : !!(D.startAdornment || D.filled || D.focused)
1958
1644
  }),
1959
1645
  fullWidth: m,
1960
1646
  inputComponent: h,
1961
1647
  multiline: x,
1962
1648
  ref: t,
1963
- type: O
1649
+ type: R
1964
1650
  }, y, {
1965
- classes: u({}, $, {
1651
+ classes: u({}, F, {
1966
1652
  notchedOutline: null
1967
1653
  })
1968
1654
  }));
1969
1655
  });
1970
- process.env.NODE_ENV !== "production" && (Pn.propTypes = {
1656
+ process.env.NODE_ENV !== "production" && (vn.propTypes = {
1971
1657
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1972
1658
  // │ These PropTypes are generated from the TypeScript type definitions. │
1973
1659
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2046,7 +1732,7 @@ process.env.NODE_ENV !== "production" && (Pn.propTypes = {
2046
1732
  /**
2047
1733
  * Pass a ref to the `input` element.
2048
1734
  */
2049
- inputRef: we,
1735
+ inputRef: $e,
2050
1736
  /**
2051
1737
  * The label of the `input`. It is only used for layout. The actual labelling
2052
1738
  * is handled by `InputLabel`.
@@ -2133,12 +1819,12 @@ process.env.NODE_ENV !== "production" && (Pn.propTypes = {
2133
1819
  */
2134
1820
  value: e.any
2135
1821
  });
2136
- Pn.muiName = "Input";
2137
- const go = Pn;
2138
- function Kt(n) {
1822
+ vn.muiName = "Input";
1823
+ const ho = vn;
1824
+ function At(n) {
2139
1825
  return oe("MuiFormLabel", n);
2140
1826
  }
2141
- const Gt = ee("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), Be = Gt, Xt = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"], Yt = (n) => {
1827
+ const Bt = ne("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), Ae = Bt, Vt = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"], Wt = (n) => {
2142
1828
  const {
2143
1829
  classes: o,
2144
1830
  color: t,
@@ -2151,8 +1837,8 @@ const Gt = ee("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
2151
1837
  root: ["root", `color${ce(t)}`, i && "disabled", s && "error", a && "filled", r && "focused", l && "required"],
2152
1838
  asterisk: ["asterisk", s && "error"]
2153
1839
  };
2154
- return ne(c, Kt, o);
2155
- }, Zt = j("label", {
1840
+ return te(c, At, o);
1841
+ }, Ut = B("label", {
2156
1842
  name: "MuiFormLabel",
2157
1843
  slot: "Root",
2158
1844
  overridesResolver: ({
@@ -2167,26 +1853,26 @@ const Gt = ee("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
2167
1853
  lineHeight: "1.4375em",
2168
1854
  padding: 0,
2169
1855
  position: "relative",
2170
- [`&.${Be.focused}`]: {
1856
+ [`&.${Ae.focused}`]: {
2171
1857
  color: (n.vars || n).palette[o.color].main
2172
1858
  },
2173
- [`&.${Be.disabled}`]: {
1859
+ [`&.${Ae.disabled}`]: {
2174
1860
  color: (n.vars || n).palette.text.disabled
2175
1861
  },
2176
- [`&.${Be.error}`]: {
1862
+ [`&.${Ae.error}`]: {
2177
1863
  color: (n.vars || n).palette.error.main
2178
1864
  }
2179
- })), Jt = j("span", {
1865
+ })), zt = B("span", {
2180
1866
  name: "MuiFormLabel",
2181
1867
  slot: "Asterisk",
2182
1868
  overridesResolver: (n, o) => o.asterisk
2183
1869
  })(({
2184
1870
  theme: n
2185
1871
  }) => ({
2186
- [`&.${Be.error}`]: {
1872
+ [`&.${Ae.error}`]: {
2187
1873
  color: (n.vars || n).palette.error.main
2188
1874
  }
2189
- })), yo = /* @__PURE__ */ d.forwardRef(function(o, t) {
1875
+ })), vo = /* @__PURE__ */ d.forwardRef(function(o, t) {
2190
1876
  const r = re({
2191
1877
  props: o,
2192
1878
  name: "MuiFormLabel"
@@ -2194,7 +1880,7 @@ const Gt = ee("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
2194
1880
  children: i,
2195
1881
  className: s,
2196
1882
  component: a = "label"
2197
- } = r, l = z(r, Xt), c = Ve(), p = qe({
1883
+ } = r, l = q(r, Vt), c = We(), p = Ue({
2198
1884
  props: r,
2199
1885
  muiFormControl: c,
2200
1886
  states: ["color", "required", "focused", "disabled", "error", "filled"]
@@ -2206,14 +1892,14 @@ const Gt = ee("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
2206
1892
  filled: p.filled,
2207
1893
  focused: p.focused,
2208
1894
  required: p.required
2209
- }), h = Yt(m);
2210
- return /* @__PURE__ */ me(Zt, u({
1895
+ }), h = Wt(m);
1896
+ return /* @__PURE__ */ me(Ut, u({
2211
1897
  as: a,
2212
1898
  ownerState: m,
2213
1899
  className: Y(h.root, s),
2214
1900
  ref: t
2215
1901
  }, l, {
2216
- children: [i, p.required && /* @__PURE__ */ me(Jt, {
1902
+ children: [i, p.required && /* @__PURE__ */ me(zt, {
2217
1903
  ownerState: m,
2218
1904
  "aria-hidden": !0,
2219
1905
  className: h.asterisk,
@@ -2221,7 +1907,7 @@ const Gt = ee("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
2221
1907
  })]
2222
1908
  }));
2223
1909
  });
2224
- process.env.NODE_ENV !== "production" && (yo.propTypes = {
1910
+ process.env.NODE_ENV !== "production" && (vo.propTypes = {
2225
1911
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2226
1912
  // │ These PropTypes are generated from the TypeScript type definitions. │
2227
1913
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2274,12 +1960,12 @@ process.env.NODE_ENV !== "production" && (yo.propTypes = {
2274
1960
  */
2275
1961
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
2276
1962
  });
2277
- const Qt = yo;
2278
- function er(n) {
1963
+ const qt = vo;
1964
+ function Ht(n) {
2279
1965
  return oe("MuiInputLabel", n);
2280
1966
  }
2281
- ee("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]);
2282
- const nr = ["disableAnimation", "margin", "shrink", "variant", "className"], or = (n) => {
1967
+ ne("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]);
1968
+ const Kt = ["disableAnimation", "margin", "shrink", "variant", "className"], Gt = (n) => {
2283
1969
  const {
2284
1970
  classes: o,
2285
1971
  formControl: t,
@@ -2291,10 +1977,10 @@ const nr = ["disableAnimation", "margin", "shrink", "variant", "className"], or
2291
1977
  } = n, c = {
2292
1978
  root: ["root", t && "formControl", !s && "animated", i && "shrink", r && r !== "normal" && `size${ce(r)}`, a],
2293
1979
  asterisk: [l && "asterisk"]
2294
- }, p = ne(c, er, o);
1980
+ }, p = te(c, Ht, o);
2295
1981
  return u({}, o, p);
2296
- }, tr = j(Qt, {
2297
- shouldForwardProp: (n) => be(n) || n === "classes",
1982
+ }, Xt = B(qt, {
1983
+ shouldForwardProp: (n) => Oe(n) || n === "classes",
2298
1984
  name: "MuiInputLabel",
2299
1985
  slot: "Root",
2300
1986
  overridesResolver: (n, o) => {
@@ -2302,7 +1988,7 @@ const nr = ["disableAnimation", "margin", "shrink", "variant", "className"], or
2302
1988
  ownerState: t
2303
1989
  } = n;
2304
1990
  return [{
2305
- [`& .${Be.asterisk}`]: o.asterisk
1991
+ [`& .${Ae.asterisk}`]: o.asterisk
2306
1992
  }, o.root, t.formControl && o.formControl, t.size === "small" && o.sizeSmall, t.shrink && o.shrink, !t.disableAnimation && o.animated, t.focused && o.focused, o[t.variant]];
2307
1993
  }
2308
1994
  })(({
@@ -2366,7 +2052,7 @@ const nr = ["disableAnimation", "margin", "shrink", "variant", "className"], or
2366
2052
  // but it feels a better when it bleeds a bit on the left, so 32px.
2367
2053
  maxWidth: "calc(133% - 32px)",
2368
2054
  transform: "translate(14px, -9px) scale(0.75)"
2369
- }))), Eo = /* @__PURE__ */ d.forwardRef(function(o, t) {
2055
+ }))), go = /* @__PURE__ */ d.forwardRef(function(o, t) {
2370
2056
  const r = re({
2371
2057
  name: "MuiInputLabel",
2372
2058
  props: o
@@ -2374,10 +2060,10 @@ const nr = ["disableAnimation", "margin", "shrink", "variant", "className"], or
2374
2060
  disableAnimation: i = !1,
2375
2061
  shrink: s,
2376
2062
  className: a
2377
- } = r, l = z(r, nr), c = Ve();
2063
+ } = r, l = q(r, Kt), c = We();
2378
2064
  let p = s;
2379
2065
  typeof p > "u" && c && (p = c.filled || c.focused || c.adornedStart);
2380
- const m = qe({
2066
+ const m = Ue({
2381
2067
  props: r,
2382
2068
  muiFormControl: c,
2383
2069
  states: ["size", "variant", "required", "focused"]
@@ -2389,17 +2075,17 @@ const nr = ["disableAnimation", "margin", "shrink", "variant", "className"], or
2389
2075
  variant: m.variant,
2390
2076
  required: m.required,
2391
2077
  focused: m.focused
2392
- }), g = or(h);
2393
- return /* @__PURE__ */ S(tr, u({
2078
+ }), v = Gt(h);
2079
+ return /* @__PURE__ */ S(Xt, u({
2394
2080
  "data-shrink": p,
2395
2081
  ownerState: h,
2396
2082
  ref: t,
2397
- className: Y(g.root, a)
2083
+ className: Y(v.root, a)
2398
2084
  }, l, {
2399
- classes: g
2085
+ classes: v
2400
2086
  }));
2401
2087
  });
2402
- process.env.NODE_ENV !== "production" && (Eo.propTypes = {
2088
+ process.env.NODE_ENV !== "production" && (go.propTypes = {
2403
2089
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2404
2090
  // │ These PropTypes are generated from the TypeScript type definitions. │
2405
2091
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2466,12 +2152,12 @@ process.env.NODE_ENV !== "production" && (Eo.propTypes = {
2466
2152
  */
2467
2153
  variant: e.oneOf(["filled", "outlined", "standard"])
2468
2154
  });
2469
- const rr = Eo;
2470
- function sr(n) {
2155
+ const Yt = go;
2156
+ function Zt(n) {
2471
2157
  return oe("MuiFormControl", n);
2472
2158
  }
2473
- ee("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
2474
- const ir = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"], ar = (n) => {
2159
+ ne("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
2160
+ const Jt = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"], Qt = (n) => {
2475
2161
  const {
2476
2162
  classes: o,
2477
2163
  margin: t,
@@ -2479,8 +2165,8 @@ const ir = ["children", "className", "color", "component", "disabled", "error",
2479
2165
  } = n, i = {
2480
2166
  root: ["root", t !== "none" && `margin${ce(t)}`, r && "fullWidth"]
2481
2167
  };
2482
- return ne(i, sr, o);
2483
- }, lr = j("div", {
2168
+ return te(i, Zt, o);
2169
+ }, er = B("div", {
2484
2170
  name: "MuiFormControl",
2485
2171
  slot: "Root",
2486
2172
  overridesResolver: ({
@@ -2506,7 +2192,7 @@ const ir = ["children", "className", "color", "component", "disabled", "error",
2506
2192
  marginBottom: 4
2507
2193
  }, n.fullWidth && {
2508
2194
  width: "100%"
2509
- })), xo = /* @__PURE__ */ d.forwardRef(function(o, t) {
2195
+ })), yo = /* @__PURE__ */ d.forwardRef(function(o, t) {
2510
2196
  const r = re({
2511
2197
  props: o,
2512
2198
  name: "MuiFormControl"
@@ -2519,57 +2205,57 @@ const ir = ["children", "className", "color", "component", "disabled", "error",
2519
2205
  error: p = !1,
2520
2206
  focused: m,
2521
2207
  fullWidth: h = !1,
2522
- hiddenLabel: g = !1,
2208
+ hiddenLabel: v = !1,
2523
2209
  margin: x = "none",
2524
- required: v = !1,
2525
- size: I = "medium",
2526
- variant: O = "outlined"
2527
- } = r, y = z(r, ir), $ = u({}, r, {
2210
+ required: g = !1,
2211
+ size: w = "medium",
2212
+ variant: R = "outlined"
2213
+ } = r, y = q(r, Jt), F = u({}, r, {
2528
2214
  color: a,
2529
2215
  component: l,
2530
2216
  disabled: c,
2531
2217
  error: p,
2532
2218
  fullWidth: h,
2533
- hiddenLabel: g,
2219
+ hiddenLabel: v,
2534
2220
  margin: x,
2535
- required: v,
2536
- size: I,
2537
- variant: O
2538
- }), f = ar($), [b, T] = d.useState(() => {
2539
- let F = !1;
2540
- return i && d.Children.forEach(i, (N) => {
2541
- if (!an(N, ["Input", "Select"]))
2221
+ required: g,
2222
+ size: w,
2223
+ variant: R
2224
+ }), f = Qt(F), [b, T] = d.useState(() => {
2225
+ let $ = !1;
2226
+ return i && d.Children.forEach(i, (P) => {
2227
+ if (!sn(P, ["Input", "Select"]))
2542
2228
  return;
2543
- const R = an(N, ["Select"]) ? N.props.input : N;
2544
- R && Vo(R.props) && (F = !0);
2545
- }), F;
2546
- }), [P, E] = d.useState(() => {
2547
- let F = !1;
2548
- return i && d.Children.forEach(i, (N) => {
2549
- an(N, ["Input", "Select"]) && (dn(N.props, !0) || dn(N.props.inputProps, !0)) && (F = !0);
2550
- }), F;
2229
+ const O = sn(P, ["Select"]) ? P.props.input : P;
2230
+ O && Vo(O.props) && ($ = !0);
2231
+ }), $;
2232
+ }), [N, E] = d.useState(() => {
2233
+ let $ = !1;
2234
+ return i && d.Children.forEach(i, (P) => {
2235
+ sn(P, ["Input", "Select"]) && (dn(P.props, !0) || dn(P.props.inputProps, !0)) && ($ = !0);
2236
+ }), $;
2551
2237
  }), [D, _] = d.useState(!1);
2552
2238
  c && D && _(!1);
2553
- const A = m !== void 0 && !c ? m : D;
2554
- let V;
2239
+ const j = m !== void 0 && !c ? m : D;
2240
+ let U;
2555
2241
  if (process.env.NODE_ENV !== "production") {
2556
- const F = d.useRef(!1);
2557
- V = () => (F.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
2558
- `)), F.current = !0, () => {
2559
- F.current = !1;
2242
+ const $ = d.useRef(!1);
2243
+ U = () => ($.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
2244
+ `)), $.current = !0, () => {
2245
+ $.current = !1;
2560
2246
  });
2561
2247
  }
2562
- const U = d.useMemo(() => ({
2248
+ const V = d.useMemo(() => ({
2563
2249
  adornedStart: b,
2564
2250
  setAdornedStart: T,
2565
2251
  color: a,
2566
2252
  disabled: c,
2567
2253
  error: p,
2568
- filled: P,
2569
- focused: A,
2254
+ filled: N,
2255
+ focused: j,
2570
2256
  fullWidth: h,
2571
- hiddenLabel: g,
2572
- size: I,
2257
+ hiddenLabel: v,
2258
+ size: w,
2573
2259
  onBlur: () => {
2574
2260
  _(!1);
2575
2261
  },
@@ -2582,15 +2268,15 @@ const ir = ["children", "className", "color", "component", "disabled", "error",
2582
2268
  onFocus: () => {
2583
2269
  _(!0);
2584
2270
  },
2585
- registerEffect: V,
2586
- required: v,
2587
- variant: O
2588
- }), [b, a, c, p, P, A, h, g, V, v, I, O]);
2589
- return /* @__PURE__ */ S(qo.Provider, {
2590
- value: U,
2591
- children: /* @__PURE__ */ S(lr, u({
2271
+ registerEffect: U,
2272
+ required: g,
2273
+ variant: R
2274
+ }), [b, a, c, p, N, j, h, v, U, g, w, R]);
2275
+ return /* @__PURE__ */ S(Wo.Provider, {
2276
+ value: V,
2277
+ children: /* @__PURE__ */ S(er, u({
2592
2278
  as: l,
2593
- ownerState: $,
2279
+ ownerState: F,
2594
2280
  className: Y(f.root, s),
2595
2281
  ref: t
2596
2282
  }, y, {
@@ -2598,7 +2284,7 @@ const ir = ["children", "className", "color", "component", "disabled", "error",
2598
2284
  }))
2599
2285
  });
2600
2286
  });
2601
- process.env.NODE_ENV !== "production" && (xo.propTypes = {
2287
+ process.env.NODE_ENV !== "production" && (yo.propTypes = {
2602
2288
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2603
2289
  // │ These PropTypes are generated from the TypeScript type definitions. │
2604
2290
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2678,13 +2364,13 @@ process.env.NODE_ENV !== "production" && (xo.propTypes = {
2678
2364
  */
2679
2365
  variant: e.oneOf(["filled", "outlined", "standard"])
2680
2366
  });
2681
- const cr = xo;
2682
- function ur(n) {
2367
+ const nr = yo;
2368
+ function or(n) {
2683
2369
  return oe("MuiFormHelperText", n);
2684
2370
  }
2685
- const dr = ee("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]), Gn = dr;
2686
- var Xn;
2687
- const pr = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"], fr = (n) => {
2371
+ const tr = ne("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]), An = tr;
2372
+ var Bn;
2373
+ const rr = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"], sr = (n) => {
2688
2374
  const {
2689
2375
  classes: o,
2690
2376
  contained: t,
@@ -2697,8 +2383,8 @@ const pr = ["children", "className", "component", "disabled", "error", "filled",
2697
2383
  } = n, p = {
2698
2384
  root: ["root", i && "disabled", s && "error", r && `size${ce(r)}`, t && "contained", l && "focused", a && "filled", c && "required"]
2699
2385
  };
2700
- return ne(p, ur, o);
2701
- }, mr = j("p", {
2386
+ return te(p, or, o);
2387
+ }, ir = B("p", {
2702
2388
  name: "MuiFormHelperText",
2703
2389
  slot: "Root",
2704
2390
  overridesResolver: (n, o) => {
@@ -2718,10 +2404,10 @@ const pr = ["children", "className", "component", "disabled", "error", "filled",
2718
2404
  marginRight: 0,
2719
2405
  marginBottom: 0,
2720
2406
  marginLeft: 0,
2721
- [`&.${Gn.disabled}`]: {
2407
+ [`&.${An.disabled}`]: {
2722
2408
  color: (n.vars || n).palette.text.disabled
2723
2409
  },
2724
- [`&.${Gn.error}`]: {
2410
+ [`&.${An.error}`]: {
2725
2411
  color: (n.vars || n).palette.error.main
2726
2412
  }
2727
2413
  }, o.size === "small" && {
@@ -2729,7 +2415,7 @@ const pr = ["children", "className", "component", "disabled", "error", "filled",
2729
2415
  }, o.contained && {
2730
2416
  marginLeft: 14,
2731
2417
  marginRight: 14
2732
- })), To = /* @__PURE__ */ d.forwardRef(function(o, t) {
2418
+ })), Eo = /* @__PURE__ */ d.forwardRef(function(o, t) {
2733
2419
  const r = re({
2734
2420
  props: o,
2735
2421
  name: "MuiFormHelperText"
@@ -2737,7 +2423,7 @@ const pr = ["children", "className", "component", "disabled", "error", "filled",
2737
2423
  children: i,
2738
2424
  className: s,
2739
2425
  component: a = "p"
2740
- } = r, l = z(r, pr), c = Ve(), p = qe({
2426
+ } = r, l = q(r, rr), c = We(), p = Ue({
2741
2427
  props: r,
2742
2428
  muiFormControl: c,
2743
2429
  states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
@@ -2751,8 +2437,8 @@ const pr = ["children", "className", "component", "disabled", "error", "filled",
2751
2437
  filled: p.filled,
2752
2438
  focused: p.focused,
2753
2439
  required: p.required
2754
- }), h = fr(m);
2755
- return /* @__PURE__ */ S(mr, u({
2440
+ }), h = sr(m);
2441
+ return /* @__PURE__ */ S(ir, u({
2756
2442
  as: a,
2757
2443
  ownerState: m,
2758
2444
  className: Y(h.root, s),
@@ -2760,14 +2446,14 @@ const pr = ["children", "className", "component", "disabled", "error", "filled",
2760
2446
  }, l, {
2761
2447
  children: i === " " ? (
2762
2448
  // notranslate needed while Google Translate will not fix zero-width space issue
2763
- Xn || (Xn = /* @__PURE__ */ S("span", {
2449
+ Bn || (Bn = /* @__PURE__ */ S("span", {
2764
2450
  className: "notranslate",
2765
2451
  children: "​"
2766
2452
  }))
2767
2453
  ) : i
2768
2454
  }));
2769
2455
  });
2770
- process.env.NODE_ENV !== "production" && (To.propTypes = {
2456
+ process.env.NODE_ENV !== "production" && (Eo.propTypes = {
2771
2457
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2772
2458
  // │ These PropTypes are generated from the TypeScript type definitions. │
2773
2459
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2825,24 +2511,24 @@ process.env.NODE_ENV !== "production" && (To.propTypes = {
2825
2511
  */
2826
2512
  variant: e.oneOfType([e.oneOf(["filled", "outlined", "standard"]), e.string])
2827
2513
  });
2828
- const br = To, Oo = /* @__PURE__ */ d.createContext({});
2829
- process.env.NODE_ENV !== "production" && (Oo.displayName = "ListContext");
2830
- const hr = Oo;
2831
- function vr(n) {
2514
+ const ar = Eo, xo = /* @__PURE__ */ d.createContext({});
2515
+ process.env.NODE_ENV !== "production" && (xo.displayName = "ListContext");
2516
+ const lr = xo;
2517
+ function cr(n) {
2832
2518
  return oe("MuiList", n);
2833
2519
  }
2834
- ee("MuiList", ["root", "padding", "dense", "subheader"]);
2835
- const gr = ["children", "className", "component", "dense", "disablePadding", "subheader"], yr = (n) => {
2520
+ ne("MuiList", ["root", "padding", "dense", "subheader"]);
2521
+ const dr = ["children", "className", "component", "dense", "disablePadding", "subheader"], ur = (n) => {
2836
2522
  const {
2837
2523
  classes: o,
2838
2524
  disablePadding: t,
2839
2525
  dense: r,
2840
2526
  subheader: i
2841
2527
  } = n;
2842
- return ne({
2528
+ return te({
2843
2529
  root: ["root", !t && "padding", r && "dense", i && "subheader"]
2844
- }, vr, o);
2845
- }, Er = j("ul", {
2530
+ }, cr, o);
2531
+ }, pr = B("ul", {
2846
2532
  name: "MuiList",
2847
2533
  slot: "Root",
2848
2534
  overridesResolver: (n, o) => {
@@ -2863,7 +2549,7 @@ const gr = ["children", "className", "component", "dense", "disablePadding", "su
2863
2549
  paddingBottom: 8
2864
2550
  }, n.subheader && {
2865
2551
  paddingTop: 0
2866
- })), Ro = /* @__PURE__ */ d.forwardRef(function(o, t) {
2552
+ })), To = /* @__PURE__ */ d.forwardRef(function(o, t) {
2867
2553
  const r = re({
2868
2554
  props: o,
2869
2555
  name: "MuiList"
@@ -2874,26 +2560,26 @@ const gr = ["children", "className", "component", "dense", "disablePadding", "su
2874
2560
  dense: l = !1,
2875
2561
  disablePadding: c = !1,
2876
2562
  subheader: p
2877
- } = r, m = z(r, gr), h = d.useMemo(() => ({
2563
+ } = r, m = q(r, dr), h = d.useMemo(() => ({
2878
2564
  dense: l
2879
- }), [l]), g = u({}, r, {
2565
+ }), [l]), v = u({}, r, {
2880
2566
  component: a,
2881
2567
  dense: l,
2882
2568
  disablePadding: c
2883
- }), x = yr(g);
2884
- return /* @__PURE__ */ S(hr.Provider, {
2569
+ }), x = ur(v);
2570
+ return /* @__PURE__ */ S(lr.Provider, {
2885
2571
  value: h,
2886
- children: /* @__PURE__ */ me(Er, u({
2572
+ children: /* @__PURE__ */ me(pr, u({
2887
2573
  as: a,
2888
2574
  className: Y(x.root, s),
2889
2575
  ref: t,
2890
- ownerState: g
2576
+ ownerState: v
2891
2577
  }, m, {
2892
2578
  children: [p, i]
2893
2579
  }))
2894
2580
  });
2895
2581
  });
2896
- process.env.NODE_ENV !== "production" && (Ro.propTypes = {
2582
+ process.env.NODE_ENV !== "production" && (To.propTypes = {
2897
2583
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2898
2584
  // │ These PropTypes are generated from the TypeScript type definitions. │
2899
2585
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2936,20 +2622,20 @@ process.env.NODE_ENV !== "production" && (Ro.propTypes = {
2936
2622
  */
2937
2623
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
2938
2624
  });
2939
- const xr = Ro, Tr = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"];
2940
- function cn(n, o, t) {
2625
+ const fr = To, mr = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"];
2626
+ function ln(n, o, t) {
2941
2627
  return n === o ? n.firstChild : o && o.nextElementSibling ? o.nextElementSibling : t ? null : n.firstChild;
2942
2628
  }
2943
- function Yn(n, o, t) {
2629
+ function Vn(n, o, t) {
2944
2630
  return n === o ? t ? n.firstChild : n.lastChild : o && o.previousElementSibling ? o.previousElementSibling : t ? null : n.lastChild;
2945
2631
  }
2946
- function Co(n, o) {
2632
+ function Oo(n, o) {
2947
2633
  if (o === void 0)
2948
2634
  return !0;
2949
2635
  let t = n.innerText;
2950
2636
  return t === void 0 && (t = n.textContent), t = t.trim().toLowerCase(), t.length === 0 ? !1 : o.repeating ? t[0] === o.keys[0] : t.indexOf(o.keys.join("")) === 0;
2951
2637
  }
2952
- function Le(n, o, t, r, i, s) {
2638
+ function De(n, o, t, r, i, s) {
2953
2639
  let a = !1, l = i(n, o, o ? t : !1);
2954
2640
  for (; l; ) {
2955
2641
  if (l === n.firstChild) {
@@ -2958,14 +2644,14 @@ function Le(n, o, t, r, i, s) {
2958
2644
  a = !0;
2959
2645
  }
2960
2646
  const c = r ? !1 : l.disabled || l.getAttribute("aria-disabled") === "true";
2961
- if (!l.hasAttribute("tabindex") || !Co(l, s) || c)
2647
+ if (!l.hasAttribute("tabindex") || !Oo(l, s) || c)
2962
2648
  l = i(n, l, t);
2963
2649
  else
2964
2650
  return l.focus(), !0;
2965
2651
  }
2966
2652
  return !1;
2967
2653
  }
2968
- const Po = /* @__PURE__ */ d.forwardRef(function(o, t) {
2654
+ const Ro = /* @__PURE__ */ d.forwardRef(function(o, t) {
2969
2655
  const {
2970
2656
  // private
2971
2657
  // eslint-disable-next-line react/prop-types
@@ -2978,69 +2664,69 @@ const Po = /* @__PURE__ */ d.forwardRef(function(o, t) {
2978
2664
  disableListWrap: p = !1,
2979
2665
  onKeyDown: m,
2980
2666
  variant: h = "selectedMenu"
2981
- } = o, g = z(o, Tr), x = d.useRef(null), v = d.useRef({
2667
+ } = o, v = q(o, mr), x = d.useRef(null), g = d.useRef({
2982
2668
  keys: [],
2983
2669
  repeating: !0,
2984
2670
  previousKeyMatched: !0,
2985
2671
  lastTime: null
2986
2672
  });
2987
- pn(() => {
2673
+ un(() => {
2988
2674
  i && x.current.focus();
2989
2675
  }, [i]), d.useImperativeHandle(r, () => ({
2990
2676
  adjustStyleForScrollbar: (f, b) => {
2991
2677
  const T = !x.current.style.width;
2992
2678
  if (f.clientHeight < x.current.clientHeight && T) {
2993
- const P = `${lo(ie(f))}px`;
2994
- x.current.style[b.direction === "rtl" ? "paddingLeft" : "paddingRight"] = P, x.current.style.width = `calc(100% + ${P})`;
2679
+ const N = `${ao(ie(f))}px`;
2680
+ x.current.style[b.direction === "rtl" ? "paddingLeft" : "paddingRight"] = N, x.current.style.width = `calc(100% + ${N})`;
2995
2681
  }
2996
2682
  return x.current;
2997
2683
  }
2998
2684
  }), []);
2999
- const I = (f) => {
3000
- const b = x.current, T = f.key, P = ie(b).activeElement;
2685
+ const w = (f) => {
2686
+ const b = x.current, T = f.key, N = ie(b).activeElement;
3001
2687
  if (T === "ArrowDown")
3002
- f.preventDefault(), Le(b, P, p, c, cn);
2688
+ f.preventDefault(), De(b, N, p, c, ln);
3003
2689
  else if (T === "ArrowUp")
3004
- f.preventDefault(), Le(b, P, p, c, Yn);
2690
+ f.preventDefault(), De(b, N, p, c, Vn);
3005
2691
  else if (T === "Home")
3006
- f.preventDefault(), Le(b, null, p, c, cn);
2692
+ f.preventDefault(), De(b, null, p, c, ln);
3007
2693
  else if (T === "End")
3008
- f.preventDefault(), Le(b, null, p, c, Yn);
2694
+ f.preventDefault(), De(b, null, p, c, Vn);
3009
2695
  else if (T.length === 1) {
3010
- const E = v.current, D = T.toLowerCase(), _ = performance.now();
2696
+ const E = g.current, D = T.toLowerCase(), _ = performance.now();
3011
2697
  E.keys.length > 0 && (_ - E.lastTime > 500 ? (E.keys = [], E.repeating = !0, E.previousKeyMatched = !0) : E.repeating && D !== E.keys[0] && (E.repeating = !1)), E.lastTime = _, E.keys.push(D);
3012
- const A = P && !E.repeating && Co(P, E);
3013
- E.previousKeyMatched && (A || Le(b, P, !1, c, cn, E)) ? f.preventDefault() : E.previousKeyMatched = !1;
2698
+ const j = N && !E.repeating && Oo(N, E);
2699
+ E.previousKeyMatched && (j || De(b, N, !1, c, ln, E)) ? f.preventDefault() : E.previousKeyMatched = !1;
3014
2700
  }
3015
2701
  m && m(f);
3016
- }, O = ue(x, t);
2702
+ }, R = de(x, t);
3017
2703
  let y = -1;
3018
2704
  d.Children.forEach(a, (f, b) => {
3019
2705
  if (!/* @__PURE__ */ d.isValidElement(f)) {
3020
2706
  y === b && (y += 1, y >= a.length && (y = -1));
3021
2707
  return;
3022
2708
  }
3023
- process.env.NODE_ENV !== "production" && hn.isFragment(f) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
2709
+ process.env.NODE_ENV !== "production" && bn.isFragment(f) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
3024
2710
  `)), f.props.disabled || (h === "selectedMenu" && f.props.selected || y === -1) && (y = b), y === b && (f.props.disabled || f.props.muiSkipListHighlight || f.type.muiSkipListHighlight) && (y += 1, y >= a.length && (y = -1));
3025
2711
  });
3026
- const $ = d.Children.map(a, (f, b) => {
2712
+ const F = d.Children.map(a, (f, b) => {
3027
2713
  if (b === y) {
3028
2714
  const T = {};
3029
2715
  return s && (T.autoFocus = !0), f.props.tabIndex === void 0 && h === "selectedMenu" && (T.tabIndex = 0), /* @__PURE__ */ d.cloneElement(f, T);
3030
2716
  }
3031
2717
  return f;
3032
2718
  });
3033
- return /* @__PURE__ */ S(xr, u({
2719
+ return /* @__PURE__ */ S(fr, u({
3034
2720
  role: "menu",
3035
- ref: O,
2721
+ ref: R,
3036
2722
  className: l,
3037
- onKeyDown: I,
2723
+ onKeyDown: w,
3038
2724
  tabIndex: i ? 0 : -1
3039
- }, g, {
3040
- children: $
2725
+ }, v, {
2726
+ children: F
3041
2727
  }));
3042
2728
  });
3043
- process.env.NODE_ENV !== "production" && (Po.propTypes = {
2729
+ process.env.NODE_ENV !== "production" && (Ro.propTypes = {
3044
2730
  // ┌────────────────────────────── Warning ──────────────────────────────┐
3045
2731
  // │ These PropTypes are generated from the TypeScript type definitions. │
3046
2732
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -3085,8 +2771,8 @@ process.env.NODE_ENV !== "production" && (Po.propTypes = {
3085
2771
  */
3086
2772
  variant: e.oneOf(["menu", "selectedMenu"])
3087
2773
  });
3088
- const Or = Po, No = (n) => n.scrollTop;
3089
- function Je(n, o) {
2774
+ const br = Ro, Co = (n) => n.scrollTop;
2775
+ function Ze(n, o) {
3090
2776
  var t, r;
3091
2777
  const {
3092
2778
  timeout: i,
@@ -3099,20 +2785,20 @@ function Je(n, o) {
3099
2785
  delay: a.transitionDelay
3100
2786
  };
3101
2787
  }
3102
- const Rr = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
3103
- function bn(n) {
2788
+ const hr = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
2789
+ function mn(n) {
3104
2790
  return `scale(${n}, ${n ** 2})`;
3105
2791
  }
3106
- const Cr = {
2792
+ const vr = {
3107
2793
  entering: {
3108
2794
  opacity: 1,
3109
- transform: bn(1)
2795
+ transform: mn(1)
3110
2796
  },
3111
2797
  entered: {
3112
2798
  opacity: 1,
3113
2799
  transform: "none"
3114
2800
  }
3115
- }, un = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), Nn = /* @__PURE__ */ d.forwardRef(function(o, t) {
2801
+ }, cn = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), gn = /* @__PURE__ */ d.forwardRef(function(o, t) {
3116
2802
  const {
3117
2803
  addEndListener: r,
3118
2804
  appear: i = !0,
@@ -3123,87 +2809,87 @@ const Cr = {
3123
2809
  onEntered: p,
3124
2810
  onEntering: m,
3125
2811
  onExit: h,
3126
- onExited: g,
2812
+ onExited: v,
3127
2813
  onExiting: x,
3128
- style: v,
3129
- timeout: I = "auto",
2814
+ style: g,
2815
+ timeout: w = "auto",
3130
2816
  // eslint-disable-next-line react/prop-types
3131
- TransitionComponent: O = fo
3132
- } = o, y = z(o, Rr), $ = Go(), f = d.useRef(), b = Qe(), T = d.useRef(null), P = ue(T, s.ref, t), E = (R) => (w) => {
3133
- if (R) {
3134
- const k = T.current;
3135
- w === void 0 ? R(k) : R(k, w);
2817
+ TransitionComponent: R = po
2818
+ } = o, y = q(o, hr), F = qo(), f = d.useRef(), b = Je(), T = d.useRef(null), N = de(T, s.ref, t), E = (O) => (I) => {
2819
+ if (O) {
2820
+ const M = T.current;
2821
+ I === void 0 ? O(M) : O(M, I);
3136
2822
  }
3137
- }, D = E(m), _ = E((R, w) => {
3138
- No(R);
2823
+ }, D = E(m), _ = E((O, I) => {
2824
+ Co(O);
3139
2825
  const {
3140
- duration: k,
3141
- delay: M,
2826
+ duration: M,
2827
+ delay: k,
3142
2828
  easing: L
3143
- } = Je({
3144
- style: v,
3145
- timeout: I,
2829
+ } = Ze({
2830
+ style: g,
2831
+ timeout: w,
3146
2832
  easing: a
3147
2833
  }, {
3148
2834
  mode: "enter"
3149
2835
  });
3150
2836
  let K;
3151
- I === "auto" ? (K = b.transitions.getAutoHeightDuration(R.clientHeight), f.current = K) : K = k, R.style.transition = [b.transitions.create("opacity", {
2837
+ w === "auto" ? (K = b.transitions.getAutoHeightDuration(O.clientHeight), f.current = K) : K = M, O.style.transition = [b.transitions.create("opacity", {
3152
2838
  duration: K,
3153
- delay: M
2839
+ delay: k
3154
2840
  }), b.transitions.create("transform", {
3155
- duration: un ? K : K * 0.666,
3156
- delay: M,
2841
+ duration: cn ? K : K * 0.666,
2842
+ delay: k,
3157
2843
  easing: L
3158
- })].join(","), c && c(R, w);
3159
- }), A = E(p), V = E(x), U = E((R) => {
2844
+ })].join(","), c && c(O, I);
2845
+ }), j = E(p), U = E(x), V = E((O) => {
3160
2846
  const {
3161
- duration: w,
3162
- delay: k,
3163
- easing: M
3164
- } = Je({
3165
- style: v,
3166
- timeout: I,
2847
+ duration: I,
2848
+ delay: M,
2849
+ easing: k
2850
+ } = Ze({
2851
+ style: g,
2852
+ timeout: w,
3167
2853
  easing: a
3168
2854
  }, {
3169
2855
  mode: "exit"
3170
2856
  });
3171
2857
  let L;
3172
- I === "auto" ? (L = b.transitions.getAutoHeightDuration(R.clientHeight), f.current = L) : L = w, R.style.transition = [b.transitions.create("opacity", {
2858
+ w === "auto" ? (L = b.transitions.getAutoHeightDuration(O.clientHeight), f.current = L) : L = I, O.style.transition = [b.transitions.create("opacity", {
3173
2859
  duration: L,
3174
- delay: k
2860
+ delay: M
3175
2861
  }), b.transitions.create("transform", {
3176
- duration: un ? L : L * 0.666,
3177
- delay: un ? k : k || L * 0.333,
3178
- easing: M
3179
- })].join(","), R.style.opacity = 0, R.style.transform = bn(0.75), h && h(R);
3180
- }), F = E(g);
3181
- return /* @__PURE__ */ S(O, u({
2862
+ duration: cn ? L : L * 0.666,
2863
+ delay: cn ? M : M || L * 0.333,
2864
+ easing: k
2865
+ })].join(","), O.style.opacity = 0, O.style.transform = mn(0.75), h && h(O);
2866
+ }), $ = E(v);
2867
+ return /* @__PURE__ */ S(R, u({
3182
2868
  appear: i,
3183
2869
  in: l,
3184
2870
  nodeRef: T,
3185
2871
  onEnter: _,
3186
- onEntered: A,
2872
+ onEntered: j,
3187
2873
  onEntering: D,
3188
- onExit: U,
3189
- onExited: F,
3190
- onExiting: V,
3191
- addEndListener: (R) => {
3192
- I === "auto" && $.start(f.current || 0, R), r && r(T.current, R);
2874
+ onExit: V,
2875
+ onExited: $,
2876
+ onExiting: U,
2877
+ addEndListener: (O) => {
2878
+ w === "auto" && F.start(f.current || 0, O), r && r(T.current, O);
3193
2879
  },
3194
- timeout: I === "auto" ? null : I
2880
+ timeout: w === "auto" ? null : w
3195
2881
  }, y, {
3196
- children: (R, w) => /* @__PURE__ */ d.cloneElement(s, u({
2882
+ children: (O, I) => /* @__PURE__ */ d.cloneElement(s, u({
3197
2883
  style: u({
3198
2884
  opacity: 0,
3199
- transform: bn(0.75),
3200
- visibility: R === "exited" && !l ? "hidden" : void 0
3201
- }, Cr[R], v, s.props.style),
3202
- ref: P
3203
- }, w))
2885
+ transform: mn(0.75),
2886
+ visibility: O === "exited" && !l ? "hidden" : void 0
2887
+ }, vr[O], g, s.props.style),
2888
+ ref: N
2889
+ }, I))
3204
2890
  }));
3205
2891
  });
3206
- process.env.NODE_ENV !== "production" && (Nn.propTypes = {
2892
+ process.env.NODE_ENV !== "production" && (gn.propTypes = {
3207
2893
  // ┌────────────────────────────── Warning ──────────────────────────────┐
3208
2894
  // │ These PropTypes are generated from the TypeScript type definitions. │
3209
2895
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -3223,7 +2909,7 @@ process.env.NODE_ENV !== "production" && (Nn.propTypes = {
3223
2909
  /**
3224
2910
  * A single child content element.
3225
2911
  */
3226
- children: nn.isRequired,
2912
+ children: en.isRequired,
3227
2913
  /**
3228
2914
  * The transition timing function.
3229
2915
  * You may specify a single easing or a object containing enter and exit values.
@@ -3277,16 +2963,16 @@ process.env.NODE_ENV !== "production" && (Nn.propTypes = {
3277
2963
  exit: e.number
3278
2964
  })])
3279
2965
  });
3280
- Nn.muiSupportAuto = !0;
3281
- const Pr = Nn, Nr = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"], Ir = {
2966
+ gn.muiSupportAuto = !0;
2967
+ const gr = gn, yr = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"], Er = {
3282
2968
  entering: {
3283
2969
  opacity: 1
3284
2970
  },
3285
2971
  entered: {
3286
2972
  opacity: 1
3287
2973
  }
3288
- }, Io = /* @__PURE__ */ d.forwardRef(function(o, t) {
3289
- const r = Qe(), i = {
2974
+ }, Po = /* @__PURE__ */ d.forwardRef(function(o, t) {
2975
+ const r = Je(), i = {
3290
2976
  enter: r.transitions.duration.enteringScreen,
3291
2977
  exit: r.transitions.duration.leavingScreen
3292
2978
  }, {
@@ -3297,64 +2983,64 @@ const Pr = Nn, Nr = ["addEndListener", "appear", "children", "easing", "in", "on
3297
2983
  in: p,
3298
2984
  onEnter: m,
3299
2985
  onEntered: h,
3300
- onEntering: g,
2986
+ onEntering: v,
3301
2987
  onExit: x,
3302
- onExited: v,
3303
- onExiting: I,
3304
- style: O,
2988
+ onExited: g,
2989
+ onExiting: w,
2990
+ style: R,
3305
2991
  timeout: y = i,
3306
2992
  // eslint-disable-next-line react/prop-types
3307
- TransitionComponent: $ = fo
3308
- } = o, f = z(o, Nr), b = d.useRef(null), T = ue(b, l.ref, t), P = (N) => (R) => {
3309
- if (N) {
3310
- const w = b.current;
3311
- R === void 0 ? N(w) : N(w, R);
2993
+ TransitionComponent: F = po
2994
+ } = o, f = q(o, yr), b = d.useRef(null), T = de(b, l.ref, t), N = (P) => (O) => {
2995
+ if (P) {
2996
+ const I = b.current;
2997
+ O === void 0 ? P(I) : P(I, O);
3312
2998
  }
3313
- }, E = P(g), D = P((N, R) => {
3314
- No(N);
3315
- const w = Je({
3316
- style: O,
2999
+ }, E = N(v), D = N((P, O) => {
3000
+ Co(P);
3001
+ const I = Ze({
3002
+ style: R,
3317
3003
  timeout: y,
3318
3004
  easing: c
3319
3005
  }, {
3320
3006
  mode: "enter"
3321
3007
  });
3322
- N.style.webkitTransition = r.transitions.create("opacity", w), N.style.transition = r.transitions.create("opacity", w), m && m(N, R);
3323
- }), _ = P(h), A = P(I), V = P((N) => {
3324
- const R = Je({
3325
- style: O,
3008
+ P.style.webkitTransition = r.transitions.create("opacity", I), P.style.transition = r.transitions.create("opacity", I), m && m(P, O);
3009
+ }), _ = N(h), j = N(w), U = N((P) => {
3010
+ const O = Ze({
3011
+ style: R,
3326
3012
  timeout: y,
3327
3013
  easing: c
3328
3014
  }, {
3329
3015
  mode: "exit"
3330
3016
  });
3331
- N.style.webkitTransition = r.transitions.create("opacity", R), N.style.transition = r.transitions.create("opacity", R), x && x(N);
3332
- }), U = P(v);
3333
- return /* @__PURE__ */ S($, u({
3017
+ P.style.webkitTransition = r.transitions.create("opacity", O), P.style.transition = r.transitions.create("opacity", O), x && x(P);
3018
+ }), V = N(g);
3019
+ return /* @__PURE__ */ S(F, u({
3334
3020
  appear: a,
3335
3021
  in: p,
3336
3022
  nodeRef: b,
3337
3023
  onEnter: D,
3338
3024
  onEntered: _,
3339
3025
  onEntering: E,
3340
- onExit: V,
3341
- onExited: U,
3342
- onExiting: A,
3343
- addEndListener: (N) => {
3344
- s && s(b.current, N);
3026
+ onExit: U,
3027
+ onExited: V,
3028
+ onExiting: j,
3029
+ addEndListener: (P) => {
3030
+ s && s(b.current, P);
3345
3031
  },
3346
3032
  timeout: y
3347
3033
  }, f, {
3348
- children: (N, R) => /* @__PURE__ */ d.cloneElement(l, u({
3034
+ children: (P, O) => /* @__PURE__ */ d.cloneElement(l, u({
3349
3035
  style: u({
3350
3036
  opacity: 0,
3351
- visibility: N === "exited" && !p ? "hidden" : void 0
3352
- }, Ir[N], O, l.props.style),
3037
+ visibility: P === "exited" && !p ? "hidden" : void 0
3038
+ }, Er[P], R, l.props.style),
3353
3039
  ref: T
3354
- }, R))
3040
+ }, O))
3355
3041
  }));
3356
3042
  });
3357
- process.env.NODE_ENV !== "production" && (Io.propTypes = {
3043
+ process.env.NODE_ENV !== "production" && (Po.propTypes = {
3358
3044
  // ┌────────────────────────────── Warning ──────────────────────────────┐
3359
3045
  // │ These PropTypes are generated from the TypeScript type definitions. │
3360
3046
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -3374,7 +3060,7 @@ process.env.NODE_ENV !== "production" && (Io.propTypes = {
3374
3060
  /**
3375
3061
  * A single child content element.
3376
3062
  */
3377
- children: nn.isRequired,
3063
+ children: en.isRequired,
3378
3064
  /**
3379
3065
  * The transition timing function.
3380
3066
  * You may specify a single easing or a object containing enter and exit values.
@@ -3429,20 +3115,20 @@ process.env.NODE_ENV !== "production" && (Io.propTypes = {
3429
3115
  exit: e.number
3430
3116
  })])
3431
3117
  });
3432
- const Sr = Io;
3433
- function wr(n) {
3118
+ const xr = Po;
3119
+ function Tr(n) {
3434
3120
  return oe("MuiBackdrop", n);
3435
3121
  }
3436
- ee("MuiBackdrop", ["root", "invisible"]);
3437
- const $r = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"], Mr = (n) => {
3122
+ ne("MuiBackdrop", ["root", "invisible"]);
3123
+ const Or = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"], Rr = (n) => {
3438
3124
  const {
3439
3125
  classes: o,
3440
3126
  invisible: t
3441
3127
  } = n;
3442
- return ne({
3128
+ return te({
3443
3129
  root: ["root", t && "invisible"]
3444
- }, wr, o);
3445
- }, kr = j("div", {
3130
+ }, Tr, o);
3131
+ }, Cr = B("div", {
3446
3132
  name: "MuiBackdrop",
3447
3133
  slot: "Root",
3448
3134
  overridesResolver: (n, o) => {
@@ -3466,7 +3152,7 @@ const $r = ["children", "className", "component", "components", "componentsProps
3466
3152
  WebkitTapHighlightColor: "transparent"
3467
3153
  }, n.invisible && {
3468
3154
  backgroundColor: "transparent"
3469
- })), So = /* @__PURE__ */ d.forwardRef(function(o, t) {
3155
+ })), No = /* @__PURE__ */ d.forwardRef(function(o, t) {
3470
3156
  var r, i, s;
3471
3157
  const a = re({
3472
3158
  props: o,
@@ -3477,24 +3163,24 @@ const $r = ["children", "className", "component", "components", "componentsProps
3477
3163
  component: p = "div",
3478
3164
  components: m = {},
3479
3165
  componentsProps: h = {},
3480
- invisible: g = !1,
3166
+ invisible: v = !1,
3481
3167
  open: x,
3482
- slotProps: v = {},
3483
- slots: I = {},
3484
- TransitionComponent: O = Sr,
3168
+ slotProps: g = {},
3169
+ slots: w = {},
3170
+ TransitionComponent: R = xr,
3485
3171
  transitionDuration: y
3486
- } = a, $ = z(a, $r), f = u({}, a, {
3172
+ } = a, F = q(a, Or), f = u({}, a, {
3487
3173
  component: p,
3488
- invisible: g
3489
- }), b = Mr(f), T = (r = v.root) != null ? r : h.root;
3490
- return /* @__PURE__ */ S(O, u({
3174
+ invisible: v
3175
+ }), b = Rr(f), T = (r = g.root) != null ? r : h.root;
3176
+ return /* @__PURE__ */ S(R, u({
3491
3177
  in: x,
3492
3178
  timeout: y
3493
- }, $, {
3494
- children: /* @__PURE__ */ S(kr, u({
3179
+ }, F, {
3180
+ children: /* @__PURE__ */ S(Cr, u({
3495
3181
  "aria-hidden": !0
3496
3182
  }, T, {
3497
- as: (i = (s = I.root) != null ? s : m.Root) != null ? i : p,
3183
+ as: (i = (s = w.root) != null ? s : m.Root) != null ? i : p,
3498
3184
  className: Y(b.root, c, T == null ? void 0 : T.className),
3499
3185
  ownerState: u({}, f, T == null ? void 0 : T.ownerState),
3500
3186
  classes: b,
@@ -3503,7 +3189,7 @@ const $r = ["children", "className", "component", "components", "componentsProps
3503
3189
  }))
3504
3190
  }));
3505
3191
  });
3506
- process.env.NODE_ENV !== "production" && (So.propTypes = {
3192
+ process.env.NODE_ENV !== "production" && (No.propTypes = {
3507
3193
  // ┌────────────────────────────── Warning ──────────────────────────────┐
3508
3194
  // │ These PropTypes are generated from the TypeScript type definitions. │
3509
3195
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -3599,22 +3285,22 @@ process.env.NODE_ENV !== "production" && (So.propTypes = {
3599
3285
  exit: e.number
3600
3286
  })])
3601
3287
  });
3602
- const Fr = So;
3603
- function Dr(n) {
3288
+ const Pr = No;
3289
+ function Nr(n) {
3604
3290
  return oe("MuiModal", n);
3605
3291
  }
3606
- ee("MuiModal", ["root", "hidden", "backdrop"]);
3607
- const Lr = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "onTransitionEnter", "onTransitionExited", "open", "slotProps", "slots", "theme"], jr = (n) => {
3292
+ ne("MuiModal", ["root", "hidden", "backdrop"]);
3293
+ const Ir = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "onTransitionEnter", "onTransitionExited", "open", "slotProps", "slots", "theme"], Sr = (n) => {
3608
3294
  const {
3609
3295
  open: o,
3610
3296
  exited: t,
3611
3297
  classes: r
3612
3298
  } = n;
3613
- return ne({
3299
+ return te({
3614
3300
  root: ["root", !o && t && "hidden"],
3615
3301
  backdrop: ["backdrop"]
3616
- }, Dr, r);
3617
- }, _r = j("div", {
3302
+ }, Nr, r);
3303
+ }, wr = B("div", {
3618
3304
  name: "MuiModal",
3619
3305
  slot: "Root",
3620
3306
  overridesResolver: (n, o) => {
@@ -3635,110 +3321,110 @@ const Lr = ["BackdropComponent", "BackdropProps", "classes", "className", "close
3635
3321
  left: 0
3636
3322
  }, !o.open && o.exited && {
3637
3323
  visibility: "hidden"
3638
- })), Ar = j(Fr, {
3324
+ })), kr = B(Pr, {
3639
3325
  name: "MuiModal",
3640
3326
  slot: "Backdrop",
3641
3327
  overridesResolver: (n, o) => o.backdrop
3642
3328
  })({
3643
3329
  zIndex: -1
3644
- }), wo = /* @__PURE__ */ d.forwardRef(function(o, t) {
3330
+ }), Io = /* @__PURE__ */ d.forwardRef(function(o, t) {
3645
3331
  var r, i, s, a, l, c;
3646
3332
  const p = re({
3647
3333
  name: "MuiModal",
3648
3334
  props: o
3649
3335
  }), {
3650
- BackdropComponent: m = Ar,
3336
+ BackdropComponent: m = kr,
3651
3337
  BackdropProps: h,
3652
- className: g,
3338
+ className: v,
3653
3339
  closeAfterTransition: x = !1,
3654
- children: v,
3655
- container: I,
3656
- component: O,
3340
+ children: g,
3341
+ container: w,
3342
+ component: R,
3657
3343
  components: y = {},
3658
- componentsProps: $ = {},
3344
+ componentsProps: F = {},
3659
3345
  disableAutoFocus: f = !1,
3660
3346
  disableEnforceFocus: b = !1,
3661
3347
  disableEscapeKeyDown: T = !1,
3662
- disablePortal: P = !1,
3348
+ disablePortal: N = !1,
3663
3349
  disableRestoreFocus: E = !1,
3664
3350
  disableScrollLock: D = !1,
3665
3351
  hideBackdrop: _ = !1,
3666
- keepMounted: A = !1,
3667
- onBackdropClick: V,
3668
- open: U,
3669
- slotProps: F,
3670
- slots: N
3352
+ keepMounted: j = !1,
3353
+ onBackdropClick: U,
3354
+ open: V,
3355
+ slotProps: $,
3356
+ slots: P
3671
3357
  // eslint-disable-next-line react/prop-types
3672
- } = p, R = z(p, Lr), w = u({}, p, {
3358
+ } = p, O = q(p, Ir), I = u({}, p, {
3673
3359
  closeAfterTransition: x,
3674
3360
  disableAutoFocus: f,
3675
3361
  disableEnforceFocus: b,
3676
3362
  disableEscapeKeyDown: T,
3677
- disablePortal: P,
3363
+ disablePortal: N,
3678
3364
  disableRestoreFocus: E,
3679
3365
  disableScrollLock: D,
3680
3366
  hideBackdrop: _,
3681
- keepMounted: A
3367
+ keepMounted: j
3682
3368
  }), {
3683
- getRootProps: k,
3684
- getBackdropProps: M,
3369
+ getRootProps: M,
3370
+ getBackdropProps: k,
3685
3371
  getTransitionProps: L,
3686
3372
  portalRef: K,
3687
- isTopModal: de,
3373
+ isTopModal: ue,
3688
3374
  exited: Z,
3689
3375
  hasTransition: G
3690
- } = Rt(u({}, w, {
3376
+ } = Tt(u({}, I, {
3691
3377
  rootRef: t
3692
- })), H = u({}, w, {
3378
+ })), H = u({}, I, {
3693
3379
  exited: Z
3694
- }), te = jr(H), se = {};
3695
- if (v.props.tabIndex === void 0 && (se.tabIndex = "-1"), G) {
3380
+ }), ee = Sr(H), se = {};
3381
+ if (g.props.tabIndex === void 0 && (se.tabIndex = "-1"), G) {
3696
3382
  const {
3697
3383
  onEnter: W,
3698
- onExited: q
3384
+ onExited: z
3699
3385
  } = L();
3700
- se.onEnter = W, se.onExited = q;
3386
+ se.onEnter = W, se.onExited = z;
3701
3387
  }
3702
- const le = (r = (i = N == null ? void 0 : N.root) != null ? i : y.Root) != null ? r : _r, ae = (s = (a = N == null ? void 0 : N.backdrop) != null ? a : y.Backdrop) != null ? s : m, Re = (l = F == null ? void 0 : F.root) != null ? l : $.root, ve = (c = F == null ? void 0 : F.backdrop) != null ? c : $.backdrop, ge = Fe({
3388
+ const le = (r = (i = P == null ? void 0 : P.root) != null ? i : y.Root) != null ? r : wr, ae = (s = (a = P == null ? void 0 : P.backdrop) != null ? a : y.Backdrop) != null ? s : m, Re = (l = $ == null ? void 0 : $.root) != null ? l : F.root, he = (c = $ == null ? void 0 : $.backdrop) != null ? c : F.backdrop, ve = Fe({
3703
3389
  elementType: le,
3704
3390
  externalSlotProps: Re,
3705
- externalForwardedProps: R,
3706
- getSlotProps: k,
3391
+ externalForwardedProps: O,
3392
+ getSlotProps: M,
3707
3393
  additionalProps: {
3708
3394
  ref: t,
3709
- as: O
3395
+ as: R
3710
3396
  },
3711
3397
  ownerState: H,
3712
- className: Y(g, Re == null ? void 0 : Re.className, te == null ? void 0 : te.root, !H.open && H.exited && (te == null ? void 0 : te.hidden))
3713
- }), ye = Fe({
3398
+ className: Y(v, Re == null ? void 0 : Re.className, ee == null ? void 0 : ee.root, !H.open && H.exited && (ee == null ? void 0 : ee.hidden))
3399
+ }), ge = Fe({
3714
3400
  elementType: ae,
3715
- externalSlotProps: ve,
3401
+ externalSlotProps: he,
3716
3402
  additionalProps: h,
3717
- getSlotProps: (W) => M(u({}, W, {
3718
- onClick: (q) => {
3719
- V && V(q), W != null && W.onClick && W.onClick(q);
3403
+ getSlotProps: (W) => k(u({}, W, {
3404
+ onClick: (z) => {
3405
+ U && U(z), W != null && W.onClick && W.onClick(z);
3720
3406
  }
3721
3407
  })),
3722
- className: Y(ve == null ? void 0 : ve.className, h == null ? void 0 : h.className, te == null ? void 0 : te.backdrop),
3408
+ className: Y(he == null ? void 0 : he.className, h == null ? void 0 : h.className, ee == null ? void 0 : ee.backdrop),
3723
3409
  ownerState: H
3724
3410
  });
3725
- return !A && !U && (!G || Z) ? null : /* @__PURE__ */ S(Ze, {
3411
+ return !j && !V && (!G || Z) ? null : /* @__PURE__ */ S(Ye, {
3726
3412
  ref: K,
3727
- container: I,
3728
- disablePortal: P,
3729
- children: /* @__PURE__ */ me(le, u({}, ge, {
3730
- children: [!_ && m ? /* @__PURE__ */ S(ae, u({}, ye)) : null, /* @__PURE__ */ S(Ye, {
3413
+ container: w,
3414
+ disablePortal: N,
3415
+ children: /* @__PURE__ */ me(le, u({}, ve, {
3416
+ children: [!_ && m ? /* @__PURE__ */ S(ae, u({}, ge)) : null, /* @__PURE__ */ S(Xe, {
3731
3417
  disableEnforceFocus: b,
3732
3418
  disableAutoFocus: f,
3733
3419
  disableRestoreFocus: E,
3734
- isEnabled: de,
3735
- open: U,
3736
- children: /* @__PURE__ */ d.cloneElement(v, se)
3420
+ isEnabled: ue,
3421
+ open: V,
3422
+ children: /* @__PURE__ */ d.cloneElement(g, se)
3737
3423
  })]
3738
3424
  }))
3739
3425
  });
3740
3426
  });
3741
- process.env.NODE_ENV !== "production" && (wo.propTypes = {
3427
+ process.env.NODE_ENV !== "production" && (Io.propTypes = {
3742
3428
  // ┌────────────────────────────── Warning ──────────────────────────────┐
3743
3429
  // │ These PropTypes are generated from the TypeScript type definitions. │
3744
3430
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -3766,7 +3452,7 @@ process.env.NODE_ENV !== "production" && (wo.propTypes = {
3766
3452
  /**
3767
3453
  * A single child content element.
3768
3454
  */
3769
- children: nn.isRequired,
3455
+ children: en.isRequired,
3770
3456
  /**
3771
3457
  * Override or extend the styles applied to the component.
3772
3458
  */
@@ -3820,7 +3506,7 @@ process.env.NODE_ENV !== "production" && (wo.propTypes = {
3820
3506
  * By default, it uses the body of the top-level document object,
3821
3507
  * so it's simply `document.body` most of the time.
3822
3508
  */
3823
- container: e.oneOfType([We, e.func]),
3509
+ container: e.oneOfType([Ve, e.func]),
3824
3510
  /**
3825
3511
  * If `true`, the modal will not automatically shift focus to itself when it opens, and
3826
3512
  * replace it to the last focused element when it closes.
@@ -3919,12 +3605,12 @@ process.env.NODE_ENV !== "production" && (wo.propTypes = {
3919
3605
  */
3920
3606
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
3921
3607
  });
3922
- const Br = wo;
3923
- function Ur(n) {
3608
+ const Mr = Io;
3609
+ function Fr(n) {
3924
3610
  return oe("MuiPaper", n);
3925
3611
  }
3926
- 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"]);
3927
- const Wr = ["className", "component", "elevation", "square", "variant"], Vr = (n) => {
3612
+ ne("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"]);
3613
+ const $r = ["className", "component", "elevation", "square", "variant"], Dr = (n) => {
3928
3614
  const {
3929
3615
  square: o,
3930
3616
  elevation: t,
@@ -3933,8 +3619,8 @@ const Wr = ["className", "component", "elevation", "square", "variant"], Vr = (n
3933
3619
  } = n, s = {
3934
3620
  root: ["root", r, !o && "rounded", r === "elevation" && `elevation${t}`]
3935
3621
  };
3936
- return ne(s, Ur, i);
3937
- }, qr = j("div", {
3622
+ return te(s, Fr, i);
3623
+ }, Lr = B("div", {
3938
3624
  name: "MuiPaper",
3939
3625
  slot: "Root",
3940
3626
  overridesResolver: (n, o) => {
@@ -3959,11 +3645,11 @@ const Wr = ["className", "component", "elevation", "square", "variant"], Vr = (n
3959
3645
  }, o.variant === "elevation" && u({
3960
3646
  boxShadow: (n.vars || n).shadows[o.elevation]
3961
3647
  }, !n.vars && n.palette.mode === "dark" && {
3962
- backgroundImage: `linear-gradient(${Dn("#fff", Wn(o.elevation))}, ${Dn("#fff", Wn(o.elevation))})`
3648
+ backgroundImage: `linear-gradient(${Pn("#fff", _n(o.elevation))}, ${Pn("#fff", _n(o.elevation))})`
3963
3649
  }, n.vars && {
3964
3650
  backgroundImage: (t = n.vars.overlays) == null ? void 0 : t[o.elevation]
3965
3651
  }));
3966
- }), $o = /* @__PURE__ */ d.forwardRef(function(o, t) {
3652
+ }), So = /* @__PURE__ */ d.forwardRef(function(o, t) {
3967
3653
  const r = re({
3968
3654
  props: o,
3969
3655
  name: "MuiPaper"
@@ -3973,21 +3659,21 @@ const Wr = ["className", "component", "elevation", "square", "variant"], Vr = (n
3973
3659
  elevation: a = 1,
3974
3660
  square: l = !1,
3975
3661
  variant: c = "elevation"
3976
- } = r, p = z(r, Wr), m = u({}, r, {
3662
+ } = r, p = q(r, $r), m = u({}, r, {
3977
3663
  component: s,
3978
3664
  elevation: a,
3979
3665
  square: l,
3980
3666
  variant: c
3981
- }), h = Vr(m);
3982
- return process.env.NODE_ENV !== "production" && Qe().shadows[a] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${a}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${a}]\` is defined.`].join(`
3983
- `)), /* @__PURE__ */ S(qr, u({
3667
+ }), h = Dr(m);
3668
+ return process.env.NODE_ENV !== "production" && Je().shadows[a] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${a}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${a}]\` is defined.`].join(`
3669
+ `)), /* @__PURE__ */ S(Lr, u({
3984
3670
  as: s,
3985
3671
  ownerState: m,
3986
3672
  className: Y(h.root, i),
3987
3673
  ref: t
3988
3674
  }, p));
3989
3675
  });
3990
- process.env.NODE_ENV !== "production" && ($o.propTypes = {
3676
+ process.env.NODE_ENV !== "production" && (So.propTypes = {
3991
3677
  // ┌────────────────────────────── Warning ──────────────────────────────┐
3992
3678
  // │ These PropTypes are generated from the TypeScript type definitions. │
3993
3679
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -4014,7 +3700,7 @@ process.env.NODE_ENV !== "production" && ($o.propTypes = {
4014
3700
  * It accepts values between 0 and 24 inclusive.
4015
3701
  * @default 1
4016
3702
  */
4017
- elevation: en(po, (n) => {
3703
+ elevation: Qe(uo, (n) => {
4018
3704
  const {
4019
3705
  elevation: o,
4020
3706
  variant: t
@@ -4036,39 +3722,39 @@ process.env.NODE_ENV !== "production" && ($o.propTypes = {
4036
3722
  */
4037
3723
  variant: e.oneOfType([e.oneOf(["elevation", "outlined"]), e.string])
4038
3724
  });
4039
- const zr = $o;
4040
- function Hr(n) {
3725
+ const _r = So;
3726
+ function jr(n) {
4041
3727
  return oe("MuiPopover", n);
4042
3728
  }
4043
- ee("MuiPopover", ["root", "paper"]);
4044
- const Kr = ["onEntering"], Gr = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "slots", "slotProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps", "disableScrollLock"], Xr = ["slotProps"];
4045
- function Zn(n, o) {
3729
+ ne("MuiPopover", ["root", "paper"]);
3730
+ const Ar = ["onEntering"], Br = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "slots", "slotProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps", "disableScrollLock"], Vr = ["slotProps"];
3731
+ function Wn(n, o) {
4046
3732
  let t = 0;
4047
3733
  return typeof o == "number" ? t = o : o === "center" ? t = n.height / 2 : o === "bottom" && (t = n.height), t;
4048
3734
  }
4049
- function Jn(n, o) {
3735
+ function Un(n, o) {
4050
3736
  let t = 0;
4051
3737
  return typeof o == "number" ? t = o : o === "center" ? t = n.width / 2 : o === "right" && (t = n.width), t;
4052
3738
  }
4053
- function Qn(n) {
3739
+ function zn(n) {
4054
3740
  return [n.horizontal, n.vertical].map((o) => typeof o == "number" ? `${o}px` : o).join(" ");
4055
3741
  }
4056
- function Xe(n) {
3742
+ function Ge(n) {
4057
3743
  return typeof n == "function" ? n() : n;
4058
3744
  }
4059
- const Yr = (n) => {
3745
+ const Wr = (n) => {
4060
3746
  const {
4061
3747
  classes: o
4062
3748
  } = n;
4063
- return ne({
3749
+ return te({
4064
3750
  root: ["root"],
4065
3751
  paper: ["paper"]
4066
- }, Hr, o);
4067
- }, Zr = j(Br, {
3752
+ }, jr, o);
3753
+ }, Ur = B(Mr, {
4068
3754
  name: "MuiPopover",
4069
3755
  slot: "Root",
4070
3756
  overridesResolver: (n, o) => o.root
4071
- })({}), Mo = j(zr, {
3757
+ })({}), wo = B(_r, {
4072
3758
  name: "MuiPopover",
4073
3759
  slot: "Paper",
4074
3760
  overridesResolver: (n, o) => o.paper
@@ -4098,97 +3784,97 @@ const Yr = (n) => {
4098
3784
  },
4099
3785
  anchorPosition: m,
4100
3786
  anchorReference: h = "anchorEl",
4101
- children: g,
3787
+ children: v,
4102
3788
  className: x,
4103
- container: v,
4104
- elevation: I = 8,
4105
- marginThreshold: O = 16,
3789
+ container: g,
3790
+ elevation: w = 8,
3791
+ marginThreshold: R = 16,
4106
3792
  open: y,
4107
- PaperProps: $ = {},
3793
+ PaperProps: F = {},
4108
3794
  slots: f,
4109
3795
  slotProps: b,
4110
3796
  transformOrigin: T = {
4111
3797
  vertical: "top",
4112
3798
  horizontal: "left"
4113
3799
  },
4114
- TransitionComponent: P = Pr,
3800
+ TransitionComponent: N = gr,
4115
3801
  transitionDuration: E = "auto",
4116
3802
  TransitionProps: {
4117
3803
  onEntering: D
4118
3804
  } = {},
4119
3805
  disableScrollLock: _ = !1
4120
- } = a, A = z(a.TransitionProps, Kr), V = z(a, Gr), U = (r = b == null ? void 0 : b.paper) != null ? r : $, F = d.useRef(), N = ue(F, U.ref), R = u({}, a, {
3806
+ } = a, j = q(a.TransitionProps, Ar), U = q(a, Br), V = (r = b == null ? void 0 : b.paper) != null ? r : F, $ = d.useRef(), P = de($, V.ref), O = u({}, a, {
4121
3807
  anchorOrigin: p,
4122
3808
  anchorReference: h,
4123
- elevation: I,
4124
- marginThreshold: O,
4125
- externalPaperSlotProps: U,
3809
+ elevation: w,
3810
+ marginThreshold: R,
3811
+ externalPaperSlotProps: V,
4126
3812
  transformOrigin: T,
4127
- TransitionComponent: P,
3813
+ TransitionComponent: N,
4128
3814
  transitionDuration: E,
4129
- TransitionProps: A
4130
- }), w = Yr(R), k = d.useCallback(() => {
3815
+ TransitionProps: j
3816
+ }), I = Wr(O), M = d.useCallback(() => {
4131
3817
  if (h === "anchorPosition")
4132
3818
  return process.env.NODE_ENV !== "production" && (m || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), m;
4133
- const W = Xe(c), q = W && W.nodeType === 1 ? W : ie(F.current).body, X = q.getBoundingClientRect();
3819
+ const W = Ge(c), z = W && W.nodeType === 1 ? W : ie($.current).body, X = z.getBoundingClientRect();
4134
3820
  if (process.env.NODE_ENV !== "production") {
4135
- const pe = q.getBoundingClientRect();
3821
+ const pe = z.getBoundingClientRect();
4136
3822
  process.env.NODE_ENV !== "test" && pe.top === 0 && pe.left === 0 && pe.right === 0 && pe.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(`
4137
3823
  `));
4138
3824
  }
4139
3825
  return {
4140
- top: X.top + Zn(X, p.vertical),
4141
- left: X.left + Jn(X, p.horizontal)
3826
+ top: X.top + Wn(X, p.vertical),
3827
+ left: X.left + Un(X, p.horizontal)
4142
3828
  };
4143
- }, [c, p.horizontal, p.vertical, m, h]), M = d.useCallback((W) => ({
4144
- vertical: Zn(W, T.vertical),
4145
- horizontal: Jn(W, T.horizontal)
3829
+ }, [c, p.horizontal, p.vertical, m, h]), k = d.useCallback((W) => ({
3830
+ vertical: Wn(W, T.vertical),
3831
+ horizontal: Un(W, T.horizontal)
4146
3832
  }), [T.horizontal, T.vertical]), L = d.useCallback((W) => {
4147
- const q = {
3833
+ const z = {
4148
3834
  width: W.offsetWidth,
4149
3835
  height: W.offsetHeight
4150
- }, X = M(q);
3836
+ }, X = k(z);
4151
3837
  if (h === "none")
4152
3838
  return {
4153
3839
  top: null,
4154
3840
  left: null,
4155
- transformOrigin: Qn(X)
3841
+ transformOrigin: zn(X)
4156
3842
  };
4157
- const pe = k();
4158
- let Ee = pe.top - X.vertical, xe = pe.left - X.horizontal;
4159
- const Ce = Ee + q.height, ze = xe + q.width, fe = Ue(Xe(c)), Te = fe.innerHeight - O, Pe = fe.innerWidth - O;
4160
- if (O !== null && Ee < O) {
4161
- const Q = Ee - O;
4162
- Ee -= Q, X.vertical += Q;
4163
- } else if (O !== null && Ce > Te) {
4164
- const Q = Ce - Te;
4165
- Ee -= Q, X.vertical += Q;
3843
+ const pe = M();
3844
+ let ye = pe.top - X.vertical, Ee = pe.left - X.horizontal;
3845
+ const Ce = ye + z.height, ze = Ee + z.width, fe = Be(Ge(c)), xe = fe.innerHeight - R, Pe = fe.innerWidth - R;
3846
+ if (R !== null && ye < R) {
3847
+ const Q = ye - R;
3848
+ ye -= Q, X.vertical += Q;
3849
+ } else if (R !== null && Ce > xe) {
3850
+ const Q = Ce - xe;
3851
+ ye -= Q, X.vertical += Q;
4166
3852
  }
4167
- if (process.env.NODE_ENV !== "production" && q.height > Te && q.height && Te && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${q.height - Te}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
4168
- `)), O !== null && xe < O) {
4169
- const Q = xe - O;
4170
- xe -= Q, X.horizontal += Q;
3853
+ if (process.env.NODE_ENV !== "production" && z.height > xe && z.height && xe && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${z.height - xe}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
3854
+ `)), R !== null && Ee < R) {
3855
+ const Q = Ee - R;
3856
+ Ee -= Q, X.horizontal += Q;
4171
3857
  } else if (ze > Pe) {
4172
3858
  const Q = ze - Pe;
4173
- xe -= Q, X.horizontal += Q;
3859
+ Ee -= Q, X.horizontal += Q;
4174
3860
  }
4175
3861
  return {
4176
- top: `${Math.round(Ee)}px`,
4177
- left: `${Math.round(xe)}px`,
4178
- transformOrigin: Qn(X)
3862
+ top: `${Math.round(ye)}px`,
3863
+ left: `${Math.round(Ee)}px`,
3864
+ transformOrigin: zn(X)
4179
3865
  };
4180
- }, [c, h, k, M, O]), [K, de] = d.useState(y), Z = d.useCallback(() => {
4181
- const W = F.current;
3866
+ }, [c, h, M, k, R]), [K, ue] = d.useState(y), Z = d.useCallback(() => {
3867
+ const W = $.current;
4182
3868
  if (!W)
4183
3869
  return;
4184
- const q = L(W);
4185
- q.top !== null && (W.style.top = q.top), q.left !== null && (W.style.left = q.left), W.style.transformOrigin = q.transformOrigin, de(!0);
3870
+ const z = L(W);
3871
+ z.top !== null && (W.style.top = z.top), z.left !== null && (W.style.left = z.left), W.style.transformOrigin = z.transformOrigin, ue(!0);
4186
3872
  }, [L]);
4187
3873
  d.useEffect(() => (_ && window.addEventListener("scroll", Z), () => window.removeEventListener("scroll", Z)), [c, _, Z]);
4188
- const G = (W, q) => {
4189
- D && D(W, q), Z();
3874
+ const G = (W, z) => {
3875
+ D && D(W, z), Z();
4190
3876
  }, H = () => {
4191
- de(!1);
3877
+ ue(!1);
4192
3878
  };
4193
3879
  d.useEffect(() => {
4194
3880
  y && Z();
@@ -4199,32 +3885,32 @@ const Yr = (n) => {
4199
3885
  } : null, [y, Z]), d.useEffect(() => {
4200
3886
  if (!y)
4201
3887
  return;
4202
- const W = zo(() => {
3888
+ const W = Uo(() => {
4203
3889
  Z();
4204
- }), q = Ue(c);
4205
- return q.addEventListener("resize", W), () => {
4206
- W.clear(), q.removeEventListener("resize", W);
3890
+ }), z = Be(c);
3891
+ return z.addEventListener("resize", W), () => {
3892
+ W.clear(), z.removeEventListener("resize", W);
4207
3893
  };
4208
3894
  }, [c, y, Z]);
4209
- let te = E;
4210
- E === "auto" && !P.muiSupportAuto && (te = void 0);
4211
- const se = v || (c ? ie(Xe(c)).body : void 0), le = (i = f == null ? void 0 : f.root) != null ? i : Zr, ae = (s = f == null ? void 0 : f.paper) != null ? s : Mo, Re = Fe({
3895
+ let ee = E;
3896
+ E === "auto" && !N.muiSupportAuto && (ee = void 0);
3897
+ const se = g || (c ? ie(Ge(c)).body : void 0), le = (i = f == null ? void 0 : f.root) != null ? i : Ur, ae = (s = f == null ? void 0 : f.paper) != null ? s : wo, Re = Fe({
4212
3898
  elementType: ae,
4213
- externalSlotProps: u({}, U, {
4214
- style: K ? U.style : u({}, U.style, {
3899
+ externalSlotProps: u({}, V, {
3900
+ style: K ? V.style : u({}, V.style, {
4215
3901
  opacity: 0
4216
3902
  })
4217
3903
  }),
4218
3904
  additionalProps: {
4219
- elevation: I,
4220
- ref: N
3905
+ elevation: w,
3906
+ ref: P
4221
3907
  },
4222
- ownerState: R,
4223
- className: Y(w.paper, U == null ? void 0 : U.className)
4224
- }), ve = Fe({
3908
+ ownerState: O,
3909
+ className: Y(I.paper, V == null ? void 0 : V.className)
3910
+ }), he = Fe({
4225
3911
  elementType: le,
4226
3912
  externalSlotProps: (b == null ? void 0 : b.root) || {},
4227
- externalForwardedProps: V,
3913
+ externalForwardedProps: U,
4228
3914
  additionalProps: {
4229
3915
  ref: t,
4230
3916
  slotProps: {
@@ -4235,24 +3921,24 @@ const Yr = (n) => {
4235
3921
  container: se,
4236
3922
  open: y
4237
3923
  },
4238
- ownerState: R,
4239
- className: Y(w.root, x)
3924
+ ownerState: O,
3925
+ className: Y(I.root, x)
4240
3926
  }), {
4241
- slotProps: ge
4242
- } = ve, ye = z(ve, Xr);
4243
- return /* @__PURE__ */ S(le, u({}, ye, !oo(le) && {
4244
- slotProps: ge,
3927
+ slotProps: ve
3928
+ } = he, ge = q(he, Vr);
3929
+ return /* @__PURE__ */ S(le, u({}, ge, !Gn(le) && {
3930
+ slotProps: ve,
4245
3931
  disableScrollLock: _
4246
3932
  }, {
4247
- children: /* @__PURE__ */ S(P, u({
3933
+ children: /* @__PURE__ */ S(N, u({
4248
3934
  appear: !0,
4249
3935
  in: y,
4250
3936
  onEntering: G,
4251
3937
  onExited: H,
4252
- timeout: te
4253
- }, A, {
3938
+ timeout: ee
3939
+ }, j, {
4254
3940
  children: /* @__PURE__ */ S(ae, u({}, Re, {
4255
- children: g
3941
+ children: v
4256
3942
  }))
4257
3943
  }))
4258
3944
  }));
@@ -4266,15 +3952,15 @@ process.env.NODE_ENV !== "production" && (ko.propTypes = {
4266
3952
  * A ref for imperative actions.
4267
3953
  * It currently only supports updatePosition() action.
4268
3954
  */
4269
- action: we,
3955
+ action: $e,
4270
3956
  /**
4271
3957
  * An HTML element, [PopoverVirtualElement](/material-ui/react-popover/#virtual-element),
4272
3958
  * or a function that returns either.
4273
3959
  * It's used to set the position of the popover.
4274
3960
  */
4275
- anchorEl: en(e.oneOfType([We, e.func]), (n) => {
3961
+ anchorEl: Qe(e.oneOfType([Ve, e.func]), (n) => {
4276
3962
  if (n.open && (!n.anchorReference || n.anchorReference === "anchorEl")) {
4277
- const o = Xe(n.anchorEl);
3963
+ const o = Ge(n.anchorEl);
4278
3964
  if (o && o.nodeType === 1) {
4279
3965
  const t = o.getBoundingClientRect();
4280
3966
  if (process.env.NODE_ENV !== "test" && t.top === 0 && t.left === 0 && t.right === 0 && t.bottom === 0)
@@ -4336,7 +4022,7 @@ process.env.NODE_ENV !== "production" && (ko.propTypes = {
4336
4022
  * By default, it uses the body of the anchorEl's top-level document object,
4337
4023
  * so it's simply `document.body` most of the time.
4338
4024
  */
4339
- container: e.oneOfType([We, e.func]),
4025
+ container: e.oneOfType([Ve, e.func]),
4340
4026
  /**
4341
4027
  * Disable the scroll lock behavior.
4342
4028
  * @default false
@@ -4346,7 +4032,7 @@ process.env.NODE_ENV !== "production" && (ko.propTypes = {
4346
4032
  * The elevation of the popover.
4347
4033
  * @default 8
4348
4034
  */
4349
- elevation: po,
4035
+ elevation: uo,
4350
4036
  /**
4351
4037
  * Specifies how close to the edge of the window the popover can appear.
4352
4038
  * If null, the popover will not be constrained by the window.
@@ -4434,32 +4120,32 @@ process.env.NODE_ENV !== "production" && (ko.propTypes = {
4434
4120
  */
4435
4121
  TransitionProps: e.object
4436
4122
  });
4437
- const Jr = ko;
4438
- function Qr(n) {
4123
+ const zr = ko;
4124
+ function qr(n) {
4439
4125
  return oe("MuiMenu", n);
4440
4126
  }
4441
- ee("MuiMenu", ["root", "paper", "list"]);
4442
- const es = ["onEntering"], ns = ["autoFocus", "children", "className", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant", "slots", "slotProps"], os = {
4127
+ ne("MuiMenu", ["root", "paper", "list"]);
4128
+ const Hr = ["onEntering"], Kr = ["autoFocus", "children", "className", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant", "slots", "slotProps"], Gr = {
4443
4129
  vertical: "top",
4444
4130
  horizontal: "right"
4445
- }, ts = {
4131
+ }, Xr = {
4446
4132
  vertical: "top",
4447
4133
  horizontal: "left"
4448
- }, rs = (n) => {
4134
+ }, Yr = (n) => {
4449
4135
  const {
4450
4136
  classes: o
4451
4137
  } = n;
4452
- return ne({
4138
+ return te({
4453
4139
  root: ["root"],
4454
4140
  paper: ["paper"],
4455
4141
  list: ["list"]
4456
- }, Qr, o);
4457
- }, ss = j(Jr, {
4458
- shouldForwardProp: (n) => be(n) || n === "classes",
4142
+ }, qr, o);
4143
+ }, Zr = B(zr, {
4144
+ shouldForwardProp: (n) => Oe(n) || n === "classes",
4459
4145
  name: "MuiMenu",
4460
4146
  slot: "Root",
4461
4147
  overridesResolver: (n, o) => o.root
4462
- })({}), is = j(Mo, {
4148
+ })({}), Jr = B(wo, {
4463
4149
  name: "MuiMenu",
4464
4150
  slot: "Paper",
4465
4151
  overridesResolver: (n, o) => o.paper
@@ -4470,14 +4156,14 @@ const es = ["onEntering"], ns = ["autoFocus", "children", "className", "disableA
4470
4156
  maxHeight: "calc(100% - 96px)",
4471
4157
  // Add iOS momentum scrolling for iOS < 13.0
4472
4158
  WebkitOverflowScrolling: "touch"
4473
- }), as = j(Or, {
4159
+ }), Qr = B(br, {
4474
4160
  name: "MuiMenu",
4475
4161
  slot: "List",
4476
4162
  overridesResolver: (n, o) => o.list
4477
4163
  })({
4478
4164
  // We disable the focus ring for mouse, touch and keyboard users.
4479
4165
  outline: 0
4480
- }), Fo = /* @__PURE__ */ d.forwardRef(function(o, t) {
4166
+ }), Mo = /* @__PURE__ */ d.forwardRef(function(o, t) {
4481
4167
  var r, i;
4482
4168
  const s = re({
4483
4169
  props: o,
@@ -4489,75 +4175,75 @@ const es = ["onEntering"], ns = ["autoFocus", "children", "className", "disableA
4489
4175
  disableAutoFocusItem: p = !1,
4490
4176
  MenuListProps: m = {},
4491
4177
  onClose: h,
4492
- open: g,
4178
+ open: v,
4493
4179
  PaperProps: x = {},
4494
- PopoverClasses: v,
4495
- transitionDuration: I = "auto",
4180
+ PopoverClasses: g,
4181
+ transitionDuration: w = "auto",
4496
4182
  TransitionProps: {
4497
- onEntering: O
4183
+ onEntering: R
4498
4184
  } = {},
4499
4185
  variant: y = "selectedMenu",
4500
- slots: $ = {},
4186
+ slots: F = {},
4501
4187
  slotProps: f = {}
4502
- } = s, b = z(s.TransitionProps, es), T = z(s, ns), P = Qe(), E = P.direction === "rtl", D = u({}, s, {
4188
+ } = s, b = q(s.TransitionProps, Hr), T = q(s, Kr), N = Je(), E = N.direction === "rtl", D = u({}, s, {
4503
4189
  autoFocus: a,
4504
4190
  disableAutoFocusItem: p,
4505
4191
  MenuListProps: m,
4506
- onEntering: O,
4192
+ onEntering: R,
4507
4193
  PaperProps: x,
4508
- transitionDuration: I,
4194
+ transitionDuration: w,
4509
4195
  TransitionProps: b,
4510
4196
  variant: y
4511
- }), _ = rs(D), A = a && !p && g, V = d.useRef(null), U = (L, K) => {
4512
- V.current && V.current.adjustStyleForScrollbar(L, P), O && O(L, K);
4513
- }, F = (L) => {
4197
+ }), _ = Yr(D), j = a && !p && v, U = d.useRef(null), V = (L, K) => {
4198
+ U.current && U.current.adjustStyleForScrollbar(L, N), R && R(L, K);
4199
+ }, $ = (L) => {
4514
4200
  L.key === "Tab" && (L.preventDefault(), h && h(L, "tabKeyDown"));
4515
4201
  };
4516
- let N = -1;
4202
+ let P = -1;
4517
4203
  d.Children.map(l, (L, K) => {
4518
- /* @__PURE__ */ d.isValidElement(L) && (process.env.NODE_ENV !== "production" && hn.isFragment(L) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
4519
- `)), L.props.disabled || (y === "selectedMenu" && L.props.selected || N === -1) && (N = K));
4204
+ /* @__PURE__ */ d.isValidElement(L) && (process.env.NODE_ENV !== "production" && bn.isFragment(L) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
4205
+ `)), L.props.disabled || (y === "selectedMenu" && L.props.selected || P === -1) && (P = K));
4520
4206
  });
4521
- const R = (r = $.paper) != null ? r : is, w = (i = f.paper) != null ? i : x, k = Fe({
4522
- elementType: $.root,
4207
+ const O = (r = F.paper) != null ? r : Jr, I = (i = f.paper) != null ? i : x, M = Fe({
4208
+ elementType: F.root,
4523
4209
  externalSlotProps: f.root,
4524
4210
  ownerState: D,
4525
4211
  className: [_.root, c]
4526
- }), M = Fe({
4527
- elementType: R,
4528
- externalSlotProps: w,
4212
+ }), k = Fe({
4213
+ elementType: O,
4214
+ externalSlotProps: I,
4529
4215
  ownerState: D,
4530
4216
  className: _.paper
4531
4217
  });
4532
- return /* @__PURE__ */ S(ss, u({
4218
+ return /* @__PURE__ */ S(Zr, u({
4533
4219
  onClose: h,
4534
4220
  anchorOrigin: {
4535
4221
  vertical: "bottom",
4536
4222
  horizontal: E ? "right" : "left"
4537
4223
  },
4538
- transformOrigin: E ? os : ts,
4224
+ transformOrigin: E ? Gr : Xr,
4539
4225
  slots: {
4540
- paper: R,
4541
- root: $.root
4226
+ paper: O,
4227
+ root: F.root
4542
4228
  },
4543
4229
  slotProps: {
4544
- root: k,
4545
- paper: M
4230
+ root: M,
4231
+ paper: k
4546
4232
  },
4547
- open: g,
4233
+ open: v,
4548
4234
  ref: t,
4549
- transitionDuration: I,
4235
+ transitionDuration: w,
4550
4236
  TransitionProps: u({
4551
- onEntering: U
4237
+ onEntering: V
4552
4238
  }, b),
4553
4239
  ownerState: D
4554
4240
  }, T, {
4555
- classes: v,
4556
- children: /* @__PURE__ */ S(as, u({
4557
- onKeyDown: F,
4558
- actions: V,
4559
- autoFocus: a && (N === -1 || p),
4560
- autoFocusItem: A,
4241
+ classes: g,
4242
+ children: /* @__PURE__ */ S(Qr, u({
4243
+ onKeyDown: $,
4244
+ actions: U,
4245
+ autoFocus: a && (P === -1 || p),
4246
+ autoFocusItem: j,
4561
4247
  variant: y
4562
4248
  }, m, {
4563
4249
  className: Y(_.list, m.className),
@@ -4565,7 +4251,7 @@ const es = ["onEntering"], ns = ["autoFocus", "children", "className", "disableA
4565
4251
  }))
4566
4252
  }));
4567
4253
  });
4568
- process.env.NODE_ENV !== "production" && (Fo.propTypes = {
4254
+ process.env.NODE_ENV !== "production" && (Mo.propTypes = {
4569
4255
  // ┌────────────────────────────── Warning ──────────────────────────────┐
4570
4256
  // │ These PropTypes are generated from the TypeScript type definitions. │
4571
4257
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -4574,7 +4260,7 @@ process.env.NODE_ENV !== "production" && (Fo.propTypes = {
4574
4260
  * An HTML element, or a function that returns one.
4575
4261
  * It's used to set the position of the menu.
4576
4262
  */
4577
- anchorEl: e.oneOfType([We, e.func]),
4263
+ anchorEl: e.oneOfType([Ve, e.func]),
4578
4264
  /**
4579
4265
  * If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled
4580
4266
  * children are not focusable. If you set this prop to `false` focus will be placed
@@ -4671,11 +4357,11 @@ process.env.NODE_ENV !== "production" && (Fo.propTypes = {
4671
4357
  */
4672
4358
  variant: e.oneOf(["menu", "selectedMenu"])
4673
4359
  });
4674
- const ls = Fo;
4675
- function cs(n) {
4360
+ const es = Mo;
4361
+ function ns(n) {
4676
4362
  return oe("MuiNativeSelect", n);
4677
4363
  }
4678
- const us = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), In = us, ds = ["className", "disabled", "error", "IconComponent", "inputRef", "variant"], ps = (n) => {
4364
+ const os = ne("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), yn = os, ts = ["className", "disabled", "error", "IconComponent", "inputRef", "variant"], rs = (n) => {
4679
4365
  const {
4680
4366
  classes: o,
4681
4367
  variant: t,
@@ -4687,8 +4373,8 @@ const us = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
4687
4373
  select: ["select", t, r && "disabled", i && "multiple", a && "error"],
4688
4374
  icon: ["icon", `icon${ce(t)}`, s && "iconOpen", r && "disabled"]
4689
4375
  };
4690
- return ne(l, cs, o);
4691
- }, Do = ({
4376
+ return te(l, ns, o);
4377
+ }, Fo = ({
4692
4378
  ownerState: n,
4693
4379
  theme: o
4694
4380
  }) => u({
@@ -4714,7 +4400,7 @@ const us = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
4714
4400
  "&::-ms-expand": {
4715
4401
  display: "none"
4716
4402
  },
4717
- [`&.${In.disabled}`]: {
4403
+ [`&.${yn.disabled}`]: {
4718
4404
  cursor: "default"
4719
4405
  },
4720
4406
  "&[multiple]": {
@@ -4742,19 +4428,19 @@ const us = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
4742
4428
  "&&&": {
4743
4429
  paddingRight: 32
4744
4430
  }
4745
- }), fs = j("select", {
4431
+ }), ss = B("select", {
4746
4432
  name: "MuiNativeSelect",
4747
4433
  slot: "Select",
4748
- shouldForwardProp: be,
4434
+ shouldForwardProp: Oe,
4749
4435
  overridesResolver: (n, o) => {
4750
4436
  const {
4751
4437
  ownerState: t
4752
4438
  } = n;
4753
4439
  return [o.select, o[t.variant], t.error && o.error, {
4754
- [`&.${In.multiple}`]: o.multiple
4440
+ [`&.${yn.multiple}`]: o.multiple
4755
4441
  }];
4756
4442
  }
4757
- })(Do), Lo = ({
4443
+ })(Fo), $o = ({
4758
4444
  ownerState: n,
4759
4445
  theme: o
4760
4446
  }) => u({
@@ -4767,7 +4453,7 @@ const us = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
4767
4453
  pointerEvents: "none",
4768
4454
  // Don't block pointer events on the select under the icon.
4769
4455
  color: (o.vars || o).palette.action.active,
4770
- [`&.${In.disabled}`]: {
4456
+ [`&.${yn.disabled}`]: {
4771
4457
  color: (o.vars || o).palette.action.disabled
4772
4458
  }
4773
4459
  }, n.open && {
@@ -4776,7 +4462,7 @@ const us = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
4776
4462
  right: 7
4777
4463
  }, n.variant === "outlined" && {
4778
4464
  right: 7
4779
- }), ms = j("svg", {
4465
+ }), is = B("svg", {
4780
4466
  name: "MuiNativeSelect",
4781
4467
  slot: "Icon",
4782
4468
  overridesResolver: (n, o) => {
@@ -4785,7 +4471,7 @@ const us = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
4785
4471
  } = n;
4786
4472
  return [o.icon, t.variant && o[`icon${ce(t.variant)}`], t.open && o.iconOpen];
4787
4473
  }
4788
- })(Lo), jo = /* @__PURE__ */ d.forwardRef(function(o, t) {
4474
+ })($o), Do = /* @__PURE__ */ d.forwardRef(function(o, t) {
4789
4475
  const {
4790
4476
  className: r,
4791
4477
  disabled: i,
@@ -4793,25 +4479,25 @@ const us = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
4793
4479
  IconComponent: a,
4794
4480
  inputRef: l,
4795
4481
  variant: c = "standard"
4796
- } = o, p = z(o, ds), m = u({}, o, {
4482
+ } = o, p = q(o, ts), m = u({}, o, {
4797
4483
  disabled: i,
4798
4484
  variant: c,
4799
4485
  error: s
4800
- }), h = ps(m);
4486
+ }), h = rs(m);
4801
4487
  return /* @__PURE__ */ me(d.Fragment, {
4802
- children: [/* @__PURE__ */ S(fs, u({
4488
+ children: [/* @__PURE__ */ S(ss, u({
4803
4489
  ownerState: m,
4804
4490
  className: Y(h.select, r),
4805
4491
  disabled: i,
4806
4492
  ref: l || t
4807
- }, p)), o.multiple ? null : /* @__PURE__ */ S(ms, {
4493
+ }, p)), o.multiple ? null : /* @__PURE__ */ S(is, {
4808
4494
  as: a,
4809
4495
  ownerState: m,
4810
4496
  className: h.icon
4811
4497
  })]
4812
4498
  });
4813
4499
  });
4814
- process.env.NODE_ENV !== "production" && (jo.propTypes = {
4500
+ process.env.NODE_ENV !== "production" && (Do.propTypes = {
4815
4501
  /**
4816
4502
  * The option elements to populate the select with.
4817
4503
  * Can be some `<option>` elements.
@@ -4842,7 +4528,7 @@ process.env.NODE_ENV !== "production" && (jo.propTypes = {
4842
4528
  * Use that prop to pass a ref to the native select element.
4843
4529
  * @deprecated
4844
4530
  */
4845
- inputRef: we,
4531
+ inputRef: $e,
4846
4532
  /**
4847
4533
  * @ignore
4848
4534
  */
@@ -4867,13 +4553,13 @@ process.env.NODE_ENV !== "production" && (jo.propTypes = {
4867
4553
  */
4868
4554
  variant: e.oneOf(["standard", "outlined", "filled"])
4869
4555
  });
4870
- const bs = jo;
4871
- function hs(n) {
4556
+ const as = Do;
4557
+ function ls(n) {
4872
4558
  return oe("MuiSelect", n);
4873
4559
  }
4874
- const je = ee("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
4875
- var eo;
4876
- const vs = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "error", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"], gs = j("div", {
4560
+ const Le = ne("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
4561
+ var qn;
4562
+ const cs = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "error", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"], ds = B("div", {
4877
4563
  name: "MuiSelect",
4878
4564
  slot: "Select",
4879
4565
  overridesResolver: (n, o) => {
@@ -4883,22 +4569,22 @@ const vs = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "childre
4883
4569
  return [
4884
4570
  // Win specificity over the input base
4885
4571
  {
4886
- [`&.${je.select}`]: o.select
4572
+ [`&.${Le.select}`]: o.select
4887
4573
  },
4888
4574
  {
4889
- [`&.${je.select}`]: o[t.variant]
4575
+ [`&.${Le.select}`]: o[t.variant]
4890
4576
  },
4891
4577
  {
4892
- [`&.${je.error}`]: o.error
4578
+ [`&.${Le.error}`]: o.error
4893
4579
  },
4894
4580
  {
4895
- [`&.${je.multiple}`]: o.multiple
4581
+ [`&.${Le.multiple}`]: o.multiple
4896
4582
  }
4897
4583
  ];
4898
4584
  }
4899
- })(Do, {
4585
+ })(Fo, {
4900
4586
  // Win specificity over the input base
4901
- [`&.${je.select}`]: {
4587
+ [`&.${Le.select}`]: {
4902
4588
  height: "auto",
4903
4589
  // Resets for multiple select with chips
4904
4590
  minHeight: "1.4375em",
@@ -4907,7 +4593,7 @@ const vs = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "childre
4907
4593
  whiteSpace: "nowrap",
4908
4594
  overflow: "hidden"
4909
4595
  }
4910
- }), ys = j("svg", {
4596
+ }), us = B("svg", {
4911
4597
  name: "MuiSelect",
4912
4598
  slot: "Icon",
4913
4599
  overridesResolver: (n, o) => {
@@ -4916,8 +4602,8 @@ const vs = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "childre
4916
4602
  } = n;
4917
4603
  return [o.icon, t.variant && o[`icon${ce(t.variant)}`], t.open && o.iconOpen];
4918
4604
  }
4919
- })(Lo), Es = j("input", {
4920
- shouldForwardProp: (n) => Uo(n) && n !== "classes",
4605
+ })($o), ps = B("input", {
4606
+ shouldForwardProp: (n) => Ao(n) && n !== "classes",
4921
4607
  name: "MuiSelect",
4922
4608
  slot: "NativeInput",
4923
4609
  overridesResolver: (n, o) => o.nativeInput
@@ -4930,13 +4616,13 @@ const vs = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "childre
4930
4616
  width: "100%",
4931
4617
  boxSizing: "border-box"
4932
4618
  });
4933
- function no(n, o) {
4619
+ function Hn(n, o) {
4934
4620
  return typeof o == "object" && o !== null ? n === o : String(n) === String(o);
4935
4621
  }
4936
- function xs(n) {
4622
+ function fs(n) {
4937
4623
  return n == null || typeof n == "string" && !n.trim();
4938
4624
  }
4939
- const Ts = (n) => {
4625
+ const ms = (n) => {
4940
4626
  const {
4941
4627
  classes: o,
4942
4628
  variant: t,
@@ -4949,8 +4635,8 @@ const Ts = (n) => {
4949
4635
  icon: ["icon", `icon${ce(t)}`, s && "iconOpen", r && "disabled"],
4950
4636
  nativeInput: ["nativeInput"]
4951
4637
  };
4952
- return ne(l, hs, o);
4953
- }, _o = /* @__PURE__ */ d.forwardRef(function(o, t) {
4638
+ return te(l, ls, o);
4639
+ }, Lo = /* @__PURE__ */ d.forwardRef(function(o, t) {
4954
4640
  var r;
4955
4641
  const {
4956
4642
  "aria-describedby": i,
@@ -4961,48 +4647,48 @@ const Ts = (n) => {
4961
4647
  className: p,
4962
4648
  defaultOpen: m,
4963
4649
  defaultValue: h,
4964
- disabled: g,
4650
+ disabled: v,
4965
4651
  displayEmpty: x,
4966
- error: v = !1,
4967
- IconComponent: I,
4968
- inputRef: O,
4652
+ error: g = !1,
4653
+ IconComponent: w,
4654
+ inputRef: R,
4969
4655
  labelId: y,
4970
- MenuProps: $ = {},
4656
+ MenuProps: F = {},
4971
4657
  multiple: f,
4972
4658
  name: b,
4973
4659
  onBlur: T,
4974
- onChange: P,
4660
+ onChange: N,
4975
4661
  onClose: E,
4976
4662
  onFocus: D,
4977
4663
  onOpen: _,
4978
- open: A,
4979
- readOnly: V,
4980
- renderValue: U,
4981
- SelectDisplayProps: F = {},
4982
- tabIndex: N,
4983
- value: R,
4984
- variant: w = "standard"
4985
- } = o, k = z(o, vs), [M, L] = Un({
4986
- controlled: R,
4664
+ open: j,
4665
+ readOnly: U,
4666
+ renderValue: V,
4667
+ SelectDisplayProps: $ = {},
4668
+ tabIndex: P,
4669
+ value: O,
4670
+ variant: I = "standard"
4671
+ } = o, M = q(o, cs), [k, L] = Mn({
4672
+ controlled: O,
4987
4673
  default: h,
4988
4674
  name: "Select"
4989
- }), [K, de] = Un({
4990
- controlled: A,
4675
+ }), [K, ue] = Mn({
4676
+ controlled: j,
4991
4677
  default: m,
4992
4678
  name: "Select"
4993
- }), Z = d.useRef(null), G = d.useRef(null), [H, te] = d.useState(null), {
4679
+ }), Z = d.useRef(null), G = d.useRef(null), [H, ee] = d.useState(null), {
4994
4680
  current: se
4995
- } = d.useRef(A != null), [le, ae] = d.useState(), Re = ue(t, O), ve = d.useCallback((C) => {
4996
- G.current = C, C && te(C);
4997
- }, []), ge = H == null ? void 0 : H.parentNode;
4681
+ } = d.useRef(j != null), [le, ae] = d.useState(), Re = de(t, R), he = d.useCallback((C) => {
4682
+ G.current = C, C && ee(C);
4683
+ }, []), ve = H == null ? void 0 : H.parentNode;
4998
4684
  d.useImperativeHandle(Re, () => ({
4999
4685
  focus: () => {
5000
4686
  G.current.focus();
5001
4687
  },
5002
4688
  node: Z.current,
5003
- value: M
5004
- }), [M]), d.useEffect(() => {
5005
- m && K && H && !se && (ae(l ? null : ge.clientWidth), G.current.focus());
4689
+ value: k
4690
+ }), [k]), d.useEffect(() => {
4691
+ m && K && H && !se && (ae(l ? null : ve.clientWidth), G.current.focus());
5006
4692
  }, [H, l]), d.useEffect(() => {
5007
4693
  a && G.current.focus();
5008
4694
  }, [a]), d.useEffect(() => {
@@ -5010,89 +4696,89 @@ const Ts = (n) => {
5010
4696
  return;
5011
4697
  const C = ie(G.current).getElementById(y);
5012
4698
  if (C) {
5013
- const B = () => {
4699
+ const A = () => {
5014
4700
  getSelection().isCollapsed && G.current.focus();
5015
4701
  };
5016
- return C.addEventListener("click", B), () => {
5017
- C.removeEventListener("click", B);
4702
+ return C.addEventListener("click", A), () => {
4703
+ C.removeEventListener("click", A);
5018
4704
  };
5019
4705
  }
5020
4706
  }, [y]);
5021
- const ye = (C, B) => {
5022
- C ? _ && _(B) : E && E(B), se || (ae(l ? null : ge.clientWidth), de(C));
4707
+ const ge = (C, A) => {
4708
+ C ? _ && _(A) : E && E(A), se || (ae(l ? null : ve.clientWidth), ue(C));
5023
4709
  }, W = (C) => {
5024
- C.button === 0 && (C.preventDefault(), G.current.focus(), ye(!0, C));
5025
- }, q = (C) => {
5026
- ye(!1, C);
4710
+ C.button === 0 && (C.preventDefault(), G.current.focus(), ge(!0, C));
4711
+ }, z = (C) => {
4712
+ ge(!1, C);
5027
4713
  }, X = d.Children.toArray(c), pe = (C) => {
5028
- const B = X.find((J) => J.props.value === C.target.value);
5029
- B !== void 0 && (L(B.props.value), P && P(C, B));
5030
- }, Ee = (C) => (B) => {
4714
+ const A = X.find((J) => J.props.value === C.target.value);
4715
+ A !== void 0 && (L(A.props.value), N && N(C, A));
4716
+ }, ye = (C) => (A) => {
5031
4717
  let J;
5032
- if (B.currentTarget.hasAttribute("tabindex")) {
4718
+ if (A.currentTarget.hasAttribute("tabindex")) {
5033
4719
  if (f) {
5034
- J = Array.isArray(M) ? M.slice() : [];
5035
- const $e = M.indexOf(C.props.value);
5036
- $e === -1 ? J.push(C.props.value) : J.splice($e, 1);
4720
+ J = Array.isArray(k) ? k.slice() : [];
4721
+ const we = k.indexOf(C.props.value);
4722
+ we === -1 ? J.push(C.props.value) : J.splice(we, 1);
5037
4723
  } else
5038
4724
  J = C.props.value;
5039
- if (C.props.onClick && C.props.onClick(B), M !== J && (L(J), P)) {
5040
- const $e = B.nativeEvent || B, Fn = new $e.constructor($e.type, $e);
5041
- Object.defineProperty(Fn, "target", {
4725
+ if (C.props.onClick && C.props.onClick(A), k !== J && (L(J), N)) {
4726
+ const we = A.nativeEvent || A, Cn = new we.constructor(we.type, we);
4727
+ Object.defineProperty(Cn, "target", {
5042
4728
  writable: !0,
5043
4729
  value: {
5044
4730
  value: J,
5045
4731
  name: b
5046
4732
  }
5047
- }), P(Fn, C);
4733
+ }), N(Cn, C);
5048
4734
  }
5049
- f || ye(!1, B);
4735
+ f || ge(!1, A);
5050
4736
  }
5051
- }, xe = (C) => {
5052
- V || [
4737
+ }, Ee = (C) => {
4738
+ U || [
5053
4739
  " ",
5054
4740
  "ArrowUp",
5055
4741
  "ArrowDown",
5056
4742
  // The native select doesn't respond to enter on macOS, but it's recommended by
5057
4743
  // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
5058
4744
  "Enter"
5059
- ].indexOf(C.key) !== -1 && (C.preventDefault(), ye(!0, C));
4745
+ ].indexOf(C.key) !== -1 && (C.preventDefault(), ge(!0, C));
5060
4746
  }, Ce = H !== null && K, ze = (C) => {
5061
4747
  !Ce && T && (Object.defineProperty(C, "target", {
5062
4748
  writable: !0,
5063
4749
  value: {
5064
- value: M,
4750
+ value: k,
5065
4751
  name: b
5066
4752
  }
5067
4753
  }), T(C));
5068
4754
  };
5069
- delete k["aria-invalid"];
5070
- let fe, Te;
4755
+ delete M["aria-invalid"];
4756
+ let fe, xe;
5071
4757
  const Pe = [];
5072
- let Q = !1, on = !1;
4758
+ let Q = !1, nn = !1;
5073
4759
  (dn({
5074
- value: M
5075
- }) || x) && (U ? fe = U(M) : Q = !0);
5076
- const Bo = X.map((C) => {
4760
+ value: k
4761
+ }) || x) && (V ? fe = V(k) : Q = !0);
4762
+ const jo = X.map((C) => {
5077
4763
  if (!/* @__PURE__ */ d.isValidElement(C))
5078
4764
  return null;
5079
- process.env.NODE_ENV !== "production" && hn.isFragment(C) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
4765
+ process.env.NODE_ENV !== "production" && bn.isFragment(C) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
5080
4766
  `));
5081
- let B;
4767
+ let A;
5082
4768
  if (f) {
5083
- if (!Array.isArray(M))
5084
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : Wo(2));
5085
- B = M.some((J) => no(J, C.props.value)), B && Q && Pe.push(C.props.children);
4769
+ if (!Array.isArray(k))
4770
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : Bo(2));
4771
+ A = k.some((J) => Hn(J, C.props.value)), A && Q && Pe.push(C.props.children);
5086
4772
  } else
5087
- B = no(M, C.props.value), B && Q && (Te = C.props.children);
5088
- return B && (on = !0), /* @__PURE__ */ d.cloneElement(C, {
5089
- "aria-selected": B ? "true" : "false",
5090
- onClick: Ee(C),
4773
+ A = Hn(k, C.props.value), A && Q && (xe = C.props.children);
4774
+ return A && (nn = !0), /* @__PURE__ */ d.cloneElement(C, {
4775
+ "aria-selected": A ? "true" : "false",
4776
+ onClick: ye(C),
5091
4777
  onKeyUp: (J) => {
5092
4778
  J.key === " " && J.preventDefault(), C.props.onKeyUp && C.props.onKeyUp(J);
5093
4779
  },
5094
4780
  role: "option",
5095
- selected: B,
4781
+ selected: A,
5096
4782
  value: void 0,
5097
4783
  // The value is most likely not a valid HTML attribute.
5098
4784
  "data-value": C.props.value
@@ -5100,70 +4786,70 @@ const Ts = (n) => {
5100
4786
  });
5101
4787
  });
5102
4788
  process.env.NODE_ENV !== "production" && d.useEffect(() => {
5103
- if (!on && !f && M !== "") {
5104
- const C = X.map((B) => B.props.value);
5105
- console.warn([`MUI: You have provided an out-of-range value \`${M}\` for the select ${b ? `(name="${b}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${C.filter((B) => B != null).map((B) => `\`${B}\``).join(", ") || '""'}.`].join(`
4789
+ if (!nn && !f && k !== "") {
4790
+ const C = X.map((A) => A.props.value);
4791
+ console.warn([`MUI: You have provided an out-of-range value \`${k}\` for the select ${b ? `(name="${b}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${C.filter((A) => A != null).map((A) => `\`${A}\``).join(", ") || '""'}.`].join(`
5106
4792
  `));
5107
4793
  }
5108
- }, [on, X, f, b, M]), Q && (f ? Pe.length === 0 ? fe = null : fe = Pe.reduce((C, B, J) => (C.push(B), J < Pe.length - 1 && C.push(", "), C), []) : fe = Te);
5109
- let $n = le;
5110
- !l && se && H && ($n = ge.clientWidth);
5111
- let tn;
5112
- typeof N < "u" ? tn = N : tn = g ? null : 0;
5113
- const Mn = F.id || (b ? `mui-component-select-${b}` : void 0), He = u({}, o, {
5114
- variant: w,
5115
- value: M,
4794
+ }, [nn, X, f, b, k]), Q && (f ? Pe.length === 0 ? fe = null : fe = Pe.reduce((C, A, J) => (C.push(A), J < Pe.length - 1 && C.push(", "), C), []) : fe = xe);
4795
+ let Tn = le;
4796
+ !l && se && H && (Tn = ve.clientWidth);
4797
+ let on;
4798
+ typeof P < "u" ? on = P : on = v ? null : 0;
4799
+ const On = $.id || (b ? `mui-component-select-${b}` : void 0), qe = u({}, o, {
4800
+ variant: I,
4801
+ value: k,
5116
4802
  open: Ce,
5117
- error: v
5118
- }), rn = Ts(He), sn = u({}, $.PaperProps, (r = $.slotProps) == null ? void 0 : r.paper), kn = ao();
4803
+ error: g
4804
+ }), tn = ms(qe), rn = u({}, F.PaperProps, (r = F.slotProps) == null ? void 0 : r.paper), Rn = io();
5119
4805
  return /* @__PURE__ */ me(d.Fragment, {
5120
- children: [/* @__PURE__ */ S(gs, u({
5121
- ref: ve,
5122
- tabIndex: tn,
4806
+ children: [/* @__PURE__ */ S(ds, u({
4807
+ ref: he,
4808
+ tabIndex: on,
5123
4809
  role: "combobox",
5124
- "aria-controls": kn,
5125
- "aria-disabled": g ? "true" : void 0,
4810
+ "aria-controls": Rn,
4811
+ "aria-disabled": v ? "true" : void 0,
5126
4812
  "aria-expanded": Ce ? "true" : "false",
5127
4813
  "aria-haspopup": "listbox",
5128
4814
  "aria-label": s,
5129
- "aria-labelledby": [y, Mn].filter(Boolean).join(" ") || void 0,
4815
+ "aria-labelledby": [y, On].filter(Boolean).join(" ") || void 0,
5130
4816
  "aria-describedby": i,
5131
- onKeyDown: xe,
5132
- onMouseDown: g || V ? null : W,
4817
+ onKeyDown: Ee,
4818
+ onMouseDown: v || U ? null : W,
5133
4819
  onBlur: ze,
5134
4820
  onFocus: D
5135
- }, F, {
5136
- ownerState: He,
5137
- className: Y(F.className, rn.select, p),
5138
- id: Mn,
5139
- children: xs(fe) ? (
4821
+ }, $, {
4822
+ ownerState: qe,
4823
+ className: Y($.className, tn.select, p),
4824
+ id: On,
4825
+ children: fs(fe) ? (
5140
4826
  // notranslate needed while Google Translate will not fix zero-width space issue
5141
- eo || (eo = /* @__PURE__ */ S("span", {
4827
+ qn || (qn = /* @__PURE__ */ S("span", {
5142
4828
  className: "notranslate",
5143
4829
  children: "​"
5144
4830
  }))
5145
4831
  ) : fe
5146
- })), /* @__PURE__ */ S(Es, u({
5147
- "aria-invalid": v,
5148
- value: Array.isArray(M) ? M.join(",") : M,
4832
+ })), /* @__PURE__ */ S(ps, u({
4833
+ "aria-invalid": g,
4834
+ value: Array.isArray(k) ? k.join(",") : k,
5149
4835
  name: b,
5150
4836
  ref: Z,
5151
4837
  "aria-hidden": !0,
5152
4838
  onChange: pe,
5153
4839
  tabIndex: -1,
5154
- disabled: g,
5155
- className: rn.nativeInput,
4840
+ disabled: v,
4841
+ className: tn.nativeInput,
5156
4842
  autoFocus: a,
5157
- ownerState: He
5158
- }, k)), /* @__PURE__ */ S(ys, {
5159
- as: I,
5160
- className: rn.icon,
5161
- ownerState: He
5162
- }), /* @__PURE__ */ S(ls, u({
4843
+ ownerState: qe
4844
+ }, M)), /* @__PURE__ */ S(us, {
4845
+ as: w,
4846
+ className: tn.icon,
4847
+ ownerState: qe
4848
+ }), /* @__PURE__ */ S(es, u({
5163
4849
  id: `menu-${b || ""}`,
5164
- anchorEl: ge,
4850
+ anchorEl: ve,
5165
4851
  open: Ce,
5166
- onClose: q,
4852
+ onClose: z,
5167
4853
  anchorOrigin: {
5168
4854
  vertical: "bottom",
5169
4855
  horizontal: "center"
@@ -5172,26 +4858,26 @@ const Ts = (n) => {
5172
4858
  vertical: "top",
5173
4859
  horizontal: "center"
5174
4860
  }
5175
- }, $, {
4861
+ }, F, {
5176
4862
  MenuListProps: u({
5177
4863
  "aria-labelledby": y,
5178
4864
  role: "listbox",
5179
4865
  "aria-multiselectable": f ? "true" : void 0,
5180
4866
  disableListWrap: !0,
5181
- id: kn
5182
- }, $.MenuListProps),
5183
- slotProps: u({}, $.slotProps, {
5184
- paper: u({}, sn, {
4867
+ id: Rn
4868
+ }, F.MenuListProps),
4869
+ slotProps: u({}, F.slotProps, {
4870
+ paper: u({}, rn, {
5185
4871
  style: u({
5186
- minWidth: $n
5187
- }, sn != null ? sn.style : null)
4872
+ minWidth: Tn
4873
+ }, rn != null ? rn.style : null)
5188
4874
  })
5189
4875
  }),
5190
- children: Bo
4876
+ children: jo
5191
4877
  }))]
5192
4878
  });
5193
4879
  });
5194
- process.env.NODE_ENV !== "production" && (_o.propTypes = {
4880
+ process.env.NODE_ENV !== "production" && (Lo.propTypes = {
5195
4881
  /**
5196
4882
  * @ignore
5197
4883
  */
@@ -5252,7 +4938,7 @@ process.env.NODE_ENV !== "production" && (_o.propTypes = {
5252
4938
  * Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`
5253
4939
  * Equivalent to `ref`
5254
4940
  */
5255
- inputRef: we,
4941
+ inputRef: $e,
5256
4942
  /**
5257
4943
  * The ID of an element that acts as an additional label. The Select will
5258
4944
  * be labelled by the additional label and the selected value.
@@ -5336,19 +5022,19 @@ process.env.NODE_ENV !== "production" && (_o.propTypes = {
5336
5022
  */
5337
5023
  variant: e.oneOf(["standard", "outlined", "filled"])
5338
5024
  });
5339
- const Os = _o, Rs = Yo(/* @__PURE__ */ S("path", {
5025
+ const bs = Lo, hs = Go(/* @__PURE__ */ S("path", {
5340
5026
  d: "M7 10l5 5 5-5z"
5341
- }), "ArrowDropDown"), Cs = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"], Ps = ["root"], Ns = (n) => {
5027
+ }), "ArrowDropDown"), vs = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"], gs = ["root"], ys = (n) => {
5342
5028
  const {
5343
5029
  classes: o
5344
5030
  } = n;
5345
5031
  return o;
5346
- }, Sn = {
5032
+ }, En = {
5347
5033
  name: "MuiSelect",
5348
5034
  overridesResolver: (n, o) => o.root,
5349
- shouldForwardProp: (n) => be(n) && n !== "variant",
5035
+ shouldForwardProp: (n) => Oe(n) && n !== "variant",
5350
5036
  slot: "Root"
5351
- }, Is = j(bo, Sn)(""), Ss = j(go, Sn)(""), ws = j(ho, Sn)(""), wn = /* @__PURE__ */ d.forwardRef(function(o, t) {
5037
+ }, Es = B(oo, En)(""), xs = B(ho, En)(""), Ts = B(mo, En)(""), xn = /* @__PURE__ */ d.forwardRef(function(o, t) {
5352
5038
  const r = re({
5353
5039
  name: "MuiSelect",
5354
5040
  props: o
@@ -5359,82 +5045,82 @@ const Os = _o, Rs = Yo(/* @__PURE__ */ S("path", {
5359
5045
  className: l,
5360
5046
  defaultOpen: c = !1,
5361
5047
  displayEmpty: p = !1,
5362
- IconComponent: m = Rs,
5048
+ IconComponent: m = hs,
5363
5049
  id: h,
5364
- input: g,
5050
+ input: v,
5365
5051
  inputProps: x,
5366
- label: v,
5367
- labelId: I,
5368
- MenuProps: O,
5052
+ label: g,
5053
+ labelId: w,
5054
+ MenuProps: R,
5369
5055
  multiple: y = !1,
5370
- native: $ = !1,
5056
+ native: F = !1,
5371
5057
  onClose: f,
5372
5058
  onOpen: b,
5373
5059
  open: T,
5374
- renderValue: P,
5060
+ renderValue: N,
5375
5061
  SelectDisplayProps: E,
5376
5062
  variant: D = "outlined"
5377
- } = r, _ = z(r, Cs), A = $ ? bs : Os, V = Ve(), U = qe({
5063
+ } = r, _ = q(r, vs), j = F ? as : bs, U = We(), V = Ue({
5378
5064
  props: r,
5379
- muiFormControl: V,
5065
+ muiFormControl: U,
5380
5066
  states: ["variant", "error"]
5381
- }), F = U.variant || D, N = u({}, r, {
5382
- variant: F,
5067
+ }), $ = V.variant || D, P = u({}, r, {
5068
+ variant: $,
5383
5069
  classes: a
5384
- }), R = Ns(N), w = z(R, Ps), k = g || {
5385
- standard: /* @__PURE__ */ S(Is, {
5386
- ownerState: N
5070
+ }), O = ys(P), I = q(O, gs), M = v || {
5071
+ standard: /* @__PURE__ */ S(Es, {
5072
+ ownerState: P
5387
5073
  }),
5388
- outlined: /* @__PURE__ */ S(Ss, {
5389
- label: v,
5390
- ownerState: N
5074
+ outlined: /* @__PURE__ */ S(xs, {
5075
+ label: g,
5076
+ ownerState: P
5391
5077
  }),
5392
- filled: /* @__PURE__ */ S(ws, {
5393
- ownerState: N
5078
+ filled: /* @__PURE__ */ S(Ts, {
5079
+ ownerState: P
5394
5080
  })
5395
- }[F], M = ue(t, k.ref);
5081
+ }[$], k = de(t, M.ref);
5396
5082
  return /* @__PURE__ */ S(d.Fragment, {
5397
- children: /* @__PURE__ */ d.cloneElement(k, u({
5083
+ children: /* @__PURE__ */ d.cloneElement(M, u({
5398
5084
  // Most of the logic is implemented in `SelectInput`.
5399
5085
  // The `Select` component is a simple API wrapper to expose something better to play with.
5400
- inputComponent: A,
5086
+ inputComponent: j,
5401
5087
  inputProps: u({
5402
5088
  children: s,
5403
- error: U.error,
5089
+ error: V.error,
5404
5090
  IconComponent: m,
5405
- variant: F,
5091
+ variant: $,
5406
5092
  type: void 0,
5407
5093
  // We render a select. We can ignore the type provided by the `Input`.
5408
5094
  multiple: y
5409
- }, $ ? {
5095
+ }, F ? {
5410
5096
  id: h
5411
5097
  } : {
5412
5098
  autoWidth: i,
5413
5099
  defaultOpen: c,
5414
5100
  displayEmpty: p,
5415
- labelId: I,
5416
- MenuProps: O,
5101
+ labelId: w,
5102
+ MenuProps: R,
5417
5103
  onClose: f,
5418
5104
  onOpen: b,
5419
5105
  open: T,
5420
- renderValue: P,
5106
+ renderValue: N,
5421
5107
  SelectDisplayProps: u({
5422
5108
  id: h
5423
5109
  }, E)
5424
5110
  }, x, {
5425
- classes: x ? vn(w, x.classes) : w
5426
- }, g ? g.props.inputProps : {})
5427
- }, (y && $ || p) && F === "outlined" ? {
5111
+ classes: x ? Kn(I, x.classes) : I
5112
+ }, v ? v.props.inputProps : {})
5113
+ }, (y && F || p) && $ === "outlined" ? {
5428
5114
  notched: !0
5429
5115
  } : {}, {
5430
- ref: M,
5431
- className: Y(k.props.className, l, R.root)
5432
- }, !g && {
5433
- variant: F
5116
+ ref: k,
5117
+ className: Y(M.props.className, l, O.root)
5118
+ }, !v && {
5119
+ variant: $
5434
5120
  }, _))
5435
5121
  });
5436
5122
  });
5437
- process.env.NODE_ENV !== "production" && (wn.propTypes = {
5123
+ process.env.NODE_ENV !== "production" && (xn.propTypes = {
5438
5124
  // ┌────────────────────────────── Warning ──────────────────────────────┐
5439
5125
  // │ These PropTypes are generated from the TypeScript type definitions. │
5440
5126
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -5581,28 +5267,28 @@ process.env.NODE_ENV !== "production" && (wn.propTypes = {
5581
5267
  */
5582
5268
  variant: e.oneOf(["filled", "outlined", "standard"])
5583
5269
  });
5584
- wn.muiName = "Select";
5585
- const $s = wn;
5586
- function Ms(n) {
5270
+ xn.muiName = "Select";
5271
+ const Os = xn;
5272
+ function Rs(n) {
5587
5273
  return oe("MuiTextField", n);
5588
5274
  }
5589
- ee("MuiTextField", ["root"]);
5590
- const ks = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"], Fs = {
5591
- standard: bo,
5592
- filled: ho,
5593
- outlined: go
5594
- }, Ds = (n) => {
5275
+ ne("MuiTextField", ["root"]);
5276
+ const Cs = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"], Ps = {
5277
+ standard: oo,
5278
+ filled: mo,
5279
+ outlined: ho
5280
+ }, Ns = (n) => {
5595
5281
  const {
5596
5282
  classes: o
5597
5283
  } = n;
5598
- return ne({
5284
+ return te({
5599
5285
  root: ["root"]
5600
- }, Ms, o);
5601
- }, Ls = j(cr, {
5286
+ }, Rs, o);
5287
+ }, Is = B(nr, {
5602
5288
  name: "MuiTextField",
5603
5289
  slot: "Root",
5604
5290
  overridesResolver: (n, o) => o.root
5605
- })({}), Ao = /* @__PURE__ */ d.forwardRef(function(o, t) {
5291
+ })({}), _o = /* @__PURE__ */ d.forwardRef(function(o, t) {
5606
5292
  const r = re({
5607
5293
  props: o,
5608
5294
  name: "MuiTextField"
@@ -5615,97 +5301,97 @@ const ks = ["autoComplete", "autoFocus", "children", "className", "color", "defa
5615
5301
  defaultValue: p,
5616
5302
  disabled: m = !1,
5617
5303
  error: h = !1,
5618
- FormHelperTextProps: g,
5304
+ FormHelperTextProps: v,
5619
5305
  fullWidth: x = !1,
5620
- helperText: v,
5621
- id: I,
5622
- InputLabelProps: O,
5306
+ helperText: g,
5307
+ id: w,
5308
+ InputLabelProps: R,
5623
5309
  inputProps: y,
5624
- InputProps: $,
5310
+ InputProps: F,
5625
5311
  inputRef: f,
5626
5312
  label: b,
5627
5313
  maxRows: T,
5628
- minRows: P,
5314
+ minRows: N,
5629
5315
  multiline: E = !1,
5630
5316
  name: D,
5631
5317
  onBlur: _,
5632
- onChange: A,
5633
- onFocus: V,
5634
- placeholder: U,
5635
- required: F = !1,
5636
- rows: N,
5637
- select: R = !1,
5638
- SelectProps: w,
5639
- type: k,
5640
- value: M,
5318
+ onChange: j,
5319
+ onFocus: U,
5320
+ placeholder: V,
5321
+ required: $ = !1,
5322
+ rows: P,
5323
+ select: O = !1,
5324
+ SelectProps: I,
5325
+ type: M,
5326
+ value: k,
5641
5327
  variant: L = "outlined"
5642
- } = r, K = z(r, ks), de = u({}, r, {
5328
+ } = r, K = q(r, Cs), ue = u({}, r, {
5643
5329
  autoFocus: s,
5644
5330
  color: c,
5645
5331
  disabled: m,
5646
5332
  error: h,
5647
5333
  fullWidth: x,
5648
5334
  multiline: E,
5649
- required: F,
5650
- select: R,
5335
+ required: $,
5336
+ select: O,
5651
5337
  variant: L
5652
- }), Z = Ds(de);
5653
- process.env.NODE_ENV !== "production" && R && !a && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
5338
+ }), Z = Ns(ue);
5339
+ process.env.NODE_ENV !== "production" && O && !a && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
5654
5340
  const G = {};
5655
- L === "outlined" && (O && typeof O.shrink < "u" && (G.notched = O.shrink), G.label = b), R && ((!w || !w.native) && (G.id = void 0), G["aria-describedby"] = void 0);
5656
- const H = ao(I), te = v && H ? `${H}-helper-text` : void 0, se = b && H ? `${H}-label` : void 0, le = Fs[L], ae = /* @__PURE__ */ S(le, u({
5657
- "aria-describedby": te,
5341
+ L === "outlined" && (R && typeof R.shrink < "u" && (G.notched = R.shrink), G.label = b), O && ((!I || !I.native) && (G.id = void 0), G["aria-describedby"] = void 0);
5342
+ const H = io(w), ee = g && H ? `${H}-helper-text` : void 0, se = b && H ? `${H}-label` : void 0, le = Ps[L], ae = /* @__PURE__ */ S(le, u({
5343
+ "aria-describedby": ee,
5658
5344
  autoComplete: i,
5659
5345
  autoFocus: s,
5660
5346
  defaultValue: p,
5661
5347
  fullWidth: x,
5662
5348
  multiline: E,
5663
5349
  name: D,
5664
- rows: N,
5350
+ rows: P,
5665
5351
  maxRows: T,
5666
- minRows: P,
5667
- type: k,
5668
- value: M,
5352
+ minRows: N,
5353
+ type: M,
5354
+ value: k,
5669
5355
  id: H,
5670
5356
  inputRef: f,
5671
5357
  onBlur: _,
5672
- onChange: A,
5673
- onFocus: V,
5674
- placeholder: U,
5358
+ onChange: j,
5359
+ onFocus: U,
5360
+ placeholder: V,
5675
5361
  inputProps: y
5676
- }, G, $));
5677
- return /* @__PURE__ */ me(Ls, u({
5362
+ }, G, F));
5363
+ return /* @__PURE__ */ me(Is, u({
5678
5364
  className: Y(Z.root, l),
5679
5365
  disabled: m,
5680
5366
  error: h,
5681
5367
  fullWidth: x,
5682
5368
  ref: t,
5683
- required: F,
5369
+ required: $,
5684
5370
  color: c,
5685
5371
  variant: L,
5686
- ownerState: de
5372
+ ownerState: ue
5687
5373
  }, K, {
5688
- children: [b != null && b !== "" && /* @__PURE__ */ S(rr, u({
5374
+ children: [b != null && b !== "" && /* @__PURE__ */ S(Yt, u({
5689
5375
  htmlFor: H,
5690
5376
  id: se
5691
- }, O, {
5377
+ }, R, {
5692
5378
  children: b
5693
- })), R ? /* @__PURE__ */ S($s, u({
5694
- "aria-describedby": te,
5379
+ })), O ? /* @__PURE__ */ S(Os, u({
5380
+ "aria-describedby": ee,
5695
5381
  id: H,
5696
5382
  labelId: se,
5697
- value: M,
5383
+ value: k,
5698
5384
  input: ae
5699
- }, w, {
5385
+ }, I, {
5700
5386
  children: a
5701
- })) : ae, v && /* @__PURE__ */ S(br, u({
5702
- id: te
5703
- }, g, {
5704
- children: v
5387
+ })) : ae, g && /* @__PURE__ */ S(ar, u({
5388
+ id: ee
5389
+ }, v, {
5390
+ children: g
5705
5391
  }))]
5706
5392
  }));
5707
5393
  });
5708
- process.env.NODE_ENV !== "production" && (Ao.propTypes = {
5394
+ process.env.NODE_ENV !== "production" && (_o.propTypes = {
5709
5395
  // ┌────────────────────────────── Warning ──────────────────────────────┐
5710
5396
  // │ These PropTypes are generated from the TypeScript type definitions. │
5711
5397
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -5791,7 +5477,7 @@ process.env.NODE_ENV !== "production" && (Ao.propTypes = {
5791
5477
  /**
5792
5478
  * Pass a ref to the `input` element.
5793
5479
  */
5794
- inputRef: we,
5480
+ inputRef: $e,
5795
5481
  /**
5796
5482
  * The label content.
5797
5483
  */
@@ -5878,14 +5564,14 @@ process.env.NODE_ENV !== "production" && (Ao.propTypes = {
5878
5564
  */
5879
5565
  variant: e.oneOf(["filled", "outlined", "standard"])
5880
5566
  });
5881
- const js = Ao, _s = j(js)(({ theme: n }) => ({
5567
+ const Ss = _o, ws = B(Ss)(({ theme: n }) => ({
5882
5568
  "& label.Mui-focused": {
5883
5569
  color: n.palette.primary.main
5884
5570
  },
5885
5571
  "& .MuiInput-underline:after": {
5886
5572
  borderBottomColor: n.palette.primary.main
5887
5573
  }
5888
- })), Xs = (n) => /* @__PURE__ */ S(_s, { ...n, variant: "standard" });
5574
+ })), Bs = (n) => /* @__PURE__ */ S(ws, { ...n, variant: "standard" });
5889
5575
  export {
5890
- Xs as default
5576
+ Bs as default
5891
5577
  };