jcicl 0.0.18 → 0.0.20

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 (81) hide show
  1. package/.chunks/ButtonBase.js +2 -1
  2. package/.chunks/DefaultPropsProvider.js +10 -10
  3. package/.chunks/ListContext.js +6 -0
  4. package/.chunks/Menu.js +489 -628
  5. package/.chunks/NavLink.js +436 -0
  6. package/.chunks/NavLinkButton.js +259 -0
  7. package/.chunks/TransitionGroupContext.js +69 -297
  8. package/.chunks/emotion-react.browser.esm.js +231 -0
  9. package/.chunks/index.js +131 -0
  10. package/.chunks/isHostComponent.js +17 -0
  11. package/README.md +1 -7
  12. package/base/Avatar/Avatar/Avatar.d.ts +8 -0
  13. package/base/Avatar/Avatar/Avatar.js +38 -0
  14. package/base/Avatar/Avatar/index.js +2 -2
  15. package/base/Avatar/AvatarWithImage/AvatarWithImage.d.ts +10 -0
  16. package/{.chunks → base/Avatar/AvatarWithImage}/AvatarWithImage.js +9 -8
  17. package/base/Avatar/AvatarWithImage/index.js +2 -2
  18. package/base/Avatar/index.js +3 -3
  19. package/base/Button/Button.d.ts +7 -0
  20. package/{.chunks → base/Button}/Button.js +7 -6
  21. package/base/Button/index.js +2 -2
  22. package/base/Divider/Divider.d.ts +10 -0
  23. package/{.chunks → base/Divider}/Divider.js +12 -11
  24. package/base/Divider/index.js +2 -2
  25. package/base/Flex/Flex.d.ts +19 -0
  26. package/{.chunks → base/Flex}/Flex.js +7 -7
  27. package/base/Flex/index.js +2 -2
  28. package/base/Grid/Grid.d.ts +14 -0
  29. package/base/Grid/Grid.js +19 -0
  30. package/base/Grid/index.js +2 -2
  31. package/base/Input/Input.d.ts +3 -0
  32. package/{.chunks → base/Input}/Input.js +21 -18
  33. package/base/Input/index.js +2 -2
  34. package/base/index.js +12 -12
  35. package/composite/ContactCard/ContactCard.d.ts +2 -0
  36. package/composite/ContactCard/ContactCard.js +1 -0
  37. package/composite/ContactListItem/ContactListItem.d.ts +1 -0
  38. package/composite/ContactListItem/ContactListItem.js +1 -0
  39. package/index.js +19 -17
  40. package/package.json +1 -1
  41. package/supercomposite/AppBar/AppBar.d.ts +5 -0
  42. package/{.chunks → supercomposite/AppBar}/AppBar.js +14 -13
  43. package/supercomposite/AppBar/index.js +2 -2
  44. package/supercomposite/AppHeader/AppHeader.d.ts +7 -0
  45. package/supercomposite/AppHeader/AppHeader.js +31 -0
  46. package/supercomposite/AppHeader/index.js +2 -2
  47. package/supercomposite/CompactNav/CompactNav.d.ts +17 -0
  48. package/{.chunks → supercomposite/CompactNav}/CompactNav.js +14 -12
  49. package/supercomposite/CompactNav/index.js +2 -2
  50. package/supercomposite/Nav/Nav.d.ts +13 -0
  51. package/supercomposite/Nav/Nav.js +626 -0
  52. package/supercomposite/Nav/index.js +1 -1
  53. package/supercomposite/Nav/subcomponents/NavItem/NavItem.d.ts +3 -0
  54. package/supercomposite/Nav/subcomponents/NavItem/NavItem.js +34 -0
  55. package/supercomposite/Nav/subcomponents/NavItem/subcomponents/NavLink.d.ts +3 -0
  56. package/supercomposite/Nav/subcomponents/NavItem/subcomponents/NavLink.js +8 -0
  57. package/supercomposite/Nav/subcomponents/NavItem/subcomponents/NavLinkButton.d.ts +19 -0
  58. package/supercomposite/Nav/subcomponents/NavItem/subcomponents/NavLinkButton.js +8 -0
  59. package/supercomposite/Nav/subcomponents/NavItem/subcomponents/NavLinkText.d.ts +8 -0
  60. package/supercomposite/Nav/subcomponents/NavItem/subcomponents/NavLinkText.js +425 -0
  61. package/supercomposite/Nav/subcomponents/NavItem/subcomponents/NavMenu.d.ts +20 -0
  62. package/supercomposite/Nav/subcomponents/NavItem/subcomponents/NavMenu.js +432 -0
  63. package/supercomposite/Nav/subcomponents/NavItem/types.d.ts +12 -0
  64. package/supercomposite/Nav/subcomponents/NavItem/types.js +1 -0
  65. package/supercomposite/Nav/types.d.ts +2 -0
  66. package/supercomposite/Nav/types.js +1 -0
  67. package/supercomposite/index.js +6 -6
  68. package/templates/AppContainer/AppContainer.d.ts +10 -0
  69. package/{.chunks → templates/AppContainer}/AppContainer.js +17 -17
  70. package/templates/AppContainer/index.js +2 -2
  71. package/templates/BasicPage/BasicPage.d.ts +9 -0
  72. package/templates/BasicPage/BasicPage.js +31 -0
  73. package/templates/BasicPage/index.js +2 -2
  74. package/templates/index.js +4 -4
  75. package/theme.d.ts +1 -0
  76. package/{assets/theme.js → theme.js} +1 -1
  77. package/.chunks/AppHeader.js +0 -31
  78. package/.chunks/Avatar.js +0 -38
  79. package/.chunks/BasicPage.js +0 -31
  80. package/.chunks/Grid.js +0 -18
  81. package/.chunks/Nav.js +0 -2139
package/.chunks/Menu.js CHANGED
@@ -1,19 +1,21 @@
1
1
  import * as p from "react";
2
- import ve from "react";
3
- import { jsx as I, jsxs as $e } from "react/jsx-runtime";
4
- import { P as e, c as W, n as Ft, o as At, q as Vt, T as it, i as at, g as ae, a as le, s as G, u as ce, b as ue, m as lt, d as We, t as ze, r as _t } from "./DefaultPropsProvider.js";
5
- import { f as Ce, c as X, G as $t, _ as Ut, a as qt, T as ct, g as Fe, b as Ht, s as Ge, d as Xe, r as Bt, e as Kt } from "./TransitionGroupContext.js";
6
- import { m as ut } from "./memoTheme.js";
7
- import { T as Wt } from "./emotion-styled.browser.esm.js";
8
- import * as zt from "react-dom";
2
+ import ye from "react";
3
+ import { P as e, c as z, T as St, l as Mt, g as ae, a as le, s as G, u as ce, b as ue, q as it, d as ze, t as We, r as kt } from "./DefaultPropsProvider.js";
4
+ import { jsx as A, jsxs as _e } from "react/jsx-runtime";
5
+ import { a as Dt } from "./isHostComponent.js";
6
+ import { c as Ce, a as X, _ as It, f as Lt, T as at, u as je, b as Ft, s as Ge, g as Xe, r as jt, e as At } from "./TransitionGroupContext.js";
7
+ import { m as lt } from "./memoTheme.js";
8
+ import { u as $t } from "./index.js";
9
+ import * as Vt from "react-dom";
9
10
  import Te from "react-dom";
10
- function Gt(t) {
11
+ import { L as _t } from "./ListContext.js";
12
+ function Ut(t) {
11
13
  const {
12
14
  prototype: n = {}
13
15
  } = t;
14
16
  return !!n.isReactComponent;
15
17
  }
16
- function pt(t, n, o, r, i) {
18
+ function ct(t, n, o, r, i) {
17
19
  const s = t[n], a = i || n;
18
20
  if (s == null || // When server-side rendering React doesn't warn either.
19
21
  // This is not an accurate check for SSR.
@@ -23,15 +25,15 @@ function pt(t, n, o, r, i) {
23
25
  return null;
24
26
  let l;
25
27
  const c = s.type;
26
- return typeof c == "function" && !Gt(c) && (l = "Did you accidentally use a plain function component for an element instead?"), l !== void 0 ? new Error(`Invalid ${r} \`${a}\` supplied to \`${o}\`. 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" && !Ut(c) && (l = "Did you accidentally use a plain function component for an element instead?"), l !== void 0 ? new Error(`Invalid ${r} \`${a}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
27
29
  }
28
- const ye = Ce(e.element, pt);
29
- ye.isRequired = Ce(e.element.isRequired, pt);
30
- const Xt = "exact-prop: ​";
31
- function dt(t) {
30
+ const ge = Ce(e.element, ct);
31
+ ge.isRequired = Ce(e.element.isRequired, ct);
32
+ const qt = "exact-prop: ​";
33
+ function ut(t) {
32
34
  return process.env.NODE_ENV === "production" ? t : {
33
35
  ...t,
34
- [Xt]: (n) => {
36
+ [qt]: (n) => {
35
37
  const o = Object.keys(n).filter((r) => !t.hasOwnProperty(r));
36
38
  return o.length > 0 ? new Error(`The following props are not supported: ${o.map((r) => `\`${r}\``).join(", ")}. Please remove them.`) : null;
37
39
  }
@@ -49,7 +51,7 @@ function Ye(...t) {
49
51
  }, () => {
50
52
  });
51
53
  }
52
- function Yt(t, n = 166) {
54
+ function Ht(t, n = 166) {
53
55
  let o;
54
56
  function r(...i) {
55
57
  const s = () => {
@@ -61,26 +63,17 @@ function Yt(t, n = 166) {
61
63
  clearTimeout(o);
62
64
  }, r;
63
65
  }
64
- function io(t, n) {
65
- var o, r, i;
66
- return /* @__PURE__ */ p.isValidElement(t) && n.indexOf(
67
- // For server components `muiName` is avaialble in element.type._payload.value.muiName
68
- // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
69
- // eslint-disable-next-line no-underscore-dangle
70
- t.type.muiName ?? ((i = (r = (o = t.type) == null ? void 0 : o._payload) == null ? void 0 : r.value) == null ? void 0 : i.muiName)
71
- ) !== -1;
72
- }
73
- function z(t) {
66
+ function W(t) {
74
67
  return t && t.ownerDocument || document;
75
68
  }
76
69
  function te(t) {
77
- return z(t).defaultView || window;
70
+ return W(t).defaultView || window;
78
71
  }
79
- function ft(t = window) {
72
+ function pt(t = window) {
80
73
  const n = t.document.documentElement.clientWidth;
81
74
  return t.innerWidth - n;
82
75
  }
83
- function Zt(t) {
76
+ function Bt(t) {
84
77
  const n = typeof t;
85
78
  switch (n) {
86
79
  case "number":
@@ -91,28 +84,28 @@ function Zt(t) {
91
84
  return n;
92
85
  }
93
86
  }
94
- function ht(t, n, o, r) {
87
+ function dt(t, n, o, r) {
95
88
  const i = t[n];
96
89
  if (i == null || !Number.isInteger(i)) {
97
- const s = Zt(i);
90
+ const s = Bt(i);
98
91
  return new RangeError(`Invalid ${r} \`${n}\` of type \`${s}\` supplied to \`${o}\`, expected \`integer\`.`);
99
92
  }
100
93
  return null;
101
94
  }
102
- function mt(t, n, ...o) {
103
- return t[n] === void 0 ? null : ht(t, n, ...o);
95
+ function ft(t, n, ...o) {
96
+ return t[n] === void 0 ? null : dt(t, n, ...o);
104
97
  }
105
98
  function Ae() {
106
99
  return null;
107
100
  }
108
- mt.isRequired = ht;
101
+ ft.isRequired = dt;
109
102
  Ae.isRequired = Ae;
110
- const bt = process.env.NODE_ENV === "production" ? Ae : mt;
111
- function Jt(t) {
103
+ const ht = process.env.NODE_ENV === "production" ? Ae : ft;
104
+ function Kt(t) {
112
105
  return typeof t == "string";
113
106
  }
114
- function Et(t, n, o) {
115
- return t === void 0 || Jt(t) ? n : {
107
+ function mt(t, n, o) {
108
+ return t === void 0 || Kt(t) ? n : {
116
109
  ...n,
117
110
  ownerState: {
118
111
  ...n.ownerState,
@@ -120,7 +113,7 @@ function Et(t, n, o) {
120
113
  }
121
114
  };
122
115
  }
123
- function yt(t, n = []) {
116
+ function bt(t, n = []) {
124
117
  if (t === void 0)
125
118
  return {};
126
119
  const o = {};
@@ -136,7 +129,7 @@ function Ze(t) {
136
129
  n[o] = t[o];
137
130
  }), n;
138
131
  }
139
- function gt(t) {
132
+ function Et(t) {
140
133
  const {
141
134
  getSlotProps: n,
142
135
  additionalProps: o,
@@ -145,24 +138,24 @@ function gt(t) {
145
138
  className: s
146
139
  } = t;
147
140
  if (!n) {
148
- const f = W(o == null ? void 0 : o.className, s, i == null ? void 0 : i.className, r == null ? void 0 : r.className), b = {
141
+ const f = z(o == null ? void 0 : o.className, s, i == null ? void 0 : i.className, r == null ? void 0 : r.className), b = {
149
142
  ...o == null ? void 0 : o.style,
150
143
  ...i == null ? void 0 : i.style,
151
144
  ...r == null ? void 0 : r.style
152
- }, O = {
145
+ }, N = {
153
146
  ...o,
154
147
  ...i,
155
148
  ...r
156
149
  };
157
- return f.length > 0 && (O.className = f), Object.keys(b).length > 0 && (O.style = b), {
158
- props: O,
150
+ return f.length > 0 && (N.className = f), Object.keys(b).length > 0 && (N.style = b), {
151
+ props: N,
159
152
  internalRef: void 0
160
153
  };
161
154
  }
162
- const a = yt({
155
+ const a = bt({
163
156
  ...i,
164
157
  ...r
165
- }), l = Ze(r), c = Ze(i), d = n(a), y = W(d == null ? void 0 : d.className, o == null ? void 0 : o.className, s, i == null ? void 0 : i.className, r == null ? void 0 : r.className), g = {
158
+ }), l = Ze(r), c = Ze(i), d = n(a), g = z(d == null ? void 0 : d.className, o == null ? void 0 : o.className, s, i == null ? void 0 : i.className, r == null ? void 0 : r.className), v = {
166
159
  ...d == null ? void 0 : d.style,
167
160
  ...o == null ? void 0 : o.style,
168
161
  ...i == null ? void 0 : i.style,
@@ -173,170 +166,49 @@ function gt(t) {
173
166
  ...c,
174
167
  ...l
175
168
  };
176
- return y.length > 0 && (x.className = y), Object.keys(g).length > 0 && (x.style = g), {
169
+ return g.length > 0 && (x.className = g), Object.keys(v).length > 0 && (x.style = v), {
177
170
  props: x,
178
171
  internalRef: d.ref
179
172
  };
180
173
  }
181
- function vt(t, n, o) {
174
+ function gt(t, n, o) {
182
175
  return typeof t == "function" ? t(n, o) : t;
183
176
  }
184
177
  function Je(t) {
185
- var g;
178
+ var v;
186
179
  const {
187
180
  elementType: n,
188
181
  externalSlotProps: o,
189
182
  ownerState: r,
190
183
  skipResolvingSlotProps: i = !1,
191
184
  ...s
192
- } = t, a = i ? {} : vt(o, r), {
185
+ } = t, a = i ? {} : gt(o, r), {
193
186
  props: l,
194
187
  internalRef: c
195
- } = gt({
188
+ } = Et({
196
189
  ...s,
197
190
  externalSlotProps: a
198
- }), d = X(c, a == null ? void 0 : a.ref, (g = t.additionalProps) == null ? void 0 : g.ref);
199
- return Et(n, {
191
+ }), d = X(c, a == null ? void 0 : a.ref, (v = t.additionalProps) == null ? void 0 : v.ref);
192
+ return mt(n, {
200
193
  ...l,
201
194
  ref: d
202
195
  }, r);
203
196
  }
204
- function we(t) {
197
+ function Se(t) {
205
198
  var n;
206
199
  return parseInt(p.version, 10) >= 19 ? ((n = t == null ? void 0 : t.props) == null ? void 0 : n.ref) || null : (t == null ? void 0 : t.ref) || null;
207
200
  }
208
- const Qt = (t) => {
209
- var r;
210
- const n = {
211
- systemProps: {},
212
- otherProps: {}
213
- }, o = ((r = t == null ? void 0 : t.theme) == null ? void 0 : r.unstable_sxConfig) ?? Ft;
214
- return Object.keys(t).forEach((i) => {
215
- o[i] ? n.systemProps[i] = t[i] : n.otherProps[i] = t[i];
216
- }), n;
217
- };
218
- function en(t) {
219
- const {
220
- sx: n,
221
- ...o
222
- } = t, {
223
- systemProps: r,
224
- otherProps: i
225
- } = Qt(o);
226
- let s;
227
- return Array.isArray(n) ? s = [r, ...n] : typeof n == "function" ? s = (...a) => {
228
- const l = n(...a);
229
- return At(l) ? {
230
- ...r,
231
- ...l
232
- } : r;
233
- } : s = {
234
- ...r,
235
- ...n
236
- }, {
237
- ...i,
238
- sx: s
239
- };
240
- }
241
- function tn(t) {
242
- return t == null || Object.keys(t).length === 0;
243
- }
244
- function Tt(t) {
245
- const {
246
- styles: n,
247
- defaultTheme: o = {}
248
- } = t;
249
- return /* @__PURE__ */ I($t, {
250
- styles: typeof n == "function" ? (i) => n(tn(i) ? o : i) : n
251
- });
252
- }
253
- process.env.NODE_ENV !== "production" && (Tt.propTypes = {
254
- defaultTheme: e.object,
255
- styles: e.oneOfType([e.array, e.string, e.object, e.func])
256
- });
257
- function nn(t) {
258
- return Object.keys(t).length === 0;
259
- }
260
- function on(t = null) {
261
- const n = p.useContext(Wt);
262
- return !n || nn(n) ? t : n;
263
- }
264
- const rn = Vt();
265
- function xt(t = rn) {
266
- return on(t);
267
- }
268
- function Rt({
269
- styles: t,
270
- themeId: n,
271
- defaultTheme: o = {}
272
- }) {
273
- const r = xt(o), i = typeof t == "function" ? t(n && r[n] || r) : t;
274
- return /* @__PURE__ */ I(Tt, {
275
- styles: i
276
- });
277
- }
278
- process.env.NODE_ENV !== "production" && (Rt.propTypes = {
279
- // ┌────────────────────────────── Warning ──────────────────────────────┐
280
- // │ These PropTypes are generated from the TypeScript type definitions. │
281
- // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
282
- // └─────────────────────────────────────────────────────────────────────┘
283
- /**
284
- * @ignore
285
- */
286
- defaultTheme: e.object,
287
- /**
288
- * @ignore
289
- */
290
- styles: e.oneOfType([e.array, e.func, e.number, e.object, e.string, e.bool]),
291
- /**
292
- * @ignore
293
- */
294
- themeId: e.string
295
- });
296
- const sn = /* @__PURE__ */ p.createContext();
201
+ const zt = /* @__PURE__ */ p.createContext();
297
202
  process.env.NODE_ENV !== "production" && (e.node, e.bool);
298
- const an = () => p.useContext(sn) ?? !1;
203
+ const Wt = () => p.useContext(zt) ?? !1;
299
204
  function Ue() {
300
- const t = xt(at);
301
- return process.env.NODE_ENV !== "production" && p.useDebugValue(t), t[it] || t;
302
- }
303
- function Pt(t) {
304
- return /* @__PURE__ */ I(Rt, {
305
- ...t,
306
- defaultTheme: at,
307
- themeId: it
308
- });
309
- }
310
- process.env.NODE_ENV !== "production" && (Pt.propTypes = {
311
- // ┌────────────────────────────── Warning ──────────────────────────────┐
312
- // │ These PropTypes are generated from the TypeScript type definitions. │
313
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
314
- // └─────────────────────────────────────────────────────────────────────┘
315
- /**
316
- * The styles you want to apply globally.
317
- */
318
- styles: e.oneOfType([e.array, e.func, e.number, e.object, e.string, e.bool])
319
- });
320
- function ao(t) {
321
- return function(o) {
322
- return (
323
- // Pigment CSS `globalCss` support callback with theme inside an object but `GlobalStyles` support theme as a callback value.
324
- /* @__PURE__ */ I(Pt, {
325
- styles: typeof t == "function" ? (r) => t({
326
- theme: r,
327
- ...o
328
- }) : t
329
- })
330
- );
331
- };
332
- }
333
- function lo() {
334
- return en;
205
+ const t = $t(Mt);
206
+ return process.env.NODE_ENV !== "production" && p.useDebugValue(t), t[St] || t;
335
207
  }
336
208
  const Qe = {
337
209
  disabled: !1
338
210
  };
339
- var ln = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
211
+ var Gt = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
340
212
  enter: e.number,
341
213
  exit: e.number,
342
214
  appear: e.number
@@ -353,10 +225,10 @@ process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
353
225
  exitDone: e.string,
354
226
  exitActive: e.string
355
227
  })]);
356
- var cn = function(n) {
228
+ var Xt = function(n) {
357
229
  return n.scrollTop;
358
- }, me = "unmounted", Q = "exited", ee = "entering", se = "entered", Ve = "exiting", Y = /* @__PURE__ */ function(t) {
359
- Ut(n, t);
230
+ }, me = "unmounted", Q = "exited", ee = "entering", se = "entered", $e = "exiting", Y = /* @__PURE__ */ function(t) {
231
+ It(n, t);
360
232
  function n(r, i) {
361
233
  var s;
362
234
  s = t.call(this, r, i) || this;
@@ -378,7 +250,7 @@ var cn = function(n) {
378
250
  var s = null;
379
251
  if (i !== this.props) {
380
252
  var a = this.state.status;
381
- this.props.in ? a !== ee && a !== se && (s = ee) : (a === ee || a === se) && (s = Ve);
253
+ this.props.in ? a !== ee && a !== se && (s = ee) : (a === ee || a === se) && (s = $e);
382
254
  }
383
255
  this.updateStatus(!1, s);
384
256
  }, o.componentWillUnmount = function() {
@@ -395,7 +267,7 @@ var cn = function(n) {
395
267
  if (this.cancelNextCallback(), s === ee) {
396
268
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
397
269
  var a = this.props.nodeRef ? this.props.nodeRef.current : Te.findDOMNode(this);
398
- a && cn(a);
270
+ a && Xt(a);
399
271
  }
400
272
  this.performEnter(i);
401
273
  } else
@@ -404,7 +276,7 @@ var cn = function(n) {
404
276
  status: me
405
277
  });
406
278
  }, o.performEnter = function(i) {
407
- var s = this, a = this.props.enter, l = this.context ? this.context.isMounting : i, c = this.props.nodeRef ? [l] : [Te.findDOMNode(this), l], d = c[0], y = c[1], g = this.getTimeouts(), x = l ? g.appear : g.enter;
279
+ var s = this, a = this.props.enter, l = this.context ? this.context.isMounting : i, c = this.props.nodeRef ? [l] : [Te.findDOMNode(this), l], d = c[0], g = c[1], v = this.getTimeouts(), x = l ? v.appear : v.enter;
408
280
  if (!i && !a || Qe.disabled) {
409
281
  this.safeSetState({
410
282
  status: se
@@ -413,14 +285,14 @@ var cn = function(n) {
413
285
  });
414
286
  return;
415
287
  }
416
- this.props.onEnter(d, y), this.safeSetState({
288
+ this.props.onEnter(d, g), this.safeSetState({
417
289
  status: ee
418
290
  }, function() {
419
- s.props.onEntering(d, y), s.onTransitionEnd(x, function() {
291
+ s.props.onEntering(d, g), s.onTransitionEnd(x, function() {
420
292
  s.safeSetState({
421
293
  status: se
422
294
  }, function() {
423
- s.props.onEntered(d, y);
295
+ s.props.onEntered(d, g);
424
296
  });
425
297
  });
426
298
  });
@@ -435,7 +307,7 @@ var cn = function(n) {
435
307
  return;
436
308
  }
437
309
  this.props.onExit(l), this.safeSetState({
438
- status: Ve
310
+ status: $e
439
311
  }, function() {
440
312
  i.props.onExiting(l), i.onTransitionEnd(a.exit, function() {
441
313
  i.safeSetState({
@@ -464,8 +336,8 @@ var cn = function(n) {
464
336
  return;
465
337
  }
466
338
  if (this.props.addEndListener) {
467
- var c = this.props.nodeRef ? [this.nextCallback] : [a, this.nextCallback], d = c[0], y = c[1];
468
- this.props.addEndListener(d, y);
339
+ var c = this.props.nodeRef ? [this.nextCallback] : [a, this.nextCallback], d = c[0], g = c[1];
340
+ this.props.addEndListener(d, g);
469
341
  }
470
342
  i != null && setTimeout(this.nextCallback, i);
471
343
  }, o.render = function() {
@@ -474,16 +346,16 @@ var cn = function(n) {
474
346
  return null;
475
347
  var s = this.props, a = s.children;
476
348
  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;
477
- var l = qt(s, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
349
+ var l = Lt(s, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
478
350
  return (
479
351
  // allows for nested Transitions
480
- /* @__PURE__ */ ve.createElement(ct.Provider, {
352
+ /* @__PURE__ */ ye.createElement(at.Provider, {
481
353
  value: null
482
- }, typeof a == "function" ? a(i, l) : ve.cloneElement(ve.Children.only(a), l))
354
+ }, typeof a == "function" ? a(i, l) : ye.cloneElement(ye.Children.only(a), l))
483
355
  );
484
356
  }, n;
485
- }(ve.Component);
486
- Y.contextType = ct;
357
+ }(ye.Component);
358
+ Y.contextType = at;
487
359
  Y.propTypes = process.env.NODE_ENV !== "production" ? {
488
360
  /**
489
361
  * A React reference to DOM element that need to transition:
@@ -580,7 +452,7 @@ Y.propTypes = process.env.NODE_ENV !== "production" ? {
580
452
  * @type {number | { enter?: number, exit?: number, appear?: number }}
581
453
  */
582
454
  timeout: function(n) {
583
- var o = ln;
455
+ var o = Gt;
584
456
  n.addEndListener || (o = o.isRequired);
585
457
  for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
586
458
  i[s - 1] = arguments[s];
@@ -673,17 +545,12 @@ Y.UNMOUNTED = me;
673
545
  Y.EXITED = Q;
674
546
  Y.ENTERING = ee;
675
547
  Y.ENTERED = se;
676
- Y.EXITING = Ve;
677
- function un(t) {
678
- return typeof t == "string";
679
- }
680
- const Ot = /* @__PURE__ */ p.createContext({});
681
- process.env.NODE_ENV !== "production" && (Ot.displayName = "ListContext");
682
- function pn(t) {
548
+ Y.EXITING = $e;
549
+ function Yt(t) {
683
550
  return le("MuiList", t);
684
551
  }
685
552
  ae("MuiList", ["root", "padding", "dense", "subheader"]);
686
- const dn = (t) => {
553
+ const Zt = (t) => {
687
554
  const {
688
555
  classes: n,
689
556
  disablePadding: o,
@@ -692,8 +559,8 @@ const dn = (t) => {
692
559
  } = t;
693
560
  return ue({
694
561
  root: ["root", !o && "padding", r && "dense", i && "subheader"]
695
- }, pn, n);
696
- }, fn = G("ul", {
562
+ }, Yt, n);
563
+ }, Jt = G("ul", {
697
564
  name: "MuiList",
698
565
  slot: "Root",
699
566
  overridesResolver: (t, n) => {
@@ -723,7 +590,7 @@ const dn = (t) => {
723
590
  paddingTop: 0
724
591
  }
725
592
  }]
726
- }), Nt = /* @__PURE__ */ p.forwardRef(function(n, o) {
593
+ }), vt = /* @__PURE__ */ p.forwardRef(function(n, o) {
727
594
  const r = ce({
728
595
  props: n,
729
596
  name: "MuiList"
@@ -734,28 +601,28 @@ const dn = (t) => {
734
601
  dense: l = !1,
735
602
  disablePadding: c = !1,
736
603
  subheader: d,
737
- ...y
738
- } = r, g = p.useMemo(() => ({
604
+ ...g
605
+ } = r, v = p.useMemo(() => ({
739
606
  dense: l
740
607
  }), [l]), x = {
741
608
  ...r,
742
609
  component: a,
743
610
  dense: l,
744
611
  disablePadding: c
745
- }, f = dn(x);
746
- return /* @__PURE__ */ I(Ot.Provider, {
747
- value: g,
748
- children: /* @__PURE__ */ $e(fn, {
612
+ }, f = Zt(x);
613
+ return /* @__PURE__ */ A(_t.Provider, {
614
+ value: v,
615
+ children: /* @__PURE__ */ _e(Jt, {
749
616
  as: a,
750
- className: W(f.root, s),
617
+ className: z(f.root, s),
751
618
  ref: o,
752
619
  ownerState: x,
753
- ...y,
620
+ ...g,
754
621
  children: [d, i]
755
622
  })
756
623
  });
757
624
  });
758
- process.env.NODE_ENV !== "production" && (Nt.propTypes = {
625
+ process.env.NODE_ENV !== "production" && (vt.propTypes = {
759
626
  // ┌────────────────────────────── Warning ──────────────────────────────┐
760
627
  // │ These PropTypes are generated from the TypeScript type definitions. │
761
628
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -804,7 +671,7 @@ function Ie(t, n, o) {
804
671
  function et(t, n, o) {
805
672
  return t === n ? o ? t.firstChild : t.lastChild : n && n.previousElementSibling ? n.previousElementSibling : o ? null : t.lastChild;
806
673
  }
807
- function St(t, n) {
674
+ function yt(t, n) {
808
675
  if (n === void 0)
809
676
  return !0;
810
677
  let o = t.innerText;
@@ -819,14 +686,14 @@ function he(t, n, o, r, i, s) {
819
686
  a = !0;
820
687
  }
821
688
  const c = r ? !1 : l.disabled || l.getAttribute("aria-disabled") === "true";
822
- if (!l.hasAttribute("tabindex") || !St(l, s) || c)
689
+ if (!l.hasAttribute("tabindex") || !yt(l, s) || c)
823
690
  l = i(t, l, o);
824
691
  else
825
692
  return l.focus(), !0;
826
693
  }
827
694
  return !1;
828
695
  }
829
- const Ct = /* @__PURE__ */ p.forwardRef(function(n, o) {
696
+ const Tt = /* @__PURE__ */ p.forwardRef(function(n, o) {
830
697
  const {
831
698
  // private
832
699
  // eslint-disable-next-line react/prop-types
@@ -837,8 +704,8 @@ const Ct = /* @__PURE__ */ p.forwardRef(function(n, o) {
837
704
  className: l,
838
705
  disabledItemsFocusable: c = !1,
839
706
  disableListWrap: d = !1,
840
- onKeyDown: y,
841
- variant: g = "selectedMenu",
707
+ onKeyDown: g,
708
+ variant: v = "selectedMenu",
842
709
  ...x
843
710
  } = n, f = p.useRef(null), b = p.useRef({
844
711
  keys: [],
@@ -846,70 +713,70 @@ const Ct = /* @__PURE__ */ p.forwardRef(function(n, o) {
846
713
  previousKeyMatched: !0,
847
714
  lastTime: null
848
715
  });
849
- Fe(() => {
716
+ je(() => {
850
717
  i && f.current.focus();
851
718
  }, [i]), p.useImperativeHandle(r, () => ({
852
719
  adjustStyleForScrollbar: (u, {
853
720
  direction: m
854
721
  }) => {
855
- const v = !f.current.style.width;
856
- if (u.clientHeight < f.current.clientHeight && v) {
857
- const N = `${ft(te(u))}px`;
858
- f.current.style[m === "rtl" ? "paddingLeft" : "paddingRight"] = N, f.current.style.width = `calc(100% + ${N})`;
722
+ const y = !f.current.style.width;
723
+ if (u.clientHeight < f.current.clientHeight && y) {
724
+ const O = `${pt(te(u))}px`;
725
+ f.current.style[m === "rtl" ? "paddingLeft" : "paddingRight"] = O, f.current.style.width = `calc(100% + ${O})`;
859
726
  }
860
727
  return f.current;
861
728
  }
862
729
  }), []);
863
- const O = (u) => {
864
- const m = f.current, v = u.key;
730
+ const N = (u) => {
731
+ const m = f.current, y = u.key;
865
732
  if (u.ctrlKey || u.metaKey || u.altKey) {
866
- y && y(u);
733
+ g && g(u);
867
734
  return;
868
735
  }
869
- const R = z(m).activeElement;
870
- if (v === "ArrowDown")
736
+ const R = W(m).activeElement;
737
+ if (y === "ArrowDown")
871
738
  u.preventDefault(), he(m, R, d, c, Ie);
872
- else if (v === "ArrowUp")
739
+ else if (y === "ArrowUp")
873
740
  u.preventDefault(), he(m, R, d, c, et);
874
- else if (v === "Home")
741
+ else if (y === "Home")
875
742
  u.preventDefault(), he(m, null, d, c, Ie);
876
- else if (v === "End")
743
+ else if (y === "End")
877
744
  u.preventDefault(), he(m, null, d, c, et);
878
- else if (v.length === 1) {
879
- const P = b.current, w = v.toLowerCase(), F = performance.now();
880
- P.keys.length > 0 && (F - P.lastTime > 500 ? (P.keys = [], P.repeating = !0, P.previousKeyMatched = !0) : P.repeating && w !== P.keys[0] && (P.repeating = !1)), P.lastTime = F, P.keys.push(w);
881
- const A = R && !P.repeating && St(R, P);
882
- P.previousKeyMatched && (A || he(m, R, !1, c, Ie, P)) ? u.preventDefault() : P.previousKeyMatched = !1;
745
+ else if (y.length === 1) {
746
+ const P = b.current, S = y.toLowerCase(), F = performance.now();
747
+ P.keys.length > 0 && (F - P.lastTime > 500 ? (P.keys = [], P.repeating = !0, P.previousKeyMatched = !0) : P.repeating && S !== P.keys[0] && (P.repeating = !1)), P.lastTime = F, P.keys.push(S);
748
+ const j = R && !P.repeating && yt(R, P);
749
+ P.previousKeyMatched && (j || he(m, R, !1, c, Ie, P)) ? u.preventDefault() : P.previousKeyMatched = !1;
883
750
  }
884
- y && y(u);
885
- }, S = X(f, o);
751
+ g && g(u);
752
+ }, w = X(f, o);
886
753
  let T = -1;
887
754
  p.Children.forEach(a, (u, m) => {
888
755
  if (!/* @__PURE__ */ p.isValidElement(u)) {
889
756
  T === m && (T += 1, T >= a.length && (T = -1));
890
757
  return;
891
758
  }
892
- process.env.NODE_ENV !== "production" && lt.isFragment(u) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
893
- `)), u.props.disabled || (g === "selectedMenu" && u.props.selected || T === -1) && (T = m), T === m && (u.props.disabled || u.props.muiSkipListHighlight || u.type.muiSkipListHighlight) && (T += 1, T >= a.length && (T = -1));
759
+ process.env.NODE_ENV !== "production" && it.isFragment(u) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
760
+ `)), u.props.disabled || (v === "selectedMenu" && u.props.selected || T === -1) && (T = m), T === m && (u.props.disabled || u.props.muiSkipListHighlight || u.type.muiSkipListHighlight) && (T += 1, T >= a.length && (T = -1));
894
761
  });
895
762
  const C = p.Children.map(a, (u, m) => {
896
763
  if (m === T) {
897
- const v = {};
898
- return s && (v.autoFocus = !0), u.props.tabIndex === void 0 && g === "selectedMenu" && (v.tabIndex = 0), /* @__PURE__ */ p.cloneElement(u, v);
764
+ const y = {};
765
+ return s && (y.autoFocus = !0), u.props.tabIndex === void 0 && v === "selectedMenu" && (y.tabIndex = 0), /* @__PURE__ */ p.cloneElement(u, y);
899
766
  }
900
767
  return u;
901
768
  });
902
- return /* @__PURE__ */ I(Nt, {
769
+ return /* @__PURE__ */ A(vt, {
903
770
  role: "menu",
904
- ref: S,
771
+ ref: w,
905
772
  className: l,
906
- onKeyDown: O,
773
+ onKeyDown: N,
907
774
  tabIndex: i ? 0 : -1,
908
775
  ...x,
909
776
  children: C
910
777
  });
911
778
  });
912
- process.env.NODE_ENV !== "production" && (Ct.propTypes = {
779
+ process.env.NODE_ENV !== "production" && (Tt.propTypes = {
913
780
  // ┌────────────────────────────── Warning ──────────────────────────────┐
914
781
  // │ These PropTypes are generated from the TypeScript type definitions. │
915
782
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -954,7 +821,7 @@ process.env.NODE_ENV !== "production" && (Ct.propTypes = {
954
821
  */
955
822
  variant: e.oneOf(["menu", "selectedMenu"])
956
823
  });
957
- const wt = (t) => t.scrollTop;
824
+ const xt = (t) => t.scrollTop;
958
825
  function Pe(t, n) {
959
826
  const {
960
827
  timeout: o,
@@ -967,19 +834,19 @@ function Pe(t, n) {
967
834
  delay: i.transitionDelay
968
835
  };
969
836
  }
970
- function _e(t) {
837
+ function Ve(t) {
971
838
  return `scale(${t}, ${t ** 2})`;
972
839
  }
973
- const hn = {
840
+ const Qt = {
974
841
  entering: {
975
842
  opacity: 1,
976
- transform: _e(1)
843
+ transform: Ve(1)
977
844
  },
978
845
  entered: {
979
846
  opacity: 1,
980
847
  transform: "none"
981
848
  }
982
- }, je = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), Oe = /* @__PURE__ */ p.forwardRef(function(n, o) {
849
+ }, Le = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), Ne = /* @__PURE__ */ p.forwardRef(function(n, o) {
983
850
  const {
984
851
  addEndListener: r,
985
852
  appear: i = !0,
@@ -988,94 +855,94 @@ const hn = {
988
855
  in: l,
989
856
  onEnter: c,
990
857
  onEntered: d,
991
- onEntering: y,
992
- onExit: g,
858
+ onEntering: g,
859
+ onExit: v,
993
860
  onExited: x,
994
861
  onExiting: f,
995
862
  style: b,
996
- timeout: O = "auto",
863
+ timeout: N = "auto",
997
864
  // eslint-disable-next-line react/prop-types
998
- TransitionComponent: S = Y,
865
+ TransitionComponent: w = Y,
999
866
  ...T
1000
- } = n, C = Ht(), u = p.useRef(), m = Ue(), v = p.useRef(null), N = X(v, we(s), o), R = (h) => (E) => {
867
+ } = n, C = Ft(), u = p.useRef(), m = Ue(), y = p.useRef(null), O = X(y, Se(s), o), R = (h) => (E) => {
1001
868
  if (h) {
1002
- const M = v.current;
869
+ const M = y.current;
1003
870
  E === void 0 ? h(M) : h(M, E);
1004
871
  }
1005
- }, P = R(y), w = R((h, E) => {
1006
- wt(h);
872
+ }, P = R(g), S = R((h, E) => {
873
+ xt(h);
1007
874
  const {
1008
875
  duration: M,
1009
- delay: V,
1010
- easing: $
876
+ delay: $,
877
+ easing: _
1011
878
  } = Pe({
1012
879
  style: b,
1013
- timeout: O,
880
+ timeout: N,
1014
881
  easing: a
1015
882
  }, {
1016
883
  mode: "enter"
1017
884
  });
1018
885
  let K;
1019
- O === "auto" ? (K = m.transitions.getAutoHeightDuration(h.clientHeight), u.current = K) : K = M, h.style.transition = [m.transitions.create("opacity", {
886
+ N === "auto" ? (K = m.transitions.getAutoHeightDuration(h.clientHeight), u.current = K) : K = M, h.style.transition = [m.transitions.create("opacity", {
1020
887
  duration: K,
1021
- delay: V
888
+ delay: $
1022
889
  }), m.transitions.create("transform", {
1023
- duration: je ? K : K * 0.666,
1024
- delay: V,
1025
- easing: $
890
+ duration: Le ? K : K * 0.666,
891
+ delay: $,
892
+ easing: _
1026
893
  })].join(","), c && c(h, E);
1027
- }), F = R(d), A = R(f), _ = R((h) => {
894
+ }), F = R(d), j = R(f), V = R((h) => {
1028
895
  const {
1029
896
  duration: E,
1030
897
  delay: M,
1031
- easing: V
898
+ easing: $
1032
899
  } = Pe({
1033
900
  style: b,
1034
- timeout: O,
901
+ timeout: N,
1035
902
  easing: a
1036
903
  }, {
1037
904
  mode: "exit"
1038
905
  });
1039
- let $;
1040
- O === "auto" ? ($ = m.transitions.getAutoHeightDuration(h.clientHeight), u.current = $) : $ = E, h.style.transition = [m.transitions.create("opacity", {
1041
- duration: $,
906
+ let _;
907
+ N === "auto" ? (_ = m.transitions.getAutoHeightDuration(h.clientHeight), u.current = _) : _ = E, h.style.transition = [m.transitions.create("opacity", {
908
+ duration: _,
1042
909
  delay: M
1043
910
  }), m.transitions.create("transform", {
1044
- duration: je ? $ : $ * 0.666,
1045
- delay: je ? M : M || $ * 0.333,
1046
- easing: V
1047
- })].join(","), h.style.opacity = 0, h.style.transform = _e(0.75), g && g(h);
911
+ duration: Le ? _ : _ * 0.666,
912
+ delay: Le ? M : M || _ * 0.333,
913
+ easing: $
914
+ })].join(","), h.style.opacity = 0, h.style.transform = Ve(0.75), v && v(h);
1048
915
  }), U = R(x);
1049
- return /* @__PURE__ */ I(S, {
916
+ return /* @__PURE__ */ A(w, {
1050
917
  appear: i,
1051
918
  in: l,
1052
- nodeRef: v,
1053
- onEnter: w,
919
+ nodeRef: y,
920
+ onEnter: S,
1054
921
  onEntered: F,
1055
922
  onEntering: P,
1056
- onExit: _,
923
+ onExit: V,
1057
924
  onExited: U,
1058
- onExiting: A,
925
+ onExiting: j,
1059
926
  addEndListener: (h) => {
1060
- O === "auto" && C.start(u.current || 0, h), r && r(v.current, h);
927
+ N === "auto" && C.start(u.current || 0, h), r && r(y.current, h);
1061
928
  },
1062
- timeout: O === "auto" ? null : O,
929
+ timeout: N === "auto" ? null : N,
1063
930
  ...T,
1064
931
  children: (h, E) => /* @__PURE__ */ p.cloneElement(s, {
1065
932
  style: {
1066
933
  opacity: 0,
1067
- transform: _e(0.75),
934
+ transform: Ve(0.75),
1068
935
  visibility: h === "exited" && !l ? "hidden" : void 0,
1069
- ...hn[h],
936
+ ...Qt[h],
1070
937
  ...b,
1071
938
  ...s.props.style
1072
939
  },
1073
- ref: N,
940
+ ref: O,
1074
941
  ...E
1075
942
  })
1076
943
  });
1077
944
  });
1078
- process.env.NODE_ENV !== "production" && (Oe.propTypes = {
945
+ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
1079
946
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1080
947
  // │ These PropTypes are generated from the TypeScript type definitions. │
1081
948
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1095,7 +962,7 @@ process.env.NODE_ENV !== "production" && (Oe.propTypes = {
1095
962
  /**
1096
963
  * A single child content element.
1097
964
  */
1098
- children: ye.isRequired,
965
+ children: ge.isRequired,
1099
966
  /**
1100
967
  * The transition timing function.
1101
968
  * You may specify a single easing or a object containing enter and exit values.
@@ -1149,9 +1016,9 @@ process.env.NODE_ENV !== "production" && (Oe.propTypes = {
1149
1016
  exit: e.number
1150
1017
  })])
1151
1018
  });
1152
- Oe && (Oe.muiSupportAuto = !0);
1153
- function mn(t) {
1154
- const n = z(t);
1019
+ Ne && (Ne.muiSupportAuto = !0);
1020
+ function en(t) {
1021
+ const n = W(t);
1155
1022
  return n.body === t ? te(t).innerWidth > n.documentElement.clientWidth : t.scrollHeight > t.clientHeight;
1156
1023
  }
1157
1024
  function be(t, n) {
@@ -1160,32 +1027,32 @@ function be(t, n) {
1160
1027
  function tt(t) {
1161
1028
  return parseInt(te(t).getComputedStyle(t).paddingRight, 10) || 0;
1162
1029
  }
1163
- function bn(t) {
1030
+ function tn(t) {
1164
1031
  const o = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].includes(t.tagName), r = t.tagName === "INPUT" && t.getAttribute("type") === "hidden";
1165
1032
  return o || r;
1166
1033
  }
1167
1034
  function nt(t, n, o, r, i) {
1168
1035
  const s = [n, o, ...r];
1169
1036
  [].forEach.call(t.children, (a) => {
1170
- const l = !s.includes(a), c = !bn(a);
1037
+ const l = !s.includes(a), c = !tn(a);
1171
1038
  l && c && be(a, i);
1172
1039
  });
1173
1040
  }
1174
- function Le(t, n) {
1041
+ function Fe(t, n) {
1175
1042
  let o = -1;
1176
1043
  return t.some((r, i) => n(r) ? (o = i, !0) : !1), o;
1177
1044
  }
1178
- function En(t, n) {
1045
+ function nn(t, n) {
1179
1046
  const o = [], r = t.container;
1180
1047
  if (!n.disableScrollLock) {
1181
- if (mn(r)) {
1182
- const a = ft(te(r));
1048
+ if (en(r)) {
1049
+ const a = pt(te(r));
1183
1050
  o.push({
1184
1051
  value: r.style.paddingRight,
1185
1052
  property: "padding-right",
1186
1053
  el: r
1187
1054
  }), r.style.paddingRight = `${tt(r) + a}px`;
1188
- const l = z(r).querySelectorAll(".mui-fixed");
1055
+ const l = W(r).querySelectorAll(".mui-fixed");
1189
1056
  [].forEach.call(l, (c) => {
1190
1057
  o.push({
1191
1058
  value: c.style.paddingRight,
@@ -1196,7 +1063,7 @@ function En(t, n) {
1196
1063
  }
1197
1064
  let s;
1198
1065
  if (r.parentNode instanceof DocumentFragment)
1199
- s = z(r).body;
1066
+ s = W(r).body;
1200
1067
  else {
1201
1068
  const a = r.parentElement, l = te(r);
1202
1069
  s = (a == null ? void 0 : a.nodeName) === "HTML" && l.getComputedStyle(a).overflowY === "scroll" ? a : r;
@@ -1225,13 +1092,13 @@ function En(t, n) {
1225
1092
  });
1226
1093
  };
1227
1094
  }
1228
- function yn(t) {
1095
+ function on(t) {
1229
1096
  const n = [];
1230
1097
  return [].forEach.call(t.children, (o) => {
1231
1098
  o.getAttribute("aria-hidden") === "true" && n.push(o);
1232
1099
  }), n;
1233
1100
  }
1234
- class gn {
1101
+ class rn {
1235
1102
  constructor() {
1236
1103
  this.modals = [], this.containers = [];
1237
1104
  }
@@ -1240,9 +1107,9 @@ class gn {
1240
1107
  if (r !== -1)
1241
1108
  return r;
1242
1109
  r = this.modals.length, this.modals.push(n), n.modalRef && be(n.modalRef, !1);
1243
- const i = yn(o);
1110
+ const i = on(o);
1244
1111
  nt(o, n.mount, n.modalRef, i, !0);
1245
- const s = Le(this.containers, (a) => a.container === o);
1112
+ const s = Fe(this.containers, (a) => a.container === o);
1246
1113
  return s !== -1 ? (this.containers[s].modals.push(n), r) : (this.containers.push({
1247
1114
  modals: [n],
1248
1115
  container: o,
@@ -1251,14 +1118,14 @@ class gn {
1251
1118
  }), r);
1252
1119
  }
1253
1120
  mount(n, o) {
1254
- const r = Le(this.containers, (s) => s.modals.includes(n)), i = this.containers[r];
1255
- i.restore || (i.restore = En(i, o));
1121
+ const r = Fe(this.containers, (s) => s.modals.includes(n)), i = this.containers[r];
1122
+ i.restore || (i.restore = nn(i, o));
1256
1123
  }
1257
1124
  remove(n, o = !0) {
1258
1125
  const r = this.modals.indexOf(n);
1259
1126
  if (r === -1)
1260
1127
  return r;
1261
- const i = Le(this.containers, (a) => a.modals.includes(n)), s = this.containers[i];
1128
+ const i = Fe(this.containers, (a) => a.modals.includes(n)), s = this.containers[i];
1262
1129
  if (s.modals.splice(s.modals.indexOf(n), 1), this.modals.splice(r, 1), s.modals.length === 0)
1263
1130
  s.restore && s.restore(), n.modalRef && be(n.modalRef, o), nt(s.container, n.mount, n.modalRef, s.hiddenSiblings, !1), this.containers.splice(i, 1);
1264
1131
  else {
@@ -1271,62 +1138,62 @@ class gn {
1271
1138
  return this.modals.length > 0 && this.modals[this.modals.length - 1] === n;
1272
1139
  }
1273
1140
  }
1274
- const vn = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
1275
- function Tn(t) {
1141
+ const sn = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
1142
+ function an(t) {
1276
1143
  const n = parseInt(t.getAttribute("tabindex") || "", 10);
1277
1144
  return Number.isNaN(n) ? t.contentEditable === "true" || (t.nodeName === "AUDIO" || t.nodeName === "VIDEO" || t.nodeName === "DETAILS") && t.getAttribute("tabindex") === null ? 0 : t.tabIndex : n;
1278
1145
  }
1279
- function xn(t) {
1146
+ function ln(t) {
1280
1147
  if (t.tagName !== "INPUT" || t.type !== "radio" || !t.name)
1281
1148
  return !1;
1282
1149
  const n = (r) => t.ownerDocument.querySelector(`input[type="radio"]${r}`);
1283
1150
  let o = n(`[name="${t.name}"]:checked`);
1284
1151
  return o || (o = n(`[name="${t.name}"]`)), o !== t;
1285
1152
  }
1286
- function Rn(t) {
1287
- return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" || xn(t));
1153
+ function cn(t) {
1154
+ return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" || ln(t));
1288
1155
  }
1289
- function Pn(t) {
1156
+ function un(t) {
1290
1157
  const n = [], o = [];
1291
- return Array.from(t.querySelectorAll(vn)).forEach((r, i) => {
1292
- const s = Tn(r);
1293
- s === -1 || !Rn(r) || (s === 0 ? n.push(r) : o.push({
1158
+ return Array.from(t.querySelectorAll(sn)).forEach((r, i) => {
1159
+ const s = an(r);
1160
+ s === -1 || !cn(r) || (s === 0 ? n.push(r) : o.push({
1294
1161
  documentOrder: i,
1295
1162
  tabIndex: s,
1296
1163
  node: r
1297
1164
  }));
1298
1165
  }), o.sort((r, i) => r.tabIndex === i.tabIndex ? r.documentOrder - i.documentOrder : r.tabIndex - i.tabIndex).map((r) => r.node).concat(n);
1299
1166
  }
1300
- function On() {
1167
+ function pn() {
1301
1168
  return !0;
1302
1169
  }
1303
- function Ne(t) {
1170
+ function Oe(t) {
1304
1171
  const {
1305
1172
  children: n,
1306
1173
  disableAutoFocus: o = !1,
1307
1174
  disableEnforceFocus: r = !1,
1308
1175
  disableRestoreFocus: i = !1,
1309
- getTabbable: s = Pn,
1310
- isEnabled: a = On,
1176
+ getTabbable: s = un,
1177
+ isEnabled: a = pn,
1311
1178
  open: l
1312
- } = t, c = p.useRef(!1), d = p.useRef(null), y = p.useRef(null), g = p.useRef(null), x = p.useRef(null), f = p.useRef(!1), b = p.useRef(null), O = X(we(n), b), S = p.useRef(null);
1179
+ } = t, c = p.useRef(!1), d = p.useRef(null), g = p.useRef(null), v = p.useRef(null), x = p.useRef(null), f = p.useRef(!1), b = p.useRef(null), N = X(Se(n), b), w = p.useRef(null);
1313
1180
  p.useEffect(() => {
1314
1181
  !l || !b.current || (f.current = !o);
1315
1182
  }, [o, l]), p.useEffect(() => {
1316
1183
  if (!l || !b.current)
1317
1184
  return;
1318
- const u = z(b.current);
1185
+ const u = W(b.current);
1319
1186
  return b.current.contains(u.activeElement) || (b.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(`
1320
1187
  `)), b.current.setAttribute("tabIndex", "-1")), f.current && b.current.focus()), () => {
1321
- i || (g.current && g.current.focus && (c.current = !0, g.current.focus()), g.current = null);
1188
+ i || (v.current && v.current.focus && (c.current = !0, v.current.focus()), v.current = null);
1322
1189
  };
1323
1190
  }, [l]), p.useEffect(() => {
1324
1191
  if (!l || !b.current)
1325
1192
  return;
1326
- const u = z(b.current), m = (R) => {
1327
- S.current = R, !(r || !a() || R.key !== "Tab") && u.activeElement === b.current && R.shiftKey && (c.current = !0, y.current && y.current.focus());
1328
- }, v = () => {
1329
- var w, F;
1193
+ const u = W(b.current), m = (R) => {
1194
+ w.current = R, !(r || !a() || R.key !== "Tab") && u.activeElement === b.current && R.shiftKey && (c.current = !0, g.current && g.current.focus());
1195
+ }, y = () => {
1196
+ var S, F;
1330
1197
  const R = b.current;
1331
1198
  if (R === null)
1332
1199
  return;
@@ -1334,7 +1201,7 @@ function Ne(t) {
1334
1201
  c.current = !1;
1335
1202
  return;
1336
1203
  }
1337
- if (R.contains(u.activeElement) || r && u.activeElement !== d.current && u.activeElement !== y.current)
1204
+ if (R.contains(u.activeElement) || r && u.activeElement !== d.current && u.activeElement !== g.current)
1338
1205
  return;
1339
1206
  if (u.activeElement !== x.current)
1340
1207
  x.current = null;
@@ -1343,45 +1210,45 @@ function Ne(t) {
1343
1210
  if (!f.current)
1344
1211
  return;
1345
1212
  let P = [];
1346
- if ((u.activeElement === d.current || u.activeElement === y.current) && (P = s(b.current)), P.length > 0) {
1347
- const A = !!((w = S.current) != null && w.shiftKey && ((F = S.current) == null ? void 0 : F.key) === "Tab"), _ = P[0], U = P[P.length - 1];
1348
- typeof _ != "string" && typeof U != "string" && (A ? U.focus() : _.focus());
1213
+ if ((u.activeElement === d.current || u.activeElement === g.current) && (P = s(b.current)), P.length > 0) {
1214
+ const j = !!((S = w.current) != null && S.shiftKey && ((F = w.current) == null ? void 0 : F.key) === "Tab"), V = P[0], U = P[P.length - 1];
1215
+ typeof V != "string" && typeof U != "string" && (j ? U.focus() : V.focus());
1349
1216
  } else
1350
1217
  R.focus();
1351
1218
  };
1352
- u.addEventListener("focusin", v), u.addEventListener("keydown", m, !0);
1353
- const N = setInterval(() => {
1354
- u.activeElement && u.activeElement.tagName === "BODY" && v();
1219
+ u.addEventListener("focusin", y), u.addEventListener("keydown", m, !0);
1220
+ const O = setInterval(() => {
1221
+ u.activeElement && u.activeElement.tagName === "BODY" && y();
1355
1222
  }, 50);
1356
1223
  return () => {
1357
- clearInterval(N), u.removeEventListener("focusin", v), u.removeEventListener("keydown", m, !0);
1224
+ clearInterval(O), u.removeEventListener("focusin", y), u.removeEventListener("keydown", m, !0);
1358
1225
  };
1359
1226
  }, [o, r, i, a, l, s]);
1360
1227
  const T = (u) => {
1361
- g.current === null && (g.current = u.relatedTarget), f.current = !0, x.current = u.target;
1228
+ v.current === null && (v.current = u.relatedTarget), f.current = !0, x.current = u.target;
1362
1229
  const m = n.props.onFocus;
1363
1230
  m && m(u);
1364
1231
  }, C = (u) => {
1365
- g.current === null && (g.current = u.relatedTarget), f.current = !0;
1232
+ v.current === null && (v.current = u.relatedTarget), f.current = !0;
1366
1233
  };
1367
- return /* @__PURE__ */ $e(p.Fragment, {
1368
- children: [/* @__PURE__ */ I("div", {
1234
+ return /* @__PURE__ */ _e(p.Fragment, {
1235
+ children: [/* @__PURE__ */ A("div", {
1369
1236
  tabIndex: l ? 0 : -1,
1370
1237
  onFocus: C,
1371
1238
  ref: d,
1372
1239
  "data-testid": "sentinelStart"
1373
1240
  }), /* @__PURE__ */ p.cloneElement(n, {
1374
- ref: O,
1241
+ ref: N,
1375
1242
  onFocus: T
1376
- }), /* @__PURE__ */ I("div", {
1243
+ }), /* @__PURE__ */ A("div", {
1377
1244
  tabIndex: l ? 0 : -1,
1378
1245
  onFocus: C,
1379
- ref: y,
1246
+ ref: g,
1380
1247
  "data-testid": "sentinelEnd"
1381
1248
  })]
1382
1249
  });
1383
1250
  }
1384
- process.env.NODE_ENV !== "production" && (Ne.propTypes = {
1251
+ process.env.NODE_ENV !== "production" && (Oe.propTypes = {
1385
1252
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1386
1253
  // │ These PropTypes are generated from the TypeScript type definitions. │
1387
1254
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -1389,7 +1256,7 @@ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
1389
1256
  /**
1390
1257
  * A single child content element.
1391
1258
  */
1392
- children: ye,
1259
+ children: ge,
1393
1260
  /**
1394
1261
  * If `true`, the focus trap will not automatically shift focus to itself when it opens, and
1395
1262
  * replace it to the last focused element when it closes.
@@ -1435,19 +1302,19 @@ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
1435
1302
  */
1436
1303
  open: e.bool.isRequired
1437
1304
  });
1438
- process.env.NODE_ENV !== "production" && (Ne.propTypes = dt(Ne.propTypes));
1439
- function Nn(t) {
1305
+ process.env.NODE_ENV !== "production" && (Oe.propTypes = ut(Oe.propTypes));
1306
+ function dn(t) {
1440
1307
  return typeof t == "function" ? t() : t;
1441
1308
  }
1442
- const Se = /* @__PURE__ */ p.forwardRef(function(n, o) {
1309
+ const we = /* @__PURE__ */ p.forwardRef(function(n, o) {
1443
1310
  const {
1444
1311
  children: r,
1445
1312
  container: i,
1446
1313
  disablePortal: s = !1
1447
- } = n, [a, l] = p.useState(null), c = X(/* @__PURE__ */ p.isValidElement(r) ? we(r) : null, o);
1448
- if (Fe(() => {
1449
- s || l(Nn(i) || document.body);
1450
- }, [i, s]), Fe(() => {
1314
+ } = n, [a, l] = p.useState(null), c = X(/* @__PURE__ */ p.isValidElement(r) ? Se(r) : null, o);
1315
+ if (je(() => {
1316
+ s || l(dn(i) || document.body);
1317
+ }, [i, s]), je(() => {
1451
1318
  if (a && !s)
1452
1319
  return Ge(o, a), () => {
1453
1320
  Ge(o, null);
@@ -1459,15 +1326,15 @@ const Se = /* @__PURE__ */ p.forwardRef(function(n, o) {
1459
1326
  };
1460
1327
  return /* @__PURE__ */ p.cloneElement(r, d);
1461
1328
  }
1462
- return /* @__PURE__ */ I(p.Fragment, {
1329
+ return /* @__PURE__ */ A(p.Fragment, {
1463
1330
  children: r
1464
1331
  });
1465
1332
  }
1466
- return /* @__PURE__ */ I(p.Fragment, {
1467
- children: a && /* @__PURE__ */ zt.createPortal(r, a)
1333
+ return /* @__PURE__ */ A(p.Fragment, {
1334
+ children: a && /* @__PURE__ */ Vt.createPortal(r, a)
1468
1335
  });
1469
1336
  });
1470
- process.env.NODE_ENV !== "production" && (Se.propTypes = {
1337
+ process.env.NODE_ENV !== "production" && (we.propTypes = {
1471
1338
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1472
1339
  // │ These PropTypes are generated from the TypeScript type definitions. │
1473
1340
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -1493,7 +1360,7 @@ process.env.NODE_ENV !== "production" && (Se.propTypes = {
1493
1360
  */
1494
1361
  disablePortal: e.bool
1495
1362
  });
1496
- process.env.NODE_ENV !== "production" && (Se.propTypes = dt(Se.propTypes));
1363
+ process.env.NODE_ENV !== "production" && (we.propTypes = ut(we.propTypes));
1497
1364
  function ie(t, n) {
1498
1365
  const {
1499
1366
  className: o,
@@ -1505,48 +1372,48 @@ function ie(t, n) {
1505
1372
  ...c
1506
1373
  } = n, {
1507
1374
  component: d,
1508
- slots: y = {
1375
+ slots: g = {
1509
1376
  [t]: void 0
1510
1377
  },
1511
- slotProps: g = {
1378
+ slotProps: v = {
1512
1379
  [t]: void 0
1513
1380
  },
1514
1381
  ...x
1515
- } = s, f = y[t] || r, b = vt(g[t], i), {
1382
+ } = s, f = g[t] || r, b = gt(v[t], i), {
1516
1383
  props: {
1517
- component: O,
1518
- ...S
1384
+ component: N,
1385
+ ...w
1519
1386
  },
1520
1387
  internalRef: T
1521
- } = gt({
1388
+ } = Et({
1522
1389
  className: o,
1523
1390
  ...c,
1524
1391
  externalForwardedProps: t === "root" ? x : void 0,
1525
1392
  externalSlotProps: b
1526
- }), C = X(T, b == null ? void 0 : b.ref, n.ref), u = a ? a(S) : {}, m = {
1393
+ }), C = X(T, b == null ? void 0 : b.ref, n.ref), u = a ? a(w) : {}, m = {
1527
1394
  ...i,
1528
1395
  ...u
1529
- }, v = t === "root" ? O || d : O, N = Et(f, {
1530
- ...t === "root" && !d && !y[t] && l,
1531
- ...t !== "root" && !y[t] && l,
1532
- ...S,
1533
- ...v && {
1534
- as: v
1396
+ }, y = t === "root" ? N || d : N, O = mt(f, {
1397
+ ...t === "root" && !d && !g[t] && l,
1398
+ ...t !== "root" && !g[t] && l,
1399
+ ...w,
1400
+ ...y && {
1401
+ as: y
1535
1402
  },
1536
1403
  ref: C
1537
1404
  }, m);
1538
1405
  return Object.keys(u).forEach((R) => {
1539
- delete N[R];
1540
- }), [f, N];
1406
+ delete O[R];
1407
+ }), [f, O];
1541
1408
  }
1542
- const Sn = {
1409
+ const fn = {
1543
1410
  entering: {
1544
1411
  opacity: 1
1545
1412
  },
1546
1413
  entered: {
1547
1414
  opacity: 1
1548
1415
  }
1549
- }, Mt = /* @__PURE__ */ p.forwardRef(function(n, o) {
1416
+ }, Rt = /* @__PURE__ */ p.forwardRef(function(n, o) {
1550
1417
  const r = Ue(), i = {
1551
1418
  enter: r.transitions.duration.enteringScreen,
1552
1419
  exit: r.transitions.duration.leavingScreen
@@ -1556,51 +1423,51 @@ const Sn = {
1556
1423
  children: l,
1557
1424
  easing: c,
1558
1425
  in: d,
1559
- onEnter: y,
1560
- onEntered: g,
1426
+ onEnter: g,
1427
+ onEntered: v,
1561
1428
  onEntering: x,
1562
1429
  onExit: f,
1563
1430
  onExited: b,
1564
- onExiting: O,
1565
- style: S,
1431
+ onExiting: N,
1432
+ style: w,
1566
1433
  timeout: T = i,
1567
1434
  // eslint-disable-next-line react/prop-types
1568
1435
  TransitionComponent: C = Y,
1569
1436
  ...u
1570
- } = n, m = p.useRef(null), v = X(m, we(l), o), N = (k) => (h) => {
1437
+ } = n, m = p.useRef(null), y = X(m, Se(l), o), O = (k) => (h) => {
1571
1438
  if (k) {
1572
1439
  const E = m.current;
1573
1440
  h === void 0 ? k(E) : k(E, h);
1574
1441
  }
1575
- }, R = N(x), P = N((k, h) => {
1576
- wt(k);
1442
+ }, R = O(x), P = O((k, h) => {
1443
+ xt(k);
1577
1444
  const E = Pe({
1578
- style: S,
1445
+ style: w,
1579
1446
  timeout: T,
1580
1447
  easing: c
1581
1448
  }, {
1582
1449
  mode: "enter"
1583
1450
  });
1584
- k.style.webkitTransition = r.transitions.create("opacity", E), k.style.transition = r.transitions.create("opacity", E), y && y(k, h);
1585
- }), w = N(g), F = N(O), A = N((k) => {
1451
+ k.style.webkitTransition = r.transitions.create("opacity", E), k.style.transition = r.transitions.create("opacity", E), g && g(k, h);
1452
+ }), S = O(v), F = O(N), j = O((k) => {
1586
1453
  const h = Pe({
1587
- style: S,
1454
+ style: w,
1588
1455
  timeout: T,
1589
1456
  easing: c
1590
1457
  }, {
1591
1458
  mode: "exit"
1592
1459
  });
1593
1460
  k.style.webkitTransition = r.transitions.create("opacity", h), k.style.transition = r.transitions.create("opacity", h), f && f(k);
1594
- }), _ = N(b);
1595
- return /* @__PURE__ */ I(C, {
1461
+ }), V = O(b);
1462
+ return /* @__PURE__ */ A(C, {
1596
1463
  appear: a,
1597
1464
  in: d,
1598
1465
  nodeRef: m,
1599
1466
  onEnter: P,
1600
- onEntered: w,
1467
+ onEntered: S,
1601
1468
  onEntering: R,
1602
- onExit: A,
1603
- onExited: _,
1469
+ onExit: j,
1470
+ onExited: V,
1604
1471
  onExiting: F,
1605
1472
  addEndListener: (k) => {
1606
1473
  s && s(m.current, k);
@@ -1611,16 +1478,16 @@ const Sn = {
1611
1478
  style: {
1612
1479
  opacity: 0,
1613
1480
  visibility: k === "exited" && !d ? "hidden" : void 0,
1614
- ...Sn[k],
1615
- ...S,
1481
+ ...fn[k],
1482
+ ...w,
1616
1483
  ...l.props.style
1617
1484
  },
1618
- ref: v,
1485
+ ref: y,
1619
1486
  ...h
1620
1487
  })
1621
1488
  });
1622
1489
  });
1623
- process.env.NODE_ENV !== "production" && (Mt.propTypes = {
1490
+ process.env.NODE_ENV !== "production" && (Rt.propTypes = {
1624
1491
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1625
1492
  // │ These PropTypes are generated from the TypeScript type definitions. │
1626
1493
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1640,7 +1507,7 @@ process.env.NODE_ENV !== "production" && (Mt.propTypes = {
1640
1507
  /**
1641
1508
  * A single child content element.
1642
1509
  */
1643
- children: ye.isRequired,
1510
+ children: ge.isRequired,
1644
1511
  /**
1645
1512
  * The transition timing function.
1646
1513
  * You may specify a single easing or a object containing enter and exit values.
@@ -1695,25 +1562,25 @@ process.env.NODE_ENV !== "production" && (Mt.propTypes = {
1695
1562
  exit: e.number
1696
1563
  })])
1697
1564
  });
1698
- function Cn(t) {
1565
+ function hn(t) {
1699
1566
  return le("MuiBackdrop", t);
1700
1567
  }
1701
1568
  ae("MuiBackdrop", ["root", "invisible"]);
1702
- const wn = (t) => {
1569
+ const mn = (t) => {
1703
1570
  const {
1704
1571
  ownerState: n,
1705
1572
  ...o
1706
1573
  } = t;
1707
1574
  return o;
1708
- }, Mn = (t) => {
1575
+ }, bn = (t) => {
1709
1576
  const {
1710
1577
  classes: n,
1711
1578
  invisible: o
1712
1579
  } = t;
1713
1580
  return ue({
1714
1581
  root: ["root", o && "invisible"]
1715
- }, Cn, n);
1716
- }, kn = G("div", {
1582
+ }, hn, n);
1583
+ }, En = G("div", {
1717
1584
  name: "MuiBackdrop",
1718
1585
  slot: "Root",
1719
1586
  overridesResolver: (t, n) => {
@@ -1741,7 +1608,7 @@ const wn = (t) => {
1741
1608
  backgroundColor: "transparent"
1742
1609
  }
1743
1610
  }]
1744
- }), kt = /* @__PURE__ */ p.forwardRef(function(n, o) {
1611
+ }), Pt = /* @__PURE__ */ p.forwardRef(function(n, o) {
1745
1612
  const r = ce({
1746
1613
  props: n,
1747
1614
  name: "MuiBackdrop"
@@ -1752,51 +1619,51 @@ const wn = (t) => {
1752
1619
  invisible: l = !1,
1753
1620
  open: c,
1754
1621
  components: d = {},
1755
- componentsProps: y = {},
1756
- slotProps: g = {},
1622
+ componentsProps: g = {},
1623
+ slotProps: v = {},
1757
1624
  slots: x = {},
1758
1625
  TransitionComponent: f,
1759
1626
  transitionDuration: b,
1760
- ...O
1761
- } = r, S = {
1627
+ ...N
1628
+ } = r, w = {
1762
1629
  ...r,
1763
1630
  component: a,
1764
1631
  invisible: l
1765
- }, T = Mn(S), C = {
1632
+ }, T = bn(w), C = {
1766
1633
  transition: f,
1767
1634
  root: d.Root,
1768
1635
  ...x
1769
1636
  }, u = {
1770
- ...y,
1771
- ...g
1637
+ ...g,
1638
+ ...v
1772
1639
  }, m = {
1773
1640
  slots: C,
1774
1641
  slotProps: u
1775
- }, [v, N] = ie("root", {
1776
- elementType: kn,
1642
+ }, [y, O] = ie("root", {
1643
+ elementType: En,
1777
1644
  externalForwardedProps: m,
1778
- className: W(T.root, s),
1779
- ownerState: S
1645
+ className: z(T.root, s),
1646
+ ownerState: w
1780
1647
  }), [R, P] = ie("transition", {
1781
- elementType: Mt,
1648
+ elementType: Rt,
1782
1649
  externalForwardedProps: m,
1783
- ownerState: S
1784
- }), w = wn(P);
1785
- return /* @__PURE__ */ I(R, {
1650
+ ownerState: w
1651
+ }), S = mn(P);
1652
+ return /* @__PURE__ */ A(R, {
1786
1653
  in: c,
1787
1654
  timeout: b,
1788
- ...O,
1789
- ...w,
1790
- children: /* @__PURE__ */ I(v, {
1655
+ ...N,
1656
+ ...S,
1657
+ children: /* @__PURE__ */ A(y, {
1791
1658
  "aria-hidden": !0,
1792
- ...N,
1659
+ ...O,
1793
1660
  classes: T,
1794
1661
  ref: o,
1795
1662
  children: i
1796
1663
  })
1797
1664
  });
1798
1665
  });
1799
- process.env.NODE_ENV !== "production" && (kt.propTypes = {
1666
+ process.env.NODE_ENV !== "production" && (Pt.propTypes = {
1800
1667
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1801
1668
  // │ These PropTypes are generated from the TypeScript type definitions. │
1802
1669
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1885,14 +1752,14 @@ process.env.NODE_ENV !== "production" && (kt.propTypes = {
1885
1752
  exit: e.number
1886
1753
  })])
1887
1754
  });
1888
- function Dn(t) {
1755
+ function gn(t) {
1889
1756
  return typeof t == "function" ? t() : t;
1890
1757
  }
1891
- function In(t) {
1758
+ function vn(t) {
1892
1759
  return t ? t.props.hasOwnProperty("in") : !1;
1893
1760
  }
1894
- const xe = new gn();
1895
- function jn(t) {
1761
+ const xe = new rn();
1762
+ function yn(t) {
1896
1763
  const {
1897
1764
  container: n,
1898
1765
  disableEscapeKeyDown: o = !1,
@@ -1903,38 +1770,38 @@ function jn(t) {
1903
1770
  children: l,
1904
1771
  onClose: c,
1905
1772
  open: d,
1906
- rootRef: y
1907
- } = t, g = p.useRef({}), x = p.useRef(null), f = p.useRef(null), b = X(f, y), [O, S] = p.useState(!d), T = In(l);
1773
+ rootRef: g
1774
+ } = t, v = p.useRef({}), x = p.useRef(null), f = p.useRef(null), b = X(f, g), [N, w] = p.useState(!d), T = vn(l);
1908
1775
  let C = !0;
1909
1776
  (t["aria-hidden"] === "false" || t["aria-hidden"] === !1) && (C = !1);
1910
- const u = () => z(x.current), m = () => (g.current.modalRef = f.current, g.current.mount = x.current, g.current), v = () => {
1777
+ const u = () => W(x.current), m = () => (v.current.modalRef = f.current, v.current.mount = x.current, v.current), y = () => {
1911
1778
  xe.mount(m(), {
1912
1779
  disableScrollLock: r
1913
1780
  }), f.current && (f.current.scrollTop = 0);
1914
- }, N = Xe(() => {
1915
- const h = Dn(n) || u().body;
1916
- xe.add(m(), h), f.current && v();
1781
+ }, O = Xe(() => {
1782
+ const h = gn(n) || u().body;
1783
+ xe.add(m(), h), f.current && y();
1917
1784
  }), R = () => xe.isTopModal(m()), P = Xe((h) => {
1918
- x.current = h, h && (d && R() ? v() : f.current && be(f.current, C));
1919
- }), w = p.useCallback(() => {
1785
+ x.current = h, h && (d && R() ? y() : f.current && be(f.current, C));
1786
+ }), S = p.useCallback(() => {
1920
1787
  xe.remove(m(), C);
1921
1788
  }, [C]);
1922
1789
  p.useEffect(() => () => {
1923
- w();
1924
- }, [w]), p.useEffect(() => {
1925
- d ? N() : (!T || !i) && w();
1926
- }, [d, w, T, i, N]);
1790
+ S();
1791
+ }, [S]), p.useEffect(() => {
1792
+ d ? O() : (!T || !i) && S();
1793
+ }, [d, S, T, i, O]);
1927
1794
  const F = (h) => (E) => {
1928
1795
  var M;
1929
1796
  (M = h.onKeyDown) == null || M.call(h, E), !(E.key !== "Escape" || E.which === 229 || // Wait until IME is settled.
1930
1797
  !R()) && (o || (E.stopPropagation(), c && c(E, "escapeKeyDown")));
1931
- }, A = (h) => (E) => {
1798
+ }, j = (h) => (E) => {
1932
1799
  var M;
1933
1800
  (M = h.onClick) == null || M.call(h, E), E.target === E.currentTarget && c && c(E, "backdropClick");
1934
1801
  };
1935
1802
  return {
1936
1803
  getRootProps: (h = {}) => {
1937
- const E = yt(t);
1804
+ const E = bt(t);
1938
1805
  delete E.onTransitionEnter, delete E.onTransitionExited;
1939
1806
  const M = {
1940
1807
  ...E,
@@ -1958,15 +1825,15 @@ function jn(t) {
1958
1825
  return {
1959
1826
  "aria-hidden": !0,
1960
1827
  ...E,
1961
- onClick: A(E),
1828
+ onClick: j(E),
1962
1829
  open: d
1963
1830
  };
1964
1831
  },
1965
1832
  getTransitionProps: () => {
1966
1833
  const h = () => {
1967
- S(!1), s && s();
1834
+ w(!1), s && s();
1968
1835
  }, E = () => {
1969
- S(!0), a && a(), i && w();
1836
+ w(!0), a && a(), i && S();
1970
1837
  };
1971
1838
  return {
1972
1839
  onEnter: Ye(h, l == null ? void 0 : l.props.onEnter),
@@ -1976,15 +1843,15 @@ function jn(t) {
1976
1843
  rootRef: b,
1977
1844
  portalRef: P,
1978
1845
  isTopModal: R,
1979
- exited: O,
1846
+ exited: N,
1980
1847
  hasTransition: T
1981
1848
  };
1982
1849
  }
1983
- function Ln(t) {
1850
+ function Tn(t) {
1984
1851
  return le("MuiModal", t);
1985
1852
  }
1986
1853
  ae("MuiModal", ["root", "hidden", "backdrop"]);
1987
- const Fn = (t) => {
1854
+ const xn = (t) => {
1988
1855
  const {
1989
1856
  open: n,
1990
1857
  exited: o,
@@ -1993,8 +1860,8 @@ const Fn = (t) => {
1993
1860
  return ue({
1994
1861
  root: ["root", !n && o && "hidden"],
1995
1862
  backdrop: ["backdrop"]
1996
- }, Ln, r);
1997
- }, An = G("div", {
1863
+ }, Tn, r);
1864
+ }, Rn = G("div", {
1998
1865
  name: "MuiModal",
1999
1866
  slot: "Root",
2000
1867
  overridesResolver: (t, n) => {
@@ -2003,7 +1870,7 @@ const Fn = (t) => {
2003
1870
  } = t;
2004
1871
  return [n.root, !o.open && o.exited && n.hidden];
2005
1872
  }
2006
- })(ut(({
1873
+ })(lt(({
2007
1874
  theme: t
2008
1875
  }) => ({
2009
1876
  position: "fixed",
@@ -2020,42 +1887,42 @@ const Fn = (t) => {
2020
1887
  visibility: "hidden"
2021
1888
  }
2022
1889
  }]
2023
- }))), Vn = G(kt, {
1890
+ }))), Pn = G(Pt, {
2024
1891
  name: "MuiModal",
2025
1892
  slot: "Backdrop",
2026
1893
  overridesResolver: (t, n) => n.backdrop
2027
1894
  })({
2028
1895
  zIndex: -1
2029
- }), Dt = /* @__PURE__ */ p.forwardRef(function(n, o) {
1896
+ }), Nt = /* @__PURE__ */ p.forwardRef(function(n, o) {
2030
1897
  const r = ce({
2031
1898
  name: "MuiModal",
2032
1899
  props: n
2033
1900
  }), {
2034
- BackdropComponent: i = Vn,
1901
+ BackdropComponent: i = Pn,
2035
1902
  BackdropProps: s,
2036
1903
  classes: a,
2037
1904
  className: l,
2038
1905
  closeAfterTransition: c = !1,
2039
1906
  children: d,
2040
- container: y,
2041
- component: g,
1907
+ container: g,
1908
+ component: v,
2042
1909
  components: x = {},
2043
1910
  componentsProps: f = {},
2044
1911
  disableAutoFocus: b = !1,
2045
- disableEnforceFocus: O = !1,
2046
- disableEscapeKeyDown: S = !1,
1912
+ disableEnforceFocus: N = !1,
1913
+ disableEscapeKeyDown: w = !1,
2047
1914
  disablePortal: T = !1,
2048
1915
  disableRestoreFocus: C = !1,
2049
1916
  disableScrollLock: u = !1,
2050
1917
  hideBackdrop: m = !1,
2051
- keepMounted: v = !1,
2052
- onBackdropClick: N,
1918
+ keepMounted: y = !1,
1919
+ onBackdropClick: O,
2053
1920
  onClose: R,
2054
1921
  onTransitionEnter: P,
2055
- onTransitionExited: w,
1922
+ onTransitionExited: S,
2056
1923
  open: F,
2057
- slotProps: A = {},
2058
- slots: _ = {},
1924
+ slotProps: j = {},
1925
+ slots: V = {},
2059
1926
  // eslint-disable-next-line react/prop-types
2060
1927
  theme: U,
2061
1928
  ...k
@@ -2063,33 +1930,33 @@ const Fn = (t) => {
2063
1930
  ...r,
2064
1931
  closeAfterTransition: c,
2065
1932
  disableAutoFocus: b,
2066
- disableEnforceFocus: O,
2067
- disableEscapeKeyDown: S,
1933
+ disableEnforceFocus: N,
1934
+ disableEscapeKeyDown: w,
2068
1935
  disablePortal: T,
2069
1936
  disableRestoreFocus: C,
2070
1937
  disableScrollLock: u,
2071
1938
  hideBackdrop: m,
2072
- keepMounted: v
1939
+ keepMounted: y
2073
1940
  }, {
2074
1941
  getRootProps: E,
2075
1942
  getBackdropProps: M,
2076
- getTransitionProps: V,
2077
- portalRef: $,
1943
+ getTransitionProps: $,
1944
+ portalRef: _,
2078
1945
  isTopModal: K,
2079
1946
  exited: pe,
2080
- hasTransition: ge
2081
- } = jn({
1947
+ hasTransition: ve
1948
+ } = yn({
2082
1949
  ...h,
2083
1950
  rootRef: o
2084
1951
  }), Z = {
2085
1952
  ...h,
2086
1953
  exited: pe
2087
- }, H = Fn(Z), J = {};
2088
- if (d.props.tabIndex === void 0 && (J.tabIndex = "-1"), ge) {
1954
+ }, H = xn(Z), J = {};
1955
+ if (d.props.tabIndex === void 0 && (J.tabIndex = "-1"), ve) {
2089
1956
  const {
2090
1957
  onEnter: L,
2091
1958
  onExited: q
2092
- } = V();
1959
+ } = $();
2093
1960
  J.onEnter = L, J.onExited = q;
2094
1961
  }
2095
1962
  const de = {
@@ -2097,22 +1964,22 @@ const Fn = (t) => {
2097
1964
  slots: {
2098
1965
  root: x.Root,
2099
1966
  backdrop: x.Backdrop,
2100
- ..._
1967
+ ...V
2101
1968
  },
2102
1969
  slotProps: {
2103
1970
  ...f,
2104
- ...A
1971
+ ...j
2105
1972
  }
2106
1973
  }, [Me, ke] = ie("root", {
2107
- elementType: An,
1974
+ elementType: Rn,
2108
1975
  externalForwardedProps: de,
2109
1976
  getSlotProps: E,
2110
1977
  additionalProps: {
2111
1978
  ref: o,
2112
- as: g
1979
+ as: v
2113
1980
  },
2114
1981
  ownerState: Z,
2115
- className: W(l, H == null ? void 0 : H.root, !Z.open && Z.exited && (H == null ? void 0 : H.hidden))
1982
+ className: z(l, H == null ? void 0 : H.root, !Z.open && Z.exited && (H == null ? void 0 : H.hidden))
2116
1983
  }), [De, D] = ie("backdrop", {
2117
1984
  elementType: i,
2118
1985
  externalForwardedProps: de,
@@ -2120,23 +1987,23 @@ const Fn = (t) => {
2120
1987
  getSlotProps: (L) => M({
2121
1988
  ...L,
2122
1989
  onClick: (q) => {
2123
- N && N(q), L != null && L.onClick && L.onClick(q);
1990
+ O && O(q), L != null && L.onClick && L.onClick(q);
2124
1991
  }
2125
1992
  }),
2126
- className: W(s == null ? void 0 : s.className, H == null ? void 0 : H.backdrop),
1993
+ className: z(s == null ? void 0 : s.className, H == null ? void 0 : H.backdrop),
2127
1994
  ownerState: Z
2128
- }), j = X(s == null ? void 0 : s.ref, D.ref);
2129
- return !v && !F && (!ge || pe) ? null : /* @__PURE__ */ I(Se, {
2130
- ref: $,
2131
- container: y,
1995
+ }), I = X(s == null ? void 0 : s.ref, D.ref);
1996
+ return !y && !F && (!ve || pe) ? null : /* @__PURE__ */ A(we, {
1997
+ ref: _,
1998
+ container: g,
2132
1999
  disablePortal: T,
2133
- children: /* @__PURE__ */ $e(Me, {
2000
+ children: /* @__PURE__ */ _e(Me, {
2134
2001
  ...ke,
2135
- children: [!m && i ? /* @__PURE__ */ I(De, {
2002
+ children: [!m && i ? /* @__PURE__ */ A(De, {
2136
2003
  ...D,
2137
- ref: j
2138
- }) : null, /* @__PURE__ */ I(Ne, {
2139
- disableEnforceFocus: O,
2004
+ ref: I
2005
+ }) : null, /* @__PURE__ */ A(Oe, {
2006
+ disableEnforceFocus: N,
2140
2007
  disableAutoFocus: b,
2141
2008
  disableRestoreFocus: C,
2142
2009
  isEnabled: K,
@@ -2146,7 +2013,7 @@ const Fn = (t) => {
2146
2013
  })
2147
2014
  });
2148
2015
  });
2149
- process.env.NODE_ENV !== "production" && (Dt.propTypes = {
2016
+ process.env.NODE_ENV !== "production" && (Nt.propTypes = {
2150
2017
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2151
2018
  // │ These PropTypes are generated from the TypeScript type definitions. │
2152
2019
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2174,7 +2041,7 @@ process.env.NODE_ENV !== "production" && (Dt.propTypes = {
2174
2041
  /**
2175
2042
  * A single child content element.
2176
2043
  */
2177
- children: ye.isRequired,
2044
+ children: ge.isRequired,
2178
2045
  /**
2179
2046
  * Override or extend the styles applied to the component.
2180
2047
  */
@@ -2325,11 +2192,11 @@ process.env.NODE_ENV !== "production" && (Dt.propTypes = {
2325
2192
  */
2326
2193
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
2327
2194
  });
2328
- function _n(t) {
2195
+ function Nn(t) {
2329
2196
  return le("MuiPaper", t);
2330
2197
  }
2331
2198
  ae("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"]);
2332
- const $n = (t) => {
2199
+ const On = (t) => {
2333
2200
  const {
2334
2201
  square: n,
2335
2202
  elevation: o,
@@ -2338,8 +2205,8 @@ const $n = (t) => {
2338
2205
  } = t, s = {
2339
2206
  root: ["root", r, !n && "rounded", r === "elevation" && `elevation${o}`]
2340
2207
  };
2341
- return ue(s, _n, i);
2342
- }, Un = G("div", {
2208
+ return ue(s, Nn, i);
2209
+ }, wn = G("div", {
2343
2210
  name: "MuiPaper",
2344
2211
  slot: "Root",
2345
2212
  overridesResolver: (t, n) => {
@@ -2348,7 +2215,7 @@ const $n = (t) => {
2348
2215
  } = t;
2349
2216
  return [n.root, n[o.variant], !o.square && n.rounded, o.variant === "elevation" && n[`elevation${o.elevation}`]];
2350
2217
  }
2351
- })(ut(({
2218
+ })(lt(({
2352
2219
  theme: t
2353
2220
  }) => ({
2354
2221
  backgroundColor: (t.vars || t).palette.background.paper,
@@ -2377,7 +2244,7 @@ const $n = (t) => {
2377
2244
  backgroundImage: "var(--Paper-overlay)"
2378
2245
  }
2379
2246
  }]
2380
- }))), It = /* @__PURE__ */ p.forwardRef(function(n, o) {
2247
+ }))), Ot = /* @__PURE__ */ p.forwardRef(function(n, o) {
2381
2248
  var f;
2382
2249
  const r = ce({
2383
2250
  props: n,
@@ -2388,21 +2255,21 @@ const $n = (t) => {
2388
2255
  elevation: l = 1,
2389
2256
  square: c = !1,
2390
2257
  variant: d = "elevation",
2391
- ...y
2392
- } = r, g = {
2258
+ ...g
2259
+ } = r, v = {
2393
2260
  ...r,
2394
2261
  component: a,
2395
2262
  elevation: l,
2396
2263
  square: c,
2397
2264
  variant: d
2398
- }, x = $n(g);
2265
+ }, x = On(v);
2399
2266
  return process.env.NODE_ENV !== "production" && i.shadows[l] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${l}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${l}]\` is defined.`].join(`
2400
- `)), /* @__PURE__ */ I(Un, {
2267
+ `)), /* @__PURE__ */ A(wn, {
2401
2268
  as: a,
2402
- ownerState: g,
2403
- className: W(x.root, s),
2269
+ ownerState: v,
2270
+ className: z(x.root, s),
2404
2271
  ref: o,
2405
- ...y,
2272
+ ...g,
2406
2273
  style: {
2407
2274
  ...d === "elevation" && {
2408
2275
  "--Paper-shadow": (i.vars || i).shadows[l],
@@ -2410,14 +2277,14 @@ const $n = (t) => {
2410
2277
  "--Paper-overlay": (f = i.vars.overlays) == null ? void 0 : f[l]
2411
2278
  },
2412
2279
  ...!i.vars && i.palette.mode === "dark" && {
2413
- "--Paper-overlay": `linear-gradient(${We("#fff", ze(l))}, ${We("#fff", ze(l))})`
2280
+ "--Paper-overlay": `linear-gradient(${ze("#fff", We(l))}, ${ze("#fff", We(l))})`
2414
2281
  }
2415
2282
  },
2416
- ...y.style
2283
+ ...g.style
2417
2284
  }
2418
2285
  });
2419
2286
  });
2420
- process.env.NODE_ENV !== "production" && (It.propTypes = {
2287
+ process.env.NODE_ENV !== "production" && (Ot.propTypes = {
2421
2288
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2422
2289
  // │ These PropTypes are generated from the TypeScript type definitions. │
2423
2290
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2444,7 +2311,7 @@ process.env.NODE_ENV !== "production" && (It.propTypes = {
2444
2311
  * It accepts values between 0 and 24 inclusive.
2445
2312
  * @default 1
2446
2313
  */
2447
- elevation: Ce(bt, (t) => {
2314
+ elevation: Ce(ht, (t) => {
2448
2315
  const {
2449
2316
  elevation: n,
2450
2317
  variant: o
@@ -2470,7 +2337,7 @@ process.env.NODE_ENV !== "production" && (It.propTypes = {
2470
2337
  */
2471
2338
  variant: e.oneOfType([e.oneOf(["elevation", "outlined"]), e.string])
2472
2339
  });
2473
- function qn(t) {
2340
+ function Cn(t) {
2474
2341
  return le("MuiPopover", t);
2475
2342
  }
2476
2343
  ae("MuiPopover", ["root", "paper"]);
@@ -2488,19 +2355,19 @@ function st(t) {
2488
2355
  function Re(t) {
2489
2356
  return typeof t == "function" ? t() : t;
2490
2357
  }
2491
- const Hn = (t) => {
2358
+ const Sn = (t) => {
2492
2359
  const {
2493
2360
  classes: n
2494
2361
  } = t;
2495
2362
  return ue({
2496
2363
  root: ["root"],
2497
2364
  paper: ["paper"]
2498
- }, qn, n);
2499
- }, Bn = G(Dt, {
2365
+ }, Cn, n);
2366
+ }, Mn = G(Nt, {
2500
2367
  name: "MuiPopover",
2501
2368
  slot: "Root",
2502
2369
  overridesResolver: (t, n) => n.root
2503
- })({}), jt = G(It, {
2370
+ })({}), wt = G(Ot, {
2504
2371
  name: "MuiPopover",
2505
2372
  slot: "Paper",
2506
2373
  overridesResolver: (t, n) => n.paper
@@ -2516,7 +2383,7 @@ const Hn = (t) => {
2516
2383
  maxHeight: "calc(100% - 32px)",
2517
2384
  // We disable the focus ring for mouse, touch and keyboard users.
2518
2385
  outline: 0
2519
- }), Lt = /* @__PURE__ */ p.forwardRef(function(n, o) {
2386
+ }), Ct = /* @__PURE__ */ p.forwardRef(function(n, o) {
2520
2387
  const r = ce({
2521
2388
  props: n,
2522
2389
  name: "MuiPopover"
@@ -2530,43 +2397,43 @@ const Hn = (t) => {
2530
2397
  anchorPosition: l,
2531
2398
  anchorReference: c = "anchorEl",
2532
2399
  children: d,
2533
- className: y,
2534
- container: g,
2400
+ className: g,
2401
+ container: v,
2535
2402
  elevation: x = 8,
2536
2403
  marginThreshold: f = 16,
2537
2404
  open: b,
2538
- PaperProps: O = {},
2539
- slots: S = {},
2405
+ PaperProps: N = {},
2406
+ slots: w = {},
2540
2407
  slotProps: T = {},
2541
2408
  transformOrigin: C = {
2542
2409
  vertical: "top",
2543
2410
  horizontal: "left"
2544
2411
  },
2545
- TransitionComponent: u = Oe,
2412
+ TransitionComponent: u = Ne,
2546
2413
  transitionDuration: m = "auto",
2547
2414
  TransitionProps: {
2548
- onEntering: v,
2549
- ...N
2415
+ onEntering: y,
2416
+ ...O
2550
2417
  } = {},
2551
2418
  disableScrollLock: R = !1,
2552
2419
  ...P
2553
- } = r, w = (T == null ? void 0 : T.paper) ?? O, F = p.useRef(), A = {
2420
+ } = r, S = (T == null ? void 0 : T.paper) ?? N, F = p.useRef(), j = {
2554
2421
  ...r,
2555
2422
  anchorOrigin: a,
2556
2423
  anchorReference: c,
2557
2424
  elevation: x,
2558
2425
  marginThreshold: f,
2559
- externalPaperSlotProps: w,
2426
+ externalPaperSlotProps: S,
2560
2427
  transformOrigin: C,
2561
2428
  TransitionComponent: u,
2562
2429
  transitionDuration: m,
2563
- TransitionProps: N
2564
- }, _ = Hn(A), U = p.useCallback(() => {
2430
+ TransitionProps: O
2431
+ }, V = Sn(j), U = p.useCallback(() => {
2565
2432
  if (c === "anchorPosition")
2566
2433
  return process.env.NODE_ENV !== "production" && (l || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), l;
2567
- const D = Re(s), j = D && D.nodeType === 1 ? D : z(F.current).body, L = j.getBoundingClientRect();
2434
+ const D = Re(s), I = D && D.nodeType === 1 ? D : W(F.current).body, L = I.getBoundingClientRect();
2568
2435
  if (process.env.NODE_ENV !== "production") {
2569
- const q = j.getBoundingClientRect();
2436
+ const q = I.getBoundingClientRect();
2570
2437
  process.env.NODE_ENV !== "test" && q.top === 0 && q.left === 0 && q.right === 0 && q.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(`
2571
2438
  `));
2572
2439
  }
@@ -2578,10 +2445,10 @@ const Hn = (t) => {
2578
2445
  vertical: ot(D, C.vertical),
2579
2446
  horizontal: rt(D, C.horizontal)
2580
2447
  }), [C.horizontal, C.vertical]), h = p.useCallback((D) => {
2581
- const j = {
2448
+ const I = {
2582
2449
  width: D.offsetWidth,
2583
2450
  height: D.offsetHeight
2584
- }, L = k(j);
2451
+ }, L = k(I);
2585
2452
  if (c === "none")
2586
2453
  return {
2587
2454
  top: null,
@@ -2590,7 +2457,7 @@ const Hn = (t) => {
2590
2457
  };
2591
2458
  const q = U();
2592
2459
  let ne = q.top - L.vertical, oe = q.left - L.horizontal;
2593
- const qe = ne + j.height, He = oe + j.width, Be = te(Re(s)), fe = Be.innerHeight - f, Ke = Be.innerWidth - f;
2460
+ const qe = ne + I.height, He = oe + I.width, Be = te(Re(s)), fe = Be.innerHeight - f, Ke = Be.innerWidth - f;
2594
2461
  if (f !== null && ne < f) {
2595
2462
  const B = ne - f;
2596
2463
  ne -= B, L.vertical += B;
@@ -2598,7 +2465,7 @@ const Hn = (t) => {
2598
2465
  const B = qe - fe;
2599
2466
  ne -= B, L.vertical += B;
2600
2467
  }
2601
- if (process.env.NODE_ENV !== "production" && j.height > fe && j.height && fe && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${j.height - fe}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
2468
+ if (process.env.NODE_ENV !== "production" && I.height > fe && I.height && fe && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${I.height - fe}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
2602
2469
  `)), f !== null && oe < f) {
2603
2470
  const B = oe - f;
2604
2471
  oe -= B, L.horizontal += B;
@@ -2611,60 +2478,60 @@ const Hn = (t) => {
2611
2478
  left: `${Math.round(oe)}px`,
2612
2479
  transformOrigin: st(L)
2613
2480
  };
2614
- }, [s, c, U, k, f]), [E, M] = p.useState(b), V = p.useCallback(() => {
2481
+ }, [s, c, U, k, f]), [E, M] = p.useState(b), $ = p.useCallback(() => {
2615
2482
  const D = F.current;
2616
2483
  if (!D)
2617
2484
  return;
2618
- const j = h(D);
2619
- j.top !== null && D.style.setProperty("top", j.top), j.left !== null && (D.style.left = j.left), D.style.transformOrigin = j.transformOrigin, M(!0);
2485
+ const I = h(D);
2486
+ I.top !== null && D.style.setProperty("top", I.top), I.left !== null && (D.style.left = I.left), D.style.transformOrigin = I.transformOrigin, M(!0);
2620
2487
  }, [h]);
2621
- p.useEffect(() => (R && window.addEventListener("scroll", V), () => window.removeEventListener("scroll", V)), [s, R, V]);
2622
- const $ = (D, j) => {
2623
- v && v(D, j), V();
2488
+ p.useEffect(() => (R && window.addEventListener("scroll", $), () => window.removeEventListener("scroll", $)), [s, R, $]);
2489
+ const _ = (D, I) => {
2490
+ y && y(D, I), $();
2624
2491
  }, K = () => {
2625
2492
  M(!1);
2626
2493
  };
2627
2494
  p.useEffect(() => {
2628
- b && V();
2495
+ b && $();
2629
2496
  }), p.useImperativeHandle(i, () => b ? {
2630
2497
  updatePosition: () => {
2631
- V();
2498
+ $();
2632
2499
  }
2633
- } : null, [b, V]), p.useEffect(() => {
2500
+ } : null, [b, $]), p.useEffect(() => {
2634
2501
  if (!b)
2635
2502
  return;
2636
- const D = Yt(() => {
2637
- V();
2638
- }), j = te(s);
2639
- return j.addEventListener("resize", D), () => {
2640
- D.clear(), j.removeEventListener("resize", D);
2503
+ const D = Ht(() => {
2504
+ $();
2505
+ }), I = te(s);
2506
+ return I.addEventListener("resize", D), () => {
2507
+ D.clear(), I.removeEventListener("resize", D);
2641
2508
  };
2642
- }, [s, b, V]);
2509
+ }, [s, b, $]);
2643
2510
  let pe = m;
2644
2511
  m === "auto" && !u.muiSupportAuto && (pe = void 0);
2645
- const ge = g || (s ? z(Re(s)).body : void 0), Z = {
2646
- slots: S,
2512
+ const ve = v || (s ? W(Re(s)).body : void 0), Z = {
2513
+ slots: w,
2647
2514
  slotProps: {
2648
2515
  ...T,
2649
- paper: w
2516
+ paper: S
2650
2517
  }
2651
2518
  }, [H, J] = ie("paper", {
2652
- elementType: jt,
2519
+ elementType: wt,
2653
2520
  externalForwardedProps: Z,
2654
2521
  additionalProps: {
2655
2522
  elevation: x,
2656
- className: W(_.paper, w == null ? void 0 : w.className),
2657
- style: E ? w.style : {
2658
- ...w.style,
2523
+ className: z(V.paper, S == null ? void 0 : S.className),
2524
+ style: E ? S.style : {
2525
+ ...S.style,
2659
2526
  opacity: 0
2660
2527
  }
2661
2528
  },
2662
- ownerState: A
2529
+ ownerState: j
2663
2530
  }), [de, {
2664
2531
  slotProps: Me,
2665
2532
  ...ke
2666
2533
  }] = ie("root", {
2667
- elementType: Bn,
2534
+ elementType: Mn,
2668
2535
  externalForwardedProps: Z,
2669
2536
  additionalProps: {
2670
2537
  slotProps: {
@@ -2672,28 +2539,28 @@ const Hn = (t) => {
2672
2539
  invisible: !0
2673
2540
  }
2674
2541
  },
2675
- container: ge,
2542
+ container: ve,
2676
2543
  open: b
2677
2544
  },
2678
- ownerState: A,
2679
- className: W(_.root, y)
2545
+ ownerState: j,
2546
+ className: z(V.root, g)
2680
2547
  }), De = X(F, J.ref);
2681
- return /* @__PURE__ */ I(de, {
2548
+ return /* @__PURE__ */ A(de, {
2682
2549
  ...ke,
2683
- ...!un(de) && {
2550
+ ...!Dt(de) && {
2684
2551
  slotProps: Me,
2685
2552
  disableScrollLock: R
2686
2553
  },
2687
2554
  ...P,
2688
2555
  ref: o,
2689
- children: /* @__PURE__ */ I(u, {
2556
+ children: /* @__PURE__ */ A(u, {
2690
2557
  appear: !0,
2691
2558
  in: b,
2692
- onEntering: $,
2559
+ onEntering: _,
2693
2560
  onExited: K,
2694
2561
  timeout: pe,
2695
- ...N,
2696
- children: /* @__PURE__ */ I(H, {
2562
+ ...O,
2563
+ children: /* @__PURE__ */ A(H, {
2697
2564
  ...J,
2698
2565
  ref: De,
2699
2566
  children: d
@@ -2701,7 +2568,7 @@ const Hn = (t) => {
2701
2568
  })
2702
2569
  });
2703
2570
  });
2704
- process.env.NODE_ENV !== "production" && (Lt.propTypes = {
2571
+ process.env.NODE_ENV !== "production" && (Ct.propTypes = {
2705
2572
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2706
2573
  // │ These PropTypes are generated from the TypeScript type definitions. │
2707
2574
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2710,7 +2577,7 @@ process.env.NODE_ENV !== "production" && (Lt.propTypes = {
2710
2577
  * A ref for imperative actions.
2711
2578
  * It currently only supports updatePosition() action.
2712
2579
  */
2713
- action: Bt,
2580
+ action: jt,
2714
2581
  /**
2715
2582
  * An HTML element, [PopoverVirtualElement](https://mui.com/material-ui/react-popover/#virtual-element),
2716
2583
  * or a function that returns either.
@@ -2810,7 +2677,7 @@ process.env.NODE_ENV !== "production" && (Lt.propTypes = {
2810
2677
  * The elevation of the popover.
2811
2678
  * @default 8
2812
2679
  */
2813
- elevation: bt,
2680
+ elevation: ht,
2814
2681
  /**
2815
2682
  * Specifies how close to the edge of the window the popover can appear.
2816
2683
  * If null, the popover will not be constrained by the window.
@@ -2835,7 +2702,7 @@ process.env.NODE_ENV !== "production" && (Lt.propTypes = {
2835
2702
  * @default {}
2836
2703
  */
2837
2704
  PaperProps: e.shape({
2838
- component: Kt
2705
+ component: At
2839
2706
  }),
2840
2707
  /**
2841
2708
  * The props used for each slot inside.
@@ -2895,17 +2762,17 @@ process.env.NODE_ENV !== "production" && (Lt.propTypes = {
2895
2762
  */
2896
2763
  TransitionProps: e.object
2897
2764
  });
2898
- function Kn(t) {
2765
+ function kn(t) {
2899
2766
  return le("MuiMenu", t);
2900
2767
  }
2901
2768
  ae("MuiMenu", ["root", "paper", "list"]);
2902
- const Wn = {
2769
+ const Dn = {
2903
2770
  vertical: "top",
2904
2771
  horizontal: "right"
2905
- }, zn = {
2772
+ }, In = {
2906
2773
  vertical: "top",
2907
2774
  horizontal: "left"
2908
- }, Gn = (t) => {
2775
+ }, Ln = (t) => {
2909
2776
  const {
2910
2777
  classes: n
2911
2778
  } = t;
@@ -2913,13 +2780,13 @@ const Wn = {
2913
2780
  root: ["root"],
2914
2781
  paper: ["paper"],
2915
2782
  list: ["list"]
2916
- }, Kn, n);
2917
- }, Xn = G(Lt, {
2918
- shouldForwardProp: (t) => _t(t) || t === "classes",
2783
+ }, kn, n);
2784
+ }, Fn = G(Ct, {
2785
+ shouldForwardProp: (t) => kt(t) || t === "classes",
2919
2786
  name: "MuiMenu",
2920
2787
  slot: "Root",
2921
2788
  overridesResolver: (t, n) => n.root
2922
- })({}), Yn = G(jt, {
2789
+ })({}), jn = G(wt, {
2923
2790
  name: "MuiMenu",
2924
2791
  slot: "Paper",
2925
2792
  overridesResolver: (t, n) => n.paper
@@ -2930,14 +2797,14 @@ const Wn = {
2930
2797
  maxHeight: "calc(100% - 96px)",
2931
2798
  // Add iOS momentum scrolling for iOS < 13.0
2932
2799
  WebkitOverflowScrolling: "touch"
2933
- }), Zn = G(Ct, {
2800
+ }), An = G(Tt, {
2934
2801
  name: "MuiMenu",
2935
2802
  slot: "List",
2936
2803
  overridesResolver: (t, n) => n.list
2937
2804
  })({
2938
2805
  // We disable the focus ring for mouse, touch and keyboard users.
2939
2806
  outline: 0
2940
- }), Jn = /* @__PURE__ */ p.forwardRef(function(n, o) {
2807
+ }), $n = /* @__PURE__ */ p.forwardRef(function(n, o) {
2941
2808
  const r = ce({
2942
2809
  props: n,
2943
2810
  name: "MuiMenu"
@@ -2948,89 +2815,89 @@ const Wn = {
2948
2815
  disableAutoFocusItem: l = !1,
2949
2816
  MenuListProps: c = {},
2950
2817
  onClose: d,
2951
- open: y,
2952
- PaperProps: g = {},
2818
+ open: g,
2819
+ PaperProps: v = {},
2953
2820
  PopoverClasses: x,
2954
2821
  transitionDuration: f = "auto",
2955
2822
  TransitionProps: {
2956
2823
  onEntering: b,
2957
- ...O
2824
+ ...N
2958
2825
  } = {},
2959
- variant: S = "selectedMenu",
2826
+ variant: w = "selectedMenu",
2960
2827
  slots: T = {},
2961
2828
  slotProps: C = {},
2962
2829
  ...u
2963
- } = r, m = an(), v = {
2830
+ } = r, m = Wt(), y = {
2964
2831
  ...r,
2965
2832
  autoFocus: i,
2966
2833
  disableAutoFocusItem: l,
2967
2834
  MenuListProps: c,
2968
2835
  onEntering: b,
2969
- PaperProps: g,
2836
+ PaperProps: v,
2970
2837
  transitionDuration: f,
2971
- TransitionProps: O,
2972
- variant: S
2973
- }, N = Gn(v), R = i && !l && y, P = p.useRef(null), w = (E, M) => {
2838
+ TransitionProps: N,
2839
+ variant: w
2840
+ }, O = Ln(y), R = i && !l && g, P = p.useRef(null), S = (E, M) => {
2974
2841
  P.current && P.current.adjustStyleForScrollbar(E, {
2975
2842
  direction: m ? "rtl" : "ltr"
2976
2843
  }), b && b(E, M);
2977
2844
  }, F = (E) => {
2978
2845
  E.key === "Tab" && (E.preventDefault(), d && d(E, "tabKeyDown"));
2979
2846
  };
2980
- let A = -1;
2847
+ let j = -1;
2981
2848
  p.Children.map(s, (E, M) => {
2982
- /* @__PURE__ */ p.isValidElement(E) && (process.env.NODE_ENV !== "production" && lt.isFragment(E) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
2983
- `)), E.props.disabled || (S === "selectedMenu" && E.props.selected || A === -1) && (A = M));
2849
+ /* @__PURE__ */ p.isValidElement(E) && (process.env.NODE_ENV !== "production" && it.isFragment(E) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
2850
+ `)), E.props.disabled || (w === "selectedMenu" && E.props.selected || j === -1) && (j = M));
2984
2851
  });
2985
- const _ = T.paper ?? Yn, U = C.paper ?? g, k = Je({
2852
+ const V = T.paper ?? jn, U = C.paper ?? v, k = Je({
2986
2853
  elementType: T.root,
2987
2854
  externalSlotProps: C.root,
2988
- ownerState: v,
2989
- className: [N.root, a]
2855
+ ownerState: y,
2856
+ className: [O.root, a]
2990
2857
  }), h = Je({
2991
- elementType: _,
2858
+ elementType: V,
2992
2859
  externalSlotProps: U,
2993
- ownerState: v,
2994
- className: N.paper
2860
+ ownerState: y,
2861
+ className: O.paper
2995
2862
  });
2996
- return /* @__PURE__ */ I(Xn, {
2863
+ return /* @__PURE__ */ A(Fn, {
2997
2864
  onClose: d,
2998
2865
  anchorOrigin: {
2999
2866
  vertical: "bottom",
3000
2867
  horizontal: m ? "right" : "left"
3001
2868
  },
3002
- transformOrigin: m ? Wn : zn,
2869
+ transformOrigin: m ? Dn : In,
3003
2870
  slots: {
3004
- paper: _,
2871
+ paper: V,
3005
2872
  root: T.root
3006
2873
  },
3007
2874
  slotProps: {
3008
2875
  root: k,
3009
2876
  paper: h
3010
2877
  },
3011
- open: y,
2878
+ open: g,
3012
2879
  ref: o,
3013
2880
  transitionDuration: f,
3014
2881
  TransitionProps: {
3015
- onEntering: w,
3016
- ...O
2882
+ onEntering: S,
2883
+ ...N
3017
2884
  },
3018
- ownerState: v,
2885
+ ownerState: y,
3019
2886
  ...u,
3020
2887
  classes: x,
3021
- children: /* @__PURE__ */ I(Zn, {
2888
+ children: /* @__PURE__ */ A(An, {
3022
2889
  onKeyDown: F,
3023
2890
  actions: P,
3024
- autoFocus: i && (A === -1 || l),
2891
+ autoFocus: i && (j === -1 || l),
3025
2892
  autoFocusItem: R,
3026
- variant: S,
2893
+ variant: w,
3027
2894
  ...c,
3028
- className: W(N.list, c.className),
2895
+ className: z(O.list, c.className),
3029
2896
  children: s
3030
2897
  })
3031
2898
  });
3032
2899
  });
3033
- process.env.NODE_ENV !== "production" && (Jn.propTypes = {
2900
+ process.env.NODE_ENV !== "production" && ($n.propTypes = {
3034
2901
  // ┌────────────────────────────── Warning ──────────────────────────────┐
3035
2902
  // │ These PropTypes are generated from the TypeScript type definitions. │
3036
2903
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -3135,26 +3002,20 @@ process.env.NODE_ENV !== "production" && (Jn.propTypes = {
3135
3002
  });
3136
3003
  export {
3137
3004
  Ee as H,
3138
- Ot as L,
3139
- Dt as M,
3140
- It as P,
3005
+ vt as L,
3006
+ $n as M,
3007
+ Ot as P,
3141
3008
  Y as T,
3142
- Pe as a,
3143
- an as b,
3144
- io as c,
3145
- Yt as d,
3146
- ye as e,
3147
- un as f,
3148
- we as g,
3149
- lo as h,
3150
- bt as i,
3151
- Nt as j,
3152
- Jn as k,
3153
- xt as l,
3154
- ao as m,
3155
- z as n,
3009
+ Se as a,
3010
+ Nt as b,
3011
+ Wt as c,
3012
+ Ht as d,
3013
+ ge as e,
3014
+ W as f,
3015
+ Pe as g,
3016
+ ie as h,
3017
+ ht as i,
3156
3018
  te as o,
3157
- ie as p,
3158
- wt as r,
3019
+ xt as r,
3159
3020
  Ue as u
3160
3021
  };