@hai-dev/ui-kit 1.0.5 → 1.0.7

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 (55) hide show
  1. package/dist/Box-D8oKffw9.js +57 -0
  2. package/dist/{Button-DDlVTM6i.js → Button-BBF8hp7e.js} +30 -27
  3. package/dist/ButtonBase-T2KH9jsD.js +966 -0
  4. package/dist/CircularProgress-BQQkuSse.js +273 -0
  5. package/dist/{DialogTitle-KN1sayHD.js → Dialog-B97c7WYP.js} +910 -1401
  6. package/dist/DialogTitle-Du4tqTs0.js +254 -0
  7. package/dist/Typography-r_TXEM1e.js +257 -0
  8. package/dist/assets/circular-progress-loader.css +1 -0
  9. package/dist/assets/upload-dialog-errors.css +1 -0
  10. package/dist/assets/upload-dialog.css +1 -1
  11. package/dist/chainPropTypes-KIxDwPzf.js +387 -0
  12. package/dist/components/button/button.js +1 -1
  13. package/dist/components/circular-progress-loader/circular-progress-loader.d.ts +3 -0
  14. package/dist/components/circular-progress-loader/circular-progress-loader.js +44 -0
  15. package/dist/components/circular-progress-loader/circular-progress-loader.stories.d.ts +7 -0
  16. package/dist/components/circular-progress-loader/constants.d.ts +2 -0
  17. package/dist/components/circular-progress-loader/constants.js +5 -0
  18. package/dist/components/circular-progress-loader/index.d.ts +1 -0
  19. package/dist/components/circular-progress-loader/index.js +4 -0
  20. package/dist/components/circular-progress-loader/types.d.ts +6 -0
  21. package/dist/components/circular-progress-loader/types.js +1 -0
  22. package/dist/components/index.d.ts +1 -0
  23. package/dist/components/index.js +6 -4
  24. package/dist/components/photo-crop-uploader/components/error-upload-dialog/error-upload-dialog.js +41 -39
  25. package/dist/components/photo-crop-uploader/components/photo-list/photo-list.js +22 -73
  26. package/dist/components/photo-crop-uploader/components/upload-button/upload-button.js +17 -17
  27. package/dist/components/photo-crop-uploader/components/upload-dialog/types.d.ts +12 -1
  28. package/dist/components/photo-crop-uploader/components/upload-dialog/upload-dialog-errors.d.ts +3 -0
  29. package/dist/components/photo-crop-uploader/components/upload-dialog/upload-dialog-errors.js +10 -0
  30. package/dist/components/photo-crop-uploader/components/upload-dialog/upload-dialog.js +152 -127
  31. package/dist/components/photo-crop-uploader/constants.d.ts +3 -0
  32. package/dist/components/photo-crop-uploader/constants.js +35 -32
  33. package/dist/components/photo-crop-uploader/locale.js +8 -2
  34. package/dist/components/photo-crop-uploader/photo-crop-uploader.js +169 -145
  35. package/dist/components/photo-crop-uploader/types.d.ts +4 -0
  36. package/dist/constants.d.ts +2 -0
  37. package/dist/constants.js +3 -1
  38. package/dist/createSimplePaletteValueFilter-nb0wSOzC.js +30 -0
  39. package/dist/{createTheme-DSHGFfg6.js → createTheme-RvzX1VSA.js} +4 -4
  40. package/dist/decorators/centered-decorator.d.ts +3 -0
  41. package/dist/decorators/centered-decorator.js +16 -0
  42. package/dist/decorators/index.d.ts +1 -0
  43. package/dist/decorators/index.js +4 -0
  44. package/dist/decorators/types.d.ts +4 -0
  45. package/dist/decorators/types.js +1 -0
  46. package/dist/extendSxProp-BW9e6LtL.js +36 -0
  47. package/dist/index.d.ts +1 -1
  48. package/dist/index.js +16 -14
  49. package/dist/upload-dialog-errors-ku54UrUb.js +365 -0
  50. package/dist/useId-CK6Kn3Tn.js +21 -0
  51. package/dist/useTheme-CsjkCBFJ.js +16 -0
  52. package/package.json +8 -8
  53. package/dist/ButtonBase-CXGZ-DBC.js +0 -1346
  54. package/dist/CircularProgress-CscJm1An.js +0 -291
  55. package/dist/extendSxProp-CzeED7BH.js +0 -49
@@ -1,44 +1,44 @@
1
- import * as m from "react";
2
- import te from "react";
3
- import { h as dt, P as e, g as V, a as H, q as Le, b as A, t as Fe, e as W } from "./createTheme-DSHGFfg6.js";
4
- import { e as pt, _ as ft, f as gt, T as Qe, u as q, s as I, c as K, b as _e, g as ce, h as $e, i as Be } from "./ButtonBase-CXGZ-DBC.js";
5
- import { u as yt, e as mt } from "./extendSxProp-CzeED7BH.js";
6
- import { jsx as D, jsxs as et } from "react/jsx-runtime";
7
- import { m as ue, c as ht, u as bt } from "./CircularProgress-CscJm1An.js";
8
- import { g as vt } from "./index-B2JRaoNz.js";
9
- const Et = "exact-prop: ​";
10
- function tt(t) {
1
+ import * as h from "react";
2
+ import X from "react";
3
+ import { h as lt, P as e, g as ge, a as he, q as Le, c as B, t as Fe, b as Z } from "./createTheme-RvzX1VSA.js";
4
+ import { c as ct } from "./DialogTitle-Du4tqTs0.js";
5
+ import { e as ut, u as be, s as H, c as ve, b as ke } from "./chainPropTypes-KIxDwPzf.js";
6
+ import { u as dt } from "./useTheme-CsjkCBFJ.js";
7
+ import { jsx as M, jsxs as Ze } from "react/jsx-runtime";
8
+ import { m as _e } from "./createSimplePaletteValueFilter-nb0wSOzC.js";
9
+ import { _ as pt, a as ft, T as Je, u as ie, b as je, c as $e } from "./ButtonBase-T2KH9jsD.js";
10
+ import { g as mt } from "./index-B2JRaoNz.js";
11
+ import { u as yt } from "./useId-CK6Kn3Tn.js";
12
+ const gt = "exact-prop: ​";
13
+ function Qe(t) {
11
14
  return process.env.NODE_ENV === "production" ? t : {
12
15
  ...t,
13
- [Et]: (n) => {
14
- const r = Object.keys(n).filter((o) => !t.hasOwnProperty(o));
15
- return r.length > 0 ? new Error(`The following props are not supported: ${r.map((o) => `\`${o}\``).join(", ")}. Please remove them.`) : null;
16
+ [gt]: (n) => {
17
+ const i = Object.keys(n).filter((r) => !t.hasOwnProperty(r));
18
+ return i.length > 0 ? new Error(`The following props are not supported: ${i.map((r) => `\`${r}\``).join(", ")}. Please remove them.`) : null;
16
19
  }
17
20
  };
18
21
  }
19
- function ke() {
20
- const t = yt(pt);
21
- return process.env.NODE_ENV !== "production" && m.useDebugValue(t), t[dt] || t;
22
+ function Ce() {
23
+ const t = dt(ut);
24
+ return process.env.NODE_ENV !== "production" && h.useDebugValue(t), t[lt] || t;
22
25
  }
23
- function We(...t) {
24
- return t.reduce((n, r) => r == null ? n : function(...a) {
25
- n.apply(this, a), r.apply(this, a);
26
+ function Be(...t) {
27
+ return t.reduce((n, i) => i == null ? n : function(...a) {
28
+ n.apply(this, a), i.apply(this, a);
26
29
  }, () => {
27
30
  });
28
31
  }
29
- function Tt() {
30
- return mt;
31
- }
32
- function X(t) {
32
+ function q(t) {
33
33
  return t && t.ownerDocument || document;
34
34
  }
35
- function he(t) {
36
- return X(t).defaultView || window;
35
+ function pe(t) {
36
+ return q(t).defaultView || window;
37
37
  }
38
- function Ue(t, n) {
38
+ function He(t, n) {
39
39
  typeof t == "function" ? t(n) : t && (t.current = n);
40
40
  }
41
- var ge = { exports: {} }, C = {};
41
+ var ce = { exports: {} }, w = {};
42
42
  /**
43
43
  * @license React
44
44
  * react-dom.production.js
@@ -48,108 +48,108 @@ var ge = { exports: {} }, C = {};
48
48
  * This source code is licensed under the MIT license found in the
49
49
  * LICENSE file in the root directory of this source tree.
50
50
  */
51
- var Ve;
52
- function xt() {
53
- if (Ve) return C;
54
- Ve = 1;
55
- var t = te;
56
- function n(d) {
57
- var l = "https://react.dev/errors/" + d;
51
+ var We;
52
+ function ht() {
53
+ if (We) return w;
54
+ We = 1;
55
+ var t = X;
56
+ function n(u) {
57
+ var l = "https://react.dev/errors/" + u;
58
58
  if (1 < arguments.length) {
59
59
  l += "?args[]=" + encodeURIComponent(arguments[1]);
60
- for (var g = 2; g < arguments.length; g++)
61
- l += "&args[]=" + encodeURIComponent(arguments[g]);
60
+ for (var m = 2; m < arguments.length; m++)
61
+ l += "&args[]=" + encodeURIComponent(arguments[m]);
62
62
  }
63
- return "Minified React error #" + d + "; visit " + l + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
63
+ return "Minified React error #" + u + "; visit " + l + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
64
64
  }
65
- function r() {
65
+ function i() {
66
66
  }
67
- var o = {
67
+ var r = {
68
68
  d: {
69
- f: r,
69
+ f: i,
70
70
  r: function() {
71
71
  throw Error(n(522));
72
72
  },
73
- D: r,
74
- C: r,
75
- L: r,
76
- m: r,
77
- X: r,
78
- S: r,
79
- M: r
73
+ D: i,
74
+ C: i,
75
+ L: i,
76
+ m: i,
77
+ X: i,
78
+ S: i,
79
+ M: i
80
80
  },
81
81
  p: 0,
82
82
  findDOMNode: null
83
83
  }, a = Symbol.for("react.portal");
84
- function i(d, l, g) {
84
+ function s(u, l, m) {
85
85
  var c = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
86
86
  return {
87
87
  $$typeof: a,
88
88
  key: c == null ? null : "" + c,
89
- children: d,
89
+ children: u,
90
90
  containerInfo: l,
91
- implementation: g
91
+ implementation: m
92
92
  };
93
93
  }
94
- var u = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
95
- function p(d, l) {
96
- if (d === "font") return "";
94
+ var d = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
95
+ function p(u, l) {
96
+ if (u === "font") return "";
97
97
  if (typeof l == "string")
98
98
  return l === "use-credentials" ? l : "";
99
99
  }
100
- return C.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = o, C.createPortal = function(d, l) {
101
- var g = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
100
+ return w.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = r, w.createPortal = function(u, l) {
101
+ var m = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
102
102
  if (!l || l.nodeType !== 1 && l.nodeType !== 9 && l.nodeType !== 11)
103
103
  throw Error(n(299));
104
- return i(d, l, null, g);
105
- }, C.flushSync = function(d) {
106
- var l = u.T, g = o.p;
104
+ return s(u, l, null, m);
105
+ }, w.flushSync = function(u) {
106
+ var l = d.T, m = r.p;
107
107
  try {
108
- if (u.T = null, o.p = 2, d) return d();
108
+ if (d.T = null, r.p = 2, u) return u();
109
109
  } finally {
110
- u.T = l, o.p = g, o.d.f();
110
+ d.T = l, r.p = m, r.d.f();
111
111
  }
112
- }, C.preconnect = function(d, l) {
113
- typeof d == "string" && (l ? (l = l.crossOrigin, l = typeof l == "string" ? l === "use-credentials" ? l : "" : void 0) : l = null, o.d.C(d, l));
114
- }, C.prefetchDNS = function(d) {
115
- typeof d == "string" && o.d.D(d);
116
- }, C.preinit = function(d, l) {
117
- if (typeof d == "string" && l && typeof l.as == "string") {
118
- var g = l.as, c = p(g, l.crossOrigin), s = typeof l.integrity == "string" ? l.integrity : void 0, f = typeof l.fetchPriority == "string" ? l.fetchPriority : void 0;
119
- g === "style" ? o.d.S(
120
- d,
112
+ }, w.preconnect = function(u, l) {
113
+ typeof u == "string" && (l ? (l = l.crossOrigin, l = typeof l == "string" ? l === "use-credentials" ? l : "" : void 0) : l = null, r.d.C(u, l));
114
+ }, w.prefetchDNS = function(u) {
115
+ typeof u == "string" && r.d.D(u);
116
+ }, w.preinit = function(u, l) {
117
+ if (typeof u == "string" && l && typeof l.as == "string") {
118
+ var m = l.as, c = p(m, l.crossOrigin), o = typeof l.integrity == "string" ? l.integrity : void 0, f = typeof l.fetchPriority == "string" ? l.fetchPriority : void 0;
119
+ m === "style" ? r.d.S(
120
+ u,
121
121
  typeof l.precedence == "string" ? l.precedence : void 0,
122
122
  {
123
123
  crossOrigin: c,
124
- integrity: s,
124
+ integrity: o,
125
125
  fetchPriority: f
126
126
  }
127
- ) : g === "script" && o.d.X(d, {
127
+ ) : m === "script" && r.d.X(u, {
128
128
  crossOrigin: c,
129
- integrity: s,
129
+ integrity: o,
130
130
  fetchPriority: f,
131
131
  nonce: typeof l.nonce == "string" ? l.nonce : void 0
132
132
  });
133
133
  }
134
- }, C.preinitModule = function(d, l) {
135
- if (typeof d == "string")
134
+ }, w.preinitModule = function(u, l) {
135
+ if (typeof u == "string")
136
136
  if (typeof l == "object" && l !== null) {
137
137
  if (l.as == null || l.as === "script") {
138
- var g = p(
138
+ var m = p(
139
139
  l.as,
140
140
  l.crossOrigin
141
141
  );
142
- o.d.M(d, {
143
- crossOrigin: g,
142
+ r.d.M(u, {
143
+ crossOrigin: m,
144
144
  integrity: typeof l.integrity == "string" ? l.integrity : void 0,
145
145
  nonce: typeof l.nonce == "string" ? l.nonce : void 0
146
146
  });
147
147
  }
148
- } else l == null && o.d.M(d);
149
- }, C.preload = function(d, l) {
150
- if (typeof d == "string" && typeof l == "object" && l !== null && typeof l.as == "string") {
151
- var g = l.as, c = p(g, l.crossOrigin);
152
- o.d.L(d, g, {
148
+ } else l == null && r.d.M(u);
149
+ }, w.preload = function(u, l) {
150
+ if (typeof u == "string" && typeof l == "object" && l !== null && typeof l.as == "string") {
151
+ var m = l.as, c = p(m, l.crossOrigin);
152
+ r.d.L(u, m, {
153
153
  crossOrigin: c,
154
154
  integrity: typeof l.integrity == "string" ? l.integrity : void 0,
155
155
  nonce: typeof l.nonce == "string" ? l.nonce : void 0,
@@ -161,27 +161,27 @@ function xt() {
161
161
  media: typeof l.media == "string" ? l.media : void 0
162
162
  });
163
163
  }
164
- }, C.preloadModule = function(d, l) {
165
- if (typeof d == "string")
164
+ }, w.preloadModule = function(u, l) {
165
+ if (typeof u == "string")
166
166
  if (l) {
167
- var g = p(l.as, l.crossOrigin);
168
- o.d.m(d, {
167
+ var m = p(l.as, l.crossOrigin);
168
+ r.d.m(u, {
169
169
  as: typeof l.as == "string" && l.as !== "script" ? l.as : void 0,
170
- crossOrigin: g,
170
+ crossOrigin: m,
171
171
  integrity: typeof l.integrity == "string" ? l.integrity : void 0
172
172
  });
173
- } else o.d.m(d);
174
- }, C.requestFormReset = function(d) {
175
- o.d.r(d);
176
- }, C.unstable_batchedUpdates = function(d, l) {
177
- return d(l);
178
- }, C.useFormState = function(d, l, g) {
179
- return u.H.useFormState(d, l, g);
180
- }, C.useFormStatus = function() {
181
- return u.H.useHostTransitionStatus();
182
- }, C.version = "19.1.1", C;
173
+ } else r.d.m(u);
174
+ }, w.requestFormReset = function(u) {
175
+ r.d.r(u);
176
+ }, w.unstable_batchedUpdates = function(u, l) {
177
+ return u(l);
178
+ }, w.useFormState = function(u, l, m) {
179
+ return d.H.useFormState(u, l, m);
180
+ }, w.useFormStatus = function() {
181
+ return d.H.useHostTransitionStatus();
182
+ }, w.version = "19.1.1", w;
183
183
  }
184
- var _ = {};
184
+ var k = {};
185
185
  /**
186
186
  * @license React
187
187
  * react-dom.development.js
@@ -191,15 +191,15 @@ var _ = {};
191
191
  * This source code is licensed under the MIT license found in the
192
192
  * LICENSE file in the root directory of this source tree.
193
193
  */
194
- var He;
195
- function Ot() {
196
- return He || (He = 1, process.env.NODE_ENV !== "production" && (function() {
194
+ var Ue;
195
+ function bt() {
196
+ return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && (function() {
197
197
  function t() {
198
198
  }
199
199
  function n(c) {
200
200
  return "" + c;
201
201
  }
202
- function r(c, s, f) {
202
+ function i(c, o, f) {
203
203
  var y = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
204
204
  try {
205
205
  n(y);
@@ -214,23 +214,23 @@ function Ot() {
214
214
  $$typeof: l,
215
215
  key: y == null ? null : "" + y,
216
216
  children: c,
217
- containerInfo: s,
217
+ containerInfo: o,
218
218
  implementation: f
219
219
  };
220
220
  }
221
- function o(c, s) {
221
+ function r(c, o) {
222
222
  if (c === "font") return "";
223
- if (typeof s == "string")
224
- return s === "use-credentials" ? s : "";
223
+ if (typeof o == "string")
224
+ return o === "use-credentials" ? o : "";
225
225
  }
226
226
  function a(c) {
227
227
  return c === null ? "`null`" : c === void 0 ? "`undefined`" : c === "" ? "an empty string" : 'something with type "' + typeof c + '"';
228
228
  }
229
- function i(c) {
229
+ function s(c) {
230
230
  return c === null ? "`null`" : c === void 0 ? "`undefined`" : c === "" ? "an empty string" : typeof c == "string" ? JSON.stringify(c) : typeof c == "number" ? "`" + c + "`" : 'something with type "' + typeof c + '"';
231
231
  }
232
- function u() {
233
- var c = g.H;
232
+ function d() {
233
+ var c = m.H;
234
234
  return c === null && console.error(
235
235
  `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
236
236
  1. You might have mismatching versions of React and the renderer (such as React DOM)
@@ -240,7 +240,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
240
240
  ), c;
241
241
  }
242
242
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
243
- var p = te, d = {
243
+ var p = X, u = {
244
244
  d: {
245
245
  f: t,
246
246
  r: function() {
@@ -258,156 +258,156 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
258
258
  },
259
259
  p: 0,
260
260
  findDOMNode: null
261
- }, l = Symbol.for("react.portal"), g = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
261
+ }, l = Symbol.for("react.portal"), m = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
262
262
  typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
263
263
  "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
264
- ), _.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = d, _.createPortal = function(c, s) {
264
+ ), k.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = u, k.createPortal = function(c, o) {
265
265
  var f = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
266
- if (!s || s.nodeType !== 1 && s.nodeType !== 9 && s.nodeType !== 11)
266
+ if (!o || o.nodeType !== 1 && o.nodeType !== 9 && o.nodeType !== 11)
267
267
  throw Error("Target container is not a DOM element.");
268
- return r(c, s, null, f);
269
- }, _.flushSync = function(c) {
270
- var s = g.T, f = d.p;
268
+ return i(c, o, null, f);
269
+ }, k.flushSync = function(c) {
270
+ var o = m.T, f = u.p;
271
271
  try {
272
- if (g.T = null, d.p = 2, c)
272
+ if (m.T = null, u.p = 2, c)
273
273
  return c();
274
274
  } finally {
275
- g.T = s, d.p = f, d.d.f() && console.error(
275
+ m.T = o, u.p = f, u.d.f() && console.error(
276
276
  "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
277
277
  );
278
278
  }
279
- }, _.preconnect = function(c, s) {
280
- typeof c == "string" && c ? s != null && typeof s != "object" ? console.error(
279
+ }, k.preconnect = function(c, o) {
280
+ typeof c == "string" && c ? o != null && typeof o != "object" ? console.error(
281
281
  "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
282
- i(s)
283
- ) : s != null && typeof s.crossOrigin != "string" && console.error(
282
+ s(o)
283
+ ) : o != null && typeof o.crossOrigin != "string" && console.error(
284
284
  "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
285
- a(s.crossOrigin)
285
+ a(o.crossOrigin)
286
286
  ) : console.error(
287
287
  "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
288
288
  a(c)
289
- ), typeof c == "string" && (s ? (s = s.crossOrigin, s = typeof s == "string" ? s === "use-credentials" ? s : "" : void 0) : s = null, d.d.C(c, s));
290
- }, _.prefetchDNS = function(c) {
289
+ ), typeof c == "string" && (o ? (o = o.crossOrigin, o = typeof o == "string" ? o === "use-credentials" ? o : "" : void 0) : o = null, u.d.C(c, o));
290
+ }, k.prefetchDNS = function(c) {
291
291
  if (typeof c != "string" || !c)
292
292
  console.error(
293
293
  "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
294
294
  a(c)
295
295
  );
296
296
  else if (1 < arguments.length) {
297
- var s = arguments[1];
298
- typeof s == "object" && s.hasOwnProperty("crossOrigin") ? console.error(
297
+ var o = arguments[1];
298
+ typeof o == "object" && o.hasOwnProperty("crossOrigin") ? console.error(
299
299
  "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
300
- i(s)
300
+ s(o)
301
301
  ) : console.error(
302
302
  "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
303
- i(s)
303
+ s(o)
304
304
  );
305
305
  }
306
- typeof c == "string" && d.d.D(c);
307
- }, _.preinit = function(c, s) {
308
- if (typeof c == "string" && c ? s == null || typeof s != "object" ? console.error(
306
+ typeof c == "string" && u.d.D(c);
307
+ }, k.preinit = function(c, o) {
308
+ if (typeof c == "string" && c ? o == null || typeof o != "object" ? console.error(
309
309
  "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
310
- i(s)
311
- ) : s.as !== "style" && s.as !== "script" && console.error(
310
+ s(o)
311
+ ) : o.as !== "style" && o.as !== "script" && console.error(
312
312
  'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
313
- i(s.as)
313
+ s(o.as)
314
314
  ) : console.error(
315
315
  "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
316
316
  a(c)
317
- ), typeof c == "string" && s && typeof s.as == "string") {
318
- var f = s.as, y = o(f, s.crossOrigin), E = typeof s.integrity == "string" ? s.integrity : void 0, T = typeof s.fetchPriority == "string" ? s.fetchPriority : void 0;
319
- f === "style" ? d.d.S(
317
+ ), typeof c == "string" && o && typeof o.as == "string") {
318
+ var f = o.as, y = r(f, o.crossOrigin), E = typeof o.integrity == "string" ? o.integrity : void 0, O = typeof o.fetchPriority == "string" ? o.fetchPriority : void 0;
319
+ f === "style" ? u.d.S(
320
320
  c,
321
- typeof s.precedence == "string" ? s.precedence : void 0,
321
+ typeof o.precedence == "string" ? o.precedence : void 0,
322
322
  {
323
323
  crossOrigin: y,
324
324
  integrity: E,
325
- fetchPriority: T
325
+ fetchPriority: O
326
326
  }
327
- ) : f === "script" && d.d.X(c, {
327
+ ) : f === "script" && u.d.X(c, {
328
328
  crossOrigin: y,
329
329
  integrity: E,
330
- fetchPriority: T,
331
- nonce: typeof s.nonce == "string" ? s.nonce : void 0
330
+ fetchPriority: O,
331
+ nonce: typeof o.nonce == "string" ? o.nonce : void 0
332
332
  });
333
333
  }
334
- }, _.preinitModule = function(c, s) {
334
+ }, k.preinitModule = function(c, o) {
335
335
  var f = "";
336
- if (typeof c == "string" && c || (f += " The `href` argument encountered was " + a(c) + "."), s !== void 0 && typeof s != "object" ? f += " The `options` argument encountered was " + a(s) + "." : s && "as" in s && s.as !== "script" && (f += " The `as` option encountered was " + i(s.as) + "."), f)
336
+ if (typeof c == "string" && c || (f += " The `href` argument encountered was " + a(c) + "."), o !== void 0 && typeof o != "object" ? f += " The `options` argument encountered was " + a(o) + "." : o && "as" in o && o.as !== "script" && (f += " The `as` option encountered was " + s(o.as) + "."), f)
337
337
  console.error(
338
338
  "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
339
339
  f
340
340
  );
341
341
  else
342
- switch (f = s && typeof s.as == "string" ? s.as : "script", f) {
342
+ switch (f = o && typeof o.as == "string" ? o.as : "script", f) {
343
343
  case "script":
344
344
  break;
345
345
  default:
346
- f = i(f), console.error(
346
+ f = s(f), console.error(
347
347
  'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
348
348
  f,
349
349
  c
350
350
  );
351
351
  }
352
- typeof c == "string" && (typeof s == "object" && s !== null ? (s.as == null || s.as === "script") && (f = o(
353
- s.as,
354
- s.crossOrigin
355
- ), d.d.M(c, {
352
+ typeof c == "string" && (typeof o == "object" && o !== null ? (o.as == null || o.as === "script") && (f = r(
353
+ o.as,
354
+ o.crossOrigin
355
+ ), u.d.M(c, {
356
356
  crossOrigin: f,
357
- integrity: typeof s.integrity == "string" ? s.integrity : void 0,
358
- nonce: typeof s.nonce == "string" ? s.nonce : void 0
359
- })) : s == null && d.d.M(c));
360
- }, _.preload = function(c, s) {
357
+ integrity: typeof o.integrity == "string" ? o.integrity : void 0,
358
+ nonce: typeof o.nonce == "string" ? o.nonce : void 0
359
+ })) : o == null && u.d.M(c));
360
+ }, k.preload = function(c, o) {
361
361
  var f = "";
362
- if (typeof c == "string" && c || (f += " The `href` argument encountered was " + a(c) + "."), s == null || typeof s != "object" ? f += " The `options` argument encountered was " + a(s) + "." : typeof s.as == "string" && s.as || (f += " The `as` option encountered was " + a(s.as) + "."), f && console.error(
362
+ if (typeof c == "string" && c || (f += " The `href` argument encountered was " + a(c) + "."), o == null || typeof o != "object" ? f += " The `options` argument encountered was " + a(o) + "." : typeof o.as == "string" && o.as || (f += " The `as` option encountered was " + a(o.as) + "."), f && console.error(
363
363
  'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
364
364
  f
365
- ), typeof c == "string" && typeof s == "object" && s !== null && typeof s.as == "string") {
366
- f = s.as;
367
- var y = o(
365
+ ), typeof c == "string" && typeof o == "object" && o !== null && typeof o.as == "string") {
366
+ f = o.as;
367
+ var y = r(
368
368
  f,
369
- s.crossOrigin
369
+ o.crossOrigin
370
370
  );
371
- d.d.L(c, f, {
371
+ u.d.L(c, f, {
372
372
  crossOrigin: y,
373
- integrity: typeof s.integrity == "string" ? s.integrity : void 0,
374
- nonce: typeof s.nonce == "string" ? s.nonce : void 0,
375
- type: typeof s.type == "string" ? s.type : void 0,
376
- fetchPriority: typeof s.fetchPriority == "string" ? s.fetchPriority : void 0,
377
- referrerPolicy: typeof s.referrerPolicy == "string" ? s.referrerPolicy : void 0,
378
- imageSrcSet: typeof s.imageSrcSet == "string" ? s.imageSrcSet : void 0,
379
- imageSizes: typeof s.imageSizes == "string" ? s.imageSizes : void 0,
380
- media: typeof s.media == "string" ? s.media : void 0
373
+ integrity: typeof o.integrity == "string" ? o.integrity : void 0,
374
+ nonce: typeof o.nonce == "string" ? o.nonce : void 0,
375
+ type: typeof o.type == "string" ? o.type : void 0,
376
+ fetchPriority: typeof o.fetchPriority == "string" ? o.fetchPriority : void 0,
377
+ referrerPolicy: typeof o.referrerPolicy == "string" ? o.referrerPolicy : void 0,
378
+ imageSrcSet: typeof o.imageSrcSet == "string" ? o.imageSrcSet : void 0,
379
+ imageSizes: typeof o.imageSizes == "string" ? o.imageSizes : void 0,
380
+ media: typeof o.media == "string" ? o.media : void 0
381
381
  });
382
382
  }
383
- }, _.preloadModule = function(c, s) {
383
+ }, k.preloadModule = function(c, o) {
384
384
  var f = "";
385
- typeof c == "string" && c || (f += " The `href` argument encountered was " + a(c) + "."), s !== void 0 && typeof s != "object" ? f += " The `options` argument encountered was " + a(s) + "." : s && "as" in s && typeof s.as != "string" && (f += " The `as` option encountered was " + a(s.as) + "."), f && console.error(
385
+ typeof c == "string" && c || (f += " The `href` argument encountered was " + a(c) + "."), o !== void 0 && typeof o != "object" ? f += " The `options` argument encountered was " + a(o) + "." : o && "as" in o && typeof o.as != "string" && (f += " The `as` option encountered was " + a(o.as) + "."), f && console.error(
386
386
  'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
387
387
  f
388
- ), typeof c == "string" && (s ? (f = o(
389
- s.as,
390
- s.crossOrigin
391
- ), d.d.m(c, {
392
- as: typeof s.as == "string" && s.as !== "script" ? s.as : void 0,
388
+ ), typeof c == "string" && (o ? (f = r(
389
+ o.as,
390
+ o.crossOrigin
391
+ ), u.d.m(c, {
392
+ as: typeof o.as == "string" && o.as !== "script" ? o.as : void 0,
393
393
  crossOrigin: f,
394
- integrity: typeof s.integrity == "string" ? s.integrity : void 0
395
- })) : d.d.m(c));
396
- }, _.requestFormReset = function(c) {
397
- d.d.r(c);
398
- }, _.unstable_batchedUpdates = function(c, s) {
399
- return c(s);
400
- }, _.useFormState = function(c, s, f) {
401
- return u().useFormState(c, s, f);
402
- }, _.useFormStatus = function() {
403
- return u().useHostTransitionStatus();
404
- }, _.version = "19.1.1", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
405
- })()), _;
394
+ integrity: typeof o.integrity == "string" ? o.integrity : void 0
395
+ })) : u.d.m(c));
396
+ }, k.requestFormReset = function(c) {
397
+ u.d.r(c);
398
+ }, k.unstable_batchedUpdates = function(c, o) {
399
+ return c(o);
400
+ }, k.useFormState = function(c, o, f) {
401
+ return d().useFormState(c, o, f);
402
+ }, k.useFormStatus = function() {
403
+ return d().useHostTransitionStatus();
404
+ }, k.version = "19.1.1", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
405
+ })()), k;
406
406
  }
407
- var qe;
408
- function St() {
409
- if (qe) return ge.exports;
410
- qe = 1;
407
+ var Ve;
408
+ function vt() {
409
+ if (Ve) return ce.exports;
410
+ Ve = 1;
411
411
  function t() {
412
412
  if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
413
413
  if (process.env.NODE_ENV !== "production")
@@ -419,13 +419,13 @@ function St() {
419
419
  }
420
420
  }
421
421
  }
422
- return process.env.NODE_ENV === "production" ? (t(), ge.exports = xt()) : ge.exports = Ot(), ge.exports;
422
+ return process.env.NODE_ENV === "production" ? (t(), ce.exports = ht()) : ce.exports = bt(), ce.exports;
423
423
  }
424
- var nt = St();
425
- const ye = /* @__PURE__ */ vt(nt), Ke = {
424
+ var et = vt();
425
+ const ue = /* @__PURE__ */ mt(et), qe = {
426
426
  disabled: !1
427
427
  };
428
- var Rt = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
428
+ var Et = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
429
429
  enter: e.number,
430
430
  exit: e.number,
431
431
  appear: e.number
@@ -442,138 +442,138 @@ process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
442
442
  exitDone: e.string,
443
443
  exitActive: e.string
444
444
  })]);
445
- var Nt = function(n) {
445
+ var Tt = function(n) {
446
446
  return n.scrollTop;
447
- }, ae = "unmounted", Y = "exited", z = "entering", ee = "entered", we = "exiting", U = /* @__PURE__ */ (function(t) {
448
- ft(n, t);
449
- function n(o, a) {
450
- var i;
451
- i = t.call(this, o, a) || this;
452
- var u = a, p = u && !u.isMounting ? o.enter : o.appear, d;
453
- return i.appearStatus = null, o.in ? p ? (d = Y, i.appearStatus = z) : d = ee : o.unmountOnExit || o.mountOnEnter ? d = ae : d = Y, i.state = {
454
- status: d
455
- }, i.nextCallback = null, i;
447
+ }, re = "unmounted", U = "exited", V = "entering", Y = "entered", De = "exiting", $ = /* @__PURE__ */ (function(t) {
448
+ pt(n, t);
449
+ function n(r, a) {
450
+ var s;
451
+ s = t.call(this, r, a) || this;
452
+ var d = a, p = d && !d.isMounting ? r.enter : r.appear, u;
453
+ return s.appearStatus = null, r.in ? p ? (u = U, s.appearStatus = V) : u = Y : r.unmountOnExit || r.mountOnEnter ? u = re : u = U, s.state = {
454
+ status: u
455
+ }, s.nextCallback = null, s;
456
456
  }
457
- n.getDerivedStateFromProps = function(a, i) {
458
- var u = a.in;
459
- return u && i.status === ae ? {
460
- status: Y
457
+ n.getDerivedStateFromProps = function(a, s) {
458
+ var d = a.in;
459
+ return d && s.status === re ? {
460
+ status: U
461
461
  } : null;
462
462
  };
463
- var r = n.prototype;
464
- return r.componentDidMount = function() {
463
+ var i = n.prototype;
464
+ return i.componentDidMount = function() {
465
465
  this.updateStatus(!0, this.appearStatus);
466
- }, r.componentDidUpdate = function(a) {
467
- var i = null;
466
+ }, i.componentDidUpdate = function(a) {
467
+ var s = null;
468
468
  if (a !== this.props) {
469
- var u = this.state.status;
470
- this.props.in ? u !== z && u !== ee && (i = z) : (u === z || u === ee) && (i = we);
469
+ var d = this.state.status;
470
+ this.props.in ? d !== V && d !== Y && (s = V) : (d === V || d === Y) && (s = De);
471
471
  }
472
- this.updateStatus(!1, i);
473
- }, r.componentWillUnmount = function() {
472
+ this.updateStatus(!1, s);
473
+ }, i.componentWillUnmount = function() {
474
474
  this.cancelNextCallback();
475
- }, r.getTimeouts = function() {
476
- var a = this.props.timeout, i, u, p;
477
- return i = u = p = a, a != null && typeof a != "number" && (i = a.exit, u = a.enter, p = a.appear !== void 0 ? a.appear : u), {
478
- exit: i,
479
- enter: u,
475
+ }, i.getTimeouts = function() {
476
+ var a = this.props.timeout, s, d, p;
477
+ return s = d = p = a, a != null && typeof a != "number" && (s = a.exit, d = a.enter, p = a.appear !== void 0 ? a.appear : d), {
478
+ exit: s,
479
+ enter: d,
480
480
  appear: p
481
481
  };
482
- }, r.updateStatus = function(a, i) {
483
- if (a === void 0 && (a = !1), i !== null)
484
- if (this.cancelNextCallback(), i === z) {
482
+ }, i.updateStatus = function(a, s) {
483
+ if (a === void 0 && (a = !1), s !== null)
484
+ if (this.cancelNextCallback(), s === V) {
485
485
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
486
- var u = this.props.nodeRef ? this.props.nodeRef.current : ye.findDOMNode(this);
487
- u && Nt(u);
486
+ var d = this.props.nodeRef ? this.props.nodeRef.current : ue.findDOMNode(this);
487
+ d && Tt(d);
488
488
  }
489
489
  this.performEnter(a);
490
490
  } else
491
491
  this.performExit();
492
- else this.props.unmountOnExit && this.state.status === Y && this.setState({
493
- status: ae
492
+ else this.props.unmountOnExit && this.state.status === U && this.setState({
493
+ status: re
494
494
  });
495
- }, r.performEnter = function(a) {
496
- var i = this, u = this.props.enter, p = this.context ? this.context.isMounting : a, d = this.props.nodeRef ? [p] : [ye.findDOMNode(this), p], l = d[0], g = d[1], c = this.getTimeouts(), s = p ? c.appear : c.enter;
497
- if (!a && !u || Ke.disabled) {
495
+ }, i.performEnter = function(a) {
496
+ var s = this, d = this.props.enter, p = this.context ? this.context.isMounting : a, u = this.props.nodeRef ? [p] : [ue.findDOMNode(this), p], l = u[0], m = u[1], c = this.getTimeouts(), o = p ? c.appear : c.enter;
497
+ if (!a && !d || qe.disabled) {
498
498
  this.safeSetState({
499
- status: ee
499
+ status: Y
500
500
  }, function() {
501
- i.props.onEntered(l);
501
+ s.props.onEntered(l);
502
502
  });
503
503
  return;
504
504
  }
505
- this.props.onEnter(l, g), this.safeSetState({
506
- status: z
505
+ this.props.onEnter(l, m), this.safeSetState({
506
+ status: V
507
507
  }, function() {
508
- i.props.onEntering(l, g), i.onTransitionEnd(s, function() {
509
- i.safeSetState({
510
- status: ee
508
+ s.props.onEntering(l, m), s.onTransitionEnd(o, function() {
509
+ s.safeSetState({
510
+ status: Y
511
511
  }, function() {
512
- i.props.onEntered(l, g);
512
+ s.props.onEntered(l, m);
513
513
  });
514
514
  });
515
515
  });
516
- }, r.performExit = function() {
517
- var a = this, i = this.props.exit, u = this.getTimeouts(), p = this.props.nodeRef ? void 0 : ye.findDOMNode(this);
518
- if (!i || Ke.disabled) {
516
+ }, i.performExit = function() {
517
+ var a = this, s = this.props.exit, d = this.getTimeouts(), p = this.props.nodeRef ? void 0 : ue.findDOMNode(this);
518
+ if (!s || qe.disabled) {
519
519
  this.safeSetState({
520
- status: Y
520
+ status: U
521
521
  }, function() {
522
522
  a.props.onExited(p);
523
523
  });
524
524
  return;
525
525
  }
526
526
  this.props.onExit(p), this.safeSetState({
527
- status: we
527
+ status: De
528
528
  }, function() {
529
- a.props.onExiting(p), a.onTransitionEnd(u.exit, function() {
529
+ a.props.onExiting(p), a.onTransitionEnd(d.exit, function() {
530
530
  a.safeSetState({
531
- status: Y
531
+ status: U
532
532
  }, function() {
533
533
  a.props.onExited(p);
534
534
  });
535
535
  });
536
536
  });
537
- }, r.cancelNextCallback = function() {
537
+ }, i.cancelNextCallback = function() {
538
538
  this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
539
- }, r.safeSetState = function(a, i) {
540
- i = this.setNextCallback(i), this.setState(a, i);
541
- }, r.setNextCallback = function(a) {
542
- var i = this, u = !0;
539
+ }, i.safeSetState = function(a, s) {
540
+ s = this.setNextCallback(s), this.setState(a, s);
541
+ }, i.setNextCallback = function(a) {
542
+ var s = this, d = !0;
543
543
  return this.nextCallback = function(p) {
544
- u && (u = !1, i.nextCallback = null, a(p));
544
+ d && (d = !1, s.nextCallback = null, a(p));
545
545
  }, this.nextCallback.cancel = function() {
546
- u = !1;
546
+ d = !1;
547
547
  }, this.nextCallback;
548
- }, r.onTransitionEnd = function(a, i) {
549
- this.setNextCallback(i);
550
- var u = this.props.nodeRef ? this.props.nodeRef.current : ye.findDOMNode(this), p = a == null && !this.props.addEndListener;
551
- if (!u || p) {
548
+ }, i.onTransitionEnd = function(a, s) {
549
+ this.setNextCallback(s);
550
+ var d = this.props.nodeRef ? this.props.nodeRef.current : ue.findDOMNode(this), p = a == null && !this.props.addEndListener;
551
+ if (!d || p) {
552
552
  setTimeout(this.nextCallback, 0);
553
553
  return;
554
554
  }
555
555
  if (this.props.addEndListener) {
556
- var d = this.props.nodeRef ? [this.nextCallback] : [u, this.nextCallback], l = d[0], g = d[1];
557
- this.props.addEndListener(l, g);
556
+ var u = this.props.nodeRef ? [this.nextCallback] : [d, this.nextCallback], l = u[0], m = u[1];
557
+ this.props.addEndListener(l, m);
558
558
  }
559
559
  a != null && setTimeout(this.nextCallback, a);
560
- }, r.render = function() {
560
+ }, i.render = function() {
561
561
  var a = this.state.status;
562
- if (a === ae)
562
+ if (a === re)
563
563
  return null;
564
- var i = this.props, u = i.children;
565
- i.in, i.mountOnEnter, i.unmountOnExit, i.appear, i.enter, i.exit, i.timeout, i.addEndListener, i.onEnter, i.onEntering, i.onEntered, i.onExit, i.onExiting, i.onExited, i.nodeRef;
566
- var p = gt(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
564
+ var s = this.props, d = s.children;
565
+ 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;
566
+ var p = ft(s, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
567
567
  return (
568
568
  // allows for nested Transitions
569
- /* @__PURE__ */ te.createElement(Qe.Provider, {
569
+ /* @__PURE__ */ X.createElement(Je.Provider, {
570
570
  value: null
571
- }, typeof u == "function" ? u(a, p) : te.cloneElement(te.Children.only(u), p))
571
+ }, typeof d == "function" ? d(a, p) : X.cloneElement(X.Children.only(d), p))
572
572
  );
573
573
  }, n;
574
- })(te.Component);
575
- U.contextType = Qe;
576
- U.propTypes = process.env.NODE_ENV !== "production" ? {
574
+ })(X.Component);
575
+ $.contextType = Je;
576
+ $.propTypes = process.env.NODE_ENV !== "production" ? {
577
577
  /**
578
578
  * A React reference to DOM element that need to transition:
579
579
  * https://stackoverflow.com/a/51127130/4671932
@@ -586,9 +586,9 @@ U.propTypes = process.env.NODE_ENV !== "production" ? {
586
586
  * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
587
587
  */
588
588
  nodeRef: e.shape({
589
- current: typeof Element > "u" ? e.any : function(t, n, r, o, a, i) {
590
- var u = t[n];
591
- return e.instanceOf(u && "ownerDocument" in u ? u.ownerDocument.defaultView.Element : Element)(t, n, r, o, a, i);
589
+ current: typeof Element > "u" ? e.any : function(t, n, i, r, a, s) {
590
+ var d = t[n];
591
+ return e.instanceOf(d && "ownerDocument" in d ? d.ownerDocument.defaultView.Element : Element)(t, n, i, r, a, s);
592
592
  }
593
593
  }),
594
594
  /**
@@ -669,11 +669,11 @@ U.propTypes = process.env.NODE_ENV !== "production" ? {
669
669
  * @type {number | { enter?: number, exit?: number, appear?: number }}
670
670
  */
671
671
  timeout: function(n) {
672
- var r = Rt;
673
- n.addEndListener || (r = r.isRequired);
674
- for (var o = arguments.length, a = new Array(o > 1 ? o - 1 : 0), i = 1; i < o; i++)
675
- a[i - 1] = arguments[i];
676
- return r.apply(void 0, [n].concat(a));
672
+ var i = Et;
673
+ n.addEndListener || (i = i.isRequired);
674
+ for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
675
+ a[s - 1] = arguments[s];
676
+ return i.apply(void 0, [n].concat(a));
677
677
  },
678
678
  /**
679
679
  * Add a custom transition end trigger. Called with the transitioning
@@ -742,41 +742,41 @@ U.propTypes = process.env.NODE_ENV !== "production" ? {
742
742
  */
743
743
  onExited: e.func
744
744
  } : {};
745
- function Q() {
745
+ function z() {
746
746
  }
747
- U.defaultProps = {
747
+ $.defaultProps = {
748
748
  in: !1,
749
749
  mountOnEnter: !1,
750
750
  unmountOnExit: !1,
751
751
  appear: !1,
752
752
  enter: !0,
753
753
  exit: !0,
754
- onEnter: Q,
755
- onEntering: Q,
756
- onEntered: Q,
757
- onExit: Q,
758
- onExiting: Q,
759
- onExited: Q
754
+ onEnter: z,
755
+ onEntering: z,
756
+ onEntered: z,
757
+ onExit: z,
758
+ onExiting: z,
759
+ onExited: z
760
760
  };
761
- U.UNMOUNTED = ae;
762
- U.EXITED = Y;
763
- U.ENTERING = z;
764
- U.ENTERED = ee;
765
- U.EXITING = we;
766
- const Dt = (t) => t.scrollTop;
767
- function Ge(t, n) {
761
+ $.UNMOUNTED = re;
762
+ $.EXITED = U;
763
+ $.ENTERING = V;
764
+ $.ENTERED = Y;
765
+ $.EXITING = De;
766
+ const xt = (t) => t.scrollTop;
767
+ function Ke(t, n) {
768
768
  const {
769
- timeout: r,
770
- easing: o,
769
+ timeout: i,
770
+ easing: r,
771
771
  style: a = {}
772
772
  } = t;
773
773
  return {
774
- duration: a.transitionDuration ?? (typeof r == "number" ? r : r[n.mode] || 0),
775
- easing: a.transitionTimingFunction ?? (typeof o == "object" ? o[n.mode] : o),
774
+ duration: a.transitionDuration ?? (typeof i == "number" ? i : i[n.mode] || 0),
775
+ easing: a.transitionTimingFunction ?? (typeof r == "object" ? r[n.mode] : r),
776
776
  delay: a.transitionDelay
777
777
  };
778
778
  }
779
- function Pt(t) {
779
+ function Ot(t) {
780
780
  const n = typeof t;
781
781
  switch (n) {
782
782
  case "number":
@@ -787,47 +787,47 @@ function Pt(t) {
787
787
  return n;
788
788
  }
789
789
  }
790
- function rt(t, n, r, o) {
790
+ function tt(t, n, i, r) {
791
791
  const a = t[n];
792
792
  if (a == null || !Number.isInteger(a)) {
793
- const i = Pt(a);
794
- return new RangeError(`Invalid ${o} \`${n}\` of type \`${i}\` supplied to \`${r}\`, expected \`integer\`.`);
793
+ const s = Ot(a);
794
+ return new RangeError(`Invalid ${r} \`${n}\` of type \`${s}\` supplied to \`${i}\`, expected \`integer\`.`);
795
795
  }
796
796
  return null;
797
797
  }
798
- function ot(t, n, r, o) {
799
- return t[n] === void 0 ? null : rt(t, n, r, o);
798
+ function nt(t, n, i, r) {
799
+ return t[n] === void 0 ? null : tt(t, n, i, r);
800
800
  }
801
- function Ce() {
801
+ function we() {
802
802
  return null;
803
803
  }
804
- ot.isRequired = rt;
805
- Ce.isRequired = Ce;
806
- const wt = process.env.NODE_ENV === "production" ? Ce : ot;
807
- function Ct(t) {
808
- return V("MuiPaper", t);
804
+ nt.isRequired = tt;
805
+ we.isRequired = we;
806
+ const St = process.env.NODE_ENV === "production" ? we : nt;
807
+ function Rt(t) {
808
+ return ge("MuiPaper", t);
809
809
  }
810
- H("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"]);
811
- const _t = (t) => {
810
+ he("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"]);
811
+ const Pt = (t) => {
812
812
  const {
813
813
  square: n,
814
- elevation: r,
815
- variant: o,
814
+ elevation: i,
815
+ variant: r,
816
816
  classes: a
817
- } = t, i = {
818
- root: ["root", o, !n && "rounded", o === "elevation" && `elevation${r}`]
817
+ } = t, s = {
818
+ root: ["root", r, !n && "rounded", r === "elevation" && `elevation${i}`]
819
819
  };
820
- return K(i, Ct, a);
821
- }, kt = I("div", {
820
+ return ve(s, Rt, a);
821
+ }, Nt = H("div", {
822
822
  name: "MuiPaper",
823
823
  slot: "Root",
824
824
  overridesResolver: (t, n) => {
825
825
  const {
826
- ownerState: r
826
+ ownerState: i
827
827
  } = t;
828
- return [n.root, n[r.variant], !r.square && n.rounded, r.variant === "elevation" && n[`elevation${r.elevation}`]];
828
+ return [n.root, n[i.variant], !i.square && n.rounded, i.variant === "elevation" && n[`elevation${i.elevation}`]];
829
829
  }
830
- })(ue(({
830
+ })(_e(({
831
831
  theme: t
832
832
  }) => ({
833
833
  backgroundColor: (t.vars || t).palette.background.paper,
@@ -856,31 +856,31 @@ const _t = (t) => {
856
856
  backgroundImage: "var(--Paper-overlay)"
857
857
  }
858
858
  }]
859
- }))), Me = /* @__PURE__ */ m.forwardRef(function(n, r) {
860
- const o = q({
859
+ }))), Me = /* @__PURE__ */ h.forwardRef(function(n, i) {
860
+ const r = be({
861
861
  props: n,
862
862
  name: "MuiPaper"
863
- }), a = ke(), {
864
- className: i,
865
- component: u = "div",
863
+ }), a = Ce(), {
864
+ className: s,
865
+ component: d = "div",
866
866
  elevation: p = 1,
867
- square: d = !1,
867
+ square: u = !1,
868
868
  variant: l = "elevation",
869
- ...g
870
- } = o, c = {
871
- ...o,
872
- component: u,
869
+ ...m
870
+ } = r, c = {
871
+ ...r,
872
+ component: d,
873
873
  elevation: p,
874
- square: d,
874
+ square: u,
875
875
  variant: l
876
- }, s = _t(c);
876
+ }, o = Pt(c);
877
877
  return process.env.NODE_ENV !== "production" && a.shadows[p] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${p}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${p}]\` is defined.`].join(`
878
- `)), /* @__PURE__ */ D(kt, {
879
- as: u,
878
+ `)), /* @__PURE__ */ M(Nt, {
879
+ as: d,
880
880
  ownerState: c,
881
- className: A(s.root, i),
882
- ref: r,
883
- ...g,
881
+ className: B(o.root, s),
882
+ ref: i,
883
+ ...m,
884
884
  style: {
885
885
  ...l === "elevation" && {
886
886
  "--Paper-shadow": (a.vars || a).shadows[p],
@@ -891,7 +891,7 @@ const _t = (t) => {
891
891
  "--Paper-overlay": `linear-gradient(${Le("#fff", Fe(p))}, ${Le("#fff", Fe(p))})`
892
892
  }
893
893
  },
894
- ...g.style
894
+ ...m.style
895
895
  }
896
896
  });
897
897
  });
@@ -922,12 +922,12 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
922
922
  * It accepts values between 0 and 24 inclusive.
923
923
  * @default 1
924
924
  */
925
- elevation: _e(wt, (t) => {
925
+ elevation: ke(St, (t) => {
926
926
  const {
927
927
  elevation: n,
928
- variant: r
928
+ variant: i
929
929
  } = t;
930
- return n > 0 && r === "outlined" ? new Error(`MUI: Combining \`elevation={${n}}\` with \`variant="${r}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`) : null;
930
+ return n > 0 && i === "outlined" ? new Error(`MUI: Combining \`elevation={${n}}\` with \`variant="${i}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`) : null;
931
931
  }),
932
932
  /**
933
933
  * If `true`, rounded corners are disabled.
@@ -948,404 +948,159 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
948
948
  */
949
949
  variant: e.oneOfType([e.oneOf(["elevation", "outlined"]), e.string])
950
950
  });
951
- function Mt(t) {
951
+ function Dt(t) {
952
952
  return typeof t == "string";
953
953
  }
954
- function At(t, n, r) {
955
- return t === void 0 || Mt(t) ? n : {
954
+ function wt(t, n, i) {
955
+ return t === void 0 || Dt(t) ? n : {
956
956
  ...n,
957
957
  ownerState: {
958
958
  ...n.ownerState,
959
- ...r
959
+ ...i
960
960
  }
961
961
  };
962
962
  }
963
- function It(t, n, r) {
964
- return typeof t == "function" ? t(n, r) : t;
963
+ function kt(t, n, i) {
964
+ return typeof t == "function" ? t(n, i) : t;
965
965
  }
966
- function it(t, n = []) {
966
+ function rt(t, n = []) {
967
967
  if (t === void 0)
968
968
  return {};
969
- const r = {};
970
- return Object.keys(t).filter((o) => o.match(/^on[A-Z]/) && typeof t[o] == "function" && !n.includes(o)).forEach((o) => {
971
- r[o] = t[o];
972
- }), r;
969
+ const i = {};
970
+ return Object.keys(t).filter((r) => r.match(/^on[A-Z]/) && typeof t[r] == "function" && !n.includes(r)).forEach((r) => {
971
+ i[r] = t[r];
972
+ }), i;
973
973
  }
974
- function Ye(t) {
974
+ function Ge(t) {
975
975
  if (t === void 0)
976
976
  return {};
977
977
  const n = {};
978
- return Object.keys(t).filter((r) => !(r.match(/^on[A-Z]/) && typeof t[r] == "function")).forEach((r) => {
979
- n[r] = t[r];
978
+ return Object.keys(t).filter((i) => !(i.match(/^on[A-Z]/) && typeof t[i] == "function")).forEach((i) => {
979
+ n[i] = t[i];
980
980
  }), n;
981
981
  }
982
- function jt(t) {
982
+ function _t(t) {
983
983
  const {
984
984
  getSlotProps: n,
985
- additionalProps: r,
986
- externalSlotProps: o,
985
+ additionalProps: i,
986
+ externalSlotProps: r,
987
987
  externalForwardedProps: a,
988
- className: i
988
+ className: s
989
989
  } = t;
990
990
  if (!n) {
991
- const f = A(r?.className, i, a?.className, o?.className), y = {
992
- ...r?.style,
991
+ const f = B(i?.className, s, a?.className, r?.className), y = {
992
+ ...i?.style,
993
993
  ...a?.style,
994
- ...o?.style
994
+ ...r?.style
995
995
  }, E = {
996
- ...r,
996
+ ...i,
997
997
  ...a,
998
- ...o
998
+ ...r
999
999
  };
1000
1000
  return f.length > 0 && (E.className = f), Object.keys(y).length > 0 && (E.style = y), {
1001
1001
  props: E,
1002
1002
  internalRef: void 0
1003
1003
  };
1004
1004
  }
1005
- const u = it({
1005
+ const d = rt({
1006
1006
  ...a,
1007
- ...o
1008
- }), p = Ye(o), d = Ye(a), l = n(u), g = A(l?.className, r?.className, i, a?.className, o?.className), c = {
1007
+ ...r
1008
+ }), p = Ge(r), u = Ge(a), l = n(d), m = B(l?.className, i?.className, s, a?.className, r?.className), c = {
1009
1009
  ...l?.style,
1010
- ...r?.style,
1010
+ ...i?.style,
1011
1011
  ...a?.style,
1012
- ...o?.style
1013
- }, s = {
1012
+ ...r?.style
1013
+ }, o = {
1014
1014
  ...l,
1015
- ...r,
1016
- ...d,
1015
+ ...i,
1016
+ ...u,
1017
1017
  ...p
1018
1018
  };
1019
- return g.length > 0 && (s.className = g), Object.keys(c).length > 0 && (s.style = c), {
1020
- props: s,
1019
+ return m.length > 0 && (o.className = m), Object.keys(c).length > 0 && (o.style = c), {
1020
+ props: o,
1021
1021
  internalRef: l.ref
1022
1022
  };
1023
1023
  }
1024
- function B(t, n) {
1024
+ function j(t, n) {
1025
1025
  const {
1026
- className: r,
1027
- elementType: o,
1026
+ className: i,
1027
+ elementType: r,
1028
1028
  ownerState: a,
1029
- externalForwardedProps: i,
1030
- internalForwardedProps: u,
1029
+ externalForwardedProps: s,
1030
+ internalForwardedProps: d,
1031
1031
  shouldForwardComponentProp: p = !1,
1032
- ...d
1032
+ ...u
1033
1033
  } = n, {
1034
1034
  component: l,
1035
- slots: g = {
1035
+ slots: m = {
1036
1036
  [t]: void 0
1037
1037
  },
1038
1038
  slotProps: c = {
1039
1039
  [t]: void 0
1040
1040
  },
1041
- ...s
1042
- } = i, f = g[t] || o, y = It(c[t], a), {
1041
+ ...o
1042
+ } = s, f = m[t] || r, y = kt(c[t], a), {
1043
1043
  props: {
1044
1044
  component: E,
1045
- ...T
1045
+ ...O
1046
1046
  },
1047
1047
  internalRef: S
1048
- } = jt({
1049
- className: r,
1050
- ...d,
1051
- externalForwardedProps: t === "root" ? s : void 0,
1048
+ } = _t({
1049
+ className: i,
1050
+ ...u,
1051
+ externalForwardedProps: t === "root" ? o : void 0,
1052
1052
  externalSlotProps: y
1053
- }), R = ce(S, y?.ref, n.ref), h = t === "root" ? E || l : E, x = At(f, {
1054
- ...t === "root" && !l && !g[t] && u,
1055
- ...t !== "root" && !g[t] && u,
1056
- ...T,
1057
- ...h && !p && {
1058
- as: h
1053
+ }), R = ie(S, y?.ref, n.ref), g = t === "root" ? E || l : E, T = wt(f, {
1054
+ ...t === "root" && !l && !m[t] && d,
1055
+ ...t !== "root" && !m[t] && d,
1056
+ ...O,
1057
+ ...g && !p && {
1058
+ as: g
1059
1059
  },
1060
- ...h && p && {
1061
- component: h
1060
+ ...g && p && {
1061
+ component: g
1062
1062
  },
1063
1063
  ref: R
1064
1064
  }, a);
1065
- return [f, x];
1065
+ return [f, T];
1066
1066
  }
1067
- function Lt(t) {
1068
- return V("MuiTypography", t);
1069
- }
1070
- H("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]);
1071
- const Ft = {
1072
- primary: !0,
1073
- secondary: !0,
1074
- error: !0,
1075
- info: !0,
1076
- success: !0,
1077
- warning: !0,
1078
- textPrimary: !0,
1079
- textSecondary: !0,
1080
- textDisabled: !0
1081
- }, $t = Tt(), Bt = (t) => {
1082
- const {
1083
- align: n,
1084
- gutterBottom: r,
1085
- noWrap: o,
1086
- paragraph: a,
1087
- variant: i,
1088
- classes: u
1089
- } = t, p = {
1090
- root: ["root", i, t.align !== "inherit" && `align${W(n)}`, r && "gutterBottom", o && "noWrap", a && "paragraph"]
1091
- };
1092
- return K(p, Lt, u);
1093
- }, Wt = I("span", {
1094
- name: "MuiTypography",
1095
- slot: "Root",
1096
- overridesResolver: (t, n) => {
1097
- const {
1098
- ownerState: r
1099
- } = t;
1100
- return [n.root, r.variant && n[r.variant], r.align !== "inherit" && n[`align${W(r.align)}`], r.noWrap && n.noWrap, r.gutterBottom && n.gutterBottom, r.paragraph && n.paragraph];
1101
- }
1102
- })(ue(({
1103
- theme: t
1104
- }) => ({
1105
- margin: 0,
1106
- variants: [{
1107
- props: {
1108
- variant: "inherit"
1109
- },
1110
- style: {
1111
- // Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.
1112
- font: "inherit",
1113
- lineHeight: "inherit",
1114
- letterSpacing: "inherit"
1115
- }
1116
- }, ...Object.entries(t.typography).filter(([n, r]) => n !== "inherit" && r && typeof r == "object").map(([n, r]) => ({
1117
- props: {
1118
- variant: n
1119
- },
1120
- style: r
1121
- })), ...Object.entries(t.palette).filter(ht()).map(([n]) => ({
1122
- props: {
1123
- color: n
1124
- },
1125
- style: {
1126
- color: (t.vars || t).palette[n].main
1127
- }
1128
- })), ...Object.entries(t.palette?.text || {}).filter(([, n]) => typeof n == "string").map(([n]) => ({
1129
- props: {
1130
- color: `text${W(n)}`
1131
- },
1132
- style: {
1133
- color: (t.vars || t).palette.text[n]
1134
- }
1135
- })), {
1136
- props: ({
1137
- ownerState: n
1138
- }) => n.align !== "inherit",
1139
- style: {
1140
- textAlign: "var(--Typography-textAlign)"
1141
- }
1142
- }, {
1143
- props: ({
1144
- ownerState: n
1145
- }) => n.noWrap,
1146
- style: {
1147
- overflow: "hidden",
1148
- textOverflow: "ellipsis",
1149
- whiteSpace: "nowrap"
1150
- }
1151
- }, {
1152
- props: ({
1153
- ownerState: n
1154
- }) => n.gutterBottom,
1155
- style: {
1156
- marginBottom: "0.35em"
1157
- }
1158
- }, {
1159
- props: ({
1160
- ownerState: n
1161
- }) => n.paragraph,
1162
- style: {
1163
- marginBottom: 16
1164
- }
1165
- }]
1166
- }))), ze = {
1167
- h1: "h1",
1168
- h2: "h2",
1169
- h3: "h3",
1170
- h4: "h4",
1171
- h5: "h5",
1172
- h6: "h6",
1173
- subtitle1: "h6",
1174
- subtitle2: "h6",
1175
- body1: "p",
1176
- body2: "p",
1177
- inherit: "p"
1178
- }, st = /* @__PURE__ */ m.forwardRef(function(n, r) {
1179
- const {
1180
- color: o,
1181
- ...a
1182
- } = q({
1183
- props: n,
1184
- name: "MuiTypography"
1185
- }), i = !Ft[o], u = $t({
1186
- ...a,
1187
- ...i && {
1188
- color: o
1189
- }
1190
- }), {
1191
- align: p = "inherit",
1192
- className: d,
1193
- component: l,
1194
- gutterBottom: g = !1,
1195
- noWrap: c = !1,
1196
- paragraph: s = !1,
1197
- variant: f = "body1",
1198
- variantMapping: y = ze,
1199
- ...E
1200
- } = u, T = {
1201
- ...u,
1202
- align: p,
1203
- color: o,
1204
- className: d,
1205
- component: l,
1206
- gutterBottom: g,
1207
- noWrap: c,
1208
- paragraph: s,
1209
- variant: f,
1210
- variantMapping: y
1211
- }, S = l || (s ? "p" : y[f] || ze[f]) || "span", R = Bt(T);
1212
- return /* @__PURE__ */ D(Wt, {
1213
- as: S,
1214
- ref: r,
1215
- className: A(R.root, d),
1216
- ...E,
1217
- ownerState: T,
1218
- style: {
1219
- ...p !== "inherit" && {
1220
- "--Typography-textAlign": p
1221
- },
1222
- ...E.style
1223
- }
1224
- });
1225
- });
1226
- process.env.NODE_ENV !== "production" && (st.propTypes = {
1227
- // ┌────────────────────────────── Warning ──────────────────────────────┐
1228
- // │ These PropTypes are generated from the TypeScript type definitions. │
1229
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1230
- // └─────────────────────────────────────────────────────────────────────┘
1231
- /**
1232
- * Set the text-align on the component.
1233
- * @default 'inherit'
1234
- */
1235
- align: e.oneOf(["center", "inherit", "justify", "left", "right"]),
1236
- /**
1237
- * The content of the component.
1238
- */
1239
- children: e.node,
1240
- /**
1241
- * Override or extend the styles applied to the component.
1242
- */
1243
- classes: e.object,
1244
- /**
1245
- * @ignore
1246
- */
1247
- className: e.string,
1248
- /**
1249
- * The color of the component.
1250
- * It supports both default and custom theme colors, which can be added as shown in the
1251
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
1252
- */
1253
- color: e.oneOfType([e.oneOf(["primary", "secondary", "success", "error", "info", "warning", "textPrimary", "textSecondary", "textDisabled"]), e.string]),
1254
- /**
1255
- * The component used for the root node.
1256
- * Either a string to use a HTML element or a component.
1257
- */
1258
- component: e.elementType,
1259
- /**
1260
- * If `true`, the text will have a bottom margin.
1261
- * @default false
1262
- */
1263
- gutterBottom: e.bool,
1264
- /**
1265
- * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
1266
- *
1267
- * Note that text overflow can only happen with block or inline-block level elements
1268
- * (the element needs to have a width in order to overflow).
1269
- * @default false
1270
- */
1271
- noWrap: e.bool,
1272
- /**
1273
- * If `true`, the element will be a paragraph element.
1274
- * @default false
1275
- * @deprecated Use the `component` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1276
- */
1277
- paragraph: e.bool,
1278
- /**
1279
- * @ignore
1280
- */
1281
- style: e.object,
1282
- /**
1283
- * The system prop that allows defining system overrides as well as additional CSS styles.
1284
- */
1285
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
1286
- /**
1287
- * Applies the theme typography styles.
1288
- * @default 'body1'
1289
- */
1290
- variant: e.oneOfType([e.oneOf(["body1", "body2", "button", "caption", "h1", "h2", "h3", "h4", "h5", "h6", "inherit", "overline", "subtitle1", "subtitle2"]), e.string]),
1291
- /**
1292
- * The component maps the variant prop to a range of different HTML element types.
1293
- * For instance, subtitle1 to `<h6>`.
1294
- * If you wish to change that mapping, you can provide your own.
1295
- * Alternatively, you can use the `component` prop.
1296
- * @default {
1297
- * h1: 'h1',
1298
- * h2: 'h2',
1299
- * h3: 'h3',
1300
- * h4: 'h4',
1301
- * h5: 'h5',
1302
- * h6: 'h6',
1303
- * subtitle1: 'h6',
1304
- * subtitle2: 'h6',
1305
- * body1: 'p',
1306
- * body2: 'p',
1307
- * inherit: 'p',
1308
- * }
1309
- */
1310
- variantMapping: e.object
1311
- });
1312
- function at(t, n, r, o, a) {
1067
+ function ot(t, n, i, r, a) {
1313
1068
  if (process.env.NODE_ENV === "production")
1314
1069
  return null;
1315
- const i = t[n], u = a || n;
1316
- return i == null ? null : i && i.nodeType !== 1 ? new Error(`Invalid ${o} \`${u}\` supplied to \`${r}\`. Expected an HTMLElement.`) : null;
1070
+ const s = t[n], d = a || n;
1071
+ return s == null ? null : s && s.nodeType !== 1 ? new Error(`Invalid ${r} \`${d}\` supplied to \`${i}\`. Expected an HTMLElement.`) : null;
1317
1072
  }
1318
- function Ae(t) {
1319
- return parseInt(m.version, 10) >= 19 ? t?.props?.ref || null : t?.ref || null;
1073
+ function Ie(t) {
1074
+ return parseInt(h.version, 10) >= 19 ? t?.props?.ref || null : t?.ref || null;
1320
1075
  }
1321
- function Ut(t) {
1076
+ function Ct(t) {
1322
1077
  return typeof t == "function" ? t() : t;
1323
1078
  }
1324
- const be = /* @__PURE__ */ m.forwardRef(function(n, r) {
1079
+ const fe = /* @__PURE__ */ h.forwardRef(function(n, i) {
1325
1080
  const {
1326
- children: o,
1081
+ children: r,
1327
1082
  container: a,
1328
- disablePortal: i = !1
1329
- } = n, [u, p] = m.useState(null), d = ce(/* @__PURE__ */ m.isValidElement(o) ? Ae(o) : null, r);
1330
- if ($e(() => {
1331
- i || p(Ut(a) || document.body);
1332
- }, [a, i]), $e(() => {
1333
- if (u && !i)
1334
- return Ue(r, u), () => {
1335
- Ue(r, null);
1083
+ disablePortal: s = !1
1084
+ } = n, [d, p] = h.useState(null), u = ie(/* @__PURE__ */ h.isValidElement(r) ? Ie(r) : null, i);
1085
+ if (je(() => {
1086
+ s || p(Ct(a) || document.body);
1087
+ }, [a, s]), je(() => {
1088
+ if (d && !s)
1089
+ return He(i, d), () => {
1090
+ He(i, null);
1336
1091
  };
1337
- }, [r, u, i]), i) {
1338
- if (/* @__PURE__ */ m.isValidElement(o)) {
1092
+ }, [i, d, s]), s) {
1093
+ if (/* @__PURE__ */ h.isValidElement(r)) {
1339
1094
  const l = {
1340
- ref: d
1095
+ ref: u
1341
1096
  };
1342
- return /* @__PURE__ */ m.cloneElement(o, l);
1097
+ return /* @__PURE__ */ h.cloneElement(r, l);
1343
1098
  }
1344
- return o;
1099
+ return r;
1345
1100
  }
1346
- return u && /* @__PURE__ */ nt.createPortal(o, u);
1101
+ return d && /* @__PURE__ */ et.createPortal(r, d);
1347
1102
  });
1348
- process.env.NODE_ENV !== "production" && (be.propTypes = {
1103
+ process.env.NODE_ENV !== "production" && (fe.propTypes = {
1349
1104
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1350
1105
  // │ These PropTypes are generated from the TypeScript type definitions. │
1351
1106
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -1364,119 +1119,119 @@ process.env.NODE_ENV !== "production" && (be.propTypes = {
1364
1119
  * By default, it uses the body of the top-level document object,
1365
1120
  * so it's simply `document.body` most of the time.
1366
1121
  */
1367
- container: e.oneOfType([at, e.func]),
1122
+ container: e.oneOfType([ot, e.func]),
1368
1123
  /**
1369
1124
  * The `children` will be under the DOM hierarchy of the parent component.
1370
1125
  * @default false
1371
1126
  */
1372
1127
  disablePortal: e.bool
1373
1128
  });
1374
- process.env.NODE_ENV !== "production" && (be.propTypes = tt(be.propTypes));
1375
- function Vt(t) {
1129
+ process.env.NODE_ENV !== "production" && (fe.propTypes = Qe(fe.propTypes));
1130
+ function Mt(t) {
1376
1131
  const {
1377
1132
  prototype: n = {}
1378
1133
  } = t;
1379
1134
  return !!n.isReactComponent;
1380
1135
  }
1381
- function lt(t, n, r, o, a) {
1382
- const i = t[n], u = a || n;
1383
- if (i == null || // When server-side rendering React doesn't warn either.
1136
+ function it(t, n, i, r, a) {
1137
+ const s = t[n], d = a || n;
1138
+ if (s == null || // When server-side rendering React doesn't warn either.
1384
1139
  // This is not an accurate check for SSR.
1385
1140
  // This is only in place for Emotion compat.
1386
1141
  // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
1387
1142
  typeof window > "u")
1388
1143
  return null;
1389
1144
  let p;
1390
- const d = i.type;
1391
- return typeof d == "function" && !Vt(d) && (p = "Did you accidentally use a plain function component for an element instead?"), p !== void 0 ? new Error(`Invalid ${o} \`${u}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${p} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
1145
+ const u = s.type;
1146
+ return typeof u == "function" && !Mt(u) && (p = "Did you accidentally use a plain function component for an element instead?"), p !== void 0 ? new Error(`Invalid ${r} \`${d}\` supplied to \`${i}\`. Expected an element that can hold a ref. ${p} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
1392
1147
  }
1393
- const Te = _e(e.element, lt);
1394
- Te.isRequired = _e(e.element.isRequired, lt);
1395
- const Ht = {
1148
+ const Ee = ke(e.element, it);
1149
+ Ee.isRequired = ke(e.element.isRequired, it);
1150
+ const It = {
1396
1151
  entering: {
1397
1152
  opacity: 1
1398
1153
  },
1399
1154
  entered: {
1400
1155
  opacity: 1
1401
1156
  }
1402
- }, ve = /* @__PURE__ */ m.forwardRef(function(n, r) {
1403
- const o = ke(), a = {
1404
- enter: o.transitions.duration.enteringScreen,
1405
- exit: o.transitions.duration.leavingScreen
1157
+ }, me = /* @__PURE__ */ h.forwardRef(function(n, i) {
1158
+ const r = Ce(), a = {
1159
+ enter: r.transitions.duration.enteringScreen,
1160
+ exit: r.transitions.duration.leavingScreen
1406
1161
  }, {
1407
- addEndListener: i,
1408
- appear: u = !0,
1162
+ addEndListener: s,
1163
+ appear: d = !0,
1409
1164
  children: p,
1410
- easing: d,
1165
+ easing: u,
1411
1166
  in: l,
1412
- onEnter: g,
1167
+ onEnter: m,
1413
1168
  onEntered: c,
1414
- onEntering: s,
1169
+ onEntering: o,
1415
1170
  onExit: f,
1416
1171
  onExited: y,
1417
1172
  onExiting: E,
1418
- style: T,
1173
+ style: O,
1419
1174
  timeout: S = a,
1420
1175
  // eslint-disable-next-line react/prop-types
1421
- TransitionComponent: R = U,
1422
- ...h
1423
- } = n, x = m.useRef(null), P = ce(x, Ae(p), r), w = (O) => (v) => {
1424
- if (O) {
1425
- const b = x.current;
1426
- v === void 0 ? O(b) : O(b, v);
1176
+ TransitionComponent: R = $,
1177
+ ...g
1178
+ } = n, T = h.useRef(null), N = ie(T, Ie(p), i), D = (x) => (v) => {
1179
+ if (x) {
1180
+ const b = T.current;
1181
+ v === void 0 ? x(b) : x(b, v);
1427
1182
  }
1428
- }, N = w(s), k = w((O, v) => {
1429
- Dt(O);
1430
- const b = Ge({
1431
- style: T,
1183
+ }, P = D(o), _ = D((x, v) => {
1184
+ xt(x);
1185
+ const b = Ke({
1186
+ style: O,
1432
1187
  timeout: S,
1433
- easing: d
1188
+ easing: u
1434
1189
  }, {
1435
1190
  mode: "enter"
1436
1191
  });
1437
- O.style.webkitTransition = o.transitions.create("opacity", b), O.style.transition = o.transitions.create("opacity", b), g && g(O, v);
1438
- }), M = w(c), j = w(E), F = w((O) => {
1439
- const v = Ge({
1440
- style: T,
1192
+ x.style.webkitTransition = r.transitions.create("opacity", b), x.style.transition = r.transitions.create("opacity", b), m && m(x, v);
1193
+ }), C = D(c), I = D(E), L = D((x) => {
1194
+ const v = Ke({
1195
+ style: O,
1441
1196
  timeout: S,
1442
- easing: d
1197
+ easing: u
1443
1198
  }, {
1444
1199
  mode: "exit"
1445
1200
  });
1446
- O.style.webkitTransition = o.transitions.create("opacity", v), O.style.transition = o.transitions.create("opacity", v), f && f(O);
1447
- }), ne = w(y);
1448
- return /* @__PURE__ */ D(R, {
1449
- appear: u,
1201
+ x.style.webkitTransition = r.transitions.create("opacity", v), x.style.transition = r.transitions.create("opacity", v), f && f(x);
1202
+ }), J = D(y);
1203
+ return /* @__PURE__ */ M(R, {
1204
+ appear: d,
1450
1205
  in: l,
1451
- nodeRef: x,
1452
- onEnter: k,
1453
- onEntered: M,
1454
- onEntering: N,
1455
- onExit: F,
1456
- onExited: ne,
1457
- onExiting: j,
1458
- addEndListener: (O) => {
1459
- i && i(x.current, O);
1206
+ nodeRef: T,
1207
+ onEnter: _,
1208
+ onEntered: C,
1209
+ onEntering: P,
1210
+ onExit: L,
1211
+ onExited: J,
1212
+ onExiting: I,
1213
+ addEndListener: (x) => {
1214
+ s && s(T.current, x);
1460
1215
  },
1461
1216
  timeout: S,
1462
- ...h,
1463
- children: (O, {
1217
+ ...g,
1218
+ children: (x, {
1464
1219
  ownerState: v,
1465
1220
  ...b
1466
- }) => /* @__PURE__ */ m.cloneElement(p, {
1221
+ }) => /* @__PURE__ */ h.cloneElement(p, {
1467
1222
  style: {
1468
1223
  opacity: 0,
1469
- visibility: O === "exited" && !l ? "hidden" : void 0,
1470
- ...Ht[O],
1471
- ...T,
1224
+ visibility: x === "exited" && !l ? "hidden" : void 0,
1225
+ ...It[x],
1226
+ ...O,
1472
1227
  ...p.props.style
1473
1228
  },
1474
- ref: P,
1229
+ ref: N,
1475
1230
  ...b
1476
1231
  })
1477
1232
  });
1478
1233
  });
1479
- process.env.NODE_ENV !== "production" && (ve.propTypes = {
1234
+ process.env.NODE_ENV !== "production" && (me.propTypes = {
1480
1235
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1481
1236
  // │ These PropTypes are generated from the TypeScript type definitions. │
1482
1237
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1496,7 +1251,7 @@ process.env.NODE_ENV !== "production" && (ve.propTypes = {
1496
1251
  /**
1497
1252
  * A single child content element.
1498
1253
  */
1499
- children: Te.isRequired,
1254
+ children: Ee.isRequired,
1500
1255
  /**
1501
1256
  * The transition timing function.
1502
1257
  * You may specify a single easing or a object containing enter and exit values.
@@ -1551,26 +1306,26 @@ process.env.NODE_ENV !== "production" && (ve.propTypes = {
1551
1306
  exit: e.number
1552
1307
  })])
1553
1308
  });
1554
- function qt(t) {
1555
- return V("MuiBackdrop", t);
1309
+ function At(t) {
1310
+ return ge("MuiBackdrop", t);
1556
1311
  }
1557
- H("MuiBackdrop", ["root", "invisible"]);
1558
- const Kt = (t) => {
1312
+ he("MuiBackdrop", ["root", "invisible"]);
1313
+ const Lt = (t) => {
1559
1314
  const {
1560
1315
  classes: n,
1561
- invisible: r
1316
+ invisible: i
1562
1317
  } = t;
1563
- return K({
1564
- root: ["root", r && "invisible"]
1565
- }, qt, n);
1566
- }, Gt = I("div", {
1318
+ return ve({
1319
+ root: ["root", i && "invisible"]
1320
+ }, At, n);
1321
+ }, Ft = H("div", {
1567
1322
  name: "MuiBackdrop",
1568
1323
  slot: "Root",
1569
1324
  overridesResolver: (t, n) => {
1570
1325
  const {
1571
- ownerState: r
1326
+ ownerState: i
1572
1327
  } = t;
1573
- return [n.root, r.invisible && n.invisible];
1328
+ return [n.root, i.invisible && n.invisible];
1574
1329
  }
1575
1330
  })({
1576
1331
  position: "fixed",
@@ -1591,63 +1346,63 @@ const Kt = (t) => {
1591
1346
  backgroundColor: "transparent"
1592
1347
  }
1593
1348
  }]
1594
- }), Ie = /* @__PURE__ */ m.forwardRef(function(n, r) {
1595
- const o = q({
1349
+ }), Ae = /* @__PURE__ */ h.forwardRef(function(n, i) {
1350
+ const r = be({
1596
1351
  props: n,
1597
1352
  name: "MuiBackdrop"
1598
1353
  }), {
1599
1354
  children: a,
1600
- className: i,
1601
- component: u = "div",
1355
+ className: s,
1356
+ component: d = "div",
1602
1357
  invisible: p = !1,
1603
- open: d,
1358
+ open: u,
1604
1359
  components: l = {},
1605
- componentsProps: g = {},
1360
+ componentsProps: m = {},
1606
1361
  slotProps: c = {},
1607
- slots: s = {},
1362
+ slots: o = {},
1608
1363
  TransitionComponent: f,
1609
1364
  transitionDuration: y,
1610
1365
  ...E
1611
- } = o, T = {
1612
- ...o,
1613
- component: u,
1366
+ } = r, O = {
1367
+ ...r,
1368
+ component: d,
1614
1369
  invisible: p
1615
- }, S = Kt(T), R = {
1370
+ }, S = Lt(O), R = {
1616
1371
  transition: f,
1617
1372
  root: l.Root,
1618
- ...s
1619
- }, h = {
1620
- ...g,
1373
+ ...o
1374
+ }, g = {
1375
+ ...m,
1621
1376
  ...c
1622
- }, x = {
1623
- component: u,
1377
+ }, T = {
1378
+ component: d,
1624
1379
  slots: R,
1625
- slotProps: h
1626
- }, [P, w] = B("root", {
1627
- elementType: Gt,
1628
- externalForwardedProps: x,
1629
- className: A(S.root, i),
1630
- ownerState: T
1631
- }), [N, k] = B("transition", {
1632
- elementType: ve,
1633
- externalForwardedProps: x,
1634
- ownerState: T
1380
+ slotProps: g
1381
+ }, [N, D] = j("root", {
1382
+ elementType: Ft,
1383
+ externalForwardedProps: T,
1384
+ className: B(S.root, s),
1385
+ ownerState: O
1386
+ }), [P, _] = j("transition", {
1387
+ elementType: me,
1388
+ externalForwardedProps: T,
1389
+ ownerState: O
1635
1390
  });
1636
- return /* @__PURE__ */ D(N, {
1637
- in: d,
1391
+ return /* @__PURE__ */ M(P, {
1392
+ in: u,
1638
1393
  timeout: y,
1639
1394
  ...E,
1640
- ...k,
1641
- children: /* @__PURE__ */ D(P, {
1395
+ ..._,
1396
+ children: /* @__PURE__ */ M(N, {
1642
1397
  "aria-hidden": !0,
1643
- ...w,
1398
+ ...D,
1644
1399
  classes: S,
1645
- ref: r,
1400
+ ref: i,
1646
1401
  children: a
1647
1402
  })
1648
1403
  });
1649
1404
  });
1650
- process.env.NODE_ENV !== "production" && (Ie.propTypes = {
1405
+ process.env.NODE_ENV !== "production" && (Ae.propTypes = {
1651
1406
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1652
1407
  // │ These PropTypes are generated from the TypeScript type definitions. │
1653
1408
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1737,241 +1492,241 @@ process.env.NODE_ENV !== "production" && (Ie.propTypes = {
1737
1492
  exit: e.number
1738
1493
  })])
1739
1494
  });
1740
- function Yt(t = window) {
1495
+ function jt(t = window) {
1741
1496
  const n = t.document.documentElement.clientWidth;
1742
1497
  return t.innerWidth - n;
1743
1498
  }
1744
- function zt(t) {
1745
- const n = X(t);
1746
- return n.body === t ? he(t).innerWidth > n.documentElement.clientWidth : t.scrollHeight > t.clientHeight;
1499
+ function $t(t) {
1500
+ const n = q(t);
1501
+ return n.body === t ? pe(t).innerWidth > n.documentElement.clientWidth : t.scrollHeight > t.clientHeight;
1747
1502
  }
1748
- function le(t, n) {
1503
+ function oe(t, n) {
1749
1504
  n ? t.setAttribute("aria-hidden", "true") : t.removeAttribute("aria-hidden");
1750
1505
  }
1751
- function Xe(t) {
1752
- return parseInt(he(t).getComputedStyle(t).paddingRight, 10) || 0;
1506
+ function ze(t) {
1507
+ return parseInt(pe(t).getComputedStyle(t).paddingRight, 10) || 0;
1753
1508
  }
1754
- function Xt(t) {
1755
- const r = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].includes(t.tagName), o = t.tagName === "INPUT" && t.getAttribute("type") === "hidden";
1756
- return r || o;
1509
+ function Bt(t) {
1510
+ const i = ["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";
1511
+ return i || r;
1757
1512
  }
1758
- function Ze(t, n, r, o, a) {
1759
- const i = [n, r, ...o];
1760
- [].forEach.call(t.children, (u) => {
1761
- const p = !i.includes(u), d = !Xt(u);
1762
- p && d && le(u, a);
1513
+ function Ye(t, n, i, r, a) {
1514
+ const s = [n, i, ...r];
1515
+ [].forEach.call(t.children, (d) => {
1516
+ const p = !s.includes(d), u = !Bt(d);
1517
+ p && u && oe(d, a);
1763
1518
  });
1764
1519
  }
1765
- function De(t, n) {
1766
- let r = -1;
1767
- return t.some((o, a) => n(o) ? (r = a, !0) : !1), r;
1520
+ function Pe(t, n) {
1521
+ let i = -1;
1522
+ return t.some((r, a) => n(r) ? (i = a, !0) : !1), i;
1768
1523
  }
1769
- function Zt(t, n) {
1770
- const r = [], o = t.container;
1524
+ function Ht(t, n) {
1525
+ const i = [], r = t.container;
1771
1526
  if (!n.disableScrollLock) {
1772
- if (zt(o)) {
1773
- const u = Yt(he(o));
1774
- r.push({
1775
- value: o.style.paddingRight,
1527
+ if ($t(r)) {
1528
+ const d = jt(pe(r));
1529
+ i.push({
1530
+ value: r.style.paddingRight,
1776
1531
  property: "padding-right",
1777
- el: o
1778
- }), o.style.paddingRight = `${Xe(o) + u}px`;
1779
- const p = X(o).querySelectorAll(".mui-fixed");
1780
- [].forEach.call(p, (d) => {
1781
- r.push({
1782
- value: d.style.paddingRight,
1532
+ el: r
1533
+ }), r.style.paddingRight = `${ze(r) + d}px`;
1534
+ const p = q(r).querySelectorAll(".mui-fixed");
1535
+ [].forEach.call(p, (u) => {
1536
+ i.push({
1537
+ value: u.style.paddingRight,
1783
1538
  property: "padding-right",
1784
- el: d
1785
- }), d.style.paddingRight = `${Xe(d) + u}px`;
1539
+ el: u
1540
+ }), u.style.paddingRight = `${ze(u) + d}px`;
1786
1541
  });
1787
1542
  }
1788
- let i;
1789
- if (o.parentNode instanceof DocumentFragment)
1790
- i = X(o).body;
1543
+ let s;
1544
+ if (r.parentNode instanceof DocumentFragment)
1545
+ s = q(r).body;
1791
1546
  else {
1792
- const u = o.parentElement, p = he(o);
1793
- i = u?.nodeName === "HTML" && p.getComputedStyle(u).overflowY === "scroll" ? u : o;
1547
+ const d = r.parentElement, p = pe(r);
1548
+ s = d?.nodeName === "HTML" && p.getComputedStyle(d).overflowY === "scroll" ? d : r;
1794
1549
  }
1795
- r.push({
1796
- value: i.style.overflow,
1550
+ i.push({
1551
+ value: s.style.overflow,
1797
1552
  property: "overflow",
1798
- el: i
1553
+ el: s
1799
1554
  }, {
1800
- value: i.style.overflowX,
1555
+ value: s.style.overflowX,
1801
1556
  property: "overflow-x",
1802
- el: i
1557
+ el: s
1803
1558
  }, {
1804
- value: i.style.overflowY,
1559
+ value: s.style.overflowY,
1805
1560
  property: "overflow-y",
1806
- el: i
1807
- }), i.style.overflow = "hidden";
1561
+ el: s
1562
+ }), s.style.overflow = "hidden";
1808
1563
  }
1809
1564
  return () => {
1810
- r.forEach(({
1811
- value: i,
1812
- el: u,
1565
+ i.forEach(({
1566
+ value: s,
1567
+ el: d,
1813
1568
  property: p
1814
1569
  }) => {
1815
- i ? u.style.setProperty(p, i) : u.style.removeProperty(p);
1570
+ s ? d.style.setProperty(p, s) : d.style.removeProperty(p);
1816
1571
  });
1817
1572
  };
1818
1573
  }
1819
- function Jt(t) {
1574
+ function Wt(t) {
1820
1575
  const n = [];
1821
- return [].forEach.call(t.children, (r) => {
1822
- r.getAttribute("aria-hidden") === "true" && n.push(r);
1576
+ return [].forEach.call(t.children, (i) => {
1577
+ i.getAttribute("aria-hidden") === "true" && n.push(i);
1823
1578
  }), n;
1824
1579
  }
1825
- class Qt {
1580
+ class Ut {
1826
1581
  constructor() {
1827
1582
  this.modals = [], this.containers = [];
1828
1583
  }
1829
- add(n, r) {
1830
- let o = this.modals.indexOf(n);
1831
- if (o !== -1)
1832
- return o;
1833
- o = this.modals.length, this.modals.push(n), n.modalRef && le(n.modalRef, !1);
1834
- const a = Jt(r);
1835
- Ze(r, n.mount, n.modalRef, a, !0);
1836
- const i = De(this.containers, (u) => u.container === r);
1837
- return i !== -1 ? (this.containers[i].modals.push(n), o) : (this.containers.push({
1584
+ add(n, i) {
1585
+ let r = this.modals.indexOf(n);
1586
+ if (r !== -1)
1587
+ return r;
1588
+ r = this.modals.length, this.modals.push(n), n.modalRef && oe(n.modalRef, !1);
1589
+ const a = Wt(i);
1590
+ Ye(i, n.mount, n.modalRef, a, !0);
1591
+ const s = Pe(this.containers, (d) => d.container === i);
1592
+ return s !== -1 ? (this.containers[s].modals.push(n), r) : (this.containers.push({
1838
1593
  modals: [n],
1839
- container: r,
1594
+ container: i,
1840
1595
  restore: null,
1841
1596
  hiddenSiblings: a
1842
- }), o);
1597
+ }), r);
1843
1598
  }
1844
- mount(n, r) {
1845
- const o = De(this.containers, (i) => i.modals.includes(n)), a = this.containers[o];
1846
- a.restore || (a.restore = Zt(a, r));
1599
+ mount(n, i) {
1600
+ const r = Pe(this.containers, (s) => s.modals.includes(n)), a = this.containers[r];
1601
+ a.restore || (a.restore = Ht(a, i));
1847
1602
  }
1848
- remove(n, r = !0) {
1849
- const o = this.modals.indexOf(n);
1850
- if (o === -1)
1851
- return o;
1852
- const a = De(this.containers, (u) => u.modals.includes(n)), i = this.containers[a];
1853
- if (i.modals.splice(i.modals.indexOf(n), 1), this.modals.splice(o, 1), i.modals.length === 0)
1854
- i.restore && i.restore(), n.modalRef && le(n.modalRef, r), Ze(i.container, n.mount, n.modalRef, i.hiddenSiblings, !1), this.containers.splice(a, 1);
1603
+ remove(n, i = !0) {
1604
+ const r = this.modals.indexOf(n);
1605
+ if (r === -1)
1606
+ return r;
1607
+ const a = Pe(this.containers, (d) => d.modals.includes(n)), s = this.containers[a];
1608
+ if (s.modals.splice(s.modals.indexOf(n), 1), this.modals.splice(r, 1), s.modals.length === 0)
1609
+ s.restore && s.restore(), n.modalRef && oe(n.modalRef, i), Ye(s.container, n.mount, n.modalRef, s.hiddenSiblings, !1), this.containers.splice(a, 1);
1855
1610
  else {
1856
- const u = i.modals[i.modals.length - 1];
1857
- u.modalRef && le(u.modalRef, !1);
1611
+ const d = s.modals[s.modals.length - 1];
1612
+ d.modalRef && oe(d.modalRef, !1);
1858
1613
  }
1859
- return o;
1614
+ return r;
1860
1615
  }
1861
1616
  isTopModal(n) {
1862
1617
  return this.modals.length > 0 && this.modals[this.modals.length - 1] === n;
1863
1618
  }
1864
1619
  }
1865
- const en = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
1866
- function tn(t) {
1620
+ const Vt = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
1621
+ function qt(t) {
1867
1622
  const n = parseInt(t.getAttribute("tabindex") || "", 10);
1868
1623
  return Number.isNaN(n) ? t.contentEditable === "true" || (t.nodeName === "AUDIO" || t.nodeName === "VIDEO" || t.nodeName === "DETAILS") && t.getAttribute("tabindex") === null ? 0 : t.tabIndex : n;
1869
1624
  }
1870
- function nn(t) {
1625
+ function Kt(t) {
1871
1626
  if (t.tagName !== "INPUT" || t.type !== "radio" || !t.name)
1872
1627
  return !1;
1873
- const n = (o) => t.ownerDocument.querySelector(`input[type="radio"]${o}`);
1874
- let r = n(`[name="${t.name}"]:checked`);
1875
- return r || (r = n(`[name="${t.name}"]`)), r !== t;
1628
+ const n = (r) => t.ownerDocument.querySelector(`input[type="radio"]${r}`);
1629
+ let i = n(`[name="${t.name}"]:checked`);
1630
+ return i || (i = n(`[name="${t.name}"]`)), i !== t;
1876
1631
  }
1877
- function rn(t) {
1878
- return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" || nn(t));
1632
+ function Gt(t) {
1633
+ return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" || Kt(t));
1879
1634
  }
1880
- function on(t) {
1881
- const n = [], r = [];
1882
- return Array.from(t.querySelectorAll(en)).forEach((o, a) => {
1883
- const i = tn(o);
1884
- i === -1 || !rn(o) || (i === 0 ? n.push(o) : r.push({
1635
+ function zt(t) {
1636
+ const n = [], i = [];
1637
+ return Array.from(t.querySelectorAll(Vt)).forEach((r, a) => {
1638
+ const s = qt(r);
1639
+ s === -1 || !Gt(r) || (s === 0 ? n.push(r) : i.push({
1885
1640
  documentOrder: a,
1886
- tabIndex: i,
1887
- node: o
1641
+ tabIndex: s,
1642
+ node: r
1888
1643
  }));
1889
- }), r.sort((o, a) => o.tabIndex === a.tabIndex ? o.documentOrder - a.documentOrder : o.tabIndex - a.tabIndex).map((o) => o.node).concat(n);
1644
+ }), i.sort((r, a) => r.tabIndex === a.tabIndex ? r.documentOrder - a.documentOrder : r.tabIndex - a.tabIndex).map((r) => r.node).concat(n);
1890
1645
  }
1891
- function sn() {
1646
+ function Yt() {
1892
1647
  return !0;
1893
1648
  }
1894
- function Ee(t) {
1649
+ function ye(t) {
1895
1650
  const {
1896
1651
  children: n,
1897
- disableAutoFocus: r = !1,
1898
- disableEnforceFocus: o = !1,
1652
+ disableAutoFocus: i = !1,
1653
+ disableEnforceFocus: r = !1,
1899
1654
  disableRestoreFocus: a = !1,
1900
- getTabbable: i = on,
1901
- isEnabled: u = sn,
1655
+ getTabbable: s = zt,
1656
+ isEnabled: d = Yt,
1902
1657
  open: p
1903
- } = t, d = m.useRef(!1), l = m.useRef(null), g = m.useRef(null), c = m.useRef(null), s = m.useRef(null), f = m.useRef(!1), y = m.useRef(null), E = ce(Ae(n), y), T = m.useRef(null);
1904
- m.useEffect(() => {
1905
- !p || !y.current || (f.current = !r);
1906
- }, [r, p]), m.useEffect(() => {
1658
+ } = t, u = h.useRef(!1), l = h.useRef(null), m = h.useRef(null), c = h.useRef(null), o = h.useRef(null), f = h.useRef(!1), y = h.useRef(null), E = ie(Ie(n), y), O = h.useRef(null);
1659
+ h.useEffect(() => {
1660
+ !p || !y.current || (f.current = !i);
1661
+ }, [i, p]), h.useEffect(() => {
1907
1662
  if (!p || !y.current)
1908
1663
  return;
1909
- const h = X(y.current);
1910
- return y.current.contains(h.activeElement) || (y.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(`
1664
+ const g = q(y.current);
1665
+ return y.current.contains(g.activeElement) || (y.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(`
1911
1666
  `)), y.current.setAttribute("tabIndex", "-1")), f.current && y.current.focus()), () => {
1912
- a || (c.current && c.current.focus && (d.current = !0, c.current.focus()), c.current = null);
1667
+ a || (c.current && c.current.focus && (u.current = !0, c.current.focus()), c.current = null);
1913
1668
  };
1914
- }, [p]), m.useEffect(() => {
1669
+ }, [p]), h.useEffect(() => {
1915
1670
  if (!p || !y.current)
1916
1671
  return;
1917
- const h = X(y.current), x = (N) => {
1918
- T.current = N, !(o || !u() || N.key !== "Tab") && h.activeElement === y.current && N.shiftKey && (d.current = !0, g.current && g.current.focus());
1919
- }, P = () => {
1920
- const N = y.current;
1921
- if (N === null)
1672
+ const g = q(y.current), T = (P) => {
1673
+ O.current = P, !(r || !d() || P.key !== "Tab") && g.activeElement === y.current && P.shiftKey && (u.current = !0, m.current && m.current.focus());
1674
+ }, N = () => {
1675
+ const P = y.current;
1676
+ if (P === null)
1922
1677
  return;
1923
- if (!h.hasFocus() || !u() || d.current) {
1924
- d.current = !1;
1678
+ if (!g.hasFocus() || !d() || u.current) {
1679
+ u.current = !1;
1925
1680
  return;
1926
1681
  }
1927
- if (N.contains(h.activeElement) || o && h.activeElement !== l.current && h.activeElement !== g.current)
1682
+ if (P.contains(g.activeElement) || r && g.activeElement !== l.current && g.activeElement !== m.current)
1928
1683
  return;
1929
- if (h.activeElement !== s.current)
1930
- s.current = null;
1931
- else if (s.current !== null)
1684
+ if (g.activeElement !== o.current)
1685
+ o.current = null;
1686
+ else if (o.current !== null)
1932
1687
  return;
1933
1688
  if (!f.current)
1934
1689
  return;
1935
- let k = [];
1936
- if ((h.activeElement === l.current || h.activeElement === g.current) && (k = i(y.current)), k.length > 0) {
1937
- const M = !!(T.current?.shiftKey && T.current?.key === "Tab"), j = k[0], F = k[k.length - 1];
1938
- typeof j != "string" && typeof F != "string" && (M ? F.focus() : j.focus());
1690
+ let _ = [];
1691
+ if ((g.activeElement === l.current || g.activeElement === m.current) && (_ = s(y.current)), _.length > 0) {
1692
+ const C = !!(O.current?.shiftKey && O.current?.key === "Tab"), I = _[0], L = _[_.length - 1];
1693
+ typeof I != "string" && typeof L != "string" && (C ? L.focus() : I.focus());
1939
1694
  } else
1940
- N.focus();
1695
+ P.focus();
1941
1696
  };
1942
- h.addEventListener("focusin", P), h.addEventListener("keydown", x, !0);
1943
- const w = setInterval(() => {
1944
- h.activeElement && h.activeElement.tagName === "BODY" && P();
1697
+ g.addEventListener("focusin", N), g.addEventListener("keydown", T, !0);
1698
+ const D = setInterval(() => {
1699
+ g.activeElement && g.activeElement.tagName === "BODY" && N();
1945
1700
  }, 50);
1946
1701
  return () => {
1947
- clearInterval(w), h.removeEventListener("focusin", P), h.removeEventListener("keydown", x, !0);
1702
+ clearInterval(D), g.removeEventListener("focusin", N), g.removeEventListener("keydown", T, !0);
1948
1703
  };
1949
- }, [r, o, a, u, p, i]);
1950
- const S = (h) => {
1951
- c.current === null && (c.current = h.relatedTarget), f.current = !0, s.current = h.target;
1952
- const x = n.props.onFocus;
1953
- x && x(h);
1954
- }, R = (h) => {
1955
- c.current === null && (c.current = h.relatedTarget), f.current = !0;
1704
+ }, [i, r, a, d, p, s]);
1705
+ const S = (g) => {
1706
+ c.current === null && (c.current = g.relatedTarget), f.current = !0, o.current = g.target;
1707
+ const T = n.props.onFocus;
1708
+ T && T(g);
1709
+ }, R = (g) => {
1710
+ c.current === null && (c.current = g.relatedTarget), f.current = !0;
1956
1711
  };
1957
- return /* @__PURE__ */ et(m.Fragment, {
1958
- children: [/* @__PURE__ */ D("div", {
1712
+ return /* @__PURE__ */ Ze(h.Fragment, {
1713
+ children: [/* @__PURE__ */ M("div", {
1959
1714
  tabIndex: p ? 0 : -1,
1960
1715
  onFocus: R,
1961
1716
  ref: l,
1962
1717
  "data-testid": "sentinelStart"
1963
- }), /* @__PURE__ */ m.cloneElement(n, {
1718
+ }), /* @__PURE__ */ h.cloneElement(n, {
1964
1719
  ref: E,
1965
1720
  onFocus: S
1966
- }), /* @__PURE__ */ D("div", {
1721
+ }), /* @__PURE__ */ M("div", {
1967
1722
  tabIndex: p ? 0 : -1,
1968
1723
  onFocus: R,
1969
- ref: g,
1724
+ ref: m,
1970
1725
  "data-testid": "sentinelEnd"
1971
1726
  })]
1972
1727
  });
1973
1728
  }
1974
- process.env.NODE_ENV !== "production" && (Ee.propTypes = {
1729
+ process.env.NODE_ENV !== "production" && (ye.propTypes = {
1975
1730
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1976
1731
  // │ These PropTypes are generated from the TypeScript type definitions. │
1977
1732
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -1979,7 +1734,7 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
1979
1734
  /**
1980
1735
  * A single child content element.
1981
1736
  */
1982
- children: Te,
1737
+ children: Ee,
1983
1738
  /**
1984
1739
  * If `true`, the focus trap will not automatically shift focus to itself when it opens, and
1985
1740
  * replace it to the last focused element when it closes.
@@ -2025,58 +1780,58 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
2025
1780
  */
2026
1781
  open: e.bool.isRequired
2027
1782
  });
2028
- process.env.NODE_ENV !== "production" && (Ee.propTypes = tt(Ee.propTypes));
2029
- function an(t) {
1783
+ process.env.NODE_ENV !== "production" && (ye.propTypes = Qe(ye.propTypes));
1784
+ function Xt(t) {
2030
1785
  return typeof t == "function" ? t() : t;
2031
1786
  }
2032
- function ln(t) {
1787
+ function Zt(t) {
2033
1788
  return t ? t.props.hasOwnProperty("in") : !1;
2034
1789
  }
2035
- const Je = () => {
2036
- }, me = new Qt();
2037
- function cn(t) {
1790
+ const Xe = () => {
1791
+ }, de = new Ut();
1792
+ function Jt(t) {
2038
1793
  const {
2039
1794
  container: n,
2040
- disableEscapeKeyDown: r = !1,
2041
- disableScrollLock: o = !1,
1795
+ disableEscapeKeyDown: i = !1,
1796
+ disableScrollLock: r = !1,
2042
1797
  closeAfterTransition: a = !1,
2043
- onTransitionEnter: i,
2044
- onTransitionExited: u,
1798
+ onTransitionEnter: s,
1799
+ onTransitionExited: d,
2045
1800
  children: p,
2046
- onClose: d,
1801
+ onClose: u,
2047
1802
  open: l,
2048
- rootRef: g
2049
- } = t, c = m.useRef({}), s = m.useRef(null), f = m.useRef(null), y = ce(f, g), [E, T] = m.useState(!l), S = ln(p);
1803
+ rootRef: m
1804
+ } = t, c = h.useRef({}), o = h.useRef(null), f = h.useRef(null), y = ie(f, m), [E, O] = h.useState(!l), S = Zt(p);
2050
1805
  let R = !0;
2051
1806
  (t["aria-hidden"] === "false" || t["aria-hidden"] === !1) && (R = !1);
2052
- const h = () => X(s.current), x = () => (c.current.modalRef = f.current, c.current.mount = s.current, c.current), P = () => {
2053
- me.mount(x(), {
2054
- disableScrollLock: o
1807
+ const g = () => q(o.current), T = () => (c.current.modalRef = f.current, c.current.mount = o.current, c.current), N = () => {
1808
+ de.mount(T(), {
1809
+ disableScrollLock: r
2055
1810
  }), f.current && (f.current.scrollTop = 0);
2056
- }, w = Be(() => {
2057
- const v = an(n) || h().body;
2058
- me.add(x(), v), f.current && P();
2059
- }), N = () => me.isTopModal(x()), k = Be((v) => {
2060
- s.current = v, v && (l && N() ? P() : f.current && le(f.current, R));
2061
- }), M = m.useCallback(() => {
2062
- me.remove(x(), R);
1811
+ }, D = $e(() => {
1812
+ const v = Xt(n) || g().body;
1813
+ de.add(T(), v), f.current && N();
1814
+ }), P = () => de.isTopModal(T()), _ = $e((v) => {
1815
+ o.current = v, v && (l && P() ? N() : f.current && oe(f.current, R));
1816
+ }), C = h.useCallback(() => {
1817
+ de.remove(T(), R);
2063
1818
  }, [R]);
2064
- m.useEffect(() => () => {
2065
- M();
2066
- }, [M]), m.useEffect(() => {
2067
- l ? w() : (!S || !a) && M();
2068
- }, [l, M, S, a, w]);
2069
- const j = (v) => (b) => {
1819
+ h.useEffect(() => () => {
1820
+ C();
1821
+ }, [C]), h.useEffect(() => {
1822
+ l ? D() : (!S || !a) && C();
1823
+ }, [l, C, S, a, D]);
1824
+ const I = (v) => (b) => {
2070
1825
  v.onKeyDown?.(b), !(b.key !== "Escape" || b.which === 229 || // Wait until IME is settled.
2071
- !N()) && (r || (b.stopPropagation(), d && d(b, "escapeKeyDown")));
2072
- }, F = (v) => (b) => {
2073
- v.onClick?.(b), b.target === b.currentTarget && d && d(b, "backdropClick");
1826
+ !P()) && (i || (b.stopPropagation(), u && u(b, "escapeKeyDown")));
1827
+ }, L = (v) => (b) => {
1828
+ v.onClick?.(b), b.target === b.currentTarget && u && u(b, "backdropClick");
2074
1829
  };
2075
1830
  return {
2076
1831
  getRootProps: (v = {}) => {
2077
- const b = it(t);
1832
+ const b = rt(t);
2078
1833
  delete b.onTransitionEnter, delete b.onTransitionExited;
2079
- const Z = {
1834
+ const K = {
2080
1835
  ...b,
2081
1836
  ...v
2082
1837
  };
@@ -2088,8 +1843,8 @@ function cn(t) {
2088
1843
  * https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
2089
1844
  */
2090
1845
  role: "presentation",
2091
- ...Z,
2092
- onKeyDown: j(Z),
1846
+ ...K,
1847
+ onKeyDown: I(K),
2093
1848
  ref: y
2094
1849
  };
2095
1850
  },
@@ -2098,52 +1853,52 @@ function cn(t) {
2098
1853
  return {
2099
1854
  "aria-hidden": !0,
2100
1855
  ...b,
2101
- onClick: F(b),
1856
+ onClick: L(b),
2102
1857
  open: l
2103
1858
  };
2104
1859
  },
2105
1860
  getTransitionProps: () => {
2106
1861
  const v = () => {
2107
- T(!1), i && i();
1862
+ O(!1), s && s();
2108
1863
  }, b = () => {
2109
- T(!0), u && u(), a && M();
1864
+ O(!0), d && d(), a && C();
2110
1865
  };
2111
1866
  return {
2112
- onEnter: We(v, p?.props.onEnter ?? Je),
2113
- onExited: We(b, p?.props.onExited ?? Je)
1867
+ onEnter: Be(v, p?.props.onEnter ?? Xe),
1868
+ onExited: Be(b, p?.props.onExited ?? Xe)
2114
1869
  };
2115
1870
  },
2116
1871
  rootRef: y,
2117
- portalRef: k,
2118
- isTopModal: N,
1872
+ portalRef: _,
1873
+ isTopModal: P,
2119
1874
  exited: E,
2120
1875
  hasTransition: S
2121
1876
  };
2122
1877
  }
2123
- function un(t) {
2124
- return V("MuiModal", t);
1878
+ function Qt(t) {
1879
+ return ge("MuiModal", t);
2125
1880
  }
2126
- H("MuiModal", ["root", "hidden", "backdrop"]);
2127
- const dn = (t) => {
1881
+ he("MuiModal", ["root", "hidden", "backdrop"]);
1882
+ const en = (t) => {
2128
1883
  const {
2129
1884
  open: n,
2130
- exited: r,
2131
- classes: o
1885
+ exited: i,
1886
+ classes: r
2132
1887
  } = t;
2133
- return K({
2134
- root: ["root", !n && r && "hidden"],
1888
+ return ve({
1889
+ root: ["root", !n && i && "hidden"],
2135
1890
  backdrop: ["backdrop"]
2136
- }, un, o);
2137
- }, pn = I("div", {
1891
+ }, Qt, r);
1892
+ }, tn = H("div", {
2138
1893
  name: "MuiModal",
2139
1894
  slot: "Root",
2140
1895
  overridesResolver: (t, n) => {
2141
1896
  const {
2142
- ownerState: r
1897
+ ownerState: i
2143
1898
  } = t;
2144
- return [n.root, !r.open && r.exited && n.hidden];
1899
+ return [n.root, !i.open && i.exited && n.hidden];
2145
1900
  }
2146
- })(ue(({
1901
+ })(_e(({
2147
1902
  theme: t
2148
1903
  }) => ({
2149
1904
  position: "fixed",
@@ -2160,132 +1915,132 @@ const dn = (t) => {
2160
1915
  visibility: "hidden"
2161
1916
  }
2162
1917
  }]
2163
- }))), fn = I(Ie, {
1918
+ }))), nn = H(Ae, {
2164
1919
  name: "MuiModal",
2165
1920
  slot: "Backdrop"
2166
1921
  })({
2167
1922
  zIndex: -1
2168
- }), ct = /* @__PURE__ */ m.forwardRef(function(n, r) {
2169
- const o = q({
1923
+ }), st = /* @__PURE__ */ h.forwardRef(function(n, i) {
1924
+ const r = be({
2170
1925
  name: "MuiModal",
2171
1926
  props: n
2172
1927
  }), {
2173
- BackdropComponent: a = fn,
2174
- BackdropProps: i,
2175
- classes: u,
1928
+ BackdropComponent: a = nn,
1929
+ BackdropProps: s,
1930
+ classes: d,
2176
1931
  className: p,
2177
- closeAfterTransition: d = !1,
1932
+ closeAfterTransition: u = !1,
2178
1933
  children: l,
2179
- container: g,
1934
+ container: m,
2180
1935
  component: c,
2181
- components: s = {},
1936
+ components: o = {},
2182
1937
  componentsProps: f = {},
2183
1938
  disableAutoFocus: y = !1,
2184
1939
  disableEnforceFocus: E = !1,
2185
- disableEscapeKeyDown: T = !1,
1940
+ disableEscapeKeyDown: O = !1,
2186
1941
  disablePortal: S = !1,
2187
1942
  disableRestoreFocus: R = !1,
2188
- disableScrollLock: h = !1,
2189
- hideBackdrop: x = !1,
2190
- keepMounted: P = !1,
2191
- onClose: w,
2192
- onTransitionEnter: N,
2193
- onTransitionExited: k,
2194
- open: M,
2195
- slotProps: j = {},
2196
- slots: F = {},
1943
+ disableScrollLock: g = !1,
1944
+ hideBackdrop: T = !1,
1945
+ keepMounted: N = !1,
1946
+ onClose: D,
1947
+ onTransitionEnter: P,
1948
+ onTransitionExited: _,
1949
+ open: C,
1950
+ slotProps: I = {},
1951
+ slots: L = {},
2197
1952
  // eslint-disable-next-line react/prop-types
2198
- theme: ne,
2199
- ...$
2200
- } = o, O = {
2201
- ...o,
2202
- closeAfterTransition: d,
1953
+ theme: J,
1954
+ ...F
1955
+ } = r, x = {
1956
+ ...r,
1957
+ closeAfterTransition: u,
2203
1958
  disableAutoFocus: y,
2204
1959
  disableEnforceFocus: E,
2205
- disableEscapeKeyDown: T,
1960
+ disableEscapeKeyDown: O,
2206
1961
  disablePortal: S,
2207
1962
  disableRestoreFocus: R,
2208
- disableScrollLock: h,
2209
- hideBackdrop: x,
2210
- keepMounted: P
1963
+ disableScrollLock: g,
1964
+ hideBackdrop: T,
1965
+ keepMounted: N
2211
1966
  }, {
2212
1967
  getRootProps: v,
2213
1968
  getBackdropProps: b,
2214
- getTransitionProps: Z,
2215
- portalRef: re,
2216
- isTopModal: xe,
2217
- exited: de,
2218
- hasTransition: pe
2219
- } = cn({
2220
- ...O,
2221
- rootRef: r
2222
- }), L = {
2223
- ...O,
2224
- exited: de
2225
- }, oe = dn(L), J = {};
2226
- if (l.props.tabIndex === void 0 && (J.tabIndex = "-1"), pe) {
1969
+ getTransitionProps: K,
1970
+ portalRef: Q,
1971
+ isTopModal: Te,
1972
+ exited: se,
1973
+ hasTransition: ae
1974
+ } = Jt({
1975
+ ...x,
1976
+ rootRef: i
1977
+ }), A = {
1978
+ ...x,
1979
+ exited: se
1980
+ }, ee = en(A), G = {};
1981
+ if (l.props.tabIndex === void 0 && (G.tabIndex = "-1"), ae) {
2227
1982
  const {
2228
- onEnter: G,
2229
- onExited: ie
2230
- } = Z();
2231
- J.onEnter = G, J.onExited = ie;
1983
+ onEnter: W,
1984
+ onExited: te
1985
+ } = K();
1986
+ G.onEnter = W, G.onExited = te;
2232
1987
  }
2233
- const fe = {
1988
+ const le = {
2234
1989
  slots: {
2235
- root: s.Root,
2236
- backdrop: s.Backdrop,
2237
- ...F
1990
+ root: o.Root,
1991
+ backdrop: o.Backdrop,
1992
+ ...L
2238
1993
  },
2239
1994
  slotProps: {
2240
1995
  ...f,
2241
- ...j
1996
+ ...I
2242
1997
  }
2243
- }, [Oe, Se] = B("root", {
2244
- ref: r,
2245
- elementType: pn,
1998
+ }, [xe, Oe] = j("root", {
1999
+ ref: i,
2000
+ elementType: tn,
2246
2001
  externalForwardedProps: {
2247
- ...fe,
2248
- ...$,
2002
+ ...le,
2003
+ ...F,
2249
2004
  component: c
2250
2005
  },
2251
2006
  getSlotProps: v,
2252
- ownerState: L,
2253
- className: A(p, oe?.root, !L.open && L.exited && oe?.hidden)
2254
- }), [Re, Ne] = B("backdrop", {
2255
- ref: i?.ref,
2007
+ ownerState: A,
2008
+ className: B(p, ee?.root, !A.open && A.exited && ee?.hidden)
2009
+ }), [Se, Re] = j("backdrop", {
2010
+ ref: s?.ref,
2256
2011
  elementType: a,
2257
- externalForwardedProps: fe,
2012
+ externalForwardedProps: le,
2258
2013
  shouldForwardComponentProp: !0,
2259
- additionalProps: i,
2260
- getSlotProps: (G) => b({
2261
- ...G,
2262
- onClick: (ie) => {
2263
- G?.onClick && G.onClick(ie);
2014
+ additionalProps: s,
2015
+ getSlotProps: (W) => b({
2016
+ ...W,
2017
+ onClick: (te) => {
2018
+ W?.onClick && W.onClick(te);
2264
2019
  }
2265
2020
  }),
2266
- className: A(i?.className, oe?.backdrop),
2267
- ownerState: L
2021
+ className: B(s?.className, ee?.backdrop),
2022
+ ownerState: A
2268
2023
  });
2269
- return !P && !M && (!pe || de) ? null : /* @__PURE__ */ D(be, {
2270
- ref: re,
2271
- container: g,
2024
+ return !N && !C && (!ae || se) ? null : /* @__PURE__ */ M(fe, {
2025
+ ref: Q,
2026
+ container: m,
2272
2027
  disablePortal: S,
2273
- children: /* @__PURE__ */ et(Oe, {
2274
- ...Se,
2275
- children: [!x && a ? /* @__PURE__ */ D(Re, {
2276
- ...Ne
2277
- }) : null, /* @__PURE__ */ D(Ee, {
2028
+ children: /* @__PURE__ */ Ze(xe, {
2029
+ ...Oe,
2030
+ children: [!T && a ? /* @__PURE__ */ M(Se, {
2031
+ ...Re
2032
+ }) : null, /* @__PURE__ */ M(ye, {
2278
2033
  disableEnforceFocus: E,
2279
2034
  disableAutoFocus: y,
2280
2035
  disableRestoreFocus: R,
2281
- isEnabled: xe,
2282
- open: M,
2283
- children: /* @__PURE__ */ m.cloneElement(l, J)
2036
+ isEnabled: Te,
2037
+ open: C,
2038
+ children: /* @__PURE__ */ h.cloneElement(l, G)
2284
2039
  })]
2285
2040
  })
2286
2041
  });
2287
2042
  });
2288
- process.env.NODE_ENV !== "production" && (ct.propTypes = {
2043
+ process.env.NODE_ENV !== "production" && (st.propTypes = {
2289
2044
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2290
2045
  // │ These PropTypes are generated from the TypeScript type definitions. │
2291
2046
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2310,7 +2065,7 @@ process.env.NODE_ENV !== "production" && (ct.propTypes = {
2310
2065
  /**
2311
2066
  * A single child content element.
2312
2067
  */
2313
- children: Te.isRequired,
2068
+ children: Ee.isRequired,
2314
2069
  /**
2315
2070
  * Override or extend the styles applied to the component.
2316
2071
  */
@@ -2362,7 +2117,7 @@ process.env.NODE_ENV !== "production" && (ct.propTypes = {
2362
2117
  * By default, it uses the body of the top-level document object,
2363
2118
  * so it's simply `document.body` most of the time.
2364
2119
  */
2365
- container: e.oneOfType([at, e.func]),
2120
+ container: e.oneOfType([ot, e.func]),
2366
2121
  /**
2367
2122
  * If `true`, the modal will not automatically shift focus to itself when it opens, and
2368
2123
  * replace it to the last focused element when it closes.
@@ -2456,32 +2211,30 @@ process.env.NODE_ENV !== "production" && (ct.propTypes = {
2456
2211
  */
2457
2212
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
2458
2213
  });
2459
- function gn(t) {
2460
- return V("MuiDialog", t);
2214
+ function rn(t) {
2215
+ return ge("MuiDialog", t);
2461
2216
  }
2462
- const Pe = H("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), je = /* @__PURE__ */ m.createContext({});
2463
- process.env.NODE_ENV !== "production" && (je.displayName = "DialogContext");
2464
- const yn = I(Ie, {
2217
+ const Ne = he("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), on = H(Ae, {
2465
2218
  name: "MuiDialog",
2466
2219
  slot: "Backdrop",
2467
2220
  overrides: (t, n) => n.backdrop
2468
2221
  })({
2469
2222
  // Improve scrollable dialog support.
2470
2223
  zIndex: -1
2471
- }), mn = (t) => {
2224
+ }), sn = (t) => {
2472
2225
  const {
2473
2226
  classes: n,
2474
- scroll: r,
2475
- maxWidth: o,
2227
+ scroll: i,
2228
+ maxWidth: r,
2476
2229
  fullWidth: a,
2477
- fullScreen: i
2478
- } = t, u = {
2230
+ fullScreen: s
2231
+ } = t, d = {
2479
2232
  root: ["root"],
2480
- container: ["container", `scroll${W(r)}`],
2481
- paper: ["paper", `paperScroll${W(r)}`, `paperWidth${W(String(o))}`, a && "paperFullWidth", i && "paperFullScreen"]
2233
+ container: ["container", `scroll${Z(i)}`],
2234
+ paper: ["paper", `paperScroll${Z(i)}`, `paperWidth${Z(String(r))}`, a && "paperFullWidth", s && "paperFullScreen"]
2482
2235
  };
2483
- return K(u, gn, n);
2484
- }, hn = I(ct, {
2236
+ return ve(d, rn, n);
2237
+ }, an = H(st, {
2485
2238
  name: "MuiDialog",
2486
2239
  slot: "Root"
2487
2240
  })({
@@ -2489,14 +2242,14 @@ const yn = I(Ie, {
2489
2242
  // Use !important to override the Modal inline-style.
2490
2243
  position: "absolute !important"
2491
2244
  }
2492
- }), bn = I("div", {
2245
+ }), ln = H("div", {
2493
2246
  name: "MuiDialog",
2494
2247
  slot: "Container",
2495
2248
  overridesResolver: (t, n) => {
2496
2249
  const {
2497
- ownerState: r
2250
+ ownerState: i
2498
2251
  } = t;
2499
- return [n.container, n[`scroll${W(r.scroll)}`]];
2252
+ return [n.container, n[`scroll${Z(i.scroll)}`]];
2500
2253
  }
2501
2254
  })({
2502
2255
  height: "100%",
@@ -2531,16 +2284,16 @@ const yn = I(Ie, {
2531
2284
  }
2532
2285
  }
2533
2286
  }]
2534
- }), vn = I(Me, {
2287
+ }), cn = H(Me, {
2535
2288
  name: "MuiDialog",
2536
2289
  slot: "Paper",
2537
2290
  overridesResolver: (t, n) => {
2538
2291
  const {
2539
- ownerState: r
2292
+ ownerState: i
2540
2293
  } = t;
2541
- return [n.paper, n[`scrollPaper${W(r.scroll)}`], n[`paperWidth${W(String(r.maxWidth))}`], r.fullWidth && n.paperFullWidth, r.fullScreen && n.paperFullScreen];
2294
+ return [n.paper, n[`scrollPaper${Z(i.scroll)}`], n[`paperWidth${Z(String(i.maxWidth))}`], i.fullWidth && n.paperFullWidth, i.fullScreen && n.paperFullScreen];
2542
2295
  }
2543
- })(ue(({
2296
+ })(_e(({
2544
2297
  theme: t
2545
2298
  }) => ({
2546
2299
  margin: 32,
@@ -2581,7 +2334,7 @@ const yn = I(Ie, {
2581
2334
  },
2582
2335
  style: {
2583
2336
  maxWidth: t.breakpoints.unit === "px" ? Math.max(t.breakpoints.values.xs, 444) : `max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,
2584
- [`&.${Pe.paperScrollBody}`]: {
2337
+ [`&.${Ne.paperScrollBody}`]: {
2585
2338
  [t.breakpoints.down(Math.max(t.breakpoints.values.xs, 444) + 64)]: {
2586
2339
  maxWidth: "calc(100% - 64px)"
2587
2340
  }
@@ -2593,7 +2346,7 @@ const yn = I(Ie, {
2593
2346
  },
2594
2347
  style: {
2595
2348
  maxWidth: `${t.breakpoints.values[n]}${t.breakpoints.unit}`,
2596
- [`&.${Pe.paperScrollBody}`]: {
2349
+ [`&.${Ne.paperScrollBody}`]: {
2597
2350
  [t.breakpoints.down(t.breakpoints.values[n] + 64)]: {
2598
2351
  maxWidth: "calc(100% - 64px)"
2599
2352
  }
@@ -2617,134 +2370,134 @@ const yn = I(Ie, {
2617
2370
  height: "100%",
2618
2371
  maxHeight: "none",
2619
2372
  borderRadius: 0,
2620
- [`&.${Pe.paperScrollBody}`]: {
2373
+ [`&.${Ne.paperScrollBody}`]: {
2621
2374
  margin: 0,
2622
2375
  maxWidth: "100%"
2623
2376
  }
2624
2377
  }
2625
2378
  }]
2626
- }))), En = /* @__PURE__ */ m.forwardRef(function(n, r) {
2627
- const o = q({
2379
+ }))), un = /* @__PURE__ */ h.forwardRef(function(n, i) {
2380
+ const r = be({
2628
2381
  props: n,
2629
2382
  name: "MuiDialog"
2630
- }), a = ke(), i = {
2383
+ }), a = Ce(), s = {
2631
2384
  enter: a.transitions.duration.enteringScreen,
2632
2385
  exit: a.transitions.duration.leavingScreen
2633
2386
  }, {
2634
- "aria-describedby": u,
2387
+ "aria-describedby": d,
2635
2388
  "aria-labelledby": p,
2636
- "aria-modal": d = !0,
2389
+ "aria-modal": u = !0,
2637
2390
  BackdropComponent: l,
2638
- BackdropProps: g,
2391
+ BackdropProps: m,
2639
2392
  children: c,
2640
- className: s,
2393
+ className: o,
2641
2394
  disableEscapeKeyDown: f = !1,
2642
2395
  fullScreen: y = !1,
2643
2396
  fullWidth: E = !1,
2644
- maxWidth: T = "sm",
2397
+ maxWidth: O = "sm",
2645
2398
  onClick: S,
2646
2399
  onClose: R,
2647
- open: h,
2648
- PaperComponent: x = Me,
2649
- PaperProps: P = {},
2650
- scroll: w = "paper",
2651
- slots: N = {},
2652
- slotProps: k = {},
2653
- TransitionComponent: M = ve,
2654
- transitionDuration: j = i,
2655
- TransitionProps: F,
2656
- ...ne
2657
- } = o, $ = {
2658
- ...o,
2400
+ open: g,
2401
+ PaperComponent: T = Me,
2402
+ PaperProps: N = {},
2403
+ scroll: D = "paper",
2404
+ slots: P = {},
2405
+ slotProps: _ = {},
2406
+ TransitionComponent: C = me,
2407
+ transitionDuration: I = s,
2408
+ TransitionProps: L,
2409
+ ...J
2410
+ } = r, F = {
2411
+ ...r,
2659
2412
  disableEscapeKeyDown: f,
2660
2413
  fullScreen: y,
2661
2414
  fullWidth: E,
2662
- maxWidth: T,
2663
- scroll: w
2664
- }, O = mn($), v = m.useRef(), b = (se) => {
2665
- v.current = se.target === se.currentTarget;
2666
- }, Z = (se) => {
2667
- S && S(se), v.current && (v.current = null, R && R(se, "backdropClick"));
2668
- }, re = bt(p), xe = m.useMemo(() => ({
2669
- titleId: re
2670
- }), [re]), de = {
2671
- transition: M,
2672
- ...N
2673
- }, pe = {
2674
- transition: F,
2675
- paper: P,
2676
- backdrop: g,
2677
- ...k
2678
- }, L = {
2679
- slots: de,
2680
- slotProps: pe
2681
- }, [oe, J] = B("root", {
2682
- elementType: hn,
2415
+ maxWidth: O,
2416
+ scroll: D
2417
+ }, x = sn(F), v = h.useRef(), b = (ne) => {
2418
+ v.current = ne.target === ne.currentTarget;
2419
+ }, K = (ne) => {
2420
+ S && S(ne), v.current && (v.current = null, R && R(ne, "backdropClick"));
2421
+ }, Q = yt(p), Te = h.useMemo(() => ({
2422
+ titleId: Q
2423
+ }), [Q]), se = {
2424
+ transition: C,
2425
+ ...P
2426
+ }, ae = {
2427
+ transition: L,
2428
+ paper: N,
2429
+ backdrop: m,
2430
+ ..._
2431
+ }, A = {
2432
+ slots: se,
2433
+ slotProps: ae
2434
+ }, [ee, G] = j("root", {
2435
+ elementType: an,
2683
2436
  shouldForwardComponentProp: !0,
2684
- externalForwardedProps: L,
2685
- ownerState: $,
2686
- className: A(O.root, s),
2687
- ref: r
2688
- }), [fe, Oe] = B("backdrop", {
2689
- elementType: yn,
2437
+ externalForwardedProps: A,
2438
+ ownerState: F,
2439
+ className: B(x.root, o),
2440
+ ref: i
2441
+ }), [le, xe] = j("backdrop", {
2442
+ elementType: on,
2690
2443
  shouldForwardComponentProp: !0,
2691
- externalForwardedProps: L,
2692
- ownerState: $
2693
- }), [Se, Re] = B("paper", {
2694
- elementType: vn,
2444
+ externalForwardedProps: A,
2445
+ ownerState: F
2446
+ }), [Oe, Se] = j("paper", {
2447
+ elementType: cn,
2695
2448
  shouldForwardComponentProp: !0,
2696
- externalForwardedProps: L,
2697
- ownerState: $,
2698
- className: A(O.paper, P.className)
2699
- }), [Ne, G] = B("container", {
2700
- elementType: bn,
2701
- externalForwardedProps: L,
2702
- ownerState: $,
2703
- className: O.container
2704
- }), [ie, ut] = B("transition", {
2705
- elementType: ve,
2706
- externalForwardedProps: L,
2707
- ownerState: $,
2449
+ externalForwardedProps: A,
2450
+ ownerState: F,
2451
+ className: B(x.paper, N.className)
2452
+ }), [Re, W] = j("container", {
2453
+ elementType: ln,
2454
+ externalForwardedProps: A,
2455
+ ownerState: F,
2456
+ className: x.container
2457
+ }), [te, at] = j("transition", {
2458
+ elementType: me,
2459
+ externalForwardedProps: A,
2460
+ ownerState: F,
2708
2461
  additionalProps: {
2709
2462
  appear: !0,
2710
- in: h,
2711
- timeout: j,
2463
+ in: g,
2464
+ timeout: I,
2712
2465
  role: "presentation"
2713
2466
  }
2714
2467
  });
2715
- return /* @__PURE__ */ D(oe, {
2468
+ return /* @__PURE__ */ M(ee, {
2716
2469
  closeAfterTransition: !0,
2717
2470
  slots: {
2718
- backdrop: fe
2471
+ backdrop: le
2719
2472
  },
2720
2473
  slotProps: {
2721
2474
  backdrop: {
2722
- transitionDuration: j,
2475
+ transitionDuration: I,
2723
2476
  as: l,
2724
- ...Oe
2477
+ ...xe
2725
2478
  }
2726
2479
  },
2727
2480
  disableEscapeKeyDown: f,
2728
2481
  onClose: R,
2729
- open: h,
2730
- onClick: Z,
2482
+ open: g,
2483
+ onClick: K,
2484
+ ...G,
2731
2485
  ...J,
2732
- ...ne,
2733
- children: /* @__PURE__ */ D(ie, {
2734
- ...ut,
2735
- children: /* @__PURE__ */ D(Ne, {
2486
+ children: /* @__PURE__ */ M(te, {
2487
+ ...at,
2488
+ children: /* @__PURE__ */ M(Re, {
2736
2489
  onMouseDown: b,
2737
- ...G,
2738
- children: /* @__PURE__ */ D(Se, {
2739
- as: x,
2490
+ ...W,
2491
+ children: /* @__PURE__ */ M(Oe, {
2492
+ as: T,
2740
2493
  elevation: 24,
2741
2494
  role: "dialog",
2742
- "aria-describedby": u,
2743
- "aria-labelledby": re,
2744
- "aria-modal": d,
2745
- ...Re,
2746
- children: /* @__PURE__ */ D(je.Provider, {
2747
- value: xe,
2495
+ "aria-describedby": d,
2496
+ "aria-labelledby": Q,
2497
+ "aria-modal": u,
2498
+ ...Se,
2499
+ children: /* @__PURE__ */ M(ct.Provider, {
2500
+ value: Te,
2748
2501
  children: c
2749
2502
  })
2750
2503
  })
@@ -2752,7 +2505,7 @@ const yn = I(Ie, {
2752
2505
  })
2753
2506
  });
2754
2507
  });
2755
- process.env.NODE_ENV !== "production" && (En.propTypes = {
2508
+ process.env.NODE_ENV !== "production" && (un.propTypes = {
2756
2509
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2757
2510
  // │ These PropTypes are generated from the TypeScript type definitions. │
2758
2511
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2907,250 +2660,6 @@ process.env.NODE_ENV !== "production" && (En.propTypes = {
2907
2660
  */
2908
2661
  TransitionProps: e.object
2909
2662
  });
2910
- function Tn(t) {
2911
- return V("MuiDialogActions", t);
2912
- }
2913
- H("MuiDialogActions", ["root", "spacing"]);
2914
- const xn = (t) => {
2915
- const {
2916
- classes: n,
2917
- disableSpacing: r
2918
- } = t;
2919
- return K({
2920
- root: ["root", !r && "spacing"]
2921
- }, Tn, n);
2922
- }, On = I("div", {
2923
- name: "MuiDialogActions",
2924
- slot: "Root",
2925
- overridesResolver: (t, n) => {
2926
- const {
2927
- ownerState: r
2928
- } = t;
2929
- return [n.root, !r.disableSpacing && n.spacing];
2930
- }
2931
- })({
2932
- display: "flex",
2933
- alignItems: "center",
2934
- padding: 8,
2935
- justifyContent: "flex-end",
2936
- flex: "0 0 auto",
2937
- variants: [{
2938
- props: ({
2939
- ownerState: t
2940
- }) => !t.disableSpacing,
2941
- style: {
2942
- "& > :not(style) ~ :not(style)": {
2943
- marginLeft: 8
2944
- }
2945
- }
2946
- }]
2947
- }), Sn = /* @__PURE__ */ m.forwardRef(function(n, r) {
2948
- const o = q({
2949
- props: n,
2950
- name: "MuiDialogActions"
2951
- }), {
2952
- className: a,
2953
- disableSpacing: i = !1,
2954
- ...u
2955
- } = o, p = {
2956
- ...o,
2957
- disableSpacing: i
2958
- }, d = xn(p);
2959
- return /* @__PURE__ */ D(On, {
2960
- className: A(d.root, a),
2961
- ownerState: p,
2962
- ref: r,
2963
- ...u
2964
- });
2965
- });
2966
- process.env.NODE_ENV !== "production" && (Sn.propTypes = {
2967
- // ┌────────────────────────────── Warning ──────────────────────────────┐
2968
- // │ These PropTypes are generated from the TypeScript type definitions. │
2969
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
2970
- // └─────────────────────────────────────────────────────────────────────┘
2971
- /**
2972
- * The content of the component.
2973
- */
2974
- children: e.node,
2975
- /**
2976
- * Override or extend the styles applied to the component.
2977
- */
2978
- classes: e.object,
2979
- /**
2980
- * @ignore
2981
- */
2982
- className: e.string,
2983
- /**
2984
- * If `true`, the actions do not have additional margin.
2985
- * @default false
2986
- */
2987
- disableSpacing: e.bool,
2988
- /**
2989
- * The system prop that allows defining system overrides as well as additional CSS styles.
2990
- */
2991
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
2992
- });
2993
- function Rn(t) {
2994
- return V("MuiDialogContent", t);
2995
- }
2996
- H("MuiDialogContent", ["root", "dividers"]);
2997
- function Nn(t) {
2998
- return V("MuiDialogTitle", t);
2999
- }
3000
- const Dn = H("MuiDialogTitle", ["root"]), Pn = (t) => {
3001
- const {
3002
- classes: n,
3003
- dividers: r
3004
- } = t;
3005
- return K({
3006
- root: ["root", r && "dividers"]
3007
- }, Rn, n);
3008
- }, wn = I("div", {
3009
- name: "MuiDialogContent",
3010
- slot: "Root",
3011
- overridesResolver: (t, n) => {
3012
- const {
3013
- ownerState: r
3014
- } = t;
3015
- return [n.root, r.dividers && n.dividers];
3016
- }
3017
- })(ue(({
3018
- theme: t
3019
- }) => ({
3020
- flex: "1 1 auto",
3021
- // Add iOS momentum scrolling for iOS < 13.0
3022
- WebkitOverflowScrolling: "touch",
3023
- overflowY: "auto",
3024
- padding: "20px 24px",
3025
- variants: [{
3026
- props: ({
3027
- ownerState: n
3028
- }) => n.dividers,
3029
- style: {
3030
- padding: "16px 24px",
3031
- borderTop: `1px solid ${(t.vars || t).palette.divider}`,
3032
- borderBottom: `1px solid ${(t.vars || t).palette.divider}`
3033
- }
3034
- }, {
3035
- props: ({
3036
- ownerState: n
3037
- }) => !n.dividers,
3038
- style: {
3039
- [`.${Dn.root} + &`]: {
3040
- paddingTop: 0
3041
- }
3042
- }
3043
- }]
3044
- }))), Cn = /* @__PURE__ */ m.forwardRef(function(n, r) {
3045
- const o = q({
3046
- props: n,
3047
- name: "MuiDialogContent"
3048
- }), {
3049
- className: a,
3050
- dividers: i = !1,
3051
- ...u
3052
- } = o, p = {
3053
- ...o,
3054
- dividers: i
3055
- }, d = Pn(p);
3056
- return /* @__PURE__ */ D(wn, {
3057
- className: A(d.root, a),
3058
- ownerState: p,
3059
- ref: r,
3060
- ...u
3061
- });
3062
- });
3063
- process.env.NODE_ENV !== "production" && (Cn.propTypes = {
3064
- // ┌────────────────────────────── Warning ──────────────────────────────┐
3065
- // │ These PropTypes are generated from the TypeScript type definitions. │
3066
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
3067
- // └─────────────────────────────────────────────────────────────────────┘
3068
- /**
3069
- * The content of the component.
3070
- */
3071
- children: e.node,
3072
- /**
3073
- * Override or extend the styles applied to the component.
3074
- */
3075
- classes: e.object,
3076
- /**
3077
- * @ignore
3078
- */
3079
- className: e.string,
3080
- /**
3081
- * Display the top and bottom dividers.
3082
- * @default false
3083
- */
3084
- dividers: e.bool,
3085
- /**
3086
- * The system prop that allows defining system overrides as well as additional CSS styles.
3087
- */
3088
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
3089
- });
3090
- const _n = (t) => {
3091
- const {
3092
- classes: n
3093
- } = t;
3094
- return K({
3095
- root: ["root"]
3096
- }, Nn, n);
3097
- }, kn = I(st, {
3098
- name: "MuiDialogTitle",
3099
- slot: "Root"
3100
- })({
3101
- padding: "16px 24px",
3102
- flex: "0 0 auto"
3103
- }), Mn = /* @__PURE__ */ m.forwardRef(function(n, r) {
3104
- const o = q({
3105
- props: n,
3106
- name: "MuiDialogTitle"
3107
- }), {
3108
- className: a,
3109
- id: i,
3110
- ...u
3111
- } = o, p = o, d = _n(p), {
3112
- titleId: l = i
3113
- } = m.useContext(je);
3114
- return /* @__PURE__ */ D(kn, {
3115
- component: "h2",
3116
- className: A(d.root, a),
3117
- ownerState: p,
3118
- ref: r,
3119
- variant: "h6",
3120
- id: i ?? l,
3121
- ...u
3122
- });
3123
- });
3124
- process.env.NODE_ENV !== "production" && (Mn.propTypes = {
3125
- // ┌────────────────────────────── Warning ──────────────────────────────┐
3126
- // │ These PropTypes are generated from the TypeScript type definitions. │
3127
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
3128
- // └─────────────────────────────────────────────────────────────────────┘
3129
- /**
3130
- * The content of the component.
3131
- */
3132
- children: e.node,
3133
- /**
3134
- * Override or extend the styles applied to the component.
3135
- */
3136
- classes: e.object,
3137
- /**
3138
- * @ignore
3139
- */
3140
- className: e.string,
3141
- /**
3142
- * @ignore
3143
- */
3144
- id: e.string,
3145
- /**
3146
- * The system prop that allows defining system overrides as well as additional CSS styles.
3147
- */
3148
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
3149
- });
3150
2663
  export {
3151
- En as D,
3152
- st as T,
3153
- Mn as a,
3154
- Cn as b,
3155
- Sn as c
2664
+ un as D
3156
2665
  };