@edusight/notification-widget 1.0.8 → 1.0.10

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.
package/dist/index.esm.js CHANGED
@@ -1,51 +1,51 @@
1
1
  import * as Ie from "react";
2
- import hn, { useState as Te, useCallback as $e, useEffect as Ze, useRef as co } from "react";
3
- import { IconButton as xt, Badge as lo, ListItem as uo, Box as ye, ListItemText as fo, Chip as po, ListItemSecondaryAction as mo, Typography as Tt, Divider as gn, FormControlLabel as mt, Switch as ht, Button as Ar, CircularProgress as ho, Alert as go, Tabs as yo, Tab as kr, Popover as yn, List as bo, Paper as vo } from "@mui/material";
4
- import { NotificationSocketClient as So, Channel as Eo, NotificationCategory as Co, Priority as xo, NotificationStatus as bn, NotificationType as To } from "@edusight/notification-sdk";
5
- import wo from "@emotion/styled";
2
+ import hn, { useState as Te, useCallback as $e, useEffect as Ze, useRef as co, useMemo as lo } from "react";
3
+ import { IconButton as xt, Badge as uo, ListItem as fo, Box as ye, ListItemText as po, Chip as mo, ListItemSecondaryAction as ho, Typography as Tt, Divider as gn, FormControlLabel as mt, Switch as ht, Button as Ar, CircularProgress as go, Alert as yo, Tabs as bo, Tab as kr, Popover as yn, List as vo, Paper as So } from "@mui/material";
4
+ import { NotificationSocketClient as Eo, Channel as Co, NotificationCategory as xo, Priority as To, NotificationStatus as bn, NotificationType as wo } from "@edusight/notification-sdk";
5
+ import _o from "@emotion/styled";
6
6
  import "@emotion/react";
7
- function _o(e) {
7
+ function Oo(e) {
8
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9
9
  }
10
10
  var gt = { exports: {} }, rt = {};
11
11
  var $r;
12
- function Oo() {
12
+ function Ro() {
13
13
  if ($r) return rt;
14
14
  $r = 1;
15
15
  var e = hn, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
16
- function c(u, f, d) {
17
- var m, p = {}, h = null, y = null;
18
- d !== void 0 && (h = "" + d), f.key !== void 0 && (h = "" + f.key), f.ref !== void 0 && (y = f.ref);
19
- for (m in f) n.call(f, m) && !i.hasOwnProperty(m) && (p[m] = f[m]);
20
- if (u && u.defaultProps) for (m in f = u.defaultProps, f) p[m] === void 0 && (p[m] = f[m]);
21
- return { $$typeof: t, type: u, key: h, ref: y, props: p, _owner: o.current };
16
+ function c(u, f, p) {
17
+ var m, d = {}, h = null, y = null;
18
+ p !== void 0 && (h = "" + p), f.key !== void 0 && (h = "" + f.key), f.ref !== void 0 && (y = f.ref);
19
+ for (m in f) n.call(f, m) && !i.hasOwnProperty(m) && (d[m] = f[m]);
20
+ if (u && u.defaultProps) for (m in f = u.defaultProps, f) d[m] === void 0 && (d[m] = f[m]);
21
+ return { $$typeof: t, type: u, key: h, ref: y, props: d, _owner: o.current };
22
22
  }
23
23
  return rt.Fragment = r, rt.jsx = c, rt.jsxs = c, rt;
24
24
  }
25
25
  var nt = {};
26
26
  var Pr;
27
- function Ro() {
27
+ function Ao() {
28
28
  return Pr || (Pr = 1, process.env.NODE_ENV !== "production" && (function() {
29
- var e = hn, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.provider"), u = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), p = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), y = /* @__PURE__ */ Symbol.for("react.offscreen"), b = Symbol.iterator, l = "@@iterator";
30
- function T(s) {
29
+ var e = hn, t = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.provider"), u = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), p = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), d = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), y = /* @__PURE__ */ Symbol.for("react.offscreen"), b = Symbol.iterator, l = "@@iterator";
30
+ function w(s) {
31
31
  if (s === null || typeof s != "object")
32
32
  return null;
33
33
  var v = b && s[b] || s[l];
34
34
  return typeof v == "function" ? v : null;
35
35
  }
36
36
  var S = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
37
- function w(s) {
37
+ function T(s) {
38
38
  {
39
- for (var v = arguments.length, R = new Array(v > 1 ? v - 1 : 0), P = 1; P < v; P++)
40
- R[P - 1] = arguments[P];
41
- A("error", s, R);
39
+ for (var v = arguments.length, A = new Array(v > 1 ? v - 1 : 0), P = 1; P < v; P++)
40
+ A[P - 1] = arguments[P];
41
+ _("error", s, A);
42
42
  }
43
43
  }
44
- function A(s, v, R) {
44
+ function _(s, v, A) {
45
45
  {
46
46
  var P = S.ReactDebugCurrentFrame, H = P.getStackAddendum();
47
- H !== "" && (v += "%s", R = R.concat([H]));
48
- var te = R.map(function(Y) {
47
+ H !== "" && (v += "%s", A = A.concat([H]));
48
+ var te = A.map(function(Y) {
49
49
  return String(Y);
50
50
  });
51
51
  te.unshift("Warning: " + v), Function.prototype.apply.call(console[s], console, te);
@@ -54,26 +54,26 @@ function Ro() {
54
54
  var $ = !1, E = !1, q = !1, oe = !1, ee = !1, W;
55
55
  W = /* @__PURE__ */ Symbol.for("react.module.reference");
56
56
  function a(s) {
57
- return !!(typeof s == "string" || typeof s == "function" || s === n || s === i || ee || s === o || s === d || s === m || oe || s === y || $ || E || q || typeof s == "object" && s !== null && (s.$$typeof === h || s.$$typeof === p || s.$$typeof === c || s.$$typeof === u || s.$$typeof === f || // This needs to include all possible module reference object
57
+ return !!(typeof s == "string" || typeof s == "function" || s === n || s === i || ee || s === o || s === p || s === m || oe || s === y || $ || E || q || typeof s == "object" && s !== null && (s.$$typeof === h || s.$$typeof === d || s.$$typeof === c || s.$$typeof === u || s.$$typeof === f || // This needs to include all possible module reference object
58
58
  // types supported by any Flight configuration anywhere since
59
59
  // we don't know which Flight build this will end up being used
60
60
  // with.
61
61
  s.$$typeof === W || s.getModuleId !== void 0));
62
62
  }
63
- function O(s, v, R) {
63
+ function R(s, v, A) {
64
64
  var P = s.displayName;
65
65
  if (P)
66
66
  return P;
67
67
  var H = v.displayName || v.name || "";
68
- return H !== "" ? R + "(" + H + ")" : R;
68
+ return H !== "" ? A + "(" + H + ")" : A;
69
69
  }
70
70
  function U(s) {
71
71
  return s.displayName || "Context";
72
72
  }
73
- function N(s) {
73
+ function j(s) {
74
74
  if (s == null)
75
75
  return null;
76
- if (typeof s.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
76
+ if (typeof s.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
77
77
  return s.displayName || s.name || null;
78
78
  if (typeof s == "string")
79
79
  return s;
@@ -86,7 +86,7 @@ function Ro() {
86
86
  return "Profiler";
87
87
  case o:
88
88
  return "StrictMode";
89
- case d:
89
+ case p:
90
90
  return "Suspense";
91
91
  case m:
92
92
  return "SuspenseList";
@@ -97,17 +97,17 @@ function Ro() {
97
97
  var v = s;
98
98
  return U(v) + ".Consumer";
99
99
  case c:
100
- var R = s;
101
- return U(R._context) + ".Provider";
100
+ var A = s;
101
+ return U(A._context) + ".Provider";
102
102
  case f:
103
- return O(s, s.render, "ForwardRef");
104
- case p:
103
+ return R(s, s.render, "ForwardRef");
104
+ case d:
105
105
  var P = s.displayName || null;
106
- return P !== null ? P : N(s.type) || "Memo";
106
+ return P !== null ? P : j(s.type) || "Memo";
107
107
  case h: {
108
108
  var H = s, te = H._payload, Y = H._init;
109
109
  try {
110
- return N(Y(te));
110
+ return j(Y(te));
111
111
  } catch {
112
112
  return null;
113
113
  }
@@ -174,11 +174,11 @@ function Ro() {
174
174
  })
175
175
  });
176
176
  }
177
- ae < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
177
+ ae < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
178
178
  }
179
179
  }
180
- var j = S.ReactCurrentDispatcher, D;
181
- function F(s, v, R) {
180
+ var N = S.ReactCurrentDispatcher, D;
181
+ function F(s, v, A) {
182
182
  {
183
183
  if (D === void 0)
184
184
  try {
@@ -196,20 +196,20 @@ function Ro() {
196
196
  var me = typeof WeakMap == "function" ? WeakMap : Map;
197
197
  L = new me();
198
198
  }
199
- function _(s, v) {
199
+ function O(s, v) {
200
200
  if (!s || G)
201
201
  return "";
202
202
  {
203
- var R = L.get(s);
204
- if (R !== void 0)
205
- return R;
203
+ var A = L.get(s);
204
+ if (A !== void 0)
205
+ return A;
206
206
  }
207
207
  var P;
208
208
  G = !0;
209
209
  var H = Error.prepareStackTrace;
210
210
  Error.prepareStackTrace = void 0;
211
211
  var te;
212
- te = j.current, j.current = null, I();
212
+ te = N.current, N.current = null, I();
213
213
  try {
214
214
  if (v) {
215
215
  var Y = function() {
@@ -262,27 +262,27 @@ function Ro() {
262
262
  }
263
263
  }
264
264
  } finally {
265
- G = !1, j.current = te, z(), Error.prepareStackTrace = H;
265
+ G = !1, N.current = te, z(), Error.prepareStackTrace = H;
266
266
  }
267
267
  var Ge = s ? s.displayName || s.name : "", Fe = Ge ? F(Ge) : "";
268
268
  return typeof s == "function" && L.set(s, Fe), Fe;
269
269
  }
270
- function Ee(s, v, R) {
271
- return _(s, !1);
270
+ function Ee(s, v, A) {
271
+ return O(s, !1);
272
272
  }
273
273
  function Ye(s) {
274
274
  var v = s.prototype;
275
275
  return !!(v && v.isReactComponent);
276
276
  }
277
- function Be(s, v, R) {
277
+ function Be(s, v, A) {
278
278
  if (s == null)
279
279
  return "";
280
280
  if (typeof s == "function")
281
- return _(s, Ye(s));
281
+ return O(s, Ye(s));
282
282
  if (typeof s == "string")
283
283
  return F(s);
284
284
  switch (s) {
285
- case d:
285
+ case p:
286
286
  return F("Suspense");
287
287
  case m:
288
288
  return F("SuspenseList");
@@ -291,12 +291,12 @@ function Ro() {
291
291
  switch (s.$$typeof) {
292
292
  case f:
293
293
  return Ee(s.render);
294
- case p:
295
- return Be(s.type, v, R);
294
+ case d:
295
+ return Be(s.type, v, A);
296
296
  case h: {
297
297
  var P = s, H = P._payload, te = P._init;
298
298
  try {
299
- return Be(te(H), v, R);
299
+ return Be(te(H), v, A);
300
300
  } catch {
301
301
  }
302
302
  }
@@ -306,12 +306,12 @@ function Ro() {
306
306
  var tt = Object.prototype.hasOwnProperty, hr = {}, gr = S.ReactDebugCurrentFrame;
307
307
  function pt(s) {
308
308
  if (s) {
309
- var v = s._owner, R = Be(s.type, s._source, v ? v.type : null);
310
- gr.setExtraStackFrame(R);
309
+ var v = s._owner, A = Be(s.type, s._source, v ? v.type : null);
310
+ gr.setExtraStackFrame(A);
311
311
  } else
312
312
  gr.setExtraStackFrame(null);
313
313
  }
314
- function Ln(s, v, R, P, H) {
314
+ function Ln(s, v, A, P, H) {
315
315
  {
316
316
  var te = Function.call.bind(tt);
317
317
  for (var Y in s)
@@ -319,14 +319,14 @@ function Ro() {
319
319
  var V = void 0;
320
320
  try {
321
321
  if (typeof s[Y] != "function") {
322
- var he = Error((P || "React class") + ": " + R + " type `" + Y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[Y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
322
+ var he = Error((P || "React class") + ": " + A + " type `" + Y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[Y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
323
323
  throw he.name = "Invariant Violation", he;
324
324
  }
325
- V = s[Y](v, Y, P, R, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
325
+ V = s[Y](v, Y, P, A, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
326
326
  } catch (ue) {
327
327
  V = ue;
328
328
  }
329
- V && !(V instanceof Error) && (pt(H), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", P || "React class", R, Y, typeof V), pt(null)), V instanceof Error && !(V.message in hr) && (hr[V.message] = !0, pt(H), w("Failed %s type: %s", R, V.message), pt(null));
329
+ V && !(V instanceof Error) && (pt(H), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", P || "React class", A, Y, typeof V), pt(null)), V instanceof Error && !(V.message in hr) && (hr[V.message] = !0, pt(H), T("Failed %s type: %s", A, V.message), pt(null));
330
330
  }
331
331
  }
332
332
  }
@@ -336,8 +336,8 @@ function Ro() {
336
336
  }
337
337
  function Wn(s) {
338
338
  {
339
- var v = typeof Symbol == "function" && Symbol.toStringTag, R = v && s[Symbol.toStringTag] || s.constructor.name || "Object";
340
- return R;
339
+ var v = typeof Symbol == "function" && Symbol.toStringTag, A = v && s[Symbol.toStringTag] || s.constructor.name || "Object";
340
+ return A;
341
341
  }
342
342
  }
343
343
  function zn(s) {
@@ -352,7 +352,7 @@ function Ro() {
352
352
  }
353
353
  function br(s) {
354
354
  if (zn(s))
355
- return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Wn(s)), yr(s);
355
+ return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Wn(s)), yr(s);
356
356
  }
357
357
  var vr = S.ReactCurrentOwner, Yn = {
358
358
  key: !0,
@@ -381,34 +381,34 @@ function Ro() {
381
381
  }
382
382
  function Kn(s, v) {
383
383
  {
384
- var R = function() {
385
- Sr || (Sr = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
384
+ var A = function() {
385
+ Sr || (Sr = !0, T("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
386
386
  };
387
- R.isReactWarning = !0, Object.defineProperty(s, "key", {
388
- get: R,
387
+ A.isReactWarning = !0, Object.defineProperty(s, "key", {
388
+ get: A,
389
389
  configurable: !0
390
390
  });
391
391
  }
392
392
  }
393
393
  function Hn(s, v) {
394
394
  {
395
- var R = function() {
396
- Er || (Er = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
395
+ var A = function() {
396
+ Er || (Er = !0, T("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
397
397
  };
398
- R.isReactWarning = !0, Object.defineProperty(s, "ref", {
399
- get: R,
398
+ A.isReactWarning = !0, Object.defineProperty(s, "ref", {
399
+ get: A,
400
400
  configurable: !0
401
401
  });
402
402
  }
403
403
  }
404
- var Jn = function(s, v, R, P, H, te, Y) {
404
+ var Jn = function(s, v, A, P, H, te, Y) {
405
405
  var V = {
406
406
  // This tag allows us to uniquely identify this as a React Element
407
407
  $$typeof: t,
408
408
  // Built-in properties that belong on the element
409
409
  type: s,
410
410
  key: v,
411
- ref: R,
411
+ ref: A,
412
412
  props: Y,
413
413
  // Record the component responsible for creating this element.
414
414
  _owner: te
@@ -430,10 +430,10 @@ function Ro() {
430
430
  value: H
431
431
  }), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
432
432
  };
433
- function Xn(s, v, R, P, H) {
433
+ function Xn(s, v, A, P, H) {
434
434
  {
435
435
  var te, Y = {}, V = null, he = null;
436
- R !== void 0 && (br(R), V = "" + R), Gn(v) && (br(v.key), V = "" + v.key), Un(v) && (he = v.ref, qn(v, H));
436
+ A !== void 0 && (br(A), V = "" + A), Gn(v) && (br(v.key), V = "" + v.key), Un(v) && (he = v.ref, qn(v, H));
437
437
  for (te in v)
438
438
  tt.call(v, te) && !Yn.hasOwnProperty(te) && (Y[te] = v[te]);
439
439
  if (s && s.defaultProps) {
@@ -451,8 +451,8 @@ function Ro() {
451
451
  var Vt = S.ReactCurrentOwner, Cr = S.ReactDebugCurrentFrame;
452
452
  function Ue(s) {
453
453
  if (s) {
454
- var v = s._owner, R = Be(s.type, s._source, v ? v.type : null);
455
- Cr.setExtraStackFrame(R);
454
+ var v = s._owner, A = Be(s.type, s._source, v ? v.type : null);
455
+ Cr.setExtraStackFrame(A);
456
456
  } else
457
457
  Cr.setExtraStackFrame(null);
458
458
  }
@@ -464,7 +464,7 @@ function Ro() {
464
464
  function xr() {
465
465
  {
466
466
  if (Vt.current) {
467
- var s = N(Vt.current.type);
467
+ var s = j(Vt.current.type);
468
468
  if (s)
469
469
  return `
470
470
 
@@ -481,10 +481,10 @@ Check the render method of \`` + s + "`.";
481
481
  {
482
482
  var v = xr();
483
483
  if (!v) {
484
- var R = typeof s == "string" ? s : s.displayName || s.name;
485
- R && (v = `
484
+ var A = typeof s == "string" ? s : s.displayName || s.name;
485
+ A && (v = `
486
486
 
487
- Check the top-level render call using <` + R + ">.");
487
+ Check the top-level render call using <` + A + ">.");
488
488
  }
489
489
  return v;
490
490
  }
@@ -494,12 +494,12 @@ Check the top-level render call using <` + R + ">.");
494
494
  if (!s._store || s._store.validated || s.key != null)
495
495
  return;
496
496
  s._store.validated = !0;
497
- var R = Zn(v);
498
- if (Tr[R])
497
+ var A = Zn(v);
498
+ if (Tr[A])
499
499
  return;
500
- Tr[R] = !0;
500
+ Tr[A] = !0;
501
501
  var P = "";
502
- s && s._owner && s._owner !== Vt.current && (P = " It was passed a child from " + N(s._owner.type) + "."), Ue(s), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', R, P), Ue(null);
502
+ s && s._owner && s._owner !== Vt.current && (P = " It was passed a child from " + j(s._owner.type) + "."), Ue(s), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', A, P), Ue(null);
503
503
  }
504
504
  }
505
505
  function _r(s, v) {
@@ -507,14 +507,14 @@ Check the top-level render call using <` + R + ">.");
507
507
  if (typeof s != "object")
508
508
  return;
509
509
  if (Lt(s))
510
- for (var R = 0; R < s.length; R++) {
511
- var P = s[R];
510
+ for (var A = 0; A < s.length; A++) {
511
+ var P = s[A];
512
512
  zt(P) && wr(P, v);
513
513
  }
514
514
  else if (zt(s))
515
515
  s._store && (s._store.validated = !0);
516
516
  else if (s) {
517
- var H = T(s);
517
+ var H = w(s);
518
518
  if (typeof H == "function" && H !== s.entries)
519
519
  for (var te = H.call(s), Y; !(Y = te.next()).done; )
520
520
  zt(Y.value) && wr(Y.value, v);
@@ -526,40 +526,40 @@ Check the top-level render call using <` + R + ">.");
526
526
  var v = s.type;
527
527
  if (v == null || typeof v == "string")
528
528
  return;
529
- var R;
529
+ var A;
530
530
  if (typeof v == "function")
531
- R = v.propTypes;
531
+ A = v.propTypes;
532
532
  else if (typeof v == "object" && (v.$$typeof === f || // Note: Memo only checks outer props here.
533
533
  // Inner props are checked in the reconciler.
534
- v.$$typeof === p))
535
- R = v.propTypes;
534
+ v.$$typeof === d))
535
+ A = v.propTypes;
536
536
  else
537
537
  return;
538
- if (R) {
539
- var P = N(v);
540
- Ln(R, s.props, "prop", P, s);
538
+ if (A) {
539
+ var P = j(v);
540
+ Ln(A, s.props, "prop", P, s);
541
541
  } else if (v.PropTypes !== void 0 && !Wt) {
542
542
  Wt = !0;
543
- var H = N(v);
544
- w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", H || "Unknown");
543
+ var H = j(v);
544
+ T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", H || "Unknown");
545
545
  }
546
- typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
546
+ typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
547
547
  }
548
548
  }
549
549
  function to(s) {
550
550
  {
551
- for (var v = Object.keys(s.props), R = 0; R < v.length; R++) {
552
- var P = v[R];
551
+ for (var v = Object.keys(s.props), A = 0; A < v.length; A++) {
552
+ var P = v[A];
553
553
  if (P !== "children" && P !== "key") {
554
- Ue(s), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", P), Ue(null);
554
+ Ue(s), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", P), Ue(null);
555
555
  break;
556
556
  }
557
557
  }
558
- s.ref !== null && (Ue(s), w("Invalid attribute `ref` supplied to `React.Fragment`."), Ue(null));
558
+ s.ref !== null && (Ue(s), T("Invalid attribute `ref` supplied to `React.Fragment`."), Ue(null));
559
559
  }
560
560
  }
561
561
  var Or = {};
562
- function Rr(s, v, R, P, H, te) {
562
+ function Rr(s, v, A, P, H, te) {
563
563
  {
564
564
  var Y = a(s);
565
565
  if (!Y) {
@@ -568,9 +568,9 @@ Check the top-level render call using <` + R + ">.");
568
568
  var he = Qn();
569
569
  he ? V += he : V += xr();
570
570
  var ue;
571
- s === null ? ue = "null" : Lt(s) ? ue = "array" : s !== void 0 && s.$$typeof === t ? (ue = "<" + (N(s.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : ue = typeof s, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ue, V);
571
+ s === null ? ue = "null" : Lt(s) ? ue = "array" : s !== void 0 && s.$$typeof === t ? (ue = "<" + (j(s.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : ue = typeof s, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ue, V);
572
572
  }
573
- var de = Xn(s, v, R, H, te);
573
+ var de = Xn(s, v, A, H, te);
574
574
  if (de == null)
575
575
  return de;
576
576
  if (Y) {
@@ -582,17 +582,17 @@ Check the top-level render call using <` + R + ">.");
582
582
  _r(Ce[Ge], s);
583
583
  Object.freeze && Object.freeze(Ce);
584
584
  } else
585
- w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
585
+ T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
586
586
  else
587
587
  _r(Ce, s);
588
588
  }
589
589
  if (tt.call(v, "key")) {
590
- var Fe = N(s), ge = Object.keys(v).filter(function(so) {
590
+ var Fe = j(s), ge = Object.keys(v).filter(function(so) {
591
591
  return so !== "key";
592
592
  }), Yt = ge.length > 0 ? "{key: someKey, " + ge.join(": ..., ") + ": ...}" : "{key: someKey}";
593
593
  if (!Or[Fe + Yt]) {
594
594
  var ao = ge.length > 0 ? "{" + ge.join(": ..., ") + ": ...}" : "{}";
595
- w(`A props object containing a "key" prop is being spread into JSX:
595
+ T(`A props object containing a "key" prop is being spread into JSX:
596
596
  let props = %s;
597
597
  <%s {...props} />
598
598
  React keys must be passed directly to JSX without using spread:
@@ -603,23 +603,23 @@ React keys must be passed directly to JSX without using spread:
603
603
  return s === n ? to(de) : eo(de), de;
604
604
  }
605
605
  }
606
- function ro(s, v, R) {
607
- return Rr(s, v, R, !0);
606
+ function ro(s, v, A) {
607
+ return Rr(s, v, A, !0);
608
608
  }
609
- function no(s, v, R) {
610
- return Rr(s, v, R, !1);
609
+ function no(s, v, A) {
610
+ return Rr(s, v, A, !1);
611
611
  }
612
612
  var oo = no, io = ro;
613
613
  nt.Fragment = n, nt.jsx = oo, nt.jsxs = io;
614
614
  })()), nt;
615
615
  }
616
616
  var Ir;
617
- function Ao() {
618
- return Ir || (Ir = 1, process.env.NODE_ENV === "production" ? gt.exports = Oo() : gt.exports = Ro()), gt.exports;
617
+ function ko() {
618
+ return Ir || (Ir = 1, process.env.NODE_ENV === "production" ? gt.exports = Ro() : gt.exports = Ao()), gt.exports;
619
619
  }
620
- var x = Ao();
621
- function ko(e) {
622
- const { client: t, tenantId: r, subscriberId: n, filters: o, pollInterval: i, autoFetch: c = !0 } = e, [u, f] = Te([]), [d, m] = Te(c), [p, h] = Te(null), y = $e(async () => {
620
+ var x = ko();
621
+ function $o(e) {
622
+ const { service: t, tenantId: r, subscriberId: n, filters: o, pollInterval: i, autoFetch: c = !0 } = e, [u, f] = Te([]), [p, m] = Te(c), [d, h] = Te(null), y = $e(async () => {
623
623
  try {
624
624
  m(!0), h(null);
625
625
  const S = {
@@ -627,8 +627,8 @@ function ko(e) {
627
627
  subscriberId: n,
628
628
  limit: e?.maxNotifications,
629
629
  ...o
630
- }, w = await t.notifications.list(S);
631
- f(w.items || []);
630
+ }, T = await t.list(S);
631
+ f(T);
632
632
  } catch (S) {
633
633
  h(S instanceof Error ? S : new Error("Failed to fetch notifications"));
634
634
  } finally {
@@ -648,46 +648,46 @@ function ko(e) {
648
648
  const b = u.filter((S) => S.read !== !0).length, l = $e(
649
649
  async (S) => {
650
650
  try {
651
- await t.notifications.markAsRead(S, n), f(
652
- (w) => w.map(
653
- (A) => A.notificationId === S ? { ...A, read: !0 } : A
651
+ await t.markAsRead(S, n), f(
652
+ (T) => T.map(
653
+ (_) => _.notificationId === S ? { ..._, read: !0 } : _
654
654
  )
655
655
  );
656
- } catch (w) {
657
- console.error("Failed to mark notification as read", w);
656
+ } catch (T) {
657
+ console.error("Failed to mark notification as read", T);
658
658
  }
659
659
  },
660
660
  [t, n]
661
- ), T = $e(
661
+ ), w = $e(
662
662
  async (S) => {
663
663
  try {
664
- await t.notifications.delete(S, n), f((w) => w.filter((A) => A.notificationId !== S));
665
- } catch (w) {
666
- console.error("Failed to delete notification", w);
664
+ await t.delete(S, n), f((T) => T.filter((_) => _.notificationId !== S));
665
+ } catch (T) {
666
+ console.error("Failed to delete notification", T);
667
667
  }
668
668
  },
669
669
  [t, n]
670
670
  );
671
671
  return {
672
672
  notifications: u,
673
- loading: d,
674
- error: p,
673
+ loading: p,
674
+ error: d,
675
675
  unreadCount: b,
676
676
  refresh: y,
677
677
  markAsRead: l,
678
- deleteNotification: T
678
+ deleteNotification: w
679
679
  };
680
680
  }
681
- const $o = "edusight:notification-widget:context";
682
- function Po(e) {
681
+ const Po = "edusight:notification-widget:context";
682
+ function Io(e) {
683
683
  try {
684
684
  if (typeof window > "u" || !window.localStorage)
685
685
  return;
686
- window.localStorage.setItem($o, JSON.stringify(e));
686
+ window.localStorage.setItem(Po, JSON.stringify(e));
687
687
  } catch {
688
688
  }
689
689
  }
690
- class Io {
690
+ class No {
691
691
  constructor(t) {
692
692
  this.listeners = /* @__PURE__ */ new Map();
693
693
  const r = {
@@ -705,8 +705,8 @@ class Io {
705
705
  tenantId: t.tenantId,
706
706
  subscriberId: t.subscriberId,
707
707
  environmentId: t.environmentId
708
- }, this.socketClient = new So(r), this.socketClient.on("connect", () => {
709
- Po({
708
+ }, this.socketClient = new Eo(r), this.socketClient.on("connect", () => {
709
+ Io({
710
710
  environmentId: t.environmentId,
711
711
  subscriberId: t.subscriberId,
712
712
  tenantId: t.tenantId
@@ -754,26 +754,26 @@ class Io {
754
754
  });
755
755
  }
756
756
  normalizeNotification(t) {
757
- const r = (/* @__PURE__ */ new Date()).toISOString(), n = t.channel || Eo.IN_APP, o = t.renderedContent || {
757
+ const r = (/* @__PURE__ */ new Date()).toISOString(), n = t.channel || Co.IN_APP, o = t.renderedContent || {
758
758
  inApp: {
759
759
  title: t.title,
760
760
  message: t.message,
761
761
  action: t.action,
762
762
  icon: t.icon
763
763
  }
764
- }, i = t.category ?? Co.REAL_TIME;
764
+ }, i = t.category ?? xo.REAL_TIME;
765
765
  return {
766
766
  notificationId: t.notificationId,
767
767
  tenantId: this.context.tenantId,
768
768
  subscriberId: this.context.subscriberId,
769
769
  templateId: t.templateId ?? "",
770
- type: t.type || To.CUSTOM,
770
+ type: t.type || wo.CUSTOM,
771
771
  category: i,
772
772
  channels: [n],
773
773
  payload: t.data || {},
774
774
  renderedContent: o,
775
775
  status: bn.PENDING,
776
- priority: xo.MEDIUM,
776
+ priority: To.MEDIUM,
777
777
  scheduledFor: void 0,
778
778
  sentAt: void 0,
779
779
  retryCount: void 0,
@@ -793,11 +793,11 @@ function jo(e) {
793
793
  environmentId: o,
794
794
  enabled: i = !0,
795
795
  autoAck: c = !1
796
- } = e, [u, f] = Te(!1), [d, m] = Te(null), p = co(null);
796
+ } = e, [u, f] = Te(!1), [p, m] = Te(null), d = co(null);
797
797
  Ze(() => {
798
798
  if (!i)
799
799
  return;
800
- const S = new Io({
800
+ const S = new No({
801
801
  client: t,
802
802
  tenantId: r,
803
803
  subscriberId: n,
@@ -808,27 +808,27 @@ function jo(e) {
808
808
  f(!0), m(null);
809
809
  }), S.on("disconnect", () => {
810
810
  f(!1);
811
- }), S.on("error", (w) => {
812
- m(w);
813
- }), p.current = S, S.connect(), () => {
814
- S.disconnect(), p.current = null, f(!1);
811
+ }), S.on("error", (T) => {
812
+ m(T);
813
+ }), d.current = S, S.connect(), () => {
814
+ S.disconnect(), d.current = null, f(!1);
815
815
  };
816
816
  }, [t, r, n, o, i, c]);
817
817
  const h = $e(() => {
818
- p.current?.connect();
818
+ d.current?.connect();
819
819
  }, []), y = $e(() => {
820
- p.current?.disconnect();
820
+ d.current?.disconnect();
821
821
  }, []), b = $e((S) => {
822
- p.current?.ackNotification(S);
822
+ d.current?.ackNotification(S);
823
823
  }, []), l = $e(
824
- (S) => p.current ? (p.current.on("notification", S), () => {
825
- p.current?.off("notification", S);
824
+ (S) => d.current ? (d.current.on("notification", S), () => {
825
+ d.current?.off("notification", S);
826
826
  }) : () => {
827
827
  },
828
828
  []
829
- ), T = $e(
830
- (S) => p.current ? (p.current.on("ack", S), () => {
831
- p.current?.off("ack", S);
829
+ ), w = $e(
830
+ (S) => d.current ? (d.current.on("ack", S), () => {
831
+ d.current?.off("ack", S);
832
832
  }) : () => {
833
833
  },
834
834
  []
@@ -838,12 +838,26 @@ function jo(e) {
838
838
  connect: h,
839
839
  disconnect: y,
840
840
  onNotification: l,
841
- onAck: T,
841
+ onAck: w,
842
842
  ackNotification: b,
843
- error: d
843
+ error: p
844
844
  };
845
845
  }
846
- function No(e) {
846
+ class Do {
847
+ constructor(t) {
848
+ this.client = t;
849
+ }
850
+ async list(t) {
851
+ return (await this.client.notifications.list(t)).items || [];
852
+ }
853
+ async markAsRead(t, r) {
854
+ await this.client.notifications.markAsRead(t, r);
855
+ }
856
+ async delete(t, r) {
857
+ await this.client.notifications.delete(t, r);
858
+ }
859
+ }
860
+ function Mo(e) {
847
861
  const {
848
862
  client: t,
849
863
  tenantId: r,
@@ -852,84 +866,84 @@ function No(e) {
852
866
  pollInterval: i,
853
867
  autoFetch: c,
854
868
  autoAck: u = !1
855
- } = e, f = {
856
- client: t,
869
+ } = e, p = {
870
+ service: lo(() => new Do(t), [t]),
857
871
  tenantId: r,
858
872
  subscriberId: n,
859
873
  pollInterval: i,
860
874
  autoFetch: c
861
- }, d = {
875
+ }, m = {
862
876
  client: t,
863
877
  tenantId: r,
864
878
  subscriberId: n,
865
879
  environmentId: o,
866
880
  enabled: !0,
867
881
  autoAck: u
868
- }, m = ko(f), p = jo(d), [h, y] = Te(m.notifications);
882
+ }, d = $o(p), h = jo(m), [y, b] = Te(d.notifications);
869
883
  return Ze(() => {
870
- y(m.notifications);
871
- }, [m.notifications]), Ze(() => {
872
- const b = p.onNotification((T) => {
873
- y((S) => S.some((w) => w.notificationId === T.notificationId) ? S : [T, ...S]), p.ackNotification(T.notificationId);
874
- }), l = p.onAck((T) => {
875
- y(
876
- (S) => S.map(
877
- (w) => w.notificationId === T.notificationId ? { ...w, status: bn.DELIVERED } : w
884
+ b(d.notifications);
885
+ }, [d.notifications]), Ze(() => {
886
+ const l = h.onNotification((S) => {
887
+ b((T) => T.some((_) => _.notificationId === S.notificationId) ? T : [S, ...T]), h.ackNotification(S.notificationId);
888
+ }), w = h.onAck((S) => {
889
+ b(
890
+ (T) => T.map(
891
+ (_) => _.notificationId === S.notificationId ? { ..._, status: bn.DELIVERED } : _
878
892
  )
879
893
  );
880
894
  });
881
895
  return () => {
882
- b(), l();
896
+ l(), w();
883
897
  };
884
- }, [p]), {
885
- notifications: h,
886
- loading: m.loading,
887
- error: m.error,
888
- unreadCount: m.unreadCount,
889
- connected: p.connected,
890
- refresh: m.refresh,
891
- markAsRead: m.markAsRead,
892
- deleteNotification: m.deleteNotification
898
+ }, [h]), {
899
+ notifications: y,
900
+ loading: d.loading,
901
+ error: d.error,
902
+ unreadCount: d.unreadCount,
903
+ connected: h.connected,
904
+ refresh: d.refresh,
905
+ markAsRead: d.markAsRead,
906
+ deleteNotification: d.deleteNotification
893
907
  };
894
908
  }
895
909
  var yt = { exports: {} }, Q = {};
896
- var jr;
897
- function Do() {
898
- if (jr) return Q;
899
- jr = 1;
900
- var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.consumer"), c = /* @__PURE__ */ Symbol.for("react.context"), u = /* @__PURE__ */ Symbol.for("react.forward_ref"), f = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), m = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), h = /* @__PURE__ */ Symbol.for("react.view_transition"), y = /* @__PURE__ */ Symbol.for("react.client.reference");
910
+ var Nr;
911
+ function Bo() {
912
+ if (Nr) return Q;
913
+ Nr = 1;
914
+ var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.consumer"), c = /* @__PURE__ */ Symbol.for("react.context"), u = /* @__PURE__ */ Symbol.for("react.forward_ref"), f = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), m = /* @__PURE__ */ Symbol.for("react.memo"), d = /* @__PURE__ */ Symbol.for("react.lazy"), h = /* @__PURE__ */ Symbol.for("react.view_transition"), y = /* @__PURE__ */ Symbol.for("react.client.reference");
901
915
  function b(l) {
902
916
  if (typeof l == "object" && l !== null) {
903
- var T = l.$$typeof;
904
- switch (T) {
917
+ var w = l.$$typeof;
918
+ switch (w) {
905
919
  case e:
906
920
  switch (l = l.type, l) {
907
921
  case r:
908
922
  case o:
909
923
  case n:
910
924
  case f:
911
- case d:
925
+ case p:
912
926
  case h:
913
927
  return l;
914
928
  default:
915
929
  switch (l = l && l.$$typeof, l) {
916
930
  case c:
917
931
  case u:
918
- case p:
932
+ case d:
919
933
  case m:
920
934
  return l;
921
935
  case i:
922
936
  return l;
923
937
  default:
924
- return T;
938
+ return w;
925
939
  }
926
940
  }
927
941
  case t:
928
- return T;
942
+ return w;
929
943
  }
930
944
  }
931
945
  }
932
- return Q.ContextConsumer = i, Q.ContextProvider = c, Q.Element = e, Q.ForwardRef = u, Q.Fragment = r, Q.Lazy = p, Q.Memo = m, Q.Portal = t, Q.Profiler = o, Q.StrictMode = n, Q.Suspense = f, Q.SuspenseList = d, Q.isContextConsumer = function(l) {
946
+ return Q.ContextConsumer = i, Q.ContextProvider = c, Q.Element = e, Q.ForwardRef = u, Q.Fragment = r, Q.Lazy = d, Q.Memo = m, Q.Portal = t, Q.Profiler = o, Q.StrictMode = n, Q.Suspense = f, Q.SuspenseList = p, Q.isContextConsumer = function(l) {
933
947
  return b(l) === i;
934
948
  }, Q.isContextProvider = function(l) {
935
949
  return b(l) === c;
@@ -940,7 +954,7 @@ function Do() {
940
954
  }, Q.isFragment = function(l) {
941
955
  return b(l) === r;
942
956
  }, Q.isLazy = function(l) {
943
- return b(l) === p;
957
+ return b(l) === d;
944
958
  }, Q.isMemo = function(l) {
945
959
  return b(l) === m;
946
960
  }, Q.isPortal = function(l) {
@@ -952,25 +966,25 @@ function Do() {
952
966
  }, Q.isSuspense = function(l) {
953
967
  return b(l) === f;
954
968
  }, Q.isSuspenseList = function(l) {
955
- return b(l) === d;
969
+ return b(l) === p;
956
970
  }, Q.isValidElementType = function(l) {
957
- return typeof l == "string" || typeof l == "function" || l === r || l === o || l === n || l === f || l === d || typeof l == "object" && l !== null && (l.$$typeof === p || l.$$typeof === m || l.$$typeof === c || l.$$typeof === i || l.$$typeof === u || l.$$typeof === y || l.getModuleId !== void 0);
971
+ return typeof l == "string" || typeof l == "function" || l === r || l === o || l === n || l === f || l === p || typeof l == "object" && l !== null && (l.$$typeof === d || l.$$typeof === m || l.$$typeof === c || l.$$typeof === i || l.$$typeof === u || l.$$typeof === y || l.getModuleId !== void 0);
958
972
  }, Q.typeOf = b, Q;
959
973
  }
960
974
  var Z = {};
961
- var Nr;
962
- function Mo() {
963
- return Nr || (Nr = 1, process.env.NODE_ENV !== "production" && (function() {
975
+ var jr;
976
+ function Fo() {
977
+ return jr || (jr = 1, process.env.NODE_ENV !== "production" && (function() {
964
978
  function e(l) {
965
979
  if (typeof l == "object" && l !== null) {
966
- var T = l.$$typeof;
967
- switch (T) {
980
+ var w = l.$$typeof;
981
+ switch (w) {
968
982
  case t:
969
983
  switch (l = l.type, l) {
970
984
  case n:
971
985
  case i:
972
986
  case o:
973
- case d:
987
+ case p:
974
988
  case m:
975
989
  case y:
976
990
  return l;
@@ -979,21 +993,21 @@ function Mo() {
979
993
  case u:
980
994
  case f:
981
995
  case h:
982
- case p:
996
+ case d:
983
997
  return l;
984
998
  case c:
985
999
  return l;
986
1000
  default:
987
- return T;
1001
+ return w;
988
1002
  }
989
1003
  }
990
1004
  case r:
991
- return T;
1005
+ return w;
992
1006
  }
993
1007
  }
994
1008
  }
995
- var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.consumer"), u = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), p = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), y = /* @__PURE__ */ Symbol.for("react.view_transition"), b = /* @__PURE__ */ Symbol.for("react.client.reference");
996
- Z.ContextConsumer = c, Z.ContextProvider = u, Z.Element = t, Z.ForwardRef = f, Z.Fragment = n, Z.Lazy = h, Z.Memo = p, Z.Portal = r, Z.Profiler = i, Z.StrictMode = o, Z.Suspense = d, Z.SuspenseList = m, Z.isContextConsumer = function(l) {
1009
+ var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.consumer"), u = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), p = /* @__PURE__ */ Symbol.for("react.suspense"), m = /* @__PURE__ */ Symbol.for("react.suspense_list"), d = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), y = /* @__PURE__ */ Symbol.for("react.view_transition"), b = /* @__PURE__ */ Symbol.for("react.client.reference");
1010
+ Z.ContextConsumer = c, Z.ContextProvider = u, Z.Element = t, Z.ForwardRef = f, Z.Fragment = n, Z.Lazy = h, Z.Memo = d, Z.Portal = r, Z.Profiler = i, Z.StrictMode = o, Z.Suspense = p, Z.SuspenseList = m, Z.isContextConsumer = function(l) {
997
1011
  return e(l) === c;
998
1012
  }, Z.isContextProvider = function(l) {
999
1013
  return e(l) === u;
@@ -1006,7 +1020,7 @@ function Mo() {
1006
1020
  }, Z.isLazy = function(l) {
1007
1021
  return e(l) === h;
1008
1022
  }, Z.isMemo = function(l) {
1009
- return e(l) === p;
1023
+ return e(l) === d;
1010
1024
  }, Z.isPortal = function(l) {
1011
1025
  return e(l) === r;
1012
1026
  }, Z.isProfiler = function(l) {
@@ -1014,19 +1028,19 @@ function Mo() {
1014
1028
  }, Z.isStrictMode = function(l) {
1015
1029
  return e(l) === o;
1016
1030
  }, Z.isSuspense = function(l) {
1017
- return e(l) === d;
1031
+ return e(l) === p;
1018
1032
  }, Z.isSuspenseList = function(l) {
1019
1033
  return e(l) === m;
1020
1034
  }, Z.isValidElementType = function(l) {
1021
- return typeof l == "string" || typeof l == "function" || l === n || l === i || l === o || l === d || l === m || typeof l == "object" && l !== null && (l.$$typeof === h || l.$$typeof === p || l.$$typeof === u || l.$$typeof === c || l.$$typeof === f || l.$$typeof === b || l.getModuleId !== void 0);
1035
+ return typeof l == "string" || typeof l == "function" || l === n || l === i || l === o || l === p || l === m || typeof l == "object" && l !== null && (l.$$typeof === h || l.$$typeof === d || l.$$typeof === u || l.$$typeof === c || l.$$typeof === f || l.$$typeof === b || l.getModuleId !== void 0);
1022
1036
  }, Z.typeOf = e;
1023
1037
  })()), Z;
1024
1038
  }
1025
1039
  var Dr;
1026
- function Bo() {
1027
- return Dr || (Dr = 1, process.env.NODE_ENV === "production" ? yt.exports = /* @__PURE__ */ Do() : yt.exports = /* @__PURE__ */ Mo()), yt.exports;
1040
+ function Lo() {
1041
+ return Dr || (Dr = 1, process.env.NODE_ENV === "production" ? yt.exports = /* @__PURE__ */ Bo() : yt.exports = /* @__PURE__ */ Fo()), yt.exports;
1028
1042
  }
1029
- var wt = /* @__PURE__ */ Bo();
1043
+ var wt = /* @__PURE__ */ Lo();
1030
1044
  function Ae(e) {
1031
1045
  if (typeof e != "object" || e === null)
1032
1046
  return !1;
@@ -1054,22 +1068,22 @@ function Se(e, t, r = {
1054
1068
  }
1055
1069
  var bt = { exports: {} }, vt = { exports: {} }, J = {};
1056
1070
  var Mr;
1057
- function Fo() {
1071
+ function Vo() {
1058
1072
  if (Mr) return J;
1059
1073
  Mr = 1;
1060
- var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, p = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, h = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, y = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, b = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, l = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, T = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, S = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, w = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
1061
- function A(E) {
1074
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, p = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, d = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, h = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, y = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, b = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, l = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, w = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, S = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, T = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
1075
+ function _(E) {
1062
1076
  if (typeof E == "object" && E !== null) {
1063
1077
  var q = E.$$typeof;
1064
1078
  switch (q) {
1065
1079
  case t:
1066
1080
  switch (E = E.type, E) {
1067
1081
  case f:
1068
- case d:
1082
+ case p:
1069
1083
  case n:
1070
1084
  case i:
1071
1085
  case o:
1072
- case p:
1086
+ case d:
1073
1087
  return E;
1074
1088
  default:
1075
1089
  switch (E = E && E.$$typeof, E) {
@@ -1089,58 +1103,58 @@ function Fo() {
1089
1103
  }
1090
1104
  }
1091
1105
  function $(E) {
1092
- return A(E) === d;
1106
+ return _(E) === p;
1093
1107
  }
1094
- return J.AsyncMode = f, J.ConcurrentMode = d, J.ContextConsumer = u, J.ContextProvider = c, J.Element = t, J.ForwardRef = m, J.Fragment = n, J.Lazy = b, J.Memo = y, J.Portal = r, J.Profiler = i, J.StrictMode = o, J.Suspense = p, J.isAsyncMode = function(E) {
1095
- return $(E) || A(E) === f;
1108
+ return J.AsyncMode = f, J.ConcurrentMode = p, J.ContextConsumer = u, J.ContextProvider = c, J.Element = t, J.ForwardRef = m, J.Fragment = n, J.Lazy = b, J.Memo = y, J.Portal = r, J.Profiler = i, J.StrictMode = o, J.Suspense = d, J.isAsyncMode = function(E) {
1109
+ return $(E) || _(E) === f;
1096
1110
  }, J.isConcurrentMode = $, J.isContextConsumer = function(E) {
1097
- return A(E) === u;
1111
+ return _(E) === u;
1098
1112
  }, J.isContextProvider = function(E) {
1099
- return A(E) === c;
1113
+ return _(E) === c;
1100
1114
  }, J.isElement = function(E) {
1101
1115
  return typeof E == "object" && E !== null && E.$$typeof === t;
1102
1116
  }, J.isForwardRef = function(E) {
1103
- return A(E) === m;
1117
+ return _(E) === m;
1104
1118
  }, J.isFragment = function(E) {
1105
- return A(E) === n;
1119
+ return _(E) === n;
1106
1120
  }, J.isLazy = function(E) {
1107
- return A(E) === b;
1121
+ return _(E) === b;
1108
1122
  }, J.isMemo = function(E) {
1109
- return A(E) === y;
1123
+ return _(E) === y;
1110
1124
  }, J.isPortal = function(E) {
1111
- return A(E) === r;
1125
+ return _(E) === r;
1112
1126
  }, J.isProfiler = function(E) {
1113
- return A(E) === i;
1127
+ return _(E) === i;
1114
1128
  }, J.isStrictMode = function(E) {
1115
- return A(E) === o;
1129
+ return _(E) === o;
1116
1130
  }, J.isSuspense = function(E) {
1117
- return A(E) === p;
1131
+ return _(E) === d;
1118
1132
  }, J.isValidElementType = function(E) {
1119
- return typeof E == "string" || typeof E == "function" || E === n || E === d || E === i || E === o || E === p || E === h || typeof E == "object" && E !== null && (E.$$typeof === b || E.$$typeof === y || E.$$typeof === c || E.$$typeof === u || E.$$typeof === m || E.$$typeof === T || E.$$typeof === S || E.$$typeof === w || E.$$typeof === l);
1120
- }, J.typeOf = A, J;
1133
+ return typeof E == "string" || typeof E == "function" || E === n || E === p || E === i || E === o || E === d || E === h || typeof E == "object" && E !== null && (E.$$typeof === b || E.$$typeof === y || E.$$typeof === c || E.$$typeof === u || E.$$typeof === m || E.$$typeof === w || E.$$typeof === S || E.$$typeof === T || E.$$typeof === l);
1134
+ }, J.typeOf = _, J;
1121
1135
  }
1122
1136
  var X = {};
1123
1137
  var Br;
1124
- function Lo() {
1138
+ function Wo() {
1125
1139
  return Br || (Br = 1, process.env.NODE_ENV !== "production" && (function() {
1126
- var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, p = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, h = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, y = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, b = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, l = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, T = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, S = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, w = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
1127
- function A(_) {
1128
- return typeof _ == "string" || typeof _ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1129
- _ === n || _ === d || _ === i || _ === o || _ === p || _ === h || typeof _ == "object" && _ !== null && (_.$$typeof === b || _.$$typeof === y || _.$$typeof === c || _.$$typeof === u || _.$$typeof === m || _.$$typeof === T || _.$$typeof === S || _.$$typeof === w || _.$$typeof === l);
1140
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, p = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, m = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, d = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, h = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, y = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, b = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, l = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, w = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, S = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, T = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
1141
+ function _(O) {
1142
+ return typeof O == "string" || typeof O == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1143
+ O === n || O === p || O === i || O === o || O === d || O === h || typeof O == "object" && O !== null && (O.$$typeof === b || O.$$typeof === y || O.$$typeof === c || O.$$typeof === u || O.$$typeof === m || O.$$typeof === w || O.$$typeof === S || O.$$typeof === T || O.$$typeof === l);
1130
1144
  }
1131
- function $(_) {
1132
- if (typeof _ == "object" && _ !== null) {
1133
- var Ee = _.$$typeof;
1145
+ function $(O) {
1146
+ if (typeof O == "object" && O !== null) {
1147
+ var Ee = O.$$typeof;
1134
1148
  switch (Ee) {
1135
1149
  case t:
1136
- var Ye = _.type;
1150
+ var Ye = O.type;
1137
1151
  switch (Ye) {
1138
1152
  case f:
1139
- case d:
1153
+ case p:
1140
1154
  case n:
1141
1155
  case i:
1142
1156
  case o:
1143
- case p:
1157
+ case d:
1144
1158
  return Ye;
1145
1159
  default:
1146
1160
  var Be = Ye && Ye.$$typeof;
@@ -1160,55 +1174,55 @@ function Lo() {
1160
1174
  }
1161
1175
  }
1162
1176
  }
1163
- var E = f, q = d, oe = u, ee = c, W = t, a = m, O = n, U = b, N = y, le = r, ae = i, pe = o, be = p, Me = !1;
1164
- function ze(_) {
1165
- return Me || (Me = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), C(_) || $(_) === f;
1177
+ var E = f, q = p, oe = u, ee = c, W = t, a = m, R = n, U = b, j = y, le = r, ae = i, pe = o, be = d, Me = !1;
1178
+ function ze(O) {
1179
+ return Me || (Me = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), C(O) || $(O) === f;
1166
1180
  }
1167
- function C(_) {
1168
- return $(_) === d;
1181
+ function C(O) {
1182
+ return $(O) === p;
1169
1183
  }
1170
- function k(_) {
1171
- return $(_) === u;
1184
+ function k(O) {
1185
+ return $(O) === u;
1172
1186
  }
1173
- function B(_) {
1174
- return $(_) === c;
1187
+ function B(O) {
1188
+ return $(O) === c;
1175
1189
  }
1176
- function M(_) {
1177
- return typeof _ == "object" && _ !== null && _.$$typeof === t;
1190
+ function M(O) {
1191
+ return typeof O == "object" && O !== null && O.$$typeof === t;
1178
1192
  }
1179
- function I(_) {
1180
- return $(_) === m;
1193
+ function I(O) {
1194
+ return $(O) === m;
1181
1195
  }
1182
- function z(_) {
1183
- return $(_) === n;
1196
+ function z(O) {
1197
+ return $(O) === n;
1184
1198
  }
1185
- function j(_) {
1186
- return $(_) === b;
1199
+ function N(O) {
1200
+ return $(O) === b;
1187
1201
  }
1188
- function D(_) {
1189
- return $(_) === y;
1202
+ function D(O) {
1203
+ return $(O) === y;
1190
1204
  }
1191
- function F(_) {
1192
- return $(_) === r;
1205
+ function F(O) {
1206
+ return $(O) === r;
1193
1207
  }
1194
- function G(_) {
1195
- return $(_) === i;
1208
+ function G(O) {
1209
+ return $(O) === i;
1196
1210
  }
1197
- function L(_) {
1198
- return $(_) === o;
1211
+ function L(O) {
1212
+ return $(O) === o;
1199
1213
  }
1200
- function me(_) {
1201
- return $(_) === p;
1214
+ function me(O) {
1215
+ return $(O) === d;
1202
1216
  }
1203
- X.AsyncMode = E, X.ConcurrentMode = q, X.ContextConsumer = oe, X.ContextProvider = ee, X.Element = W, X.ForwardRef = a, X.Fragment = O, X.Lazy = U, X.Memo = N, X.Portal = le, X.Profiler = ae, X.StrictMode = pe, X.Suspense = be, X.isAsyncMode = ze, X.isConcurrentMode = C, X.isContextConsumer = k, X.isContextProvider = B, X.isElement = M, X.isForwardRef = I, X.isFragment = z, X.isLazy = j, X.isMemo = D, X.isPortal = F, X.isProfiler = G, X.isStrictMode = L, X.isSuspense = me, X.isValidElementType = A, X.typeOf = $;
1217
+ X.AsyncMode = E, X.ConcurrentMode = q, X.ContextConsumer = oe, X.ContextProvider = ee, X.Element = W, X.ForwardRef = a, X.Fragment = R, X.Lazy = U, X.Memo = j, X.Portal = le, X.Profiler = ae, X.StrictMode = pe, X.Suspense = be, X.isAsyncMode = ze, X.isConcurrentMode = C, X.isContextConsumer = k, X.isContextProvider = B, X.isElement = M, X.isForwardRef = I, X.isFragment = z, X.isLazy = N, X.isMemo = D, X.isPortal = F, X.isProfiler = G, X.isStrictMode = L, X.isSuspense = me, X.isValidElementType = _, X.typeOf = $;
1204
1218
  })()), X;
1205
1219
  }
1206
1220
  var Fr;
1207
1221
  function Sn() {
1208
- return Fr || (Fr = 1, process.env.NODE_ENV === "production" ? vt.exports = Fo() : vt.exports = Lo()), vt.exports;
1222
+ return Fr || (Fr = 1, process.env.NODE_ENV === "production" ? vt.exports = Vo() : vt.exports = Wo()), vt.exports;
1209
1223
  }
1210
1224
  var Ut, Lr;
1211
- function Vo() {
1225
+ function zo() {
1212
1226
  if (Lr) return Ut;
1213
1227
  Lr = 1;
1214
1228
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
@@ -1231,23 +1245,23 @@ function Vo() {
1231
1245
  });
1232
1246
  if (f.join("") !== "0123456789")
1233
1247
  return !1;
1234
- var d = {};
1248
+ var p = {};
1235
1249
  return "abcdefghijklmnopqrst".split("").forEach(function(m) {
1236
- d[m] = m;
1237
- }), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst";
1250
+ p[m] = m;
1251
+ }), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
1238
1252
  } catch {
1239
1253
  return !1;
1240
1254
  }
1241
1255
  }
1242
1256
  return Ut = o() ? Object.assign : function(i, c) {
1243
- for (var u, f = n(i), d, m = 1; m < arguments.length; m++) {
1257
+ for (var u, f = n(i), p, m = 1; m < arguments.length; m++) {
1244
1258
  u = Object(arguments[m]);
1245
- for (var p in u)
1246
- t.call(u, p) && (f[p] = u[p]);
1259
+ for (var d in u)
1260
+ t.call(u, d) && (f[d] = u[d]);
1247
1261
  if (e) {
1248
- d = e(u);
1249
- for (var h = 0; h < d.length; h++)
1250
- r.call(u, d[h]) && (f[d[h]] = u[d[h]]);
1262
+ p = e(u);
1263
+ for (var h = 0; h < p.length; h++)
1264
+ r.call(u, p[h]) && (f[p[h]] = u[p[h]]);
1251
1265
  }
1252
1266
  }
1253
1267
  return f;
@@ -1265,7 +1279,7 @@ function En() {
1265
1279
  return Wr || (Wr = 1, qt = Function.call.bind(Object.prototype.hasOwnProperty)), qt;
1266
1280
  }
1267
1281
  var Kt, zr;
1268
- function Wo() {
1282
+ function Yo() {
1269
1283
  if (zr) return Kt;
1270
1284
  zr = 1;
1271
1285
  var e = function() {
@@ -1281,11 +1295,11 @@ function Wo() {
1281
1295
  }
1282
1296
  };
1283
1297
  }
1284
- function o(i, c, u, f, d) {
1298
+ function o(i, c, u, f, p) {
1285
1299
  if (process.env.NODE_ENV !== "production") {
1286
1300
  for (var m in i)
1287
1301
  if (n(i, m)) {
1288
- var p;
1302
+ var d;
1289
1303
  try {
1290
1304
  if (typeof i[m] != "function") {
1291
1305
  var h = Error(
@@ -1293,17 +1307,17 @@ function Wo() {
1293
1307
  );
1294
1308
  throw h.name = "Invariant Violation", h;
1295
1309
  }
1296
- p = i[m](c, m, f, u, null, t);
1310
+ d = i[m](c, m, f, u, null, t);
1297
1311
  } catch (b) {
1298
- p = b;
1312
+ d = b;
1299
1313
  }
1300
- if (p && !(p instanceof Error) && e(
1301
- (f || "React class") + ": type specification of " + u + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
1302
- ), p instanceof Error && !(p.message in r)) {
1303
- r[p.message] = !0;
1304
- var y = d ? d() : "";
1314
+ if (d && !(d instanceof Error) && e(
1315
+ (f || "React class") + ": type specification of " + u + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
1316
+ ), d instanceof Error && !(d.message in r)) {
1317
+ r[d.message] = !0;
1318
+ var y = p ? p() : "";
1305
1319
  e(
1306
- "Failed " + u + " type: " + p.message + (y ?? "")
1320
+ "Failed " + u + " type: " + d.message + (y ?? "")
1307
1321
  );
1308
1322
  }
1309
1323
  }
@@ -1314,10 +1328,10 @@ function Wo() {
1314
1328
  }, Kt = o, Kt;
1315
1329
  }
1316
1330
  var Ht, Yr;
1317
- function zo() {
1331
+ function Uo() {
1318
1332
  if (Yr) return Ht;
1319
1333
  Yr = 1;
1320
- var e = Sn(), t = Vo(), r = /* @__PURE__ */ ar(), n = /* @__PURE__ */ En(), o = /* @__PURE__ */ Wo(), i = function() {
1334
+ var e = Sn(), t = zo(), r = /* @__PURE__ */ ar(), n = /* @__PURE__ */ En(), o = /* @__PURE__ */ Yo(), i = function() {
1321
1335
  };
1322
1336
  process.env.NODE_ENV !== "production" && (i = function(u) {
1323
1337
  var f = "Warning: " + u;
@@ -1331,9 +1345,9 @@ function zo() {
1331
1345
  return null;
1332
1346
  }
1333
1347
  return Ht = function(u, f) {
1334
- var d = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
1335
- function p(C) {
1336
- var k = C && (d && C[d] || C[m]);
1348
+ var p = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
1349
+ function d(C) {
1350
+ var k = C && (p && C[p] || C[m]);
1337
1351
  if (typeof k == "function")
1338
1352
  return k;
1339
1353
  }
@@ -1346,8 +1360,8 @@ function zo() {
1346
1360
  object: S("object"),
1347
1361
  string: S("string"),
1348
1362
  symbol: S("symbol"),
1349
- any: w(),
1350
- arrayOf: A,
1363
+ any: T(),
1364
+ arrayOf: _,
1351
1365
  element: $(),
1352
1366
  elementType: E(),
1353
1367
  instanceOf: q,
@@ -1356,7 +1370,7 @@ function zo() {
1356
1370
  oneOf: oe,
1357
1371
  oneOfType: W,
1358
1372
  shape: U,
1359
- exact: N
1373
+ exact: j
1360
1374
  };
1361
1375
  function b(C, k) {
1362
1376
  return C === k ? C !== 0 || 1 / C === 1 / k : C !== C && k !== k;
@@ -1365,16 +1379,16 @@ function zo() {
1365
1379
  this.message = C, this.data = k && typeof k == "object" ? k : {}, this.stack = "";
1366
1380
  }
1367
1381
  l.prototype = Error.prototype;
1368
- function T(C) {
1382
+ function w(C) {
1369
1383
  if (process.env.NODE_ENV !== "production")
1370
1384
  var k = {}, B = 0;
1371
- function M(z, j, D, F, G, L, me) {
1385
+ function M(z, N, D, F, G, L, me) {
1372
1386
  if (F = F || h, L = L || D, me !== r) {
1373
1387
  if (f) {
1374
- var _ = new Error(
1388
+ var O = new Error(
1375
1389
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
1376
1390
  );
1377
- throw _.name = "Invariant Violation", _;
1391
+ throw O.name = "Invariant Violation", O;
1378
1392
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1379
1393
  var Ee = F + ":" + D;
1380
1394
  !k[Ee] && // Avoid spamming the console because they are often not actionable except for lib authors
@@ -1383,111 +1397,111 @@ function zo() {
1383
1397
  ), k[Ee] = !0, B++);
1384
1398
  }
1385
1399
  }
1386
- return j[D] == null ? z ? j[D] === null ? new l("The " + G + " `" + L + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new l("The " + G + " `" + L + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : C(j, D, F, G, L);
1400
+ return N[D] == null ? z ? N[D] === null ? new l("The " + G + " `" + L + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new l("The " + G + " `" + L + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : C(N, D, F, G, L);
1387
1401
  }
1388
1402
  var I = M.bind(null, !1);
1389
1403
  return I.isRequired = M.bind(null, !0), I;
1390
1404
  }
1391
1405
  function S(C) {
1392
- function k(B, M, I, z, j, D) {
1406
+ function k(B, M, I, z, N, D) {
1393
1407
  var F = B[M], G = pe(F);
1394
1408
  if (G !== C) {
1395
1409
  var L = be(F);
1396
1410
  return new l(
1397
- "Invalid " + z + " `" + j + "` of type " + ("`" + L + "` supplied to `" + I + "`, expected ") + ("`" + C + "`."),
1411
+ "Invalid " + z + " `" + N + "` of type " + ("`" + L + "` supplied to `" + I + "`, expected ") + ("`" + C + "`."),
1398
1412
  { expectedType: C }
1399
1413
  );
1400
1414
  }
1401
1415
  return null;
1402
1416
  }
1403
- return T(k);
1417
+ return w(k);
1404
1418
  }
1405
- function w() {
1406
- return T(c);
1419
+ function T() {
1420
+ return w(c);
1407
1421
  }
1408
- function A(C) {
1409
- function k(B, M, I, z, j) {
1422
+ function _(C) {
1423
+ function k(B, M, I, z, N) {
1410
1424
  if (typeof C != "function")
1411
- return new l("Property `" + j + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
1425
+ return new l("Property `" + N + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
1412
1426
  var D = B[M];
1413
1427
  if (!Array.isArray(D)) {
1414
1428
  var F = pe(D);
1415
- return new l("Invalid " + z + " `" + j + "` of type " + ("`" + F + "` supplied to `" + I + "`, expected an array."));
1429
+ return new l("Invalid " + z + " `" + N + "` of type " + ("`" + F + "` supplied to `" + I + "`, expected an array."));
1416
1430
  }
1417
1431
  for (var G = 0; G < D.length; G++) {
1418
- var L = C(D, G, I, z, j + "[" + G + "]", r);
1432
+ var L = C(D, G, I, z, N + "[" + G + "]", r);
1419
1433
  if (L instanceof Error)
1420
1434
  return L;
1421
1435
  }
1422
1436
  return null;
1423
1437
  }
1424
- return T(k);
1438
+ return w(k);
1425
1439
  }
1426
1440
  function $() {
1427
1441
  function C(k, B, M, I, z) {
1428
- var j = k[B];
1429
- if (!u(j)) {
1430
- var D = pe(j);
1442
+ var N = k[B];
1443
+ if (!u(N)) {
1444
+ var D = pe(N);
1431
1445
  return new l("Invalid " + I + " `" + z + "` of type " + ("`" + D + "` supplied to `" + M + "`, expected a single ReactElement."));
1432
1446
  }
1433
1447
  return null;
1434
1448
  }
1435
- return T(C);
1449
+ return w(C);
1436
1450
  }
1437
1451
  function E() {
1438
1452
  function C(k, B, M, I, z) {
1439
- var j = k[B];
1440
- if (!e.isValidElementType(j)) {
1441
- var D = pe(j);
1453
+ var N = k[B];
1454
+ if (!e.isValidElementType(N)) {
1455
+ var D = pe(N);
1442
1456
  return new l("Invalid " + I + " `" + z + "` of type " + ("`" + D + "` supplied to `" + M + "`, expected a single ReactElement type."));
1443
1457
  }
1444
1458
  return null;
1445
1459
  }
1446
- return T(C);
1460
+ return w(C);
1447
1461
  }
1448
1462
  function q(C) {
1449
- function k(B, M, I, z, j) {
1463
+ function k(B, M, I, z, N) {
1450
1464
  if (!(B[M] instanceof C)) {
1451
1465
  var D = C.name || h, F = ze(B[M]);
1452
- return new l("Invalid " + z + " `" + j + "` of type " + ("`" + F + "` supplied to `" + I + "`, expected ") + ("instance of `" + D + "`."));
1466
+ return new l("Invalid " + z + " `" + N + "` of type " + ("`" + F + "` supplied to `" + I + "`, expected ") + ("instance of `" + D + "`."));
1453
1467
  }
1454
1468
  return null;
1455
1469
  }
1456
- return T(k);
1470
+ return w(k);
1457
1471
  }
1458
1472
  function oe(C) {
1459
1473
  if (!Array.isArray(C))
1460
1474
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1461
1475
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1462
1476
  ) : i("Invalid argument supplied to oneOf, expected an array.")), c;
1463
- function k(B, M, I, z, j) {
1477
+ function k(B, M, I, z, N) {
1464
1478
  for (var D = B[M], F = 0; F < C.length; F++)
1465
1479
  if (b(D, C[F]))
1466
1480
  return null;
1467
- var G = JSON.stringify(C, function(me, _) {
1468
- var Ee = be(_);
1469
- return Ee === "symbol" ? String(_) : _;
1481
+ var G = JSON.stringify(C, function(me, O) {
1482
+ var Ee = be(O);
1483
+ return Ee === "symbol" ? String(O) : O;
1470
1484
  });
1471
- return new l("Invalid " + z + " `" + j + "` of value `" + String(D) + "` " + ("supplied to `" + I + "`, expected one of " + G + "."));
1485
+ return new l("Invalid " + z + " `" + N + "` of value `" + String(D) + "` " + ("supplied to `" + I + "`, expected one of " + G + "."));
1472
1486
  }
1473
- return T(k);
1487
+ return w(k);
1474
1488
  }
1475
1489
  function ee(C) {
1476
- function k(B, M, I, z, j) {
1490
+ function k(B, M, I, z, N) {
1477
1491
  if (typeof C != "function")
1478
- return new l("Property `" + j + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
1492
+ return new l("Property `" + N + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
1479
1493
  var D = B[M], F = pe(D);
1480
1494
  if (F !== "object")
1481
- return new l("Invalid " + z + " `" + j + "` of type " + ("`" + F + "` supplied to `" + I + "`, expected an object."));
1495
+ return new l("Invalid " + z + " `" + N + "` of type " + ("`" + F + "` supplied to `" + I + "`, expected an object."));
1482
1496
  for (var G in D)
1483
1497
  if (n(D, G)) {
1484
- var L = C(D, G, I, z, j + "." + G, r);
1498
+ var L = C(D, G, I, z, N + "." + G, r);
1485
1499
  if (L instanceof Error)
1486
1500
  return L;
1487
1501
  }
1488
1502
  return null;
1489
1503
  }
1490
- return T(k);
1504
+ return w(k);
1491
1505
  }
1492
1506
  function W(C) {
1493
1507
  if (!Array.isArray(C))
@@ -1499,68 +1513,68 @@ function zo() {
1499
1513
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Me(B) + " at index " + k + "."
1500
1514
  ), c;
1501
1515
  }
1502
- function M(I, z, j, D, F) {
1516
+ function M(I, z, N, D, F) {
1503
1517
  for (var G = [], L = 0; L < C.length; L++) {
1504
- var me = C[L], _ = me(I, z, j, D, F, r);
1505
- if (_ == null)
1518
+ var me = C[L], O = me(I, z, N, D, F, r);
1519
+ if (O == null)
1506
1520
  return null;
1507
- _.data && n(_.data, "expectedType") && G.push(_.data.expectedType);
1521
+ O.data && n(O.data, "expectedType") && G.push(O.data.expectedType);
1508
1522
  }
1509
1523
  var Ee = G.length > 0 ? ", expected one of type [" + G.join(", ") + "]" : "";
1510
- return new l("Invalid " + D + " `" + F + "` supplied to " + ("`" + j + "`" + Ee + "."));
1524
+ return new l("Invalid " + D + " `" + F + "` supplied to " + ("`" + N + "`" + Ee + "."));
1511
1525
  }
1512
- return T(M);
1526
+ return w(M);
1513
1527
  }
1514
1528
  function a() {
1515
1529
  function C(k, B, M, I, z) {
1516
1530
  return le(k[B]) ? null : new l("Invalid " + I + " `" + z + "` supplied to " + ("`" + M + "`, expected a ReactNode."));
1517
1531
  }
1518
- return T(C);
1532
+ return w(C);
1519
1533
  }
1520
- function O(C, k, B, M, I) {
1534
+ function R(C, k, B, M, I) {
1521
1535
  return new l(
1522
1536
  (C || "React class") + ": " + k + " type `" + B + "." + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
1523
1537
  );
1524
1538
  }
1525
1539
  function U(C) {
1526
- function k(B, M, I, z, j) {
1540
+ function k(B, M, I, z, N) {
1527
1541
  var D = B[M], F = pe(D);
1528
1542
  if (F !== "object")
1529
- return new l("Invalid " + z + " `" + j + "` of type `" + F + "` " + ("supplied to `" + I + "`, expected `object`."));
1543
+ return new l("Invalid " + z + " `" + N + "` of type `" + F + "` " + ("supplied to `" + I + "`, expected `object`."));
1530
1544
  for (var G in C) {
1531
1545
  var L = C[G];
1532
1546
  if (typeof L != "function")
1533
- return O(I, z, j, G, be(L));
1534
- var me = L(D, G, I, z, j + "." + G, r);
1547
+ return R(I, z, N, G, be(L));
1548
+ var me = L(D, G, I, z, N + "." + G, r);
1535
1549
  if (me)
1536
1550
  return me;
1537
1551
  }
1538
1552
  return null;
1539
1553
  }
1540
- return T(k);
1554
+ return w(k);
1541
1555
  }
1542
- function N(C) {
1543
- function k(B, M, I, z, j) {
1556
+ function j(C) {
1557
+ function k(B, M, I, z, N) {
1544
1558
  var D = B[M], F = pe(D);
1545
1559
  if (F !== "object")
1546
- return new l("Invalid " + z + " `" + j + "` of type `" + F + "` " + ("supplied to `" + I + "`, expected `object`."));
1560
+ return new l("Invalid " + z + " `" + N + "` of type `" + F + "` " + ("supplied to `" + I + "`, expected `object`."));
1547
1561
  var G = t({}, B[M], C);
1548
1562
  for (var L in G) {
1549
1563
  var me = C[L];
1550
1564
  if (n(C, L) && typeof me != "function")
1551
- return O(I, z, j, L, be(me));
1565
+ return R(I, z, N, L, be(me));
1552
1566
  if (!me)
1553
1567
  return new l(
1554
- "Invalid " + z + " `" + j + "` key `" + L + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(B[M], null, " ") + `
1568
+ "Invalid " + z + " `" + N + "` key `" + L + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(B[M], null, " ") + `
1555
1569
  Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
1556
1570
  );
1557
- var _ = me(D, L, I, z, j + "." + L, r);
1558
- if (_)
1559
- return _;
1571
+ var O = me(D, L, I, z, N + "." + L, r);
1572
+ if (O)
1573
+ return O;
1560
1574
  }
1561
1575
  return null;
1562
1576
  }
1563
- return T(k);
1577
+ return w(k);
1564
1578
  }
1565
1579
  function le(C) {
1566
1580
  switch (typeof C) {
@@ -1575,7 +1589,7 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
1575
1589
  return C.every(le);
1576
1590
  if (C === null || u(C))
1577
1591
  return !0;
1578
- var k = p(C);
1592
+ var k = d(C);
1579
1593
  if (k) {
1580
1594
  var B = k.call(C), M;
1581
1595
  if (k !== C.entries) {
@@ -1635,7 +1649,7 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
1635
1649
  }, Ht;
1636
1650
  }
1637
1651
  var Jt, Ur;
1638
- function Yo() {
1652
+ function Go() {
1639
1653
  if (Ur) return Jt;
1640
1654
  Ur = 1;
1641
1655
  var e = /* @__PURE__ */ ar();
@@ -1644,8 +1658,8 @@ function Yo() {
1644
1658
  function r() {
1645
1659
  }
1646
1660
  return r.resetWarningCache = t, Jt = function() {
1647
- function n(c, u, f, d, m, p) {
1648
- if (p !== e) {
1661
+ function n(c, u, f, p, m, d) {
1662
+ if (d !== e) {
1649
1663
  var h = new Error(
1650
1664
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
1651
1665
  );
@@ -1683,18 +1697,18 @@ function Yo() {
1683
1697
  }, Jt;
1684
1698
  }
1685
1699
  var Gr;
1686
- function Uo() {
1700
+ function qo() {
1687
1701
  if (Gr) return bt.exports;
1688
1702
  if (Gr = 1, process.env.NODE_ENV !== "production") {
1689
1703
  var e = Sn(), t = !0;
1690
- bt.exports = /* @__PURE__ */ zo()(e.isElement, t);
1704
+ bt.exports = /* @__PURE__ */ Uo()(e.isElement, t);
1691
1705
  } else
1692
- bt.exports = /* @__PURE__ */ Yo()();
1706
+ bt.exports = /* @__PURE__ */ Go()();
1693
1707
  return bt.exports;
1694
1708
  }
1695
- var Go = /* @__PURE__ */ Uo();
1696
- const K = /* @__PURE__ */ _o(Go);
1697
- function je(e, ...t) {
1709
+ var Ko = /* @__PURE__ */ qo();
1710
+ const K = /* @__PURE__ */ Oo(Ko);
1711
+ function Ne(e, ...t) {
1698
1712
  const r = new URL(`https://mui.com/production-error/?code=${e}`);
1699
1713
  return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
1700
1714
  }
@@ -1705,7 +1719,7 @@ function qr(e, t, r) {
1705
1719
  const n = Cn(t);
1706
1720
  return e.displayName || (n !== "" ? `${r}(${n})` : r);
1707
1721
  }
1708
- function qo(e) {
1722
+ function Ho(e) {
1709
1723
  if (e != null) {
1710
1724
  if (typeof e == "string")
1711
1725
  return e;
@@ -1724,7 +1738,7 @@ function qo(e) {
1724
1738
  }
1725
1739
  function We(e) {
1726
1740
  if (typeof e != "string")
1727
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : je(7));
1741
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Ne(7));
1728
1742
  return e.charAt(0).toUpperCase() + e.slice(1);
1729
1743
  }
1730
1744
  function tr(e, t) {
@@ -1759,20 +1773,20 @@ function tr(e, t) {
1759
1773
  }
1760
1774
  return r;
1761
1775
  }
1762
- function Ko(e, t, r = void 0) {
1776
+ function Jo(e, t, r = void 0) {
1763
1777
  const n = {};
1764
1778
  for (const o in e) {
1765
1779
  const i = e[o];
1766
1780
  let c = "", u = !0;
1767
1781
  for (let f = 0; f < i.length; f += 1) {
1768
- const d = i[f];
1769
- d && (c += (u === !0 ? "" : " ") + t(d), u = !1, r && r[d] && (c += " " + r[d]));
1782
+ const p = i[f];
1783
+ p && (c += (u === !0 ? "" : " ") + t(p), u = !1, r && r[p] && (c += " " + r[p]));
1770
1784
  }
1771
1785
  n[o] = c;
1772
1786
  }
1773
1787
  return n;
1774
1788
  }
1775
- const Kr = (e) => e, Ho = () => {
1789
+ const Kr = (e) => e, Xo = () => {
1776
1790
  let e = Kr;
1777
1791
  return {
1778
1792
  configure(t) {
@@ -1785,7 +1799,7 @@ const Kr = (e) => e, Ho = () => {
1785
1799
  e = Kr;
1786
1800
  }
1787
1801
  };
1788
- }, Jo = Ho(), Xo = {
1802
+ }, Qo = Xo(), Zo = {
1789
1803
  active: "active",
1790
1804
  checked: "checked",
1791
1805
  completed: "completed",
@@ -1800,16 +1814,16 @@ const Kr = (e) => e, Ho = () => {
1800
1814
  selected: "selected"
1801
1815
  };
1802
1816
  function sr(e, t, r = "Mui") {
1803
- const n = Xo[t];
1804
- return n ? `${r}-${n}` : `${Jo.generate(e)}-${t}`;
1817
+ const n = Zo[t];
1818
+ return n ? `${r}-${n}` : `${Qo.generate(e)}-${t}`;
1805
1819
  }
1806
- function Qo(e, t, r = "Mui") {
1820
+ function ei(e, t, r = "Mui") {
1807
1821
  const n = {};
1808
1822
  return t.forEach((o) => {
1809
1823
  n[o] = sr(e, o, r);
1810
1824
  }), n;
1811
1825
  }
1812
- function Zo(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
1826
+ function ti(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
1813
1827
  return Math.max(t, Math.min(e, r));
1814
1828
  }
1815
1829
  function xn(e) {
@@ -1821,7 +1835,7 @@ function xn(e) {
1821
1835
  } else for (r in e) e[r] && (n && (n += " "), n += r);
1822
1836
  return n;
1823
1837
  }
1824
- function ei() {
1838
+ function ri() {
1825
1839
  for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = xn(e)) && (n && (n += " "), n += t);
1826
1840
  return n;
1827
1841
  }
@@ -1846,21 +1860,21 @@ function Hr(e, t) {
1846
1860
  ...t
1847
1861
  }) : t;
1848
1862
  }
1849
- function ti(e, t) {
1863
+ function ni(e, t) {
1850
1864
  return t === "@" || t.startsWith("@") && (e.some((r) => t.startsWith(`@${r}`)) || !!t.match(/^@\d/));
1851
1865
  }
1852
- function ri(e, t) {
1866
+ function oi(e, t) {
1853
1867
  const r = t.match(/^@([^/]+)?\/?(.+)?$/);
1854
1868
  if (!r) {
1855
1869
  if (process.env.NODE_ENV !== "production")
1856
1870
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
1857
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : je(18, `(${t})`));
1871
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : Ne(18, `(${t})`));
1858
1872
  return null;
1859
1873
  }
1860
1874
  const [, n, o] = r, i = Number.isNaN(+n) ? n || 0 : +n;
1861
1875
  return e.containerQueries(o).up(i);
1862
1876
  }
1863
- function ni(e) {
1877
+ function ii(e) {
1864
1878
  const t = (i, c) => i.replace("@media", c ? `@container ${c}` : "@container");
1865
1879
  function r(i, c) {
1866
1880
  i.up = (...u) => t(e.breakpoints.up(...u), c), i.down = (...u) => t(e.breakpoints.down(...u), c), i.between = (...u) => t(e.breakpoints.between(...u), c), i.only = (...u) => t(e.breakpoints.only(...u), c), i.not = (...u) => {
@@ -1890,7 +1904,7 @@ const At = {
1890
1904
  // It can't be configured as it's used statically for propTypes.
1891
1905
  keys: ["xs", "sm", "md", "lg", "xl"],
1892
1906
  up: (e) => `@media (min-width:${At[e]}px)`
1893
- }, oi = {
1907
+ }, ai = {
1894
1908
  containerQueries: (e) => ({
1895
1909
  up: (t) => {
1896
1910
  let r = typeof t == "number" ? t : At[t] || t;
@@ -1907,8 +1921,8 @@ function ke(e, t, r) {
1907
1921
  if (typeof t == "object") {
1908
1922
  const i = n.breakpoints || Jr;
1909
1923
  return Object.keys(t).reduce((c, u) => {
1910
- if (ti(i.keys, u)) {
1911
- const f = ri(n.containerQueries ? n : oi, u);
1924
+ if (ni(i.keys, u)) {
1925
+ const f = oi(n.containerQueries ? n : ai, u);
1912
1926
  f && (c[f] = r(t[u], u));
1913
1927
  } else if (Object.keys(i.values || At).includes(u)) {
1914
1928
  const f = i.up(u);
@@ -1922,7 +1936,7 @@ function ke(e, t, r) {
1922
1936
  }
1923
1937
  return r(t);
1924
1938
  }
1925
- function ii(e = {}) {
1939
+ function si(e = {}) {
1926
1940
  return e.keys?.reduce((r, n) => {
1927
1941
  const o = e.up(n);
1928
1942
  return r[o] = {}, r;
@@ -1957,10 +1971,10 @@ function fe(e) {
1957
1971
  } = e, i = (c) => {
1958
1972
  if (c[t] == null)
1959
1973
  return null;
1960
- const u = c[t], f = c.theme, d = kt(f, n) || {};
1961
- return ke(c, u, (p) => {
1962
- let h = _t(d, o, p);
1963
- return p === h && typeof p == "string" && (h = _t(d, o, `${t}${p === "default" ? "" : We(p)}`, p)), r === !1 ? h : {
1974
+ const u = c[t], f = c.theme, p = kt(f, n) || {};
1975
+ return ke(c, u, (d) => {
1976
+ let h = _t(p, o, d);
1977
+ return d === h && typeof d == "string" && (h = _t(p, o, `${t}${d === "default" ? "" : We(d)}`, d)), r === !1 ? h : {
1964
1978
  [r]: h
1965
1979
  };
1966
1980
  });
@@ -1969,14 +1983,14 @@ function fe(e) {
1969
1983
  [t]: De
1970
1984
  } : {}, i.filterProps = [t], i;
1971
1985
  }
1972
- function ai(e) {
1986
+ function ci(e) {
1973
1987
  const t = {};
1974
1988
  return (r) => (t[r] === void 0 && (t[r] = e(r)), t[r]);
1975
1989
  }
1976
- const si = {
1990
+ const li = {
1977
1991
  m: "margin",
1978
1992
  p: "padding"
1979
- }, ci = {
1993
+ }, ui = {
1980
1994
  t: "Top",
1981
1995
  r: "Right",
1982
1996
  b: "Bottom",
@@ -1988,15 +2002,15 @@ const si = {
1988
2002
  marginY: "my",
1989
2003
  paddingX: "px",
1990
2004
  paddingY: "py"
1991
- }, li = ai((e) => {
2005
+ }, fi = ci((e) => {
1992
2006
  if (e.length > 2)
1993
2007
  if (Qr[e])
1994
2008
  e = Qr[e];
1995
2009
  else
1996
2010
  return [e];
1997
- const [t, r] = e.split(""), n = si[t], o = ci[r] || "";
2011
+ const [t, r] = e.split(""), n = li[t], o = ui[r] || "";
1998
2012
  return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
1999
- }), $t = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Pt = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], ui = [...$t, ...Pt];
2013
+ }), $t = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Pt = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], di = [...$t, ...Pt];
2000
2014
  function ut(e, t, r, n) {
2001
2015
  const o = kt(e, t, !0) ?? r;
2002
2016
  return typeof o == "number" || typeof o == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`), typeof o == "string" ? `calc(${i} * ${o})` : o * i) : Array.isArray(o) ? (i) => {
@@ -2018,18 +2032,18 @@ function cr(e) {
2018
2032
  function ft(e, t) {
2019
2033
  return typeof t == "string" || t == null ? t : e(t);
2020
2034
  }
2021
- function fi(e, t) {
2035
+ function pi(e, t) {
2022
2036
  return (r) => e.reduce((n, o) => (n[o] = ft(t, r), n), {});
2023
2037
  }
2024
- function di(e, t, r, n) {
2038
+ function mi(e, t, r, n) {
2025
2039
  if (!t.includes(r))
2026
2040
  return null;
2027
- const o = li(r), i = fi(o, n), c = e[r];
2041
+ const o = fi(r), i = pi(o, n), c = e[r];
2028
2042
  return ke(e, c, i);
2029
2043
  }
2030
2044
  function Tn(e, t) {
2031
2045
  const r = cr(e.theme);
2032
- return Object.keys(e).map((n) => di(e, t, n, r)).reduce(st, {});
2046
+ return Object.keys(e).map((n) => mi(e, t, n, r)).reduce(st, {});
2033
2047
  }
2034
2048
  function se(e) {
2035
2049
  return Tn(e, $t);
@@ -2041,7 +2055,7 @@ function ce(e) {
2041
2055
  }
2042
2056
  ce.propTypes = process.env.NODE_ENV !== "production" ? Pt.reduce((e, t) => (e[t] = De, e), {}) : {};
2043
2057
  ce.filterProps = Pt;
2044
- process.env.NODE_ENV !== "production" && ui.reduce((e, t) => (e[t] = De, e), {});
2058
+ process.env.NODE_ENV !== "production" && di.reduce((e, t) => (e[t] = De, e), {});
2045
2059
  function It(...e) {
2046
2060
  const t = e.reduce((n, o) => (o.filterProps.forEach((i) => {
2047
2061
  n[i] = o;
@@ -2058,7 +2072,7 @@ function we(e, t) {
2058
2072
  transform: t
2059
2073
  });
2060
2074
  }
2061
- const pi = we("border", xe), mi = we("borderTop", xe), hi = we("borderRight", xe), gi = we("borderBottom", xe), yi = we("borderLeft", xe), bi = we("borderColor"), vi = we("borderTopColor"), Si = we("borderRightColor"), Ei = we("borderBottomColor"), Ci = we("borderLeftColor"), xi = we("outline", xe), Ti = we("outlineColor"), jt = (e) => {
2075
+ const hi = we("border", xe), gi = we("borderTop", xe), yi = we("borderRight", xe), bi = we("borderBottom", xe), vi = we("borderLeft", xe), Si = we("borderColor"), Ei = we("borderTopColor"), Ci = we("borderRightColor"), xi = we("borderBottomColor"), Ti = we("borderLeftColor"), wi = we("outline", xe), _i = we("outlineColor"), Nt = (e) => {
2062
2076
  if (e.borderRadius !== void 0 && e.borderRadius !== null) {
2063
2077
  const t = ut(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
2064
2078
  borderRadius: ft(t, n)
@@ -2067,12 +2081,12 @@ const pi = we("border", xe), mi = we("borderTop", xe), hi = we("borderRight", xe
2067
2081
  }
2068
2082
  return null;
2069
2083
  };
2070
- jt.propTypes = process.env.NODE_ENV !== "production" ? {
2084
+ Nt.propTypes = process.env.NODE_ENV !== "production" ? {
2071
2085
  borderRadius: De
2072
2086
  } : {};
2073
- jt.filterProps = ["borderRadius"];
2074
- It(pi, mi, hi, gi, yi, bi, vi, Si, Ei, Ci, jt, xi, Ti);
2075
- const Nt = (e) => {
2087
+ Nt.filterProps = ["borderRadius"];
2088
+ It(hi, gi, yi, bi, vi, Si, Ei, Ci, xi, Ti, Nt, wi, _i);
2089
+ const jt = (e) => {
2076
2090
  if (e.gap !== void 0 && e.gap !== null) {
2077
2091
  const t = ut(e.theme, "spacing", 8, "gap"), r = (n) => ({
2078
2092
  gap: ft(t, n)
@@ -2081,10 +2095,10 @@ const Nt = (e) => {
2081
2095
  }
2082
2096
  return null;
2083
2097
  };
2084
- Nt.propTypes = process.env.NODE_ENV !== "production" ? {
2098
+ jt.propTypes = process.env.NODE_ENV !== "production" ? {
2085
2099
  gap: De
2086
2100
  } : {};
2087
- Nt.filterProps = ["gap"];
2101
+ jt.filterProps = ["gap"];
2088
2102
  const Dt = (e) => {
2089
2103
  if (e.columnGap !== void 0 && e.columnGap !== null) {
2090
2104
  const t = ut(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
@@ -2111,48 +2125,48 @@ Mt.propTypes = process.env.NODE_ENV !== "production" ? {
2111
2125
  rowGap: De
2112
2126
  } : {};
2113
2127
  Mt.filterProps = ["rowGap"];
2114
- const wi = fe({
2128
+ const Oi = fe({
2115
2129
  prop: "gridColumn"
2116
- }), _i = fe({
2130
+ }), Ri = fe({
2117
2131
  prop: "gridRow"
2118
- }), Oi = fe({
2132
+ }), Ai = fe({
2119
2133
  prop: "gridAutoFlow"
2120
- }), Ri = fe({
2134
+ }), ki = fe({
2121
2135
  prop: "gridAutoColumns"
2122
- }), Ai = fe({
2136
+ }), $i = fe({
2123
2137
  prop: "gridAutoRows"
2124
- }), ki = fe({
2138
+ }), Pi = fe({
2125
2139
  prop: "gridTemplateColumns"
2126
- }), $i = fe({
2140
+ }), Ii = fe({
2127
2141
  prop: "gridTemplateRows"
2128
- }), Pi = fe({
2142
+ }), Ni = fe({
2129
2143
  prop: "gridTemplateAreas"
2130
- }), Ii = fe({
2144
+ }), ji = fe({
2131
2145
  prop: "gridArea"
2132
2146
  });
2133
- It(Nt, Dt, Mt, wi, _i, Oi, Ri, Ai, ki, $i, Pi, Ii);
2147
+ It(jt, Dt, Mt, Oi, Ri, Ai, ki, $i, Pi, Ii, Ni, ji);
2134
2148
  function Qe(e, t) {
2135
2149
  return t === "grey" ? t : e;
2136
2150
  }
2137
- const ji = fe({
2151
+ const Di = fe({
2138
2152
  prop: "color",
2139
2153
  themeKey: "palette",
2140
2154
  transform: Qe
2141
- }), Ni = fe({
2155
+ }), Mi = fe({
2142
2156
  prop: "bgcolor",
2143
2157
  cssProperty: "backgroundColor",
2144
2158
  themeKey: "palette",
2145
2159
  transform: Qe
2146
- }), Di = fe({
2160
+ }), Bi = fe({
2147
2161
  prop: "backgroundColor",
2148
2162
  themeKey: "palette",
2149
2163
  transform: Qe
2150
2164
  });
2151
- It(ji, Ni, Di);
2165
+ It(Di, Mi, Bi);
2152
2166
  function ve(e) {
2153
2167
  return e <= 1 && e !== 0 ? `${e * 100}%` : e;
2154
2168
  }
2155
- const Mi = fe({
2169
+ const Fi = fe({
2156
2170
  prop: "width",
2157
2171
  transform: ve
2158
2172
  }), lr = (e) => {
@@ -2172,16 +2186,16 @@ const Mi = fe({
2172
2186
  return null;
2173
2187
  };
2174
2188
  lr.filterProps = ["maxWidth"];
2175
- const Bi = fe({
2189
+ const Li = fe({
2176
2190
  prop: "minWidth",
2177
2191
  transform: ve
2178
- }), Fi = fe({
2192
+ }), Vi = fe({
2179
2193
  prop: "height",
2180
2194
  transform: ve
2181
- }), Li = fe({
2195
+ }), Wi = fe({
2182
2196
  prop: "maxHeight",
2183
2197
  transform: ve
2184
- }), Vi = fe({
2198
+ }), zi = fe({
2185
2199
  prop: "minHeight",
2186
2200
  transform: ve
2187
2201
  });
@@ -2195,10 +2209,10 @@ fe({
2195
2209
  cssProperty: "height",
2196
2210
  transform: ve
2197
2211
  });
2198
- const Wi = fe({
2212
+ const Yi = fe({
2199
2213
  prop: "boxSizing"
2200
2214
  });
2201
- It(Mi, lr, Bi, Fi, Li, Vi, Wi);
2215
+ It(Fi, lr, Li, Vi, Wi, zi, Yi);
2202
2216
  const Bt = {
2203
2217
  // borders
2204
2218
  border: {
@@ -2245,7 +2259,7 @@ const Bt = {
2245
2259
  },
2246
2260
  borderRadius: {
2247
2261
  themeKey: "shape.borderRadius",
2248
- style: jt
2262
+ style: Nt
2249
2263
  },
2250
2264
  // palette
2251
2265
  color: {
@@ -2412,7 +2426,7 @@ const Bt = {
2412
2426
  justifySelf: {},
2413
2427
  // grid
2414
2428
  gap: {
2415
- style: Nt
2429
+ style: jt
2416
2430
  },
2417
2431
  rowGap: {
2418
2432
  style: Mt
@@ -2487,14 +2501,14 @@ const Bt = {
2487
2501
  themeKey: "typography"
2488
2502
  }
2489
2503
  };
2490
- function zi(...e) {
2504
+ function Ui(...e) {
2491
2505
  const t = e.reduce((n, o) => n.concat(Object.keys(o)), []), r = new Set(t);
2492
2506
  return e.every((n) => r.size === Object.keys(n).length);
2493
2507
  }
2494
- function Yi(e, t) {
2508
+ function Gi(e, t) {
2495
2509
  return typeof e == "function" ? e(t) : e;
2496
2510
  }
2497
- function Ui() {
2511
+ function qi() {
2498
2512
  function e(r, n, o, i) {
2499
2513
  const c = {
2500
2514
  [r]: n,
@@ -2506,18 +2520,18 @@ function Ui() {
2506
2520
  };
2507
2521
  const {
2508
2522
  cssProperty: f = r,
2509
- themeKey: d,
2523
+ themeKey: p,
2510
2524
  transform: m,
2511
- style: p
2525
+ style: d
2512
2526
  } = u;
2513
2527
  if (n == null)
2514
2528
  return null;
2515
- if (d === "typography" && n === "inherit")
2529
+ if (p === "typography" && n === "inherit")
2516
2530
  return {
2517
2531
  [r]: n
2518
2532
  };
2519
- const h = kt(o, d) || {};
2520
- return p ? p(c) : ke(c, n, (b) => {
2533
+ const h = kt(o, p) || {};
2534
+ return d ? d(c) : ke(c, n, (b) => {
2521
2535
  let l = _t(h, m, b);
2522
2536
  return b === l && typeof b == "string" && (l = _t(h, m, `${r}${b === "default" ? "" : We(b)}`, b)), f === !1 ? l : {
2523
2537
  [f]: l
@@ -2534,17 +2548,17 @@ function Ui() {
2534
2548
  return null;
2535
2549
  const c = o.unstable_sxConfig ?? Bt;
2536
2550
  function u(f) {
2537
- let d = f;
2551
+ let p = f;
2538
2552
  if (typeof f == "function")
2539
- d = f(o);
2553
+ p = f(o);
2540
2554
  else if (typeof f != "object")
2541
2555
  return f;
2542
- if (!d)
2556
+ if (!p)
2543
2557
  return null;
2544
- const m = ii(o.breakpoints), p = Object.keys(m);
2558
+ const m = si(o.breakpoints), d = Object.keys(m);
2545
2559
  let h = m;
2546
- return Object.keys(d).forEach((y) => {
2547
- const b = Yi(d[y], o);
2560
+ return Object.keys(p).forEach((y) => {
2561
+ const b = Gi(p[y], o);
2548
2562
  if (b != null)
2549
2563
  if (typeof b == "object")
2550
2564
  if (c[y])
@@ -2552,10 +2566,10 @@ function Ui() {
2552
2566
  else {
2553
2567
  const l = ke({
2554
2568
  theme: o
2555
- }, b, (T) => ({
2556
- [y]: T
2569
+ }, b, (w) => ({
2570
+ [y]: w
2557
2571
  }));
2558
- zi(l, b) ? h[y] = t({
2572
+ Ui(l, b) ? h[y] = t({
2559
2573
  sx: b,
2560
2574
  theme: o,
2561
2575
  nested: !0
@@ -2564,16 +2578,16 @@ function Ui() {
2564
2578
  else
2565
2579
  h = st(h, e(y, b, o, c));
2566
2580
  }), !i && o.modularCssLayers ? {
2567
- "@layer sx": Hr(o, Xr(p, h))
2568
- } : Hr(o, Xr(p, h));
2581
+ "@layer sx": Hr(o, Xr(d, h))
2582
+ } : Hr(o, Xr(d, h));
2569
2583
  }
2570
2584
  return Array.isArray(n) ? n.map(u) : u(n);
2571
2585
  }
2572
2586
  return t;
2573
2587
  }
2574
- const et = Ui();
2588
+ const et = qi();
2575
2589
  et.filterProps = ["sx"];
2576
- function Gi(e) {
2590
+ function Ki(e) {
2577
2591
  for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
2578
2592
  r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
2579
2593
  (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
@@ -2592,7 +2606,7 @@ function Gi(e) {
2592
2606
  return t ^= t >>> 13, t = /* Math.imul(h, m): */
2593
2607
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
2594
2608
  }
2595
- var qi = {
2609
+ var Hi = {
2596
2610
  animationIterationCount: 1,
2597
2611
  aspectRatio: 1,
2598
2612
  borderImageOutset: 1,
@@ -2642,24 +2656,24 @@ var qi = {
2642
2656
  strokeOpacity: 1,
2643
2657
  strokeWidth: 1
2644
2658
  };
2645
- function Ki(e) {
2659
+ function Ji(e) {
2646
2660
  var t = /* @__PURE__ */ Object.create(null);
2647
2661
  return function(r) {
2648
2662
  return t[r] === void 0 && (t[r] = e(r)), t[r];
2649
2663
  };
2650
2664
  }
2651
- var Hi = /[A-Z]|^ms/g, Ji = /_EMO_([^_]+?)_([^]*?)_EMO_/g, wn = function(t) {
2665
+ var Xi = /[A-Z]|^ms/g, Qi = /_EMO_([^_]+?)_([^]*?)_EMO_/g, wn = function(t) {
2652
2666
  return t.charCodeAt(1) === 45;
2653
2667
  }, Zr = function(t) {
2654
2668
  return t != null && typeof t != "boolean";
2655
- }, Xt = /* @__PURE__ */ Ki(function(e) {
2656
- return wn(e) ? e : e.replace(Hi, "-$&").toLowerCase();
2669
+ }, Xt = /* @__PURE__ */ Ji(function(e) {
2670
+ return wn(e) ? e : e.replace(Xi, "-$&").toLowerCase();
2657
2671
  }), en = function(t, r) {
2658
2672
  switch (t) {
2659
2673
  case "animation":
2660
2674
  case "animationName":
2661
2675
  if (typeof r == "string")
2662
- return r.replace(Ji, function(n, o, i) {
2676
+ return r.replace(Qi, function(n, o, i) {
2663
2677
  return Pe = {
2664
2678
  name: o,
2665
2679
  styles: i,
@@ -2667,7 +2681,7 @@ var Hi = /[A-Z]|^ms/g, Ji = /_EMO_([^_]+?)_([^]*?)_EMO_/g, wn = function(t) {
2667
2681
  }, o;
2668
2682
  });
2669
2683
  }
2670
- return qi[t] !== 1 && !wn(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
2684
+ return Hi[t] !== 1 && !wn(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
2671
2685
  };
2672
2686
  function Ot(e, t, r) {
2673
2687
  if (r == null)
@@ -2699,13 +2713,13 @@ function Ot(e, t, r) {
2699
2713
  var u = i.styles + ";";
2700
2714
  return u;
2701
2715
  }
2702
- return Xi(e, t, r);
2716
+ return Zi(e, t, r);
2703
2717
  }
2704
2718
  }
2705
2719
  var f = r;
2706
2720
  return f;
2707
2721
  }
2708
- function Xi(e, t, r) {
2722
+ function Zi(e, t, r) {
2709
2723
  var n = "";
2710
2724
  if (Array.isArray(r))
2711
2725
  for (var o = 0; o < r.length; o++)
@@ -2720,22 +2734,22 @@ function Xi(e, t, r) {
2720
2734
  for (var f = 0; f < c.length; f++)
2721
2735
  Zr(c[f]) && (n += Xt(i) + ":" + en(i, c[f]) + ";");
2722
2736
  else {
2723
- var d = Ot(e, t, c);
2737
+ var p = Ot(e, t, c);
2724
2738
  switch (i) {
2725
2739
  case "animation":
2726
2740
  case "animationName": {
2727
- n += Xt(i) + ":" + d + ";";
2741
+ n += Xt(i) + ":" + p + ";";
2728
2742
  break;
2729
2743
  }
2730
2744
  default:
2731
- n += i + "{" + d + "}";
2745
+ n += i + "{" + p + "}";
2732
2746
  }
2733
2747
  }
2734
2748
  }
2735
2749
  return n;
2736
2750
  }
2737
2751
  var tn = /label:\s*([^\s;{]+)\s*(;|$)/g, Pe;
2738
- function Qi(e, t, r) {
2752
+ function ea(e, t, r) {
2739
2753
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
2740
2754
  return e[0];
2741
2755
  var n = !0, o = "";
@@ -2753,31 +2767,31 @@ function Qi(e, t, r) {
2753
2767
  o += f[u];
2754
2768
  }
2755
2769
  tn.lastIndex = 0;
2756
- for (var d = "", m; (m = tn.exec(o)) !== null; )
2757
- d += "-" + m[1];
2758
- var p = Gi(o) + d;
2770
+ for (var p = "", m; (m = tn.exec(o)) !== null; )
2771
+ p += "-" + m[1];
2772
+ var d = Ki(o) + p;
2759
2773
  return {
2760
- name: p,
2774
+ name: d,
2761
2775
  styles: o,
2762
2776
  next: Pe
2763
2777
  };
2764
2778
  }
2765
- function Zi(e, t) {
2766
- const r = wo(e, t);
2779
+ function ta(e, t) {
2780
+ const r = _o(e, t);
2767
2781
  return process.env.NODE_ENV !== "production" ? (...n) => {
2768
2782
  const o = typeof e == "string" ? `"${e}"` : "component";
2769
2783
  return n.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
2770
2784
  `)) : n.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...n);
2771
2785
  } : r;
2772
2786
  }
2773
- function ea(e, t) {
2787
+ function ra(e, t) {
2774
2788
  Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
2775
2789
  }
2776
2790
  const rn = [];
2777
2791
  function Ve(e) {
2778
- return rn[0] = e, Qi(rn);
2792
+ return rn[0] = e, ea(rn);
2779
2793
  }
2780
- const ta = (e) => {
2794
+ const na = (e) => {
2781
2795
  const t = Object.keys(e).map((r) => ({
2782
2796
  key: r,
2783
2797
  val: e[r]
@@ -2787,7 +2801,7 @@ const ta = (e) => {
2787
2801
  [n.key]: n.val
2788
2802
  }), {});
2789
2803
  };
2790
- function ra(e) {
2804
+ function oa(e) {
2791
2805
  const {
2792
2806
  // The breakpoint **start** at this value.
2793
2807
  // For instance with the first breakpoint xs: [xs, sm).
@@ -2806,37 +2820,37 @@ function ra(e) {
2806
2820
  unit: r = "px",
2807
2821
  step: n = 5,
2808
2822
  ...o
2809
- } = e, i = ta(t), c = Object.keys(i);
2823
+ } = e, i = na(t), c = Object.keys(i);
2810
2824
  function u(h) {
2811
2825
  return `@media (min-width:${typeof t[h] == "number" ? t[h] : h}${r})`;
2812
2826
  }
2813
2827
  function f(h) {
2814
2828
  return `@media (max-width:${(typeof t[h] == "number" ? t[h] : h) - n / 100}${r})`;
2815
2829
  }
2816
- function d(h, y) {
2830
+ function p(h, y) {
2817
2831
  const b = c.indexOf(y);
2818
2832
  return `@media (min-width:${typeof t[h] == "number" ? t[h] : h}${r}) and (max-width:${(b !== -1 && typeof t[c[b]] == "number" ? t[c[b]] : y) - n / 100}${r})`;
2819
2833
  }
2820
2834
  function m(h) {
2821
- return c.indexOf(h) + 1 < c.length ? d(h, c[c.indexOf(h) + 1]) : u(h);
2835
+ return c.indexOf(h) + 1 < c.length ? p(h, c[c.indexOf(h) + 1]) : u(h);
2822
2836
  }
2823
- function p(h) {
2837
+ function d(h) {
2824
2838
  const y = c.indexOf(h);
2825
- return y === 0 ? u(c[1]) : y === c.length - 1 ? f(c[y]) : d(h, c[c.indexOf(h) + 1]).replace("@media", "@media not all and");
2839
+ return y === 0 ? u(c[1]) : y === c.length - 1 ? f(c[y]) : p(h, c[c.indexOf(h) + 1]).replace("@media", "@media not all and");
2826
2840
  }
2827
2841
  return {
2828
2842
  keys: c,
2829
2843
  values: i,
2830
2844
  up: u,
2831
2845
  down: f,
2832
- between: d,
2846
+ between: p,
2833
2847
  only: m,
2834
- not: p,
2848
+ not: d,
2835
2849
  unit: r,
2836
2850
  ...o
2837
2851
  };
2838
2852
  }
2839
- const na = {
2853
+ const ia = {
2840
2854
  borderRadius: 4
2841
2855
  };
2842
2856
  function _n(e = 8, t = cr({
@@ -2850,7 +2864,7 @@ function _n(e = 8, t = cr({
2850
2864
  }).join(" "));
2851
2865
  return r.mui = !0, r;
2852
2866
  }
2853
- function oa(e, t) {
2867
+ function aa(e, t) {
2854
2868
  const r = this;
2855
2869
  if (r.vars) {
2856
2870
  if (!r.colorSchemes?.[e] || typeof r.getColorSchemeSelector != "function")
@@ -2869,8 +2883,8 @@ function On(e = {}, ...t) {
2869
2883
  spacing: o,
2870
2884
  shape: i = {},
2871
2885
  ...c
2872
- } = e, u = ra(r), f = _n(o);
2873
- let d = Se({
2886
+ } = e, u = oa(r), f = _n(o);
2887
+ let p = Se({
2874
2888
  breakpoints: u,
2875
2889
  direction: "ltr",
2876
2890
  components: {},
@@ -2881,19 +2895,19 @@ function On(e = {}, ...t) {
2881
2895
  },
2882
2896
  spacing: f,
2883
2897
  shape: {
2884
- ...na,
2898
+ ...ia,
2885
2899
  ...i
2886
2900
  }
2887
2901
  }, c);
2888
- return d = ni(d), d.applyStyles = oa, d = t.reduce((m, p) => Se(m, p), d), d.unstable_sxConfig = {
2902
+ return p = ii(p), p.applyStyles = aa, p = t.reduce((m, d) => Se(m, d), p), p.unstable_sxConfig = {
2889
2903
  ...Bt,
2890
2904
  ...c?.unstable_sxConfig
2891
- }, d.unstable_sx = function(p) {
2905
+ }, p.unstable_sx = function(d) {
2892
2906
  return et({
2893
- sx: p,
2907
+ sx: d,
2894
2908
  theme: this
2895
2909
  });
2896
- }, d;
2910
+ }, p;
2897
2911
  }
2898
2912
  function Rn(e) {
2899
2913
  const {
@@ -2908,18 +2922,18 @@ function Rn(e) {
2908
2922
  typeof o.style != "function" && (o.style = Ve(o.style));
2909
2923
  }), n;
2910
2924
  }
2911
- const ia = On();
2925
+ const sa = On();
2912
2926
  function Qt(e) {
2913
2927
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
2914
2928
  }
2915
2929
  function Le(e, t) {
2916
2930
  return t && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${t}{${String(e.styles)}}`), e;
2917
2931
  }
2918
- function aa(e) {
2932
+ function ca(e) {
2919
2933
  return e ? (t, r) => r[e] : null;
2920
2934
  }
2921
- function sa(e, t, r) {
2922
- e.theme = fa(e.theme) ? r : e.theme[t] || e.theme;
2935
+ function la(e, t, r) {
2936
+ e.theme = pa(e.theme) ? r : e.theme[t] || e.theme;
2923
2937
  }
2924
2938
  function Ct(e, t, r) {
2925
2939
  const n = typeof t == "function" ? t(e) : t;
@@ -2963,37 +2977,37 @@ function An(e, t, r = [], n = void 0) {
2963
2977
  }
2964
2978
  return r;
2965
2979
  }
2966
- function ca(e = {}) {
2980
+ function ua(e = {}) {
2967
2981
  const {
2968
2982
  themeId: t,
2969
- defaultTheme: r = ia,
2983
+ defaultTheme: r = sa,
2970
2984
  rootShouldForwardProp: n = Qt,
2971
2985
  slotShouldForwardProp: o = Qt
2972
2986
  } = e;
2973
2987
  function i(u) {
2974
- sa(u, t, r);
2988
+ la(u, t, r);
2975
2989
  }
2976
2990
  return (u, f = {}) => {
2977
- ea(u, (q) => q.filter((oe) => oe !== et));
2991
+ ra(u, (q) => q.filter((oe) => oe !== et));
2978
2992
  const {
2979
- name: d,
2993
+ name: p,
2980
2994
  slot: m,
2981
- skipVariantsResolver: p,
2995
+ skipVariantsResolver: d,
2982
2996
  skipSx: h,
2983
2997
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
2984
2998
  // For more details: https://github.com/mui/material-ui/pull/37908
2985
- overridesResolver: y = aa(kn(m)),
2999
+ overridesResolver: y = ca(kn(m)),
2986
3000
  ...b
2987
- } = f, l = d && d.startsWith("Mui") || m ? "components" : "custom", T = p !== void 0 ? p : (
3001
+ } = f, l = p && p.startsWith("Mui") || m ? "components" : "custom", w = d !== void 0 ? d : (
2988
3002
  // TODO v6: remove `Root` in the next major release
2989
3003
  // For more details: https://github.com/mui/material-ui/pull/37908
2990
3004
  m && m !== "Root" && m !== "root" || !1
2991
3005
  ), S = h || !1;
2992
- let w = Qt;
2993
- m === "Root" || m === "root" ? w = n : m ? w = o : da(u) && (w = void 0);
2994
- const A = Zi(u, {
2995
- shouldForwardProp: w,
2996
- label: ua(d, m),
3006
+ let T = Qt;
3007
+ m === "Root" || m === "root" ? T = n : m ? T = o : ma(u) && (T = void 0);
3008
+ const _ = ta(u, {
3009
+ shouldForwardProp: T,
3010
+ label: da(p, m),
2997
3011
  ...b
2998
3012
  }), $ = (q) => {
2999
3013
  if (q.__emotion_real === q)
@@ -3011,41 +3025,41 @@ function ca(e = {}) {
3011
3025
  return q;
3012
3026
  }, E = (...q) => {
3013
3027
  const oe = [], ee = q.map($), W = [];
3014
- if (oe.push(i), d && y && W.push(function(N) {
3015
- const ae = N.theme.components?.[d]?.styleOverrides;
3028
+ if (oe.push(i), p && y && W.push(function(j) {
3029
+ const ae = j.theme.components?.[p]?.styleOverrides;
3016
3030
  if (!ae)
3017
3031
  return null;
3018
3032
  const pe = {};
3019
3033
  for (const be in ae)
3020
- pe[be] = Ct(N, ae[be], N.theme.modularCssLayers ? "theme" : void 0);
3021
- return y(N, pe);
3022
- }), d && !T && W.push(function(N) {
3023
- const ae = N.theme?.components?.[d]?.variants;
3024
- return ae ? An(N, ae, [], N.theme.modularCssLayers ? "theme" : void 0) : null;
3034
+ pe[be] = Ct(j, ae[be], j.theme.modularCssLayers ? "theme" : void 0);
3035
+ return y(j, pe);
3036
+ }), p && !w && W.push(function(j) {
3037
+ const ae = j.theme?.components?.[p]?.variants;
3038
+ return ae ? An(j, ae, [], j.theme.modularCssLayers ? "theme" : void 0) : null;
3025
3039
  }), S || W.push(et), Array.isArray(ee[0])) {
3026
- const U = ee.shift(), N = new Array(oe.length).fill(""), le = new Array(W.length).fill("");
3040
+ const U = ee.shift(), j = new Array(oe.length).fill(""), le = new Array(W.length).fill("");
3027
3041
  let ae;
3028
- ae = [...N, ...U, ...le], ae.raw = [...N, ...U.raw, ...le], oe.unshift(ae);
3042
+ ae = [...j, ...U, ...le], ae.raw = [...j, ...U.raw, ...le], oe.unshift(ae);
3029
3043
  }
3030
- const a = [...oe, ...ee, ...W], O = A(...a);
3031
- return u.muiName && (O.muiName = u.muiName), process.env.NODE_ENV !== "production" && (O.displayName = la(d, m, u)), O;
3044
+ const a = [...oe, ...ee, ...W], R = _(...a);
3045
+ return u.muiName && (R.muiName = u.muiName), process.env.NODE_ENV !== "production" && (R.displayName = fa(p, m, u)), R;
3032
3046
  };
3033
- return A.withConfig && (E.withConfig = A.withConfig), E;
3047
+ return _.withConfig && (E.withConfig = _.withConfig), E;
3034
3048
  };
3035
3049
  }
3036
- function la(e, t, r) {
3037
- return e ? `${e}${We(t || "")}` : `Styled(${qo(r)})`;
3050
+ function fa(e, t, r) {
3051
+ return e ? `${e}${We(t || "")}` : `Styled(${Ho(r)})`;
3038
3052
  }
3039
- function ua(e, t) {
3053
+ function da(e, t) {
3040
3054
  let r;
3041
3055
  return process.env.NODE_ENV !== "production" && e && (r = `${e}-${kn(t || "Root")}`), r;
3042
3056
  }
3043
- function fa(e) {
3057
+ function pa(e) {
3044
3058
  for (const t in e)
3045
3059
  return !1;
3046
3060
  return !0;
3047
3061
  }
3048
- function da(e) {
3062
+ function ma(e) {
3049
3063
  return typeof e == "string" && // 96 is one less than the char code
3050
3064
  // for "a" so this is checking that
3051
3065
  // it's a lowercase character
@@ -3055,28 +3069,28 @@ function kn(e) {
3055
3069
  return e && e.charAt(0).toLowerCase() + e.slice(1);
3056
3070
  }
3057
3071
  function ur(e, t = 0, r = 1) {
3058
- return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), Zo(e, t, r);
3072
+ return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), ti(e, t, r);
3059
3073
  }
3060
- function pa(e) {
3074
+ function ha(e) {
3061
3075
  e = e.slice(1);
3062
3076
  const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
3063
3077
  let r = e.match(t);
3064
3078
  return r && r[0].length === 1 && (r = r.map((n) => n + n)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
3065
3079
  }
3066
- function Ne(e) {
3080
+ function je(e) {
3067
3081
  if (e.type)
3068
3082
  return e;
3069
3083
  if (e.charAt(0) === "#")
3070
- return Ne(pa(e));
3084
+ return je(ha(e));
3071
3085
  const t = e.indexOf("("), r = e.substring(0, t);
3072
3086
  if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
3073
3087
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
3074
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : je(9, e));
3088
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Ne(9, e));
3075
3089
  let n = e.substring(t + 1, e.length - 1), o;
3076
3090
  if (r === "color") {
3077
3091
  if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(o))
3078
3092
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
3079
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : je(10, o));
3093
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Ne(10, o));
3080
3094
  } else
3081
3095
  n = n.split(",");
3082
3096
  return n = n.map((i) => parseFloat(i)), {
@@ -3085,12 +3099,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
3085
3099
  colorSpace: o
3086
3100
  };
3087
3101
  }
3088
- const ma = (e) => {
3089
- const t = Ne(e);
3102
+ const ga = (e) => {
3103
+ const t = je(e);
3090
3104
  return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
3091
3105
  }, it = (e, t) => {
3092
3106
  try {
3093
- return ma(e);
3107
+ return ga(e);
3094
3108
  } catch {
3095
3109
  return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
3096
3110
  }
@@ -3106,10 +3120,10 @@ function Ft(e) {
3106
3120
  return t.includes("rgb") ? n = n.map((o, i) => i < 3 ? parseInt(o, 10) : o) : t.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.includes("color") ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
3107
3121
  }
3108
3122
  function $n(e) {
3109
- e = Ne(e);
3123
+ e = je(e);
3110
3124
  const {
3111
3125
  values: t
3112
- } = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o), c = (d, m = (d + r / 30) % 12) => o - i * Math.max(Math.min(m - 3, 9 - m, 1), -1);
3126
+ } = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o), c = (p, m = (p + r / 30) % 12) => o - i * Math.max(Math.min(m - 3, 9 - m, 1), -1);
3113
3127
  let u = "rgb";
3114
3128
  const f = [Math.round(c(0) * 255), Math.round(c(8) * 255), Math.round(c(4) * 255)];
3115
3129
  return e.type === "hsla" && (u += "a", f.push(t[3])), Ft({
@@ -3118,26 +3132,26 @@ function $n(e) {
3118
3132
  });
3119
3133
  }
3120
3134
  function rr(e) {
3121
- e = Ne(e);
3122
- let t = e.type === "hsl" || e.type === "hsla" ? Ne($n(e)).values : e.values;
3135
+ e = je(e);
3136
+ let t = e.type === "hsl" || e.type === "hsla" ? je($n(e)).values : e.values;
3123
3137
  return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
3124
3138
  }
3125
3139
  function nn(e, t) {
3126
3140
  const r = rr(e), n = rr(t);
3127
3141
  return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
3128
3142
  }
3129
- function ha(e, t) {
3130
- return e = Ne(e), t = ur(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Ft(e);
3143
+ function ya(e, t) {
3144
+ return e = je(e), t = ur(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Ft(e);
3131
3145
  }
3132
3146
  function St(e, t, r) {
3133
3147
  try {
3134
- return ha(e, t);
3148
+ return ya(e, t);
3135
3149
  } catch {
3136
3150
  return e;
3137
3151
  }
3138
3152
  }
3139
3153
  function fr(e, t) {
3140
- if (e = Ne(e), t = ur(t), e.type.includes("hsl"))
3154
+ if (e = je(e), t = ur(t), e.type.includes("hsl"))
3141
3155
  e.values[2] *= 1 - t;
3142
3156
  else if (e.type.includes("rgb") || e.type.includes("color"))
3143
3157
  for (let r = 0; r < 3; r += 1)
@@ -3152,7 +3166,7 @@ function re(e, t, r) {
3152
3166
  }
3153
3167
  }
3154
3168
  function dr(e, t) {
3155
- if (e = Ne(e), t = ur(t), e.type.includes("hsl"))
3169
+ if (e = je(e), t = ur(t), e.type.includes("hsl"))
3156
3170
  e.values[2] += (100 - e.values[2]) * t;
3157
3171
  else if (e.type.includes("rgb"))
3158
3172
  for (let r = 0; r < 3; r += 1)
@@ -3169,19 +3183,19 @@ function ne(e, t, r) {
3169
3183
  return e;
3170
3184
  }
3171
3185
  }
3172
- function ga(e, t = 0.15) {
3186
+ function ba(e, t = 0.15) {
3173
3187
  return rr(e) > 0.5 ? fr(e, t) : dr(e, t);
3174
3188
  }
3175
3189
  function Et(e, t, r) {
3176
3190
  try {
3177
- return ga(e, t);
3191
+ return ba(e, t);
3178
3192
  } catch {
3179
3193
  return e;
3180
3194
  }
3181
3195
  }
3182
- const ya = /* @__PURE__ */ Ie.createContext(void 0);
3196
+ const va = /* @__PURE__ */ Ie.createContext(void 0);
3183
3197
  process.env.NODE_ENV !== "production" && (K.node, K.object);
3184
- function ba(e) {
3198
+ function Sa(e) {
3185
3199
  const {
3186
3200
  theme: t,
3187
3201
  name: r,
@@ -3192,12 +3206,12 @@ function ba(e) {
3192
3206
  const o = t.components[r];
3193
3207
  return o.defaultProps ? tr(o.defaultProps, n) : !o.styleOverrides && !o.variants ? tr(o, n) : n;
3194
3208
  }
3195
- function va({
3209
+ function Ea({
3196
3210
  props: e,
3197
3211
  name: t
3198
3212
  }) {
3199
- const r = Ie.useContext(ya);
3200
- return ba({
3213
+ const r = Ie.useContext(va);
3214
+ return Sa({
3201
3215
  props: e,
3202
3216
  name: t,
3203
3217
  theme: {
@@ -3208,14 +3222,14 @@ function va({
3208
3222
  const on = {
3209
3223
  theme: void 0
3210
3224
  };
3211
- function Sa(e) {
3225
+ function Ca(e) {
3212
3226
  let t, r;
3213
3227
  return function(o) {
3214
3228
  let i = t;
3215
3229
  return (i === void 0 || o.theme !== r) && (on.theme = o.theme, i = Rn(e(on)), t = i, r = o.theme), i;
3216
3230
  };
3217
3231
  }
3218
- function Ea(e = "") {
3232
+ function xa(e = "") {
3219
3233
  function t(...n) {
3220
3234
  if (!n.length)
3221
3235
  return "";
@@ -3229,27 +3243,27 @@ const an = (e, t, r, n = []) => {
3229
3243
  t.forEach((i, c) => {
3230
3244
  c === t.length - 1 ? Array.isArray(o) ? o[Number(i)] = r : o && typeof o == "object" && (o[i] = r) : o && typeof o == "object" && (o[i] || (o[i] = n.includes(i) ? [] : {}), o = o[i]);
3231
3245
  });
3232
- }, Ca = (e, t, r) => {
3246
+ }, Ta = (e, t, r) => {
3233
3247
  function n(o, i = [], c = []) {
3234
3248
  Object.entries(o).forEach(([u, f]) => {
3235
3249
  (!r || r && !r([...i, u])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...i, u], Array.isArray(f) ? [...c, u] : c) : t([...i, u], f, c));
3236
3250
  });
3237
3251
  }
3238
3252
  n(e);
3239
- }, xa = (e, t) => typeof t == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
3253
+ }, wa = (e, t) => typeof t == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
3240
3254
  function Zt(e, t) {
3241
3255
  const {
3242
3256
  prefix: r,
3243
3257
  shouldSkipGeneratingVar: n
3244
3258
  } = t || {}, o = {}, i = {}, c = {};
3245
- return Ca(
3259
+ return Ta(
3246
3260
  e,
3247
- (u, f, d) => {
3261
+ (u, f, p) => {
3248
3262
  if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
3249
- const m = `--${r ? `${r}-` : ""}${u.join("-")}`, p = xa(u, f);
3263
+ const m = `--${r ? `${r}-` : ""}${u.join("-")}`, d = wa(u, f);
3250
3264
  Object.assign(o, {
3251
- [m]: p
3252
- }), an(i, u, `var(${m})`, d), an(c, u, `var(${m}, ${p})`, d);
3265
+ [m]: d
3266
+ }), an(i, u, `var(${m})`, p), an(c, u, `var(${m}, ${d})`, p);
3253
3267
  }
3254
3268
  },
3255
3269
  (u) => u[0] === "vars"
@@ -3260,9 +3274,9 @@ function Zt(e, t) {
3260
3274
  varsWithDefaults: c
3261
3275
  };
3262
3276
  }
3263
- function Ta(e, t = {}) {
3277
+ function _a(e, t = {}) {
3264
3278
  const {
3265
- getSelector: r = T,
3279
+ getSelector: r = w,
3266
3280
  disableCssColorScheme: n,
3267
3281
  colorSchemeSelector: o
3268
3282
  } = t, {
@@ -3271,66 +3285,66 @@ function Ta(e, t = {}) {
3271
3285
  defaultColorScheme: u = "light",
3272
3286
  ...f
3273
3287
  } = e, {
3274
- vars: d,
3288
+ vars: p,
3275
3289
  css: m,
3276
- varsWithDefaults: p
3290
+ varsWithDefaults: d
3277
3291
  } = Zt(f, t);
3278
- let h = p;
3292
+ let h = d;
3279
3293
  const y = {}, {
3280
3294
  [u]: b,
3281
3295
  ...l
3282
3296
  } = i;
3283
- if (Object.entries(l || {}).forEach(([A, $]) => {
3297
+ if (Object.entries(l || {}).forEach(([_, $]) => {
3284
3298
  const {
3285
3299
  vars: E,
3286
3300
  css: q,
3287
3301
  varsWithDefaults: oe
3288
3302
  } = Zt($, t);
3289
- h = Se(h, oe), y[A] = {
3303
+ h = Se(h, oe), y[_] = {
3290
3304
  css: q,
3291
3305
  vars: E
3292
3306
  };
3293
3307
  }), b) {
3294
3308
  const {
3295
- css: A,
3309
+ css: _,
3296
3310
  vars: $,
3297
3311
  varsWithDefaults: E
3298
3312
  } = Zt(b, t);
3299
3313
  h = Se(h, E), y[u] = {
3300
- css: A,
3314
+ css: _,
3301
3315
  vars: $
3302
3316
  };
3303
3317
  }
3304
- function T(A, $) {
3318
+ function w(_, $) {
3305
3319
  let E = o;
3306
- if (o === "class" && (E = ".%s"), o === "data" && (E = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (E = `[${o}="%s"]`), A) {
3320
+ if (o === "class" && (E = ".%s"), o === "data" && (E = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (E = `[${o}="%s"]`), _) {
3307
3321
  if (E === "media")
3308
- return e.defaultColorScheme === A ? ":root" : {
3309
- [`@media (prefers-color-scheme: ${i[A]?.palette?.mode || A})`]: {
3322
+ return e.defaultColorScheme === _ ? ":root" : {
3323
+ [`@media (prefers-color-scheme: ${i[_]?.palette?.mode || _})`]: {
3310
3324
  ":root": $
3311
3325
  }
3312
3326
  };
3313
3327
  if (E)
3314
- return e.defaultColorScheme === A ? `:root, ${E.replace("%s", String(A))}` : E.replace("%s", String(A));
3328
+ return e.defaultColorScheme === _ ? `:root, ${E.replace("%s", String(_))}` : E.replace("%s", String(_));
3315
3329
  }
3316
3330
  return ":root";
3317
3331
  }
3318
3332
  return {
3319
3333
  vars: h,
3320
3334
  generateThemeVars: () => {
3321
- let A = {
3322
- ...d
3335
+ let _ = {
3336
+ ...p
3323
3337
  };
3324
3338
  return Object.entries(y).forEach(([, {
3325
3339
  vars: $
3326
3340
  }]) => {
3327
- A = Se(A, $);
3328
- }), A;
3341
+ _ = Se(_, $);
3342
+ }), _;
3329
3343
  },
3330
3344
  generateStyleSheets: () => {
3331
- const A = [], $ = e.defaultColorScheme || "light";
3345
+ const _ = [], $ = e.defaultColorScheme || "light";
3332
3346
  function E(ee, W) {
3333
- Object.keys(W).length && A.push(typeof ee == "string" ? {
3347
+ Object.keys(W).length && _.push(typeof ee == "string" ? {
3334
3348
  [ee]: {
3335
3349
  ...W
3336
3350
  }
@@ -3359,20 +3373,20 @@ function Ta(e, t = {}) {
3359
3373
  return Object.entries(oe).forEach(([ee, {
3360
3374
  css: W
3361
3375
  }]) => {
3362
- const a = i[ee]?.palette?.mode, O = !n && a ? {
3376
+ const a = i[ee]?.palette?.mode, R = !n && a ? {
3363
3377
  colorScheme: a,
3364
3378
  ...W
3365
3379
  } : {
3366
3380
  ...W
3367
3381
  };
3368
3382
  E(r(ee, {
3369
- ...O
3370
- }), O);
3371
- }), A;
3383
+ ...R
3384
+ }), R);
3385
+ }), _;
3372
3386
  }
3373
3387
  };
3374
3388
  }
3375
- function wa(e) {
3389
+ function Oa(e) {
3376
3390
  return function(r) {
3377
3391
  return e === "media" ? (process.env.NODE_ENV !== "production" && r !== "light" && r !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`), `@media (prefers-color-scheme: ${r})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${r}"] &` : e === "class" ? `.${r} &` : e === "data" ? `[data-${r}] &` : `${e.replace("%s", r)} &` : "&";
3378
3392
  };
@@ -3380,7 +3394,7 @@ function wa(e) {
3380
3394
  const ct = {
3381
3395
  black: "#000",
3382
3396
  white: "#fff"
3383
- }, _a = {
3397
+ }, Ra = {
3384
3398
  50: "#fafafa",
3385
3399
  100: "#f5f5f5",
3386
3400
  200: "#eeeeee",
@@ -3474,7 +3488,7 @@ function Pn() {
3474
3488
  }
3475
3489
  };
3476
3490
  }
3477
- const Oa = Pn();
3491
+ const Aa = Pn();
3478
3492
  function In() {
3479
3493
  return {
3480
3494
  text: {
@@ -3508,7 +3522,7 @@ function cn(e, t, r, n) {
3508
3522
  const o = n.light || n, i = n.dark || n * 1.5;
3509
3523
  e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = dr(e.main, o) : t === "dark" && (e.dark = fr(e.main, i)));
3510
3524
  }
3511
- function Ra(e = "light") {
3525
+ function ka(e = "light") {
3512
3526
  return e === "dark" ? {
3513
3527
  main: He[200],
3514
3528
  light: He[50],
@@ -3519,7 +3533,7 @@ function Ra(e = "light") {
3519
3533
  dark: He[800]
3520
3534
  };
3521
3535
  }
3522
- function Aa(e = "light") {
3536
+ function $a(e = "light") {
3523
3537
  return e === "dark" ? {
3524
3538
  main: qe[200],
3525
3539
  light: qe[50],
@@ -3530,7 +3544,7 @@ function Aa(e = "light") {
3530
3544
  dark: qe[700]
3531
3545
  };
3532
3546
  }
3533
- function ka(e = "light") {
3547
+ function Pa(e = "light") {
3534
3548
  return e === "dark" ? {
3535
3549
  main: Ke[500],
3536
3550
  light: Ke[300],
@@ -3541,7 +3555,7 @@ function ka(e = "light") {
3541
3555
  dark: Ke[800]
3542
3556
  };
3543
3557
  }
3544
- function $a(e = "light") {
3558
+ function Ia(e = "light") {
3545
3559
  return e === "dark" ? {
3546
3560
  main: Je[400],
3547
3561
  light: Je[300],
@@ -3552,7 +3566,7 @@ function $a(e = "light") {
3552
3566
  dark: Je[900]
3553
3567
  };
3554
3568
  }
3555
- function Pa(e = "light") {
3569
+ function Na(e = "light") {
3556
3570
  return e === "dark" ? {
3557
3571
  main: Xe[400],
3558
3572
  light: Xe[300],
@@ -3563,7 +3577,7 @@ function Pa(e = "light") {
3563
3577
  dark: Xe[900]
3564
3578
  };
3565
3579
  }
3566
- function Ia(e = "light") {
3580
+ function ja(e = "light") {
3567
3581
  return e === "dark" ? {
3568
3582
  main: ot[400],
3569
3583
  light: ot[300],
@@ -3581,30 +3595,30 @@ function pr(e) {
3581
3595
  contrastThreshold: r = 3,
3582
3596
  tonalOffset: n = 0.2,
3583
3597
  ...o
3584
- } = e, i = e.primary || Ra(t), c = e.secondary || Aa(t), u = e.error || ka(t), f = e.info || $a(t), d = e.success || Pa(t), m = e.warning || Ia(t);
3585
- function p(l) {
3586
- const T = nn(l, sn.text.primary) >= r ? sn.text.primary : Oa.text.primary;
3598
+ } = e, i = e.primary || ka(t), c = e.secondary || $a(t), u = e.error || Pa(t), f = e.info || Ia(t), p = e.success || Na(t), m = e.warning || ja(t);
3599
+ function d(l) {
3600
+ const w = nn(l, sn.text.primary) >= r ? sn.text.primary : Aa.text.primary;
3587
3601
  if (process.env.NODE_ENV !== "production") {
3588
- const S = nn(l, T);
3589
- S < 3 && console.error([`MUI: The contrast ratio of ${S}:1 for ${T} on ${l}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
3602
+ const S = nn(l, w);
3603
+ S < 3 && console.error([`MUI: The contrast ratio of ${S}:1 for ${w} on ${l}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
3590
3604
  `));
3591
3605
  }
3592
- return T;
3606
+ return w;
3593
3607
  }
3594
3608
  const h = ({
3595
3609
  color: l,
3596
- name: T,
3610
+ name: w,
3597
3611
  mainShade: S = 500,
3598
- lightShade: w = 300,
3599
- darkShade: A = 700
3612
+ lightShade: T = 300,
3613
+ darkShade: _ = 700
3600
3614
  }) => {
3601
3615
  if (l = {
3602
3616
  ...l
3603
3617
  }, !l.main && l[S] && (l.main = l[S]), !l.hasOwnProperty("main"))
3604
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${T ? ` (${T})` : ""} provided to augmentColor(color) is invalid.
3605
- The color object needs to have a \`main\` property or a \`${S}\` property.` : je(11, T ? ` (${T})` : "", S));
3618
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
3619
+ The color object needs to have a \`main\` property or a \`${S}\` property.` : Ne(11, w ? ` (${w})` : "", S));
3606
3620
  if (typeof l.main != "string")
3607
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${T ? ` (${T})` : ""} provided to augmentColor(color) is invalid.
3621
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
3608
3622
  \`color.main\` should be a string, but \`${JSON.stringify(l.main)}\` was provided instead.
3609
3623
 
3610
3624
  Did you intend to use one of the following approaches?
@@ -3617,8 +3631,8 @@ const theme1 = createTheme({ palette: {
3617
3631
 
3618
3632
  const theme2 = createTheme({ palette: {
3619
3633
  primary: { main: green[500] },
3620
- } });` : je(12, T ? ` (${T})` : "", JSON.stringify(l.main)));
3621
- return cn(l, "light", w, n), cn(l, "dark", A, n), l.contrastText || (l.contrastText = p(l.main)), l;
3634
+ } });` : Ne(12, w ? ` (${w})` : "", JSON.stringify(l.main)));
3635
+ return cn(l, "light", T, n), cn(l, "dark", _, n), l.contrastText || (l.contrastText = d(l.main)), l;
3622
3636
  };
3623
3637
  let y;
3624
3638
  return t === "light" ? y = Pn() : t === "dark" && (y = In()), process.env.NODE_ENV !== "production" && (y || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), Se({
@@ -3659,16 +3673,16 @@ const theme2 = createTheme({ palette: {
3659
3673
  }),
3660
3674
  // The colors used to indicate the successful completion of an action that user triggered.
3661
3675
  success: h({
3662
- color: d,
3676
+ color: p,
3663
3677
  name: "success"
3664
3678
  }),
3665
3679
  // The grey colors.
3666
- grey: _a,
3680
+ grey: Ra,
3667
3681
  // Used by `getContrastText()` to maximize the contrast between
3668
3682
  // the background and the text.
3669
3683
  contrastThreshold: r,
3670
3684
  // Takes a background color and returns the text color that maximizes the contrast.
3671
- getContrastText: p,
3685
+ getContrastText: d,
3672
3686
  // Generate a rich color object.
3673
3687
  augmentColor: h,
3674
3688
  // Used by the functions below to shift a color's luminance by approximately
@@ -3679,14 +3693,14 @@ const theme2 = createTheme({ palette: {
3679
3693
  ...y
3680
3694
  }, o);
3681
3695
  }
3682
- function ja(e) {
3696
+ function Da(e) {
3683
3697
  const t = {};
3684
3698
  return Object.entries(e).forEach((n) => {
3685
3699
  const [o, i] = n;
3686
3700
  typeof i == "object" && (t[o] = `${i.fontStyle ? `${i.fontStyle} ` : ""}${i.fontVariant ? `${i.fontVariant} ` : ""}${i.fontWeight ? `${i.fontWeight} ` : ""}${i.fontStretch ? `${i.fontStretch} ` : ""}${i.fontSize || ""}${i.lineHeight ? `/${i.lineHeight} ` : ""}${i.fontFamily || ""}`);
3687
3701
  }), t;
3688
3702
  }
3689
- function Na(e, t) {
3703
+ function Ma(e, t) {
3690
3704
  return {
3691
3705
  toolbar: {
3692
3706
  minHeight: 56,
@@ -3702,13 +3716,13 @@ function Na(e, t) {
3702
3716
  ...t
3703
3717
  };
3704
3718
  }
3705
- function Da(e) {
3719
+ function Ba(e) {
3706
3720
  return Math.round(e * 1e5) / 1e5;
3707
3721
  }
3708
3722
  const ln = {
3709
3723
  textTransform: "uppercase"
3710
3724
  }, un = '"Roboto", "Helvetica", "Arial", sans-serif';
3711
- function Ma(e, t) {
3725
+ function Fa(e, t) {
3712
3726
  const {
3713
3727
  fontFamily: r = un,
3714
3728
  // The default font size of the Material Specification.
@@ -3722,24 +3736,24 @@ function Ma(e, t) {
3722
3736
  // 16px is the default font-size used by browsers.
3723
3737
  htmlFontSize: f = 16,
3724
3738
  // Apply the CSS properties to all the variants.
3725
- allVariants: d,
3739
+ allVariants: p,
3726
3740
  pxToRem: m,
3727
- ...p
3741
+ ...d
3728
3742
  } = typeof t == "function" ? t(e) : t;
3729
3743
  process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
3730
- const h = n / 14, y = m || ((T) => `${T / f * h}rem`), b = (T, S, w, A, $) => ({
3744
+ const h = n / 14, y = m || ((w) => `${w / f * h}rem`), b = (w, S, T, _, $) => ({
3731
3745
  fontFamily: r,
3732
- fontWeight: T,
3746
+ fontWeight: w,
3733
3747
  fontSize: y(S),
3734
3748
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
3735
- lineHeight: w,
3749
+ lineHeight: T,
3736
3750
  // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
3737
3751
  // across font-families can cause issues with the kerning.
3738
3752
  ...r === un ? {
3739
- letterSpacing: `${Da(A / S)}em`
3753
+ letterSpacing: `${Ba(_ / S)}em`
3740
3754
  } : {},
3741
3755
  ...$,
3742
- ...d
3756
+ ...p
3743
3757
  }), l = {
3744
3758
  h1: b(o, 96, 1.167, -1.5),
3745
3759
  h2: b(o, 60, 1.2, -0.5),
@@ -3773,16 +3787,16 @@ function Ma(e, t) {
3773
3787
  fontWeightMedium: c,
3774
3788
  fontWeightBold: u,
3775
3789
  ...l
3776
- }, p, {
3790
+ }, d, {
3777
3791
  clone: !1
3778
3792
  // No need to clone deep
3779
3793
  });
3780
3794
  }
3781
- const Ba = 0.2, Fa = 0.14, La = 0.12;
3795
+ const La = 0.2, Va = 0.14, Wa = 0.12;
3782
3796
  function ie(...e) {
3783
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Ba})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Fa})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${La})`].join(",");
3797
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${La})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Va})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Wa})`].join(",");
3784
3798
  }
3785
- const Va = ["none", ie(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ie(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), ie(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), ie(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), ie(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), ie(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), ie(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), ie(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), ie(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), ie(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), ie(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), ie(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), ie(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), ie(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), ie(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), ie(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), ie(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), ie(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), ie(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), ie(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), ie(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), ie(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), ie(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), ie(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Wa = {
3799
+ const za = ["none", ie(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ie(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), ie(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), ie(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), ie(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), ie(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), ie(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), ie(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), ie(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), ie(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), ie(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), ie(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), ie(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), ie(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), ie(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), ie(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), ie(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), ie(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), ie(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), ie(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), ie(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), ie(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), ie(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), ie(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Ya = {
3786
3800
  // This is the most common easing curve.
3787
3801
  easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
3788
3802
  // Objects enter the screen at full velocity from off-screen and
@@ -3792,7 +3806,7 @@ const Va = ["none", ie(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ie(0, 3, 1, -2, 0,
3792
3806
  easeIn: "cubic-bezier(0.4, 0, 1, 1)",
3793
3807
  // The sharp curve is used by objects that may return to the screen at any time.
3794
3808
  sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
3795
- }, za = {
3809
+ }, Ua = {
3796
3810
  shortest: 150,
3797
3811
  shorter: 200,
3798
3812
  short: 250,
@@ -3808,33 +3822,33 @@ const Va = ["none", ie(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ie(0, 3, 1, -2, 0,
3808
3822
  function fn(e) {
3809
3823
  return `${Math.round(e)}ms`;
3810
3824
  }
3811
- function Ya(e) {
3825
+ function Ga(e) {
3812
3826
  if (!e)
3813
3827
  return 0;
3814
3828
  const t = e / 36;
3815
3829
  return Math.min(Math.round((4 + 15 * t ** 0.25 + t / 5) * 10), 3e3);
3816
3830
  }
3817
- function Ua(e) {
3831
+ function qa(e) {
3818
3832
  const t = {
3819
- ...Wa,
3833
+ ...Ya,
3820
3834
  ...e.easing
3821
3835
  }, r = {
3822
- ...za,
3836
+ ...Ua,
3823
3837
  ...e.duration
3824
3838
  };
3825
3839
  return {
3826
- getAutoHeightDuration: Ya,
3840
+ getAutoHeightDuration: Ga,
3827
3841
  create: (o = ["all"], i = {}) => {
3828
3842
  const {
3829
3843
  duration: c = r.standard,
3830
3844
  easing: u = t.easeInOut,
3831
3845
  delay: f = 0,
3832
- ...d
3846
+ ...p
3833
3847
  } = i;
3834
3848
  if (process.env.NODE_ENV !== "production") {
3835
- const m = (h) => typeof h == "string", p = (h) => !Number.isNaN(parseFloat(h));
3836
- !m(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !p(c) && !m(c) && console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`), m(u) || console.error('MUI: Argument "easing" must be a string.'), !p(f) && !m(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
3837
- `)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
3849
+ const m = (h) => typeof h == "string", d = (h) => !Number.isNaN(parseFloat(h));
3850
+ !m(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !d(c) && !m(c) && console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`), m(u) || console.error('MUI: Argument "easing" must be a string.'), !d(f) && !m(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
3851
+ `)), Object.keys(p).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(p).join(",")}].`);
3838
3852
  }
3839
3853
  return (Array.isArray(o) ? o : [o]).map((m) => `${m} ${typeof c == "string" ? c : fn(c)} ${u} ${typeof f == "string" ? f : fn(f)}`).join(",");
3840
3854
  },
@@ -3843,7 +3857,7 @@ function Ua(e) {
3843
3857
  duration: r
3844
3858
  };
3845
3859
  }
3846
- const Ga = {
3860
+ const Ka = {
3847
3861
  mobileStepper: 1e3,
3848
3862
  fab: 1050,
3849
3863
  speedDial: 1050,
@@ -3853,10 +3867,10 @@ const Ga = {
3853
3867
  snackbar: 1400,
3854
3868
  tooltip: 1500
3855
3869
  };
3856
- function qa(e) {
3870
+ function Ha(e) {
3857
3871
  return Ae(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
3858
3872
  }
3859
- function jn(e = {}) {
3873
+ function Nn(e = {}) {
3860
3874
  const t = {
3861
3875
  ...e
3862
3876
  };
@@ -3864,7 +3878,7 @@ function jn(e = {}) {
3864
3878
  const o = Object.entries(n);
3865
3879
  for (let i = 0; i < o.length; i++) {
3866
3880
  const [c, u] = o[i];
3867
- !qa(u) || c.startsWith("unstable_") ? delete n[c] : Ae(u) && (n[c] = {
3881
+ !Ha(u) || c.startsWith("unstable_") ? delete n[c] : Ae(u) && (n[c] = {
3868
3882
  ...u
3869
3883
  }, r(n[c]));
3870
3884
  }
@@ -3887,35 +3901,35 @@ function nr(e = {}, ...t) {
3887
3901
  transitions: c = {},
3888
3902
  typography: u = {},
3889
3903
  shape: f,
3890
- ...d
3904
+ ...p
3891
3905
  } = e;
3892
3906
  if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
3893
3907
  // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
3894
3908
  e.generateThemeVars === void 0)
3895
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : je(20));
3896
- const m = pr(i), p = On(e);
3897
- let h = Se(p, {
3898
- mixins: Na(p.breakpoints, n),
3909
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : Ne(20));
3910
+ const m = pr(i), d = On(e);
3911
+ let h = Se(d, {
3912
+ mixins: Ma(d.breakpoints, n),
3899
3913
  palette: m,
3900
3914
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
3901
- shadows: Va.slice(),
3902
- typography: Ma(m, u),
3903
- transitions: Ua(c),
3915
+ shadows: za.slice(),
3916
+ typography: Fa(m, u),
3917
+ transitions: qa(c),
3904
3918
  zIndex: {
3905
- ...Ga
3919
+ ...Ka
3906
3920
  }
3907
3921
  });
3908
- if (h = Se(h, d), h = t.reduce((y, b) => Se(y, b), h), process.env.NODE_ENV !== "production") {
3909
- const y = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], b = (l, T) => {
3922
+ if (h = Se(h, p), h = t.reduce((y, b) => Se(y, b), h), process.env.NODE_ENV !== "production") {
3923
+ const y = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], b = (l, w) => {
3910
3924
  let S;
3911
3925
  for (S in l) {
3912
- const w = l[S];
3913
- if (y.includes(S) && Object.keys(w).length > 0) {
3926
+ const T = l[S];
3927
+ if (y.includes(S) && Object.keys(T).length > 0) {
3914
3928
  if (process.env.NODE_ENV !== "production") {
3915
- const A = sr("", S);
3916
- console.error([`MUI: The \`${T}\` component increases the CSS specificity of the \`${S}\` internal state.`, "You can not override it like this: ", JSON.stringify(l, null, 2), "", `Instead, you need to use the '&.${A}' syntax:`, JSON.stringify({
3929
+ const _ = sr("", S);
3930
+ console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${S}\` internal state.`, "You can not override it like this: ", JSON.stringify(l, null, 2), "", `Instead, you need to use the '&.${_}' syntax:`, JSON.stringify({
3917
3931
  root: {
3918
- [`&.${A}`]: w
3932
+ [`&.${_}`]: T
3919
3933
  }
3920
3934
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
3921
3935
  `));
@@ -3925,31 +3939,31 @@ function nr(e = {}, ...t) {
3925
3939
  }
3926
3940
  };
3927
3941
  Object.keys(h.components).forEach((l) => {
3928
- const T = h.components[l].styleOverrides;
3929
- T && l.startsWith("Mui") && b(T, l);
3942
+ const w = h.components[l].styleOverrides;
3943
+ w && l.startsWith("Mui") && b(w, l);
3930
3944
  });
3931
3945
  }
3932
3946
  return h.unstable_sxConfig = {
3933
3947
  ...Bt,
3934
- ...d?.unstable_sxConfig
3948
+ ...p?.unstable_sxConfig
3935
3949
  }, h.unstable_sx = function(b) {
3936
3950
  return et({
3937
3951
  sx: b,
3938
3952
  theme: this
3939
3953
  });
3940
- }, h.toRuntimeSource = jn, h;
3954
+ }, h.toRuntimeSource = Nn, h;
3941
3955
  }
3942
- function Ka(e) {
3956
+ function Ja(e) {
3943
3957
  let t;
3944
3958
  return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
3945
3959
  }
3946
- const Ha = [...Array(25)].map((e, t) => {
3960
+ const Xa = [...Array(25)].map((e, t) => {
3947
3961
  if (t === 0)
3948
3962
  return "none";
3949
- const r = Ka(t);
3963
+ const r = Ja(t);
3950
3964
  return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
3951
3965
  });
3952
- function Nn(e) {
3966
+ function jn(e) {
3953
3967
  return {
3954
3968
  inputPlaceholder: e === "dark" ? 0.5 : 0.42,
3955
3969
  inputUnderline: e === "dark" ? 0.7 : 0.42,
@@ -3958,9 +3972,9 @@ function Nn(e) {
3958
3972
  };
3959
3973
  }
3960
3974
  function Dn(e) {
3961
- return e === "dark" ? Ha : [];
3975
+ return e === "dark" ? Xa : [];
3962
3976
  }
3963
- function Ja(e) {
3977
+ function Qa(e) {
3964
3978
  const {
3965
3979
  palette: t = {
3966
3980
  mode: "light"
@@ -3973,24 +3987,24 @@ function Ja(e) {
3973
3987
  return {
3974
3988
  palette: i,
3975
3989
  opacity: {
3976
- ...Nn(i.mode),
3990
+ ...jn(i.mode),
3977
3991
  ...r
3978
3992
  },
3979
3993
  overlays: n || Dn(i.mode),
3980
3994
  ...o
3981
3995
  };
3982
3996
  }
3983
- function Xa(e) {
3997
+ function Za(e) {
3984
3998
  return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
3985
3999
  e[0] === "palette" && !!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
3986
4000
  }
3987
- const Qa = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], Za = (e) => (t, r) => {
4001
+ const es = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], ts = (e) => (t, r) => {
3988
4002
  const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
3989
4003
  let i = o;
3990
4004
  if (o === "class" && (i = ".%s"), o === "data" && (i = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (i = `[${o}="%s"]`), e.defaultColorScheme === t) {
3991
4005
  if (t === "dark") {
3992
4006
  const c = {};
3993
- return Qa(e.cssVarPrefix).forEach((u) => {
4007
+ return es(e.cssVarPrefix).forEach((u) => {
3994
4008
  c[u] = r[u], delete r[u];
3995
4009
  }), i === "media" ? {
3996
4010
  [n]: r,
@@ -4021,7 +4035,7 @@ const Qa = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlay
4021
4035
  }
4022
4036
  return n;
4023
4037
  };
4024
- function es(e, t) {
4038
+ function rs(e, t) {
4025
4039
  t.forEach((r) => {
4026
4040
  e[r] || (e[r] = {});
4027
4041
  });
@@ -4036,7 +4050,7 @@ function Re(e, t) {
4036
4050
  `${t}Channel` in e || (e[`${t}Channel`] = it(at(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
4037
4051
  To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
4038
4052
  }
4039
- function ts(e) {
4053
+ function ns(e) {
4040
4054
  return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
4041
4055
  }
4042
4056
  const Oe = (e) => {
@@ -4044,14 +4058,14 @@ const Oe = (e) => {
4044
4058
  return e();
4045
4059
  } catch {
4046
4060
  }
4047
- }, rs = (e = "mui") => Ea(e);
4061
+ }, os = (e = "mui") => xa(e);
4048
4062
  function er(e, t, r, n) {
4049
4063
  if (!t)
4050
4064
  return;
4051
4065
  t = t === !0 ? {} : t;
4052
4066
  const o = n === "dark" ? "dark" : "light";
4053
4067
  if (!r) {
4054
- e[n] = Ja({
4068
+ e[n] = Qa({
4055
4069
  ...t,
4056
4070
  palette: {
4057
4071
  mode: o,
@@ -4074,13 +4088,13 @@ function er(e, t, r, n) {
4074
4088
  ...t,
4075
4089
  palette: i,
4076
4090
  opacity: {
4077
- ...Nn(o),
4091
+ ...jn(o),
4078
4092
  ...t?.opacity
4079
4093
  },
4080
4094
  overlays: t?.overlays || Dn(o)
4081
4095
  }, c;
4082
4096
  }
4083
- function ns(e = {}, ...t) {
4097
+ function is(e = {}, ...t) {
4084
4098
  const {
4085
4099
  colorSchemes: r = {
4086
4100
  light: !0
@@ -4088,80 +4102,80 @@ function ns(e = {}, ...t) {
4088
4102
  defaultColorScheme: n,
4089
4103
  disableCssColorScheme: o = !1,
4090
4104
  cssVarPrefix: i = "mui",
4091
- shouldSkipGeneratingVar: c = Xa,
4105
+ shouldSkipGeneratingVar: c = Za,
4092
4106
  colorSchemeSelector: u = r.light && r.dark ? "media" : void 0,
4093
4107
  rootSelector: f = ":root",
4094
- ...d
4095
- } = e, m = Object.keys(r)[0], p = n || (r.light && m !== "light" ? "light" : m), h = rs(i), {
4096
- [p]: y,
4108
+ ...p
4109
+ } = e, m = Object.keys(r)[0], d = n || (r.light && m !== "light" ? "light" : m), h = os(i), {
4110
+ [d]: y,
4097
4111
  light: b,
4098
4112
  dark: l,
4099
- ...T
4113
+ ...w
4100
4114
  } = r, S = {
4101
- ...T
4115
+ ...w
4102
4116
  };
4103
- let w = y;
4104
- if ((p === "dark" && !("dark" in r) || p === "light" && !("light" in r)) && (w = !0), !w)
4105
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${p}\` option is either missing or invalid.` : je(21, p));
4106
- const A = er(S, w, d, p);
4117
+ let T = y;
4118
+ if ((d === "dark" && !("dark" in r) || d === "light" && !("light" in r)) && (T = !0), !T)
4119
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${d}\` option is either missing or invalid.` : Ne(21, d));
4120
+ const _ = er(S, T, p, d);
4107
4121
  b && !S.light && er(S, b, void 0, "light"), l && !S.dark && er(S, l, void 0, "dark");
4108
4122
  let $ = {
4109
- defaultColorScheme: p,
4110
- ...A,
4123
+ defaultColorScheme: d,
4124
+ ..._,
4111
4125
  cssVarPrefix: i,
4112
4126
  colorSchemeSelector: u,
4113
4127
  rootSelector: f,
4114
4128
  getCssVar: h,
4115
4129
  colorSchemes: S,
4116
4130
  font: {
4117
- ...ja(A.typography),
4118
- ...A.font
4131
+ ...Da(_.typography),
4132
+ ..._.font
4119
4133
  },
4120
- spacing: ts(d.spacing)
4134
+ spacing: ns(p.spacing)
4121
4135
  };
4122
4136
  Object.keys($.colorSchemes).forEach((W) => {
4123
- const a = $.colorSchemes[W].palette, O = (U) => {
4124
- const N = U.split("-"), le = N[1], ae = N[2];
4137
+ const a = $.colorSchemes[W].palette, R = (U) => {
4138
+ const j = U.split("-"), le = j[1], ae = j[2];
4125
4139
  return h(U, a[le][ae]);
4126
4140
  };
4127
- if (a.mode === "light" && (g(a.common, "background", "#fff"), g(a.common, "onBackground", "#000")), a.mode === "dark" && (g(a.common, "background", "#000"), g(a.common, "onBackground", "#fff")), es(a, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), a.mode === "light") {
4128
- g(a.Alert, "errorColor", re(a.error.light, 0.6)), g(a.Alert, "infoColor", re(a.info.light, 0.6)), g(a.Alert, "successColor", re(a.success.light, 0.6)), g(a.Alert, "warningColor", re(a.warning.light, 0.6)), g(a.Alert, "errorFilledBg", O("palette-error-main")), g(a.Alert, "infoFilledBg", O("palette-info-main")), g(a.Alert, "successFilledBg", O("palette-success-main")), g(a.Alert, "warningFilledBg", O("palette-warning-main")), g(a.Alert, "errorFilledColor", Oe(() => a.getContrastText(a.error.main))), g(a.Alert, "infoFilledColor", Oe(() => a.getContrastText(a.info.main))), g(a.Alert, "successFilledColor", Oe(() => a.getContrastText(a.success.main))), g(a.Alert, "warningFilledColor", Oe(() => a.getContrastText(a.warning.main))), g(a.Alert, "errorStandardBg", ne(a.error.light, 0.9)), g(a.Alert, "infoStandardBg", ne(a.info.light, 0.9)), g(a.Alert, "successStandardBg", ne(a.success.light, 0.9)), g(a.Alert, "warningStandardBg", ne(a.warning.light, 0.9)), g(a.Alert, "errorIconColor", O("palette-error-main")), g(a.Alert, "infoIconColor", O("palette-info-main")), g(a.Alert, "successIconColor", O("palette-success-main")), g(a.Alert, "warningIconColor", O("palette-warning-main")), g(a.AppBar, "defaultBg", O("palette-grey-100")), g(a.Avatar, "defaultBg", O("palette-grey-400")), g(a.Button, "inheritContainedBg", O("palette-grey-300")), g(a.Button, "inheritContainedHoverBg", O("palette-grey-A100")), g(a.Chip, "defaultBorder", O("palette-grey-400")), g(a.Chip, "defaultAvatarColor", O("palette-grey-700")), g(a.Chip, "defaultIconColor", O("palette-grey-700")), g(a.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), g(a.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), g(a.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), g(a.LinearProgress, "primaryBg", ne(a.primary.main, 0.62)), g(a.LinearProgress, "secondaryBg", ne(a.secondary.main, 0.62)), g(a.LinearProgress, "errorBg", ne(a.error.main, 0.62)), g(a.LinearProgress, "infoBg", ne(a.info.main, 0.62)), g(a.LinearProgress, "successBg", ne(a.success.main, 0.62)), g(a.LinearProgress, "warningBg", ne(a.warning.main, 0.62)), g(a.Skeleton, "bg", `rgba(${O("palette-text-primaryChannel")} / 0.11)`), g(a.Slider, "primaryTrack", ne(a.primary.main, 0.62)), g(a.Slider, "secondaryTrack", ne(a.secondary.main, 0.62)), g(a.Slider, "errorTrack", ne(a.error.main, 0.62)), g(a.Slider, "infoTrack", ne(a.info.main, 0.62)), g(a.Slider, "successTrack", ne(a.success.main, 0.62)), g(a.Slider, "warningTrack", ne(a.warning.main, 0.62));
4141
+ if (a.mode === "light" && (g(a.common, "background", "#fff"), g(a.common, "onBackground", "#000")), a.mode === "dark" && (g(a.common, "background", "#000"), g(a.common, "onBackground", "#fff")), rs(a, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), a.mode === "light") {
4142
+ g(a.Alert, "errorColor", re(a.error.light, 0.6)), g(a.Alert, "infoColor", re(a.info.light, 0.6)), g(a.Alert, "successColor", re(a.success.light, 0.6)), g(a.Alert, "warningColor", re(a.warning.light, 0.6)), g(a.Alert, "errorFilledBg", R("palette-error-main")), g(a.Alert, "infoFilledBg", R("palette-info-main")), g(a.Alert, "successFilledBg", R("palette-success-main")), g(a.Alert, "warningFilledBg", R("palette-warning-main")), g(a.Alert, "errorFilledColor", Oe(() => a.getContrastText(a.error.main))), g(a.Alert, "infoFilledColor", Oe(() => a.getContrastText(a.info.main))), g(a.Alert, "successFilledColor", Oe(() => a.getContrastText(a.success.main))), g(a.Alert, "warningFilledColor", Oe(() => a.getContrastText(a.warning.main))), g(a.Alert, "errorStandardBg", ne(a.error.light, 0.9)), g(a.Alert, "infoStandardBg", ne(a.info.light, 0.9)), g(a.Alert, "successStandardBg", ne(a.success.light, 0.9)), g(a.Alert, "warningStandardBg", ne(a.warning.light, 0.9)), g(a.Alert, "errorIconColor", R("palette-error-main")), g(a.Alert, "infoIconColor", R("palette-info-main")), g(a.Alert, "successIconColor", R("palette-success-main")), g(a.Alert, "warningIconColor", R("palette-warning-main")), g(a.AppBar, "defaultBg", R("palette-grey-100")), g(a.Avatar, "defaultBg", R("palette-grey-400")), g(a.Button, "inheritContainedBg", R("palette-grey-300")), g(a.Button, "inheritContainedHoverBg", R("palette-grey-A100")), g(a.Chip, "defaultBorder", R("palette-grey-400")), g(a.Chip, "defaultAvatarColor", R("palette-grey-700")), g(a.Chip, "defaultIconColor", R("palette-grey-700")), g(a.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), g(a.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), g(a.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), g(a.LinearProgress, "primaryBg", ne(a.primary.main, 0.62)), g(a.LinearProgress, "secondaryBg", ne(a.secondary.main, 0.62)), g(a.LinearProgress, "errorBg", ne(a.error.main, 0.62)), g(a.LinearProgress, "infoBg", ne(a.info.main, 0.62)), g(a.LinearProgress, "successBg", ne(a.success.main, 0.62)), g(a.LinearProgress, "warningBg", ne(a.warning.main, 0.62)), g(a.Skeleton, "bg", `rgba(${R("palette-text-primaryChannel")} / 0.11)`), g(a.Slider, "primaryTrack", ne(a.primary.main, 0.62)), g(a.Slider, "secondaryTrack", ne(a.secondary.main, 0.62)), g(a.Slider, "errorTrack", ne(a.error.main, 0.62)), g(a.Slider, "infoTrack", ne(a.info.main, 0.62)), g(a.Slider, "successTrack", ne(a.success.main, 0.62)), g(a.Slider, "warningTrack", ne(a.warning.main, 0.62));
4129
4143
  const U = Et(a.background.default, 0.8);
4130
- g(a.SnackbarContent, "bg", U), g(a.SnackbarContent, "color", Oe(() => a.getContrastText(U))), g(a.SpeedDialAction, "fabHoverBg", Et(a.background.paper, 0.15)), g(a.StepConnector, "border", O("palette-grey-400")), g(a.StepContent, "border", O("palette-grey-400")), g(a.Switch, "defaultColor", O("palette-common-white")), g(a.Switch, "defaultDisabledColor", O("palette-grey-100")), g(a.Switch, "primaryDisabledColor", ne(a.primary.main, 0.62)), g(a.Switch, "secondaryDisabledColor", ne(a.secondary.main, 0.62)), g(a.Switch, "errorDisabledColor", ne(a.error.main, 0.62)), g(a.Switch, "infoDisabledColor", ne(a.info.main, 0.62)), g(a.Switch, "successDisabledColor", ne(a.success.main, 0.62)), g(a.Switch, "warningDisabledColor", ne(a.warning.main, 0.62)), g(a.TableCell, "border", ne(St(a.divider, 1), 0.88)), g(a.Tooltip, "bg", St(a.grey[700], 0.92));
4144
+ g(a.SnackbarContent, "bg", U), g(a.SnackbarContent, "color", Oe(() => a.getContrastText(U))), g(a.SpeedDialAction, "fabHoverBg", Et(a.background.paper, 0.15)), g(a.StepConnector, "border", R("palette-grey-400")), g(a.StepContent, "border", R("palette-grey-400")), g(a.Switch, "defaultColor", R("palette-common-white")), g(a.Switch, "defaultDisabledColor", R("palette-grey-100")), g(a.Switch, "primaryDisabledColor", ne(a.primary.main, 0.62)), g(a.Switch, "secondaryDisabledColor", ne(a.secondary.main, 0.62)), g(a.Switch, "errorDisabledColor", ne(a.error.main, 0.62)), g(a.Switch, "infoDisabledColor", ne(a.info.main, 0.62)), g(a.Switch, "successDisabledColor", ne(a.success.main, 0.62)), g(a.Switch, "warningDisabledColor", ne(a.warning.main, 0.62)), g(a.TableCell, "border", ne(St(a.divider, 1), 0.88)), g(a.Tooltip, "bg", St(a.grey[700], 0.92));
4131
4145
  }
4132
4146
  if (a.mode === "dark") {
4133
- g(a.Alert, "errorColor", ne(a.error.light, 0.6)), g(a.Alert, "infoColor", ne(a.info.light, 0.6)), g(a.Alert, "successColor", ne(a.success.light, 0.6)), g(a.Alert, "warningColor", ne(a.warning.light, 0.6)), g(a.Alert, "errorFilledBg", O("palette-error-dark")), g(a.Alert, "infoFilledBg", O("palette-info-dark")), g(a.Alert, "successFilledBg", O("palette-success-dark")), g(a.Alert, "warningFilledBg", O("palette-warning-dark")), g(a.Alert, "errorFilledColor", Oe(() => a.getContrastText(a.error.dark))), g(a.Alert, "infoFilledColor", Oe(() => a.getContrastText(a.info.dark))), g(a.Alert, "successFilledColor", Oe(() => a.getContrastText(a.success.dark))), g(a.Alert, "warningFilledColor", Oe(() => a.getContrastText(a.warning.dark))), g(a.Alert, "errorStandardBg", re(a.error.light, 0.9)), g(a.Alert, "infoStandardBg", re(a.info.light, 0.9)), g(a.Alert, "successStandardBg", re(a.success.light, 0.9)), g(a.Alert, "warningStandardBg", re(a.warning.light, 0.9)), g(a.Alert, "errorIconColor", O("palette-error-main")), g(a.Alert, "infoIconColor", O("palette-info-main")), g(a.Alert, "successIconColor", O("palette-success-main")), g(a.Alert, "warningIconColor", O("palette-warning-main")), g(a.AppBar, "defaultBg", O("palette-grey-900")), g(a.AppBar, "darkBg", O("palette-background-paper")), g(a.AppBar, "darkColor", O("palette-text-primary")), g(a.Avatar, "defaultBg", O("palette-grey-600")), g(a.Button, "inheritContainedBg", O("palette-grey-800")), g(a.Button, "inheritContainedHoverBg", O("palette-grey-700")), g(a.Chip, "defaultBorder", O("palette-grey-700")), g(a.Chip, "defaultAvatarColor", O("palette-grey-300")), g(a.Chip, "defaultIconColor", O("palette-grey-300")), g(a.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), g(a.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), g(a.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), g(a.LinearProgress, "primaryBg", re(a.primary.main, 0.5)), g(a.LinearProgress, "secondaryBg", re(a.secondary.main, 0.5)), g(a.LinearProgress, "errorBg", re(a.error.main, 0.5)), g(a.LinearProgress, "infoBg", re(a.info.main, 0.5)), g(a.LinearProgress, "successBg", re(a.success.main, 0.5)), g(a.LinearProgress, "warningBg", re(a.warning.main, 0.5)), g(a.Skeleton, "bg", `rgba(${O("palette-text-primaryChannel")} / 0.13)`), g(a.Slider, "primaryTrack", re(a.primary.main, 0.5)), g(a.Slider, "secondaryTrack", re(a.secondary.main, 0.5)), g(a.Slider, "errorTrack", re(a.error.main, 0.5)), g(a.Slider, "infoTrack", re(a.info.main, 0.5)), g(a.Slider, "successTrack", re(a.success.main, 0.5)), g(a.Slider, "warningTrack", re(a.warning.main, 0.5));
4147
+ g(a.Alert, "errorColor", ne(a.error.light, 0.6)), g(a.Alert, "infoColor", ne(a.info.light, 0.6)), g(a.Alert, "successColor", ne(a.success.light, 0.6)), g(a.Alert, "warningColor", ne(a.warning.light, 0.6)), g(a.Alert, "errorFilledBg", R("palette-error-dark")), g(a.Alert, "infoFilledBg", R("palette-info-dark")), g(a.Alert, "successFilledBg", R("palette-success-dark")), g(a.Alert, "warningFilledBg", R("palette-warning-dark")), g(a.Alert, "errorFilledColor", Oe(() => a.getContrastText(a.error.dark))), g(a.Alert, "infoFilledColor", Oe(() => a.getContrastText(a.info.dark))), g(a.Alert, "successFilledColor", Oe(() => a.getContrastText(a.success.dark))), g(a.Alert, "warningFilledColor", Oe(() => a.getContrastText(a.warning.dark))), g(a.Alert, "errorStandardBg", re(a.error.light, 0.9)), g(a.Alert, "infoStandardBg", re(a.info.light, 0.9)), g(a.Alert, "successStandardBg", re(a.success.light, 0.9)), g(a.Alert, "warningStandardBg", re(a.warning.light, 0.9)), g(a.Alert, "errorIconColor", R("palette-error-main")), g(a.Alert, "infoIconColor", R("palette-info-main")), g(a.Alert, "successIconColor", R("palette-success-main")), g(a.Alert, "warningIconColor", R("palette-warning-main")), g(a.AppBar, "defaultBg", R("palette-grey-900")), g(a.AppBar, "darkBg", R("palette-background-paper")), g(a.AppBar, "darkColor", R("palette-text-primary")), g(a.Avatar, "defaultBg", R("palette-grey-600")), g(a.Button, "inheritContainedBg", R("palette-grey-800")), g(a.Button, "inheritContainedHoverBg", R("palette-grey-700")), g(a.Chip, "defaultBorder", R("palette-grey-700")), g(a.Chip, "defaultAvatarColor", R("palette-grey-300")), g(a.Chip, "defaultIconColor", R("palette-grey-300")), g(a.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), g(a.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), g(a.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), g(a.LinearProgress, "primaryBg", re(a.primary.main, 0.5)), g(a.LinearProgress, "secondaryBg", re(a.secondary.main, 0.5)), g(a.LinearProgress, "errorBg", re(a.error.main, 0.5)), g(a.LinearProgress, "infoBg", re(a.info.main, 0.5)), g(a.LinearProgress, "successBg", re(a.success.main, 0.5)), g(a.LinearProgress, "warningBg", re(a.warning.main, 0.5)), g(a.Skeleton, "bg", `rgba(${R("palette-text-primaryChannel")} / 0.13)`), g(a.Slider, "primaryTrack", re(a.primary.main, 0.5)), g(a.Slider, "secondaryTrack", re(a.secondary.main, 0.5)), g(a.Slider, "errorTrack", re(a.error.main, 0.5)), g(a.Slider, "infoTrack", re(a.info.main, 0.5)), g(a.Slider, "successTrack", re(a.success.main, 0.5)), g(a.Slider, "warningTrack", re(a.warning.main, 0.5));
4134
4148
  const U = Et(a.background.default, 0.98);
4135
- g(a.SnackbarContent, "bg", U), g(a.SnackbarContent, "color", Oe(() => a.getContrastText(U))), g(a.SpeedDialAction, "fabHoverBg", Et(a.background.paper, 0.15)), g(a.StepConnector, "border", O("palette-grey-600")), g(a.StepContent, "border", O("palette-grey-600")), g(a.Switch, "defaultColor", O("palette-grey-300")), g(a.Switch, "defaultDisabledColor", O("palette-grey-600")), g(a.Switch, "primaryDisabledColor", re(a.primary.main, 0.55)), g(a.Switch, "secondaryDisabledColor", re(a.secondary.main, 0.55)), g(a.Switch, "errorDisabledColor", re(a.error.main, 0.55)), g(a.Switch, "infoDisabledColor", re(a.info.main, 0.55)), g(a.Switch, "successDisabledColor", re(a.success.main, 0.55)), g(a.Switch, "warningDisabledColor", re(a.warning.main, 0.55)), g(a.TableCell, "border", re(St(a.divider, 1), 0.68)), g(a.Tooltip, "bg", St(a.grey[700], 0.92));
4149
+ g(a.SnackbarContent, "bg", U), g(a.SnackbarContent, "color", Oe(() => a.getContrastText(U))), g(a.SpeedDialAction, "fabHoverBg", Et(a.background.paper, 0.15)), g(a.StepConnector, "border", R("palette-grey-600")), g(a.StepContent, "border", R("palette-grey-600")), g(a.Switch, "defaultColor", R("palette-grey-300")), g(a.Switch, "defaultDisabledColor", R("palette-grey-600")), g(a.Switch, "primaryDisabledColor", re(a.primary.main, 0.55)), g(a.Switch, "secondaryDisabledColor", re(a.secondary.main, 0.55)), g(a.Switch, "errorDisabledColor", re(a.error.main, 0.55)), g(a.Switch, "infoDisabledColor", re(a.info.main, 0.55)), g(a.Switch, "successDisabledColor", re(a.success.main, 0.55)), g(a.Switch, "warningDisabledColor", re(a.warning.main, 0.55)), g(a.TableCell, "border", re(St(a.divider, 1), 0.68)), g(a.Tooltip, "bg", St(a.grey[700], 0.92));
4136
4150
  }
4137
4151
  Re(a.background, "default"), Re(a.background, "paper"), Re(a.common, "background"), Re(a.common, "onBackground"), Re(a, "divider"), Object.keys(a).forEach((U) => {
4138
- const N = a[U];
4139
- U !== "tonalOffset" && N && typeof N == "object" && (N.main && g(a[U], "mainChannel", it(at(N.main))), N.light && g(a[U], "lightChannel", it(at(N.light))), N.dark && g(a[U], "darkChannel", it(at(N.dark))), N.contrastText && g(a[U], "contrastTextChannel", it(at(N.contrastText))), U === "text" && (Re(a[U], "primary"), Re(a[U], "secondary")), U === "action" && (N.active && Re(a[U], "active"), N.selected && Re(a[U], "selected")));
4152
+ const j = a[U];
4153
+ U !== "tonalOffset" && j && typeof j == "object" && (j.main && g(a[U], "mainChannel", it(at(j.main))), j.light && g(a[U], "lightChannel", it(at(j.light))), j.dark && g(a[U], "darkChannel", it(at(j.dark))), j.contrastText && g(a[U], "contrastTextChannel", it(at(j.contrastText))), U === "text" && (Re(a[U], "primary"), Re(a[U], "secondary")), U === "action" && (j.active && Re(a[U], "active"), j.selected && Re(a[U], "selected")));
4140
4154
  });
4141
4155
  }), $ = t.reduce((W, a) => Se(W, a), $);
4142
4156
  const E = {
4143
4157
  prefix: i,
4144
4158
  disableCssColorScheme: o,
4145
4159
  shouldSkipGeneratingVar: c,
4146
- getSelector: Za($)
4160
+ getSelector: ts($)
4147
4161
  }, {
4148
4162
  vars: q,
4149
4163
  generateThemeVars: oe,
4150
4164
  generateStyleSheets: ee
4151
- } = Ta($, E);
4165
+ } = _a($, E);
4152
4166
  return $.vars = q, Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([W, a]) => {
4153
4167
  $[W] = a;
4154
4168
  }), $.generateThemeVars = oe, $.generateStyleSheets = ee, $.generateSpacing = function() {
4155
- return _n(d.spacing, cr(this));
4156
- }, $.getColorSchemeSelector = wa(u), $.spacing = $.generateSpacing(), $.shouldSkipGeneratingVar = c, $.unstable_sxConfig = {
4169
+ return _n(p.spacing, cr(this));
4170
+ }, $.getColorSchemeSelector = Oa(u), $.spacing = $.generateSpacing(), $.shouldSkipGeneratingVar = c, $.unstable_sxConfig = {
4157
4171
  ...Bt,
4158
- ...d?.unstable_sxConfig
4172
+ ...p?.unstable_sxConfig
4159
4173
  }, $.unstable_sx = function(a) {
4160
4174
  return et({
4161
4175
  sx: a,
4162
4176
  theme: this
4163
4177
  });
4164
- }, $.toRuntimeSource = jn, $;
4178
+ }, $.toRuntimeSource = Nn, $;
4165
4179
  }
4166
4180
  function dn(e, t, r) {
4167
4181
  e.colorSchemes && r && (e.colorSchemes[t] = {
@@ -4182,7 +4196,7 @@ function Mn(e = {}, ...t) {
4182
4196
  },
4183
4197
  defaultColorScheme: i = r?.mode,
4184
4198
  ...c
4185
- } = e, u = i || "light", f = o?.[u], d = {
4199
+ } = e, u = i || "light", f = o?.[u], p = {
4186
4200
  ...o,
4187
4201
  ...r ? {
4188
4202
  [u]: {
@@ -4195,46 +4209,46 @@ function Mn(e = {}, ...t) {
4195
4209
  if (!("colorSchemes" in e))
4196
4210
  return nr(e, ...t);
4197
4211
  let m = r;
4198
- "palette" in e || d[u] && (d[u] !== !0 ? m = d[u].palette : u === "dark" && (m = {
4212
+ "palette" in e || p[u] && (p[u] !== !0 ? m = p[u].palette : u === "dark" && (m = {
4199
4213
  mode: "dark"
4200
4214
  }));
4201
- const p = nr({
4215
+ const d = nr({
4202
4216
  ...e,
4203
4217
  palette: m
4204
4218
  }, ...t);
4205
- return p.defaultColorScheme = u, p.colorSchemes = d, p.palette.mode === "light" && (p.colorSchemes.light = {
4206
- ...d.light !== !0 && d.light,
4207
- palette: p.palette
4208
- }, dn(p, "dark", d.dark)), p.palette.mode === "dark" && (p.colorSchemes.dark = {
4209
- ...d.dark !== !0 && d.dark,
4210
- palette: p.palette
4211
- }, dn(p, "light", d.light)), p;
4219
+ return d.defaultColorScheme = u, d.colorSchemes = p, d.palette.mode === "light" && (d.colorSchemes.light = {
4220
+ ...p.light !== !0 && p.light,
4221
+ palette: d.palette
4222
+ }, dn(d, "dark", p.dark)), d.palette.mode === "dark" && (d.colorSchemes.dark = {
4223
+ ...p.dark !== !0 && p.dark,
4224
+ palette: d.palette
4225
+ }, dn(d, "light", p.light)), d;
4212
4226
  }
4213
- return !r && !("light" in d) && u === "light" && (d.light = !0), ns({
4227
+ return !r && !("light" in p) && u === "light" && (p.light = !0), is({
4214
4228
  ...c,
4215
- colorSchemes: d,
4229
+ colorSchemes: p,
4216
4230
  defaultColorScheme: u,
4217
4231
  ...typeof n != "boolean" && n
4218
4232
  }, ...t);
4219
4233
  }
4220
- const os = Mn(), is = "$$material";
4221
- function as(e) {
4234
+ const as = Mn(), ss = "$$material";
4235
+ function cs(e) {
4222
4236
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
4223
4237
  }
4224
- const ss = (e) => as(e) && e !== "classes", cs = ca({
4225
- themeId: is,
4226
- defaultTheme: os,
4227
- rootShouldForwardProp: ss
4228
- }), ls = Sa;
4238
+ const ls = (e) => cs(e) && e !== "classes", us = ua({
4239
+ themeId: ss,
4240
+ defaultTheme: as,
4241
+ rootShouldForwardProp: ls
4242
+ }), fs = Ca;
4229
4243
  process.env.NODE_ENV !== "production" && (K.node, K.object.isRequired);
4230
- function us(e) {
4231
- return va(e);
4244
+ function ds(e) {
4245
+ return Ea(e);
4232
4246
  }
4233
- function fs(e) {
4247
+ function ps(e) {
4234
4248
  return sr("MuiSvgIcon", e);
4235
4249
  }
4236
- Qo("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
4237
- const ds = (e) => {
4250
+ ei("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
4251
+ const ms = (e) => {
4238
4252
  const {
4239
4253
  color: t,
4240
4254
  fontSize: r,
@@ -4242,8 +4256,8 @@ const ds = (e) => {
4242
4256
  } = e, o = {
4243
4257
  root: ["root", t !== "inherit" && `color${We(t)}`, `fontSize${We(r)}`]
4244
4258
  };
4245
- return Ko(o, fs, n);
4246
- }, ps = cs("svg", {
4259
+ return Jo(o, ps, n);
4260
+ }, hs = us("svg", {
4247
4261
  name: "MuiSvgIcon",
4248
4262
  slot: "Root",
4249
4263
  overridesResolver: (e, t) => {
@@ -4252,7 +4266,7 @@ const ds = (e) => {
4252
4266
  } = e;
4253
4267
  return [t.root, r.color !== "inherit" && t[`color${We(r.color)}`], t[`fontSize${We(r.fontSize)}`]];
4254
4268
  }
4255
- })(ls(({
4269
+ })(fs(({
4256
4270
  theme: e
4257
4271
  }) => ({
4258
4272
  userSelect: "none",
@@ -4339,7 +4353,7 @@ const ds = (e) => {
4339
4353
  }
4340
4354
  ]
4341
4355
  }))), Rt = /* @__PURE__ */ Ie.forwardRef(function(t, r) {
4342
- const n = us({
4356
+ const n = ds({
4343
4357
  props: t,
4344
4358
  name: "MuiSvgIcon"
4345
4359
  }), {
@@ -4348,9 +4362,9 @@ const ds = (e) => {
4348
4362
  color: c = "inherit",
4349
4363
  component: u = "svg",
4350
4364
  fontSize: f = "medium",
4351
- htmlColor: d,
4365
+ htmlColor: p,
4352
4366
  inheritViewBox: m = !1,
4353
- titleAccess: p,
4367
+ titleAccess: d,
4354
4368
  viewBox: h = "0 0 24 24",
4355
4369
  ...y
4356
4370
  } = n, b = /* @__PURE__ */ Ie.isValidElement(o) && o.type === "svg", l = {
@@ -4362,23 +4376,23 @@ const ds = (e) => {
4362
4376
  inheritViewBox: m,
4363
4377
  viewBox: h,
4364
4378
  hasSvgAsChild: b
4365
- }, T = {};
4366
- m || (T.viewBox = h);
4367
- const S = ds(l);
4368
- return /* @__PURE__ */ x.jsxs(ps, {
4379
+ }, w = {};
4380
+ m || (w.viewBox = h);
4381
+ const S = ms(l);
4382
+ return /* @__PURE__ */ x.jsxs(hs, {
4369
4383
  as: u,
4370
- className: ei(S.root, i),
4384
+ className: ri(S.root, i),
4371
4385
  focusable: "false",
4372
- color: d,
4373
- "aria-hidden": p ? void 0 : !0,
4374
- role: p ? "img" : void 0,
4386
+ color: p,
4387
+ "aria-hidden": d ? void 0 : !0,
4388
+ role: d ? "img" : void 0,
4375
4389
  ref: r,
4376
- ...T,
4390
+ ...w,
4377
4391
  ...y,
4378
4392
  ...b && o.props,
4379
4393
  ownerState: l,
4380
- children: [b ? o.props.children : o, p ? /* @__PURE__ */ x.jsx("title", {
4381
- children: p
4394
+ children: [b ? o.props.children : o, d ? /* @__PURE__ */ x.jsx("title", {
4395
+ children: d
4382
4396
  }) : null]
4383
4397
  });
4384
4398
  });
@@ -4468,15 +4482,15 @@ function dt(e, t) {
4468
4482
  }
4469
4483
  const or = dt(/* @__PURE__ */ x.jsx("path", {
4470
4484
  d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2m6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1z"
4471
- }), "Notifications"), ms = ({
4485
+ }), "Notifications"), gs = ({
4472
4486
  unreadCount: e = 0,
4473
4487
  onClick: t,
4474
4488
  showBadge: r = !0
4475
- }) => /* @__PURE__ */ x.jsx(xt, { onClick: t, color: "inherit", className: "relative", children: r && e > 0 ? /* @__PURE__ */ x.jsx(lo, { badgeContent: e > 99 ? "99+" : e, color: "error", children: /* @__PURE__ */ x.jsx(or, {}) }) : /* @__PURE__ */ x.jsx(or, {}) }), hs = dt(/* @__PURE__ */ x.jsx("path", {
4489
+ }) => /* @__PURE__ */ x.jsx(xt, { onClick: t, color: "inherit", className: "relative", children: r && e > 0 ? /* @__PURE__ */ x.jsx(uo, { badgeContent: e > 99 ? "99+" : e, color: "error", children: /* @__PURE__ */ x.jsx(or, {}) }) : /* @__PURE__ */ x.jsx(or, {}) }), ys = dt(/* @__PURE__ */ x.jsx("path", {
4476
4490
  d: "M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"
4477
- }), "Settings"), gs = dt(/* @__PURE__ */ x.jsx("path", {
4491
+ }), "Settings"), bs = dt(/* @__PURE__ */ x.jsx("path", {
4478
4492
  d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"
4479
- }), "CheckCircle"), ys = dt(/* @__PURE__ */ x.jsx("path", {
4493
+ }), "CheckCircle"), vs = dt(/* @__PURE__ */ x.jsx("path", {
4480
4494
  d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
4481
4495
  }), "Delete"), Bn = ({
4482
4496
  notification: e,
@@ -4486,13 +4500,13 @@ const or = dt(/* @__PURE__ */ x.jsx("path", {
4486
4500
  }) => {
4487
4501
  const o = e.read !== !0, i = () => {
4488
4502
  n && n(e);
4489
- }, c = (p) => {
4490
- p.stopPropagation(), t && t(e.notificationId);
4491
- }, u = (p) => {
4492
- p.stopPropagation(), r && r(e.notificationId);
4493
- }, f = e.payload || {}, d = e.renderedContent?.inApp?.title || e.renderedContent?.push?.title || f.title || f.message || "Notification", m = e.renderedContent?.inApp?.message || e.renderedContent?.push?.body || f.message || "";
4503
+ }, c = (d) => {
4504
+ d.stopPropagation(), t && t(e.notificationId);
4505
+ }, u = (d) => {
4506
+ d.stopPropagation(), r && r(e.notificationId);
4507
+ }, f = e.payload || {}, p = e.renderedContent?.inApp?.title || e.renderedContent?.push?.title || f.title || f.message || "Notification", m = e.renderedContent?.inApp?.message || e.renderedContent?.push?.body || f.message || "";
4494
4508
  return /* @__PURE__ */ x.jsxs(
4495
- uo,
4509
+ fo,
4496
4510
  {
4497
4511
  className: `cursor-pointer hover:bg-gray-50 ${o ? "bg-blue-50" : ""}`,
4498
4512
  onClick: i,
@@ -4506,11 +4520,11 @@ const or = dt(/* @__PURE__ */ x.jsx("path", {
4506
4520
  children: [
4507
4521
  /* @__PURE__ */ x.jsx(ye, { className: "mr-2", children: /* @__PURE__ */ x.jsx(or, { color: o ? "primary" : "disabled" }) }),
4508
4522
  /* @__PURE__ */ x.jsx(
4509
- fo,
4523
+ po,
4510
4524
  {
4511
4525
  primary: /* @__PURE__ */ x.jsxs(ye, { className: "flex items-center gap-2", children: [
4512
- /* @__PURE__ */ x.jsx("span", { className: "font-medium", children: d }),
4513
- o && /* @__PURE__ */ x.jsx(po, { label: "New", size: "small", color: "primary", className: "h-5 text-xs" })
4526
+ /* @__PURE__ */ x.jsx("span", { className: "font-medium", children: p }),
4527
+ o && /* @__PURE__ */ x.jsx(mo, { label: "New", size: "small", color: "primary", className: "h-5 text-xs" })
4514
4528
  ] }),
4515
4529
  secondary: m,
4516
4530
  primaryTypographyProps: {
@@ -4518,16 +4532,16 @@ const or = dt(/* @__PURE__ */ x.jsx("path", {
4518
4532
  }
4519
4533
  }
4520
4534
  ),
4521
- /* @__PURE__ */ x.jsx(mo, { children: /* @__PURE__ */ x.jsxs(ye, { className: "flex items-center gap-1", children: [
4522
- o && /* @__PURE__ */ x.jsx(xt, { edge: "end", size: "small", onClick: c, title: "Mark as read", children: /* @__PURE__ */ x.jsx(gs, { fontSize: "small" }) }),
4523
- /* @__PURE__ */ x.jsx(xt, { edge: "end", size: "small", onClick: u, title: "Delete", children: /* @__PURE__ */ x.jsx(ys, { fontSize: "small" }) })
4535
+ /* @__PURE__ */ x.jsx(ho, { children: /* @__PURE__ */ x.jsxs(ye, { className: "flex items-center gap-1", children: [
4536
+ o && /* @__PURE__ */ x.jsx(xt, { edge: "end", size: "small", onClick: c, title: "Mark as read", children: /* @__PURE__ */ x.jsx(bs, { fontSize: "small" }) }),
4537
+ /* @__PURE__ */ x.jsx(xt, { edge: "end", size: "small", onClick: u, title: "Delete", children: /* @__PURE__ */ x.jsx(vs, { fontSize: "small" }) })
4524
4538
  ] }) })
4525
4539
  ]
4526
4540
  }
4527
4541
  );
4528
- }, bs = dt(/* @__PURE__ */ x.jsx("path", {
4542
+ }, Ss = dt(/* @__PURE__ */ x.jsx("path", {
4529
4543
  d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5z"
4530
- }), "NotificationsNone"), vs = ({
4544
+ }), "NotificationsNone"), Es = ({
4531
4545
  message: e = "No notifications",
4532
4546
  icon: t
4533
4547
  }) => /* @__PURE__ */ x.jsxs(
@@ -4536,7 +4550,7 @@ const or = dt(/* @__PURE__ */ x.jsx("path", {
4536
4550
  className: "flex flex-col items-center justify-center p-8 text-center",
4537
4551
  sx: { minHeight: "200px" },
4538
4552
  children: [
4539
- t || /* @__PURE__ */ x.jsx(bs, { sx: { fontSize: 48, color: "text.secondary", mb: 2 } }),
4553
+ t || /* @__PURE__ */ x.jsx(Ss, { sx: { fontSize: 48, color: "text.secondary", mb: 2 } }),
4540
4554
  /* @__PURE__ */ x.jsx(Tt, { variant: "body2", color: "text.secondary", children: e })
4541
4555
  ]
4542
4556
  }
@@ -4564,22 +4578,22 @@ function lt(e) {
4564
4578
  var t = Object.prototype.toString.call(e);
4565
4579
  return e instanceof Date || ir(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
4566
4580
  }
4567
- function Ss(e, t) {
4581
+ function Cs(e, t) {
4568
4582
  _e(2, arguments);
4569
4583
  var r = lt(e), n = mr(t);
4570
4584
  return isNaN(n) ? /* @__PURE__ */ new Date(NaN) : (n && r.setDate(r.getDate() + n), r);
4571
4585
  }
4572
- var Es = {};
4573
- function Cs() {
4574
- return Es;
4586
+ var xs = {};
4587
+ function Ts() {
4588
+ return xs;
4575
4589
  }
4576
4590
  function pn(e, t) {
4577
4591
  var r, n, o, i, c, u;
4578
4592
  _e(1, arguments);
4579
- var f = Cs(), d = mr((r = (n = (o = (i = void 0) !== null && i !== void 0 ? i : void 0) !== null && o !== void 0 ? o : f.weekStartsOn) !== null && n !== void 0 ? n : (c = f.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : 0);
4580
- if (!(d >= 0 && d <= 6))
4593
+ var f = Ts(), p = mr((r = (n = (o = (i = void 0) !== null && i !== void 0 ? i : void 0) !== null && o !== void 0 ? o : f.weekStartsOn) !== null && n !== void 0 ? n : (c = f.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : 0);
4594
+ if (!(p >= 0 && p <= 6))
4581
4595
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
4582
- var m = lt(e), p = m.getDay(), h = (p < d ? 7 : 0) + p - d;
4596
+ var m = lt(e), d = m.getDay(), h = (d < p ? 7 : 0) + d - p;
4583
4597
  return m.setDate(m.getDate() - h), m.setHours(0, 0, 0, 0), m;
4584
4598
  }
4585
4599
  function mn(e) {
@@ -4592,34 +4606,34 @@ function Fn(e, t) {
4592
4606
  var r = mn(e), n = mn(t);
4593
4607
  return r.getTime() === n.getTime();
4594
4608
  }
4595
- function xs(e, t, r) {
4609
+ function ws(e, t, r) {
4596
4610
  _e(2, arguments);
4597
4611
  var n = pn(e, r), o = pn(t, r);
4598
4612
  return n.getTime() === o.getTime();
4599
4613
  }
4600
- function Ts(e, t) {
4614
+ function _s(e, t) {
4601
4615
  _e(2, arguments);
4602
4616
  var r = lt(e), n = lt(t);
4603
4617
  return r.getFullYear() === n.getFullYear() && r.getMonth() === n.getMonth();
4604
4618
  }
4605
- function ws(e) {
4606
- return _e(1, arguments), Ts(Date.now(), e);
4619
+ function Os(e) {
4620
+ return _e(1, arguments), _s(Date.now(), e);
4607
4621
  }
4608
- function _s(e, t) {
4609
- return _e(1, arguments), xs(e, Date.now(), t);
4622
+ function Rs(e, t) {
4623
+ return _e(1, arguments), ws(e, Date.now(), t);
4610
4624
  }
4611
- function Os(e) {
4625
+ function As(e) {
4612
4626
  return _e(1, arguments), Fn(e, Date.now());
4613
4627
  }
4614
- function Rs(e, t) {
4628
+ function ks(e, t) {
4615
4629
  _e(2, arguments);
4616
4630
  var r = mr(t);
4617
- return Ss(e, -r);
4631
+ return Cs(e, -r);
4618
4632
  }
4619
- function As(e) {
4620
- return _e(1, arguments), Fn(e, Rs(Date.now(), 1));
4633
+ function $s(e) {
4634
+ return _e(1, arguments), Fn(e, ks(Date.now(), 1));
4621
4635
  }
4622
- const ks = ({
4636
+ const Ps = ({
4623
4637
  groupLabel: e,
4624
4638
  notifications: t,
4625
4639
  onMarkAsRead: r,
@@ -4639,7 +4653,7 @@ const ks = ({
4639
4653
  i.notificationId
4640
4654
  ))
4641
4655
  ] });
4642
- function $s(e) {
4656
+ function Is(e) {
4643
4657
  const t = {
4644
4658
  today: [],
4645
4659
  yesterday: [],
@@ -4649,10 +4663,10 @@ function $s(e) {
4649
4663
  };
4650
4664
  return e.forEach((r) => {
4651
4665
  const n = r.createdAt ? new Date(r.createdAt) : /* @__PURE__ */ new Date();
4652
- Os(n) ? t.today.push(r) : As(n) ? t.yesterday.push(r) : _s(n) ? t.thisWeek.push(r) : ws(n) ? t.thisMonth.push(r) : t.older.push(r);
4666
+ As(n) ? t.today.push(r) : $s(n) ? t.yesterday.push(r) : Rs(n) ? t.thisWeek.push(r) : Os(n) ? t.thisMonth.push(r) : t.older.push(r);
4653
4667
  }), t;
4654
4668
  }
4655
- function Ps(e) {
4669
+ function Ns(e) {
4656
4670
  switch (e) {
4657
4671
  case "today":
4658
4672
  return "Today";
@@ -4668,7 +4682,7 @@ function Ps(e) {
4668
4682
  return e;
4669
4683
  }
4670
4684
  }
4671
- const Is = ({
4685
+ const js = ({
4672
4686
  client: e,
4673
4687
  subscriberId: t,
4674
4688
  tenantId: r,
@@ -4679,7 +4693,7 @@ const Is = ({
4679
4693
  push: !0,
4680
4694
  sms: !0,
4681
4695
  in_app: !0
4682
- }), [c, u] = Te({}), [f, d] = Te(!1);
4696
+ }), [c, u] = Te({}), [f, p] = Te(!1);
4683
4697
  Ze(() => {
4684
4698
  m();
4685
4699
  }, []);
@@ -4695,24 +4709,24 @@ const Is = ({
4695
4709
  } catch (y) {
4696
4710
  console.error("Failed to load preferences:", y);
4697
4711
  }
4698
- }, p = async (y, b) => {
4712
+ }, d = async (y, b) => {
4699
4713
  const l = { ...o, [y]: b };
4700
4714
  i(l);
4701
4715
  try {
4702
- d(!0), await e.preferences.update(r, t, {
4716
+ p(!0), await e.preferences.update(r, t, {
4703
4717
  emailEnabled: l.email,
4704
4718
  pushEnabled: l.push,
4705
4719
  smsEnabled: l.sms,
4706
4720
  inAppEnabled: l.in_app
4707
4721
  });
4708
- } catch (T) {
4709
- console.error("Failed to update preferences:", T), i((S) => ({ ...S, [y]: !b }));
4722
+ } catch (w) {
4723
+ console.error("Failed to update preferences:", w), i((S) => ({ ...S, [y]: !b }));
4710
4724
  } finally {
4711
- d(!1);
4725
+ p(!1);
4712
4726
  }
4713
4727
  }, h = async () => {
4714
4728
  try {
4715
- d(!0), await e.preferences.update(r, t, {
4729
+ p(!0), await e.preferences.update(r, t, {
4716
4730
  emailEnabled: o.email,
4717
4731
  pushEnabled: o.push,
4718
4732
  smsEnabled: o.sms,
@@ -4722,7 +4736,7 @@ const Is = ({
4722
4736
  } catch (y) {
4723
4737
  console.error("Failed to save preferences:", y);
4724
4738
  } finally {
4725
- d(!1);
4739
+ p(!1);
4726
4740
  }
4727
4741
  };
4728
4742
  return /* @__PURE__ */ x.jsxs(ye, { sx: { p: 3, minWidth: 300 }, children: [
@@ -4736,7 +4750,7 @@ const Is = ({
4736
4750
  ht,
4737
4751
  {
4738
4752
  checked: o.email,
4739
- onChange: (y) => p("email", y.target.checked),
4753
+ onChange: (y) => d("email", y.target.checked),
4740
4754
  disabled: f
4741
4755
  }
4742
4756
  ),
@@ -4750,7 +4764,7 @@ const Is = ({
4750
4764
  ht,
4751
4765
  {
4752
4766
  checked: o.push,
4753
- onChange: (y) => p("push", y.target.checked),
4767
+ onChange: (y) => d("push", y.target.checked),
4754
4768
  disabled: f
4755
4769
  }
4756
4770
  ),
@@ -4764,7 +4778,7 @@ const Is = ({
4764
4778
  ht,
4765
4779
  {
4766
4780
  checked: o.sms,
4767
- onChange: (y) => p("sms", y.target.checked),
4781
+ onChange: (y) => d("sms", y.target.checked),
4768
4782
  disabled: f
4769
4783
  }
4770
4784
  ),
@@ -4778,7 +4792,7 @@ const Is = ({
4778
4792
  ht,
4779
4793
  {
4780
4794
  checked: o.in_app,
4781
- onChange: (y) => p("in_app", y.target.checked),
4795
+ onChange: (y) => d("in_app", y.target.checked),
4782
4796
  disabled: f
4783
4797
  }
4784
4798
  ),
@@ -4790,7 +4804,7 @@ const Is = ({
4790
4804
  /* @__PURE__ */ x.jsx(Ar, { onClick: h, variant: "contained", size: "small", disabled: f, children: "Save" })
4791
4805
  ] })
4792
4806
  ] });
4793
- }, js = ({
4807
+ }, Ds = ({
4794
4808
  notifications: e,
4795
4809
  loading: t = !1,
4796
4810
  error: r = null,
@@ -4800,23 +4814,23 @@ const Is = ({
4800
4814
  subscriberId: c,
4801
4815
  tenantId: u,
4802
4816
  client: f,
4803
- groupByDate: d = !0
4817
+ groupByDate: p = !0
4804
4818
  }) => {
4805
- const [m, p] = Te("all"), [h, y] = Te(null), b = m === "unread" ? e.filter((w) => w.read !== !0) : e;
4819
+ const [m, d] = Te("all"), [h, y] = Te(null), b = m === "unread" ? e.filter((T) => T.read !== !0) : e;
4806
4820
  if (t)
4807
- return /* @__PURE__ */ x.jsx(ye, { className: "flex items-center justify-center p-8", children: /* @__PURE__ */ x.jsx(ho, { size: 40 }) });
4821
+ return /* @__PURE__ */ x.jsx(ye, { className: "flex items-center justify-center p-8", children: /* @__PURE__ */ x.jsx(go, { size: 40 }) });
4808
4822
  if (r)
4809
- return /* @__PURE__ */ x.jsx(go, { severity: "error", className: "m-4", children: r.message || "Failed to load notifications" });
4823
+ return /* @__PURE__ */ x.jsx(yo, { severity: "error", className: "m-4", children: r.message || "Failed to load notifications" });
4810
4824
  if (e.length === 0)
4811
- return /* @__PURE__ */ x.jsx(vs, {});
4812
- const l = async (w) => {
4813
- o && await o(w);
4814
- }, T = async (w) => {
4815
- i && await i(w);
4816
- }, S = d ? $s(b) : { all: b };
4825
+ return /* @__PURE__ */ x.jsx(Es, {});
4826
+ const l = async (T) => {
4827
+ o && await o(T);
4828
+ }, w = async (T) => {
4829
+ i && await i(T);
4830
+ }, S = p ? Is(b) : { all: b };
4817
4831
  return /* @__PURE__ */ x.jsxs(ye, { children: [
4818
4832
  /* @__PURE__ */ x.jsxs(ye, { sx: { display: "flex", justifyContent: "space-between", alignItems: "center", px: 2, py: 1, borderBottom: 1, borderColor: "divider" }, children: [
4819
- /* @__PURE__ */ x.jsxs(yo, { value: m, onChange: (w, A) => p(A), children: [
4833
+ /* @__PURE__ */ x.jsxs(bo, { value: m, onChange: (T, _) => d(_), children: [
4820
4834
  /* @__PURE__ */ x.jsx(kr, { label: "All", value: "all" }),
4821
4835
  /* @__PURE__ */ x.jsx(kr, { label: "Unread", value: "unread" })
4822
4836
  ] }),
@@ -4825,9 +4839,9 @@ const Is = ({
4825
4839
  xt,
4826
4840
  {
4827
4841
  size: "small",
4828
- onClick: (w) => y(w.currentTarget),
4842
+ onClick: (T) => y(T.currentTarget),
4829
4843
  title: "Preferences",
4830
- children: /* @__PURE__ */ x.jsx(hs, { fontSize: "small" })
4844
+ children: /* @__PURE__ */ x.jsx(ys, { fontSize: "small" })
4831
4845
  }
4832
4846
  ),
4833
4847
  /* @__PURE__ */ x.jsx(
@@ -4838,7 +4852,7 @@ const Is = ({
4838
4852
  onClose: () => y(null),
4839
4853
  anchorOrigin: { vertical: "bottom", horizontal: "right" },
4840
4854
  children: /* @__PURE__ */ x.jsx(
4841
- Is,
4855
+ js,
4842
4856
  {
4843
4857
  client: f,
4844
4858
  subscriberId: c,
@@ -4850,28 +4864,28 @@ const Is = ({
4850
4864
  )
4851
4865
  ] })
4852
4866
  ] }),
4853
- /* @__PURE__ */ x.jsx(bo, { className: "max-h-96 overflow-y-auto", sx: { padding: 0 }, children: d ? Object.entries(S).map(([w, A]) => /* @__PURE__ */ x.jsx(
4854
- ks,
4867
+ /* @__PURE__ */ x.jsx(vo, { className: "max-h-96 overflow-y-auto", sx: { padding: 0 }, children: p ? Object.entries(S).map(([T, _]) => /* @__PURE__ */ x.jsx(
4868
+ Ps,
4855
4869
  {
4856
- groupLabel: Ps(w),
4857
- notifications: A,
4870
+ groupLabel: Ns(T),
4871
+ notifications: _,
4858
4872
  onMarkAsRead: l,
4859
- onDelete: T,
4873
+ onDelete: w,
4860
4874
  onClick: n
4861
4875
  },
4862
- w
4863
- )) : b.map((w) => /* @__PURE__ */ x.jsx(
4876
+ T
4877
+ )) : b.map((T) => /* @__PURE__ */ x.jsx(
4864
4878
  Bn,
4865
4879
  {
4866
- notification: w,
4880
+ notification: T,
4867
4881
  onMarkAsRead: l,
4868
- onDelete: T,
4882
+ onDelete: w,
4869
4883
  onClick: n
4870
4884
  },
4871
- w.notificationId
4885
+ T.notificationId
4872
4886
  )) })
4873
4887
  ] });
4874
- }, Ls = ({
4888
+ }, Ws = ({
4875
4889
  client: e,
4876
4890
  tenantId: t,
4877
4891
  subscriberId: r,
@@ -4881,38 +4895,38 @@ const Is = ({
4881
4895
  showUnreadBadge: c = !0,
4882
4896
  onNotificationClick: u,
4883
4897
  onMarkAsRead: f,
4884
- onDelete: d,
4898
+ onDelete: p,
4885
4899
  pollInterval: m
4886
4900
  }) => {
4887
- const [p, h] = Te(null), y = !!p, {
4901
+ const [d, h] = Te(null), y = !!d, {
4888
4902
  notifications: b,
4889
4903
  loading: l,
4890
- error: T,
4904
+ error: w,
4891
4905
  unreadCount: S,
4892
- connected: w,
4893
- markAsRead: A,
4906
+ connected: T,
4907
+ markAsRead: _,
4894
4908
  deleteNotification: $
4895
- } = No({
4909
+ } = Mo({
4896
4910
  client: e,
4897
4911
  tenantId: t,
4898
4912
  subscriberId: r,
4899
4913
  environmentId: n,
4900
4914
  pollInterval: m
4901
- }), E = (O) => {
4902
- h(O.currentTarget);
4915
+ }), E = (R) => {
4916
+ h(R.currentTarget);
4903
4917
  }, q = () => {
4904
4918
  h(null);
4905
- }, oe = async (O) => {
4906
- await A(O), f && await f(O);
4907
- }, ee = async (O) => {
4908
- await $(O), d && await d(O);
4919
+ }, oe = async (R) => {
4920
+ await _(R), f && await f(R);
4921
+ }, ee = async (R) => {
4922
+ await $(R), p && await p(R);
4909
4923
  }, W = b.slice(0, i), a = () => {
4910
- const O = {};
4911
- return o.includes("top") ? O.top = "8px" : O.bottom = "8px", o.includes("right") ? O.right = "8px" : O.left = "8px", O;
4924
+ const R = {};
4925
+ return o.includes("top") ? R.top = "8px" : R.bottom = "8px", o.includes("right") ? R.right = "8px" : R.left = "8px", R;
4912
4926
  };
4913
4927
  return /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
4914
4928
  /* @__PURE__ */ x.jsx(
4915
- ms,
4929
+ gs,
4916
4930
  {
4917
4931
  unreadCount: S,
4918
4932
  onClick: E,
@@ -4923,7 +4937,7 @@ const Is = ({
4923
4937
  yn,
4924
4938
  {
4925
4939
  open: y,
4926
- anchorEl: p,
4940
+ anchorEl: d,
4927
4941
  onClose: q,
4928
4942
  anchorOrigin: {
4929
4943
  vertical: o.includes("bottom") ? "bottom" : "top",
@@ -4941,20 +4955,20 @@ const Is = ({
4941
4955
  ...a()
4942
4956
  }
4943
4957
  },
4944
- children: /* @__PURE__ */ x.jsxs(vo, { className: "notification-center", sx: { borderRadius: "15px", overflow: "hidden" }, children: [
4958
+ children: /* @__PURE__ */ x.jsxs(So, { className: "notification-center", sx: { borderRadius: "15px", overflow: "hidden" }, children: [
4945
4959
  /* @__PURE__ */ x.jsx(ye, { className: "p-4 border-b border-gray-200", children: /* @__PURE__ */ x.jsxs(ye, { className: "flex items-center justify-between", children: [
4946
4960
  /* @__PURE__ */ x.jsx("h3", { className: "text-lg font-semibold", children: "Notifications" }),
4947
- w && /* @__PURE__ */ x.jsxs(ye, { className: "flex items-center gap-2", children: [
4961
+ T && /* @__PURE__ */ x.jsxs(ye, { className: "flex items-center gap-2", children: [
4948
4962
  /* @__PURE__ */ x.jsx(ye, { className: "w-2 h-2 bg-green-500 rounded-full", title: "Connected" }),
4949
4963
  /* @__PURE__ */ x.jsx("span", { className: "text-xs text-gray-500", children: "Live" })
4950
4964
  ] })
4951
4965
  ] }) }),
4952
4966
  /* @__PURE__ */ x.jsx(
4953
- js,
4967
+ Ds,
4954
4968
  {
4955
4969
  notifications: W,
4956
4970
  loading: l,
4957
- error: T,
4971
+ error: w,
4958
4972
  onNotificationClick: u,
4959
4973
  onMarkAsRead: oe,
4960
4974
  onDelete: ee,
@@ -4968,7 +4982,7 @@ const Is = ({
4968
4982
  }
4969
4983
  )
4970
4984
  ] });
4971
- }, Vs = Mn({
4985
+ }, zs = Mn({
4972
4986
  palette: {
4973
4987
  primary: {
4974
4988
  main: "#1E3A8A"
@@ -5025,14 +5039,14 @@ const Is = ({
5025
5039
  }
5026
5040
  });
5027
5041
  export {
5028
- vs as EmptyState,
5029
- ms as NotificationBell,
5030
- Ls as NotificationCenter,
5042
+ Es as EmptyState,
5043
+ gs as NotificationBell,
5044
+ Ws as NotificationCenter,
5031
5045
  Bn as NotificationItem,
5032
- js as NotificationList,
5033
- Vs as notificationTheme,
5034
- No as useNotificationCenter,
5035
- ko as useNotifications,
5046
+ Ds as NotificationList,
5047
+ zs as notificationTheme,
5048
+ Mo as useNotificationCenter,
5049
+ $o as useNotifications,
5036
5050
  jo as useWebSocket
5037
5051
  };
5038
5052
  //# sourceMappingURL=index.esm.js.map