fansunited-frontend-core 0.0.3 → 0.0.4-RC1

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/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import * as L from "react";
2
- import { forwardRef as fo, useContext as Sn, useState as Pr, useCallback as $r, useEffect as Xt, useMemo as Vt, createContext as po } from "react";
1
+ import * as _ from "react";
2
+ import { forwardRef as fo, useContext as Sn, useState as Er, useCallback as $r, useEffect as Xt, useMemo as Vt, createContext as po } from "react";
3
3
  import { jsx as ue, jsxs as er, Fragment as ho } from "react/jsx-runtime";
4
4
  const nc = [
5
5
  "CLASSIC_QUIZ_ADVOCACY",
@@ -74,17 +74,17 @@ var vo = /* @__PURE__ */ function() {
74
74
  return (o = n.parentNode) == null ? void 0 : o.removeChild(n);
75
75
  }), this.tags = [], this.ctr = 0;
76
76
  }, t;
77
- }(), pe = "-ms-", bt = "-moz-", Q = "-webkit-", Cn = "comm", lr = "rule", cr = "decl", So = "@import", wn = "@keyframes", xo = "@layer", Co = Math.abs, $t = String.fromCharCode, wo = Object.assign;
78
- function Eo(t, e) {
77
+ }(), pe = "-ms-", bt = "-moz-", K = "-webkit-", Cn = "comm", lr = "rule", cr = "decl", So = "@import", wn = "@keyframes", xo = "@layer", Co = Math.abs, $t = String.fromCharCode, wo = Object.assign;
78
+ function Po(t, e) {
79
79
  return ce(t, 0) ^ 45 ? (((e << 2 ^ ce(t, 0)) << 2 ^ ce(t, 1)) << 2 ^ ce(t, 2)) << 2 ^ ce(t, 3) : 0;
80
80
  }
81
- function En(t) {
81
+ function Pn(t) {
82
82
  return t.trim();
83
83
  }
84
- function Po(t, e) {
84
+ function Eo(t, e) {
85
85
  return (t = e.exec(t)) ? t[0] : t;
86
86
  }
87
- function K(t, e, r) {
87
+ function Q(t, e, r) {
88
88
  return t.replace(e, r);
89
89
  }
90
90
  function tr(t, e) {
@@ -108,30 +108,30 @@ function ct(t, e) {
108
108
  function $o(t, e) {
109
109
  return t.map(e).join("");
110
110
  }
111
- var Tt = 1, He = 1, Pn = 0, me = 0, se = 0, qe = "";
111
+ var Tt = 1, qe = 1, En = 0, me = 0, se = 0, He = "";
112
112
  function At(t, e, r, n, o, i, s) {
113
- return { value: t, root: e, parent: r, type: n, props: o, children: i, line: Tt, column: He, length: s, return: "" };
113
+ return { value: t, root: e, parent: r, type: n, props: o, children: i, line: Tt, column: qe, length: s, return: "" };
114
114
  }
115
- function Qe(t, e) {
115
+ function Ke(t, e) {
116
116
  return wo(At("", null, null, "", null, null, 0), t, { length: -t.length }, e);
117
117
  }
118
118
  function To() {
119
119
  return se;
120
120
  }
121
121
  function Ao() {
122
- return se = me > 0 ? ce(qe, --me) : 0, He--, se === 10 && (He = 1, Tt--), se;
122
+ return se = me > 0 ? ce(He, --me) : 0, qe--, se === 10 && (qe = 1, Tt--), se;
123
123
  }
124
124
  function ye() {
125
- return se = me < Pn ? ce(qe, me++) : 0, He++, se === 10 && (He = 1, Tt++), se;
125
+ return se = me < En ? ce(He, me++) : 0, qe++, se === 10 && (qe = 1, Tt++), se;
126
126
  }
127
127
  function Oe() {
128
- return ce(qe, me);
128
+ return ce(He, me);
129
129
  }
130
130
  function pt() {
131
131
  return me;
132
132
  }
133
133
  function it(t, e) {
134
- return Xe(qe, t, e);
134
+ return Xe(He, t, e);
135
135
  }
136
136
  function et(t) {
137
137
  switch (t) {
@@ -166,13 +166,13 @@ function et(t) {
166
166
  return 0;
167
167
  }
168
168
  function $n(t) {
169
- return Tt = He = 1, Pn = $e(qe = t), me = 0, [];
169
+ return Tt = qe = 1, En = $e(He = t), me = 0, [];
170
170
  }
171
171
  function Tn(t) {
172
- return qe = "", t;
172
+ return He = "", t;
173
173
  }
174
174
  function ht(t) {
175
- return En(it(me - 1, rr(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
175
+ return Pn(it(me - 1, rr(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
176
176
  }
177
177
  function Oo(t) {
178
178
  for (; (se = Oe()) && se < 33; )
@@ -217,11 +217,11 @@ function Fo(t) {
217
217
  return Tn(mt("", null, null, null, [""], t = $n(t), 0, [0], t));
218
218
  }
219
219
  function mt(t, e, r, n, o, i, s, a, l) {
220
- for (var c = 0, d = 0, f = s, h = 0, g = 0, m = 0, b = 1, v = 1, S = 1, w = 0, p = "", E = o, u = i, I = n, O = p; v; )
220
+ for (var c = 0, d = 0, f = s, h = 0, g = 0, m = 0, b = 1, v = 1, S = 1, w = 0, p = "", P = o, u = i, I = n, O = p; v; )
221
221
  switch (m = w, w = ye()) {
222
222
  case 40:
223
223
  if (m != 108 && ce(O, f - 1) == 58) {
224
- tr(O += K(ht(w), "&", "&\f"), "&\f") != -1 && (S = -1);
224
+ tr(O += Q(ht(w), "&", "&\f"), "&\f") != -1 && (S = -1);
225
225
  break;
226
226
  }
227
227
  case 34:
@@ -258,21 +258,21 @@ function mt(t, e, r, n, o, i, s, a, l) {
258
258
  case 125:
259
259
  v = 0;
260
260
  case 59 + d:
261
- S == -1 && (O = K(O, /\f/g, "")), g > 0 && $e(O) - f && ct(g > 32 ? Ar(O + ";", n, r, f - 1) : Ar(K(O, " ", "") + ";", n, r, f - 2), l);
261
+ S == -1 && (O = Q(O, /\f/g, "")), g > 0 && $e(O) - f && ct(g > 32 ? Ar(O + ";", n, r, f - 1) : Ar(Q(O, " ", "") + ";", n, r, f - 2), l);
262
262
  break;
263
263
  case 59:
264
264
  O += ";";
265
265
  default:
266
- if (ct(I = Tr(O, e, r, c, d, o, a, p, E = [], u = [], f), i), w === 123)
266
+ if (ct(I = Tr(O, e, r, c, d, o, a, p, P = [], u = [], f), i), w === 123)
267
267
  if (d === 0)
268
- mt(O, e, I, I, E, i, f, a, u);
268
+ mt(O, e, I, I, P, i, f, a, u);
269
269
  else
270
270
  switch (h === 99 && ce(O, 3) === 110 ? 100 : h) {
271
271
  case 100:
272
272
  case 108:
273
273
  case 109:
274
274
  case 115:
275
- mt(t, I, I, n && ct(Tr(t, I, I, 0, 0, o, a, p, o, E = [], f), u), o, u, f, a, n ? E : u);
275
+ mt(t, I, I, n && ct(Tr(t, I, I, 0, 0, o, a, p, o, P = [], f), u), o, u, f, a, n ? P : u);
276
276
  break;
277
277
  default:
278
278
  mt(O, I, I, I, [""], u, 0, a, u);
@@ -308,7 +308,7 @@ function mt(t, e, r, n, o, i, s, a, l) {
308
308
  function Tr(t, e, r, n, o, i, s, a, l, c, d) {
309
309
  for (var f = o - 1, h = o === 0 ? i : [""], g = ur(h), m = 0, b = 0, v = 0; m < n; ++m)
310
310
  for (var S = 0, w = Xe(t, f + 1, f = Co(b = s[m])), p = t; S < g; ++S)
311
- (p = En(b > 0 ? h[S] + " " + w : K(w, /&\f/g, h[S]))) && (l[v++] = p);
311
+ (p = Pn(b > 0 ? h[S] + " " + w : Q(w, /&\f/g, h[S]))) && (l[v++] = p);
312
312
  return At(t, e, r, o === 0 ? lr : a, l, c, d);
313
313
  }
314
314
  function No(t, e, r) {
@@ -346,21 +346,21 @@ function Do(t) {
346
346
  return s;
347
347
  };
348
348
  }
349
- function _o(t) {
349
+ function jo(t) {
350
350
  return function(e) {
351
351
  e.root || (e = e.return) && t(e);
352
352
  };
353
353
  }
354
- var Lo = function(e, r, n) {
354
+ var _o = function(e, r, n) {
355
355
  for (var o = 0, i = 0; o = i, i = Oe(), o === 38 && i === 12 && (r[n] = 1), !et(i); )
356
356
  ye();
357
357
  return it(e, me);
358
- }, jo = function(e, r) {
358
+ }, Lo = function(e, r) {
359
359
  var n = -1, o = 44;
360
360
  do
361
361
  switch (et(o)) {
362
362
  case 0:
363
- o === 38 && Oe() === 12 && (r[n] = 1), e[n] += Lo(me - 1, r, n);
363
+ o === 38 && Oe() === 12 && (r[n] = 1), e[n] += _o(me - 1, r, n);
364
364
  break;
365
365
  case 2:
366
366
  e[n] += ht(o);
@@ -376,7 +376,7 @@ var Lo = function(e, r, n) {
376
376
  while (o = ye());
377
377
  return e;
378
378
  }, Mo = function(e, r) {
379
- return Tn(jo($n(e), r));
379
+ return Tn(Lo($n(e), r));
380
380
  }, Or = /* @__PURE__ */ new WeakMap(), Bo = function(e) {
381
381
  if (!(e.type !== "rule" || !e.parent || // positive .length indicates that this rule contains pseudo
382
382
  // negative .length indicates that this rule has been already prefixed
@@ -399,9 +399,9 @@ var Lo = function(e, r, n) {
399
399
  }
400
400
  };
401
401
  function An(t, e) {
402
- switch (Eo(t, e)) {
402
+ switch (Po(t, e)) {
403
403
  case 5103:
404
- return Q + "print-" + t + t;
404
+ return K + "print-" + t + t;
405
405
  case 5737:
406
406
  case 4201:
407
407
  case 3177:
@@ -427,44 +427,44 @@ function An(t, e) {
427
427
  case 5365:
428
428
  case 5621:
429
429
  case 3829:
430
- return Q + t + t;
430
+ return K + t + t;
431
431
  case 5349:
432
432
  case 4246:
433
433
  case 4810:
434
434
  case 6968:
435
435
  case 2756:
436
- return Q + t + bt + t + pe + t + t;
436
+ return K + t + bt + t + pe + t + t;
437
437
  case 6828:
438
438
  case 4268:
439
- return Q + t + pe + t + t;
439
+ return K + t + pe + t + t;
440
440
  case 6165:
441
- return Q + t + pe + "flex-" + t + t;
441
+ return K + t + pe + "flex-" + t + t;
442
442
  case 5187:
443
- return Q + t + K(t, /(\w+).+(:[^]+)/, Q + "box-$1$2" + pe + "flex-$1$2") + t;
443
+ return K + t + Q(t, /(\w+).+(:[^]+)/, K + "box-$1$2" + pe + "flex-$1$2") + t;
444
444
  case 5443:
445
- return Q + t + pe + "flex-item-" + K(t, /flex-|-self/, "") + t;
445
+ return K + t + pe + "flex-item-" + Q(t, /flex-|-self/, "") + t;
446
446
  case 4675:
447
- return Q + t + pe + "flex-line-pack" + K(t, /align-content|flex-|-self/, "") + t;
447
+ return K + t + pe + "flex-line-pack" + Q(t, /align-content|flex-|-self/, "") + t;
448
448
  case 5548:
449
- return Q + t + pe + K(t, "shrink", "negative") + t;
449
+ return K + t + pe + Q(t, "shrink", "negative") + t;
450
450
  case 5292:
451
- return Q + t + pe + K(t, "basis", "preferred-size") + t;
451
+ return K + t + pe + Q(t, "basis", "preferred-size") + t;
452
452
  case 6060:
453
- return Q + "box-" + K(t, "-grow", "") + Q + t + pe + K(t, "grow", "positive") + t;
453
+ return K + "box-" + Q(t, "-grow", "") + K + t + pe + Q(t, "grow", "positive") + t;
454
454
  case 4554:
455
- return Q + K(t, /([^-])(transform)/g, "$1" + Q + "$2") + t;
455
+ return K + Q(t, /([^-])(transform)/g, "$1" + K + "$2") + t;
456
456
  case 6187:
457
- return K(K(K(t, /(zoom-|grab)/, Q + "$1"), /(image-set)/, Q + "$1"), t, "") + t;
457
+ return Q(Q(Q(t, /(zoom-|grab)/, K + "$1"), /(image-set)/, K + "$1"), t, "") + t;
458
458
  case 5495:
459
459
  case 3959:
460
- return K(t, /(image-set\([^]*)/, Q + "$1$`$1");
460
+ return Q(t, /(image-set\([^]*)/, K + "$1$`$1");
461
461
  case 4968:
462
- return K(K(t, /(.+:)(flex-)?(.*)/, Q + "box-pack:$3" + pe + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Q + t + t;
462
+ return Q(Q(t, /(.+:)(flex-)?(.*)/, K + "box-pack:$3" + pe + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + K + t + t;
463
463
  case 4095:
464
464
  case 3583:
465
465
  case 4068:
466
466
  case 2532:
467
- return K(t, /(.+)-inline(.+)/, Q + "$1$2") + t;
467
+ return Q(t, /(.+)-inline(.+)/, K + "$1$2") + t;
468
468
  case 8116:
469
469
  case 7059:
470
470
  case 5753:
@@ -481,9 +481,9 @@ function An(t, e) {
481
481
  case 109:
482
482
  if (ce(t, e + 4) !== 45) break;
483
483
  case 102:
484
- return K(t, /(.+:)(.+)-([^]+)/, "$1" + Q + "$2-$3$1" + bt + (ce(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
484
+ return Q(t, /(.+:)(.+)-([^]+)/, "$1" + K + "$2-$3$1" + bt + (ce(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
485
485
  case 115:
486
- return ~tr(t, "stretch") ? An(K(t, "stretch", "fill-available"), e) + t : t;
486
+ return ~tr(t, "stretch") ? An(Q(t, "stretch", "fill-available"), e) + t : t;
487
487
  }
488
488
  break;
489
489
  case 4949:
@@ -491,54 +491,54 @@ function An(t, e) {
491
491
  case 6444:
492
492
  switch (ce(t, $e(t) - 3 - (~tr(t, "!important") && 10))) {
493
493
  case 107:
494
- return K(t, ":", ":" + Q) + t;
494
+ return Q(t, ":", ":" + K) + t;
495
495
  case 101:
496
- return K(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Q + (ce(t, 14) === 45 ? "inline-" : "") + "box$3$1" + Q + "$2$3$1" + pe + "$2box$3") + t;
496
+ return Q(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + K + (ce(t, 14) === 45 ? "inline-" : "") + "box$3$1" + K + "$2$3$1" + pe + "$2box$3") + t;
497
497
  }
498
498
  break;
499
499
  case 5936:
500
500
  switch (ce(t, e + 11)) {
501
501
  case 114:
502
- return Q + t + pe + K(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
502
+ return K + t + pe + Q(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
503
503
  case 108:
504
- return Q + t + pe + K(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
504
+ return K + t + pe + Q(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
505
505
  case 45:
506
- return Q + t + pe + K(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
506
+ return K + t + pe + Q(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
507
507
  }
508
- return Q + t + pe + t + t;
508
+ return K + t + pe + t + t;
509
509
  }
510
510
  return t;
511
511
  }
512
- var Ho = function(e, r, n, o) {
512
+ var qo = function(e, r, n, o) {
513
513
  if (e.length > -1 && !e.return) switch (e.type) {
514
514
  case cr:
515
515
  e.return = An(e.value, e.length);
516
516
  break;
517
517
  case wn:
518
- return Be([Qe(e, {
519
- value: K(e.value, "@", "@" + Q)
518
+ return Be([Ke(e, {
519
+ value: Q(e.value, "@", "@" + K)
520
520
  })], o);
521
521
  case lr:
522
522
  if (e.length) return $o(e.props, function(i) {
523
- switch (Po(i, /(::plac\w+|:read-\w+)/)) {
523
+ switch (Eo(i, /(::plac\w+|:read-\w+)/)) {
524
524
  case ":read-only":
525
525
  case ":read-write":
526
- return Be([Qe(e, {
527
- props: [K(i, /:(read-\w+)/, ":" + bt + "$1")]
526
+ return Be([Ke(e, {
527
+ props: [Q(i, /:(read-\w+)/, ":" + bt + "$1")]
528
528
  })], o);
529
529
  case "::placeholder":
530
- return Be([Qe(e, {
531
- props: [K(i, /:(plac\w+)/, ":" + Q + "input-$1")]
532
- }), Qe(e, {
533
- props: [K(i, /:(plac\w+)/, ":" + bt + "$1")]
534
- }), Qe(e, {
535
- props: [K(i, /:(plac\w+)/, pe + "input-$1")]
530
+ return Be([Ke(e, {
531
+ props: [Q(i, /:(plac\w+)/, ":" + K + "input-$1")]
532
+ }), Ke(e, {
533
+ props: [Q(i, /:(plac\w+)/, ":" + bt + "$1")]
534
+ }), Ke(e, {
535
+ props: [Q(i, /:(plac\w+)/, pe + "input-$1")]
536
536
  })], o);
537
537
  }
538
538
  return "";
539
539
  });
540
540
  }
541
- }, qo = [Ho], Uo = function(e) {
541
+ }, Ho = [qo], Uo = function(e) {
542
542
  var r = e.key;
543
543
  if (r === "css") {
544
544
  var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
@@ -547,7 +547,7 @@ var Ho = function(e, r, n, o) {
547
547
  v.indexOf(" ") !== -1 && (document.head.appendChild(b), b.setAttribute("data-s", ""));
548
548
  });
549
549
  }
550
- var o = e.stylisPlugins || qo, i = {}, s, a = [];
550
+ var o = e.stylisPlugins || Ho, i = {}, s, a = [];
551
551
  s = e.container || document.head, Array.prototype.forEach.call(
552
552
  // this means we will ignore elements which don't have a space in them which
553
553
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
@@ -560,7 +560,7 @@ var Ho = function(e, r, n, o) {
560
560
  );
561
561
  var l, c = [Bo, Vo];
562
562
  {
563
- var d, f = [Io, _o(function(b) {
563
+ var d, f = [Io, jo(function(b) {
564
564
  d.insert(b);
565
565
  })], h = Do(c.concat(o, f)), g = function(v) {
566
566
  return Be(Fo(v), h);
@@ -599,7 +599,7 @@ var nr = { exports: {} }, G = {};
599
599
  * LICENSE file in the root directory of this source tree.
600
600
  */
601
601
  var kr;
602
- function Qo() {
602
+ function Ko() {
603
603
  if (kr) return G;
604
604
  kr = 1;
605
605
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, b = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, S = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
@@ -633,12 +633,12 @@ function Qo() {
633
633
  }
634
634
  }
635
635
  }
636
- function E(u) {
636
+ function P(u) {
637
637
  return p(u) === c;
638
638
  }
639
639
  return G.AsyncMode = l, G.ConcurrentMode = c, G.ContextConsumer = a, G.ContextProvider = s, G.Element = e, G.ForwardRef = d, G.Fragment = n, G.Lazy = m, G.Memo = g, G.Portal = r, G.Profiler = i, G.StrictMode = o, G.Suspense = f, G.isAsyncMode = function(u) {
640
- return E(u) || p(u) === l;
641
- }, G.isConcurrentMode = E, G.isContextConsumer = function(u) {
640
+ return P(u) || p(u) === l;
641
+ }, G.isConcurrentMode = P, G.isContextConsumer = function(u) {
642
642
  return p(u) === a;
643
643
  }, G.isContextProvider = function(u) {
644
644
  return p(u) === s;
@@ -674,14 +674,14 @@ var J = {};
674
674
  * LICENSE file in the root directory of this source tree.
675
675
  */
676
676
  var Rr;
677
- function Ko() {
677
+ function Qo() {
678
678
  return Rr || (Rr = 1, process.env.NODE_ENV !== "production" && function() {
679
679
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, b = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, S = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
680
680
  function p(y) {
681
681
  return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
682
682
  y === n || y === c || y === i || y === o || y === f || y === h || typeof y == "object" && y !== null && (y.$$typeof === m || y.$$typeof === g || y.$$typeof === s || y.$$typeof === a || y.$$typeof === d || y.$$typeof === v || y.$$typeof === S || y.$$typeof === w || y.$$typeof === b);
683
683
  }
684
- function E(y) {
684
+ function P(y) {
685
685
  if (typeof y == "object" && y !== null) {
686
686
  var le = y.$$typeof;
687
687
  switch (le) {
@@ -713,50 +713,50 @@ function Ko() {
713
713
  }
714
714
  }
715
715
  }
716
- var u = l, I = c, O = a, j = s, ee = e, Y = d, U = n, te = m, H = g, V = r, de = i, B = o, W = f, ie = !1;
716
+ var u = l, I = c, O = a, L = s, ee = e, Y = d, U = n, te = m, q = g, V = r, de = i, B = o, W = f, ie = !1;
717
717
  function ae(y) {
718
- return ie || (ie = !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.")), x(y) || E(y) === l;
718
+ return ie || (ie = !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.")), x(y) || P(y) === l;
719
719
  }
720
720
  function x(y) {
721
- return E(y) === c;
721
+ return P(y) === c;
722
722
  }
723
- function P(y) {
724
- return E(y) === a;
723
+ function E(y) {
724
+ return P(y) === a;
725
725
  }
726
726
  function $(y) {
727
- return E(y) === s;
727
+ return P(y) === s;
728
728
  }
729
729
  function z(y) {
730
730
  return typeof y == "object" && y !== null && y.$$typeof === e;
731
731
  }
732
732
  function R(y) {
733
- return E(y) === d;
733
+ return P(y) === d;
734
734
  }
735
735
  function D(y) {
736
- return E(y) === n;
736
+ return P(y) === n;
737
737
  }
738
- function _(y) {
739
- return E(y) === m;
738
+ function j(y) {
739
+ return P(y) === m;
740
740
  }
741
741
  function A(y) {
742
- return E(y) === g;
742
+ return P(y) === g;
743
743
  }
744
744
  function C(y) {
745
- return E(y) === r;
745
+ return P(y) === r;
746
746
  }
747
747
  function T(y) {
748
- return E(y) === i;
748
+ return P(y) === i;
749
749
  }
750
750
  function k(y) {
751
- return E(y) === o;
751
+ return P(y) === o;
752
752
  }
753
- function q(y) {
754
- return E(y) === f;
753
+ function H(y) {
754
+ return P(y) === f;
755
755
  }
756
- J.AsyncMode = u, J.ConcurrentMode = I, J.ContextConsumer = O, J.ContextProvider = j, J.Element = ee, J.ForwardRef = Y, J.Fragment = U, J.Lazy = te, J.Memo = H, J.Portal = V, J.Profiler = de, J.StrictMode = B, J.Suspense = W, J.isAsyncMode = ae, J.isConcurrentMode = x, J.isContextConsumer = P, J.isContextProvider = $, J.isElement = z, J.isForwardRef = R, J.isFragment = D, J.isLazy = _, J.isMemo = A, J.isPortal = C, J.isProfiler = T, J.isStrictMode = k, J.isSuspense = q, J.isValidElementType = p, J.typeOf = E;
756
+ J.AsyncMode = u, J.ConcurrentMode = I, J.ContextConsumer = O, J.ContextProvider = L, J.Element = ee, J.ForwardRef = Y, J.Fragment = U, J.Lazy = te, J.Memo = q, J.Portal = V, J.Profiler = de, J.StrictMode = B, J.Suspense = W, J.isAsyncMode = ae, J.isConcurrentMode = x, J.isContextConsumer = E, J.isContextProvider = $, J.isElement = z, J.isForwardRef = R, J.isFragment = D, J.isLazy = j, J.isMemo = A, J.isPortal = C, J.isProfiler = T, J.isStrictMode = k, J.isSuspense = H, J.isValidElementType = p, J.typeOf = P;
757
757
  }()), J;
758
758
  }
759
- process.env.NODE_ENV === "production" ? nr.exports = Qo() : nr.exports = Ko();
759
+ process.env.NODE_ENV === "production" ? nr.exports = Ko() : nr.exports = Qo();
760
760
  var Yo = nr.exports, On = Yo, Go = {
761
761
  $$typeof: !0,
762
762
  render: !0,
@@ -857,7 +857,7 @@ var ti = {
857
857
  return e.charCodeAt(1) === 45;
858
858
  }, zr = function(e) {
859
859
  return e != null && typeof e != "boolean";
860
- }, Ht = /* @__PURE__ */ mo(function(t) {
860
+ }, qt = /* @__PURE__ */ mo(function(t) {
861
861
  return Rn(t) ? t : t.replace(ni, "-$&").toLowerCase();
862
862
  }), Fr = function(e, r) {
863
863
  switch (e) {
@@ -927,19 +927,19 @@ function si(t, e, r) {
927
927
  var s = r[i];
928
928
  if (typeof s != "object") {
929
929
  var a = s;
930
- zr(a) && (n += Ht(i) + ":" + Fr(i, a) + ";");
930
+ zr(a) && (n += qt(i) + ":" + Fr(i, a) + ";");
931
931
  } else {
932
932
  if (i === "NO_COMPONENT_SELECTOR" && ri)
933
933
  throw new Error(ii);
934
934
  if (Array.isArray(s) && typeof s[0] == "string" && e == null)
935
935
  for (var l = 0; l < s.length; l++)
936
- zr(s[l]) && (n += Ht(i) + ":" + Fr(i, s[l]) + ";");
936
+ zr(s[l]) && (n += qt(i) + ":" + Fr(i, s[l]) + ";");
937
937
  else {
938
938
  var c = tt(t, e, s);
939
939
  switch (i) {
940
940
  case "animation":
941
941
  case "animationName": {
942
- n += Ht(i) + ":" + c + ";";
942
+ n += qt(i) + ":" + c + ";";
943
943
  break;
944
944
  }
945
945
  default:
@@ -978,7 +978,7 @@ function ai(t, e, r) {
978
978
  next: Te
979
979
  };
980
980
  }
981
- var li = L.useInsertionEffect ? L.useInsertionEffect : !1, Ir = li || L.useLayoutEffect, zn = /* @__PURE__ */ L.createContext(
981
+ var li = _.useInsertionEffect ? _.useInsertionEffect : !1, Ir = li || _.useLayoutEffect, zn = /* @__PURE__ */ _.createContext(
982
982
  // we're doing this to avoid preconstruct's dead code elimination in this one case
983
983
  // because this module is primarily intended for the browser and node
984
984
  // but it's also required in react native and similar environments sometimes
@@ -995,8 +995,8 @@ var ci = function(e) {
995
995
  var o = Sn(zn);
996
996
  return e(r, o, n);
997
997
  });
998
- }, Ot = /* @__PURE__ */ L.createContext({}), ui = /* @__PURE__ */ ci(function(t, e) {
999
- var r = t.styles, n = ai([r], void 0, L.useContext(Ot)), o = L.useRef();
998
+ }, Ot = /* @__PURE__ */ _.createContext({}), ui = /* @__PURE__ */ ci(function(t, e) {
999
+ var r = t.styles, n = ai([r], void 0, _.useContext(Ot)), o = _.useRef();
1000
1000
  return Ir(function() {
1001
1001
  var i = e.key + "-global", s = new e.sheet.constructor({
1002
1002
  key: i,
@@ -1063,12 +1063,12 @@ function di() {
1063
1063
  }
1064
1064
  }
1065
1065
  }
1066
- function E(u) {
1066
+ function P(u) {
1067
1067
  return p(u) === c;
1068
1068
  }
1069
1069
  return Z.AsyncMode = l, Z.ConcurrentMode = c, Z.ContextConsumer = a, Z.ContextProvider = s, Z.Element = e, Z.ForwardRef = d, Z.Fragment = n, Z.Lazy = m, Z.Memo = g, Z.Portal = r, Z.Profiler = i, Z.StrictMode = o, Z.Suspense = f, Z.isAsyncMode = function(u) {
1070
- return E(u) || p(u) === l;
1071
- }, Z.isConcurrentMode = E, Z.isContextConsumer = function(u) {
1070
+ return P(u) || p(u) === l;
1071
+ }, Z.isConcurrentMode = P, Z.isContextConsumer = function(u) {
1072
1072
  return p(u) === a;
1073
1073
  }, Z.isContextProvider = function(u) {
1074
1074
  return p(u) === s;
@@ -1103,15 +1103,15 @@ var X = {};
1103
1103
  * This source code is licensed under the MIT license found in the
1104
1104
  * LICENSE file in the root directory of this source tree.
1105
1105
  */
1106
- var _r;
1106
+ var jr;
1107
1107
  function fi() {
1108
- return _r || (_r = 1, process.env.NODE_ENV !== "production" && function() {
1108
+ return jr || (jr = 1, process.env.NODE_ENV !== "production" && function() {
1109
1109
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, a = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, h = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, b = t ? Symbol.for("react.block") : 60121, v = t ? Symbol.for("react.fundamental") : 60117, S = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
1110
1110
  function p(y) {
1111
1111
  return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1112
1112
  y === n || y === c || y === i || y === o || y === f || y === h || typeof y == "object" && y !== null && (y.$$typeof === m || y.$$typeof === g || y.$$typeof === s || y.$$typeof === a || y.$$typeof === d || y.$$typeof === v || y.$$typeof === S || y.$$typeof === w || y.$$typeof === b);
1113
1113
  }
1114
- function E(y) {
1114
+ function P(y) {
1115
1115
  if (typeof y == "object" && y !== null) {
1116
1116
  var le = y.$$typeof;
1117
1117
  switch (le) {
@@ -1143,62 +1143,62 @@ function fi() {
1143
1143
  }
1144
1144
  }
1145
1145
  }
1146
- var u = l, I = c, O = a, j = s, ee = e, Y = d, U = n, te = m, H = g, V = r, de = i, B = o, W = f, ie = !1;
1146
+ var u = l, I = c, O = a, L = s, ee = e, Y = d, U = n, te = m, q = g, V = r, de = i, B = o, W = f, ie = !1;
1147
1147
  function ae(y) {
1148
- return ie || (ie = !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.")), x(y) || E(y) === l;
1148
+ return ie || (ie = !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.")), x(y) || P(y) === l;
1149
1149
  }
1150
1150
  function x(y) {
1151
- return E(y) === c;
1151
+ return P(y) === c;
1152
1152
  }
1153
- function P(y) {
1154
- return E(y) === a;
1153
+ function E(y) {
1154
+ return P(y) === a;
1155
1155
  }
1156
1156
  function $(y) {
1157
- return E(y) === s;
1157
+ return P(y) === s;
1158
1158
  }
1159
1159
  function z(y) {
1160
1160
  return typeof y == "object" && y !== null && y.$$typeof === e;
1161
1161
  }
1162
1162
  function R(y) {
1163
- return E(y) === d;
1163
+ return P(y) === d;
1164
1164
  }
1165
1165
  function D(y) {
1166
- return E(y) === n;
1166
+ return P(y) === n;
1167
1167
  }
1168
- function _(y) {
1169
- return E(y) === m;
1168
+ function j(y) {
1169
+ return P(y) === m;
1170
1170
  }
1171
1171
  function A(y) {
1172
- return E(y) === g;
1172
+ return P(y) === g;
1173
1173
  }
1174
1174
  function C(y) {
1175
- return E(y) === r;
1175
+ return P(y) === r;
1176
1176
  }
1177
1177
  function T(y) {
1178
- return E(y) === i;
1178
+ return P(y) === i;
1179
1179
  }
1180
1180
  function k(y) {
1181
- return E(y) === o;
1181
+ return P(y) === o;
1182
1182
  }
1183
- function q(y) {
1184
- return E(y) === f;
1183
+ function H(y) {
1184
+ return P(y) === f;
1185
1185
  }
1186
- X.AsyncMode = u, X.ConcurrentMode = I, X.ContextConsumer = O, X.ContextProvider = j, X.Element = ee, X.ForwardRef = Y, X.Fragment = U, X.Lazy = te, X.Memo = H, X.Portal = V, X.Profiler = de, X.StrictMode = B, X.Suspense = W, X.isAsyncMode = ae, X.isConcurrentMode = x, X.isContextConsumer = P, X.isContextProvider = $, X.isElement = z, X.isForwardRef = R, X.isFragment = D, X.isLazy = _, X.isMemo = A, X.isPortal = C, X.isProfiler = T, X.isStrictMode = k, X.isSuspense = q, X.isValidElementType = p, X.typeOf = E;
1186
+ X.AsyncMode = u, X.ConcurrentMode = I, X.ContextConsumer = O, X.ContextProvider = L, X.Element = ee, X.ForwardRef = Y, X.Fragment = U, X.Lazy = te, X.Memo = q, X.Portal = V, X.Profiler = de, X.StrictMode = B, X.Suspense = W, X.isAsyncMode = ae, X.isConcurrentMode = x, X.isContextConsumer = E, X.isContextProvider = $, X.isElement = z, X.isForwardRef = R, X.isFragment = D, X.isLazy = j, X.isMemo = A, X.isPortal = C, X.isProfiler = T, X.isStrictMode = k, X.isSuspense = H, X.isValidElementType = p, X.typeOf = P;
1187
1187
  }()), X;
1188
1188
  }
1189
- var Lr;
1189
+ var _r;
1190
1190
  function Fn() {
1191
- return Lr || (Lr = 1, process.env.NODE_ENV === "production" ? ut.exports = di() : ut.exports = fi()), ut.exports;
1191
+ return _r || (_r = 1, process.env.NODE_ENV === "production" ? ut.exports = di() : ut.exports = fi()), ut.exports;
1192
1192
  }
1193
1193
  /*
1194
1194
  object-assign
1195
1195
  (c) Sindre Sorhus
1196
1196
  @license MIT
1197
1197
  */
1198
- var qt, jr;
1198
+ var Ht, Lr;
1199
1199
  function pi() {
1200
- if (jr) return qt;
1201
- jr = 1;
1200
+ if (Lr) return Ht;
1201
+ Lr = 1;
1202
1202
  var t = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
1203
1203
  function n(i) {
1204
1204
  if (i == null)
@@ -1227,7 +1227,7 @@ function pi() {
1227
1227
  return !1;
1228
1228
  }
1229
1229
  }
1230
- return qt = o() ? Object.assign : function(i, s) {
1230
+ return Ht = o() ? Object.assign : function(i, s) {
1231
1231
  for (var a, l = n(i), c, d = 1; d < arguments.length; d++) {
1232
1232
  a = Object(arguments[d]);
1233
1233
  for (var f in a)
@@ -1239,7 +1239,7 @@ function pi() {
1239
1239
  }
1240
1240
  }
1241
1241
  return l;
1242
- }, qt;
1242
+ }, Ht;
1243
1243
  }
1244
1244
  var Ut, Mr;
1245
1245
  function dr() {
@@ -1252,9 +1252,9 @@ var Wt, Br;
1252
1252
  function Nn() {
1253
1253
  return Br || (Br = 1, Wt = Function.call.bind(Object.prototype.hasOwnProperty)), Wt;
1254
1254
  }
1255
- var Qt, Vr;
1255
+ var Kt, Vr;
1256
1256
  function hi() {
1257
- if (Vr) return Qt;
1257
+ if (Vr) return Kt;
1258
1258
  Vr = 1;
1259
1259
  var t = function() {
1260
1260
  };
@@ -1299,12 +1299,12 @@ function hi() {
1299
1299
  }
1300
1300
  return o.resetWarningCache = function() {
1301
1301
  process.env.NODE_ENV !== "production" && (r = {});
1302
- }, Qt = o, Qt;
1302
+ }, Kt = o, Kt;
1303
1303
  }
1304
- var Kt, Hr;
1304
+ var Qt, qr;
1305
1305
  function mi() {
1306
- if (Hr) return Kt;
1307
- Hr = 1;
1306
+ if (qr) return Qt;
1307
+ qr = 1;
1308
1308
  var t = Fn(), e = pi(), r = dr(), n = Nn(), o = hi(), i = function() {
1309
1309
  };
1310
1310
  process.env.NODE_ENV !== "production" && (i = function(a) {
@@ -1318,12 +1318,12 @@ function mi() {
1318
1318
  function s() {
1319
1319
  return null;
1320
1320
  }
1321
- return Kt = function(a, l) {
1321
+ return Qt = function(a, l) {
1322
1322
  var c = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
1323
1323
  function f(x) {
1324
- var P = x && (c && x[c] || x[d]);
1325
- if (typeof P == "function")
1326
- return P;
1324
+ var E = x && (c && x[c] || x[d]);
1325
+ if (typeof E == "function")
1326
+ return E;
1327
1327
  }
1328
1328
  var h = "<<anonymous>>", g = {
1329
1329
  array: S("array"),
@@ -1336,28 +1336,28 @@ function mi() {
1336
1336
  symbol: S("symbol"),
1337
1337
  any: w(),
1338
1338
  arrayOf: p,
1339
- element: E(),
1339
+ element: P(),
1340
1340
  elementType: u(),
1341
1341
  instanceOf: I,
1342
1342
  node: Y(),
1343
- objectOf: j,
1343
+ objectOf: L,
1344
1344
  oneOf: O,
1345
1345
  oneOfType: ee,
1346
1346
  shape: te,
1347
- exact: H
1347
+ exact: q
1348
1348
  };
1349
- function m(x, P) {
1350
- return x === P ? x !== 0 || 1 / x === 1 / P : x !== x && P !== P;
1349
+ function m(x, E) {
1350
+ return x === E ? x !== 0 || 1 / x === 1 / E : x !== x && E !== E;
1351
1351
  }
1352
- function b(x, P) {
1353
- this.message = x, this.data = P && typeof P == "object" ? P : {}, this.stack = "";
1352
+ function b(x, E) {
1353
+ this.message = x, this.data = E && typeof E == "object" ? E : {}, this.stack = "";
1354
1354
  }
1355
1355
  b.prototype = Error.prototype;
1356
1356
  function v(x) {
1357
1357
  if (process.env.NODE_ENV !== "production")
1358
- var P = {}, $ = 0;
1359
- function z(D, _, A, C, T, k, q) {
1360
- if (C = C || h, k = k || A, q !== r) {
1358
+ var E = {}, $ = 0;
1359
+ function z(D, j, A, C, T, k, H) {
1360
+ if (C = C || h, k = k || A, H !== r) {
1361
1361
  if (l) {
1362
1362
  var y = new Error(
1363
1363
  "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"
@@ -1365,57 +1365,57 @@ function mi() {
1365
1365
  throw y.name = "Invariant Violation", y;
1366
1366
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1367
1367
  var le = C + ":" + A;
1368
- !P[le] && // Avoid spamming the console because they are often not actionable except for lib authors
1368
+ !E[le] && // Avoid spamming the console because they are often not actionable except for lib authors
1369
1369
  $ < 3 && (i(
1370
1370
  "You are manually calling a React.PropTypes validation function for the `" + k + "` prop on `" + C + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1371
- ), P[le] = !0, $++);
1371
+ ), E[le] = !0, $++);
1372
1372
  }
1373
1373
  }
1374
- return _[A] == null ? D ? _[A] === null ? new b("The " + T + " `" + k + "` is marked as required " + ("in `" + C + "`, but its value is `null`.")) : new b("The " + T + " `" + k + "` is marked as required in " + ("`" + C + "`, but its value is `undefined`.")) : null : x(_, A, C, T, k);
1374
+ return j[A] == null ? D ? j[A] === null ? new b("The " + T + " `" + k + "` is marked as required " + ("in `" + C + "`, but its value is `null`.")) : new b("The " + T + " `" + k + "` is marked as required in " + ("`" + C + "`, but its value is `undefined`.")) : null : x(j, A, C, T, k);
1375
1375
  }
1376
1376
  var R = z.bind(null, !1);
1377
1377
  return R.isRequired = z.bind(null, !0), R;
1378
1378
  }
1379
1379
  function S(x) {
1380
- function P($, z, R, D, _, A) {
1380
+ function E($, z, R, D, j, A) {
1381
1381
  var C = $[z], T = B(C);
1382
1382
  if (T !== x) {
1383
1383
  var k = W(C);
1384
1384
  return new b(
1385
- "Invalid " + D + " `" + _ + "` of type " + ("`" + k + "` supplied to `" + R + "`, expected ") + ("`" + x + "`."),
1385
+ "Invalid " + D + " `" + j + "` of type " + ("`" + k + "` supplied to `" + R + "`, expected ") + ("`" + x + "`."),
1386
1386
  { expectedType: x }
1387
1387
  );
1388
1388
  }
1389
1389
  return null;
1390
1390
  }
1391
- return v(P);
1391
+ return v(E);
1392
1392
  }
1393
1393
  function w() {
1394
1394
  return v(s);
1395
1395
  }
1396
1396
  function p(x) {
1397
- function P($, z, R, D, _) {
1397
+ function E($, z, R, D, j) {
1398
1398
  if (typeof x != "function")
1399
- return new b("Property `" + _ + "` of component `" + R + "` has invalid PropType notation inside arrayOf.");
1399
+ return new b("Property `" + j + "` of component `" + R + "` has invalid PropType notation inside arrayOf.");
1400
1400
  var A = $[z];
1401
1401
  if (!Array.isArray(A)) {
1402
1402
  var C = B(A);
1403
- return new b("Invalid " + D + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected an array."));
1403
+ return new b("Invalid " + D + " `" + j + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected an array."));
1404
1404
  }
1405
1405
  for (var T = 0; T < A.length; T++) {
1406
- var k = x(A, T, R, D, _ + "[" + T + "]", r);
1406
+ var k = x(A, T, R, D, j + "[" + T + "]", r);
1407
1407
  if (k instanceof Error)
1408
1408
  return k;
1409
1409
  }
1410
1410
  return null;
1411
1411
  }
1412
- return v(P);
1412
+ return v(E);
1413
1413
  }
1414
- function E() {
1415
- function x(P, $, z, R, D) {
1416
- var _ = P[$];
1417
- if (!a(_)) {
1418
- var A = B(_);
1414
+ function P() {
1415
+ function x(E, $, z, R, D) {
1416
+ var j = E[$];
1417
+ if (!a(j)) {
1418
+ var A = B(j);
1419
1419
  return new b("Invalid " + R + " `" + D + "` of type " + ("`" + A + "` supplied to `" + z + "`, expected a single ReactElement."));
1420
1420
  }
1421
1421
  return null;
@@ -1423,10 +1423,10 @@ function mi() {
1423
1423
  return v(x);
1424
1424
  }
1425
1425
  function u() {
1426
- function x(P, $, z, R, D) {
1427
- var _ = P[$];
1428
- if (!t.isValidElementType(_)) {
1429
- var A = B(_);
1426
+ function x(E, $, z, R, D) {
1427
+ var j = E[$];
1428
+ if (!t.isValidElementType(j)) {
1429
+ var A = B(j);
1430
1430
  return new b("Invalid " + R + " `" + D + "` of type " + ("`" + A + "` supplied to `" + z + "`, expected a single ReactElement type."));
1431
1431
  }
1432
1432
  return null;
@@ -1434,121 +1434,121 @@ function mi() {
1434
1434
  return v(x);
1435
1435
  }
1436
1436
  function I(x) {
1437
- function P($, z, R, D, _) {
1437
+ function E($, z, R, D, j) {
1438
1438
  if (!($[z] instanceof x)) {
1439
1439
  var A = x.name || h, C = ae($[z]);
1440
- return new b("Invalid " + D + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected ") + ("instance of `" + A + "`."));
1440
+ return new b("Invalid " + D + " `" + j + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected ") + ("instance of `" + A + "`."));
1441
1441
  }
1442
1442
  return null;
1443
1443
  }
1444
- return v(P);
1444
+ return v(E);
1445
1445
  }
1446
1446
  function O(x) {
1447
1447
  if (!Array.isArray(x))
1448
1448
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1449
1449
  "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])."
1450
1450
  ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
1451
- function P($, z, R, D, _) {
1451
+ function E($, z, R, D, j) {
1452
1452
  for (var A = $[z], C = 0; C < x.length; C++)
1453
1453
  if (m(A, x[C]))
1454
1454
  return null;
1455
- var T = JSON.stringify(x, function(q, y) {
1455
+ var T = JSON.stringify(x, function(H, y) {
1456
1456
  var le = W(y);
1457
1457
  return le === "symbol" ? String(y) : y;
1458
1458
  });
1459
- return new b("Invalid " + D + " `" + _ + "` of value `" + String(A) + "` " + ("supplied to `" + R + "`, expected one of " + T + "."));
1459
+ return new b("Invalid " + D + " `" + j + "` of value `" + String(A) + "` " + ("supplied to `" + R + "`, expected one of " + T + "."));
1460
1460
  }
1461
- return v(P);
1461
+ return v(E);
1462
1462
  }
1463
- function j(x) {
1464
- function P($, z, R, D, _) {
1463
+ function L(x) {
1464
+ function E($, z, R, D, j) {
1465
1465
  if (typeof x != "function")
1466
- return new b("Property `" + _ + "` of component `" + R + "` has invalid PropType notation inside objectOf.");
1466
+ return new b("Property `" + j + "` of component `" + R + "` has invalid PropType notation inside objectOf.");
1467
1467
  var A = $[z], C = B(A);
1468
1468
  if (C !== "object")
1469
- return new b("Invalid " + D + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected an object."));
1469
+ return new b("Invalid " + D + " `" + j + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected an object."));
1470
1470
  for (var T in A)
1471
1471
  if (n(A, T)) {
1472
- var k = x(A, T, R, D, _ + "." + T, r);
1472
+ var k = x(A, T, R, D, j + "." + T, r);
1473
1473
  if (k instanceof Error)
1474
1474
  return k;
1475
1475
  }
1476
1476
  return null;
1477
1477
  }
1478
- return v(P);
1478
+ return v(E);
1479
1479
  }
1480
1480
  function ee(x) {
1481
1481
  if (!Array.isArray(x))
1482
1482
  return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
1483
- for (var P = 0; P < x.length; P++) {
1484
- var $ = x[P];
1483
+ for (var E = 0; E < x.length; E++) {
1484
+ var $ = x[E];
1485
1485
  if (typeof $ != "function")
1486
1486
  return i(
1487
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ie($) + " at index " + P + "."
1487
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ie($) + " at index " + E + "."
1488
1488
  ), s;
1489
1489
  }
1490
- function z(R, D, _, A, C) {
1490
+ function z(R, D, j, A, C) {
1491
1491
  for (var T = [], k = 0; k < x.length; k++) {
1492
- var q = x[k], y = q(R, D, _, A, C, r);
1492
+ var H = x[k], y = H(R, D, j, A, C, r);
1493
1493
  if (y == null)
1494
1494
  return null;
1495
1495
  y.data && n(y.data, "expectedType") && T.push(y.data.expectedType);
1496
1496
  }
1497
1497
  var le = T.length > 0 ? ", expected one of type [" + T.join(", ") + "]" : "";
1498
- return new b("Invalid " + A + " `" + C + "` supplied to " + ("`" + _ + "`" + le + "."));
1498
+ return new b("Invalid " + A + " `" + C + "` supplied to " + ("`" + j + "`" + le + "."));
1499
1499
  }
1500
1500
  return v(z);
1501
1501
  }
1502
1502
  function Y() {
1503
- function x(P, $, z, R, D) {
1504
- return V(P[$]) ? null : new b("Invalid " + R + " `" + D + "` supplied to " + ("`" + z + "`, expected a ReactNode."));
1503
+ function x(E, $, z, R, D) {
1504
+ return V(E[$]) ? null : new b("Invalid " + R + " `" + D + "` supplied to " + ("`" + z + "`, expected a ReactNode."));
1505
1505
  }
1506
1506
  return v(x);
1507
1507
  }
1508
- function U(x, P, $, z, R) {
1508
+ function U(x, E, $, z, R) {
1509
1509
  return new b(
1510
- (x || "React class") + ": " + P + " type `" + $ + "." + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + R + "`."
1510
+ (x || "React class") + ": " + E + " type `" + $ + "." + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + R + "`."
1511
1511
  );
1512
1512
  }
1513
1513
  function te(x) {
1514
- function P($, z, R, D, _) {
1514
+ function E($, z, R, D, j) {
1515
1515
  var A = $[z], C = B(A);
1516
1516
  if (C !== "object")
1517
- return new b("Invalid " + D + " `" + _ + "` of type `" + C + "` " + ("supplied to `" + R + "`, expected `object`."));
1517
+ return new b("Invalid " + D + " `" + j + "` of type `" + C + "` " + ("supplied to `" + R + "`, expected `object`."));
1518
1518
  for (var T in x) {
1519
1519
  var k = x[T];
1520
1520
  if (typeof k != "function")
1521
- return U(R, D, _, T, W(k));
1522
- var q = k(A, T, R, D, _ + "." + T, r);
1523
- if (q)
1524
- return q;
1521
+ return U(R, D, j, T, W(k));
1522
+ var H = k(A, T, R, D, j + "." + T, r);
1523
+ if (H)
1524
+ return H;
1525
1525
  }
1526
1526
  return null;
1527
1527
  }
1528
- return v(P);
1528
+ return v(E);
1529
1529
  }
1530
- function H(x) {
1531
- function P($, z, R, D, _) {
1530
+ function q(x) {
1531
+ function E($, z, R, D, j) {
1532
1532
  var A = $[z], C = B(A);
1533
1533
  if (C !== "object")
1534
- return new b("Invalid " + D + " `" + _ + "` of type `" + C + "` " + ("supplied to `" + R + "`, expected `object`."));
1534
+ return new b("Invalid " + D + " `" + j + "` of type `" + C + "` " + ("supplied to `" + R + "`, expected `object`."));
1535
1535
  var T = e({}, $[z], x);
1536
1536
  for (var k in T) {
1537
- var q = x[k];
1538
- if (n(x, k) && typeof q != "function")
1539
- return U(R, D, _, k, W(q));
1540
- if (!q)
1537
+ var H = x[k];
1538
+ if (n(x, k) && typeof H != "function")
1539
+ return U(R, D, j, k, W(H));
1540
+ if (!H)
1541
1541
  return new b(
1542
- "Invalid " + D + " `" + _ + "` key `" + k + "` supplied to `" + R + "`.\nBad object: " + JSON.stringify($[z], null, " ") + `
1542
+ "Invalid " + D + " `" + j + "` key `" + k + "` supplied to `" + R + "`.\nBad object: " + JSON.stringify($[z], null, " ") + `
1543
1543
  Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
1544
1544
  );
1545
- var y = q(A, k, R, D, _ + "." + k, r);
1545
+ var y = H(A, k, R, D, j + "." + k, r);
1546
1546
  if (y)
1547
1547
  return y;
1548
1548
  }
1549
1549
  return null;
1550
1550
  }
1551
- return v(P);
1551
+ return v(E);
1552
1552
  }
1553
1553
  function V(x) {
1554
1554
  switch (typeof x) {
@@ -1563,10 +1563,10 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
1563
1563
  return x.every(V);
1564
1564
  if (x === null || a(x))
1565
1565
  return !0;
1566
- var P = f(x);
1567
- if (P) {
1568
- var $ = P.call(x), z;
1569
- if (P !== x.entries) {
1566
+ var E = f(x);
1567
+ if (E) {
1568
+ var $ = E.call(x), z;
1569
+ if (E !== x.entries) {
1570
1570
  for (; !(z = $.next()).done; )
1571
1571
  if (!V(z.value))
1572
1572
  return !1;
@@ -1583,49 +1583,49 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
1583
1583
  return !1;
1584
1584
  }
1585
1585
  }
1586
- function de(x, P) {
1587
- return x === "symbol" ? !0 : P ? P["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && P instanceof Symbol : !1;
1586
+ function de(x, E) {
1587
+ return x === "symbol" ? !0 : E ? E["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && E instanceof Symbol : !1;
1588
1588
  }
1589
1589
  function B(x) {
1590
- var P = typeof x;
1591
- return Array.isArray(x) ? "array" : x instanceof RegExp ? "object" : de(P, x) ? "symbol" : P;
1590
+ var E = typeof x;
1591
+ return Array.isArray(x) ? "array" : x instanceof RegExp ? "object" : de(E, x) ? "symbol" : E;
1592
1592
  }
1593
1593
  function W(x) {
1594
1594
  if (typeof x > "u" || x === null)
1595
1595
  return "" + x;
1596
- var P = B(x);
1597
- if (P === "object") {
1596
+ var E = B(x);
1597
+ if (E === "object") {
1598
1598
  if (x instanceof Date)
1599
1599
  return "date";
1600
1600
  if (x instanceof RegExp)
1601
1601
  return "regexp";
1602
1602
  }
1603
- return P;
1603
+ return E;
1604
1604
  }
1605
1605
  function ie(x) {
1606
- var P = W(x);
1607
- switch (P) {
1606
+ var E = W(x);
1607
+ switch (E) {
1608
1608
  case "array":
1609
1609
  case "object":
1610
- return "an " + P;
1610
+ return "an " + E;
1611
1611
  case "boolean":
1612
1612
  case "date":
1613
1613
  case "regexp":
1614
- return "a " + P;
1614
+ return "a " + E;
1615
1615
  default:
1616
- return P;
1616
+ return E;
1617
1617
  }
1618
1618
  }
1619
1619
  function ae(x) {
1620
1620
  return !x.constructor || !x.constructor.name ? h : x.constructor.name;
1621
1621
  }
1622
1622
  return g.checkPropTypes = o, g.resetWarningCache = o.resetWarningCache, g.PropTypes = g, g;
1623
- }, Kt;
1623
+ }, Qt;
1624
1624
  }
1625
- var Yt, qr;
1625
+ var Yt, Hr;
1626
1626
  function gi() {
1627
- if (qr) return Yt;
1628
- qr = 1;
1627
+ if (Hr) return Yt;
1628
+ Hr = 1;
1629
1629
  var t = dr();
1630
1630
  function e() {
1631
1631
  }
@@ -1716,13 +1716,13 @@ function In(t) {
1716
1716
  e[r] = In(t[r]);
1717
1717
  }), e;
1718
1718
  }
1719
- function Ee(t, e, r = {
1719
+ function Pe(t, e, r = {
1720
1720
  clone: !0
1721
1721
  }) {
1722
1722
  const n = r.clone ? F({}, t) : t;
1723
1723
  return Me(t) && Me(e) && Object.keys(e).forEach((o) => {
1724
1724
  Me(e[o]) && // Avoid prototype pollution
1725
- Object.prototype.hasOwnProperty.call(t, o) && Me(t[o]) ? n[o] = Ee(t[o], e[o], r) : r.clone ? n[o] = Me(e[o]) ? In(e[o]) : e[o] : n[o] = e[o];
1725
+ Object.prototype.hasOwnProperty.call(t, o) && Me(t[o]) ? n[o] = Pe(t[o], e[o], r) : r.clone ? n[o] = Me(e[o]) ? In(e[o]) : e[o] : n[o] = e[o];
1726
1726
  }), n;
1727
1727
  }
1728
1728
  const xi = ["values", "unit", "step"], Ci = (t) => {
@@ -1785,7 +1785,7 @@ const wi = {
1785
1785
  borderRadius: 4
1786
1786
  }, Ne = process.env.NODE_ENV !== "production" ? M.oneOfType([M.number, M.string, M.object, M.array]) : {};
1787
1787
  function Je(t, e) {
1788
- return e ? Ee(t, e, {
1788
+ return e ? Pe(t, e, {
1789
1789
  clone: !1
1790
1790
  // No need to clone deep, it's way faster.
1791
1791
  }) : t;
@@ -1828,20 +1828,20 @@ function ze(t, e, r) {
1828
1828
  }
1829
1829
  return r(e);
1830
1830
  }
1831
- function Ei(t = {}) {
1831
+ function Pi(t = {}) {
1832
1832
  var e;
1833
1833
  return ((e = t.keys) == null ? void 0 : e.reduce((n, o) => {
1834
1834
  const i = t.up(o);
1835
1835
  return n[i] = {}, n;
1836
1836
  }, {})) || {};
1837
1837
  }
1838
- function Pi(t, e) {
1838
+ function Ei(t, e) {
1839
1839
  return t.reduce((r, n) => {
1840
1840
  const o = r[n];
1841
1841
  return (!o || Object.keys(o).length === 0) && delete r[n], r;
1842
1842
  }, e);
1843
1843
  }
1844
- function _n(t) {
1844
+ function jn(t) {
1845
1845
  if (typeof t != "string")
1846
1846
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : yt(7));
1847
1847
  return t.charAt(0).toUpperCase() + t.slice(1);
@@ -1872,7 +1872,7 @@ function oe(t) {
1872
1872
  const a = s[e], l = s.theme, c = kt(l, n) || {};
1873
1873
  return ze(s, a, (f) => {
1874
1874
  let h = vt(c, o, f);
1875
- return f === h && typeof f == "string" && (h = vt(c, o, `${e}${f === "default" ? "" : _n(f)}`, f)), r === !1 ? h : {
1875
+ return f === h && typeof f == "string" && (h = vt(c, o, `${e}${f === "default" ? "" : jn(f)}`, f)), r === !1 ? h : {
1876
1876
  [r]: h
1877
1877
  };
1878
1878
  });
@@ -1918,7 +1918,7 @@ function st(t, e, r, n) {
1918
1918
  `)), () => {
1919
1919
  });
1920
1920
  }
1921
- function Ln(t) {
1921
+ function _n(t) {
1922
1922
  return st(t, "spacing", 8, "spacing");
1923
1923
  }
1924
1924
  function at(t, e) {
@@ -1936,17 +1936,17 @@ function zi(t, e, r, n) {
1936
1936
  const o = Oi(r), i = Ri(o, n), s = t[r];
1937
1937
  return ze(t, s, i);
1938
1938
  }
1939
- function jn(t, e) {
1940
- const r = Ln(t.theme);
1939
+ function Ln(t, e) {
1940
+ const r = _n(t.theme);
1941
1941
  return Object.keys(t).map((n) => zi(t, e, n, r)).reduce(Je, {});
1942
1942
  }
1943
1943
  function re(t) {
1944
- return jn(t, Rt);
1944
+ return Ln(t, Rt);
1945
1945
  }
1946
1946
  re.propTypes = process.env.NODE_ENV !== "production" ? Rt.reduce((t, e) => (t[e] = Ne, t), {}) : {};
1947
1947
  re.filterProps = Rt;
1948
1948
  function ne(t) {
1949
- return jn(t, zt);
1949
+ return Ln(t, zt);
1950
1950
  }
1951
1951
  ne.propTypes = process.env.NODE_ENV !== "production" ? zt.reduce((t, e) => (t[e] = Ne, t), {}) : {};
1952
1952
  ne.filterProps = zt;
@@ -1954,7 +1954,7 @@ process.env.NODE_ENV !== "production" && ki.reduce((t, e) => (t[e] = Ne, t), {})
1954
1954
  function Mn(t = 8) {
1955
1955
  if (t.mui)
1956
1956
  return t;
1957
- const e = Ln({
1957
+ const e = _n({
1958
1958
  spacing: t
1959
1959
  }), r = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((i) => {
1960
1960
  const s = e(i);
@@ -1978,7 +1978,7 @@ function xe(t, e) {
1978
1978
  transform: e
1979
1979
  });
1980
1980
  }
1981
- const Fi = xe("border", Se), Ni = xe("borderTop", Se), Ii = xe("borderRight", Se), Di = xe("borderBottom", Se), _i = xe("borderLeft", Se), Li = xe("borderColor"), ji = xe("borderTopColor"), Mi = xe("borderRightColor"), Bi = xe("borderBottomColor"), Vi = xe("borderLeftColor"), Hi = xe("outline", Se), qi = xe("outlineColor"), Nt = (t) => {
1981
+ const Fi = xe("border", Se), Ni = xe("borderTop", Se), Ii = xe("borderRight", Se), Di = xe("borderBottom", Se), ji = xe("borderLeft", Se), _i = xe("borderColor"), Li = xe("borderTopColor"), Mi = xe("borderRightColor"), Bi = xe("borderBottomColor"), Vi = xe("borderLeftColor"), qi = xe("outline", Se), Hi = xe("outlineColor"), Nt = (t) => {
1982
1982
  if (t.borderRadius !== void 0 && t.borderRadius !== null) {
1983
1983
  const e = st(t.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
1984
1984
  borderRadius: at(e, n)
@@ -1991,7 +1991,7 @@ Nt.propTypes = process.env.NODE_ENV !== "production" ? {
1991
1991
  borderRadius: Ne
1992
1992
  } : {};
1993
1993
  Nt.filterProps = ["borderRadius"];
1994
- Ft(Fi, Ni, Ii, Di, _i, Li, ji, Mi, Bi, Vi, Nt, Hi, qi);
1994
+ Ft(Fi, Ni, Ii, Di, ji, _i, Li, Mi, Bi, Vi, Nt, qi, Hi);
1995
1995
  const It = (t) => {
1996
1996
  if (t.gap !== void 0 && t.gap !== null) {
1997
1997
  const e = st(t.theme, "spacing", 8, "gap"), r = (n) => ({
@@ -2018,7 +2018,7 @@ Dt.propTypes = process.env.NODE_ENV !== "production" ? {
2018
2018
  columnGap: Ne
2019
2019
  } : {};
2020
2020
  Dt.filterProps = ["columnGap"];
2021
- const _t = (t) => {
2021
+ const jt = (t) => {
2022
2022
  if (t.rowGap !== void 0 && t.rowGap !== null) {
2023
2023
  const e = st(t.theme, "spacing", 8, "rowGap"), r = (n) => ({
2024
2024
  rowGap: at(e, n)
@@ -2027,17 +2027,17 @@ const _t = (t) => {
2027
2027
  }
2028
2028
  return null;
2029
2029
  };
2030
- _t.propTypes = process.env.NODE_ENV !== "production" ? {
2030
+ jt.propTypes = process.env.NODE_ENV !== "production" ? {
2031
2031
  rowGap: Ne
2032
2032
  } : {};
2033
- _t.filterProps = ["rowGap"];
2033
+ jt.filterProps = ["rowGap"];
2034
2034
  const Ui = oe({
2035
2035
  prop: "gridColumn"
2036
2036
  }), Wi = oe({
2037
2037
  prop: "gridRow"
2038
- }), Qi = oe({
2039
- prop: "gridAutoFlow"
2040
2038
  }), Ki = oe({
2039
+ prop: "gridAutoFlow"
2040
+ }), Qi = oe({
2041
2041
  prop: "gridAutoColumns"
2042
2042
  }), Yi = oe({
2043
2043
  prop: "gridAutoRows"
@@ -2050,7 +2050,7 @@ const Ui = oe({
2050
2050
  }), Xi = oe({
2051
2051
  prop: "gridArea"
2052
2052
  });
2053
- Ft(It, Dt, _t, Ui, Wi, Qi, Ki, Yi, Gi, Ji, Zi, Xi);
2053
+ Ft(It, Dt, jt, Ui, Wi, Ki, Qi, Yi, Gi, Ji, Zi, Xi);
2054
2054
  function Ve(t, e) {
2055
2055
  return e === "grey" ? e : t;
2056
2056
  }
@@ -2336,7 +2336,7 @@ const hr = {
2336
2336
  style: It
2337
2337
  },
2338
2338
  rowGap: {
2339
- style: _t
2339
+ style: jt
2340
2340
  },
2341
2341
  columnGap: {
2342
2342
  style: Dt
@@ -2437,7 +2437,7 @@ function ds() {
2437
2437
  const h = kt(o, c) || {};
2438
2438
  return f ? f(s) : ze(s, n, (m) => {
2439
2439
  let b = vt(h, d, m);
2440
- return m === b && typeof m == "string" && (b = vt(h, d, `${r}${m === "default" ? "" : _n(m)}`, m)), l === !1 ? b : {
2440
+ return m === b && typeof m == "string" && (b = vt(h, d, `${r}${m === "default" ? "" : jn(m)}`, m)), l === !1 ? b : {
2441
2441
  [l]: b
2442
2442
  };
2443
2443
  });
@@ -2459,7 +2459,7 @@ function ds() {
2459
2459
  return l;
2460
2460
  if (!c)
2461
2461
  return null;
2462
- const d = Ei(i.breakpoints), f = Object.keys(d);
2462
+ const d = Pi(i.breakpoints), f = Object.keys(d);
2463
2463
  let h = d;
2464
2464
  return Object.keys(c).forEach((g) => {
2465
2465
  const m = us(c[g], i);
@@ -2480,7 +2480,7 @@ function ds() {
2480
2480
  }
2481
2481
  else
2482
2482
  h = Je(h, t(g, m, i, s));
2483
- }), Pi(f, h);
2483
+ }), Ei(f, h);
2484
2484
  }
2485
2485
  return Array.isArray(o) ? o.map(a) : a(o);
2486
2486
  }
@@ -2502,7 +2502,7 @@ function ps(t = {}, ...e) {
2502
2502
  spacing: o,
2503
2503
  shape: i = {}
2504
2504
  } = t, s = Fe(t, fs), a = Dn(r), l = Mn(o);
2505
- let c = Ee({
2505
+ let c = Pe({
2506
2506
  breakpoints: a,
2507
2507
  direction: "ltr",
2508
2508
  components: {},
@@ -2513,7 +2513,7 @@ function ps(t = {}, ...e) {
2513
2513
  spacing: l,
2514
2514
  shape: F({}, wi, i)
2515
2515
  }, s);
2516
- return c.applyStyles = Bn, c = e.reduce((d, f) => Ee(d, f), c), c.unstable_sxConfig = F({}, hr, s == null ? void 0 : s.unstable_sxConfig), c.unstable_sx = function(f) {
2516
+ return c.applyStyles = Bn, c = e.reduce((d, f) => Pe(d, f), c), c.unstable_sxConfig = F({}, hr, s == null ? void 0 : s.unstable_sxConfig), c.unstable_sx = function(f) {
2517
2517
  return mr({
2518
2518
  sx: f,
2519
2519
  theme: this
@@ -2524,15 +2524,15 @@ function hs(t) {
2524
2524
  return Object.keys(t).length === 0;
2525
2525
  }
2526
2526
  function Vn(t = null) {
2527
- const e = L.useContext(Ot);
2527
+ const e = _.useContext(Ot);
2528
2528
  return !e || hs(e) ? t : e;
2529
2529
  }
2530
2530
  const ms = ps();
2531
2531
  function gs(t = ms) {
2532
2532
  return Vn(t);
2533
2533
  }
2534
- const Qr = (t) => t, ys = () => {
2535
- let t = Qr;
2534
+ const Kr = (t) => t, ys = () => {
2535
+ let t = Kr;
2536
2536
  return {
2537
2537
  configure(e) {
2538
2538
  t = e;
@@ -2541,7 +2541,7 @@ const Qr = (t) => t, ys = () => {
2541
2541
  return t(e);
2542
2542
  },
2543
2543
  reset() {
2544
- t = Qr;
2544
+ t = Kr;
2545
2545
  }
2546
2546
  };
2547
2547
  }, bs = ys(), vs = {
@@ -2568,11 +2568,11 @@ function xs(t) {
2568
2568
  let r = t.match(e);
2569
2569
  return r && r[0].length === 1 && (r = r.map((n) => n + n)), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
2570
2570
  }
2571
- function Hn(t) {
2571
+ function qn(t) {
2572
2572
  if (t.type)
2573
2573
  return t;
2574
2574
  if (t.charAt(0) === "#")
2575
- return Hn(xs(t));
2575
+ return qn(xs(t));
2576
2576
  const e = t.indexOf("("), r = t.substring(0, e);
2577
2577
  if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(r) === -1)
2578
2578
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${t}\` color.
@@ -2591,10 +2591,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
2591
2591
  };
2592
2592
  }
2593
2593
  const De = (t) => {
2594
- const e = Hn(t);
2594
+ const e = qn(t);
2595
2595
  return e.values.slice(0, 3).map((r, n) => e.type.indexOf("hsl") !== -1 && n !== 0 ? `${r}%` : r).join(" ");
2596
2596
  }, Cs = "exact-prop: ​";
2597
- function qn(t) {
2597
+ function Hn(t) {
2598
2598
  return process.env.NODE_ENV === "production" ? t : F({}, t, {
2599
2599
  [Cs]: (e) => {
2600
2600
  const r = Object.keys(e).filter((n) => !t.hasOwnProperty(n));
@@ -2602,14 +2602,14 @@ function qn(t) {
2602
2602
  }
2603
2603
  });
2604
2604
  }
2605
- const gr = /* @__PURE__ */ L.createContext(null);
2605
+ const gr = /* @__PURE__ */ _.createContext(null);
2606
2606
  process.env.NODE_ENV !== "production" && (gr.displayName = "ThemeContext");
2607
2607
  function yr() {
2608
- const t = L.useContext(gr);
2609
- return process.env.NODE_ENV !== "production" && L.useDebugValue(t), t;
2608
+ const t = _.useContext(gr);
2609
+ return process.env.NODE_ENV !== "production" && _.useDebugValue(t), t;
2610
2610
  }
2611
- const ws = typeof Symbol == "function" && Symbol.for, Es = ws ? Symbol.for("mui.nested") : "__THEME_NESTED__";
2612
- function Ps(t, e) {
2611
+ const ws = typeof Symbol == "function" && Symbol.for, Ps = ws ? Symbol.for("mui.nested") : "__THEME_NESTED__";
2612
+ function Es(t, e) {
2613
2613
  if (typeof e == "function") {
2614
2614
  const r = e(t);
2615
2615
  return process.env.NODE_ENV !== "production" && (r || console.error(["MUI: You should return an object from your theme function, i.e.", "<ThemeProvider theme={() => ({})} />"].join(`
@@ -2624,9 +2624,9 @@ function St(t) {
2624
2624
  } = t, n = yr();
2625
2625
  process.env.NODE_ENV !== "production" && n === null && typeof r == "function" && console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:", "<ThemeProvider theme={outerTheme => outerTheme} />", "", "However, no outer theme is present.", "Make sure a theme is already injected higher in the React tree or provide a theme object."].join(`
2626
2626
  `));
2627
- const o = L.useMemo(() => {
2628
- const i = n === null ? r : Ps(n, r);
2629
- return i != null && (i[Es] = n !== null), i;
2627
+ const o = _.useMemo(() => {
2628
+ const i = n === null ? r : Es(n, r);
2629
+ return i != null && (i[Ps] = n !== null), i;
2630
2630
  }, [r, n]);
2631
2631
  return /* @__PURE__ */ ue(gr.Provider, {
2632
2632
  value: o,
@@ -2643,8 +2643,8 @@ process.env.NODE_ENV !== "production" && (St.propTypes = {
2643
2643
  */
2644
2644
  theme: M.oneOfType([M.object, M.func]).isRequired
2645
2645
  });
2646
- process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && (St.propTypes = qn(St.propTypes));
2647
- const $s = ["value"], Ts = /* @__PURE__ */ L.createContext();
2646
+ process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && (St.propTypes = Hn(St.propTypes));
2647
+ const $s = ["value"], Ts = /* @__PURE__ */ _.createContext();
2648
2648
  function Un(t) {
2649
2649
  let {
2650
2650
  value: e
@@ -2657,7 +2657,7 @@ process.env.NODE_ENV !== "production" && (Un.propTypes = {
2657
2657
  children: M.node,
2658
2658
  value: M.bool
2659
2659
  });
2660
- const As = /* @__PURE__ */ L.createContext(void 0);
2660
+ const As = /* @__PURE__ */ _.createContext(void 0);
2661
2661
  function Wn({
2662
2662
  value: t,
2663
2663
  children: e
@@ -2681,9 +2681,9 @@ process.env.NODE_ENV !== "production" && (Wn.propTypes = {
2681
2681
  */
2682
2682
  value: M.object
2683
2683
  });
2684
- const Kr = {};
2684
+ const Qr = {};
2685
2685
  function Yr(t, e, r, n = !1) {
2686
- return L.useMemo(() => {
2686
+ return _.useMemo(() => {
2687
2687
  const o = t && e[t] || e;
2688
2688
  if (typeof r == "function") {
2689
2689
  const i = r(o), s = t ? F({}, e, {
@@ -2701,7 +2701,7 @@ function xt(t) {
2701
2701
  children: e,
2702
2702
  theme: r,
2703
2703
  themeId: n
2704
- } = t, o = Vn(Kr), i = yr() || Kr;
2704
+ } = t, o = Vn(Qr), i = yr() || Qr;
2705
2705
  process.env.NODE_ENV !== "production" && (o === null && typeof r == "function" || n && o && !o[n] && typeof r == "function") && console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:", "<ThemeProvider theme={outerTheme => outerTheme} />", "", "However, no outer theme is present.", "Make sure a theme is already injected higher in the React tree or provide a theme object."].join(`
2706
2706
  `));
2707
2707
  const s = Yr(n, o, r), a = Yr(n, i, r, !0), l = s.direction === "rtl";
@@ -2737,8 +2737,8 @@ process.env.NODE_ENV !== "production" && (xt.propTypes = {
2737
2737
  */
2738
2738
  themeId: M.string
2739
2739
  });
2740
- process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && (xt.propTypes = qn(xt.propTypes));
2741
- const br = "mode", vr = "color-scheme", Qn = "data-color-scheme";
2740
+ process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && (xt.propTypes = Hn(xt.propTypes));
2741
+ const br = "mode", vr = "color-scheme", Kn = "data-color-scheme";
2742
2742
  function Os(t) {
2743
2743
  const {
2744
2744
  defaultMode: e = "light",
@@ -2746,7 +2746,7 @@ function Os(t) {
2746
2746
  defaultDarkColorScheme: n = "dark",
2747
2747
  modeStorageKey: o = br,
2748
2748
  colorSchemeStorageKey: i = vr,
2749
- attribute: s = Qn,
2749
+ attribute: s = Kn,
2750
2750
  colorSchemeNode: a = "document.documentElement",
2751
2751
  nonce: l
2752
2752
  } = t || {};
@@ -2784,14 +2784,14 @@ function Gr(t) {
2784
2784
  if (typeof window < "u" && t === "system")
2785
2785
  return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
2786
2786
  }
2787
- function Kn(t, e) {
2787
+ function Qn(t, e) {
2788
2788
  if (t.mode === "light" || t.mode === "system" && t.systemMode === "light")
2789
2789
  return e("light");
2790
2790
  if (t.mode === "dark" || t.mode === "system" && t.systemMode === "dark")
2791
2791
  return e("dark");
2792
2792
  }
2793
2793
  function ks(t) {
2794
- return Kn(t, (e) => {
2794
+ return Qn(t, (e) => {
2795
2795
  if (e === "light")
2796
2796
  return t.lightColorScheme;
2797
2797
  if (e === "dark")
@@ -2817,7 +2817,7 @@ function Rs(t) {
2817
2817
  modeStorageKey: i = br,
2818
2818
  colorSchemeStorageKey: s = vr,
2819
2819
  storageWindow: a = typeof window > "u" ? void 0 : window
2820
- } = t, l = o.join(","), [c, d] = L.useState(() => {
2820
+ } = t, l = o.join(","), [c, d] = _.useState(() => {
2821
2821
  const v = Gt(i, e), S = Gt(`${s}-light`, r), w = Gt(`${s}-dark`, n);
2822
2822
  return {
2823
2823
  mode: v,
@@ -2825,7 +2825,7 @@ function Rs(t) {
2825
2825
  lightColorScheme: S,
2826
2826
  darkColorScheme: w
2827
2827
  };
2828
- }), f = ks(c), h = L.useCallback((v) => {
2828
+ }), f = ks(c), h = _.useCallback((v) => {
2829
2829
  d((S) => {
2830
2830
  if (v === S.mode)
2831
2831
  return S;
@@ -2839,10 +2839,10 @@ function Rs(t) {
2839
2839
  systemMode: Gr(w)
2840
2840
  });
2841
2841
  });
2842
- }, [i, e]), g = L.useCallback((v) => {
2842
+ }, [i, e]), g = _.useCallback((v) => {
2843
2843
  v ? typeof v == "string" ? v && !l.includes(v) ? console.error(`\`${v}\` does not exist in \`theme.colorSchemes\`.`) : d((S) => {
2844
2844
  const w = F({}, S);
2845
- return Kn(S, (p) => {
2845
+ return Qn(S, (p) => {
2846
2846
  try {
2847
2847
  localStorage.setItem(`${s}-${p}`, v);
2848
2848
  } catch {
@@ -2850,7 +2850,7 @@ function Rs(t) {
2850
2850
  p === "light" && (w.lightColorScheme = v), p === "dark" && (w.darkColorScheme = v);
2851
2851
  }), w;
2852
2852
  }) : d((S) => {
2853
- const w = F({}, S), p = v.light === null ? r : v.light, E = v.dark === null ? n : v.dark;
2853
+ const w = F({}, S), p = v.light === null ? r : v.light, P = v.dark === null ? n : v.dark;
2854
2854
  if (p)
2855
2855
  if (!l.includes(p))
2856
2856
  console.error(`\`${p}\` does not exist in \`theme.colorSchemes\`.`);
@@ -2861,13 +2861,13 @@ function Rs(t) {
2861
2861
  } catch {
2862
2862
  }
2863
2863
  }
2864
- if (E)
2865
- if (!l.includes(E))
2866
- console.error(`\`${E}\` does not exist in \`theme.colorSchemes\`.`);
2864
+ if (P)
2865
+ if (!l.includes(P))
2866
+ console.error(`\`${P}\` does not exist in \`theme.colorSchemes\`.`);
2867
2867
  else {
2868
- w.darkColorScheme = E;
2868
+ w.darkColorScheme = P;
2869
2869
  try {
2870
- localStorage.setItem(`${s}-dark`, E);
2870
+ localStorage.setItem(`${s}-dark`, P);
2871
2871
  } catch {
2872
2872
  }
2873
2873
  }
@@ -2882,20 +2882,20 @@ function Rs(t) {
2882
2882
  darkColorScheme: n
2883
2883
  });
2884
2884
  });
2885
- }, [l, s, r, n]), m = L.useCallback((v) => {
2885
+ }, [l, s, r, n]), m = _.useCallback((v) => {
2886
2886
  c.mode === "system" && d((S) => {
2887
2887
  const w = v != null && v.matches ? "dark" : "light";
2888
2888
  return S.systemMode === w ? S : F({}, S, {
2889
2889
  systemMode: w
2890
2890
  });
2891
2891
  });
2892
- }, [c.mode]), b = L.useRef(m);
2893
- return b.current = m, L.useEffect(() => {
2892
+ }, [c.mode]), b = _.useRef(m);
2893
+ return b.current = m, _.useEffect(() => {
2894
2894
  const v = (...w) => b.current(...w), S = window.matchMedia("(prefers-color-scheme: dark)");
2895
2895
  return S.addListener(v), v(S), () => {
2896
2896
  S.removeListener(v);
2897
2897
  };
2898
- }, []), L.useEffect(() => {
2898
+ }, []), _.useEffect(() => {
2899
2899
  if (a) {
2900
2900
  const v = (S) => {
2901
2901
  const w = S.newValue;
@@ -2926,7 +2926,7 @@ function Ns(t) {
2926
2926
  * It should also ideally have a vars object created using `prepareCssVars`.
2927
2927
  */
2928
2928
  theme: r = {},
2929
- attribute: n = Qn,
2929
+ attribute: n = Kn,
2930
2930
  modeStorageKey: o = br,
2931
2931
  colorSchemeStorageKey: i = vr,
2932
2932
  defaultMode: s = "light",
@@ -2936,10 +2936,10 @@ function Ns(t) {
2936
2936
  excludeVariablesFromRoot: d
2937
2937
  } = t;
2938
2938
  (!r.colorSchemes || typeof a == "string" && !r.colorSchemes[a] || typeof a == "object" && !r.colorSchemes[a == null ? void 0 : a.light] || typeof a == "object" && !r.colorSchemes[a == null ? void 0 : a.dark]) && console.error(`MUI: \`${a}\` does not exist in \`theme.colorSchemes\`.`);
2939
- const f = /* @__PURE__ */ L.createContext(void 0);
2939
+ const f = /* @__PURE__ */ _.createContext(void 0);
2940
2940
  process.env.NODE_ENV !== "production" && (f.displayName = "ColorSchemeContext");
2941
2941
  const h = () => {
2942
- const S = L.useContext(f);
2942
+ const S = _.useContext(f);
2943
2943
  if (!S)
2944
2944
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `useColorScheme` must be called under <CssVarsProvider />" : yt(19));
2945
2945
  return S;
@@ -2948,19 +2948,19 @@ function Ns(t) {
2948
2948
  const {
2949
2949
  children: w,
2950
2950
  theme: p = r,
2951
- modeStorageKey: E = o,
2951
+ modeStorageKey: P = o,
2952
2952
  colorSchemeStorageKey: u = i,
2953
2953
  attribute: I = n,
2954
2954
  defaultMode: O = s,
2955
- defaultColorScheme: j = a,
2955
+ defaultColorScheme: L = a,
2956
2956
  disableTransitionOnChange: ee = l,
2957
2957
  storageWindow: Y = typeof window > "u" ? void 0 : window,
2958
2958
  documentNode: U = typeof document > "u" ? void 0 : document,
2959
2959
  colorSchemeNode: te = typeof document > "u" ? void 0 : document.documentElement,
2960
- colorSchemeSelector: H = ":root",
2960
+ colorSchemeSelector: q = ":root",
2961
2961
  disableNestedContext: V = !1,
2962
2962
  disableStyleSheetGeneration: de = !1
2963
- } = S, B = L.useRef(!1), W = yr(), ie = L.useContext(f), ae = !!ie && !V, x = p[e], P = x || p, {
2963
+ } = S, B = _.useRef(!1), W = yr(), ie = _.useContext(f), ae = !!ie && !V, x = p[e], E = x || p, {
2964
2964
  colorSchemes: $ = {},
2965
2965
  components: z = {},
2966
2966
  generateCssVars: R = () => ({
@@ -2968,9 +2968,9 @@ function Ns(t) {
2968
2968
  css: {}
2969
2969
  }),
2970
2970
  cssVarPrefix: D
2971
- } = P, _ = Fe(P, zs), A = Object.keys($), C = typeof j == "string" ? j : j.light, T = typeof j == "string" ? j : j.dark, {
2971
+ } = E, j = Fe(E, zs), A = Object.keys($), C = typeof L == "string" ? L : L.light, T = typeof L == "string" ? L : L.dark, {
2972
2972
  mode: k,
2973
- setMode: q,
2973
+ setMode: H,
2974
2974
  systemMode: y,
2975
2975
  lightColorScheme: le,
2976
2976
  darkColorScheme: be,
@@ -2980,7 +2980,7 @@ function Ns(t) {
2980
2980
  supportedColorSchemes: A,
2981
2981
  defaultLightColorScheme: C,
2982
2982
  defaultDarkColorScheme: T,
2983
- modeStorageKey: E,
2983
+ modeStorageKey: P,
2984
2984
  colorSchemeStorageKey: u,
2985
2985
  defaultMode: O,
2986
2986
  storageWindow: Y
@@ -2990,7 +2990,7 @@ function Ns(t) {
2990
2990
  const io = We || (O === "system" ? s : O), so = ke || (io === "dark" ? T : C), {
2991
2991
  css: ao,
2992
2992
  vars: xr
2993
- } = R(), Ce = F({}, _, {
2993
+ } = R(), Ce = F({}, j, {
2994
2994
  components: z,
2995
2995
  colorSchemes: $,
2996
2996
  cssVarPrefix: D,
@@ -3002,23 +3002,23 @@ function Ns(t) {
3002
3002
  css: lt,
3003
3003
  vars: co
3004
3004
  } = R(ve);
3005
- Ce.vars = Ee(Ce.vars, co), ve === so && (Object.keys(Re).forEach((Pe) => {
3006
- Re[Pe] && typeof Re[Pe] == "object" ? Ce[Pe] = F({}, Ce[Pe], Re[Pe]) : Ce[Pe] = Re[Pe];
3005
+ Ce.vars = Pe(Ce.vars, co), ve === so && (Object.keys(Re).forEach((Ee) => {
3006
+ Re[Ee] && typeof Re[Ee] == "object" ? Ce[Ee] = F({}, Ce[Ee], Re[Ee]) : Ce[Ee] = Re[Ee];
3007
3007
  }), Ce.palette && (Ce.palette.colorScheme = ve));
3008
- const uo = typeof j == "string" ? j : O === "dark" ? j.dark : j.light;
3008
+ const uo = typeof L == "string" ? L : O === "dark" ? L.dark : L.light;
3009
3009
  if (ve === uo) {
3010
3010
  if (d) {
3011
- const Pe = {};
3011
+ const Ee = {};
3012
3012
  d(D).forEach((Bt) => {
3013
- Pe[Bt] = lt[Bt], delete lt[Bt];
3014
- }), Mt[`[${I}="${ve}"]`] = Pe;
3013
+ Ee[Bt] = lt[Bt], delete lt[Bt];
3014
+ }), Mt[`[${I}="${ve}"]`] = Ee;
3015
3015
  }
3016
- Mt[`${H}, [${I}="${ve}"]`] = lt;
3016
+ Mt[`${q}, [${I}="${ve}"]`] = lt;
3017
3017
  } else
3018
- Cr[`${H === ":root" ? "" : H}[${I}="${ve}"]`] = lt;
3019
- }), Ce.vars = Ee(Ce.vars, xr), L.useEffect(() => {
3018
+ Cr[`${q === ":root" ? "" : q}[${I}="${ve}"]`] = lt;
3019
+ }), Ce.vars = Pe(Ce.vars, xr), _.useEffect(() => {
3020
3020
  ke && te && te.setAttribute(I, ke);
3021
- }, [ke, I, te]), L.useEffect(() => {
3021
+ }, [ke, I, te]), _.useEffect(() => {
3022
3022
  let ve;
3023
3023
  if (ee && B.current && U) {
3024
3024
  const Re = U.createElement("style");
@@ -3029,26 +3029,26 @@ function Ns(t) {
3029
3029
  return () => {
3030
3030
  clearTimeout(ve);
3031
3031
  };
3032
- }, [ke, ee, U]), L.useEffect(() => (B.current = !0, () => {
3032
+ }, [ke, ee, U]), _.useEffect(() => (B.current = !0, () => {
3033
3033
  B.current = !1;
3034
3034
  }), []);
3035
- const lo = L.useMemo(() => ({
3035
+ const lo = _.useMemo(() => ({
3036
3036
  allColorSchemes: A,
3037
3037
  colorScheme: ke,
3038
3038
  darkColorScheme: be,
3039
3039
  lightColorScheme: le,
3040
3040
  mode: We,
3041
3041
  setColorScheme: Sr,
3042
- setMode: q,
3042
+ setMode: H,
3043
3043
  systemMode: y
3044
- }), [A, ke, be, le, We, Sr, q, y]);
3044
+ }), [A, ke, be, le, We, Sr, H, y]);
3045
3045
  let wr = !0;
3046
3046
  (de || ae && (W == null ? void 0 : W.cssVarPrefix) === D) && (wr = !1);
3047
- const Er = /* @__PURE__ */ er(L.Fragment, {
3048
- children: [wr && /* @__PURE__ */ er(L.Fragment, {
3047
+ const Pr = /* @__PURE__ */ er(_.Fragment, {
3048
+ children: [wr && /* @__PURE__ */ er(_.Fragment, {
3049
3049
  children: [/* @__PURE__ */ ue(gt, {
3050
3050
  styles: {
3051
- [H]: ao
3051
+ [q]: ao
3052
3052
  }
3053
3053
  }), /* @__PURE__ */ ue(gt, {
3054
3054
  styles: Mt
@@ -3061,9 +3061,9 @@ function Ns(t) {
3061
3061
  children: w
3062
3062
  })]
3063
3063
  });
3064
- return ae ? Er : /* @__PURE__ */ ue(f.Provider, {
3064
+ return ae ? Pr : /* @__PURE__ */ ue(f.Provider, {
3065
3065
  value: lo,
3066
- children: Er
3066
+ children: Pr
3067
3067
  });
3068
3068
  }
3069
3069
  process.env.NODE_ENV !== "production" && (g.propTypes = {
@@ -3162,7 +3162,7 @@ const Jr = (t, e, r, n = []) => {
3162
3162
  });
3163
3163
  }
3164
3164
  n(t);
3165
- }, _s = (t, e) => typeof e == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => t.includes(n)) || t[t.length - 1].toLowerCase().indexOf("opacity") >= 0 ? e : `${e}px` : e;
3165
+ }, js = (t, e) => typeof e == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => t.includes(n)) || t[t.length - 1].toLowerCase().indexOf("opacity") >= 0 ? e : `${e}px` : e;
3166
3166
  function Jt(t, e) {
3167
3167
  const {
3168
3168
  prefix: r,
@@ -3174,7 +3174,7 @@ function Jt(t, e) {
3174
3174
  if ((typeof l == "string" || typeof l == "number") && (!n || !n(a, l))) {
3175
3175
  const d = `--${r ? `${r}-` : ""}${a.join("-")}`;
3176
3176
  Object.assign(o, {
3177
- [d]: _s(a, l)
3177
+ [d]: js(a, l)
3178
3178
  }), Jr(i, a, `var(${d})`, c), Jr(s, a, `var(${d}, ${l})`, c);
3179
3179
  }
3180
3180
  },
@@ -3194,7 +3194,7 @@ function rt(t) {
3194
3194
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
3195
3195
  }, rt(t);
3196
3196
  }
3197
- function Ls(t, e) {
3197
+ function _s(t, e) {
3198
3198
  if (rt(t) != "object" || !t) return t;
3199
3199
  var r = t[Symbol.toPrimitive];
3200
3200
  if (r !== void 0) {
@@ -3204,8 +3204,8 @@ function Ls(t, e) {
3204
3204
  }
3205
3205
  return String(t);
3206
3206
  }
3207
- function js(t) {
3208
- var e = Ls(t, "string");
3207
+ function Ls(t) {
3208
+ var e = _s(t, "string");
3209
3209
  return rt(e) == "symbol" ? e : e + "";
3210
3210
  }
3211
3211
  const Ms = ["colorSchemes", "components", "defaultColorScheme"];
@@ -3221,14 +3221,14 @@ function Bs(t, e) {
3221
3221
  let l = a;
3222
3222
  const c = {}, {
3223
3223
  [n]: d
3224
- } = r, f = Fe(r, [n].map(js));
3224
+ } = r, f = Fe(r, [n].map(Ls));
3225
3225
  if (Object.entries(f || {}).forEach(([g, m]) => {
3226
3226
  const {
3227
3227
  vars: b,
3228
3228
  css: v,
3229
3229
  varsWithDefaults: S
3230
3230
  } = Jt(m, e);
3231
- l = Ee(l, S), c[g] = {
3231
+ l = Pe(l, S), c[g] = {
3232
3232
  css: v,
3233
3233
  vars: b
3234
3234
  };
@@ -3238,7 +3238,7 @@ function Bs(t, e) {
3238
3238
  vars: m,
3239
3239
  varsWithDefaults: b
3240
3240
  } = Jt(d, e);
3241
- l = Ee(l, b), c[n] = {
3241
+ l = Pe(l, b), c[n] = {
3242
3242
  css: g,
3243
3243
  vars: m
3244
3244
  };
@@ -3294,7 +3294,7 @@ const Vs = F({}, hr, {
3294
3294
  lineHeight: {
3295
3295
  themeKey: "lineHeight"
3296
3296
  }
3297
- }), Ke = {
3297
+ }), Qe = {
3298
3298
  grey: {
3299
3299
  50: "#FBFCFE",
3300
3300
  100: "#F0F4F8",
@@ -3356,12 +3356,12 @@ const Vs = F({}, hr, {
3356
3356
  900: "#021D02"
3357
3357
  }
3358
3358
  };
3359
- function Hs(t) {
3359
+ function qs(t) {
3360
3360
  var e;
3361
3361
  return !!t[0].match(/^(typography|variants|breakpoints)$/) || !!t[0].match(/sxConfig$/) || // ends with sxConfig
3362
3362
  t[0] === "palette" && !!((e = t[1]) != null && e.match(/^(mode)$/)) || t[0] === "focus" && t[1] !== "thickness";
3363
3363
  }
3364
- const qs = (t, e) => Ss(t, e, "Mui"), Us = (t) => t && typeof t == "object" && Object.keys(t).some((e) => {
3364
+ const Hs = (t, e) => Ss(t, e, "Mui"), Us = (t) => t && typeof t == "object" && Object.keys(t).some((e) => {
3365
3365
  var r;
3366
3366
  return (r = e.match) == null ? void 0 : r.call(e, /^(plain(Hover|Active|Disabled)?(Color|Bg)|outlined(Hover|Active|Disabled)?(Color|Border|Bg)|soft(Hover|Active|Disabled)?(Color|Bg)|solid(Hover|Active|Disabled)?(Color|Bg))$/);
3367
3367
  }), Zr = (t, e, r) => {
@@ -3416,7 +3416,7 @@ const qs = (t, e) => Ss(t, e, "Mui"), Us = (t) => t && typeof t == "object" && O
3416
3416
  solidDisabledColor: "var(--variant-solidDisabledColor)",
3417
3417
  solidDisabledBg: "var(--variant-solidDisabledBg)"
3418
3418
  }), r;
3419
- }, Ws = ["cssVarPrefix", "breakpoints", "spacing", "components", "variants", "shouldSkipGeneratingVar"], Qs = ["colorSchemes"], Ks = (t = "joy") => Is(t);
3419
+ }, Ws = ["cssVarPrefix", "breakpoints", "spacing", "components", "variants", "shouldSkipGeneratingVar"], Ks = ["colorSchemes"], Qs = (t = "joy") => Is(t);
3420
3420
  function Ct(t) {
3421
3421
  var e, r, n, o, i, s, a, l, c, d;
3422
3422
  const f = t || {}, {
@@ -3425,21 +3425,21 @@ function Ct(t) {
3425
3425
  spacing: m,
3426
3426
  components: b,
3427
3427
  variants: v,
3428
- shouldSkipGeneratingVar: S = Hs
3429
- } = f, w = Fe(f, Ws), p = Ks(h), E = {
3430
- primary: Ke.blue,
3431
- neutral: Ke.grey,
3432
- danger: Ke.red,
3433
- success: Ke.green,
3434
- warning: Ke.yellow,
3428
+ shouldSkipGeneratingVar: S = qs
3429
+ } = f, w = Fe(f, Ws), p = Qs(h), P = {
3430
+ primary: Qe.blue,
3431
+ neutral: Qe.grey,
3432
+ danger: Qe.red,
3433
+ success: Qe.green,
3434
+ warning: Qe.yellow,
3435
3435
  common: {
3436
3436
  white: "#FFF",
3437
3437
  black: "#000"
3438
3438
  }
3439
3439
  }, u = (C) => {
3440
3440
  var T;
3441
- const k = C.split("-"), q = k[1], y = k[2];
3442
- return p(C, (T = E[q]) == null ? void 0 : T[y]);
3441
+ const k = C.split("-"), H = k[1], y = k[2];
3442
+ return p(C, (T = P[H]) == null ? void 0 : T[y]);
3443
3443
  }, I = (C) => ({
3444
3444
  plainColor: u(`palette-${C}-500`),
3445
3445
  plainHoverBg: u(`palette-${C}-100`),
@@ -3488,18 +3488,18 @@ function Ct(t) {
3488
3488
  solidActiveBg: u(`palette-${C}-700`),
3489
3489
  solidDisabledColor: u("palette-neutral-500"),
3490
3490
  solidDisabledBg: u("palette-neutral-800")
3491
- }), j = {
3491
+ }), L = {
3492
3492
  palette: {
3493
3493
  mode: "light",
3494
- primary: F({}, E.primary, I("primary")),
3495
- neutral: F({}, E.neutral, I("neutral"), {
3494
+ primary: F({}, P.primary, I("primary")),
3495
+ neutral: F({}, P.neutral, I("neutral"), {
3496
3496
  plainColor: u("palette-neutral-700"),
3497
3497
  plainHoverColor: u("palette-neutral-900"),
3498
3498
  outlinedColor: u("palette-neutral-700")
3499
3499
  }),
3500
- danger: F({}, E.danger, I("danger")),
3501
- success: F({}, E.success, I("success")),
3502
- warning: F({}, E.warning, I("warning")),
3500
+ danger: F({}, P.danger, I("danger")),
3501
+ success: F({}, P.success, I("success")),
3502
+ warning: F({}, P.warning, I("warning")),
3503
3503
  common: {
3504
3504
  white: "#FFF",
3505
3505
  black: "#000"
@@ -3520,13 +3520,13 @@ function Ct(t) {
3520
3520
  tooltip: u("palette-neutral-500"),
3521
3521
  backdrop: `rgba(${p(
3522
3522
  "palette-neutral-darkChannel",
3523
- De(E.neutral[900])
3523
+ De(P.neutral[900])
3524
3524
  // should be the same index as in `attachColorChannels`
3525
3525
  )} / 0.25)`
3526
3526
  },
3527
3527
  divider: `rgba(${p(
3528
3528
  "palette-neutral-mainChannel",
3529
- De(E.neutral[500])
3529
+ De(P.neutral[500])
3530
3530
  // should be the same index as in `attachColorChannels`
3531
3531
  )} / 0.2)`,
3532
3532
  focusVisible: u("palette-primary-500")
@@ -3537,14 +3537,14 @@ function Ct(t) {
3537
3537
  }, ee = {
3538
3538
  palette: {
3539
3539
  mode: "dark",
3540
- primary: F({}, E.primary, O("primary")),
3541
- neutral: F({}, E.neutral, O("neutral"), {
3540
+ primary: F({}, P.primary, O("primary")),
3541
+ neutral: F({}, P.neutral, O("neutral"), {
3542
3542
  plainColor: u("palette-neutral-300"),
3543
3543
  plainHoverColor: u("palette-neutral-300")
3544
3544
  }),
3545
- danger: F({}, E.danger, O("danger")),
3546
- success: F({}, E.success, O("success")),
3547
- warning: F({}, E.warning, O("warning")),
3545
+ danger: F({}, P.danger, O("danger")),
3546
+ success: F({}, P.success, O("success")),
3547
+ warning: F({}, P.warning, O("warning")),
3548
3548
  common: {
3549
3549
  white: "#FFF",
3550
3550
  black: "#000"
@@ -3565,13 +3565,13 @@ function Ct(t) {
3565
3565
  tooltip: u("palette-neutral-600"),
3566
3566
  backdrop: `rgba(${p(
3567
3567
  "palette-neutral-darkChannel",
3568
- De(E.neutral[50])
3568
+ De(P.neutral[50])
3569
3569
  // should be the same index as in `attachColorChannels`
3570
3570
  )} / 0.25)`
3571
3571
  },
3572
3572
  divider: `rgba(${p(
3573
3573
  "palette-neutral-mainChannel",
3574
- De(E.neutral[500])
3574
+ De(P.neutral[500])
3575
3575
  // should be the same index as in `attachColorChannels`
3576
3576
  )} / 0.16)`,
3577
3577
  focusVisible: u("palette-primary-500")
@@ -3592,7 +3592,7 @@ function Ct(t) {
3592
3592
  lg: 600,
3593
3593
  // semi-bold
3594
3594
  xl: 700
3595
- }, w.fontWeight), H = F({
3595
+ }, w.fontWeight), q = F({
3596
3596
  xs: "0.75rem",
3597
3597
  // 12px
3598
3598
  sm: "0.875rem",
@@ -3618,20 +3618,20 @@ function Ct(t) {
3618
3618
  lg: "1.55556",
3619
3619
  // large font sizes for components
3620
3620
  xl: "1.66667"
3621
- }, w.lineHeight), de = (e = (r = w.colorSchemes) == null || (r = r.light) == null ? void 0 : r.shadowRing) != null ? e : j.shadowRing, B = (n = (o = w.colorSchemes) == null || (o = o.light) == null ? void 0 : o.shadowChannel) != null ? n : j.shadowChannel, W = (i = (s = w.colorSchemes) == null || (s = s.light) == null ? void 0 : s.shadowOpacity) != null ? i : j.shadowOpacity, ie = {
3621
+ }, w.lineHeight), de = (e = (r = w.colorSchemes) == null || (r = r.light) == null ? void 0 : r.shadowRing) != null ? e : L.shadowRing, B = (n = (o = w.colorSchemes) == null || (o = o.light) == null ? void 0 : o.shadowChannel) != null ? n : L.shadowChannel, W = (i = (s = w.colorSchemes) == null || (s = s.light) == null ? void 0 : s.shadowOpacity) != null ? i : L.shadowOpacity, ie = {
3622
3622
  colorSchemes: {
3623
- light: j,
3623
+ light: L,
3624
3624
  dark: ee
3625
3625
  },
3626
- fontSize: H,
3626
+ fontSize: q,
3627
3627
  fontFamily: U,
3628
3628
  fontWeight: te,
3629
3629
  focus: {
3630
3630
  thickness: "2px",
3631
- selector: `&.${qs("", "focusVisible")}, &:focus-visible`,
3631
+ selector: `&.${Hs("", "focusVisible")}, &:focus-visible`,
3632
3632
  default: {
3633
3633
  outlineOffset: `var(--focus-outline-offset, ${p("focus-thickness", (a = (l = w.focus) == null ? void 0 : l.thickness) != null ? a : "2px")})`,
3634
- outline: `${p("focus-thickness", (c = (d = w.focus) == null ? void 0 : d.thickness) != null ? c : "2px")} solid ${p("palette-focusVisible", E.primary[500])}`
3634
+ outline: `${p("focus-thickness", (c = (d = w.focus) == null ? void 0 : d.thickness) != null ? c : "2px")} solid ${p("palette-focusVisible", P.primary[500])}`
3635
3635
  }
3636
3636
  },
3637
3637
  lineHeight: V,
@@ -3661,89 +3661,89 @@ function Ct(t) {
3661
3661
  h1: {
3662
3662
  fontFamily: p(`fontFamily-display, ${U.display}`),
3663
3663
  fontWeight: p(`fontWeight-xl, ${te.xl}`),
3664
- fontSize: p(`fontSize-xl4, ${H.xl4}`),
3664
+ fontSize: p(`fontSize-xl4, ${q.xl4}`),
3665
3665
  lineHeight: p(`lineHeight-xs, ${V.xs}`),
3666
3666
  letterSpacing: "-0.025em",
3667
- color: p(`palette-text-primary, ${j.palette.text.primary}`)
3667
+ color: p(`palette-text-primary, ${L.palette.text.primary}`)
3668
3668
  },
3669
3669
  h2: {
3670
3670
  fontFamily: p(`fontFamily-display, ${U.display}`),
3671
3671
  fontWeight: p(`fontWeight-xl, ${te.xl}`),
3672
- fontSize: p(`fontSize-xl3, ${H.xl3}`),
3672
+ fontSize: p(`fontSize-xl3, ${q.xl3}`),
3673
3673
  lineHeight: p(`lineHeight-xs, ${V.xs}`),
3674
3674
  letterSpacing: "-0.025em",
3675
- color: p(`palette-text-primary, ${j.palette.text.primary}`)
3675
+ color: p(`palette-text-primary, ${L.palette.text.primary}`)
3676
3676
  },
3677
3677
  h3: {
3678
3678
  fontFamily: p(`fontFamily-display, ${U.display}`),
3679
3679
  fontWeight: p(`fontWeight-lg, ${te.lg}`),
3680
- fontSize: p(`fontSize-xl2, ${H.xl2}`),
3680
+ fontSize: p(`fontSize-xl2, ${q.xl2}`),
3681
3681
  lineHeight: p(`lineHeight-xs, ${V.xs}`),
3682
3682
  letterSpacing: "-0.025em",
3683
- color: p(`palette-text-primary, ${j.palette.text.primary}`)
3683
+ color: p(`palette-text-primary, ${L.palette.text.primary}`)
3684
3684
  },
3685
3685
  h4: {
3686
3686
  fontFamily: p(`fontFamily-display, ${U.display}`),
3687
3687
  fontWeight: p(`fontWeight-lg, ${te.lg}`),
3688
- fontSize: p(`fontSize-xl, ${H.xl}`),
3688
+ fontSize: p(`fontSize-xl, ${q.xl}`),
3689
3689
  lineHeight: p(`lineHeight-md, ${V.md}`),
3690
3690
  letterSpacing: "-0.025em",
3691
- color: p(`palette-text-primary, ${j.palette.text.primary}`)
3691
+ color: p(`palette-text-primary, ${L.palette.text.primary}`)
3692
3692
  },
3693
3693
  "title-lg": {
3694
3694
  fontFamily: p(`fontFamily-body, ${U.body}`),
3695
3695
  fontWeight: p(`fontWeight-lg, ${te.lg}`),
3696
- fontSize: p(`fontSize-lg, ${H.lg}`),
3696
+ fontSize: p(`fontSize-lg, ${q.lg}`),
3697
3697
  lineHeight: p(`lineHeight-xs, ${V.xs}`),
3698
- color: p(`palette-text-primary, ${j.palette.text.primary}`)
3698
+ color: p(`palette-text-primary, ${L.palette.text.primary}`)
3699
3699
  },
3700
3700
  "title-md": {
3701
3701
  fontFamily: p(`fontFamily-body, ${U.body}`),
3702
3702
  fontWeight: p(`fontWeight-md, ${te.md}`),
3703
- fontSize: p(`fontSize-md, ${H.md}`),
3703
+ fontSize: p(`fontSize-md, ${q.md}`),
3704
3704
  lineHeight: p(`lineHeight-md, ${V.md}`),
3705
- color: p(`palette-text-primary, ${j.palette.text.primary}`)
3705
+ color: p(`palette-text-primary, ${L.palette.text.primary}`)
3706
3706
  },
3707
3707
  "title-sm": {
3708
3708
  fontFamily: p(`fontFamily-body, ${U.body}`),
3709
3709
  fontWeight: p(`fontWeight-md, ${te.md}`),
3710
- fontSize: p(`fontSize-sm, ${H.sm}`),
3710
+ fontSize: p(`fontSize-sm, ${q.sm}`),
3711
3711
  lineHeight: p(`lineHeight-sm, ${V.sm}`),
3712
- color: p(`palette-text-primary, ${j.palette.text.primary}`)
3712
+ color: p(`palette-text-primary, ${L.palette.text.primary}`)
3713
3713
  },
3714
3714
  "body-lg": {
3715
3715
  fontFamily: p(`fontFamily-body, ${U.body}`),
3716
- fontSize: p(`fontSize-lg, ${H.lg}`),
3716
+ fontSize: p(`fontSize-lg, ${q.lg}`),
3717
3717
  lineHeight: p(`lineHeight-md, ${V.md}`),
3718
- color: p(`palette-text-secondary, ${j.palette.text.secondary}`)
3718
+ color: p(`palette-text-secondary, ${L.palette.text.secondary}`)
3719
3719
  },
3720
3720
  "body-md": {
3721
3721
  fontFamily: p(`fontFamily-body, ${U.body}`),
3722
- fontSize: p(`fontSize-md, ${H.md}`),
3722
+ fontSize: p(`fontSize-md, ${q.md}`),
3723
3723
  lineHeight: p(`lineHeight-md, ${V.md}`),
3724
- color: p(`palette-text-secondary, ${j.palette.text.secondary}`)
3724
+ color: p(`palette-text-secondary, ${L.palette.text.secondary}`)
3725
3725
  },
3726
3726
  "body-sm": {
3727
3727
  fontFamily: p(`fontFamily-body, ${U.body}`),
3728
- fontSize: p(`fontSize-sm, ${H.sm}`),
3728
+ fontSize: p(`fontSize-sm, ${q.sm}`),
3729
3729
  lineHeight: p(`lineHeight-md, ${V.md}`),
3730
- color: p(`palette-text-tertiary, ${j.palette.text.tertiary}`)
3730
+ color: p(`palette-text-tertiary, ${L.palette.text.tertiary}`)
3731
3731
  },
3732
3732
  "body-xs": {
3733
3733
  fontFamily: p(`fontFamily-body, ${U.body}`),
3734
3734
  fontWeight: p(`fontWeight-md, ${te.md}`),
3735
- fontSize: p(`fontSize-xs, ${H.xs}`),
3735
+ fontSize: p(`fontSize-xs, ${q.xs}`),
3736
3736
  lineHeight: p(`lineHeight-md, ${V.md}`),
3737
- color: p(`palette-text-tertiary, ${j.palette.text.tertiary}`)
3737
+ color: p(`palette-text-tertiary, ${L.palette.text.tertiary}`)
3738
3738
  }
3739
3739
  }
3740
- }, ae = w ? Ee(ie, w) : ie, {
3740
+ }, ae = w ? Pe(ie, w) : ie, {
3741
3741
  colorSchemes: x
3742
- } = ae, P = Fe(ae, Qs), $ = F({
3742
+ } = ae, E = Fe(ae, Ks), $ = F({
3743
3743
  colorSchemes: x
3744
- }, P, {
3744
+ }, E, {
3745
3745
  breakpoints: Dn(g ?? {}),
3746
- components: Ee({
3746
+ components: Pe({
3747
3747
  // TODO: find a way to abstract SvgIcon out of @mui/material
3748
3748
  MuiSvgIcon: {
3749
3749
  defaultProps: {
@@ -3755,7 +3755,7 @@ function Ct(t) {
3755
3755
  theme: T
3756
3756
  }) => {
3757
3757
  var k;
3758
- const q = C.instanceFontSize;
3758
+ const H = C.instanceFontSize;
3759
3759
  return F({
3760
3760
  margin: "var(--Icon-margin)"
3761
3761
  }, C.fontSize && C.fontSize !== "inherit" && {
@@ -3764,8 +3764,8 @@ function Ct(t) {
3764
3764
  color: `var(--Icon-color, ${$.vars.palette.text.icon})`
3765
3765
  }, C.color && C.color !== "inherit" && T.vars.palette[C.color] && {
3766
3766
  color: `rgba(${(k = T.vars.palette[C.color]) == null ? void 0 : k.mainChannel} / 1)`
3767
- }), q && q !== "inherit" && {
3768
- "--Icon-fontSize": T.vars.fontSize[q]
3767
+ }), H && H !== "inherit" && {
3768
+ "--Icon-fontSize": T.vars.fontSize[H]
3769
3769
  });
3770
3770
  }
3771
3771
  }
@@ -3777,12 +3777,12 @@ function Ct(t) {
3777
3777
  });
3778
3778
  function z(C, T) {
3779
3779
  Object.keys(T).forEach((k) => {
3780
- const q = {
3780
+ const H = {
3781
3781
  main: "500",
3782
3782
  light: "200",
3783
3783
  dark: "700"
3784
3784
  };
3785
- C === "dark" && (q.main = 400), !T[k].mainChannel && T[k][q.main] && (T[k].mainChannel = De(T[k][q.main])), !T[k].lightChannel && T[k][q.light] && (T[k].lightChannel = De(T[k][q.light])), !T[k].darkChannel && T[k][q.dark] && (T[k].darkChannel = De(T[k][q.dark]));
3785
+ C === "dark" && (H.main = 400), !T[k].mainChannel && T[k][H.main] && (T[k].mainChannel = De(T[k][H.main])), !T[k].lightChannel && T[k][H.light] && (T[k].lightChannel = De(T[k][H.light])), !T[k].darkChannel && T[k][H.dark] && (T[k].darkChannel = De(T[k][H.dark]));
3786
3786
  });
3787
3787
  }
3788
3788
  Object.entries($.colorSchemes).forEach(([C, T]) => {
@@ -3793,15 +3793,15 @@ function Ct(t) {
3793
3793
  shouldSkipGeneratingVar: S
3794
3794
  }, {
3795
3795
  vars: D,
3796
- generateCssVars: _
3796
+ generateCssVars: j
3797
3797
  } = Bs(
3798
3798
  // @ts-ignore property truDark is missing from colorSchemes
3799
3799
  F({
3800
3800
  colorSchemes: x
3801
- }, P),
3801
+ }, E),
3802
3802
  R
3803
3803
  );
3804
- $.vars = D, $.generateCssVars = _, $.unstable_sxConfig = F({}, Vs, t == null ? void 0 : t.unstable_sxConfig), $.unstable_sx = function(T) {
3804
+ $.vars = D, $.generateCssVars = j, $.unstable_sxConfig = F({}, Vs, t == null ? void 0 : t.unstable_sxConfig), $.unstable_sx = function(T) {
3805
3805
  return mr({
3806
3806
  sx: T,
3807
3807
  theme: this
@@ -3811,7 +3811,7 @@ function Ct(t) {
3811
3811
  getCssVar: p,
3812
3812
  palette: $.colorSchemes.light.palette
3813
3813
  };
3814
- return $.variants = Ee({
3814
+ return $.variants = Pe({
3815
3815
  plain: fe("plain", A),
3816
3816
  plainHover: fe("plainHover", A),
3817
3817
  plainActive: fe("plainActive", A),
@@ -3852,10 +3852,10 @@ const Yn = Ct(), Ye = {
3852
3852
  light: Ye.defaultLightColorScheme,
3853
3853
  dark: Ye.defaultDarkColorScheme
3854
3854
  }
3855
- }), Lt = () => {
3855
+ }), _t = () => {
3856
3856
  const t = gs(Yn);
3857
- return process.env.NODE_ENV !== "production" && L.useDebugValue(t), t[xn] || t;
3858
- }, Js = typeof window < "u" ? L.useLayoutEffect : L.useEffect;
3857
+ return process.env.NODE_ENV !== "production" && _.useDebugValue(t), t[xn] || t;
3858
+ }, Js = typeof window < "u" ? _.useLayoutEffect : _.useEffect;
3859
3859
  function Gn(t, e) {
3860
3860
  const r = {
3861
3861
  ...e
@@ -3900,11 +3900,11 @@ function Xs(t) {
3900
3900
  return Object.keys(t).length === 0;
3901
3901
  }
3902
3902
  function ea(t = null) {
3903
- const e = L.useContext(Ot);
3903
+ const e = _.useContext(Ot);
3904
3904
  return !e || Xs(e) ? t : e;
3905
3905
  }
3906
3906
  function ta(t, e, r, n, o) {
3907
- const [i, s] = L.useState(() => o && r ? r(t).matches : n ? n(t).matches : e);
3907
+ const [i, s] = _.useState(() => o && r ? r(t).matches : n ? n(t).matches : e);
3908
3908
  return Js(() => {
3909
3909
  if (!r)
3910
3910
  return;
@@ -3917,10 +3917,10 @@ function ta(t, e, r, n, o) {
3917
3917
  }, [t, r]), i;
3918
3918
  }
3919
3919
  const ra = {
3920
- ...L
3920
+ ..._
3921
3921
  }, Jn = ra.useSyncExternalStore;
3922
3922
  function na(t, e, r, n, o) {
3923
- const i = L.useCallback(() => e, [e]), s = L.useMemo(() => {
3923
+ const i = _.useCallback(() => e, [e]), s = _.useMemo(() => {
3924
3924
  if (o && r)
3925
3925
  return () => r(t).matches;
3926
3926
  if (n !== null) {
@@ -3930,7 +3930,7 @@ function na(t, e, r, n, o) {
3930
3930
  return () => d;
3931
3931
  }
3932
3932
  return i;
3933
- }, [i, t, n, o, r]), [a, l] = L.useMemo(() => {
3933
+ }, [i, t, n, o, r]), [a, l] = _.useMemo(() => {
3934
3934
  if (r === null)
3935
3935
  return [i, () => () => {
3936
3936
  }];
@@ -3957,13 +3957,13 @@ function oa(t, e = {}) {
3957
3957
  let l = typeof t == "function" ? t(r) : t;
3958
3958
  l = l.replace(/^@media( ?)/m, "");
3959
3959
  const d = (Jn !== void 0 ? na : ta)(l, o, i, s, a);
3960
- return process.env.NODE_ENV !== "production" && L.useDebugValue({
3960
+ return process.env.NODE_ENV !== "production" && _.useDebugValue({
3961
3961
  query: l,
3962
3962
  match: d
3963
3963
  }), d;
3964
3964
  }
3965
3965
  const ia = (t, e = "theme-mode") => {
3966
- const [r, n] = Pr(t), [o, i] = Pr(t), { mode: s, setMode: a } = Gs(), l = s || o, c = $r(
3966
+ const [r, n] = Er(t), [o, i] = Er(t), { mode: s, setMode: a } = Gs(), l = s || o, c = $r(
3967
3967
  (f) => {
3968
3968
  i(f), a && a(f), typeof window < "u" && localStorage.setItem(e, f);
3969
3969
  },
@@ -4126,7 +4126,7 @@ const sa = {
4126
4126
  overlay: "linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(18, 18, 18, 0.8) 100%)"
4127
4127
  }
4128
4128
  }, ca = (t) => {
4129
- var n, o, i, s, a, l, c, d, f, h, g, m, b, v, S, w, p, E, u, I, O, j, ee, Y, U, te;
4129
+ var n, o, i, s, a, l, c, d, f, h, g, m, b, v, S, w, p, P, u, I, O, L, ee, Y, U, te;
4130
4130
  const e = Ct(), r = {
4131
4131
  // Only add custom properties, don't override the entire palette
4132
4132
  colorSchemes: {
@@ -4161,11 +4161,11 @@ const sa = {
4161
4161
  },
4162
4162
  success: {
4163
4163
  ...e.colorSchemes.dark.palette.success,
4164
- ...((u = (E = (p = t == null ? void 0 : t.colorSchemes) == null ? void 0 : p.dark) == null ? void 0 : E.palette) == null ? void 0 : u.success) || we.dark.palette.success
4164
+ ...((u = (P = (p = t == null ? void 0 : t.colorSchemes) == null ? void 0 : p.dark) == null ? void 0 : P.palette) == null ? void 0 : u.success) || we.dark.palette.success
4165
4165
  },
4166
4166
  danger: {
4167
4167
  ...e.colorSchemes.dark.palette.danger,
4168
- ...((j = (O = (I = t == null ? void 0 : t.colorSchemes) == null ? void 0 : I.dark) == null ? void 0 : O.palette) == null ? void 0 : j.danger) || we.dark.palette.danger
4168
+ ...((L = (O = (I = t == null ? void 0 : t.colorSchemes) == null ? void 0 : I.dark) == null ? void 0 : O.palette) == null ? void 0 : L.danger) || we.dark.palette.danger
4169
4169
  },
4170
4170
  warning: {
4171
4171
  ...e.colorSchemes.dark.palette.warning,
@@ -4197,16 +4197,16 @@ const sa = {
4197
4197
  cssVarPrefix: "joy",
4198
4198
  colorSchemeSelector: 'data-joy-color-scheme="%s"'
4199
4199
  });
4200
- }, da = () => Lt().spacingScale, sc = (t) => {
4200
+ }, da = () => _t().spacingScale, sc = (t) => {
4201
4201
  const e = da();
4202
4202
  return e ? e[t] : "16px";
4203
4203
  }, fa = () => {
4204
- const t = Lt(), { theme: e } = Ue();
4204
+ const t = _t(), { theme: e } = Ue();
4205
4205
  return oa(
4206
4206
  t.breakpoints.down(e.customBreakpoints.values.md)
4207
4207
  );
4208
- }, ac = () => Lt(), Ue = () => {
4209
- const t = Lt(), { mode: e } = ia(
4208
+ }, ac = () => _t(), Ue = () => {
4209
+ const t = _t(), { mode: e } = ia(
4210
4210
  t.mode || "light",
4211
4211
  t.modeStorageKey || "theme-mode"
4212
4212
  );
@@ -4295,7 +4295,7 @@ const sa = {
4295
4295
  for (const n in e)
4296
4296
  n !== "__proto__" && n !== "constructor" && (n in t ? N(t[n]) || t[n] instanceof String || N(e[n]) || e[n] instanceof String ? r && (t[n] = e[n]) : eo(t[n], e[n], r) : t[n] = e[n]);
4297
4297
  return t;
4298
- }, _e = (t) => t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
4298
+ }, je = (t) => t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
4299
4299
  var ya = {
4300
4300
  "&": "&amp;",
4301
4301
  "<": "&lt;",
@@ -4364,7 +4364,7 @@ const Sa = [" ", ",", "?", "!", ";"], xa = new va(20), Ca = (t, e, r) => {
4364
4364
  (n = (r = console == null ? void 0 : console[t]) == null ? void 0 : r.apply) == null || n.call(r, console, e);
4365
4365
  }
4366
4366
  };
4367
- class Et {
4367
+ class Pt {
4368
4368
  constructor(e, r = {}) {
4369
4369
  this.init(e, r);
4370
4370
  }
@@ -4387,17 +4387,17 @@ class Et {
4387
4387
  return o && !this.debug ? null : (N(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[r](e));
4388
4388
  }
4389
4389
  create(e) {
4390
- return new Et(this.logger, {
4390
+ return new Pt(this.logger, {
4391
4391
  prefix: `${this.prefix}:${e}:`,
4392
4392
  ...this.options
4393
4393
  });
4394
4394
  }
4395
4395
  clone(e) {
4396
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new Et(this.logger, e);
4396
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new Pt(this.logger, e);
4397
4397
  }
4398
4398
  }
4399
- var Ae = new Et();
4400
- class jt {
4399
+ var Ae = new Pt();
4400
+ class Lt {
4401
4401
  constructor() {
4402
4402
  this.observers = {};
4403
4403
  }
@@ -4427,7 +4427,7 @@ class jt {
4427
4427
  });
4428
4428
  }
4429
4429
  }
4430
- class on extends jt {
4430
+ class on extends Lt {
4431
4431
  constructor(e, r = {
4432
4432
  ns: ["translation"],
4433
4433
  defaultNS: "translation"
@@ -4510,7 +4510,7 @@ var to = {
4510
4510
  }
4511
4511
  };
4512
4512
  const sn = {}, an = (t) => !N(t) && typeof t != "boolean" && typeof t != "number";
4513
- class Pt extends jt {
4513
+ class Et extends Lt {
4514
4514
  constructor(e, r = {}) {
4515
4515
  super(), pa(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Ae.create("translator");
4516
4516
  }
@@ -4581,23 +4581,23 @@ class Pt extends jt {
4581
4581
  } : a;
4582
4582
  const g = this.resolve(e, o);
4583
4583
  let m = g == null ? void 0 : g.res;
4584
- const b = (g == null ? void 0 : g.usedKey) || a, v = (g == null ? void 0 : g.exactUsedKey) || a, S = ["[object Number]", "[object Function]", "[object RegExp]"], w = o.joinArrays !== void 0 ? o.joinArrays : this.options.joinArrays, p = !this.i18nFormat || this.i18nFormat.handleAsObject, E = o.count !== void 0 && !N(o.count), u = Pt.hasDefaultValue(o), I = E ? this.pluralResolver.getSuffix(f, o.count, o) : "", O = o.ordinal && E ? this.pluralResolver.getSuffix(f, o.count, {
4584
+ const b = (g == null ? void 0 : g.usedKey) || a, v = (g == null ? void 0 : g.exactUsedKey) || a, S = ["[object Number]", "[object Function]", "[object RegExp]"], w = o.joinArrays !== void 0 ? o.joinArrays : this.options.joinArrays, p = !this.i18nFormat || this.i18nFormat.handleAsObject, P = o.count !== void 0 && !N(o.count), u = Et.hasDefaultValue(o), I = P ? this.pluralResolver.getSuffix(f, o.count, o) : "", O = o.ordinal && P ? this.pluralResolver.getSuffix(f, o.count, {
4585
4585
  ordinal: !1
4586
- }) : "", j = E && !o.ordinal && o.count === 0, ee = j && o[`defaultValue${this.options.pluralSeparator}zero`] || o[`defaultValue${I}`] || o[`defaultValue${O}`] || o.defaultValue;
4586
+ }) : "", L = P && !o.ordinal && o.count === 0, ee = L && o[`defaultValue${this.options.pluralSeparator}zero`] || o[`defaultValue${I}`] || o[`defaultValue${O}`] || o.defaultValue;
4587
4587
  let Y = m;
4588
4588
  p && !m && u && (Y = ee);
4589
4589
  const U = an(Y), te = Object.prototype.toString.apply(Y);
4590
4590
  if (p && Y && U && S.indexOf(te) < 0 && !(N(w) && Array.isArray(Y))) {
4591
4591
  if (!o.returnObjects && !this.options.returnObjects) {
4592
4592
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
4593
- const H = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(b, Y, {
4593
+ const q = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(b, Y, {
4594
4594
  ...o,
4595
4595
  ns: l
4596
4596
  }) : `key '${a} (${this.language})' returned an object instead of string.`;
4597
- return i ? (g.res = H, g.usedParams = this.getUsedParamsDetails(o), g) : H;
4597
+ return i ? (g.res = q, g.usedParams = this.getUsedParamsDetails(o), g) : q;
4598
4598
  }
4599
4599
  if (s) {
4600
- const H = Array.isArray(Y), V = H ? [] : {}, de = H ? v : b;
4600
+ const q = Array.isArray(Y), V = q ? [] : {}, de = q ? v : b;
4601
4601
  for (const B in Y)
4602
4602
  if (Object.prototype.hasOwnProperty.call(Y, B)) {
4603
4603
  const W = `${de}${s}${B}`;
@@ -4617,36 +4617,36 @@ class Pt extends jt {
4617
4617
  } else if (p && N(w) && Array.isArray(m))
4618
4618
  m = m.join(w), m && (m = this.extendTranslation(m, e, o, n));
4619
4619
  else {
4620
- let H = !1, V = !1;
4621
- !this.isValidLookup(m) && u && (H = !0, m = ee), this.isValidLookup(m) || (V = !0, m = a);
4620
+ let q = !1, V = !1;
4621
+ !this.isValidLookup(m) && u && (q = !0, m = ee), this.isValidLookup(m) || (V = !0, m = a);
4622
4622
  const B = (o.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && V ? void 0 : m, W = u && ee !== m && this.options.updateMissing;
4623
- if (V || H || W) {
4623
+ if (V || q || W) {
4624
4624
  if (this.logger.log(W ? "updateKey" : "missingKey", f, c, a, W ? ee : m), s) {
4625
- const P = this.resolve(a, {
4625
+ const E = this.resolve(a, {
4626
4626
  ...o,
4627
4627
  keySeparator: !1
4628
4628
  });
4629
- P && P.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
4629
+ E && E.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
4630
4630
  }
4631
4631
  let ie = [];
4632
4632
  const ae = this.languageUtils.getFallbackCodes(this.options.fallbackLng, o.lng || this.language);
4633
4633
  if (this.options.saveMissingTo === "fallback" && ae && ae[0])
4634
- for (let P = 0; P < ae.length; P++)
4635
- ie.push(ae[P]);
4634
+ for (let E = 0; E < ae.length; E++)
4635
+ ie.push(ae[E]);
4636
4636
  else this.options.saveMissingTo === "all" ? ie = this.languageUtils.toResolveHierarchy(o.lng || this.language) : ie.push(o.lng || this.language);
4637
- const x = (P, $, z) => {
4637
+ const x = (E, $, z) => {
4638
4638
  var D;
4639
4639
  const R = u && z !== m ? z : B;
4640
- this.options.missingKeyHandler ? this.options.missingKeyHandler(P, c, $, R, W, o) : (D = this.backendConnector) != null && D.saveMissing && this.backendConnector.saveMissing(P, c, $, R, W, o), this.emit("missingKey", P, c, $, m);
4640
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(E, c, $, R, W, o) : (D = this.backendConnector) != null && D.saveMissing && this.backendConnector.saveMissing(E, c, $, R, W, o), this.emit("missingKey", E, c, $, m);
4641
4641
  };
4642
- this.options.saveMissing && (this.options.saveMissingPlurals && E ? ie.forEach((P) => {
4643
- const $ = this.pluralResolver.getSuffixes(P, o);
4644
- j && o[`defaultValue${this.options.pluralSeparator}zero`] && $.indexOf(`${this.options.pluralSeparator}zero`) < 0 && $.push(`${this.options.pluralSeparator}zero`), $.forEach((z) => {
4645
- x([P], a + z, o[`defaultValue${z}`] || ee);
4642
+ this.options.saveMissing && (this.options.saveMissingPlurals && P ? ie.forEach((E) => {
4643
+ const $ = this.pluralResolver.getSuffixes(E, o);
4644
+ L && o[`defaultValue${this.options.pluralSeparator}zero`] && $.indexOf(`${this.options.pluralSeparator}zero`) < 0 && $.push(`${this.options.pluralSeparator}zero`), $.forEach((z) => {
4645
+ x([E], a + z, o[`defaultValue${z}`] || ee);
4646
4646
  });
4647
4647
  }) : x(ie, a, ee));
4648
4648
  }
4649
- m = this.extendTranslation(m, e, o, g, n), V && m === a && this.options.appendNamespaceToMissingKey && (m = `${c}${d}${a}`), (V || H) && this.options.parseMissingKeyHandler && (m = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}${d}${a}` : a, H ? m : void 0, o));
4649
+ m = this.extendTranslation(m, e, o, g, n), V && m === a && this.options.appendNamespaceToMissingKey && (m = `${c}${d}${a}`), (V || q) && this.options.parseMissingKeyHandler && (m = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}${d}${a}` : a, q ? m : void 0, o));
4650
4650
  }
4651
4651
  return i ? (g.res = m, g.usedParams = this.getUsedParamsDetails(o), g) : m;
4652
4652
  }
@@ -4707,20 +4707,20 @@ class Pt extends jt {
4707
4707
  var I;
4708
4708
  if (this.isValidLookup(n)) return;
4709
4709
  s = p;
4710
- const E = [d];
4710
+ const P = [d];
4711
4711
  if ((I = this.i18nFormat) != null && I.addLookupKeys)
4712
- this.i18nFormat.addLookupKeys(E, d, p, v, r);
4712
+ this.i18nFormat.addLookupKeys(P, d, p, v, r);
4713
4713
  else {
4714
4714
  let O;
4715
4715
  h && (O = this.pluralResolver.getSuffix(p, r.count, r));
4716
- const j = `${this.options.pluralSeparator}zero`, ee = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
4717
- if (h && (E.push(d + O), r.ordinal && O.indexOf(ee) === 0 && E.push(d + O.replace(ee, this.options.pluralSeparator)), g && E.push(d + j)), m) {
4716
+ const L = `${this.options.pluralSeparator}zero`, ee = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
4717
+ if (h && (P.push(d + O), r.ordinal && O.indexOf(ee) === 0 && P.push(d + O.replace(ee, this.options.pluralSeparator)), g && P.push(d + L)), m) {
4718
4718
  const Y = `${d}${this.options.contextSeparator}${r.context}`;
4719
- E.push(Y), h && (E.push(Y + O), r.ordinal && O.indexOf(ee) === 0 && E.push(Y + O.replace(ee, this.options.pluralSeparator)), g && E.push(Y + j));
4719
+ P.push(Y), h && (P.push(Y + O), r.ordinal && O.indexOf(ee) === 0 && P.push(Y + O.replace(ee, this.options.pluralSeparator)), g && P.push(Y + L));
4720
4720
  }
4721
4721
  }
4722
4722
  let u;
4723
- for (; u = E.pop(); )
4723
+ for (; u = P.pop(); )
4724
4724
  this.isValidLookup(n) || (i = u, n = this.getResource(p, v, u, r));
4725
4725
  }));
4726
4726
  });
@@ -4839,7 +4839,7 @@ const cn = {
4839
4839
  pluralCategories: ["one", "other"]
4840
4840
  })
4841
4841
  };
4842
- class Ea {
4842
+ class Pa {
4843
4843
  constructor(e, r = {}) {
4844
4844
  this.languageUtils = e, this.options = r, this.logger = Ae.create("pluralResolver"), this.pluralRulesCache = {};
4845
4845
  }
@@ -4890,7 +4890,7 @@ const dn = (t, e, r, n = ".", o = !0) => {
4890
4890
  let i = ga(t, e, r);
4891
4891
  return !i && o && N(r) && (i = ar(t, r, n), i === void 0 && (i = ar(e, r, n))), i;
4892
4892
  }, Zt = (t) => t.replace(/\$/g, "$$$$");
4893
- class Pa {
4893
+ class Ea {
4894
4894
  constructor(e = {}) {
4895
4895
  var r;
4896
4896
  this.logger = Ae.create("interpolator"), this.options = e, this.format = ((r = e == null ? void 0 : e.interpolation) == null ? void 0 : r.format) || ((n) => n), this.init(e);
@@ -4918,7 +4918,7 @@ class Pa {
4918
4918
  maxReplaces: S,
4919
4919
  alwaysFormat: w
4920
4920
  } = e.interpolation;
4921
- this.escape = r !== void 0 ? r : ba, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = i ? _e(i) : s || "{{", this.suffix = a ? _e(a) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = h ? _e(h) : g || _e("$t("), this.nestingSuffix = m ? _e(m) : b || _e(")"), this.nestingOptionsSeparator = v || ",", this.maxReplaces = S || 1e3, this.alwaysFormat = w !== void 0 ? w : !1, this.resetRegExp();
4921
+ this.escape = r !== void 0 ? r : ba, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = i ? je(i) : s || "{{", this.suffix = a ? je(a) : l || "}}", this.formatSeparator = c || ",", this.unescapePrefix = d ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : d || "", this.nestingPrefix = h ? je(h) : g || je("$t("), this.nestingSuffix = m ? je(m) : b || je(")"), this.nestingOptionsSeparator = v || ",", this.maxReplaces = S || 1e3, this.alwaysFormat = w !== void 0 ? w : !1, this.resetRegExp();
4922
4922
  }
4923
4923
  reset() {
4924
4924
  this.options && this.init(this.options);
@@ -5128,7 +5128,7 @@ class Aa {
5128
5128
  const Oa = (t, e) => {
5129
5129
  t.pending[e] !== void 0 && (delete t.pending[e], t.pendingCount--);
5130
5130
  };
5131
- class ka extends jt {
5131
+ class ka extends Lt {
5132
5132
  constructor(e, r, n, o = {}) {
5133
5133
  var i, s;
5134
5134
  super(), this.backend = e, this.store = r, this.services = n, this.languageUtils = n.languageUtils, this.options = o, this.logger = Ae.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = o.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = o.maxRetries >= 0 ? o.maxRetries : 5, this.retryTimeout = o.retryTimeout >= 1 ? o.retryTimeout : 350, this.state = {}, this.queue = [], (s = (i = this.backend) == null ? void 0 : i.init) == null || s.call(i, n, o.backend, o);
@@ -5326,7 +5326,7 @@ const pn = () => ({
5326
5326
  typeof t[r] == "function" && (t[r] = t[r].bind(t));
5327
5327
  });
5328
5328
  };
5329
- class ot extends jt {
5329
+ class ot extends Lt {
5330
5330
  constructor(e = {}, r) {
5331
5331
  if (super(), this.options = hn(e), this.services = {}, this.logger = Ae, this.modules = {
5332
5332
  external: []
@@ -5357,14 +5357,14 @@ class ot extends jt {
5357
5357
  const d = new ln(this.options);
5358
5358
  this.store = new on(this.options.resources, this.options);
5359
5359
  const f = this.services;
5360
- f.logger = Ae, f.resourceStore = this.store, f.languageUtils = d, f.pluralResolver = new Ea(d, {
5360
+ f.logger = Ae, f.resourceStore = this.store, f.languageUtils = d, f.pluralResolver = new Pa(d, {
5361
5361
  prepend: this.options.pluralSeparator,
5362
5362
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
5363
- }), c && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (f.formatter = o(c), f.formatter.init(f, this.options), this.options.interpolation.format = f.formatter.format.bind(f.formatter)), f.interpolator = new Pa(this.options), f.utils = {
5363
+ }), c && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (f.formatter = o(c), f.formatter.init(f, this.options), this.options.interpolation.format = f.formatter.format.bind(f.formatter)), f.interpolator = new Ea(this.options), f.utils = {
5364
5364
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
5365
5365
  }, f.backendConnector = new ka(o(this.modules.backend), f.resourceStore, f, this.options), f.backendConnector.on("*", (h, ...g) => {
5366
5366
  this.emit(h, ...g);
5367
- }), this.modules.languageDetector && (f.languageDetector = o(this.modules.languageDetector), f.languageDetector.init && f.languageDetector.init(f, this.options.detection, this.options)), this.modules.i18nFormat && (f.i18nFormat = o(this.modules.i18nFormat), f.i18nFormat.init && f.i18nFormat.init(this)), this.translator = new Pt(this.services, this.options), this.translator.on("*", (h, ...g) => {
5367
+ }), this.modules.languageDetector && (f.languageDetector = o(this.modules.languageDetector), f.languageDetector.init && f.languageDetector.init(f, this.options.detection, this.options)), this.modules.i18nFormat && (f.i18nFormat = o(this.modules.i18nFormat), f.i18nFormat.init && f.i18nFormat.init(this)), this.translator = new Et(this.services, this.options), this.translator.on("*", (h, ...g) => {
5368
5368
  this.emit(h, ...g);
5369
5369
  }), this.modules.external.forEach((h) => {
5370
5370
  h.init && h.init(this);
@@ -5534,7 +5534,7 @@ class ot extends jt {
5534
5534
  }, d), l[c]), l), {});
5535
5535
  i.store = new on(a, o), i.services.resourceStore = i.store;
5536
5536
  }
5537
- return i.translator = new Pt(i.services, o), i.translator.on("*", (a, ...l) => {
5537
+ return i.translator = new Et(i.services, o), i.translator.on("*", (a, ...l) => {
5538
5538
  i.emit(a, ...l);
5539
5539
  }), i.init(o, r), i.translator.options = o, i.translator.backendConnector.services.utils = {
5540
5540
  hasLoadedNamespace: i.hasLoadedNamespace.bind(i)
@@ -5644,7 +5644,7 @@ const mn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Da = function(t, e) {
5644
5644
  this.create(t, "", -1);
5645
5645
  }
5646
5646
  };
5647
- var _a = {
5647
+ var ja = {
5648
5648
  name: "cookie",
5649
5649
  // Deconstruct the options object and extract the lookupCookie property
5650
5650
  lookup(t) {
@@ -5664,7 +5664,7 @@ var _a = {
5664
5664
  } = e;
5665
5665
  r && typeof document < "u" && gn.create(r, t, n, o, i);
5666
5666
  }
5667
- }, La = {
5667
+ }, _a = {
5668
5668
  name: "querystring",
5669
5669
  // Deconstruct the options object and extract the lookupQuerystring property
5670
5670
  lookup(t) {
@@ -5686,20 +5686,20 @@ var _a = {
5686
5686
  return r;
5687
5687
  }
5688
5688
  };
5689
- let Le = null;
5689
+ let _e = null;
5690
5690
  const yn = () => {
5691
- if (Le !== null) return Le;
5691
+ if (_e !== null) return _e;
5692
5692
  try {
5693
- if (Le = typeof window < "u" && window.localStorage !== null, !Le)
5693
+ if (_e = typeof window < "u" && window.localStorage !== null, !_e)
5694
5694
  return !1;
5695
5695
  const t = "i18next.translate.boo";
5696
5696
  window.localStorage.setItem(t, "foo"), window.localStorage.removeItem(t);
5697
5697
  } catch {
5698
- Le = !1;
5698
+ _e = !1;
5699
5699
  }
5700
- return Le;
5700
+ return _e;
5701
5701
  };
5702
- var ja = {
5702
+ var La = {
5703
5703
  name: "localStorage",
5704
5704
  // Deconstruct the options object and extract the lookupLocalStorage property
5705
5705
  lookup(t) {
@@ -5717,18 +5717,18 @@ var ja = {
5717
5717
  r && yn() && window.localStorage.setItem(r, t);
5718
5718
  }
5719
5719
  };
5720
- let je = null;
5720
+ let Le = null;
5721
5721
  const bn = () => {
5722
- if (je !== null) return je;
5722
+ if (Le !== null) return Le;
5723
5723
  try {
5724
- if (je = typeof window < "u" && window.sessionStorage !== null, !je)
5724
+ if (Le = typeof window < "u" && window.sessionStorage !== null, !Le)
5725
5725
  return !1;
5726
5726
  const t = "i18next.translate.boo";
5727
5727
  window.sessionStorage.setItem(t, "foo"), window.sessionStorage.removeItem(t);
5728
5728
  } catch {
5729
- je = !1;
5729
+ Le = !1;
5730
5730
  }
5731
- return je;
5731
+ return Le;
5732
5732
  };
5733
5733
  var Ma = {
5734
5734
  name: "sessionStorage",
@@ -5772,7 +5772,7 @@ var Ma = {
5772
5772
  const n = e || (typeof document < "u" ? document.documentElement : null);
5773
5773
  return n && typeof n.getAttribute == "function" && (r = n.getAttribute("lang")), r;
5774
5774
  }
5775
- }, Ha = {
5775
+ }, qa = {
5776
5776
  name: "path",
5777
5777
  // Deconstruct the options object and extract the lookupFromPathIndex property
5778
5778
  lookup(t) {
@@ -5784,7 +5784,7 @@ var Ma = {
5784
5784
  const r = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
5785
5785
  return Array.isArray(r) ? (o = r[typeof e == "number" ? e : 0]) == null ? void 0 : o.replace("/", "") : void 0;
5786
5786
  }
5787
- }, qa = {
5787
+ }, Ha = {
5788
5788
  name: "subdomain",
5789
5789
  lookup(t) {
5790
5790
  var o, i;
@@ -5825,7 +5825,7 @@ class oo {
5825
5825
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
5826
5826
  languageUtils: {}
5827
5827
  }, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5828
- this.services = e, this.options = Na(r, this.options || {}, Ua()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (o) => o.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(_a), this.addDetector(La), this.addDetector(ja), this.addDetector(Ma), this.addDetector(Ba), this.addDetector(Va), this.addDetector(Ha), this.addDetector(qa);
5828
+ this.services = e, this.options = Na(r, this.options || {}, Ua()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (o) => o.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(ja), this.addDetector(_a), this.addDetector(La), this.addDetector(Ma), this.addDetector(Ba), this.addDetector(Va), this.addDetector(qa), this.addDetector(Ha);
5829
5829
  }
5830
5830
  addDetector(e) {
5831
5831
  return this.detectors[e.name] = e, this;
@@ -5847,7 +5847,7 @@ class oo {
5847
5847
  }
5848
5848
  }
5849
5849
  oo.type = "languageDetector";
5850
- const Wa = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Qa = {
5850
+ const Wa = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Ka = {
5851
5851
  "&amp;": "&",
5852
5852
  "&#38;": "&",
5853
5853
  "&lt;": "<",
@@ -5868,7 +5868,7 @@ const Wa = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|
5868
5868
  "&#8230;": "…",
5869
5869
  "&#x2F;": "/",
5870
5870
  "&#47;": "/"
5871
- }, Ka = (t) => Qa[t], Ya = (t) => t.replace(Wa, Ka);
5871
+ }, Qa = (t) => Ka[t], Ya = (t) => t.replace(Wa, Qa);
5872
5872
  let vn = {
5873
5873
  bindI18n: "languageChanged",
5874
5874
  bindI18nStore: "",
@@ -5934,6 +5934,10 @@ const Ga = (t = {}) => {
5934
5934
  points: "точки",
5935
5935
  iAgreeToThe: "Съгласявам се с",
5936
5936
  andThe: "и с"
5937
+ },
5938
+ authentication: {
5939
+ accessRequired: "Готови ли сте да играете?",
5940
+ invalidOrMissingAuth: "Създайте безплатен акаунт и влезте в играта!"
5937
5941
  }
5938
5942
  }, tl = {
5939
5943
  header: {
@@ -6023,6 +6027,10 @@ const Ga = (t = {}) => {
6023
6027
  points: "Punkte",
6024
6028
  iAgreeToThe: "Ich stimme der",
6025
6029
  andThe: "und der"
6030
+ },
6031
+ authentication: {
6032
+ accessRequired: "Bereit zum Spielen?",
6033
+ invalidOrMissingAuth: "Erstellen Sie Ihr kostenloses Konto und steigen Sie ins Spiel ein!"
6026
6034
  }
6027
6035
  }, sl = {
6028
6036
  header: {
@@ -6114,8 +6122,8 @@ const Ga = (t = {}) => {
6114
6122
  andThe: "and the"
6115
6123
  },
6116
6124
  authentication: {
6117
- accessRequired: "Access Required",
6118
- invalidOrMissingAuth: "Invalid or missing authentication. Please try again."
6125
+ accessRequired: "Ready to Play?",
6126
+ invalidOrMissingAuth: "Create your free account and jump into the game!"
6119
6127
  }
6120
6128
  }, dl = {
6121
6129
  header: {
@@ -6205,6 +6213,10 @@ const Ga = (t = {}) => {
6205
6213
  points: "points",
6206
6214
  iAgreeToThe: "J'accepte la",
6207
6215
  andThe: "et les"
6216
+ },
6217
+ authentication: {
6218
+ accessRequired: "Prêt à jouer ?",
6219
+ invalidOrMissingAuth: "Créez votre compte gratuit et lancez-vous dans le jeu !"
6208
6220
  }
6209
6221
  }, gl = {
6210
6222
  header: {
@@ -6294,6 +6306,10 @@ const Ga = (t = {}) => {
6294
6306
  points: "points",
6295
6307
  iAgreeToThe: "J'accepte la",
6296
6308
  andThe: "et les"
6309
+ },
6310
+ authentication: {
6311
+ accessRequired: "Prêt à jouer ?",
6312
+ invalidOrMissingAuth: "Créez votre compte gratuit et lancez-vous dans le jeu !"
6297
6313
  }
6298
6314
  }, xl = {
6299
6315
  header: {
@@ -6342,7 +6358,7 @@ const Ga = (t = {}) => {
6342
6358
  language: "Italian",
6343
6359
  code: "it",
6344
6360
  direction: "ltr"
6345
- }, El = {
6361
+ }, Pl = {
6346
6362
  buttons: {
6347
6363
  finish: "Termina quiz",
6348
6364
  start: "Inizia quiz",
@@ -6375,7 +6391,7 @@ const Ga = (t = {}) => {
6375
6391
  youWon: "Hai vinto",
6376
6392
  quizNotFound: "Quiz non trovato",
6377
6393
  quizNotFoundDescription: "Il Quiz Classico non è stato trovato."
6378
- }, Pl = {
6394
+ }, El = {
6379
6395
  presentedBy: "Sponsor:",
6380
6396
  labels: {
6381
6397
  min: "min",
@@ -6383,6 +6399,10 @@ const Ga = (t = {}) => {
6383
6399
  points: "punti",
6384
6400
  iAgreeToThe: "Accetto la",
6385
6401
  andThe: "e i"
6402
+ },
6403
+ authentication: {
6404
+ accessRequired: "Pronto a giocare?",
6405
+ invalidOrMissingAuth: "Crea il tuo account gratuito e tuffati nel gioco!"
6386
6406
  }
6387
6407
  }, $l = {
6388
6408
  header: {
@@ -6424,8 +6444,8 @@ const Ga = (t = {}) => {
6424
6444
  }
6425
6445
  }, Tl = {
6426
6446
  metadata: wl,
6427
- classicQuiz: El,
6428
- common: Pl,
6447
+ classicQuiz: Pl,
6448
+ common: El,
6429
6449
  leads: $l
6430
6450
  }, Al = {
6431
6451
  language: "Polish",
@@ -6472,6 +6492,10 @@ const Ga = (t = {}) => {
6472
6492
  points: "punkty",
6473
6493
  iAgreeToThe: "Zgadzam się z",
6474
6494
  andThe: "i z"
6495
+ },
6496
+ authentication: {
6497
+ accessRequired: "Gotowy do gry?",
6498
+ invalidOrMissingAuth: "Utwórz darmowe konto i dołącz do gry!"
6475
6499
  }
6476
6500
  }, Rl = {
6477
6501
  header: {
@@ -6561,6 +6585,10 @@ const Ga = (t = {}) => {
6561
6585
  points: "pontos",
6562
6586
  iAgreeToThe: "Concordo com a",
6563
6587
  andThe: "e com os"
6588
+ },
6589
+ authentication: {
6590
+ accessRequired: "Pronto para jogar?",
6591
+ invalidOrMissingAuth: "Crie sua conta gratuita e entre no jogo!"
6564
6592
  }
6565
6593
  }, Dl = {
6566
6594
  header: {
@@ -6600,16 +6628,16 @@ const Ga = (t = {}) => {
6600
6628
  subtitle: "Obrigado por participar.",
6601
6629
  description: "Você será notificado se ganhar o prêmio em até 3 dias úteis."
6602
6630
  }
6603
- }, _l = {
6631
+ }, jl = {
6604
6632
  metadata: Fl,
6605
6633
  classicQuiz: Nl,
6606
6634
  common: Il,
6607
6635
  leads: Dl
6608
- }, Ll = {
6636
+ }, _l = {
6609
6637
  language: "Portuguese",
6610
6638
  code: "pt",
6611
6639
  direction: "ltr"
6612
- }, jl = {
6640
+ }, Ll = {
6613
6641
  buttons: {
6614
6642
  finish: "Terminar Quiz",
6615
6643
  start: "Iniciar Quiz",
@@ -6650,6 +6678,10 @@ const Ga = (t = {}) => {
6650
6678
  points: "pontos",
6651
6679
  iAgreeToThe: "Concordo com a",
6652
6680
  andThe: "e com os"
6681
+ },
6682
+ authentication: {
6683
+ accessRequired: "Pronto para jogar?",
6684
+ invalidOrMissingAuth: "Crie a sua conta gratuita e entre no jogo!"
6653
6685
  }
6654
6686
  }, Bl = {
6655
6687
  header: {
@@ -6690,15 +6722,15 @@ const Ga = (t = {}) => {
6690
6722
  description: "Será notificado se ganhar o prémio no prazo de 3 dias úteis."
6691
6723
  }
6692
6724
  }, Vl = {
6693
- metadata: Ll,
6694
- classicQuiz: jl,
6725
+ metadata: _l,
6726
+ classicQuiz: Ll,
6695
6727
  common: Ml,
6696
6728
  leads: Bl
6697
- }, Hl = {
6729
+ }, ql = {
6698
6730
  language: "Romanian",
6699
6731
  code: "ro",
6700
6732
  direction: "ltr"
6701
- }, ql = {
6733
+ }, Hl = {
6702
6734
  buttons: {
6703
6735
  finish: "Termină Quiz-ul",
6704
6736
  start: "Începe Quiz-ul",
@@ -6739,6 +6771,10 @@ const Ga = (t = {}) => {
6739
6771
  points: "puncte",
6740
6772
  iAgreeToThe: "Sunt de acord cu",
6741
6773
  andThe: "și cu"
6774
+ },
6775
+ authentication: {
6776
+ accessRequired: "Gata de joacă?",
6777
+ invalidOrMissingAuth: "Creează-ți contul gratuit și intră în joc!"
6742
6778
  }
6743
6779
  }, Wl = {
6744
6780
  header: {
@@ -6778,12 +6814,12 @@ const Ga = (t = {}) => {
6778
6814
  subtitle: "Mulțumim pentru participare.",
6779
6815
  description: "Vei fi notificat dacă câștigi premiul în termen de 3 zile lucrătoare."
6780
6816
  }
6781
- }, Ql = {
6782
- metadata: Hl,
6783
- classicQuiz: ql,
6817
+ }, Kl = {
6818
+ metadata: ql,
6819
+ classicQuiz: Hl,
6784
6820
  common: Ul,
6785
6821
  leads: Wl
6786
- }, Kl = {
6822
+ }, Ql = {
6787
6823
  language: "Serbian Latin",
6788
6824
  code: "sr-Latn",
6789
6825
  direction: "ltr"
@@ -6828,6 +6864,10 @@ const Ga = (t = {}) => {
6828
6864
  points: "poena",
6829
6865
  iAgreeToThe: "Slažem se sa",
6830
6866
  andThe: "i sa"
6867
+ },
6868
+ authentication: {
6869
+ accessRequired: "Spremni za igru?",
6870
+ invalidOrMissingAuth: "Kreirajte besplatan nalog i uključite se u igru!"
6831
6871
  }
6832
6872
  }, Jl = {
6833
6873
  header: {
@@ -6868,7 +6908,7 @@ const Ga = (t = {}) => {
6868
6908
  description: "Bićete obavešteni ako pobedite nagradu u roku od 3 radna dana."
6869
6909
  }
6870
6910
  }, Zl = {
6871
- metadata: Kl,
6911
+ metadata: Ql,
6872
6912
  classicQuiz: Yl,
6873
6913
  common: Gl,
6874
6914
  leads: Jl
@@ -6896,13 +6936,13 @@ const Ga = (t = {}) => {
6896
6936
  common: zl
6897
6937
  },
6898
6938
  "pt-br": {
6899
- common: _l
6939
+ common: jl
6900
6940
  },
6901
6941
  pt: {
6902
6942
  common: Vl
6903
6943
  },
6904
6944
  ro: {
6905
- common: Ql
6945
+ common: Kl
6906
6946
  },
6907
6947
  sr: {
6908
6948
  common: Zl
@@ -7008,7 +7048,7 @@ const Xl = ({ fonts: t }) => (Xt(() => {
7008
7048
  "Roboto, sans-serif"
7009
7049
  )
7010
7050
  ].filter(
7011
- (w, p, E) => p === E.findIndex((u) => u.family === w.family)
7051
+ (w, p, P) => p === P.findIndex((u) => u.family === w.family)
7012
7052
  );
7013
7053
  }, [a]);
7014
7054
  return /* @__PURE__ */ er(ho, { children: [