@hai-dev/ui-kit 1.0.6 → 1.0.8

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 (35) hide show
  1. package/dist/{Box-CiYPzbPd.js → Box-D8oKffw9.js} +18 -17
  2. package/dist/{Button-chJUX25I.js → Button-BBF8hp7e.js} +16 -15
  3. package/dist/{ButtonBase-DZwhOh56.js → ButtonBase-T2KH9jsD.js} +2 -2
  4. package/dist/{CircularProgress-BCrSQadM.js → CircularProgress-BQQkuSse.js} +110 -136
  5. package/dist/{DialogTitle-BUcXvkzd.js → Dialog-B97c7WYP.js} +765 -1010
  6. package/dist/DialogTitle-Du4tqTs0.js +254 -0
  7. package/dist/{Typography-BmYEfS8y.js → Typography-r_TXEM1e.js} +4 -4
  8. package/dist/assets/upload-dialog-errors.css +1 -0
  9. package/dist/assets/upload-dialog.css +1 -1
  10. package/dist/{chainPropTypes-HYSaT0L0.js → chainPropTypes-KIxDwPzf.js} +15 -15
  11. package/dist/components/button/button.js +1 -1
  12. package/dist/components/circular-progress-loader/circular-progress-loader.js +3 -3
  13. package/dist/components/photo-crop-uploader/components/error-upload-dialog/error-upload-dialog.js +26 -25
  14. package/dist/components/photo-crop-uploader/components/photo-list/photo-list.js +1 -1
  15. package/dist/components/photo-crop-uploader/components/upload-button/upload-button.js +17 -17
  16. package/dist/components/photo-crop-uploader/components/upload-dialog/types.d.ts +12 -1
  17. package/dist/components/photo-crop-uploader/components/upload-dialog/upload-dialog-errors.d.ts +3 -0
  18. package/dist/components/photo-crop-uploader/components/upload-dialog/upload-dialog-errors.js +10 -0
  19. package/dist/components/photo-crop-uploader/components/upload-dialog/upload-dialog.js +152 -129
  20. package/dist/components/photo-crop-uploader/constants.d.ts +3 -0
  21. package/dist/components/photo-crop-uploader/constants.js +35 -32
  22. package/dist/components/photo-crop-uploader/locale.js +8 -2
  23. package/dist/components/photo-crop-uploader/photo-crop-uploader.js +191 -152
  24. package/dist/components/photo-crop-uploader/types.d.ts +17 -3
  25. package/dist/components/photo-crop-uploader/utils/get-default-cropped-photo.d.ts +2 -1
  26. package/dist/components/photo-crop-uploader/utils/get-default-cropped-photo.js +26 -19
  27. package/dist/constants.d.ts +1 -0
  28. package/dist/constants.js +2 -1
  29. package/dist/createSimplePaletteValueFilter-nb0wSOzC.js +30 -0
  30. package/dist/{createTheme-BfVKUMHQ.js → createTheme-RvzX1VSA.js} +9 -9
  31. package/dist/extendSxProp-BW9e6LtL.js +36 -0
  32. package/dist/upload-dialog-errors-ku54UrUb.js +365 -0
  33. package/dist/useTheme-CsjkCBFJ.js +16 -0
  34. package/package.json +1 -1
  35. package/dist/extendSxProp-bpz0eCso.js +0 -49
@@ -1,44 +1,44 @@
1
- import * as y from "react";
2
- import ee from "react";
3
- import { T as ct, P as e, d as K, g as G, q as je, c as L, t as Fe, e as te } from "./createTheme-BfVKUMHQ.js";
4
- import { e as ut, u as Y, s as j, c as z, d as ke } from "./chainPropTypes-HYSaT0L0.js";
5
- import { u as dt } from "./extendSxProp-bpz0eCso.js";
6
- import { jsx as D, jsxs as Je } from "react/jsx-runtime";
7
- import { m as Ee } from "./CircularProgress-BCrSQadM.js";
8
- import { _ as pt, a as ft, T as Qe, u as ce, b as $e, c as Ue } from "./ButtonBase-DZwhOh56.js";
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";
9
10
  import { g as mt } from "./index-B2JRaoNz.js";
10
- import { u as gt } from "./useId-CK6Kn3Tn.js";
11
- import { T as yt } from "./Typography-BmYEfS8y.js";
12
- const ht = "exact-prop: ​";
13
- function et(t) {
11
+ import { u as yt } from "./useId-CK6Kn3Tn.js";
12
+ const gt = "exact-prop: ​";
13
+ function Qe(t) {
14
14
  return process.env.NODE_ENV === "production" ? t : {
15
15
  ...t,
16
- [ht]: (n) => {
17
- const r = Object.keys(n).filter((o) => !t.hasOwnProperty(o));
18
- 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;
19
19
  }
20
20
  };
21
21
  }
22
- function _e() {
22
+ function Ce() {
23
23
  const t = dt(ut);
24
- return process.env.NODE_ENV !== "production" && y.useDebugValue(t), t[ct] || t;
24
+ return process.env.NODE_ENV !== "production" && h.useDebugValue(t), t[lt] || t;
25
25
  }
26
26
  function Be(...t) {
27
- return t.reduce((n, r) => r == null ? n : function(...a) {
28
- n.apply(this, a), r.apply(this, a);
27
+ return t.reduce((n, i) => i == null ? n : function(...a) {
28
+ n.apply(this, a), i.apply(this, a);
29
29
  }, () => {
30
30
  });
31
31
  }
32
32
  function q(t) {
33
33
  return t && t.ownerDocument || document;
34
34
  }
35
- function ye(t) {
35
+ function pe(t) {
36
36
  return q(t).defaultView || window;
37
37
  }
38
38
  function He(t, n) {
39
39
  typeof t == "function" ? t(n) : t && (t.current = n);
40
40
  }
41
- var fe = { exports: {} }, C = {};
41
+ var ce = { exports: {} }, w = {};
42
42
  /**
43
43
  * @license React
44
44
  * react-dom.production.js
@@ -48,11 +48,11 @@ var fe = { 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 bt() {
53
- if (Ve) return C;
54
- Ve = 1;
55
- var t = ee;
51
+ var We;
52
+ function ht() {
53
+ if (We) return w;
54
+ We = 1;
55
+ var t = X;
56
56
  function n(u) {
57
57
  var l = "https://react.dev/errors/" + u;
58
58
  if (1 < arguments.length) {
@@ -62,26 +62,26 @@ function bt() {
62
62
  }
63
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(u, l, m) {
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,
@@ -97,41 +97,41 @@ function bt() {
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(u, l) {
100
+ return w.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = r, w.createPortal = function(u, l) {
101
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(u, l, null, m);
105
- }, C.flushSync = function(u) {
106
- var l = d.T, m = 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 (d.T = null, o.p = 2, u) return u();
108
+ if (d.T = null, r.p = 2, u) return u();
109
109
  } finally {
110
- d.T = l, o.p = m, o.d.f();
110
+ d.T = l, r.p = m, r.d.f();
111
111
  }
112
- }, C.preconnect = function(u, l) {
113
- typeof u == "string" && (l ? (l = l.crossOrigin, l = typeof l == "string" ? l === "use-credentials" ? l : "" : void 0) : l = null, o.d.C(u, l));
114
- }, C.prefetchDNS = function(u) {
115
- typeof u == "string" && o.d.D(u);
116
- }, C.preinit = function(u, l) {
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
117
  if (typeof u == "string" && l && typeof l.as == "string") {
118
- var m = l.as, c = p(m, l.crossOrigin), s = typeof l.integrity == "string" ? l.integrity : void 0, f = typeof l.fetchPriority == "string" ? l.fetchPriority : void 0;
119
- m === "style" ? o.d.S(
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
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
- ) : m === "script" && o.d.X(u, {
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(u, l) {
134
+ }, w.preinitModule = function(u, l) {
135
135
  if (typeof u == "string")
136
136
  if (typeof l == "object" && l !== null) {
137
137
  if (l.as == null || l.as === "script") {
@@ -139,17 +139,17 @@ function bt() {
139
139
  l.as,
140
140
  l.crossOrigin
141
141
  );
142
- o.d.M(u, {
142
+ r.d.M(u, {
143
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(u);
149
- }, C.preload = function(u, l) {
148
+ } else l == null && r.d.M(u);
149
+ }, w.preload = function(u, l) {
150
150
  if (typeof u == "string" && typeof l == "object" && l !== null && typeof l.as == "string") {
151
151
  var m = l.as, c = p(m, l.crossOrigin);
152
- o.d.L(u, m, {
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,25 +161,25 @@ function bt() {
161
161
  media: typeof l.media == "string" ? l.media : void 0
162
162
  });
163
163
  }
164
- }, C.preloadModule = function(u, l) {
164
+ }, w.preloadModule = function(u, l) {
165
165
  if (typeof u == "string")
166
166
  if (l) {
167
167
  var m = p(l.as, l.crossOrigin);
168
- o.d.m(u, {
168
+ r.d.m(u, {
169
169
  as: typeof l.as == "string" && l.as !== "script" ? l.as : void 0,
170
170
  crossOrigin: m,
171
171
  integrity: typeof l.integrity == "string" ? l.integrity : void 0
172
172
  });
173
- } else o.d.m(u);
174
- }, C.requestFormReset = function(u) {
175
- o.d.r(u);
176
- }, C.unstable_batchedUpdates = function(u, l) {
173
+ } else r.d.m(u);
174
+ }, w.requestFormReset = function(u) {
175
+ r.d.r(u);
176
+ }, w.unstable_batchedUpdates = function(u, l) {
177
177
  return u(l);
178
- }, C.useFormState = function(u, l, m) {
178
+ }, w.useFormState = function(u, l, m) {
179
179
  return d.H.useFormState(u, l, m);
180
- }, C.useFormStatus = function() {
180
+ }, w.useFormStatus = function() {
181
181
  return d.H.useHostTransitionStatus();
182
- }, C.version = "19.1.1", C;
182
+ }, w.version = "19.1.1", w;
183
183
  }
184
184
  var k = {};
185
185
  /**
@@ -191,42 +191,42 @@ var k = {};
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 We;
195
- function vt() {
196
- return We || (We = 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) {
203
- var g = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
202
+ function i(c, o, f) {
203
+ var y = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
204
204
  try {
205
- n(g);
205
+ n(y);
206
206
  var E = !1;
207
207
  } catch {
208
208
  E = !0;
209
209
  }
210
210
  return E && (console.error(
211
211
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
212
- typeof Symbol == "function" && Symbol.toStringTag && g[Symbol.toStringTag] || g.constructor.name || "Object"
213
- ), n(g)), {
212
+ typeof Symbol == "function" && Symbol.toStringTag && y[Symbol.toStringTag] || y.constructor.name || "Object"
213
+ ), n(y)), {
214
214
  $$typeof: l,
215
- key: g == null ? null : "" + g,
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
232
  function d() {
@@ -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 = ee, u = {
243
+ var p = X, u = {
244
244
  d: {
245
245
  f: t,
246
246
  r: function() {
@@ -261,32 +261,32 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
261
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
- ), k.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = u, k.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);
268
+ return i(c, o, null, f);
269
269
  }, k.flushSync = function(c) {
270
- var s = m.T, f = u.p;
270
+ var o = m.T, f = u.p;
271
271
  try {
272
272
  if (m.T = null, u.p = 2, c)
273
273
  return c();
274
274
  } finally {
275
- m.T = s, u.p = f, u.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
- }, k.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, u.d.C(c, s));
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
290
  }, k.prefetchDNS = function(c) {
291
291
  if (typeof c != "string" || !c)
292
292
  console.error(
@@ -294,120 +294,120 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
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
306
  typeof c == "string" && u.d.D(c);
307
- }, k.preinit = function(c, s) {
308
- if (typeof c == "string" && c ? s == null || typeof s != "object" ? console.error(
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, g = o(f, s.crossOrigin), E = typeof s.integrity == "string" ? s.integrity : void 0, O = typeof s.fetchPriority == "string" ? s.fetchPriority : void 0;
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
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
- crossOrigin: g,
323
+ crossOrigin: y,
324
324
  integrity: E,
325
325
  fetchPriority: O
326
326
  }
327
327
  ) : f === "script" && u.d.X(c, {
328
- crossOrigin: g,
328
+ crossOrigin: y,
329
329
  integrity: E,
330
330
  fetchPriority: O,
331
- nonce: typeof s.nonce == "string" ? s.nonce : void 0
331
+ nonce: typeof o.nonce == "string" ? o.nonce : void 0
332
332
  });
333
333
  }
334
- }, k.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
352
+ typeof c == "string" && (typeof o == "object" && o !== null ? (o.as == null || o.as === "script") && (f = r(
353
+ o.as,
354
+ o.crossOrigin
355
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 && u.d.M(c));
360
- }, k.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 g = 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
371
  u.d.L(c, f, {
372
- crossOrigin: g,
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
372
+ crossOrigin: y,
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
- }, k.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
388
+ ), typeof c == "string" && (o ? (f = r(
389
+ o.as,
390
+ o.crossOrigin
391
391
  ), u.d.m(c, {
392
- as: typeof s.as == "string" && s.as !== "script" ? s.as : void 0,
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
394
+ integrity: typeof o.integrity == "string" ? o.integrity : void 0
395
395
  })) : u.d.m(c));
396
396
  }, k.requestFormReset = function(c) {
397
397
  u.d.r(c);
398
- }, k.unstable_batchedUpdates = function(c, s) {
399
- return c(s);
400
- }, k.useFormState = function(c, s, f) {
401
- return d().useFormState(c, s, f);
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
402
  }, k.useFormStatus = function() {
403
403
  return d().useHostTransitionStatus();
404
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
405
  })()), k;
406
406
  }
407
- var qe;
408
- function Et() {
409
- if (qe) return fe.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 Et() {
419
419
  }
420
420
  }
421
421
  }
422
- return process.env.NODE_ENV === "production" ? (t(), fe.exports = bt()) : fe.exports = vt(), fe.exports;
422
+ return process.env.NODE_ENV === "production" ? (t(), ce.exports = ht()) : ce.exports = bt(), ce.exports;
423
423
  }
424
- var tt = Et();
425
- const me = /* @__PURE__ */ mt(tt), Ke = {
424
+ var et = vt();
425
+ const ue = /* @__PURE__ */ mt(et), qe = {
426
426
  disabled: !1
427
427
  };
428
- var Tt = 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,112 +442,112 @@ 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 xt = function(n) {
445
+ var Tt = function(n) {
446
446
  return n.scrollTop;
447
- }, ae = "unmounted", V = "exited", W = "entering", Q = "entered", we = "exiting", B = /* @__PURE__ */ (function(t) {
447
+ }, re = "unmounted", U = "exited", V = "entering", Y = "entered", De = "exiting", $ = /* @__PURE__ */ (function(t) {
448
448
  pt(n, t);
449
- function n(o, a) {
450
- var i;
451
- i = t.call(this, o, a) || this;
452
- var d = a, p = d && !d.isMounting ? o.enter : o.appear, u;
453
- return i.appearStatus = null, o.in ? p ? (u = V, i.appearStatus = W) : u = Q : o.unmountOnExit || o.mountOnEnter ? u = ae : u = V, i.state = {
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
454
  status: u
455
- }, i.nextCallback = null, i;
455
+ }, s.nextCallback = null, s;
456
456
  }
457
- n.getDerivedStateFromProps = function(a, i) {
457
+ n.getDerivedStateFromProps = function(a, s) {
458
458
  var d = a.in;
459
- return d && i.status === ae ? {
460
- status: V
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
469
  var d = this.state.status;
470
- this.props.in ? d !== W && d !== Q && (i = W) : (d === W || d === Q) && (i = we);
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, d, p;
477
- return i = d = p = a, a != null && typeof a != "number" && (i = a.exit, d = a.enter, p = a.appear !== void 0 ? a.appear : d), {
478
- exit: i,
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
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 === W) {
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 d = this.props.nodeRef ? this.props.nodeRef.current : me.findDOMNode(this);
487
- d && xt(d);
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 === V && 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, d = this.props.enter, p = this.context ? this.context.isMounting : a, u = this.props.nodeRef ? [p] : [me.findDOMNode(this), p], l = u[0], m = u[1], c = this.getTimeouts(), s = p ? c.appear : c.enter;
497
- if (!a && !d || 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: Q
499
+ status: Y
500
500
  }, function() {
501
- i.props.onEntered(l);
501
+ s.props.onEntered(l);
502
502
  });
503
503
  return;
504
504
  }
505
505
  this.props.onEnter(l, m), this.safeSetState({
506
- status: W
506
+ status: V
507
507
  }, function() {
508
- i.props.onEntering(l, m), i.onTransitionEnd(s, function() {
509
- i.safeSetState({
510
- status: Q
508
+ s.props.onEntering(l, m), s.onTransitionEnd(o, function() {
509
+ s.safeSetState({
510
+ status: Y
511
511
  }, function() {
512
- i.props.onEntered(l, m);
512
+ s.props.onEntered(l, m);
513
513
  });
514
514
  });
515
515
  });
516
- }, r.performExit = function() {
517
- var a = this, i = this.props.exit, d = this.getTimeouts(), p = this.props.nodeRef ? void 0 : me.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: V
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
529
  a.props.onExiting(p), a.onTransitionEnd(d.exit, function() {
530
530
  a.safeSetState({
531
- status: V
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, d = !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
- d && (d = !1, i.nextCallback = null, a(p));
544
+ d && (d = !1, s.nextCallback = null, a(p));
545
545
  }, this.nextCallback.cancel = function() {
546
546
  d = !1;
547
547
  }, this.nextCallback;
548
- }, r.onTransitionEnd = function(a, i) {
549
- this.setNextCallback(i);
550
- var d = this.props.nodeRef ? this.props.nodeRef.current : me.findDOMNode(this), p = a == null && !this.props.addEndListener;
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
551
  if (!d || p) {
552
552
  setTimeout(this.nextCallback, 0);
553
553
  return;
@@ -557,23 +557,23 @@ var xt = function(n) {
557
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, d = 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 = ft(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__ */ ee.createElement(Qe.Provider, {
569
+ /* @__PURE__ */ X.createElement(Je.Provider, {
570
570
  value: null
571
- }, typeof d == "function" ? d(a, p) : ee.cloneElement(ee.Children.only(d), p))
571
+ }, typeof d == "function" ? d(a, p) : X.cloneElement(X.Children.only(d), p))
572
572
  );
573
573
  }, n;
574
- })(ee.Component);
575
- B.contextType = Qe;
576
- B.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 @@ B.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) {
589
+ current: typeof Element > "u" ? e.any : function(t, n, i, r, a, s) {
590
590
  var d = t[n];
591
- return e.instanceOf(d && "ownerDocument" in d ? d.ownerDocument.defaultView.Element : Element)(t, n, r, o, a, i);
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 @@ B.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 = Tt;
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 @@ B.propTypes = process.env.NODE_ENV !== "production" ? {
742
742
  */
743
743
  onExited: e.func
744
744
  } : {};
745
- function J() {
745
+ function z() {
746
746
  }
747
- B.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: J,
755
- onEntering: J,
756
- onEntered: J,
757
- onExit: J,
758
- onExiting: J,
759
- onExited: J
754
+ onEnter: z,
755
+ onEntering: z,
756
+ onEntered: z,
757
+ onExit: z,
758
+ onExiting: z,
759
+ onExited: z
760
760
  };
761
- B.UNMOUNTED = ae;
762
- B.EXITED = V;
763
- B.ENTERING = W;
764
- B.ENTERED = Q;
765
- B.EXITING = we;
766
- const Ot = (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 St(t) {
779
+ function Ot(t) {
780
780
  const n = typeof t;
781
781
  switch (n) {
782
782
  case "number":
@@ -787,47 +787,47 @@ function St(t) {
787
787
  return n;
788
788
  }
789
789
  }
790
- function nt(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 = St(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 : nt(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 = nt;
805
- Ce.isRequired = Ce;
806
- const Rt = process.env.NODE_ENV === "production" ? Ce : ot;
807
- function Nt(t) {
808
- return K("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
- G("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 Dt = (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 z(i, Nt, a);
821
- }, Pt = j("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
- })(Ee(({
830
+ })(_e(({
831
831
  theme: t
832
832
  }) => ({
833
833
  backgroundColor: (t.vars || t).palette.background.paper,
@@ -856,30 +856,30 @@ const Dt = (t) => {
856
856
  backgroundImage: "var(--Paper-overlay)"
857
857
  }
858
858
  }]
859
- }))), Me = /* @__PURE__ */ y.forwardRef(function(n, r) {
860
- const o = Y({
859
+ }))), Me = /* @__PURE__ */ h.forwardRef(function(n, i) {
860
+ const r = be({
861
861
  props: n,
862
862
  name: "MuiPaper"
863
- }), a = _e(), {
864
- className: i,
863
+ }), a = Ce(), {
864
+ className: s,
865
865
  component: d = "div",
866
866
  elevation: p = 1,
867
867
  square: u = !1,
868
868
  variant: l = "elevation",
869
869
  ...m
870
- } = o, c = {
871
- ...o,
870
+ } = r, c = {
871
+ ...r,
872
872
  component: d,
873
873
  elevation: p,
874
874
  square: u,
875
875
  variant: l
876
- }, s = Dt(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(Pt, {
878
+ `)), /* @__PURE__ */ M(Nt, {
879
879
  as: d,
880
880
  ownerState: c,
881
- className: L(s.root, i),
882
- ref: r,
881
+ className: B(o.root, s),
882
+ ref: i,
883
883
  ...m,
884
884
  style: {
885
885
  ...l === "elevation" && {
@@ -888,7 +888,7 @@ const Dt = (t) => {
888
888
  "--Paper-overlay": a.vars.overlays?.[p]
889
889
  },
890
890
  ...!a.vars && a.palette.mode === "dark" && {
891
- "--Paper-overlay": `linear-gradient(${je("#fff", Fe(p))}, ${je("#fff", Fe(p))})`
891
+ "--Paper-overlay": `linear-gradient(${Le("#fff", Fe(p))}, ${Le("#fff", Fe(p))})`
892
892
  }
893
893
  },
894
894
  ...m.style
@@ -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: ke(Rt, (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,85 +948,85 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
948
948
  */
949
949
  variant: e.oneOfType([e.oneOf(["elevation", "outlined"]), e.string])
950
950
  });
951
- function wt(t) {
951
+ function Dt(t) {
952
952
  return typeof t == "string";
953
953
  }
954
- function Ct(t, n, r) {
955
- return t === void 0 || wt(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 kt(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
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
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 = L(r?.className, i, a?.className, o?.className), g = {
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
- return f.length > 0 && (E.className = f), Object.keys(g).length > 0 && (E.style = g), {
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
1005
  const d = rt({
1006
1006
  ...a,
1007
- ...o
1008
- }), p = Ye(o), u = Ye(a), l = n(d), m = L(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,
1015
+ ...i,
1016
1016
  ...u,
1017
1017
  ...p
1018
1018
  };
1019
- return m.length > 0 && (s.className = m), 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 U(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,
1029
+ externalForwardedProps: s,
1030
1030
  internalForwardedProps: d,
1031
1031
  shouldForwardComponentProp: p = !1,
1032
1032
  ...u
@@ -1038,69 +1038,69 @@ function U(t, n) {
1038
1038
  slotProps: c = {
1039
1039
  [t]: void 0
1040
1040
  },
1041
- ...s
1042
- } = i, f = m[t] || o, g = kt(c[t], a), {
1041
+ ...o
1042
+ } = s, f = m[t] || r, y = kt(c[t], a), {
1043
1043
  props: {
1044
1044
  component: E,
1045
1045
  ...O
1046
1046
  },
1047
1047
  internalRef: S
1048
1048
  } = _t({
1049
- className: r,
1049
+ className: i,
1050
1050
  ...u,
1051
- externalForwardedProps: t === "root" ? s : void 0,
1052
- externalSlotProps: g
1053
- }), R = ce(S, g?.ref, n.ref), h = t === "root" ? E || l : E, T = Ct(f, {
1051
+ externalForwardedProps: t === "root" ? o : void 0,
1052
+ externalSlotProps: y
1053
+ }), R = ie(S, y?.ref, n.ref), g = t === "root" ? E || l : E, T = wt(f, {
1054
1054
  ...t === "root" && !l && !m[t] && d,
1055
1055
  ...t !== "root" && !m[t] && d,
1056
1056
  ...O,
1057
- ...h && !p && {
1058
- as: h
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
1065
  return [f, T];
1066
1066
  }
1067
- function it(t, n, r, o, a) {
1067
+ function ot(t, n, i, r, a) {
1068
1068
  if (process.env.NODE_ENV === "production")
1069
1069
  return null;
1070
- const i = t[n], d = a || n;
1071
- return i == null ? null : i && i.nodeType !== 1 ? new Error(`Invalid ${o} \`${d}\` 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;
1072
1072
  }
1073
- function Ae(t) {
1074
- return parseInt(y.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;
1075
1075
  }
1076
- function Mt(t) {
1076
+ function Ct(t) {
1077
1077
  return typeof t == "function" ? t() : t;
1078
1078
  }
1079
- const he = /* @__PURE__ */ y.forwardRef(function(n, r) {
1079
+ const fe = /* @__PURE__ */ h.forwardRef(function(n, i) {
1080
1080
  const {
1081
- children: o,
1081
+ children: r,
1082
1082
  container: a,
1083
- disablePortal: i = !1
1084
- } = n, [d, p] = y.useState(null), u = ce(/* @__PURE__ */ y.isValidElement(o) ? Ae(o) : null, r);
1085
- if ($e(() => {
1086
- i || p(Mt(a) || document.body);
1087
- }, [a, i]), $e(() => {
1088
- if (d && !i)
1089
- return He(r, d), () => {
1090
- He(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);
1091
1091
  };
1092
- }, [r, d, i]), i) {
1093
- if (/* @__PURE__ */ y.isValidElement(o)) {
1092
+ }, [i, d, s]), s) {
1093
+ if (/* @__PURE__ */ h.isValidElement(r)) {
1094
1094
  const l = {
1095
1095
  ref: u
1096
1096
  };
1097
- return /* @__PURE__ */ y.cloneElement(o, l);
1097
+ return /* @__PURE__ */ h.cloneElement(r, l);
1098
1098
  }
1099
- return o;
1099
+ return r;
1100
1100
  }
1101
- return d && /* @__PURE__ */ tt.createPortal(o, d);
1101
+ return d && /* @__PURE__ */ et.createPortal(r, d);
1102
1102
  });
1103
- process.env.NODE_ENV !== "production" && (he.propTypes = {
1103
+ process.env.NODE_ENV !== "production" && (fe.propTypes = {
1104
1104
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1105
1105
  // │ These PropTypes are generated from the TypeScript type definitions. │
1106
1106
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -1119,34 +1119,34 @@ process.env.NODE_ENV !== "production" && (he.propTypes = {
1119
1119
  * By default, it uses the body of the top-level document object,
1120
1120
  * so it's simply `document.body` most of the time.
1121
1121
  */
1122
- container: e.oneOfType([it, e.func]),
1122
+ container: e.oneOfType([ot, e.func]),
1123
1123
  /**
1124
1124
  * The `children` will be under the DOM hierarchy of the parent component.
1125
1125
  * @default false
1126
1126
  */
1127
1127
  disablePortal: e.bool
1128
1128
  });
1129
- process.env.NODE_ENV !== "production" && (he.propTypes = et(he.propTypes));
1130
- function At(t) {
1129
+ process.env.NODE_ENV !== "production" && (fe.propTypes = Qe(fe.propTypes));
1130
+ function Mt(t) {
1131
1131
  const {
1132
1132
  prototype: n = {}
1133
1133
  } = t;
1134
1134
  return !!n.isReactComponent;
1135
1135
  }
1136
- function st(t, n, r, o, a) {
1137
- const i = t[n], d = a || n;
1138
- 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.
1139
1139
  // This is not an accurate check for SSR.
1140
1140
  // This is only in place for Emotion compat.
1141
1141
  // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
1142
1142
  typeof window > "u")
1143
1143
  return null;
1144
1144
  let p;
1145
- const u = i.type;
1146
- return typeof u == "function" && !At(u) && (p = "Did you accidentally use a plain function component for an element instead?"), p !== void 0 ? new Error(`Invalid ${o} \`${d}\` 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;
1147
1147
  }
1148
- const Te = ke(e.element, st);
1149
- Te.isRequired = ke(e.element.isRequired, st);
1148
+ const Ee = ke(e.element, it);
1149
+ Ee.isRequired = ke(e.element.isRequired, it);
1150
1150
  const It = {
1151
1151
  entering: {
1152
1152
  opacity: 1
@@ -1154,71 +1154,71 @@ const It = {
1154
1154
  entered: {
1155
1155
  opacity: 1
1156
1156
  }
1157
- }, be = /* @__PURE__ */ y.forwardRef(function(n, r) {
1158
- const o = _e(), a = {
1159
- enter: o.transitions.duration.enteringScreen,
1160
- 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
1161
1161
  }, {
1162
- addEndListener: i,
1162
+ addEndListener: s,
1163
1163
  appear: d = !0,
1164
1164
  children: p,
1165
1165
  easing: u,
1166
1166
  in: l,
1167
1167
  onEnter: m,
1168
1168
  onEntered: c,
1169
- onEntering: s,
1169
+ onEntering: o,
1170
1170
  onExit: f,
1171
- onExited: g,
1171
+ onExited: y,
1172
1172
  onExiting: E,
1173
1173
  style: O,
1174
1174
  timeout: S = a,
1175
1175
  // eslint-disable-next-line react/prop-types
1176
- TransitionComponent: R = B,
1177
- ...h
1178
- } = n, T = y.useRef(null), P = ce(T, Ae(p), r), w = (x) => (v) => {
1176
+ TransitionComponent: R = $,
1177
+ ...g
1178
+ } = n, T = h.useRef(null), N = ie(T, Ie(p), i), D = (x) => (v) => {
1179
1179
  if (x) {
1180
1180
  const b = T.current;
1181
1181
  v === void 0 ? x(b) : x(b, v);
1182
1182
  }
1183
- }, N = w(s), _ = w((x, v) => {
1184
- Ot(x);
1185
- const b = Ge({
1183
+ }, P = D(o), _ = D((x, v) => {
1184
+ xt(x);
1185
+ const b = Ke({
1186
1186
  style: O,
1187
1187
  timeout: S,
1188
1188
  easing: u
1189
1189
  }, {
1190
1190
  mode: "enter"
1191
1191
  });
1192
- x.style.webkitTransition = o.transitions.create("opacity", b), x.style.transition = o.transitions.create("opacity", b), m && m(x, v);
1193
- }), M = w(c), A = w(E), F = w((x) => {
1194
- const v = Ge({
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
1195
  style: O,
1196
1196
  timeout: S,
1197
1197
  easing: u
1198
1198
  }, {
1199
1199
  mode: "exit"
1200
1200
  });
1201
- x.style.webkitTransition = o.transitions.create("opacity", v), x.style.transition = o.transitions.create("opacity", v), f && f(x);
1202
- }), ne = w(g);
1203
- return /* @__PURE__ */ D(R, {
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
1204
  appear: d,
1205
1205
  in: l,
1206
1206
  nodeRef: T,
1207
1207
  onEnter: _,
1208
- onEntered: M,
1209
- onEntering: N,
1210
- onExit: F,
1211
- onExited: ne,
1212
- onExiting: A,
1208
+ onEntered: C,
1209
+ onEntering: P,
1210
+ onExit: L,
1211
+ onExited: J,
1212
+ onExiting: I,
1213
1213
  addEndListener: (x) => {
1214
- i && i(T.current, x);
1214
+ s && s(T.current, x);
1215
1215
  },
1216
1216
  timeout: S,
1217
- ...h,
1217
+ ...g,
1218
1218
  children: (x, {
1219
1219
  ownerState: v,
1220
1220
  ...b
1221
- }) => /* @__PURE__ */ y.cloneElement(p, {
1221
+ }) => /* @__PURE__ */ h.cloneElement(p, {
1222
1222
  style: {
1223
1223
  opacity: 0,
1224
1224
  visibility: x === "exited" && !l ? "hidden" : void 0,
@@ -1226,12 +1226,12 @@ const It = {
1226
1226
  ...O,
1227
1227
  ...p.props.style
1228
1228
  },
1229
- ref: P,
1229
+ ref: N,
1230
1230
  ...b
1231
1231
  })
1232
1232
  });
1233
1233
  });
1234
- process.env.NODE_ENV !== "production" && (be.propTypes = {
1234
+ process.env.NODE_ENV !== "production" && (me.propTypes = {
1235
1235
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1236
1236
  // │ These PropTypes are generated from the TypeScript type definitions. │
1237
1237
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1251,7 +1251,7 @@ process.env.NODE_ENV !== "production" && (be.propTypes = {
1251
1251
  /**
1252
1252
  * A single child content element.
1253
1253
  */
1254
- children: Te.isRequired,
1254
+ children: Ee.isRequired,
1255
1255
  /**
1256
1256
  * The transition timing function.
1257
1257
  * You may specify a single easing or a object containing enter and exit values.
@@ -1306,26 +1306,26 @@ process.env.NODE_ENV !== "production" && (be.propTypes = {
1306
1306
  exit: e.number
1307
1307
  })])
1308
1308
  });
1309
- function Lt(t) {
1310
- return K("MuiBackdrop", t);
1309
+ function At(t) {
1310
+ return ge("MuiBackdrop", t);
1311
1311
  }
1312
- G("MuiBackdrop", ["root", "invisible"]);
1313
- const jt = (t) => {
1312
+ he("MuiBackdrop", ["root", "invisible"]);
1313
+ const Lt = (t) => {
1314
1314
  const {
1315
1315
  classes: n,
1316
- invisible: r
1316
+ invisible: i
1317
1317
  } = t;
1318
- return z({
1319
- root: ["root", r && "invisible"]
1320
- }, Lt, n);
1321
- }, Ft = j("div", {
1318
+ return ve({
1319
+ root: ["root", i && "invisible"]
1320
+ }, At, n);
1321
+ }, Ft = H("div", {
1322
1322
  name: "MuiBackdrop",
1323
1323
  slot: "Root",
1324
1324
  overridesResolver: (t, n) => {
1325
1325
  const {
1326
- ownerState: r
1326
+ ownerState: i
1327
1327
  } = t;
1328
- return [n.root, r.invisible && n.invisible];
1328
+ return [n.root, i.invisible && n.invisible];
1329
1329
  }
1330
1330
  })({
1331
1331
  position: "fixed",
@@ -1346,63 +1346,63 @@ const jt = (t) => {
1346
1346
  backgroundColor: "transparent"
1347
1347
  }
1348
1348
  }]
1349
- }), Ie = /* @__PURE__ */ y.forwardRef(function(n, r) {
1350
- const o = Y({
1349
+ }), Ae = /* @__PURE__ */ h.forwardRef(function(n, i) {
1350
+ const r = be({
1351
1351
  props: n,
1352
1352
  name: "MuiBackdrop"
1353
1353
  }), {
1354
1354
  children: a,
1355
- className: i,
1355
+ className: s,
1356
1356
  component: d = "div",
1357
1357
  invisible: p = !1,
1358
1358
  open: u,
1359
1359
  components: l = {},
1360
1360
  componentsProps: m = {},
1361
1361
  slotProps: c = {},
1362
- slots: s = {},
1362
+ slots: o = {},
1363
1363
  TransitionComponent: f,
1364
- transitionDuration: g,
1364
+ transitionDuration: y,
1365
1365
  ...E
1366
- } = o, O = {
1367
- ...o,
1366
+ } = r, O = {
1367
+ ...r,
1368
1368
  component: d,
1369
1369
  invisible: p
1370
- }, S = jt(O), R = {
1370
+ }, S = Lt(O), R = {
1371
1371
  transition: f,
1372
1372
  root: l.Root,
1373
- ...s
1374
- }, h = {
1373
+ ...o
1374
+ }, g = {
1375
1375
  ...m,
1376
1376
  ...c
1377
1377
  }, T = {
1378
1378
  component: d,
1379
1379
  slots: R,
1380
- slotProps: h
1381
- }, [P, w] = U("root", {
1380
+ slotProps: g
1381
+ }, [N, D] = j("root", {
1382
1382
  elementType: Ft,
1383
1383
  externalForwardedProps: T,
1384
- className: L(S.root, i),
1384
+ className: B(S.root, s),
1385
1385
  ownerState: O
1386
- }), [N, _] = U("transition", {
1387
- elementType: be,
1386
+ }), [P, _] = j("transition", {
1387
+ elementType: me,
1388
1388
  externalForwardedProps: T,
1389
1389
  ownerState: O
1390
1390
  });
1391
- return /* @__PURE__ */ D(N, {
1391
+ return /* @__PURE__ */ M(P, {
1392
1392
  in: u,
1393
- timeout: g,
1393
+ timeout: y,
1394
1394
  ...E,
1395
1395
  ..._,
1396
- children: /* @__PURE__ */ D(P, {
1396
+ children: /* @__PURE__ */ M(N, {
1397
1397
  "aria-hidden": !0,
1398
- ...w,
1398
+ ...D,
1399
1399
  classes: S,
1400
- ref: r,
1400
+ ref: i,
1401
1401
  children: a
1402
1402
  })
1403
1403
  });
1404
1404
  });
1405
- process.env.NODE_ENV !== "production" && (Ie.propTypes = {
1405
+ process.env.NODE_ENV !== "production" && (Ae.propTypes = {
1406
1406
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1407
1407
  // │ These PropTypes are generated from the TypeScript type definitions. │
1408
1408
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1492,233 +1492,233 @@ process.env.NODE_ENV !== "production" && (Ie.propTypes = {
1492
1492
  exit: e.number
1493
1493
  })])
1494
1494
  });
1495
- function $t(t = window) {
1495
+ function jt(t = window) {
1496
1496
  const n = t.document.documentElement.clientWidth;
1497
1497
  return t.innerWidth - n;
1498
1498
  }
1499
- function Ut(t) {
1499
+ function $t(t) {
1500
1500
  const n = q(t);
1501
- return n.body === t ? ye(t).innerWidth > n.documentElement.clientWidth : t.scrollHeight > t.clientHeight;
1501
+ return n.body === t ? pe(t).innerWidth > n.documentElement.clientWidth : t.scrollHeight > t.clientHeight;
1502
1502
  }
1503
- function le(t, n) {
1503
+ function oe(t, n) {
1504
1504
  n ? t.setAttribute("aria-hidden", "true") : t.removeAttribute("aria-hidden");
1505
1505
  }
1506
1506
  function ze(t) {
1507
- return parseInt(ye(t).getComputedStyle(t).paddingRight, 10) || 0;
1507
+ return parseInt(pe(t).getComputedStyle(t).paddingRight, 10) || 0;
1508
1508
  }
1509
1509
  function Bt(t) {
1510
- 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";
1511
- return r || o;
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;
1512
1512
  }
1513
- function Xe(t, n, r, o, a) {
1514
- const i = [n, r, ...o];
1513
+ function Ye(t, n, i, r, a) {
1514
+ const s = [n, i, ...r];
1515
1515
  [].forEach.call(t.children, (d) => {
1516
- const p = !i.includes(d), u = !Bt(d);
1517
- p && u && le(d, a);
1516
+ const p = !s.includes(d), u = !Bt(d);
1517
+ p && u && oe(d, a);
1518
1518
  });
1519
1519
  }
1520
- function De(t, n) {
1521
- let r = -1;
1522
- 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;
1523
1523
  }
1524
1524
  function Ht(t, n) {
1525
- const r = [], o = t.container;
1525
+ const i = [], r = t.container;
1526
1526
  if (!n.disableScrollLock) {
1527
- if (Ut(o)) {
1528
- const d = $t(ye(o));
1529
- r.push({
1530
- value: o.style.paddingRight,
1527
+ if ($t(r)) {
1528
+ const d = jt(pe(r));
1529
+ i.push({
1530
+ value: r.style.paddingRight,
1531
1531
  property: "padding-right",
1532
- el: o
1533
- }), o.style.paddingRight = `${ze(o) + d}px`;
1534
- const p = q(o).querySelectorAll(".mui-fixed");
1532
+ el: r
1533
+ }), r.style.paddingRight = `${ze(r) + d}px`;
1534
+ const p = q(r).querySelectorAll(".mui-fixed");
1535
1535
  [].forEach.call(p, (u) => {
1536
- r.push({
1536
+ i.push({
1537
1537
  value: u.style.paddingRight,
1538
1538
  property: "padding-right",
1539
1539
  el: u
1540
1540
  }), u.style.paddingRight = `${ze(u) + d}px`;
1541
1541
  });
1542
1542
  }
1543
- let i;
1544
- if (o.parentNode instanceof DocumentFragment)
1545
- i = q(o).body;
1543
+ let s;
1544
+ if (r.parentNode instanceof DocumentFragment)
1545
+ s = q(r).body;
1546
1546
  else {
1547
- const d = o.parentElement, p = ye(o);
1548
- i = d?.nodeName === "HTML" && p.getComputedStyle(d).overflowY === "scroll" ? d : o;
1547
+ const d = r.parentElement, p = pe(r);
1548
+ s = d?.nodeName === "HTML" && p.getComputedStyle(d).overflowY === "scroll" ? d : r;
1549
1549
  }
1550
- r.push({
1551
- value: i.style.overflow,
1550
+ i.push({
1551
+ value: s.style.overflow,
1552
1552
  property: "overflow",
1553
- el: i
1553
+ el: s
1554
1554
  }, {
1555
- value: i.style.overflowX,
1555
+ value: s.style.overflowX,
1556
1556
  property: "overflow-x",
1557
- el: i
1557
+ el: s
1558
1558
  }, {
1559
- value: i.style.overflowY,
1559
+ value: s.style.overflowY,
1560
1560
  property: "overflow-y",
1561
- el: i
1562
- }), i.style.overflow = "hidden";
1561
+ el: s
1562
+ }), s.style.overflow = "hidden";
1563
1563
  }
1564
1564
  return () => {
1565
- r.forEach(({
1566
- value: i,
1565
+ i.forEach(({
1566
+ value: s,
1567
1567
  el: d,
1568
1568
  property: p
1569
1569
  }) => {
1570
- i ? d.style.setProperty(p, i) : d.style.removeProperty(p);
1570
+ s ? d.style.setProperty(p, s) : d.style.removeProperty(p);
1571
1571
  });
1572
1572
  };
1573
1573
  }
1574
- function Vt(t) {
1574
+ function Wt(t) {
1575
1575
  const n = [];
1576
- return [].forEach.call(t.children, (r) => {
1577
- r.getAttribute("aria-hidden") === "true" && n.push(r);
1576
+ return [].forEach.call(t.children, (i) => {
1577
+ i.getAttribute("aria-hidden") === "true" && n.push(i);
1578
1578
  }), n;
1579
1579
  }
1580
- class Wt {
1580
+ class Ut {
1581
1581
  constructor() {
1582
1582
  this.modals = [], this.containers = [];
1583
1583
  }
1584
- add(n, r) {
1585
- let o = this.modals.indexOf(n);
1586
- if (o !== -1)
1587
- return o;
1588
- o = this.modals.length, this.modals.push(n), n.modalRef && le(n.modalRef, !1);
1589
- const a = Vt(r);
1590
- Xe(r, n.mount, n.modalRef, a, !0);
1591
- const i = De(this.containers, (d) => d.container === r);
1592
- 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({
1593
1593
  modals: [n],
1594
- container: r,
1594
+ container: i,
1595
1595
  restore: null,
1596
1596
  hiddenSiblings: a
1597
- }), o);
1597
+ }), r);
1598
1598
  }
1599
- mount(n, r) {
1600
- const o = De(this.containers, (i) => i.modals.includes(n)), a = this.containers[o];
1601
- a.restore || (a.restore = Ht(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));
1602
1602
  }
1603
- remove(n, r = !0) {
1604
- const o = this.modals.indexOf(n);
1605
- if (o === -1)
1606
- return o;
1607
- const a = De(this.containers, (d) => d.modals.includes(n)), i = this.containers[a];
1608
- if (i.modals.splice(i.modals.indexOf(n), 1), this.modals.splice(o, 1), i.modals.length === 0)
1609
- i.restore && i.restore(), n.modalRef && le(n.modalRef, r), Xe(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);
1610
1610
  else {
1611
- const d = i.modals[i.modals.length - 1];
1612
- d.modalRef && le(d.modalRef, !1);
1611
+ const d = s.modals[s.modals.length - 1];
1612
+ d.modalRef && oe(d.modalRef, !1);
1613
1613
  }
1614
- return o;
1614
+ return r;
1615
1615
  }
1616
1616
  isTopModal(n) {
1617
1617
  return this.modals.length > 0 && this.modals[this.modals.length - 1] === n;
1618
1618
  }
1619
1619
  }
1620
- const qt = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
1621
- function Kt(t) {
1620
+ const Vt = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
1621
+ function qt(t) {
1622
1622
  const n = parseInt(t.getAttribute("tabindex") || "", 10);
1623
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;
1624
1624
  }
1625
- function Gt(t) {
1625
+ function Kt(t) {
1626
1626
  if (t.tagName !== "INPUT" || t.type !== "radio" || !t.name)
1627
1627
  return !1;
1628
- const n = (o) => t.ownerDocument.querySelector(`input[type="radio"]${o}`);
1629
- let r = n(`[name="${t.name}"]:checked`);
1630
- 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;
1631
1631
  }
1632
- function Yt(t) {
1633
- return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" || Gt(t));
1632
+ function Gt(t) {
1633
+ return !(t.disabled || t.tagName === "INPUT" && t.type === "hidden" || Kt(t));
1634
1634
  }
1635
1635
  function zt(t) {
1636
- const n = [], r = [];
1637
- return Array.from(t.querySelectorAll(qt)).forEach((o, a) => {
1638
- const i = Kt(o);
1639
- i === -1 || !Yt(o) || (i === 0 ? n.push(o) : r.push({
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({
1640
1640
  documentOrder: a,
1641
- tabIndex: i,
1642
- node: o
1641
+ tabIndex: s,
1642
+ node: r
1643
1643
  }));
1644
- }), 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);
1645
1645
  }
1646
- function Xt() {
1646
+ function Yt() {
1647
1647
  return !0;
1648
1648
  }
1649
- function ve(t) {
1649
+ function ye(t) {
1650
1650
  const {
1651
1651
  children: n,
1652
- disableAutoFocus: r = !1,
1653
- disableEnforceFocus: o = !1,
1652
+ disableAutoFocus: i = !1,
1653
+ disableEnforceFocus: r = !1,
1654
1654
  disableRestoreFocus: a = !1,
1655
- getTabbable: i = zt,
1656
- isEnabled: d = Xt,
1655
+ getTabbable: s = zt,
1656
+ isEnabled: d = Yt,
1657
1657
  open: p
1658
- } = t, u = y.useRef(!1), l = y.useRef(null), m = y.useRef(null), c = y.useRef(null), s = y.useRef(null), f = y.useRef(!1), g = y.useRef(null), E = ce(Ae(n), g), O = y.useRef(null);
1659
- y.useEffect(() => {
1660
- !p || !g.current || (f.current = !r);
1661
- }, [r, p]), y.useEffect(() => {
1662
- if (!p || !g.current)
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(() => {
1662
+ if (!p || !y.current)
1663
1663
  return;
1664
- const h = q(g.current);
1665
- return g.current.contains(h.activeElement) || (g.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
1666
- `)), g.current.setAttribute("tabIndex", "-1")), f.current && g.current.focus()), () => {
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(`
1666
+ `)), y.current.setAttribute("tabIndex", "-1")), f.current && y.current.focus()), () => {
1667
1667
  a || (c.current && c.current.focus && (u.current = !0, c.current.focus()), c.current = null);
1668
1668
  };
1669
- }, [p]), y.useEffect(() => {
1670
- if (!p || !g.current)
1669
+ }, [p]), h.useEffect(() => {
1670
+ if (!p || !y.current)
1671
1671
  return;
1672
- const h = q(g.current), T = (N) => {
1673
- O.current = N, !(o || !d() || N.key !== "Tab") && h.activeElement === g.current && N.shiftKey && (u.current = !0, m.current && m.current.focus());
1674
- }, P = () => {
1675
- const N = g.current;
1676
- 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)
1677
1677
  return;
1678
- if (!h.hasFocus() || !d() || u.current) {
1678
+ if (!g.hasFocus() || !d() || u.current) {
1679
1679
  u.current = !1;
1680
1680
  return;
1681
1681
  }
1682
- if (N.contains(h.activeElement) || o && h.activeElement !== l.current && h.activeElement !== m.current)
1682
+ if (P.contains(g.activeElement) || r && g.activeElement !== l.current && g.activeElement !== m.current)
1683
1683
  return;
1684
- if (h.activeElement !== s.current)
1685
- s.current = null;
1686
- else if (s.current !== null)
1684
+ if (g.activeElement !== o.current)
1685
+ o.current = null;
1686
+ else if (o.current !== null)
1687
1687
  return;
1688
1688
  if (!f.current)
1689
1689
  return;
1690
1690
  let _ = [];
1691
- if ((h.activeElement === l.current || h.activeElement === m.current) && (_ = i(g.current)), _.length > 0) {
1692
- const M = !!(O.current?.shiftKey && O.current?.key === "Tab"), A = _[0], F = _[_.length - 1];
1693
- typeof A != "string" && typeof F != "string" && (M ? F.focus() : A.focus());
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());
1694
1694
  } else
1695
- N.focus();
1695
+ P.focus();
1696
1696
  };
1697
- h.addEventListener("focusin", P), h.addEventListener("keydown", T, !0);
1698
- const w = setInterval(() => {
1699
- 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();
1700
1700
  }, 50);
1701
1701
  return () => {
1702
- clearInterval(w), h.removeEventListener("focusin", P), h.removeEventListener("keydown", T, !0);
1702
+ clearInterval(D), g.removeEventListener("focusin", N), g.removeEventListener("keydown", T, !0);
1703
1703
  };
1704
- }, [r, o, a, d, p, i]);
1705
- const S = (h) => {
1706
- c.current === null && (c.current = h.relatedTarget), f.current = !0, s.current = h.target;
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
1707
  const T = n.props.onFocus;
1708
- T && T(h);
1709
- }, R = (h) => {
1710
- c.current === null && (c.current = h.relatedTarget), f.current = !0;
1708
+ T && T(g);
1709
+ }, R = (g) => {
1710
+ c.current === null && (c.current = g.relatedTarget), f.current = !0;
1711
1711
  };
1712
- return /* @__PURE__ */ Je(y.Fragment, {
1713
- children: [/* @__PURE__ */ D("div", {
1712
+ return /* @__PURE__ */ Ze(h.Fragment, {
1713
+ children: [/* @__PURE__ */ M("div", {
1714
1714
  tabIndex: p ? 0 : -1,
1715
1715
  onFocus: R,
1716
1716
  ref: l,
1717
1717
  "data-testid": "sentinelStart"
1718
- }), /* @__PURE__ */ y.cloneElement(n, {
1718
+ }), /* @__PURE__ */ h.cloneElement(n, {
1719
1719
  ref: E,
1720
1720
  onFocus: S
1721
- }), /* @__PURE__ */ D("div", {
1721
+ }), /* @__PURE__ */ M("div", {
1722
1722
  tabIndex: p ? 0 : -1,
1723
1723
  onFocus: R,
1724
1724
  ref: m,
@@ -1726,7 +1726,7 @@ function ve(t) {
1726
1726
  })]
1727
1727
  });
1728
1728
  }
1729
- process.env.NODE_ENV !== "production" && (ve.propTypes = {
1729
+ process.env.NODE_ENV !== "production" && (ye.propTypes = {
1730
1730
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1731
1731
  // │ These PropTypes are generated from the TypeScript type definitions. │
1732
1732
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -1734,7 +1734,7 @@ process.env.NODE_ENV !== "production" && (ve.propTypes = {
1734
1734
  /**
1735
1735
  * A single child content element.
1736
1736
  */
1737
- children: Te,
1737
+ children: Ee,
1738
1738
  /**
1739
1739
  * If `true`, the focus trap will not automatically shift focus to itself when it opens, and
1740
1740
  * replace it to the last focused element when it closes.
@@ -1780,58 +1780,58 @@ process.env.NODE_ENV !== "production" && (ve.propTypes = {
1780
1780
  */
1781
1781
  open: e.bool.isRequired
1782
1782
  });
1783
- process.env.NODE_ENV !== "production" && (ve.propTypes = et(ve.propTypes));
1784
- function Zt(t) {
1783
+ process.env.NODE_ENV !== "production" && (ye.propTypes = Qe(ye.propTypes));
1784
+ function Xt(t) {
1785
1785
  return typeof t == "function" ? t() : t;
1786
1786
  }
1787
- function Jt(t) {
1787
+ function Zt(t) {
1788
1788
  return t ? t.props.hasOwnProperty("in") : !1;
1789
1789
  }
1790
- const Ze = () => {
1791
- }, ge = new Wt();
1792
- function Qt(t) {
1790
+ const Xe = () => {
1791
+ }, de = new Ut();
1792
+ function Jt(t) {
1793
1793
  const {
1794
1794
  container: n,
1795
- disableEscapeKeyDown: r = !1,
1796
- disableScrollLock: o = !1,
1795
+ disableEscapeKeyDown: i = !1,
1796
+ disableScrollLock: r = !1,
1797
1797
  closeAfterTransition: a = !1,
1798
- onTransitionEnter: i,
1798
+ onTransitionEnter: s,
1799
1799
  onTransitionExited: d,
1800
1800
  children: p,
1801
1801
  onClose: u,
1802
1802
  open: l,
1803
1803
  rootRef: m
1804
- } = t, c = y.useRef({}), s = y.useRef(null), f = y.useRef(null), g = ce(f, m), [E, O] = y.useState(!l), S = Jt(p);
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);
1805
1805
  let R = !0;
1806
1806
  (t["aria-hidden"] === "false" || t["aria-hidden"] === !1) && (R = !1);
1807
- const h = () => q(s.current), T = () => (c.current.modalRef = f.current, c.current.mount = s.current, c.current), P = () => {
1808
- ge.mount(T(), {
1809
- 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
1810
1810
  }), f.current && (f.current.scrollTop = 0);
1811
- }, w = Ue(() => {
1812
- const v = Zt(n) || h().body;
1813
- ge.add(T(), v), f.current && P();
1814
- }), N = () => ge.isTopModal(T()), _ = Ue((v) => {
1815
- s.current = v, v && (l && N() ? P() : f.current && le(f.current, R));
1816
- }), M = y.useCallback(() => {
1817
- ge.remove(T(), 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);
1818
1818
  }, [R]);
1819
- y.useEffect(() => () => {
1820
- M();
1821
- }, [M]), y.useEffect(() => {
1822
- l ? w() : (!S || !a) && M();
1823
- }, [l, M, S, a, w]);
1824
- const A = (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) => {
1825
1825
  v.onKeyDown?.(b), !(b.key !== "Escape" || b.which === 229 || // Wait until IME is settled.
1826
- !N()) && (r || (b.stopPropagation(), u && u(b, "escapeKeyDown")));
1827
- }, F = (v) => (b) => {
1826
+ !P()) && (i || (b.stopPropagation(), u && u(b, "escapeKeyDown")));
1827
+ }, L = (v) => (b) => {
1828
1828
  v.onClick?.(b), b.target === b.currentTarget && u && u(b, "backdropClick");
1829
1829
  };
1830
1830
  return {
1831
1831
  getRootProps: (v = {}) => {
1832
1832
  const b = rt(t);
1833
1833
  delete b.onTransitionEnter, delete b.onTransitionExited;
1834
- const X = {
1834
+ const K = {
1835
1835
  ...b,
1836
1836
  ...v
1837
1837
  };
@@ -1843,9 +1843,9 @@ function Qt(t) {
1843
1843
  * https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
1844
1844
  */
1845
1845
  role: "presentation",
1846
- ...X,
1847
- onKeyDown: A(X),
1848
- ref: g
1846
+ ...K,
1847
+ onKeyDown: I(K),
1848
+ ref: y
1849
1849
  };
1850
1850
  },
1851
1851
  getBackdropProps: (v = {}) => {
@@ -1853,52 +1853,52 @@ function Qt(t) {
1853
1853
  return {
1854
1854
  "aria-hidden": !0,
1855
1855
  ...b,
1856
- onClick: F(b),
1856
+ onClick: L(b),
1857
1857
  open: l
1858
1858
  };
1859
1859
  },
1860
1860
  getTransitionProps: () => {
1861
1861
  const v = () => {
1862
- O(!1), i && i();
1862
+ O(!1), s && s();
1863
1863
  }, b = () => {
1864
- O(!0), d && d(), a && M();
1864
+ O(!0), d && d(), a && C();
1865
1865
  };
1866
1866
  return {
1867
- onEnter: Be(v, p?.props.onEnter ?? Ze),
1868
- onExited: Be(b, p?.props.onExited ?? Ze)
1867
+ onEnter: Be(v, p?.props.onEnter ?? Xe),
1868
+ onExited: Be(b, p?.props.onExited ?? Xe)
1869
1869
  };
1870
1870
  },
1871
- rootRef: g,
1871
+ rootRef: y,
1872
1872
  portalRef: _,
1873
- isTopModal: N,
1873
+ isTopModal: P,
1874
1874
  exited: E,
1875
1875
  hasTransition: S
1876
1876
  };
1877
1877
  }
1878
- function en(t) {
1879
- return K("MuiModal", t);
1878
+ function Qt(t) {
1879
+ return ge("MuiModal", t);
1880
1880
  }
1881
- G("MuiModal", ["root", "hidden", "backdrop"]);
1882
- const tn = (t) => {
1881
+ he("MuiModal", ["root", "hidden", "backdrop"]);
1882
+ const en = (t) => {
1883
1883
  const {
1884
1884
  open: n,
1885
- exited: r,
1886
- classes: o
1885
+ exited: i,
1886
+ classes: r
1887
1887
  } = t;
1888
- return z({
1889
- root: ["root", !n && r && "hidden"],
1888
+ return ve({
1889
+ root: ["root", !n && i && "hidden"],
1890
1890
  backdrop: ["backdrop"]
1891
- }, en, o);
1892
- }, nn = j("div", {
1891
+ }, Qt, r);
1892
+ }, tn = H("div", {
1893
1893
  name: "MuiModal",
1894
1894
  slot: "Root",
1895
1895
  overridesResolver: (t, n) => {
1896
1896
  const {
1897
- ownerState: r
1897
+ ownerState: i
1898
1898
  } = t;
1899
- return [n.root, !r.open && r.exited && n.hidden];
1899
+ return [n.root, !i.open && i.exited && n.hidden];
1900
1900
  }
1901
- })(Ee(({
1901
+ })(_e(({
1902
1902
  theme: t
1903
1903
  }) => ({
1904
1904
  position: "fixed",
@@ -1915,132 +1915,132 @@ const tn = (t) => {
1915
1915
  visibility: "hidden"
1916
1916
  }
1917
1917
  }]
1918
- }))), on = j(Ie, {
1918
+ }))), nn = H(Ae, {
1919
1919
  name: "MuiModal",
1920
1920
  slot: "Backdrop"
1921
1921
  })({
1922
1922
  zIndex: -1
1923
- }), at = /* @__PURE__ */ y.forwardRef(function(n, r) {
1924
- const o = Y({
1923
+ }), st = /* @__PURE__ */ h.forwardRef(function(n, i) {
1924
+ const r = be({
1925
1925
  name: "MuiModal",
1926
1926
  props: n
1927
1927
  }), {
1928
- BackdropComponent: a = on,
1929
- BackdropProps: i,
1928
+ BackdropComponent: a = nn,
1929
+ BackdropProps: s,
1930
1930
  classes: d,
1931
1931
  className: p,
1932
1932
  closeAfterTransition: u = !1,
1933
1933
  children: l,
1934
1934
  container: m,
1935
1935
  component: c,
1936
- components: s = {},
1936
+ components: o = {},
1937
1937
  componentsProps: f = {},
1938
- disableAutoFocus: g = !1,
1938
+ disableAutoFocus: y = !1,
1939
1939
  disableEnforceFocus: E = !1,
1940
1940
  disableEscapeKeyDown: O = !1,
1941
1941
  disablePortal: S = !1,
1942
1942
  disableRestoreFocus: R = !1,
1943
- disableScrollLock: h = !1,
1943
+ disableScrollLock: g = !1,
1944
1944
  hideBackdrop: T = !1,
1945
- keepMounted: P = !1,
1946
- onClose: w,
1947
- onTransitionEnter: N,
1945
+ keepMounted: N = !1,
1946
+ onClose: D,
1947
+ onTransitionEnter: P,
1948
1948
  onTransitionExited: _,
1949
- open: M,
1950
- slotProps: A = {},
1951
- slots: F = {},
1949
+ open: C,
1950
+ slotProps: I = {},
1951
+ slots: L = {},
1952
1952
  // eslint-disable-next-line react/prop-types
1953
- theme: ne,
1954
- ...$
1955
- } = o, x = {
1956
- ...o,
1953
+ theme: J,
1954
+ ...F
1955
+ } = r, x = {
1956
+ ...r,
1957
1957
  closeAfterTransition: u,
1958
- disableAutoFocus: g,
1958
+ disableAutoFocus: y,
1959
1959
  disableEnforceFocus: E,
1960
1960
  disableEscapeKeyDown: O,
1961
1961
  disablePortal: S,
1962
1962
  disableRestoreFocus: R,
1963
- disableScrollLock: h,
1963
+ disableScrollLock: g,
1964
1964
  hideBackdrop: T,
1965
- keepMounted: P
1965
+ keepMounted: N
1966
1966
  }, {
1967
1967
  getRootProps: v,
1968
1968
  getBackdropProps: b,
1969
- getTransitionProps: X,
1970
- portalRef: oe,
1971
- isTopModal: xe,
1972
- exited: ue,
1973
- hasTransition: de
1974
- } = Qt({
1969
+ getTransitionProps: K,
1970
+ portalRef: Q,
1971
+ isTopModal: Te,
1972
+ exited: se,
1973
+ hasTransition: ae
1974
+ } = Jt({
1975
1975
  ...x,
1976
- rootRef: r
1977
- }), I = {
1976
+ rootRef: i
1977
+ }), A = {
1978
1978
  ...x,
1979
- exited: ue
1980
- }, re = tn(I), Z = {};
1981
- if (l.props.tabIndex === void 0 && (Z.tabIndex = "-1"), de) {
1979
+ exited: se
1980
+ }, ee = en(A), G = {};
1981
+ if (l.props.tabIndex === void 0 && (G.tabIndex = "-1"), ae) {
1982
1982
  const {
1983
- onEnter: H,
1984
- onExited: ie
1985
- } = X();
1986
- Z.onEnter = H, Z.onExited = ie;
1983
+ onEnter: W,
1984
+ onExited: te
1985
+ } = K();
1986
+ G.onEnter = W, G.onExited = te;
1987
1987
  }
1988
- const pe = {
1988
+ const le = {
1989
1989
  slots: {
1990
- root: s.Root,
1991
- backdrop: s.Backdrop,
1992
- ...F
1990
+ root: o.Root,
1991
+ backdrop: o.Backdrop,
1992
+ ...L
1993
1993
  },
1994
1994
  slotProps: {
1995
1995
  ...f,
1996
- ...A
1996
+ ...I
1997
1997
  }
1998
- }, [Oe, Se] = U("root", {
1999
- ref: r,
2000
- elementType: nn,
1998
+ }, [xe, Oe] = j("root", {
1999
+ ref: i,
2000
+ elementType: tn,
2001
2001
  externalForwardedProps: {
2002
- ...pe,
2003
- ...$,
2002
+ ...le,
2003
+ ...F,
2004
2004
  component: c
2005
2005
  },
2006
2006
  getSlotProps: v,
2007
- ownerState: I,
2008
- className: L(p, re?.root, !I.open && I.exited && re?.hidden)
2009
- }), [Re, Ne] = U("backdrop", {
2010
- 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,
2011
2011
  elementType: a,
2012
- externalForwardedProps: pe,
2012
+ externalForwardedProps: le,
2013
2013
  shouldForwardComponentProp: !0,
2014
- additionalProps: i,
2015
- getSlotProps: (H) => b({
2016
- ...H,
2017
- onClick: (ie) => {
2018
- H?.onClick && H.onClick(ie);
2014
+ additionalProps: s,
2015
+ getSlotProps: (W) => b({
2016
+ ...W,
2017
+ onClick: (te) => {
2018
+ W?.onClick && W.onClick(te);
2019
2019
  }
2020
2020
  }),
2021
- className: L(i?.className, re?.backdrop),
2022
- ownerState: I
2021
+ className: B(s?.className, ee?.backdrop),
2022
+ ownerState: A
2023
2023
  });
2024
- return !P && !M && (!de || ue) ? null : /* @__PURE__ */ D(he, {
2025
- ref: oe,
2024
+ return !N && !C && (!ae || se) ? null : /* @__PURE__ */ M(fe, {
2025
+ ref: Q,
2026
2026
  container: m,
2027
2027
  disablePortal: S,
2028
- children: /* @__PURE__ */ Je(Oe, {
2029
- ...Se,
2030
- children: [!T && a ? /* @__PURE__ */ D(Re, {
2031
- ...Ne
2032
- }) : null, /* @__PURE__ */ D(ve, {
2028
+ children: /* @__PURE__ */ Ze(xe, {
2029
+ ...Oe,
2030
+ children: [!T && a ? /* @__PURE__ */ M(Se, {
2031
+ ...Re
2032
+ }) : null, /* @__PURE__ */ M(ye, {
2033
2033
  disableEnforceFocus: E,
2034
- disableAutoFocus: g,
2034
+ disableAutoFocus: y,
2035
2035
  disableRestoreFocus: R,
2036
- isEnabled: xe,
2037
- open: M,
2038
- children: /* @__PURE__ */ y.cloneElement(l, Z)
2036
+ isEnabled: Te,
2037
+ open: C,
2038
+ children: /* @__PURE__ */ h.cloneElement(l, G)
2039
2039
  })]
2040
2040
  })
2041
2041
  });
2042
2042
  });
2043
- process.env.NODE_ENV !== "production" && (at.propTypes = {
2043
+ process.env.NODE_ENV !== "production" && (st.propTypes = {
2044
2044
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2045
2045
  // │ These PropTypes are generated from the TypeScript type definitions. │
2046
2046
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2065,7 +2065,7 @@ process.env.NODE_ENV !== "production" && (at.propTypes = {
2065
2065
  /**
2066
2066
  * A single child content element.
2067
2067
  */
2068
- children: Te.isRequired,
2068
+ children: Ee.isRequired,
2069
2069
  /**
2070
2070
  * Override or extend the styles applied to the component.
2071
2071
  */
@@ -2117,7 +2117,7 @@ process.env.NODE_ENV !== "production" && (at.propTypes = {
2117
2117
  * By default, it uses the body of the top-level document object,
2118
2118
  * so it's simply `document.body` most of the time.
2119
2119
  */
2120
- container: e.oneOfType([it, e.func]),
2120
+ container: e.oneOfType([ot, e.func]),
2121
2121
  /**
2122
2122
  * If `true`, the modal will not automatically shift focus to itself when it opens, and
2123
2123
  * replace it to the last focused element when it closes.
@@ -2212,31 +2212,29 @@ process.env.NODE_ENV !== "production" && (at.propTypes = {
2212
2212
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
2213
2213
  });
2214
2214
  function rn(t) {
2215
- return K("MuiDialog", t);
2215
+ return ge("MuiDialog", t);
2216
2216
  }
2217
- const Pe = G("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), Le = /* @__PURE__ */ y.createContext({});
2218
- process.env.NODE_ENV !== "production" && (Le.displayName = "DialogContext");
2219
- const sn = j(Ie, {
2217
+ const Ne = he("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), on = H(Ae, {
2220
2218
  name: "MuiDialog",
2221
2219
  slot: "Backdrop",
2222
2220
  overrides: (t, n) => n.backdrop
2223
2221
  })({
2224
2222
  // Improve scrollable dialog support.
2225
2223
  zIndex: -1
2226
- }), an = (t) => {
2224
+ }), sn = (t) => {
2227
2225
  const {
2228
2226
  classes: n,
2229
- scroll: r,
2230
- maxWidth: o,
2227
+ scroll: i,
2228
+ maxWidth: r,
2231
2229
  fullWidth: a,
2232
- fullScreen: i
2230
+ fullScreen: s
2233
2231
  } = t, d = {
2234
2232
  root: ["root"],
2235
- container: ["container", `scroll${te(r)}`],
2236
- paper: ["paper", `paperScroll${te(r)}`, `paperWidth${te(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"]
2237
2235
  };
2238
- return z(d, rn, n);
2239
- }, ln = j(at, {
2236
+ return ve(d, rn, n);
2237
+ }, an = H(st, {
2240
2238
  name: "MuiDialog",
2241
2239
  slot: "Root"
2242
2240
  })({
@@ -2244,14 +2242,14 @@ const sn = j(Ie, {
2244
2242
  // Use !important to override the Modal inline-style.
2245
2243
  position: "absolute !important"
2246
2244
  }
2247
- }), cn = j("div", {
2245
+ }), ln = H("div", {
2248
2246
  name: "MuiDialog",
2249
2247
  slot: "Container",
2250
2248
  overridesResolver: (t, n) => {
2251
2249
  const {
2252
- ownerState: r
2250
+ ownerState: i
2253
2251
  } = t;
2254
- return [n.container, n[`scroll${te(r.scroll)}`]];
2252
+ return [n.container, n[`scroll${Z(i.scroll)}`]];
2255
2253
  }
2256
2254
  })({
2257
2255
  height: "100%",
@@ -2286,16 +2284,16 @@ const sn = j(Ie, {
2286
2284
  }
2287
2285
  }
2288
2286
  }]
2289
- }), un = j(Me, {
2287
+ }), cn = H(Me, {
2290
2288
  name: "MuiDialog",
2291
2289
  slot: "Paper",
2292
2290
  overridesResolver: (t, n) => {
2293
2291
  const {
2294
- ownerState: r
2292
+ ownerState: i
2295
2293
  } = t;
2296
- return [n.paper, n[`scrollPaper${te(r.scroll)}`], n[`paperWidth${te(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];
2297
2295
  }
2298
- })(Ee(({
2296
+ })(_e(({
2299
2297
  theme: t
2300
2298
  }) => ({
2301
2299
  margin: 32,
@@ -2336,7 +2334,7 @@ const sn = j(Ie, {
2336
2334
  },
2337
2335
  style: {
2338
2336
  maxWidth: t.breakpoints.unit === "px" ? Math.max(t.breakpoints.values.xs, 444) : `max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,
2339
- [`&.${Pe.paperScrollBody}`]: {
2337
+ [`&.${Ne.paperScrollBody}`]: {
2340
2338
  [t.breakpoints.down(Math.max(t.breakpoints.values.xs, 444) + 64)]: {
2341
2339
  maxWidth: "calc(100% - 64px)"
2342
2340
  }
@@ -2348,7 +2346,7 @@ const sn = j(Ie, {
2348
2346
  },
2349
2347
  style: {
2350
2348
  maxWidth: `${t.breakpoints.values[n]}${t.breakpoints.unit}`,
2351
- [`&.${Pe.paperScrollBody}`]: {
2349
+ [`&.${Ne.paperScrollBody}`]: {
2352
2350
  [t.breakpoints.down(t.breakpoints.values[n] + 64)]: {
2353
2351
  maxWidth: "calc(100% - 64px)"
2354
2352
  }
@@ -2372,17 +2370,17 @@ const sn = j(Ie, {
2372
2370
  height: "100%",
2373
2371
  maxHeight: "none",
2374
2372
  borderRadius: 0,
2375
- [`&.${Pe.paperScrollBody}`]: {
2373
+ [`&.${Ne.paperScrollBody}`]: {
2376
2374
  margin: 0,
2377
2375
  maxWidth: "100%"
2378
2376
  }
2379
2377
  }
2380
2378
  }]
2381
- }))), dn = /* @__PURE__ */ y.forwardRef(function(n, r) {
2382
- const o = Y({
2379
+ }))), un = /* @__PURE__ */ h.forwardRef(function(n, i) {
2380
+ const r = be({
2383
2381
  props: n,
2384
2382
  name: "MuiDialog"
2385
- }), a = _e(), i = {
2383
+ }), a = Ce(), s = {
2386
2384
  enter: a.transitions.duration.enteringScreen,
2387
2385
  exit: a.transitions.duration.leavingScreen
2388
2386
  }, {
@@ -2392,114 +2390,114 @@ const sn = j(Ie, {
2392
2390
  BackdropComponent: l,
2393
2391
  BackdropProps: m,
2394
2392
  children: c,
2395
- className: s,
2393
+ className: o,
2396
2394
  disableEscapeKeyDown: f = !1,
2397
- fullScreen: g = !1,
2395
+ fullScreen: y = !1,
2398
2396
  fullWidth: E = !1,
2399
2397
  maxWidth: O = "sm",
2400
2398
  onClick: S,
2401
2399
  onClose: R,
2402
- open: h,
2400
+ open: g,
2403
2401
  PaperComponent: T = Me,
2404
- PaperProps: P = {},
2405
- scroll: w = "paper",
2406
- slots: N = {},
2402
+ PaperProps: N = {},
2403
+ scroll: D = "paper",
2404
+ slots: P = {},
2407
2405
  slotProps: _ = {},
2408
- TransitionComponent: M = be,
2409
- transitionDuration: A = i,
2410
- TransitionProps: F,
2411
- ...ne
2412
- } = o, $ = {
2413
- ...o,
2406
+ TransitionComponent: C = me,
2407
+ transitionDuration: I = s,
2408
+ TransitionProps: L,
2409
+ ...J
2410
+ } = r, F = {
2411
+ ...r,
2414
2412
  disableEscapeKeyDown: f,
2415
- fullScreen: g,
2413
+ fullScreen: y,
2416
2414
  fullWidth: E,
2417
2415
  maxWidth: O,
2418
- scroll: w
2419
- }, x = an($), v = y.useRef(), b = (se) => {
2420
- v.current = se.target === se.currentTarget;
2421
- }, X = (se) => {
2422
- S && S(se), v.current && (v.current = null, R && R(se, "backdropClick"));
2423
- }, oe = gt(p), xe = y.useMemo(() => ({
2424
- titleId: oe
2425
- }), [oe]), ue = {
2426
- transition: M,
2427
- ...N
2428
- }, de = {
2429
- transition: F,
2430
- paper: P,
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,
2431
2429
  backdrop: m,
2432
2430
  ..._
2433
- }, I = {
2434
- slots: ue,
2435
- slotProps: de
2436
- }, [re, Z] = U("root", {
2437
- elementType: ln,
2438
- shouldForwardComponentProp: !0,
2439
- externalForwardedProps: I,
2440
- ownerState: $,
2441
- className: L(x.root, s),
2442
- ref: r
2443
- }), [pe, Oe] = U("backdrop", {
2444
- elementType: sn,
2431
+ }, A = {
2432
+ slots: se,
2433
+ slotProps: ae
2434
+ }, [ee, G] = j("root", {
2435
+ elementType: an,
2445
2436
  shouldForwardComponentProp: !0,
2446
- externalForwardedProps: I,
2447
- ownerState: $
2448
- }), [Se, Re] = U("paper", {
2449
- elementType: un,
2437
+ externalForwardedProps: A,
2438
+ ownerState: F,
2439
+ className: B(x.root, o),
2440
+ ref: i
2441
+ }), [le, xe] = j("backdrop", {
2442
+ elementType: on,
2450
2443
  shouldForwardComponentProp: !0,
2451
- externalForwardedProps: I,
2452
- ownerState: $,
2453
- className: L(x.paper, P.className)
2454
- }), [Ne, H] = U("container", {
2444
+ externalForwardedProps: A,
2445
+ ownerState: F
2446
+ }), [Oe, Se] = j("paper", {
2455
2447
  elementType: cn,
2456
- externalForwardedProps: I,
2457
- ownerState: $,
2448
+ shouldForwardComponentProp: !0,
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,
2458
2456
  className: x.container
2459
- }), [ie, lt] = U("transition", {
2460
- elementType: be,
2461
- externalForwardedProps: I,
2462
- ownerState: $,
2457
+ }), [te, at] = j("transition", {
2458
+ elementType: me,
2459
+ externalForwardedProps: A,
2460
+ ownerState: F,
2463
2461
  additionalProps: {
2464
2462
  appear: !0,
2465
- in: h,
2466
- timeout: A,
2463
+ in: g,
2464
+ timeout: I,
2467
2465
  role: "presentation"
2468
2466
  }
2469
2467
  });
2470
- return /* @__PURE__ */ D(re, {
2468
+ return /* @__PURE__ */ M(ee, {
2471
2469
  closeAfterTransition: !0,
2472
2470
  slots: {
2473
- backdrop: pe
2471
+ backdrop: le
2474
2472
  },
2475
2473
  slotProps: {
2476
2474
  backdrop: {
2477
- transitionDuration: A,
2475
+ transitionDuration: I,
2478
2476
  as: l,
2479
- ...Oe
2477
+ ...xe
2480
2478
  }
2481
2479
  },
2482
2480
  disableEscapeKeyDown: f,
2483
2481
  onClose: R,
2484
- open: h,
2485
- onClick: X,
2486
- ...Z,
2487
- ...ne,
2488
- children: /* @__PURE__ */ D(ie, {
2489
- ...lt,
2490
- children: /* @__PURE__ */ D(Ne, {
2482
+ open: g,
2483
+ onClick: K,
2484
+ ...G,
2485
+ ...J,
2486
+ children: /* @__PURE__ */ M(te, {
2487
+ ...at,
2488
+ children: /* @__PURE__ */ M(Re, {
2491
2489
  onMouseDown: b,
2492
- ...H,
2493
- children: /* @__PURE__ */ D(Se, {
2490
+ ...W,
2491
+ children: /* @__PURE__ */ M(Oe, {
2494
2492
  as: T,
2495
2493
  elevation: 24,
2496
2494
  role: "dialog",
2497
2495
  "aria-describedby": d,
2498
- "aria-labelledby": oe,
2496
+ "aria-labelledby": Q,
2499
2497
  "aria-modal": u,
2500
- ...Re,
2501
- children: /* @__PURE__ */ D(Le.Provider, {
2502
- value: xe,
2498
+ ...Se,
2499
+ children: /* @__PURE__ */ M(ct.Provider, {
2500
+ value: Te,
2503
2501
  children: c
2504
2502
  })
2505
2503
  })
@@ -2507,7 +2505,7 @@ const sn = j(Ie, {
2507
2505
  })
2508
2506
  });
2509
2507
  });
2510
- process.env.NODE_ENV !== "production" && (dn.propTypes = {
2508
+ process.env.NODE_ENV !== "production" && (un.propTypes = {
2511
2509
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2512
2510
  // │ These PropTypes are generated from the TypeScript type definitions. │
2513
2511
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2662,249 +2660,6 @@ process.env.NODE_ENV !== "production" && (dn.propTypes = {
2662
2660
  */
2663
2661
  TransitionProps: e.object
2664
2662
  });
2665
- function pn(t) {
2666
- return K("MuiDialogActions", t);
2667
- }
2668
- G("MuiDialogActions", ["root", "spacing"]);
2669
- const fn = (t) => {
2670
- const {
2671
- classes: n,
2672
- disableSpacing: r
2673
- } = t;
2674
- return z({
2675
- root: ["root", !r && "spacing"]
2676
- }, pn, n);
2677
- }, mn = j("div", {
2678
- name: "MuiDialogActions",
2679
- slot: "Root",
2680
- overridesResolver: (t, n) => {
2681
- const {
2682
- ownerState: r
2683
- } = t;
2684
- return [n.root, !r.disableSpacing && n.spacing];
2685
- }
2686
- })({
2687
- display: "flex",
2688
- alignItems: "center",
2689
- padding: 8,
2690
- justifyContent: "flex-end",
2691
- flex: "0 0 auto",
2692
- variants: [{
2693
- props: ({
2694
- ownerState: t
2695
- }) => !t.disableSpacing,
2696
- style: {
2697
- "& > :not(style) ~ :not(style)": {
2698
- marginLeft: 8
2699
- }
2700
- }
2701
- }]
2702
- }), gn = /* @__PURE__ */ y.forwardRef(function(n, r) {
2703
- const o = Y({
2704
- props: n,
2705
- name: "MuiDialogActions"
2706
- }), {
2707
- className: a,
2708
- disableSpacing: i = !1,
2709
- ...d
2710
- } = o, p = {
2711
- ...o,
2712
- disableSpacing: i
2713
- }, u = fn(p);
2714
- return /* @__PURE__ */ D(mn, {
2715
- className: L(u.root, a),
2716
- ownerState: p,
2717
- ref: r,
2718
- ...d
2719
- });
2720
- });
2721
- process.env.NODE_ENV !== "production" && (gn.propTypes = {
2722
- // ┌────────────────────────────── Warning ──────────────────────────────┐
2723
- // │ These PropTypes are generated from the TypeScript type definitions. │
2724
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
2725
- // └─────────────────────────────────────────────────────────────────────┘
2726
- /**
2727
- * The content of the component.
2728
- */
2729
- children: e.node,
2730
- /**
2731
- * Override or extend the styles applied to the component.
2732
- */
2733
- classes: e.object,
2734
- /**
2735
- * @ignore
2736
- */
2737
- className: e.string,
2738
- /**
2739
- * If `true`, the actions do not have additional margin.
2740
- * @default false
2741
- */
2742
- disableSpacing: e.bool,
2743
- /**
2744
- * The system prop that allows defining system overrides as well as additional CSS styles.
2745
- */
2746
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
2747
- });
2748
- function yn(t) {
2749
- return K("MuiDialogContent", t);
2750
- }
2751
- G("MuiDialogContent", ["root", "dividers"]);
2752
- function hn(t) {
2753
- return K("MuiDialogTitle", t);
2754
- }
2755
- const bn = G("MuiDialogTitle", ["root"]), vn = (t) => {
2756
- const {
2757
- classes: n,
2758
- dividers: r
2759
- } = t;
2760
- return z({
2761
- root: ["root", r && "dividers"]
2762
- }, yn, n);
2763
- }, En = j("div", {
2764
- name: "MuiDialogContent",
2765
- slot: "Root",
2766
- overridesResolver: (t, n) => {
2767
- const {
2768
- ownerState: r
2769
- } = t;
2770
- return [n.root, r.dividers && n.dividers];
2771
- }
2772
- })(Ee(({
2773
- theme: t
2774
- }) => ({
2775
- flex: "1 1 auto",
2776
- // Add iOS momentum scrolling for iOS < 13.0
2777
- WebkitOverflowScrolling: "touch",
2778
- overflowY: "auto",
2779
- padding: "20px 24px",
2780
- variants: [{
2781
- props: ({
2782
- ownerState: n
2783
- }) => n.dividers,
2784
- style: {
2785
- padding: "16px 24px",
2786
- borderTop: `1px solid ${(t.vars || t).palette.divider}`,
2787
- borderBottom: `1px solid ${(t.vars || t).palette.divider}`
2788
- }
2789
- }, {
2790
- props: ({
2791
- ownerState: n
2792
- }) => !n.dividers,
2793
- style: {
2794
- [`.${bn.root} + &`]: {
2795
- paddingTop: 0
2796
- }
2797
- }
2798
- }]
2799
- }))), Tn = /* @__PURE__ */ y.forwardRef(function(n, r) {
2800
- const o = Y({
2801
- props: n,
2802
- name: "MuiDialogContent"
2803
- }), {
2804
- className: a,
2805
- dividers: i = !1,
2806
- ...d
2807
- } = o, p = {
2808
- ...o,
2809
- dividers: i
2810
- }, u = vn(p);
2811
- return /* @__PURE__ */ D(En, {
2812
- className: L(u.root, a),
2813
- ownerState: p,
2814
- ref: r,
2815
- ...d
2816
- });
2817
- });
2818
- process.env.NODE_ENV !== "production" && (Tn.propTypes = {
2819
- // ┌────────────────────────────── Warning ──────────────────────────────┐
2820
- // │ These PropTypes are generated from the TypeScript type definitions. │
2821
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
2822
- // └─────────────────────────────────────────────────────────────────────┘
2823
- /**
2824
- * The content of the component.
2825
- */
2826
- children: e.node,
2827
- /**
2828
- * Override or extend the styles applied to the component.
2829
- */
2830
- classes: e.object,
2831
- /**
2832
- * @ignore
2833
- */
2834
- className: e.string,
2835
- /**
2836
- * Display the top and bottom dividers.
2837
- * @default false
2838
- */
2839
- dividers: e.bool,
2840
- /**
2841
- * The system prop that allows defining system overrides as well as additional CSS styles.
2842
- */
2843
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
2844
- });
2845
- const xn = (t) => {
2846
- const {
2847
- classes: n
2848
- } = t;
2849
- return z({
2850
- root: ["root"]
2851
- }, hn, n);
2852
- }, On = j(yt, {
2853
- name: "MuiDialogTitle",
2854
- slot: "Root"
2855
- })({
2856
- padding: "16px 24px",
2857
- flex: "0 0 auto"
2858
- }), Sn = /* @__PURE__ */ y.forwardRef(function(n, r) {
2859
- const o = Y({
2860
- props: n,
2861
- name: "MuiDialogTitle"
2862
- }), {
2863
- className: a,
2864
- id: i,
2865
- ...d
2866
- } = o, p = o, u = xn(p), {
2867
- titleId: l = i
2868
- } = y.useContext(Le);
2869
- return /* @__PURE__ */ D(On, {
2870
- component: "h2",
2871
- className: L(u.root, a),
2872
- ownerState: p,
2873
- ref: r,
2874
- variant: "h6",
2875
- id: i ?? l,
2876
- ...d
2877
- });
2878
- });
2879
- process.env.NODE_ENV !== "production" && (Sn.propTypes = {
2880
- // ┌────────────────────────────── Warning ──────────────────────────────┐
2881
- // │ These PropTypes are generated from the TypeScript type definitions. │
2882
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
2883
- // └─────────────────────────────────────────────────────────────────────┘
2884
- /**
2885
- * The content of the component.
2886
- */
2887
- children: e.node,
2888
- /**
2889
- * Override or extend the styles applied to the component.
2890
- */
2891
- classes: e.object,
2892
- /**
2893
- * @ignore
2894
- */
2895
- className: e.string,
2896
- /**
2897
- * @ignore
2898
- */
2899
- id: e.string,
2900
- /**
2901
- * The system prop that allows defining system overrides as well as additional CSS styles.
2902
- */
2903
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
2904
- });
2905
2663
  export {
2906
- dn as D,
2907
- Sn as a,
2908
- Tn as b,
2909
- gn as c
2664
+ un as D
2910
2665
  };