fansunited-widgets-cdn 0.0.86-RC8 → 0.0.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/chunks/{Alert-B6o66mYo.js → Alert-9mNu8Mc0.js} +32 -32
  2. package/chunks/{CardContent-NCZhfGcZ.js → CardContent-DscfzeuS.js} +19 -18
  3. package/chunks/{ChevronRight-1pLZ7T0v.js → ChevronRight-Dp3uUQ9e.js} +11 -11
  4. package/chunks/{ClassicQuizWrapper-n2epPO4k.js → ClassicQuizWrapper-DKnk6Jbn.js} +8 -9
  5. package/chunks/{CollectLeadForm-C_3plJtn-Dr8J3eDw.js → CollectLeadForm-iZpBeMTk-agYOzLhF.js} +2 -2
  6. package/chunks/{CollectLeadWrapper-CCtTZAxL.js → CollectLeadWrapper-YFzUEmx9.js} +22 -23
  7. package/chunks/{EitherOrById-ClGwMK0b.js → EitherOrById-D-JHgdbL.js} +65 -65
  8. package/chunks/{EitherOrPreviewWrapper-BYiKyYwi.js → EitherOrPreviewWrapper-CeWnhkez.js} +10 -10
  9. package/chunks/{Error-BurPfBJw-DWYn31sK.js → Error-DRnLP9GC-DyNgW_L4.js} +3 -3
  10. package/chunks/{EventGameWrapper-BphusLTk.js → EventGameWrapper-yRtBxO_C.js} +3490 -3117
  11. package/chunks/{Grid-yjqNNhEx.js → Grid-DSE12r_N.js} +37 -37
  12. package/chunks/{IconButton-D7onwgY0.js → IconButton-CzQWRgrG.js} +21 -21
  13. package/chunks/{List-8Vy9IZiv.js → List-D1p_as40.js} +23 -23
  14. package/chunks/{MatchPredictionContainer-BGytBwLo.js → MatchPredictionContainer-CVjsgllW.js} +7 -7
  15. package/chunks/{MatchQuizWrapper-BGjldBpF.js → MatchQuizWrapper-CbD5M2Wo.js} +1197 -1190
  16. package/chunks/{OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js → OverlayLeadAfterCollection-Uxf4kZ42-txLJVNOw.js} +6 -6
  17. package/chunks/{OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js → OverlayScoreStateSkeleton-DD-LpNq6-CDGvi7Rx.js} +8 -8
  18. package/chunks/{PersonalityQuizWrapper-BgLFw5tM.js → PersonalityQuizWrapper-Dq7ucwct.js} +1359 -1318
  19. package/chunks/{PlayerOfTheMatch-CImBLG3T.js → PlayerOfTheMatch-N6lR4Yvg.js} +96 -96
  20. package/chunks/{PollWrapper-QpIKCCVF.js → PollWrapper-BztqlT7j.js} +8 -9
  21. package/chunks/{Portal-DegkUXpU-ByGP9zS1.js → Portal-Cvhw2F3y-CU1eTfkD.js} +313 -314
  22. package/chunks/{PreviewQuizById-Ba6yhxKV.js → PreviewQuizById-Bs5Y67aA.js} +1019 -996
  23. package/chunks/{Sheet-U5EnSrgg.js → Sheet-B9TtakEd.js} +35 -35
  24. package/chunks/{Stack-DbDi7kPO.js → Stack-hikS_o6M.js} +36 -36
  25. package/chunks/{Tabs-leN3Fb8D--YMyy3EM.js → Tabs-DmfafFAr-BiYbbqHP.js} +2 -2
  26. package/chunks/{TeamNextMatchPrediction-9VSQOCcC.js → TeamNextMatchPrediction-BoQ6Xxut.js} +2 -2
  27. package/chunks/{Tutorial-CRJLOovs.js → Tutorial-BnKZMnrU.js} +72 -73
  28. package/chunks/{createLucideIcon-CMWOQsDL.js → createLucideIcon-CAUCKclr.js} +8 -8
  29. package/chunks/{createSvgIcon-D9D4a1R9.js → createSvgIcon-DqH6kyRk.js} +167 -167
  30. package/chunks/{default-quiz-bg-ADjjIfPj.js → default-quiz-bg-D-_bYiBa.js} +15 -14
  31. package/chunks/{index-CiB_Gqim.js → index-BDSM3ZSY.js} +1 -1
  32. package/chunks/{index-B74jHeYm.js → index-BL-6bYjr.js} +2 -2
  33. package/chunks/{index-BfVvJg5R.js → index-BNwb-Lvr.js} +1 -1
  34. package/chunks/{index-CPTAlr_t.js → index-BRE9HGrj.js} +1 -1
  35. package/chunks/{index-CviTG4Nv.js → index-BjEfmr8T.js} +1 -1
  36. package/chunks/{index-DUQ2LFod-Cw45tHim.js → index-Bwmh7c-g-BHgL_SSg.js} +334 -291
  37. package/chunks/{index-C6KAc5B_.js → index-C1Ys-PBz.js} +1 -1
  38. package/chunks/{index-BycLbIYY.js → index-CNUarcba.js} +1 -1
  39. package/chunks/{index-CILd3yUc.js → index-CRneQWSC.js} +1 -1
  40. package/chunks/{index-DwR4J2nN.js → index-CigP9xnu.js} +1 -1
  41. package/chunks/{index-UwW9niUj.js → index-D2gHUkPX.js} +1 -1
  42. package/chunks/{index-Da0AXb_O.js → index-D5BAtJb9.js} +1 -1
  43. package/chunks/{index-CHV6tlpH.js → index-D_UY6ZuF.js} +9 -9
  44. package/chunks/{index-CK2RXrJm.js → index-DpF1i8sE.js} +1 -1
  45. package/chunks/{index-CvGJXa6l.js → index-qrrSqrdU.js} +1 -1
  46. package/chunks/{index-0ADq_9jd.js → index-wUUFLR8N.js} +1 -1
  47. package/chunks/{init-C-gCorsh.js → init-BR2mi8sg.js} +1 -1
  48. package/chunks/main-uhXEX2Kp.js +51049 -0
  49. package/chunks/resolveProps-BA473GCc.js +1632 -0
  50. package/chunks/{users-CXdzg3DM.js → users-D1F95dG3.js} +1 -1
  51. package/fu-widgets-loader.es.js +16 -17
  52. package/fu-widgets-loader.js +1 -1
  53. package/fu-widgets.es.js +2 -2
  54. package/fu-widgets.iife.js +296 -296
  55. package/manifest.json +52 -54
  56. package/package.json +1 -1
  57. package/chunks/index-CJqcqbHq.js +0 -5
  58. package/chunks/index.es-wHqA4PHm.js +0 -11480
  59. package/chunks/main-Bh6iw92_.js +0 -39827
  60. package/chunks/resolveProps-Bgg0H6c2.js +0 -1016
@@ -1,5 +1,5 @@
1
- import { r as G, U as $t, a8 as vt, a9 as kt, j as Ie, w as At } from "./main-Bh6iw92_.js";
2
- import { g as Ye, h as Bt } from "./resolveProps-Bgg0H6c2.js";
1
+ import { r as G, E as $t, V as vt, W as kt, j as Ie } from "./main-uhXEX2Kp.js";
2
+ import { x as Ye, y as At, m as Bt } from "./resolveProps-BA473GCc.js";
3
3
  var Ee = { exports: {} }, T = {};
4
4
  /**
5
5
  * @license React
@@ -14,8 +14,8 @@ var Ue;
14
14
  function Et() {
15
15
  if (Ue) return T;
16
16
  Ue = 1;
17
- var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), b = Symbol.for("react.client.reference");
18
- function p(u) {
17
+ var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), b = Symbol.for("react.client.reference");
18
+ function g(u) {
19
19
  if (typeof u == "object" && u !== null) {
20
20
  var $ = u.$$typeof;
21
21
  switch ($) {
@@ -32,7 +32,7 @@ function Et() {
32
32
  switch (u = u && u.$$typeof, u) {
33
33
  case s:
34
34
  case l:
35
- case g:
35
+ case p:
36
36
  case h:
37
37
  return u;
38
38
  case a:
@@ -46,33 +46,33 @@ function Et() {
46
46
  }
47
47
  }
48
48
  }
49
- return T.ContextConsumer = a, T.ContextProvider = s, T.Element = e, T.ForwardRef = l, T.Fragment = r, T.Lazy = g, T.Memo = h, T.Portal = t, T.Profiler = o, T.StrictMode = n, T.Suspense = f, T.SuspenseList = d, T.isContextConsumer = function(u) {
50
- return p(u) === a;
49
+ return T.ContextConsumer = a, T.ContextProvider = s, T.Element = e, T.ForwardRef = l, T.Fragment = r, T.Lazy = p, T.Memo = h, T.Portal = t, T.Profiler = o, T.StrictMode = n, T.Suspense = f, T.SuspenseList = d, T.isContextConsumer = function(u) {
50
+ return g(u) === a;
51
51
  }, T.isContextProvider = function(u) {
52
- return p(u) === s;
52
+ return g(u) === s;
53
53
  }, T.isElement = function(u) {
54
54
  return typeof u == "object" && u !== null && u.$$typeof === e;
55
55
  }, T.isForwardRef = function(u) {
56
- return p(u) === l;
56
+ return g(u) === l;
57
57
  }, T.isFragment = function(u) {
58
- return p(u) === r;
58
+ return g(u) === r;
59
59
  }, T.isLazy = function(u) {
60
- return p(u) === g;
60
+ return g(u) === p;
61
61
  }, T.isMemo = function(u) {
62
- return p(u) === h;
62
+ return g(u) === h;
63
63
  }, T.isPortal = function(u) {
64
- return p(u) === t;
64
+ return g(u) === t;
65
65
  }, T.isProfiler = function(u) {
66
- return p(u) === o;
66
+ return g(u) === o;
67
67
  }, T.isStrictMode = function(u) {
68
- return p(u) === n;
68
+ return g(u) === n;
69
69
  }, T.isSuspense = function(u) {
70
- return p(u) === f;
70
+ return g(u) === f;
71
71
  }, T.isSuspenseList = function(u) {
72
- return p(u) === d;
72
+ return g(u) === d;
73
73
  }, T.isValidElementType = function(u) {
74
- return typeof u == "string" || typeof u == "function" || u === r || u === o || u === n || u === f || u === d || typeof u == "object" && u !== null && (u.$$typeof === g || u.$$typeof === h || u.$$typeof === s || u.$$typeof === a || u.$$typeof === l || u.$$typeof === b || u.getModuleId !== void 0);
75
- }, T.typeOf = p, T;
74
+ return typeof u == "string" || typeof u == "function" || u === r || u === o || u === n || u === f || u === d || typeof u == "object" && u !== null && (u.$$typeof === p || u.$$typeof === h || u.$$typeof === s || u.$$typeof === a || u.$$typeof === l || u.$$typeof === b || u.getModuleId !== void 0);
75
+ }, T.typeOf = g, T;
76
76
  }
77
77
  var Qe;
78
78
  function Rt() {
@@ -190,7 +190,7 @@ function ft(e) {
190
190
  t[r] = ft(e[r]);
191
191
  }), t;
192
192
  }
193
- function j(e, t, r = {
193
+ function W(e, t, r = {
194
194
  clone: !0
195
195
  }) {
196
196
  const n = r.clone ? {
@@ -198,7 +198,7 @@ function j(e, t, r = {
198
198
  } : e;
199
199
  return Y(e) && Y(t) && Object.keys(t).forEach((o) => {
200
200
  /* @__PURE__ */ G.isValidElement(t[o]) || ut.isValidElementType(t[o]) ? n[o] = t[o] : Y(t[o]) && // Avoid prototype pollution
201
- Object.prototype.hasOwnProperty.call(e, o) && Y(e[o]) ? n[o] = j(e[o], t[o], r) : r.clone ? n[o] = Y(t[o]) ? ft(t[o]) : t[o] : n[o] = t[o];
201
+ Object.prototype.hasOwnProperty.call(e, o) && Y(e[o]) ? n[o] = W(e[o], t[o], r) : r.clone ? n[o] = Y(t[o]) ? ft(t[o]) : t[o] : n[o] = t[o];
202
202
  }), n;
203
203
  }
204
204
  const _t = (e) => {
@@ -238,13 +238,13 @@ function Ft(e) {
238
238
  return `@media (max-width:${(typeof t[m] == "number" ? t[m] : m) - n / 100}${r})`;
239
239
  }
240
240
  function d(m, b) {
241
- const p = s.indexOf(b);
242
- return `@media (min-width:${typeof t[m] == "number" ? t[m] : m}${r}) and (max-width:${(p !== -1 && typeof t[s[p]] == "number" ? t[s[p]] : b) - n / 100}${r})`;
241
+ const g = s.indexOf(b);
242
+ return `@media (min-width:${typeof t[m] == "number" ? t[m] : m}${r}) and (max-width:${(g !== -1 && typeof t[s[g]] == "number" ? t[s[g]] : b) - n / 100}${r})`;
243
243
  }
244
244
  function h(m) {
245
245
  return s.indexOf(m) + 1 < s.length ? d(m, s[s.indexOf(m) + 1]) : l(m);
246
246
  }
247
- function g(m) {
247
+ function p(m) {
248
248
  const b = s.indexOf(m);
249
249
  return b === 0 ? l(s[1]) : b === s.length - 1 ? f(s[b]) : d(m, s[s.indexOf(m) + 1]).replace("@media", "@media not all and");
250
250
  }
@@ -255,7 +255,7 @@ function Ft(e) {
255
255
  down: f,
256
256
  between: d,
257
257
  only: h,
258
- not: g,
258
+ not: p,
259
259
  unit: r,
260
260
  ...o
261
261
  };
@@ -303,7 +303,7 @@ const Mt = {
303
303
  borderRadius: 4
304
304
  };
305
305
  function de(e, t) {
306
- return t ? j(e, t, {
306
+ return t ? W(e, t, {
307
307
  clone: !1
308
308
  // No need to clone deep, it's way faster.
309
309
  }) : e;
@@ -324,7 +324,7 @@ const Ce = {
324
324
  // It can't be configured as it's used statically for propTypes.
325
325
  keys: ["xs", "sm", "md", "lg", "xl"],
326
326
  up: (e) => `@media (min-width:${Ce[e]}px)`
327
- }, jt = {
327
+ }, Wt = {
328
328
  containerQueries: (e) => ({
329
329
  up: (t) => {
330
330
  let r = typeof t == "number" ? t : Ce[t] || t;
@@ -342,7 +342,7 @@ function U(e, t, r) {
342
342
  const a = n.breakpoints || Je;
343
343
  return Object.keys(t).reduce((s, l) => {
344
344
  if (Lt(a.keys, l)) {
345
- const f = Dt(n.containerQueries ? n : jt, l);
345
+ const f = Dt(n.containerQueries ? n : Wt, l);
346
346
  f && (s[f] = r(t[l], l));
347
347
  } else if (Object.keys(a.values || Ce).includes(l)) {
348
348
  const f = a.up(l);
@@ -356,7 +356,7 @@ function U(e, t, r) {
356
356
  }
357
357
  return r(t);
358
358
  }
359
- function Wt(e = {}) {
359
+ function jt(e = {}) {
360
360
  var r;
361
361
  return ((r = e.keys) == null ? void 0 : r.reduce((n, o) => {
362
362
  const a = e.up(o);
@@ -398,9 +398,9 @@ function I(e) {
398
398
  if (s[t] == null)
399
399
  return null;
400
400
  const l = s[t], f = s.theme, d = we(f, n) || {};
401
- return U(s, l, (g) => {
402
- let m = Se(d, o, g);
403
- return g === m && typeof g == "string" && (m = Se(d, o, `${t}${g === "default" ? "" : ie(g)}`, g)), r === !1 ? m : {
401
+ return U(s, l, (p) => {
402
+ let m = Se(d, o, p);
403
+ return p === m && typeof p == "string" && (m = Se(d, o, `${t}${p === "default" ? "" : ie(p)}`, p)), r === !1 ? m : {
404
404
  [r]: m
405
405
  };
406
406
  });
@@ -436,7 +436,7 @@ const Kt = {
436
436
  return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
437
437
  }), De = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], ze = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"];
438
438
  [...De, ...ze];
439
- function ge(e, t, r, n) {
439
+ function pe(e, t, r, n) {
440
440
  const o = we(e, t, !0) ?? r;
441
441
  return typeof o == "number" || typeof o == "string" ? (a) => typeof a == "string" ? a : typeof o == "string" ? `calc(${a} * ${o})` : o * a : Array.isArray(o) ? (a) => {
442
442
  if (typeof a == "string")
@@ -447,13 +447,13 @@ function ge(e, t, r, n) {
447
447
  };
448
448
  }
449
449
  function Me(e) {
450
- return ge(e, "spacing", 8);
450
+ return pe(e, "spacing", 8);
451
451
  }
452
- function pe(e, t) {
452
+ function ge(e, t) {
453
453
  return typeof t == "string" || t == null ? t : e(t);
454
454
  }
455
455
  function Ht(e, t) {
456
- return (r) => e.reduce((n, o) => (n[o] = pe(t, r), n), {});
456
+ return (r) => e.reduce((n, o) => (n[o] = ge(t, r), n), {});
457
457
  }
458
458
  function Yt(e, t, r, n) {
459
459
  if (!t.includes(r))
@@ -504,8 +504,8 @@ function K(e, t) {
504
504
  }
505
505
  const Ut = K("border", V), Qt = K("borderTop", V), qt = K("borderRight", V), Xt = K("borderBottom", V), Jt = K("borderLeft", V), Zt = K("borderColor"), er = K("borderTopColor"), tr = K("borderRightColor"), rr = K("borderBottomColor"), nr = K("borderLeftColor"), or = K("outline", V), ir = K("outlineColor"), Te = (e) => {
506
506
  if (e.borderRadius !== void 0 && e.borderRadius !== null) {
507
- const t = ge(e.theme, "shape.borderRadius", 4), r = (n) => ({
508
- borderRadius: pe(t, n)
507
+ const t = pe(e.theme, "shape.borderRadius", 4), r = (n) => ({
508
+ borderRadius: ge(t, n)
509
509
  });
510
510
  return U(e, e.borderRadius, r);
511
511
  }
@@ -516,8 +516,8 @@ Te.filterProps = ["borderRadius"];
516
516
  xe(Ut, Qt, qt, Xt, Jt, Zt, er, tr, rr, nr, Te, or, ir);
517
517
  const $e = (e) => {
518
518
  if (e.gap !== void 0 && e.gap !== null) {
519
- const t = ge(e.theme, "spacing", 8), r = (n) => ({
520
- gap: pe(t, n)
519
+ const t = pe(e.theme, "spacing", 8), r = (n) => ({
520
+ gap: ge(t, n)
521
521
  });
522
522
  return U(e, e.gap, r);
523
523
  }
@@ -527,8 +527,8 @@ $e.propTypes = {};
527
527
  $e.filterProps = ["gap"];
528
528
  const ve = (e) => {
529
529
  if (e.columnGap !== void 0 && e.columnGap !== null) {
530
- const t = ge(e.theme, "spacing", 8), r = (n) => ({
531
- columnGap: pe(t, n)
530
+ const t = pe(e.theme, "spacing", 8), r = (n) => ({
531
+ columnGap: ge(t, n)
532
532
  });
533
533
  return U(e, e.columnGap, r);
534
534
  }
@@ -538,8 +538,8 @@ ve.propTypes = {};
538
538
  ve.filterProps = ["columnGap"];
539
539
  const ke = (e) => {
540
540
  if (e.rowGap !== void 0 && e.rowGap !== null) {
541
- const t = ge(e.theme, "spacing", 8), r = (n) => ({
542
- rowGap: pe(t, n)
541
+ const t = pe(e.theme, "spacing", 8), r = (n) => ({
542
+ rowGap: ge(t, n)
543
543
  });
544
544
  return U(e, e.rowGap, r);
545
545
  }
@@ -563,14 +563,14 @@ const ar = I({
563
563
  prop: "gridTemplateRows"
564
564
  }), mr = I({
565
565
  prop: "gridTemplateAreas"
566
- }), gr = I({
566
+ }), pr = I({
567
567
  prop: "gridArea"
568
568
  });
569
- xe($e, ve, ke, ar, sr, lr, cr, ur, fr, dr, mr, gr);
569
+ xe($e, ve, ke, ar, sr, lr, cr, ur, fr, dr, mr, pr);
570
570
  function oe(e, t) {
571
571
  return t === "grey" ? t : e;
572
572
  }
573
- const pr = I({
573
+ const gr = I({
574
574
  prop: "color",
575
575
  themeKey: "palette",
576
576
  transform: oe
@@ -584,14 +584,14 @@ const pr = I({
584
584
  themeKey: "palette",
585
585
  transform: oe
586
586
  });
587
- xe(pr, hr, yr);
587
+ xe(gr, hr, yr);
588
588
  function M(e) {
589
589
  return e <= 1 && e !== 0 ? `${e * 100}%` : e;
590
590
  }
591
591
  const br = I({
592
592
  prop: "width",
593
593
  transform: M
594
- }), je = (e) => {
594
+ }), We = (e) => {
595
595
  if (e.maxWidth !== void 0 && e.maxWidth !== null) {
596
596
  const t = (r) => {
597
597
  var o, a, s, l, f;
@@ -608,7 +608,7 @@ const br = I({
608
608
  }
609
609
  return null;
610
610
  };
611
- je.filterProps = ["maxWidth"];
611
+ We.filterProps = ["maxWidth"];
612
612
  const Sr = I({
613
613
  prop: "minWidth",
614
614
  transform: M
@@ -635,7 +635,7 @@ I({
635
635
  const Tr = I({
636
636
  prop: "boxSizing"
637
637
  });
638
- xe(br, je, Sr, Cr, wr, xr, Tr);
638
+ xe(br, We, Sr, Cr, wr, xr, Tr);
639
639
  const Ae = {
640
640
  // borders
641
641
  border: {
@@ -884,7 +884,7 @@ const Ae = {
884
884
  transform: M
885
885
  },
886
886
  maxWidth: {
887
- style: je
887
+ style: We
888
888
  },
889
889
  minWidth: {
890
890
  transform: M
@@ -945,7 +945,7 @@ function kr() {
945
945
  cssProperty: f = r,
946
946
  themeKey: d,
947
947
  transform: h,
948
- style: g
948
+ style: p
949
949
  } = l;
950
950
  if (n == null)
951
951
  return null;
@@ -954,9 +954,9 @@ function kr() {
954
954
  [r]: n
955
955
  };
956
956
  const m = we(o, d) || {};
957
- return g ? g(s) : U(s, n, (p) => {
958
- let u = Se(m, h, p);
959
- return p === u && typeof p == "string" && (u = Se(m, h, `${r}${p === "default" ? "" : ie(p)}`, p)), f === !1 ? u : {
957
+ return p ? p(s) : U(s, n, (g) => {
958
+ let u = Se(m, h, g);
959
+ return g === u && typeof g == "string" && (u = Se(m, h, `${r}${g === "default" ? "" : ie(g)}`, g)), f === !1 ? u : {
960
960
  [f]: u
961
961
  };
962
962
  });
@@ -978,31 +978,31 @@ function kr() {
978
978
  return f;
979
979
  if (!d)
980
980
  return null;
981
- const h = Wt(o.breakpoints), g = Object.keys(h);
981
+ const h = jt(o.breakpoints), p = Object.keys(h);
982
982
  let m = h;
983
983
  return Object.keys(d).forEach((b) => {
984
- const p = vr(d[b], o);
985
- if (p != null)
986
- if (typeof p == "object")
984
+ const g = vr(d[b], o);
985
+ if (g != null)
986
+ if (typeof g == "object")
987
987
  if (s[b])
988
- m = de(m, e(b, p, o, s));
988
+ m = de(m, e(b, g, o, s));
989
989
  else {
990
990
  const u = U({
991
991
  theme: o
992
- }, p, ($) => ({
992
+ }, g, ($) => ({
993
993
  [b]: $
994
994
  }));
995
- $r(u, p) ? m[b] = t({
996
- sx: p,
995
+ $r(u, g) ? m[b] = t({
996
+ sx: g,
997
997
  theme: o,
998
998
  nested: !0
999
999
  }) : m = de(m, u);
1000
1000
  }
1001
1001
  else
1002
- m = de(m, e(b, p, o, s));
1002
+ m = de(m, e(b, g, o, s));
1003
1003
  }), !a && o.modularCssLayers ? {
1004
- "@layer sx": Xe(o, Ze(g, m))
1005
- } : Xe(o, Ze(g, m));
1004
+ "@layer sx": Xe(o, Ze(p, m))
1005
+ } : Xe(o, Ze(p, m));
1006
1006
  }
1007
1007
  return Array.isArray(n) ? n.map(l) : l(n);
1008
1008
  }
@@ -1023,7 +1023,7 @@ function Ar(e, t) {
1023
1023
  }
1024
1024
  return r.palette.mode === e ? t : {};
1025
1025
  }
1026
- function gt(e = {}, ...t) {
1026
+ function pt(e = {}, ...t) {
1027
1027
  const {
1028
1028
  breakpoints: r = {},
1029
1029
  palette: n = {},
@@ -1031,7 +1031,7 @@ function gt(e = {}, ...t) {
1031
1031
  shape: a = {},
1032
1032
  ...s
1033
1033
  } = e, l = Ft(r), f = mt(o);
1034
- let d = j({
1034
+ let d = W({
1035
1035
  breakpoints: l,
1036
1036
  direction: "ltr",
1037
1037
  components: {},
@@ -1046,12 +1046,12 @@ function gt(e = {}, ...t) {
1046
1046
  ...a
1047
1047
  }
1048
1048
  }, s);
1049
- return d = zt(d), d.applyStyles = Ar, d = t.reduce((h, g) => j(h, g), d), d.unstable_sxConfig = {
1049
+ return d = zt(d), d.applyStyles = Ar, d = t.reduce((h, p) => W(h, p), d), d.unstable_sxConfig = {
1050
1050
  ...Ae,
1051
1051
  ...s == null ? void 0 : s.unstable_sxConfig
1052
- }, d.unstable_sx = function(g) {
1052
+ }, d.unstable_sx = function(p) {
1053
1053
  return ae({
1054
- sx: g,
1054
+ sx: p,
1055
1055
  theme: this
1056
1056
  });
1057
1057
  }, d;
@@ -1083,14 +1083,14 @@ const tt = (e) => e, Br = () => {
1083
1083
  required: "required",
1084
1084
  selected: "selected"
1085
1085
  };
1086
- function pt(e, t, r = "Mui") {
1086
+ function gt(e, t, r = "Mui") {
1087
1087
  const n = Rr[t];
1088
1088
  return n ? `${r}-${n}` : `${Er.generate(e)}-${t}`;
1089
1089
  }
1090
1090
  function Or(e, t, r = "Mui") {
1091
1091
  const n = {};
1092
1092
  return t.forEach((o) => {
1093
- n[o] = pt(e, o, r);
1093
+ n[o] = gt(e, o, r);
1094
1094
  }), n;
1095
1095
  }
1096
1096
  function ht(e) {
@@ -1106,7 +1106,7 @@ function ht(e) {
1106
1106
  typeof o.style != "function" && (o.style = X(o.style));
1107
1107
  }), n;
1108
1108
  }
1109
- const Pr = gt();
1109
+ const Pr = pt();
1110
1110
  function Re(e) {
1111
1111
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
1112
1112
  }
@@ -1177,13 +1177,13 @@ function Fr(e = {}) {
1177
1177
  const {
1178
1178
  name: d,
1179
1179
  slot: h,
1180
- skipVariantsResolver: g,
1180
+ skipVariantsResolver: p,
1181
1181
  skipSx: m,
1182
1182
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
1183
1183
  // For more details: https://github.com/mui/material-ui/pull/37908
1184
1184
  overridesResolver: b = Ir(Mr(h)),
1185
- ...p
1186
- } = f, u = d && d.startsWith("Mui") || h ? "components" : "custom", $ = g !== void 0 ? g : (
1185
+ ...g
1186
+ } = f, u = d && d.startsWith("Mui") || h ? "components" : "custom", $ = p !== void 0 ? p : (
1187
1187
  // TODO v6: remove `Root` in the next major release
1188
1188
  // For more details: https://github.com/mui/material-ui/pull/37908
1189
1189
  h && h !== "Root" && h !== "root" || !1
@@ -1193,7 +1193,7 @@ function Fr(e = {}) {
1193
1193
  const w = Pt(l, {
1194
1194
  shouldForwardProp: D,
1195
1195
  label: Lr(),
1196
- ...p
1196
+ ...g
1197
1197
  }), S = (B) => {
1198
1198
  if (B.__emotion_real === B)
1199
1199
  return B;
@@ -1221,12 +1221,12 @@ function Fr(e = {}) {
1221
1221
  return b(x, se);
1222
1222
  }), d && !$ && F.push(function(x) {
1223
1223
  var se, le;
1224
- const W = x.theme, L = (le = (se = W == null ? void 0 : W.components) == null ? void 0 : se[d]) == null ? void 0 : le.variants;
1224
+ const j = x.theme, L = (le = (se = j == null ? void 0 : j.components) == null ? void 0 : se[d]) == null ? void 0 : le.variants;
1225
1225
  return L ? yt(x, L, [], x.theme.modularCssLayers ? "theme" : void 0) : null;
1226
1226
  }), O || F.push(ae), Array.isArray(z[0])) {
1227
- const C = z.shift(), x = new Array(P.length).fill(""), W = new Array(F.length).fill("");
1227
+ const C = z.shift(), x = new Array(P.length).fill(""), j = new Array(F.length).fill("");
1228
1228
  let L;
1229
- L = [...x, ...C, ...W], L.raw = [...x, ...C.raw, ...W], P.unshift(L);
1229
+ L = [...x, ...C, ...j], L.raw = [...x, ...C.raw, ...j], P.unshift(L);
1230
1230
  }
1231
1231
  const i = [...P, ...z, ...F], y = w(...i);
1232
1232
  return l.muiName && (y.muiName = l.muiName), y;
@@ -1251,13 +1251,13 @@ function zr(e) {
1251
1251
  function Mr(e) {
1252
1252
  return e && e.charAt(0).toLowerCase() + e.slice(1);
1253
1253
  }
1254
- function jr(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
1254
+ function Wr(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
1255
1255
  return Math.max(t, Math.min(e, r));
1256
1256
  }
1257
- function We(e, t = 0, r = 1) {
1258
- return jr(e, t, r);
1257
+ function je(e, t = 0, r = 1) {
1258
+ return Wr(e, t, r);
1259
1259
  }
1260
- function Wr(e) {
1260
+ function jr(e) {
1261
1261
  e = e.slice(1);
1262
1262
  const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
1263
1263
  let r = e.match(t);
@@ -1267,7 +1267,7 @@ function Q(e) {
1267
1267
  if (e.type)
1268
1268
  return e;
1269
1269
  if (e.charAt(0) === "#")
1270
- return Q(Wr(e));
1270
+ return Q(jr(e));
1271
1271
  const t = e.indexOf("("), r = e.substring(0, t);
1272
1272
  if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
1273
1273
  throw new Error(J(9, e));
@@ -1325,7 +1325,7 @@ function Kr(e, t) {
1325
1325
  return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
1326
1326
  }
1327
1327
  function Gr(e, t) {
1328
- return e = Q(e), t = We(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Be(e);
1328
+ return e = Q(e), t = je(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Be(e);
1329
1329
  }
1330
1330
  function he(e, t, r) {
1331
1331
  try {
@@ -1335,7 +1335,7 @@ function he(e, t, r) {
1335
1335
  }
1336
1336
  }
1337
1337
  function Ve(e, t) {
1338
- if (e = Q(e), t = We(t), e.type.includes("hsl"))
1338
+ if (e = Q(e), t = je(t), e.type.includes("hsl"))
1339
1339
  e.values[2] *= 1 - t;
1340
1340
  else if (e.type.includes("rgb") || e.type.includes("color"))
1341
1341
  for (let r = 0; r < 3; r += 1)
@@ -1350,7 +1350,7 @@ function v(e, t, r) {
1350
1350
  }
1351
1351
  }
1352
1352
  function Ke(e, t) {
1353
- if (e = Q(e), t = We(t), e.type.includes("hsl"))
1353
+ if (e = Q(e), t = je(t), e.type.includes("hsl"))
1354
1354
  e.values[2] += (100 - e.values[2]) * t;
1355
1355
  else if (e.type.includes("rgb"))
1356
1356
  for (let r = 0; r < 3; r += 1)
@@ -1456,10 +1456,10 @@ function Oe(e, t) {
1456
1456
  e,
1457
1457
  (l, f, d) => {
1458
1458
  if ((typeof f == "string" || typeof f == "number") && (!n || !n(l, f))) {
1459
- const h = `--${r ? `${r}-` : ""}${l.join("-")}`, g = Zr(l, f);
1459
+ const h = `--${r ? `${r}-` : ""}${l.join("-")}`, p = Zr(l, f);
1460
1460
  Object.assign(o, {
1461
- [h]: g
1462
- }), nt(a, l, `var(${h})`, d), nt(s, l, `var(${h}, ${g})`, d);
1461
+ [h]: p
1462
+ }), nt(a, l, `var(${h})`, d), nt(s, l, `var(${h}, ${p})`, d);
1463
1463
  }
1464
1464
  },
1465
1465
  (l) => l[0] === "vars"
@@ -1483,11 +1483,11 @@ function en(e, t = {}) {
1483
1483
  } = e, {
1484
1484
  vars: d,
1485
1485
  css: h,
1486
- varsWithDefaults: g
1486
+ varsWithDefaults: p
1487
1487
  } = Oe(f, t);
1488
- let m = g;
1488
+ let m = p;
1489
1489
  const b = {}, {
1490
- [l]: p,
1490
+ [l]: g,
1491
1491
  ...u
1492
1492
  } = a;
1493
1493
  if (Object.entries(u || {}).forEach(([w, S]) => {
@@ -1496,17 +1496,17 @@ function en(e, t = {}) {
1496
1496
  css: B,
1497
1497
  varsWithDefaults: P
1498
1498
  } = Oe(S, t);
1499
- m = j(m, P), b[w] = {
1499
+ m = W(m, P), b[w] = {
1500
1500
  css: B,
1501
1501
  vars: _
1502
1502
  };
1503
- }), p) {
1503
+ }), g) {
1504
1504
  const {
1505
1505
  css: w,
1506
1506
  vars: S,
1507
1507
  varsWithDefaults: _
1508
- } = Oe(p, t);
1509
- m = j(m, _), b[l] = {
1508
+ } = Oe(g, t);
1509
+ m = W(m, _), b[l] = {
1510
1510
  css: w,
1511
1511
  vars: S
1512
1512
  };
@@ -1535,7 +1535,7 @@ function en(e, t = {}) {
1535
1535
  return Object.entries(b).forEach(([, {
1536
1536
  vars: S
1537
1537
  }]) => {
1538
- w = j(w, S);
1538
+ w = W(w, S);
1539
1539
  }), w;
1540
1540
  },
1541
1541
  generateStyleSheets: () => {
@@ -1571,8 +1571,8 @@ function en(e, t = {}) {
1571
1571
  return Object.entries(P).forEach(([i, {
1572
1572
  css: y
1573
1573
  }]) => {
1574
- var W, L;
1575
- const C = (L = (W = a[i]) == null ? void 0 : W.palette) == null ? void 0 : L.mode, x = !n && C ? {
1574
+ var j, L;
1575
+ const C = (L = (j = a[i]) == null ? void 0 : j.palette) == null ? void 0 : L.mode, x = !n && C ? {
1576
1576
  colorScheme: C,
1577
1577
  ...y
1578
1578
  } : {
@@ -1738,7 +1738,7 @@ function Ge(e) {
1738
1738
  tonalOffset: n = 0.2,
1739
1739
  ...o
1740
1740
  } = e, a = e.primary || nn(t), s = e.secondary || on(t), l = e.error || an(t), f = e.info || sn(t), d = e.success || ln(t), h = e.warning || cn(t);
1741
- function g(u) {
1741
+ function p(u) {
1742
1742
  return Kr(u, ot.text.primary) >= r ? ot.text.primary : rn.text.primary;
1743
1743
  }
1744
1744
  const m = ({
@@ -1754,10 +1754,10 @@ function Ge(e) {
1754
1754
  throw new Error(J(11, $ ? ` (${$})` : "", O));
1755
1755
  if (typeof u.main != "string")
1756
1756
  throw new Error(J(12, $ ? ` (${$})` : "", JSON.stringify(u.main)));
1757
- return it(u, "light", D, n), it(u, "dark", w, n), u.contrastText || (u.contrastText = g(u.main)), u;
1757
+ return it(u, "light", D, n), it(u, "dark", w, n), u.contrastText || (u.contrastText = p(u.main)), u;
1758
1758
  };
1759
1759
  let b;
1760
- return t === "light" ? b = St() : t === "dark" && (b = Ct()), j({
1760
+ return t === "light" ? b = St() : t === "dark" && (b = Ct()), W({
1761
1761
  // A collection of common colors.
1762
1762
  common: {
1763
1763
  ...me
@@ -1804,7 +1804,7 @@ function Ge(e) {
1804
1804
  // the background and the text.
1805
1805
  contrastThreshold: r,
1806
1806
  // Takes a background color and returns the text color that maximizes the contrast.
1807
- getContrastText: g,
1807
+ getContrastText: p,
1808
1808
  // Generate a rich color object.
1809
1809
  augmentColor: m,
1810
1810
  // Used by the functions below to shift a color's luminance by approximately
@@ -1860,8 +1860,8 @@ function mn(e, t) {
1860
1860
  // Apply the CSS properties to all the variants.
1861
1861
  allVariants: d,
1862
1862
  pxToRem: h,
1863
- ...g
1864
- } = typeof t == "function" ? t(e) : t, m = n / 14, b = h || (($) => `${$ / f * m}rem`), p = ($, O, D, w, S) => ({
1863
+ ...p
1864
+ } = typeof t == "function" ? t(e) : t, m = n / 14, b = h || (($) => `${$ / f * m}rem`), g = ($, O, D, w, S) => ({
1865
1865
  fontFamily: r,
1866
1866
  fontWeight: $,
1867
1867
  fontSize: b(O),
@@ -1875,19 +1875,19 @@ function mn(e, t) {
1875
1875
  ...S,
1876
1876
  ...d
1877
1877
  }), u = {
1878
- h1: p(o, 96, 1.167, -1.5),
1879
- h2: p(o, 60, 1.2, -0.5),
1880
- h3: p(a, 48, 1.167, 0),
1881
- h4: p(a, 34, 1.235, 0.25),
1882
- h5: p(a, 24, 1.334, 0),
1883
- h6: p(s, 20, 1.6, 0.15),
1884
- subtitle1: p(a, 16, 1.75, 0.15),
1885
- subtitle2: p(s, 14, 1.57, 0.1),
1886
- body1: p(a, 16, 1.5, 0.15),
1887
- body2: p(a, 14, 1.43, 0.15),
1888
- button: p(s, 14, 1.75, 0.4, at),
1889
- caption: p(a, 12, 1.66, 0.4),
1890
- overline: p(a, 12, 2.66, 1, at),
1878
+ h1: g(o, 96, 1.167, -1.5),
1879
+ h2: g(o, 60, 1.2, -0.5),
1880
+ h3: g(a, 48, 1.167, 0),
1881
+ h4: g(a, 34, 1.235, 0.25),
1882
+ h5: g(a, 24, 1.334, 0),
1883
+ h6: g(s, 20, 1.6, 0.15),
1884
+ subtitle1: g(a, 16, 1.75, 0.15),
1885
+ subtitle2: g(s, 14, 1.57, 0.1),
1886
+ body1: g(a, 16, 1.5, 0.15),
1887
+ body2: g(a, 14, 1.43, 0.15),
1888
+ button: g(s, 14, 1.75, 0.4, at),
1889
+ caption: g(a, 12, 1.66, 0.4),
1890
+ overline: g(a, 12, 2.66, 1, at),
1891
1891
  // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
1892
1892
  inherit: {
1893
1893
  fontFamily: "inherit",
@@ -1897,7 +1897,7 @@ function mn(e, t) {
1897
1897
  letterSpacing: "inherit"
1898
1898
  }
1899
1899
  };
1900
- return j({
1900
+ return W({
1901
1901
  htmlFontSize: f,
1902
1902
  pxToRem: b,
1903
1903
  fontFamily: r,
@@ -1907,14 +1907,14 @@ function mn(e, t) {
1907
1907
  fontWeightMedium: s,
1908
1908
  fontWeightBold: l,
1909
1909
  ...u
1910
- }, g, {
1910
+ }, p, {
1911
1911
  clone: !1
1912
1912
  // No need to clone deep
1913
1913
  });
1914
1914
  }
1915
- const gn = 0.2, pn = 0.14, hn = 0.12;
1915
+ const pn = 0.2, gn = 0.14, hn = 0.12;
1916
1916
  function A(...e) {
1917
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${gn})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${pn})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${hn})`].join(",");
1917
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${pn})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${gn})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${hn})`].join(",");
1918
1918
  }
1919
1919
  const yn = ["none", A(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), A(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), A(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), A(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), A(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), A(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), A(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), A(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), A(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), A(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), A(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), A(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), A(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), A(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), A(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), A(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), A(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), A(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), A(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), A(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), A(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), A(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), A(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), A(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], bn = {
1920
1920
  // This is the most common easing curve.
@@ -2022,9 +2022,9 @@ function Fe(e = {}, ...t) {
2022
2022
  // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
2023
2023
  e.generateThemeVars === void 0)
2024
2024
  throw new Error(J(20));
2025
- const h = Ge(a), g = gt(e);
2026
- let m = j(g, {
2027
- mixins: fn(g.breakpoints, n),
2025
+ const h = Ge(a), p = pt(e);
2026
+ let m = W(p, {
2027
+ mixins: fn(p.breakpoints, n),
2028
2028
  palette: h,
2029
2029
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
2030
2030
  shadows: yn.slice(),
@@ -2034,12 +2034,12 @@ function Fe(e = {}, ...t) {
2034
2034
  ...xn
2035
2035
  }
2036
2036
  });
2037
- return m = j(m, d), m = t.reduce((b, p) => j(b, p), m), m.unstable_sxConfig = {
2037
+ return m = W(m, d), m = t.reduce((b, g) => W(b, g), m), m.unstable_sxConfig = {
2038
2038
  ...Ae,
2039
2039
  ...d == null ? void 0 : d.unstable_sxConfig
2040
- }, m.unstable_sx = function(p) {
2040
+ }, m.unstable_sx = function(g) {
2041
2041
  return ae({
2042
- sx: p,
2042
+ sx: g,
2043
2043
  theme: this
2044
2044
  });
2045
2045
  }, m.toRuntimeSource = wt, m;
@@ -2197,21 +2197,21 @@ function In(e = {}, ...t) {
2197
2197
  colorSchemeSelector: l = r.light && r.dark ? "media" : void 0,
2198
2198
  rootSelector: f = ":root",
2199
2199
  ...d
2200
- } = e, h = Object.keys(r)[0], g = n || (r.light && h !== "light" ? "light" : h), m = Pn(a), {
2201
- [g]: b,
2202
- light: p,
2200
+ } = e, h = Object.keys(r)[0], p = n || (r.light && h !== "light" ? "light" : h), m = Pn(a), {
2201
+ [p]: b,
2202
+ light: g,
2203
2203
  dark: u,
2204
2204
  ...$
2205
2205
  } = r, O = {
2206
2206
  ...$
2207
2207
  };
2208
2208
  let D = b;
2209
- if ((g === "dark" && !("dark" in r) || g === "light" && !("light" in r)) && (D = !0), !D)
2210
- throw new Error(J(21, g));
2211
- const w = Pe(O, D, d, g);
2212
- p && !O.light && Pe(O, p, void 0, "light"), u && !O.dark && Pe(O, u, void 0, "dark");
2209
+ if ((p === "dark" && !("dark" in r) || p === "light" && !("light" in r)) && (D = !0), !D)
2210
+ throw new Error(J(21, p));
2211
+ const w = Pe(O, D, d, p);
2212
+ g && !O.light && Pe(O, g, void 0, "light"), u && !O.dark && Pe(O, u, void 0, "dark");
2213
2213
  let S = {
2214
- defaultColorScheme: g,
2214
+ defaultColorScheme: p,
2215
2215
  ...w,
2216
2216
  cssVarPrefix: a,
2217
2217
  colorSchemeSelector: l,
@@ -2226,8 +2226,8 @@ function In(e = {}, ...t) {
2226
2226
  };
2227
2227
  Object.keys(S.colorSchemes).forEach((F) => {
2228
2228
  const i = S.colorSchemes[F].palette, y = (C) => {
2229
- const x = C.split("-"), W = x[1], L = x[2];
2230
- return m(C, i[W][L]);
2229
+ const x = C.split("-"), j = x[1], L = x[2];
2230
+ return m(C, i[j][L]);
2231
2231
  };
2232
2232
  if (i.mode === "light" && (c(i.common, "background", "#fff"), c(i.common, "onBackground", "#000")), i.mode === "dark" && (c(i.common, "background", "#000"), c(i.common, "onBackground", "#fff")), Rn(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
2233
2233
  c(i.Alert, "errorColor", v(i.error.light, 0.6)), c(i.Alert, "infoColor", v(i.info.light, 0.6)), c(i.Alert, "successColor", v(i.success.light, 0.6)), c(i.Alert, "warningColor", v(i.warning.light, 0.6)), c(i.Alert, "errorFilledBg", y("palette-error-main")), c(i.Alert, "infoFilledBg", y("palette-info-main")), c(i.Alert, "successFilledBg", y("palette-success-main")), c(i.Alert, "warningFilledBg", y("palette-warning-main")), c(i.Alert, "errorFilledColor", N(() => i.getContrastText(i.error.main))), c(i.Alert, "infoFilledColor", N(() => i.getContrastText(i.info.main))), c(i.Alert, "successFilledColor", N(() => i.getContrastText(i.success.main))), c(i.Alert, "warningFilledColor", N(() => i.getContrastText(i.warning.main))), c(i.Alert, "errorStandardBg", k(i.error.light, 0.9)), c(i.Alert, "infoStandardBg", k(i.info.light, 0.9)), c(i.Alert, "successStandardBg", k(i.success.light, 0.9)), c(i.Alert, "warningStandardBg", k(i.warning.light, 0.9)), c(i.Alert, "errorIconColor", y("palette-error-main")), c(i.Alert, "infoIconColor", y("palette-info-main")), c(i.Alert, "successIconColor", y("palette-success-main")), c(i.Alert, "warningIconColor", y("palette-warning-main")), c(i.AppBar, "defaultBg", y("palette-grey-100")), c(i.Avatar, "defaultBg", y("palette-grey-400")), c(i.Button, "inheritContainedBg", y("palette-grey-300")), c(i.Button, "inheritContainedHoverBg", y("palette-grey-A100")), c(i.Chip, "defaultBorder", y("palette-grey-400")), c(i.Chip, "defaultAvatarColor", y("palette-grey-700")), c(i.Chip, "defaultIconColor", y("palette-grey-700")), c(i.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), c(i.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), c(i.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), c(i.LinearProgress, "primaryBg", k(i.primary.main, 0.62)), c(i.LinearProgress, "secondaryBg", k(i.secondary.main, 0.62)), c(i.LinearProgress, "errorBg", k(i.error.main, 0.62)), c(i.LinearProgress, "infoBg", k(i.info.main, 0.62)), c(i.LinearProgress, "successBg", k(i.success.main, 0.62)), c(i.LinearProgress, "warningBg", k(i.warning.main, 0.62)), c(i.Skeleton, "bg", `rgba(${y("palette-text-primaryChannel")} / 0.11)`), c(i.Slider, "primaryTrack", k(i.primary.main, 0.62)), c(i.Slider, "secondaryTrack", k(i.secondary.main, 0.62)), c(i.Slider, "errorTrack", k(i.error.main, 0.62)), c(i.Slider, "infoTrack", k(i.info.main, 0.62)), c(i.Slider, "successTrack", k(i.success.main, 0.62)), c(i.Slider, "warningTrack", k(i.warning.main, 0.62));
@@ -2243,7 +2243,7 @@ function In(e = {}, ...t) {
2243
2243
  const x = i[C];
2244
2244
  C !== "tonalOffset" && x && typeof x == "object" && (x.main && c(i[C], "mainChannel", ue(fe(x.main))), x.light && c(i[C], "lightChannel", ue(fe(x.light))), x.dark && c(i[C], "darkChannel", ue(fe(x.dark))), x.contrastText && c(i[C], "contrastTextChannel", ue(fe(x.contrastText))), C === "text" && (H(i[C], "primary"), H(i[C], "secondary")), C === "action" && (x.active && H(i[C], "active"), x.selected && H(i[C], "selected")));
2245
2245
  });
2246
- }), S = t.reduce((F, i) => j(F, i), S);
2246
+ }), S = t.reduce((F, i) => W(F, i), S);
2247
2247
  const _ = {
2248
2248
  prefix: a,
2249
2249
  disableCssColorScheme: o,
@@ -2303,17 +2303,17 @@ function _n(e = {}, ...t) {
2303
2303
  "palette" in e || d[l] && (d[l] !== !0 ? h = d[l].palette : l === "dark" && (h = {
2304
2304
  mode: "dark"
2305
2305
  }));
2306
- const g = Fe({
2306
+ const p = Fe({
2307
2307
  ...e,
2308
2308
  palette: h
2309
2309
  }, ...t);
2310
- return g.defaultColorScheme = l, g.colorSchemes = d, g.palette.mode === "light" && (g.colorSchemes.light = {
2310
+ return p.defaultColorScheme = l, p.colorSchemes = d, p.palette.mode === "light" && (p.colorSchemes.light = {
2311
2311
  ...d.light !== !0 && d.light,
2312
- palette: g.palette
2313
- }, ct(g, "dark", d.dark)), g.palette.mode === "dark" && (g.colorSchemes.dark = {
2312
+ palette: p.palette
2313
+ }, ct(p, "dark", d.dark)), p.palette.mode === "dark" && (p.colorSchemes.dark = {
2314
2314
  ...d.dark !== !0 && d.dark,
2315
- palette: g.palette
2316
- }, ct(g, "light", d.light)), g;
2315
+ palette: p.palette
2316
+ }, ct(p, "light", d.light)), p;
2317
2317
  }
2318
2318
  return !r && !("light" in d) && l === "light" && (d.light = !0), In({
2319
2319
  ...s,
@@ -2327,15 +2327,15 @@ function Ln(e) {
2327
2327
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
2328
2328
  }
2329
2329
  const Dn = (e) => Ln(e) && e !== "classes", zn = Fr({
2330
- themeId: Bt,
2330
+ themeId: At,
2331
2331
  defaultTheme: Fn,
2332
2332
  rootShouldForwardProp: Dn
2333
2333
  }), Mn = qr;
2334
- function jn(e) {
2334
+ function Wn(e) {
2335
2335
  return Qr(e);
2336
2336
  }
2337
- function Wn(e) {
2338
- return pt("MuiSvgIcon", e);
2337
+ function jn(e) {
2338
+ return gt("MuiSvgIcon", e);
2339
2339
  }
2340
2340
  Or("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
2341
2341
  const Vn = (e) => {
@@ -2346,7 +2346,7 @@ const Vn = (e) => {
2346
2346
  } = e, o = {
2347
2347
  root: ["root", t !== "inherit" && `color${ie(t)}`, `fontSize${ie(r)}`]
2348
2348
  };
2349
- return Hr(o, Wn, n);
2349
+ return Hr(o, jn, n);
2350
2350
  }, Kn = zn("svg", {
2351
2351
  name: "MuiSvgIcon",
2352
2352
  slot: "Root",
@@ -2359,7 +2359,7 @@ const Vn = (e) => {
2359
2359
  })(Mn(({
2360
2360
  theme: e
2361
2361
  }) => {
2362
- var t, r, n, o, a, s, l, f, d, h, g, m, b, p;
2362
+ var t, r, n, o, a, s, l, f, d, h, p, m, b, g;
2363
2363
  return {
2364
2364
  userSelect: "none",
2365
2365
  width: "1em",
@@ -2427,7 +2427,7 @@ const Vn = (e) => {
2427
2427
  color: "action"
2428
2428
  },
2429
2429
  style: {
2430
- color: (m = (g = (e.vars ?? e).palette) == null ? void 0 : g.action) == null ? void 0 : m.active
2430
+ color: (m = (p = (e.vars ?? e).palette) == null ? void 0 : p.action) == null ? void 0 : m.active
2431
2431
  }
2432
2432
  },
2433
2433
  {
@@ -2435,7 +2435,7 @@ const Vn = (e) => {
2435
2435
  color: "disabled"
2436
2436
  },
2437
2437
  style: {
2438
- color: (p = (b = (e.vars ?? e).palette) == null ? void 0 : b.action) == null ? void 0 : p.disabled
2438
+ color: (g = (b = (e.vars ?? e).palette) == null ? void 0 : b.action) == null ? void 0 : g.disabled
2439
2439
  }
2440
2440
  },
2441
2441
  {
@@ -2449,7 +2449,7 @@ const Vn = (e) => {
2449
2449
  ]
2450
2450
  };
2451
2451
  })), Le = /* @__PURE__ */ G.forwardRef(function(t, r) {
2452
- const n = jn({
2452
+ const n = Wn({
2453
2453
  props: t,
2454
2454
  name: "MuiSvgIcon"
2455
2455
  }), {
@@ -2460,10 +2460,10 @@ const Vn = (e) => {
2460
2460
  fontSize: f = "medium",
2461
2461
  htmlColor: d,
2462
2462
  inheritViewBox: h = !1,
2463
- titleAccess: g,
2463
+ titleAccess: p,
2464
2464
  viewBox: m = "0 0 24 24",
2465
2465
  ...b
2466
- } = n, p = /* @__PURE__ */ G.isValidElement(o) && o.type === "svg", u = {
2466
+ } = n, g = /* @__PURE__ */ G.isValidElement(o) && o.type === "svg", u = {
2467
2467
  ...n,
2468
2468
  color: s,
2469
2469
  component: l,
@@ -2471,24 +2471,24 @@ const Vn = (e) => {
2471
2471
  instanceFontSize: t.fontSize,
2472
2472
  inheritViewBox: h,
2473
2473
  viewBox: m,
2474
- hasSvgAsChild: p
2474
+ hasSvgAsChild: g
2475
2475
  }, $ = {};
2476
2476
  h || ($.viewBox = m);
2477
2477
  const O = Vn(u);
2478
2478
  return /* @__PURE__ */ Ie.jsxs(Kn, {
2479
2479
  as: l,
2480
- className: At(O.root, a),
2480
+ className: Bt(O.root, a),
2481
2481
  focusable: "false",
2482
2482
  color: d,
2483
- "aria-hidden": g ? void 0 : !0,
2484
- role: g ? "img" : void 0,
2483
+ "aria-hidden": p ? void 0 : !0,
2484
+ role: p ? "img" : void 0,
2485
2485
  ref: r,
2486
2486
  ...$,
2487
2487
  ...b,
2488
- ...p && o.props,
2488
+ ...g && o.props,
2489
2489
  ownerState: u,
2490
- children: [p ? o.props.children : o, g ? /* @__PURE__ */ Ie.jsx("title", {
2491
- children: g
2490
+ children: [g ? o.props.children : o, p ? /* @__PURE__ */ Ie.jsx("title", {
2491
+ children: p
2492
2492
  }) : null]
2493
2493
  });
2494
2494
  });