omnieye-theme-studio 1.2.9 → 1.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { jsxs as p, jsx as i, Fragment as ge } from "react/jsx-runtime";
2
2
  import * as qe from "react";
3
- import Ft, { useMemo as Zo, useState as Z, useEffect as _e, useRef as Te, useLayoutEffect as Fr } from "react";
4
- import { Box as S, Collapse as ei, Button as ke, Tooltip as ze, Typography as ue, Menu as ti, MenuItem as mt, Dialog as yt, DialogTitle as Wt, DialogContent as zt, TextField as Zr, DialogActions as _t, InputBase as Wr, FormControlLabel as Et, Switch as bt, Popover as ri, Slider as ni, IconButton as $r, Select as oi } from "@mui/material";
5
- import ii from "@emotion/styled";
3
+ import Wt, { useMemo as ti, useState as Z, useEffect as _e, useRef as Te, useLayoutEffect as Fr } from "react";
4
+ import { Box as S, Collapse as ri, Button as ke, Tooltip as ze, Typography as ue, Menu as ni, MenuItem as mt, Dialog as yt, DialogTitle as zt, DialogContent as _t, TextField as Zr, DialogActions as Lt, InputBase as Wr, FormControlLabel as Et, Switch as bt, Popover as oi, Slider as ii, IconButton as $r, Select as ai } from "@mui/material";
5
+ import si from "@emotion/styled";
6
6
  import "@emotion/react";
7
- import { createPortal as ai } from "react-dom";
8
- const en = (e) => e, si = () => {
7
+ import { createPortal as li } from "react-dom";
8
+ const en = (e) => e, di = () => {
9
9
  let e = en;
10
10
  return {
11
11
  configure(r) {
@@ -18,7 +18,7 @@ const en = (e) => e, si = () => {
18
18
  e = en;
19
19
  }
20
20
  };
21
- }, li = si();
21
+ }, ci = di();
22
22
  function st(e, ...r) {
23
23
  const t = new URL(`https://mui.com/production-error/?code=${e}`);
24
24
  return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
@@ -28,10 +28,10 @@ function lt(e) {
28
28
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : st(7));
29
29
  return e.charAt(0).toUpperCase() + e.slice(1);
30
30
  }
31
- function di(e) {
31
+ function pi(e) {
32
32
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
33
33
  }
34
- var Lt = { exports: {} }, Nt = { exports: {} }, ne = {};
34
+ var Nt = { exports: {} }, jt = { exports: {} }, ne = {};
35
35
  /** @license React v16.13.1
36
36
  * react-is.production.min.js
37
37
  *
@@ -41,7 +41,7 @@ var Lt = { exports: {} }, Nt = { exports: {} }, ne = {};
41
41
  * LICENSE file in the root directory of this source tree.
42
42
  */
43
43
  var tn;
44
- function ci() {
44
+ function ui() {
45
45
  if (tn) return ne;
46
46
  tn = 1;
47
47
  var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, u = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
@@ -116,7 +116,7 @@ var oe = {};
116
116
  * LICENSE file in the root directory of this source tree.
117
117
  */
118
118
  var rn;
119
- function pi() {
119
+ function fi() {
120
120
  return rn || (rn = 1, process.env.NODE_ENV !== "production" && (function() {
121
121
  var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, u = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
122
122
  function H(_) {
@@ -199,8 +199,8 @@ function pi() {
199
199
  })()), oe;
200
200
  }
201
201
  var nn;
202
- function Ln() {
203
- return nn || (nn = 1, process.env.NODE_ENV === "production" ? Nt.exports = ci() : Nt.exports = pi()), Nt.exports;
202
+ function jn() {
203
+ return nn || (nn = 1, process.env.NODE_ENV === "production" ? jt.exports = ui() : jt.exports = fi()), jt.exports;
204
204
  }
205
205
  /*
206
206
  object-assign
@@ -208,7 +208,7 @@ object-assign
208
208
  @license MIT
209
209
  */
210
210
  var mr, on;
211
- function ui() {
211
+ function hi() {
212
212
  if (on) return mr;
213
213
  on = 1;
214
214
  var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
@@ -261,17 +261,17 @@ function zr() {
261
261
  return yr = e, yr;
262
262
  }
263
263
  var br, sn;
264
- function Nn() {
264
+ function Vn() {
265
265
  return sn || (sn = 1, br = Function.call.bind(Object.prototype.hasOwnProperty)), br;
266
266
  }
267
267
  var xr, ln;
268
- function fi() {
268
+ function gi() {
269
269
  if (ln) return xr;
270
270
  ln = 1;
271
271
  var e = function() {
272
272
  };
273
273
  if (process.env.NODE_ENV !== "production") {
274
- var r = /* @__PURE__ */ zr(), t = {}, n = /* @__PURE__ */ Nn();
274
+ var r = /* @__PURE__ */ zr(), t = {}, n = /* @__PURE__ */ Vn();
275
275
  e = function(s) {
276
276
  var a = "Warning: " + s;
277
277
  typeof console < "u" && console.error(a);
@@ -314,10 +314,10 @@ function fi() {
314
314
  }, xr = o, xr;
315
315
  }
316
316
  var vr, dn;
317
- function hi() {
317
+ function mi() {
318
318
  if (dn) return vr;
319
319
  dn = 1;
320
- var e = Ln(), r = ui(), t = /* @__PURE__ */ zr(), n = /* @__PURE__ */ Nn(), o = /* @__PURE__ */ fi(), s = function() {
320
+ var e = jn(), r = hi(), t = /* @__PURE__ */ zr(), n = /* @__PURE__ */ Vn(), o = /* @__PURE__ */ gi(), s = function() {
321
321
  };
322
322
  process.env.NODE_ENV !== "production" && (s = function(l) {
323
323
  var c = "Warning: " + l;
@@ -635,7 +635,7 @@ Valid keys: ` + JSON.stringify(Object.keys(P), null, " ")
635
635
  }, vr;
636
636
  }
637
637
  var Sr, cn;
638
- function gi() {
638
+ function yi() {
639
639
  if (cn) return Sr;
640
640
  cn = 1;
641
641
  var e = /* @__PURE__ */ zr();
@@ -683,31 +683,31 @@ function gi() {
683
683
  }, Sr;
684
684
  }
685
685
  var pn;
686
- function mi() {
687
- if (pn) return Lt.exports;
686
+ function bi() {
687
+ if (pn) return Nt.exports;
688
688
  if (pn = 1, process.env.NODE_ENV !== "production") {
689
- var e = Ln(), r = !0;
690
- Lt.exports = /* @__PURE__ */ hi()(e.isElement, r);
689
+ var e = jn(), r = !0;
690
+ Nt.exports = /* @__PURE__ */ mi()(e.isElement, r);
691
691
  } else
692
- Lt.exports = /* @__PURE__ */ gi()();
693
- return Lt.exports;
692
+ Nt.exports = /* @__PURE__ */ yi()();
693
+ return Nt.exports;
694
694
  }
695
- var yi = /* @__PURE__ */ mi();
696
- const re = /* @__PURE__ */ di(yi);
697
- function jn(e) {
695
+ var xi = /* @__PURE__ */ bi();
696
+ const re = /* @__PURE__ */ pi(xi);
697
+ function Un(e) {
698
698
  var r, t, n = "";
699
699
  if (typeof e == "string" || typeof e == "number") n += e;
700
700
  else if (typeof e == "object") if (Array.isArray(e)) {
701
701
  var o = e.length;
702
- for (r = 0; r < o; r++) e[r] && (t = jn(e[r])) && (n && (n += " "), n += t);
702
+ for (r = 0; r < o; r++) e[r] && (t = Un(e[r])) && (n && (n += " "), n += t);
703
703
  } else for (t in e) e[t] && (n && (n += " "), n += t);
704
704
  return n;
705
705
  }
706
- function Vn() {
707
- for (var e, r, t = 0, n = "", o = arguments.length; t < o; t++) (e = arguments[t]) && (r = jn(e)) && (n && (n += " "), n += r);
706
+ function Gn() {
707
+ for (var e, r, t = 0, n = "", o = arguments.length; t < o; t++) (e = arguments[t]) && (r = Un(e)) && (n && (n += " "), n += r);
708
708
  return n;
709
709
  }
710
- function bi(e, r, t = void 0) {
710
+ function vi(e, r, t = void 0) {
711
711
  const n = {};
712
712
  for (const o in e) {
713
713
  const s = e[o];
@@ -720,7 +720,7 @@ function bi(e, r, t = void 0) {
720
720
  }
721
721
  return n;
722
722
  }
723
- var jt = { exports: {} }, se = {};
723
+ var Vt = { exports: {} }, se = {};
724
724
  /**
725
725
  * @license React
726
726
  * react-is.production.js
@@ -731,7 +731,7 @@ var jt = { exports: {} }, se = {};
731
731
  * LICENSE file in the root directory of this source tree.
732
732
  */
733
733
  var un;
734
- function xi() {
734
+ function Si() {
735
735
  if (un) return se;
736
736
  un = 1;
737
737
  var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), y = Symbol.for("react.view_transition"), h = Symbol.for("react.client.reference");
@@ -805,7 +805,7 @@ var le = {};
805
805
  * LICENSE file in the root directory of this source tree.
806
806
  */
807
807
  var fn;
808
- function vi() {
808
+ function Ci() {
809
809
  return fn || (fn = 1, process.env.NODE_ENV !== "production" && (function() {
810
810
  function e(u) {
811
811
  if (typeof u == "object" && u !== null) {
@@ -869,22 +869,22 @@ function vi() {
869
869
  })()), le;
870
870
  }
871
871
  var hn;
872
- function Si() {
873
- return hn || (hn = 1, process.env.NODE_ENV === "production" ? jt.exports = /* @__PURE__ */ xi() : jt.exports = /* @__PURE__ */ vi()), jt.exports;
872
+ function wi() {
873
+ return hn || (hn = 1, process.env.NODE_ENV === "production" ? Vt.exports = /* @__PURE__ */ Si() : Vt.exports = /* @__PURE__ */ Ci()), Vt.exports;
874
874
  }
875
- var qt = /* @__PURE__ */ Si();
875
+ var Kt = /* @__PURE__ */ wi();
876
876
  function We(e) {
877
877
  if (typeof e != "object" || e === null)
878
878
  return !1;
879
879
  const r = Object.getPrototypeOf(e);
880
880
  return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
881
881
  }
882
- function Un(e) {
883
- if (/* @__PURE__ */ qe.isValidElement(e) || qt.isValidElementType(e) || !We(e))
882
+ function Yn(e) {
883
+ if (/* @__PURE__ */ qe.isValidElement(e) || Kt.isValidElementType(e) || !We(e))
884
884
  return e;
885
885
  const r = {};
886
886
  return Object.keys(e).forEach((t) => {
887
- r[t] = Un(e[t]);
887
+ r[t] = Yn(e[t]);
888
888
  }), r;
889
889
  }
890
890
  function Pe(e, r, t = {
@@ -894,8 +894,8 @@ function Pe(e, r, t = {
894
894
  ...e
895
895
  } : e;
896
896
  return We(e) && We(r) && Object.keys(r).forEach((o) => {
897
- /* @__PURE__ */ qe.isValidElement(r[o]) || qt.isValidElementType(r[o]) ? n[o] = r[o] : We(r[o]) && // Avoid prototype pollution
898
- Object.prototype.hasOwnProperty.call(e, o) && We(e[o]) ? n[o] = Pe(e[o], r[o], t) : t.clone ? n[o] = We(r[o]) ? Un(r[o]) : r[o] : n[o] = r[o];
897
+ /* @__PURE__ */ qe.isValidElement(r[o]) || Kt.isValidElementType(r[o]) ? n[o] = r[o] : We(r[o]) && // Avoid prototype pollution
898
+ Object.prototype.hasOwnProperty.call(e, o) && We(e[o]) ? n[o] = Pe(e[o], r[o], t) : t.clone ? n[o] = We(r[o]) ? Yn(r[o]) : r[o] : n[o] = r[o];
899
899
  }), n;
900
900
  }
901
901
  function Ht(e, r) {
@@ -920,10 +920,10 @@ function gn(e, r) {
920
920
  ...r
921
921
  }) : r;
922
922
  }
923
- function Ci(e, r) {
923
+ function ki(e, r) {
924
924
  return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
925
925
  }
926
- function wi(e, r) {
926
+ function Ti(e, r) {
927
927
  const t = r.match(/^@([^/]+)?\/?(.+)?$/);
928
928
  if (!t) {
929
929
  if (process.env.NODE_ENV !== "production")
@@ -937,7 +937,7 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`)
937
937
  const [, n, o] = t, s = Number.isNaN(+n) ? n || 0 : +n;
938
938
  return e.containerQueries(o).up(s);
939
939
  }
940
- function ki(e) {
940
+ function Ri(e) {
941
941
  const r = (s, a) => s.replace("@media", a ? `@container ${a}` : "@container");
942
942
  function t(s, a) {
943
943
  s.up = (...l) => r(e.breakpoints.up(...l), a), s.down = (...l) => r(e.breakpoints.down(...l), a), s.between = (...l) => r(e.breakpoints.between(...l), a), s.only = (...l) => r(e.breakpoints.only(...l), a), s.not = (...l) => {
@@ -967,7 +967,7 @@ const er = {
967
967
  // It can't be configured as it's used statically for propTypes.
968
968
  keys: ["xs", "sm", "md", "lg", "xl"],
969
969
  up: (e) => `@media (min-width:${er[e]}px)`
970
- }, Ti = {
970
+ }, Ei = {
971
971
  containerQueries: (e) => ({
972
972
  up: (r) => {
973
973
  let t = typeof r == "number" ? r : er[r] || r;
@@ -984,8 +984,8 @@ function Le(e, r, t) {
984
984
  if (typeof r == "object") {
985
985
  const s = n.breakpoints || mn;
986
986
  return Object.keys(r).reduce((a, l) => {
987
- if (Ci(s.keys, l)) {
988
- const c = wi(n.containerQueries ? n : Ti, l);
987
+ if (ki(s.keys, l)) {
988
+ const c = Ti(n.containerQueries ? n : Ei, l);
989
989
  c && (a[c] = t(r[l], l));
990
990
  } else if (Object.keys(s.values || er).includes(l)) {
991
991
  const c = s.up(l);
@@ -999,7 +999,7 @@ function Le(e, r, t) {
999
999
  }
1000
1000
  return t(r);
1001
1001
  }
1002
- function Ri(e = {}) {
1002
+ function Hi(e = {}) {
1003
1003
  var t;
1004
1004
  return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
1005
1005
  const s = e.up(o);
@@ -1022,7 +1022,7 @@ function tr(e, r, t = !0) {
1022
1022
  }
1023
1023
  return r.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
1024
1024
  }
1025
- function Kt(e, r, t, n = t) {
1025
+ function Xt(e, r, t, n = t) {
1026
1026
  let o;
1027
1027
  return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = tr(e, t) || n, r && (o = r(o, n, e)), o;
1028
1028
  }
@@ -1037,8 +1037,8 @@ function ye(e) {
1037
1037
  return null;
1038
1038
  const l = a[r], c = a.theme, g = tr(c, n) || {};
1039
1039
  return Le(a, l, (m) => {
1040
- let y = Kt(g, o, m);
1041
- return m === y && typeof m == "string" && (y = Kt(g, o, `${r}${m === "default" ? "" : lt(m)}`, m)), t === !1 ? y : {
1040
+ let y = Xt(g, o, m);
1041
+ return m === y && typeof m == "string" && (y = Xt(g, o, `${r}${m === "default" ? "" : lt(m)}`, m)), t === !1 ? y : {
1042
1042
  [t]: y
1043
1043
  };
1044
1044
  });
@@ -1047,14 +1047,14 @@ function ye(e) {
1047
1047
  [r]: Xe
1048
1048
  } : {}, s.filterProps = [r], s;
1049
1049
  }
1050
- function Ei(e) {
1050
+ function Pi(e) {
1051
1051
  const r = {};
1052
1052
  return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
1053
1053
  }
1054
- const Hi = {
1054
+ const $i = {
1055
1055
  m: "margin",
1056
1056
  p: "padding"
1057
- }, Pi = {
1057
+ }, Ai = {
1058
1058
  t: "Top",
1059
1059
  r: "Right",
1060
1060
  b: "Bottom",
@@ -1066,16 +1066,16 @@ const Hi = {
1066
1066
  marginY: "my",
1067
1067
  paddingX: "px",
1068
1068
  paddingY: "py"
1069
- }, $i = Ei((e) => {
1069
+ }, Bi = Pi((e) => {
1070
1070
  if (e.length > 2)
1071
1071
  if (bn[e])
1072
1072
  e = bn[e];
1073
1073
  else
1074
1074
  return [e];
1075
- const [r, t] = e.split(""), n = Hi[r], o = Pi[t] || "";
1075
+ const [r, t] = e.split(""), n = $i[r], o = Ai[t] || "";
1076
1076
  return Array.isArray(o) ? o.map((s) => n + s) : [n + o];
1077
- }), rr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], nr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Ai = [...rr, ...nr];
1078
- function $t(e, r, t, n) {
1077
+ }), rr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], nr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Ii = [...rr, ...nr];
1078
+ function At(e, r, t, n) {
1079
1079
  const o = tr(e, r, !0) ?? t;
1080
1080
  return typeof o == "number" || typeof o == "string" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${s}.`), typeof o == "string" ? o.startsWith("var(") && s === 0 ? 0 : o.startsWith("var(") && s === 1 ? o : `calc(${s} * ${o})` : o * s) : Array.isArray(o) ? (s) => {
1081
1081
  if (typeof s == "string")
@@ -1091,35 +1091,35 @@ function $t(e, r, t, n) {
1091
1091
  });
1092
1092
  }
1093
1093
  function _r(e) {
1094
- return $t(e, "spacing", 8, "spacing");
1094
+ return At(e, "spacing", 8, "spacing");
1095
1095
  }
1096
- function At(e, r) {
1096
+ function Bt(e, r) {
1097
1097
  return typeof r == "string" || r == null ? r : e(r);
1098
1098
  }
1099
- function Bi(e, r) {
1100
- return (t) => e.reduce((n, o) => (n[o] = At(r, t), n), {});
1099
+ function Oi(e, r) {
1100
+ return (t) => e.reduce((n, o) => (n[o] = Bt(r, t), n), {});
1101
1101
  }
1102
- function Ii(e, r, t, n) {
1102
+ function Di(e, r, t, n) {
1103
1103
  if (!r.includes(t))
1104
1104
  return null;
1105
- const o = $i(t), s = Bi(o, n), a = e[t];
1105
+ const o = Bi(t), s = Oi(o, n), a = e[t];
1106
1106
  return Le(e, a, s);
1107
1107
  }
1108
- function Gn(e, r) {
1108
+ function Jn(e, r) {
1109
1109
  const t = _r(e.theme);
1110
- return Object.keys(e).map((n) => Ii(e, r, n, t)).reduce(Ht, {});
1110
+ return Object.keys(e).map((n) => Di(e, r, n, t)).reduce(Ht, {});
1111
1111
  }
1112
1112
  function fe(e) {
1113
- return Gn(e, rr);
1113
+ return Jn(e, rr);
1114
1114
  }
1115
1115
  fe.propTypes = process.env.NODE_ENV !== "production" ? rr.reduce((e, r) => (e[r] = Xe, e), {}) : {};
1116
1116
  fe.filterProps = rr;
1117
1117
  function he(e) {
1118
- return Gn(e, nr);
1118
+ return Jn(e, nr);
1119
1119
  }
1120
1120
  he.propTypes = process.env.NODE_ENV !== "production" ? nr.reduce((e, r) => (e[r] = Xe, e), {}) : {};
1121
1121
  he.filterProps = nr;
1122
- process.env.NODE_ENV !== "production" && Ai.reduce((e, r) => (e[r] = Xe, e), {});
1122
+ process.env.NODE_ENV !== "production" && Ii.reduce((e, r) => (e[r] = Xe, e), {});
1123
1123
  function or(...e) {
1124
1124
  const r = e.reduce((n, o) => (o.filterProps.forEach((s) => {
1125
1125
  n[s] = o;
@@ -1136,10 +1136,10 @@ function Ae(e, r) {
1136
1136
  transform: r
1137
1137
  });
1138
1138
  }
1139
- const Oi = Ae("border", $e), Di = Ae("borderTop", $e), Mi = Ae("borderRight", $e), Fi = Ae("borderBottom", $e), Wi = Ae("borderLeft", $e), zi = Ae("borderColor"), _i = Ae("borderTopColor"), Li = Ae("borderRightColor"), Ni = Ae("borderBottomColor"), ji = Ae("borderLeftColor"), Vi = Ae("outline", $e), Ui = Ae("outlineColor"), ir = (e) => {
1139
+ const Mi = Ae("border", $e), Fi = Ae("borderTop", $e), Wi = Ae("borderRight", $e), zi = Ae("borderBottom", $e), _i = Ae("borderLeft", $e), Li = Ae("borderColor"), Ni = Ae("borderTopColor"), ji = Ae("borderRightColor"), Vi = Ae("borderBottomColor"), Ui = Ae("borderLeftColor"), Gi = Ae("outline", $e), Yi = Ae("outlineColor"), ir = (e) => {
1140
1140
  if (e.borderRadius !== void 0 && e.borderRadius !== null) {
1141
- const r = $t(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
1142
- borderRadius: At(r, n)
1141
+ const r = At(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
1142
+ borderRadius: Bt(r, n)
1143
1143
  });
1144
1144
  return Le(e, e.borderRadius, t);
1145
1145
  }
@@ -1149,11 +1149,11 @@ ir.propTypes = process.env.NODE_ENV !== "production" ? {
1149
1149
  borderRadius: Xe
1150
1150
  } : {};
1151
1151
  ir.filterProps = ["borderRadius"];
1152
- or(Oi, Di, Mi, Fi, Wi, zi, _i, Li, Ni, ji, ir, Vi, Ui);
1152
+ or(Mi, Fi, Wi, zi, _i, Li, Ni, ji, Vi, Ui, ir, Gi, Yi);
1153
1153
  const ar = (e) => {
1154
1154
  if (e.gap !== void 0 && e.gap !== null) {
1155
- const r = $t(e.theme, "spacing", 8, "gap"), t = (n) => ({
1156
- gap: At(r, n)
1155
+ const r = At(e.theme, "spacing", 8, "gap"), t = (n) => ({
1156
+ gap: Bt(r, n)
1157
1157
  });
1158
1158
  return Le(e, e.gap, t);
1159
1159
  }
@@ -1165,8 +1165,8 @@ ar.propTypes = process.env.NODE_ENV !== "production" ? {
1165
1165
  ar.filterProps = ["gap"];
1166
1166
  const sr = (e) => {
1167
1167
  if (e.columnGap !== void 0 && e.columnGap !== null) {
1168
- const r = $t(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
1169
- columnGap: At(r, n)
1168
+ const r = At(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
1169
+ columnGap: Bt(r, n)
1170
1170
  });
1171
1171
  return Le(e, e.columnGap, t);
1172
1172
  }
@@ -1178,8 +1178,8 @@ sr.propTypes = process.env.NODE_ENV !== "production" ? {
1178
1178
  sr.filterProps = ["columnGap"];
1179
1179
  const lr = (e) => {
1180
1180
  if (e.rowGap !== void 0 && e.rowGap !== null) {
1181
- const r = $t(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
1182
- rowGap: At(r, n)
1181
+ const r = At(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
1182
+ rowGap: Bt(r, n)
1183
1183
  });
1184
1184
  return Le(e, e.rowGap, t);
1185
1185
  }
@@ -1189,48 +1189,48 @@ lr.propTypes = process.env.NODE_ENV !== "production" ? {
1189
1189
  rowGap: Xe
1190
1190
  } : {};
1191
1191
  lr.filterProps = ["rowGap"];
1192
- const Gi = ye({
1192
+ const Ji = ye({
1193
1193
  prop: "gridColumn"
1194
- }), Yi = ye({
1194
+ }), qi = ye({
1195
1195
  prop: "gridRow"
1196
- }), Ji = ye({
1196
+ }), Ki = ye({
1197
1197
  prop: "gridAutoFlow"
1198
- }), qi = ye({
1198
+ }), Xi = ye({
1199
1199
  prop: "gridAutoColumns"
1200
- }), Ki = ye({
1200
+ }), Qi = ye({
1201
1201
  prop: "gridAutoRows"
1202
- }), Xi = ye({
1202
+ }), Zi = ye({
1203
1203
  prop: "gridTemplateColumns"
1204
- }), Qi = ye({
1204
+ }), ea = ye({
1205
1205
  prop: "gridTemplateRows"
1206
- }), Zi = ye({
1206
+ }), ta = ye({
1207
1207
  prop: "gridTemplateAreas"
1208
- }), ea = ye({
1208
+ }), ra = ye({
1209
1209
  prop: "gridArea"
1210
1210
  });
1211
- or(ar, sr, lr, Gi, Yi, Ji, qi, Ki, Xi, Qi, Zi, ea);
1211
+ or(ar, sr, lr, Ji, qi, Ki, Xi, Qi, Zi, ea, ta, ra);
1212
1212
  function xt(e, r) {
1213
1213
  return r === "grey" ? r : e;
1214
1214
  }
1215
- const ta = ye({
1215
+ const na = ye({
1216
1216
  prop: "color",
1217
1217
  themeKey: "palette",
1218
1218
  transform: xt
1219
- }), ra = ye({
1219
+ }), oa = ye({
1220
1220
  prop: "bgcolor",
1221
1221
  cssProperty: "backgroundColor",
1222
1222
  themeKey: "palette",
1223
1223
  transform: xt
1224
- }), na = ye({
1224
+ }), ia = ye({
1225
1225
  prop: "backgroundColor",
1226
1226
  themeKey: "palette",
1227
1227
  transform: xt
1228
1228
  });
1229
- or(ta, ra, na);
1229
+ or(na, oa, ia);
1230
1230
  function Ee(e) {
1231
1231
  return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1232
1232
  }
1233
- const oa = ye({
1233
+ const aa = ye({
1234
1234
  prop: "width",
1235
1235
  transform: Ee
1236
1236
  }), Lr = (e) => {
@@ -1251,16 +1251,16 @@ const oa = ye({
1251
1251
  return null;
1252
1252
  };
1253
1253
  Lr.filterProps = ["maxWidth"];
1254
- const ia = ye({
1254
+ const sa = ye({
1255
1255
  prop: "minWidth",
1256
1256
  transform: Ee
1257
- }), aa = ye({
1257
+ }), la = ye({
1258
1258
  prop: "height",
1259
1259
  transform: Ee
1260
- }), sa = ye({
1260
+ }), da = ye({
1261
1261
  prop: "maxHeight",
1262
1262
  transform: Ee
1263
- }), la = ye({
1263
+ }), ca = ye({
1264
1264
  prop: "minHeight",
1265
1265
  transform: Ee
1266
1266
  });
@@ -1274,10 +1274,10 @@ ye({
1274
1274
  cssProperty: "height",
1275
1275
  transform: Ee
1276
1276
  });
1277
- const da = ye({
1277
+ const pa = ye({
1278
1278
  prop: "boxSizing"
1279
1279
  });
1280
- or(oa, Lr, ia, aa, sa, la, da);
1280
+ or(aa, Lr, sa, la, da, ca, pa);
1281
1281
  const dr = {
1282
1282
  // borders
1283
1283
  border: {
@@ -1566,14 +1566,14 @@ const dr = {
1566
1566
  themeKey: "typography"
1567
1567
  }
1568
1568
  };
1569
- function ca(...e) {
1569
+ function ua(...e) {
1570
1570
  const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
1571
1571
  return e.every((n) => t.size === Object.keys(n).length);
1572
1572
  }
1573
- function pa(e, r) {
1573
+ function fa(e, r) {
1574
1574
  return typeof e == "function" ? e(r) : e;
1575
1575
  }
1576
- function ua() {
1576
+ function ha() {
1577
1577
  function e(t, n, o, s) {
1578
1578
  const a = {
1579
1579
  [t]: n,
@@ -1597,8 +1597,8 @@ function ua() {
1597
1597
  };
1598
1598
  const y = tr(o, g) || {};
1599
1599
  return m ? m(a) : Le(a, n, (x) => {
1600
- let u = Kt(y, f, x);
1601
- return x === u && typeof x == "string" && (u = Kt(y, f, `${t}${x === "default" ? "" : lt(x)}`, x)), c === !1 ? u : {
1600
+ let u = Xt(y, f, x);
1601
+ return x === u && typeof x == "string" && (u = Xt(y, f, `${t}${x === "default" ? "" : lt(x)}`, x)), c === !1 ? u : {
1602
1602
  [c]: u
1603
1603
  };
1604
1604
  });
@@ -1620,10 +1620,10 @@ function ua() {
1620
1620
  return c;
1621
1621
  if (!g)
1622
1622
  return null;
1623
- const f = Ri(o.breakpoints), m = Object.keys(f);
1623
+ const f = Hi(o.breakpoints), m = Object.keys(f);
1624
1624
  let y = f;
1625
1625
  return Object.keys(g).forEach((h) => {
1626
- const x = pa(g[h], o);
1626
+ const x = fa(g[h], o);
1627
1627
  if (x != null)
1628
1628
  if (typeof x == "object")
1629
1629
  if (a[h])
@@ -1634,7 +1634,7 @@ function ua() {
1634
1634
  }, x, (b) => ({
1635
1635
  [h]: b
1636
1636
  }));
1637
- ca(u, x) ? y[h] = r({
1637
+ ua(u, x) ? y[h] = r({
1638
1638
  sx: x,
1639
1639
  theme: o,
1640
1640
  nested: !0
@@ -1650,9 +1650,9 @@ function ua() {
1650
1650
  }
1651
1651
  return r;
1652
1652
  }
1653
- const vt = ua();
1653
+ const vt = ha();
1654
1654
  vt.filterProps = ["sx"];
1655
- function fa(e) {
1655
+ function ga(e) {
1656
1656
  for (var r = 0, t, n = 0, o = e.length; o >= 4; ++n, o -= 4)
1657
1657
  t = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, t = /* Math.imul(k, m): */
1658
1658
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
@@ -1671,7 +1671,7 @@ function fa(e) {
1671
1671
  return r ^= r >>> 13, r = /* Math.imul(h, m): */
1672
1672
  (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
1673
1673
  }
1674
- var ha = {
1674
+ var ma = {
1675
1675
  animationIterationCount: 1,
1676
1676
  aspectRatio: 1,
1677
1677
  borderImageOutset: 1,
@@ -1721,24 +1721,24 @@ var ha = {
1721
1721
  strokeOpacity: 1,
1722
1722
  strokeWidth: 1
1723
1723
  };
1724
- function ga(e) {
1724
+ function ya(e) {
1725
1725
  var r = /* @__PURE__ */ Object.create(null);
1726
1726
  return function(t) {
1727
1727
  return r[t] === void 0 && (r[t] = e(t)), r[t];
1728
1728
  };
1729
1729
  }
1730
- var ma = /[A-Z]|^ms/g, ya = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Yn = function(r) {
1730
+ var ba = /[A-Z]|^ms/g, xa = /_EMO_([^_]+?)_([^]*?)_EMO_/g, qn = function(r) {
1731
1731
  return r.charCodeAt(1) === 45;
1732
1732
  }, xn = function(r) {
1733
1733
  return r != null && typeof r != "boolean";
1734
- }, Cr = /* @__PURE__ */ ga(function(e) {
1735
- return Yn(e) ? e : e.replace(ma, "-$&").toLowerCase();
1734
+ }, Cr = /* @__PURE__ */ ya(function(e) {
1735
+ return qn(e) ? e : e.replace(ba, "-$&").toLowerCase();
1736
1736
  }), vn = function(r, t) {
1737
1737
  switch (r) {
1738
1738
  case "animation":
1739
1739
  case "animationName":
1740
1740
  if (typeof t == "string")
1741
- return t.replace(ya, function(n, o, s) {
1741
+ return t.replace(xa, function(n, o, s) {
1742
1742
  return Je = {
1743
1743
  name: o,
1744
1744
  styles: s,
@@ -1746,9 +1746,9 @@ var ma = /[A-Z]|^ms/g, ya = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Yn = function(r) {
1746
1746
  }, o;
1747
1747
  });
1748
1748
  }
1749
- return ha[r] !== 1 && !Yn(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
1749
+ return ma[r] !== 1 && !qn(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
1750
1750
  };
1751
- function Xt(e, r, t) {
1751
+ function Qt(e, r, t) {
1752
1752
  if (t == null)
1753
1753
  return "";
1754
1754
  var n = t;
@@ -1778,17 +1778,17 @@ function Xt(e, r, t) {
1778
1778
  var l = s.styles + ";";
1779
1779
  return l;
1780
1780
  }
1781
- return ba(e, r, t);
1781
+ return va(e, r, t);
1782
1782
  }
1783
1783
  }
1784
1784
  var c = t;
1785
1785
  return c;
1786
1786
  }
1787
- function ba(e, r, t) {
1787
+ function va(e, r, t) {
1788
1788
  var n = "";
1789
1789
  if (Array.isArray(t))
1790
1790
  for (var o = 0; o < t.length; o++)
1791
- n += Xt(e, r, t[o]) + ";";
1791
+ n += Qt(e, r, t[o]) + ";";
1792
1792
  else
1793
1793
  for (var s in t) {
1794
1794
  var a = t[s];
@@ -1799,7 +1799,7 @@ function ba(e, r, t) {
1799
1799
  for (var c = 0; c < a.length; c++)
1800
1800
  xn(a[c]) && (n += Cr(s) + ":" + vn(s, a[c]) + ";");
1801
1801
  else {
1802
- var g = Xt(e, r, a);
1802
+ var g = Qt(e, r, a);
1803
1803
  switch (s) {
1804
1804
  case "animation":
1805
1805
  case "animationName": {
@@ -1814,27 +1814,27 @@ function ba(e, r, t) {
1814
1814
  return n;
1815
1815
  }
1816
1816
  var Sn = /label:\s*([^\s;{]+)\s*(;|$)/g, Je;
1817
- function xa(e, r, t) {
1817
+ function Sa(e, r, t) {
1818
1818
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1819
1819
  return e[0];
1820
1820
  var n = !0, o = "";
1821
1821
  Je = void 0;
1822
1822
  var s = e[0];
1823
1823
  if (s == null || s.raw === void 0)
1824
- n = !1, o += Xt(t, r, s);
1824
+ n = !1, o += Qt(t, r, s);
1825
1825
  else {
1826
1826
  var a = s;
1827
1827
  o += a[0];
1828
1828
  }
1829
1829
  for (var l = 1; l < e.length; l++)
1830
- if (o += Xt(t, r, e[l]), n) {
1830
+ if (o += Qt(t, r, e[l]), n) {
1831
1831
  var c = s;
1832
1832
  o += c[l];
1833
1833
  }
1834
1834
  Sn.lastIndex = 0;
1835
1835
  for (var g = "", f; (f = Sn.exec(o)) !== null; )
1836
1836
  g += "-" + f[1];
1837
- var m = fa(o) + g;
1837
+ var m = ga(o) + g;
1838
1838
  return {
1839
1839
  name: m,
1840
1840
  styles: o,
@@ -1848,22 +1848,22 @@ function xa(e, r, t) {
1848
1848
  * This source code is licensed under the MIT license found in the
1849
1849
  * LICENSE file in the root directory of this source tree.
1850
1850
  */
1851
- function va(e, r) {
1852
- const t = ii(e, r);
1851
+ function Ca(e, r) {
1852
+ const t = si(e, r);
1853
1853
  return process.env.NODE_ENV !== "production" ? (...n) => {
1854
1854
  const o = typeof e == "string" ? `"${e}"` : "component";
1855
1855
  return n.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
1856
1856
  `)) : n.some((s) => s === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), t(...n);
1857
1857
  } : t;
1858
1858
  }
1859
- function Sa(e, r) {
1859
+ function wa(e, r) {
1860
1860
  Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
1861
1861
  }
1862
1862
  const Cn = [];
1863
1863
  function at(e) {
1864
- return Cn[0] = e, xa(Cn);
1864
+ return Cn[0] = e, Sa(Cn);
1865
1865
  }
1866
- const Ca = (e) => {
1866
+ const ka = (e) => {
1867
1867
  const r = Object.keys(e).map((t) => ({
1868
1868
  key: t,
1869
1869
  val: e[t]
@@ -1873,7 +1873,7 @@ const Ca = (e) => {
1873
1873
  [n.key]: n.val
1874
1874
  }), {});
1875
1875
  };
1876
- function wa(e) {
1876
+ function Ta(e) {
1877
1877
  const {
1878
1878
  // The breakpoint **start** at this value.
1879
1879
  // For instance with the first breakpoint xs: [xs, sm).
@@ -1892,7 +1892,7 @@ function wa(e) {
1892
1892
  unit: t = "px",
1893
1893
  step: n = 5,
1894
1894
  ...o
1895
- } = e, s = Ca(r), a = Object.keys(s);
1895
+ } = e, s = ka(r), a = Object.keys(s);
1896
1896
  function l(y) {
1897
1897
  return `@media (min-width:${typeof r[y] == "number" ? r[y] : y}${t})`;
1898
1898
  }
@@ -1922,10 +1922,10 @@ function wa(e) {
1922
1922
  ...o
1923
1923
  };
1924
1924
  }
1925
- const ka = {
1925
+ const Ra = {
1926
1926
  borderRadius: 4
1927
1927
  };
1928
- function Jn(e = 8, r = _r({
1928
+ function Kn(e = 8, r = _r({
1929
1929
  spacing: e
1930
1930
  })) {
1931
1931
  if (e.mui)
@@ -1936,7 +1936,7 @@ function Jn(e = 8, r = _r({
1936
1936
  }).join(" "));
1937
1937
  return t.mui = !0, t;
1938
1938
  }
1939
- function Ta(e, r) {
1939
+ function Ea(e, r) {
1940
1940
  var n;
1941
1941
  const t = this;
1942
1942
  if (t.vars) {
@@ -1949,14 +1949,14 @@ function Ta(e, r) {
1949
1949
  }
1950
1950
  return t.palette.mode === e ? r : {};
1951
1951
  }
1952
- function qn(e = {}, ...r) {
1952
+ function Xn(e = {}, ...r) {
1953
1953
  const {
1954
1954
  breakpoints: t = {},
1955
1955
  palette: n = {},
1956
1956
  spacing: o,
1957
1957
  shape: s = {},
1958
1958
  ...a
1959
- } = e, l = wa(t), c = Jn(o);
1959
+ } = e, l = Ta(t), c = Kn(o);
1960
1960
  let g = Pe({
1961
1961
  breakpoints: l,
1962
1962
  direction: "ltr",
@@ -1968,11 +1968,11 @@ function qn(e = {}, ...r) {
1968
1968
  },
1969
1969
  spacing: c,
1970
1970
  shape: {
1971
- ...ka,
1971
+ ...Ra,
1972
1972
  ...s
1973
1973
  }
1974
1974
  }, a);
1975
- return g = ki(g), g.applyStyles = Ta, g = r.reduce((f, m) => Pe(f, m), g), g.unstable_sxConfig = {
1975
+ return g = Ri(g), g.applyStyles = Ea, g = r.reduce((f, m) => Pe(f, m), g), g.unstable_sxConfig = {
1976
1976
  ...dr,
1977
1977
  ...a == null ? void 0 : a.unstable_sxConfig
1978
1978
  }, g.unstable_sx = function(m) {
@@ -1982,7 +1982,7 @@ function qn(e = {}, ...r) {
1982
1982
  });
1983
1983
  }, g;
1984
1984
  }
1985
- const Ra = {
1985
+ const Ha = {
1986
1986
  active: "active",
1987
1987
  checked: "checked",
1988
1988
  completed: "completed",
@@ -1997,40 +1997,40 @@ const Ra = {
1997
1997
  selected: "selected"
1998
1998
  };
1999
1999
  function Nr(e, r, t = "Mui") {
2000
- const n = Ra[r];
2001
- return n ? `${t}-${n}` : `${li.generate(e)}-${r}`;
2000
+ const n = Ha[r];
2001
+ return n ? `${t}-${n}` : `${ci.generate(e)}-${r}`;
2002
2002
  }
2003
- function Ea(e, r, t = "Mui") {
2003
+ function Pa(e, r, t = "Mui") {
2004
2004
  const n = {};
2005
2005
  return r.forEach((o) => {
2006
2006
  n[o] = Nr(e, o, t);
2007
2007
  }), n;
2008
2008
  }
2009
- function Kn(e, r = "") {
2009
+ function Qn(e, r = "") {
2010
2010
  return e.displayName || e.name || r;
2011
2011
  }
2012
2012
  function wn(e, r, t) {
2013
- const n = Kn(r);
2013
+ const n = Qn(r);
2014
2014
  return e.displayName || (n !== "" ? `${t}(${n})` : t);
2015
2015
  }
2016
- function Ha(e) {
2016
+ function $a(e) {
2017
2017
  if (e != null) {
2018
2018
  if (typeof e == "string")
2019
2019
  return e;
2020
2020
  if (typeof e == "function")
2021
- return Kn(e, "Component");
2021
+ return Qn(e, "Component");
2022
2022
  if (typeof e == "object")
2023
2023
  switch (e.$$typeof) {
2024
- case qt.ForwardRef:
2024
+ case Kt.ForwardRef:
2025
2025
  return wn(e, e.render, "ForwardRef");
2026
- case qt.Memo:
2026
+ case Kt.Memo:
2027
2027
  return wn(e, e.type, "memo");
2028
2028
  default:
2029
2029
  return;
2030
2030
  }
2031
2031
  }
2032
2032
  }
2033
- function Xn(e) {
2033
+ function Zn(e) {
2034
2034
  const {
2035
2035
  variants: r,
2036
2036
  ...t
@@ -2043,23 +2043,23 @@ function Xn(e) {
2043
2043
  typeof o.style != "function" && (o.style = at(o.style));
2044
2044
  }), n;
2045
2045
  }
2046
- const Pa = qn();
2046
+ const Aa = Xn();
2047
2047
  function wr(e) {
2048
2048
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
2049
2049
  }
2050
2050
  function it(e, r) {
2051
2051
  return r && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${r}{${String(e.styles)}}`), e;
2052
2052
  }
2053
- function $a(e) {
2053
+ function Ba(e) {
2054
2054
  return e ? (r, t) => t[e] : null;
2055
2055
  }
2056
- function Aa(e, r, t) {
2057
- e.theme = Da(e.theme) ? t : e.theme[r] || e.theme;
2056
+ function Ia(e, r, t) {
2057
+ e.theme = Fa(e.theme) ? t : e.theme[r] || e.theme;
2058
2058
  }
2059
- function Jt(e, r, t) {
2059
+ function qt(e, r, t) {
2060
2060
  const n = typeof r == "function" ? r(e) : r;
2061
2061
  if (Array.isArray(n))
2062
- return n.flatMap((o) => Jt(e, o, t));
2062
+ return n.flatMap((o) => qt(e, o, t));
2063
2063
  if (Array.isArray(n == null ? void 0 : n.variants)) {
2064
2064
  let o;
2065
2065
  if (n.isProcessed)
@@ -2071,11 +2071,11 @@ function Jt(e, r, t) {
2071
2071
  } = n;
2072
2072
  o = t ? it(at(a), t) : a;
2073
2073
  }
2074
- return Qn(e, n.variants, [o], t);
2074
+ return eo(e, n.variants, [o], t);
2075
2075
  }
2076
2076
  return n != null && n.isProcessed ? t ? it(at(n.style), t) : n.style : t ? it(at(n), t) : n;
2077
2077
  }
2078
- function Qn(e, r, t = [], n = void 0) {
2078
+ function eo(e, r, t = [], n = void 0) {
2079
2079
  var s;
2080
2080
  let o;
2081
2081
  e: for (let a = 0; a < r.length; a += 1) {
@@ -2099,18 +2099,18 @@ function Qn(e, r, t = [], n = void 0) {
2099
2099
  }
2100
2100
  return t;
2101
2101
  }
2102
- function Ba(e = {}) {
2102
+ function Oa(e = {}) {
2103
2103
  const {
2104
2104
  themeId: r,
2105
- defaultTheme: t = Pa,
2105
+ defaultTheme: t = Aa,
2106
2106
  rootShouldForwardProp: n = wr,
2107
2107
  slotShouldForwardProp: o = wr
2108
2108
  } = e;
2109
2109
  function s(l) {
2110
- Aa(l, r, t);
2110
+ Ia(l, r, t);
2111
2111
  }
2112
2112
  return (l, c = {}) => {
2113
- Sa(l, (R) => R.filter((z) => z !== vt));
2113
+ wa(l, (R) => R.filter((z) => z !== vt));
2114
2114
  const {
2115
2115
  name: g,
2116
2116
  slot: f,
@@ -2118,7 +2118,7 @@ function Ba(e = {}) {
2118
2118
  skipSx: y,
2119
2119
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
2120
2120
  // For more details: https://github.com/mui/material-ui/pull/37908
2121
- overridesResolver: h = $a(Zn(f)),
2121
+ overridesResolver: h = Ba(to(f)),
2122
2122
  ...x
2123
2123
  } = c, u = g && g.startsWith("Mui") || f ? "components" : "custom", b = m !== void 0 ? m : (
2124
2124
  // TODO v6: remove `Root` in the next major release
@@ -2126,22 +2126,22 @@ function Ba(e = {}) {
2126
2126
  f && f !== "Root" && f !== "root" || !1
2127
2127
  ), v = y || !1;
2128
2128
  let $ = wr;
2129
- f === "Root" || f === "root" ? $ = n : f ? $ = o : Ma(l) && ($ = void 0);
2130
- const H = va(l, {
2129
+ f === "Root" || f === "root" ? $ = n : f ? $ = o : Wa(l) && ($ = void 0);
2130
+ const H = Ca(l, {
2131
2131
  shouldForwardProp: $,
2132
- label: Oa(g, f),
2132
+ label: Ma(g, f),
2133
2133
  ...x
2134
2134
  }), C = (R) => {
2135
2135
  if (R.__emotion_real === R)
2136
2136
  return R;
2137
2137
  if (typeof R == "function")
2138
2138
  return function(B) {
2139
- return Jt(B, R, B.theme.modularCssLayers ? u : void 0);
2139
+ return qt(B, R, B.theme.modularCssLayers ? u : void 0);
2140
2140
  };
2141
2141
  if (We(R)) {
2142
- const z = Xn(R);
2142
+ const z = Zn(R);
2143
2143
  return function(X) {
2144
- return z.variants ? Jt(X, z, X.theme.modularCssLayers ? u : void 0) : X.theme.modularCssLayers ? it(z.style, u) : z.style;
2144
+ return z.variants ? qt(X, z, X.theme.modularCssLayers ? u : void 0) : X.theme.modularCssLayers ? it(z.style, u) : z.style;
2145
2145
  };
2146
2146
  }
2147
2147
  return R;
@@ -2154,42 +2154,42 @@ function Ba(e = {}) {
2154
2154
  return null;
2155
2155
  const N = {};
2156
2156
  for (const J in L)
2157
- N[J] = Jt(I, L[J], I.theme.modularCssLayers ? "theme" : void 0);
2157
+ N[J] = qt(I, L[J], I.theme.modularCssLayers ? "theme" : void 0);
2158
2158
  return h(I, N);
2159
2159
  }), g && !b && X.push(function(I) {
2160
2160
  var N, K;
2161
2161
  const A = I.theme, L = (K = (N = A == null ? void 0 : A.components) == null ? void 0 : N[g]) == null ? void 0 : K.variants;
2162
- return L ? Qn(I, L, [], I.theme.modularCssLayers ? "theme" : void 0) : null;
2162
+ return L ? eo(I, L, [], I.theme.modularCssLayers ? "theme" : void 0) : null;
2163
2163
  }), v || X.push(vt), Array.isArray(B[0])) {
2164
2164
  const d = B.shift(), I = new Array(z.length).fill(""), A = new Array(X.length).fill("");
2165
2165
  let L;
2166
2166
  L = [...I, ...d, ...A], L.raw = [...I, ...d.raw, ...A], z.unshift(L);
2167
2167
  }
2168
2168
  const Q = [...z, ...B, ...X], Y = H(...Q);
2169
- return l.muiName && (Y.muiName = l.muiName), process.env.NODE_ENV !== "production" && (Y.displayName = Ia(g, f, l)), Y;
2169
+ return l.muiName && (Y.muiName = l.muiName), process.env.NODE_ENV !== "production" && (Y.displayName = Da(g, f, l)), Y;
2170
2170
  };
2171
2171
  return H.withConfig && (k.withConfig = H.withConfig), k;
2172
2172
  };
2173
2173
  }
2174
- function Ia(e, r, t) {
2175
- return e ? `${e}${lt(r || "")}` : `Styled(${Ha(t)})`;
2174
+ function Da(e, r, t) {
2175
+ return e ? `${e}${lt(r || "")}` : `Styled(${$a(t)})`;
2176
2176
  }
2177
- function Oa(e, r) {
2177
+ function Ma(e, r) {
2178
2178
  let t;
2179
- return process.env.NODE_ENV !== "production" && e && (t = `${e}-${Zn(r || "Root")}`), t;
2179
+ return process.env.NODE_ENV !== "production" && e && (t = `${e}-${to(r || "Root")}`), t;
2180
2180
  }
2181
- function Da(e) {
2181
+ function Fa(e) {
2182
2182
  for (const r in e)
2183
2183
  return !1;
2184
2184
  return !0;
2185
2185
  }
2186
- function Ma(e) {
2186
+ function Wa(e) {
2187
2187
  return typeof e == "string" && // 96 is one less than the char code
2188
2188
  // for "a" so this is checking that
2189
2189
  // it's a lowercase character
2190
2190
  e.charCodeAt(0) > 96;
2191
2191
  }
2192
- function Zn(e) {
2192
+ function to(e) {
2193
2193
  return e && e.charAt(0).toLowerCase() + e.slice(1);
2194
2194
  }
2195
2195
  function Ar(e, r, t = !1) {
@@ -2220,20 +2220,20 @@ function Ar(e, r, t = !1) {
2220
2220
  n[s][g] = Ar(a[g], l[g], t);
2221
2221
  }
2222
2222
  }
2223
- } else s === "className" && t && r.className ? n.className = Vn(e == null ? void 0 : e.className, r == null ? void 0 : r.className) : s === "style" && t && r.style ? n.style = {
2223
+ } else s === "className" && t && r.className ? n.className = Gn(e == null ? void 0 : e.className, r == null ? void 0 : r.className) : s === "style" && t && r.style ? n.style = {
2224
2224
  ...e == null ? void 0 : e.style,
2225
2225
  ...r == null ? void 0 : r.style
2226
2226
  } : n[s] === void 0 && (n[s] = e[s]);
2227
2227
  }
2228
2228
  return n;
2229
2229
  }
2230
- function Fa(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
2230
+ function za(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
2231
2231
  return Math.max(r, Math.min(e, t));
2232
2232
  }
2233
2233
  function jr(e, r = 0, t = 1) {
2234
- return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), Fa(e, r, t);
2234
+ return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), za(e, r, t);
2235
2235
  }
2236
- function Wa(e) {
2236
+ function _a(e) {
2237
2237
  e = e.slice(1);
2238
2238
  const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
2239
2239
  let t = e.match(r);
@@ -2243,7 +2243,7 @@ function Ke(e) {
2243
2243
  if (e.type)
2244
2244
  return e;
2245
2245
  if (e.charAt(0) === "#")
2246
- return Ke(Wa(e));
2246
+ return Ke(_a(e));
2247
2247
  const r = e.indexOf("("), t = e.substring(0, r);
2248
2248
  if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
2249
2249
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
@@ -2261,12 +2261,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
2261
2261
  colorSpace: o
2262
2262
  };
2263
2263
  }
2264
- const za = (e) => {
2264
+ const La = (e) => {
2265
2265
  const r = Ke(e);
2266
2266
  return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
2267
2267
  }, Tt = (e, r) => {
2268
2268
  try {
2269
- return za(e);
2269
+ return La(e);
2270
2270
  } catch {
2271
2271
  return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
2272
2272
  }
@@ -2281,7 +2281,7 @@ function cr(e) {
2281
2281
  } = e;
2282
2282
  return r.includes("rgb") ? n = n.map((o, s) => s < 3 ? parseInt(o, 10) : o) : r.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.includes("color") ? n = `${t} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
2283
2283
  }
2284
- function eo(e) {
2284
+ function ro(e) {
2285
2285
  e = Ke(e);
2286
2286
  const {
2287
2287
  values: r
@@ -2295,19 +2295,19 @@ function eo(e) {
2295
2295
  }
2296
2296
  function Br(e) {
2297
2297
  e = Ke(e);
2298
- let r = e.type === "hsl" || e.type === "hsla" ? Ke(eo(e)).values : e.values;
2298
+ let r = e.type === "hsl" || e.type === "hsla" ? Ke(ro(e)).values : e.values;
2299
2299
  return r = r.map((t) => (e.type !== "color" && (t /= 255), t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
2300
2300
  }
2301
2301
  function kn(e, r) {
2302
2302
  const t = Br(e), n = Br(r);
2303
2303
  return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
2304
2304
  }
2305
- function to(e, r) {
2305
+ function no(e, r) {
2306
2306
  return e = Ke(e), r = jr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, cr(e);
2307
2307
  }
2308
2308
  function rt(e, r, t) {
2309
2309
  try {
2310
- return to(e, r);
2310
+ return no(e, r);
2311
2311
  } catch {
2312
2312
  return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
2313
2313
  }
@@ -2345,19 +2345,19 @@ function ae(e, r, t) {
2345
2345
  return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
2346
2346
  }
2347
2347
  }
2348
- function _a(e, r = 0.15) {
2348
+ function Na(e, r = 0.15) {
2349
2349
  return Br(e) > 0.5 ? pr(e, r) : ur(e, r);
2350
2350
  }
2351
- function Vt(e, r, t) {
2351
+ function Ut(e, r, t) {
2352
2352
  try {
2353
- return _a(e, r);
2353
+ return Na(e, r);
2354
2354
  } catch {
2355
2355
  return e;
2356
2356
  }
2357
2357
  }
2358
- const La = /* @__PURE__ */ qe.createContext(void 0);
2358
+ const ja = /* @__PURE__ */ qe.createContext(void 0);
2359
2359
  process.env.NODE_ENV !== "production" && (re.node, re.object);
2360
- function Na(e) {
2360
+ function Va(e) {
2361
2361
  const {
2362
2362
  theme: r,
2363
2363
  name: t,
@@ -2368,12 +2368,12 @@ function Na(e) {
2368
2368
  const o = r.components[t];
2369
2369
  return o.defaultProps ? Ar(o.defaultProps, n, r.components.mergeClassNameAndStyle) : !o.styleOverrides && !o.variants ? Ar(o, n, r.components.mergeClassNameAndStyle) : n;
2370
2370
  }
2371
- function ja({
2371
+ function Ua({
2372
2372
  props: e,
2373
2373
  name: r
2374
2374
  }) {
2375
- const t = qe.useContext(La);
2376
- return Na({
2375
+ const t = qe.useContext(ja);
2376
+ return Va({
2377
2377
  props: e,
2378
2378
  name: r,
2379
2379
  theme: {
@@ -2384,14 +2384,14 @@ function ja({
2384
2384
  const Tn = {
2385
2385
  theme: void 0
2386
2386
  };
2387
- function Va(e) {
2387
+ function Ga(e) {
2388
2388
  let r, t;
2389
2389
  return function(o) {
2390
2390
  let s = r;
2391
- return (s === void 0 || o.theme !== t) && (Tn.theme = o.theme, s = Xn(e(Tn)), r = s, t = o.theme), s;
2391
+ return (s === void 0 || o.theme !== t) && (Tn.theme = o.theme, s = Zn(e(Tn)), r = s, t = o.theme), s;
2392
2392
  };
2393
2393
  }
2394
- function Ua(e = "") {
2394
+ function Ya(e = "") {
2395
2395
  function r(...n) {
2396
2396
  if (!n.length)
2397
2397
  return "";
@@ -2405,24 +2405,24 @@ const Rn = (e, r, t, n = []) => {
2405
2405
  r.forEach((s, a) => {
2406
2406
  a === r.length - 1 ? Array.isArray(o) ? o[Number(s)] = t : o && typeof o == "object" && (o[s] = t) : o && typeof o == "object" && (o[s] || (o[s] = n.includes(s) ? [] : {}), o = o[s]);
2407
2407
  });
2408
- }, Ga = (e, r, t) => {
2408
+ }, Ja = (e, r, t) => {
2409
2409
  function n(o, s = [], a = []) {
2410
2410
  Object.entries(o).forEach(([l, c]) => {
2411
2411
  (!t || t && !t([...s, l])) && c != null && (typeof c == "object" && Object.keys(c).length > 0 ? n(c, [...s, l], Array.isArray(c) ? [...a, l] : a) : r([...s, l], c, a));
2412
2412
  });
2413
2413
  }
2414
2414
  n(e);
2415
- }, Ya = (e, r) => typeof r == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? r : `${r}px` : r;
2415
+ }, qa = (e, r) => typeof r == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? r : `${r}px` : r;
2416
2416
  function kr(e, r) {
2417
2417
  const {
2418
2418
  prefix: t,
2419
2419
  shouldSkipGeneratingVar: n
2420
2420
  } = r || {}, o = {}, s = {}, a = {};
2421
- return Ga(
2421
+ return Ja(
2422
2422
  e,
2423
2423
  (l, c, g) => {
2424
2424
  if ((typeof c == "string" || typeof c == "number") && (!n || !n(l, c))) {
2425
- const f = `--${t ? `${t}-` : ""}${l.join("-")}`, m = Ya(l, c);
2425
+ const f = `--${t ? `${t}-` : ""}${l.join("-")}`, m = qa(l, c);
2426
2426
  Object.assign(o, {
2427
2427
  [f]: m
2428
2428
  }), Rn(s, l, `var(${f})`, g), Rn(a, l, `var(${f}, ${m})`, g);
@@ -2436,7 +2436,7 @@ function kr(e, r) {
2436
2436
  varsWithDefaults: a
2437
2437
  };
2438
2438
  }
2439
- function Ja(e, r = {}) {
2439
+ function Ka(e, r = {}) {
2440
2440
  const {
2441
2441
  getSelector: t = v,
2442
2442
  disableCssColorScheme: n,
@@ -2560,7 +2560,7 @@ function Ja(e, r = {}) {
2560
2560
  }
2561
2561
  };
2562
2562
  }
2563
- function qa(e) {
2563
+ function Xa(e) {
2564
2564
  return function(t) {
2565
2565
  return e === "media" ? (process.env.NODE_ENV !== "production" && t !== "light" && t !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`), `@media (prefers-color-scheme: ${t})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${t}"] &` : e === "class" ? `.${t} &` : e === "data" ? `[data-${t}] &` : `${e.replace("%s", t)} &` : "&";
2566
2566
  };
@@ -2568,7 +2568,7 @@ function qa(e) {
2568
2568
  const Pt = {
2569
2569
  black: "#000",
2570
2570
  white: "#fff"
2571
- }, Ka = {
2571
+ }, Qa = {
2572
2572
  50: "#fafafa",
2573
2573
  100: "#f5f5f5",
2574
2574
  200: "#eeeeee",
@@ -2622,7 +2622,7 @@ const Pt = {
2622
2622
  800: "#2e7d32",
2623
2623
  900: "#1b5e20"
2624
2624
  };
2625
- function ro() {
2625
+ function oo() {
2626
2626
  return {
2627
2627
  // The colors used to style the text.
2628
2628
  text: {
@@ -2662,8 +2662,8 @@ function ro() {
2662
2662
  }
2663
2663
  };
2664
2664
  }
2665
- const no = ro();
2666
- function oo() {
2665
+ const io = oo();
2666
+ function ao() {
2667
2667
  return {
2668
2668
  text: {
2669
2669
  primary: Pt.white,
@@ -2691,7 +2691,7 @@ function oo() {
2691
2691
  }
2692
2692
  };
2693
2693
  }
2694
- const Ir = oo();
2694
+ const Ir = ao();
2695
2695
  function En(e, r, t, n) {
2696
2696
  const o = n.light || n, s = n.dark || n * 1.5;
2697
2697
  e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = ur(e.main, o) : r === "dark" && (e.dark = pr(e.main, s)));
@@ -2700,7 +2700,7 @@ function Hn(e, r, t, n, o) {
2700
2700
  const s = o.light || o, a = o.dark || o * 1.5;
2701
2701
  r[t] || (r.hasOwnProperty(n) ? r[t] = r[n] : t === "light" ? r.light = `color-mix(in ${e}, ${r.main}, #fff ${(s * 100).toFixed(0)}%)` : t === "dark" && (r.dark = `color-mix(in ${e}, ${r.main}, #000 ${(a * 100).toFixed(0)}%)`));
2702
2702
  }
2703
- function Xa(e = "light") {
2703
+ function Za(e = "light") {
2704
2704
  return e === "dark" ? {
2705
2705
  main: ut[200],
2706
2706
  light: ut[50],
@@ -2711,7 +2711,7 @@ function Xa(e = "light") {
2711
2711
  dark: ut[800]
2712
2712
  };
2713
2713
  }
2714
- function Qa(e = "light") {
2714
+ function es(e = "light") {
2715
2715
  return e === "dark" ? {
2716
2716
  main: ct[200],
2717
2717
  light: ct[50],
@@ -2722,7 +2722,7 @@ function Qa(e = "light") {
2722
2722
  dark: ct[700]
2723
2723
  };
2724
2724
  }
2725
- function Za(e = "light") {
2725
+ function ts(e = "light") {
2726
2726
  return e === "dark" ? {
2727
2727
  main: pt[500],
2728
2728
  light: pt[300],
@@ -2733,7 +2733,7 @@ function Za(e = "light") {
2733
2733
  dark: pt[800]
2734
2734
  };
2735
2735
  }
2736
- function es(e = "light") {
2736
+ function rs(e = "light") {
2737
2737
  return e === "dark" ? {
2738
2738
  main: ft[400],
2739
2739
  light: ft[300],
@@ -2744,7 +2744,7 @@ function es(e = "light") {
2744
2744
  dark: ft[900]
2745
2745
  };
2746
2746
  }
2747
- function ts(e = "light") {
2747
+ function ns(e = "light") {
2748
2748
  return e === "dark" ? {
2749
2749
  main: ht[400],
2750
2750
  light: ht[300],
@@ -2755,7 +2755,7 @@ function ts(e = "light") {
2755
2755
  dark: ht[900]
2756
2756
  };
2757
2757
  }
2758
- function rs(e = "light") {
2758
+ function os(e = "light") {
2759
2759
  return e === "dark" ? {
2760
2760
  main: kt[400],
2761
2761
  light: kt[300],
@@ -2767,7 +2767,7 @@ function rs(e = "light") {
2767
2767
  dark: kt[900]
2768
2768
  };
2769
2769
  }
2770
- function ns(e) {
2770
+ function is(e) {
2771
2771
  return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
2772
2772
  }
2773
2773
  function Vr(e) {
@@ -2777,11 +2777,11 @@ function Vr(e) {
2777
2777
  tonalOffset: n = 0.2,
2778
2778
  colorSpace: o,
2779
2779
  ...s
2780
- } = e, a = e.primary || Xa(r), l = e.secondary || Qa(r), c = e.error || Za(r), g = e.info || es(r), f = e.success || ts(r), m = e.warning || rs(r);
2780
+ } = e, a = e.primary || Za(r), l = e.secondary || es(r), c = e.error || ts(r), g = e.info || rs(r), f = e.success || ns(r), m = e.warning || os(r);
2781
2781
  function y(b) {
2782
2782
  if (o)
2783
- return ns(b);
2784
- const v = kn(b, Ir.text.primary) >= t ? Ir.text.primary : no.text.primary;
2783
+ return is(b);
2784
+ const v = kn(b, Ir.text.primary) >= t ? Ir.text.primary : io.text.primary;
2785
2785
  if (process.env.NODE_ENV !== "production") {
2786
2786
  const $ = kn(b, v);
2787
2787
  $ < 3 && console.error([`MUI: The contrast ratio of ${$}:1 for ${v} on ${b}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
@@ -2819,7 +2819,7 @@ const theme2 = createTheme({ palette: {
2819
2819
  return o ? (Hn(o, b, "light", H, n), Hn(o, b, "dark", C, n)) : (En(b, "light", H, n), En(b, "dark", C, n)), b.contrastText || (b.contrastText = y(b.main)), b;
2820
2820
  };
2821
2821
  let x;
2822
- return r === "light" ? x = ro() : r === "dark" && (x = oo()), process.env.NODE_ENV !== "production" && (x || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), Pe({
2822
+ return r === "light" ? x = oo() : r === "dark" && (x = ao()), process.env.NODE_ENV !== "production" && (x || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), Pe({
2823
2823
  // A collection of common colors.
2824
2824
  common: {
2825
2825
  ...Pt
@@ -2861,7 +2861,7 @@ const theme2 = createTheme({ palette: {
2861
2861
  name: "success"
2862
2862
  }),
2863
2863
  // The grey colors.
2864
- grey: Ka,
2864
+ grey: Qa,
2865
2865
  // Used by `getContrastText()` to maximize the contrast between
2866
2866
  // the background and the text.
2867
2867
  contrastThreshold: t,
@@ -2877,14 +2877,14 @@ const theme2 = createTheme({ palette: {
2877
2877
  ...x
2878
2878
  }, s);
2879
2879
  }
2880
- function os(e) {
2880
+ function as(e) {
2881
2881
  const r = {};
2882
2882
  return Object.entries(e).forEach((n) => {
2883
2883
  const [o, s] = n;
2884
2884
  typeof s == "object" && (r[o] = `${s.fontStyle ? `${s.fontStyle} ` : ""}${s.fontVariant ? `${s.fontVariant} ` : ""}${s.fontWeight ? `${s.fontWeight} ` : ""}${s.fontStretch ? `${s.fontStretch} ` : ""}${s.fontSize || ""}${s.lineHeight ? `/${s.lineHeight} ` : ""}${s.fontFamily || ""}`);
2885
2885
  }), r;
2886
2886
  }
2887
- function is(e, r) {
2887
+ function ss(e, r) {
2888
2888
  return {
2889
2889
  toolbar: {
2890
2890
  minHeight: 56,
@@ -2900,13 +2900,13 @@ function is(e, r) {
2900
2900
  ...r
2901
2901
  };
2902
2902
  }
2903
- function as(e) {
2903
+ function ls(e) {
2904
2904
  return Math.round(e * 1e5) / 1e5;
2905
2905
  }
2906
2906
  const Pn = {
2907
2907
  textTransform: "uppercase"
2908
2908
  }, $n = '"Roboto", "Helvetica", "Arial", sans-serif';
2909
- function ss(e, r) {
2909
+ function ds(e, r) {
2910
2910
  const {
2911
2911
  fontFamily: t = $n,
2912
2912
  // The default font size of the Material Specification.
@@ -2934,7 +2934,7 @@ function ss(e, r) {
2934
2934
  // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
2935
2935
  // across font-families can cause issues with the kerning.
2936
2936
  ...t === $n ? {
2937
- letterSpacing: `${as(H / v)}em`
2937
+ letterSpacing: `${ls(H / v)}em`
2938
2938
  } : {},
2939
2939
  ...C,
2940
2940
  ...g
@@ -2976,11 +2976,11 @@ function ss(e, r) {
2976
2976
  // No need to clone deep
2977
2977
  });
2978
2978
  }
2979
- const ls = 0.2, ds = 0.14, cs = 0.12;
2979
+ const cs = 0.2, ps = 0.14, us = 0.12;
2980
2980
  function ce(...e) {
2981
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ls})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ds})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${cs})`].join(",");
2981
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${cs})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ps})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${us})`].join(",");
2982
2982
  }
2983
- const ps = ["none", ce(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ce(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), ce(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), ce(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), ce(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), ce(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), ce(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), ce(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), ce(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), ce(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), ce(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), ce(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), ce(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), ce(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), ce(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), ce(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), ce(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), ce(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), ce(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), ce(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), ce(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), ce(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), ce(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), ce(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], us = {
2983
+ const fs = ["none", ce(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ce(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), ce(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), ce(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), ce(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), ce(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), ce(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), ce(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), ce(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), ce(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), ce(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), ce(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), ce(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), ce(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), ce(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), ce(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), ce(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), ce(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), ce(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), ce(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), ce(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), ce(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), ce(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), ce(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], hs = {
2984
2984
  // This is the most common easing curve.
2985
2985
  easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
2986
2986
  // Objects enter the screen at full velocity from off-screen and
@@ -2990,7 +2990,7 @@ const ps = ["none", ce(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ce(0, 3, 1, -2, 0,
2990
2990
  easeIn: "cubic-bezier(0.4, 0, 1, 1)",
2991
2991
  // The sharp curve is used by objects that may return to the screen at any time.
2992
2992
  sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
2993
- }, fs = {
2993
+ }, gs = {
2994
2994
  shortest: 150,
2995
2995
  shorter: 200,
2996
2996
  short: 250,
@@ -3006,22 +3006,22 @@ const ps = ["none", ce(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ce(0, 3, 1, -2, 0,
3006
3006
  function An(e) {
3007
3007
  return `${Math.round(e)}ms`;
3008
3008
  }
3009
- function hs(e) {
3009
+ function ms(e) {
3010
3010
  if (!e)
3011
3011
  return 0;
3012
3012
  const r = e / 36;
3013
3013
  return Math.min(Math.round((4 + 15 * r ** 0.25 + r / 5) * 10), 3e3);
3014
3014
  }
3015
- function gs(e) {
3015
+ function ys(e) {
3016
3016
  const r = {
3017
- ...us,
3017
+ ...hs,
3018
3018
  ...e.easing
3019
3019
  }, t = {
3020
- ...fs,
3020
+ ...gs,
3021
3021
  ...e.duration
3022
3022
  };
3023
3023
  return {
3024
- getAutoHeightDuration: hs,
3024
+ getAutoHeightDuration: ms,
3025
3025
  create: (o = ["all"], s = {}) => {
3026
3026
  const {
3027
3027
  duration: a = t.standard,
@@ -3041,7 +3041,7 @@ function gs(e) {
3041
3041
  duration: t
3042
3042
  };
3043
3043
  }
3044
- const ms = {
3044
+ const bs = {
3045
3045
  mobileStepper: 1e3,
3046
3046
  fab: 1050,
3047
3047
  speedDial: 1050,
@@ -3051,10 +3051,10 @@ const ms = {
3051
3051
  snackbar: 1400,
3052
3052
  tooltip: 1500
3053
3053
  };
3054
- function ys(e) {
3054
+ function xs(e) {
3055
3055
  return We(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
3056
3056
  }
3057
- function io(e = {}) {
3057
+ function so(e = {}) {
3058
3058
  const r = {
3059
3059
  ...e
3060
3060
  };
@@ -3062,7 +3062,7 @@ function io(e = {}) {
3062
3062
  const o = Object.entries(n);
3063
3063
  for (let s = 0; s < o.length; s++) {
3064
3064
  const [a, l] = o[s];
3065
- !ys(l) || a.startsWith("unstable_") ? delete n[a] : We(l) && (n[a] = {
3065
+ !xs(l) || a.startsWith("unstable_") ? delete n[a] : We(l) && (n[a] = {
3066
3066
  ...l
3067
3067
  }, t(n[a]));
3068
3068
  }
@@ -3079,7 +3079,7 @@ export default theme;`;
3079
3079
  function Bn(e) {
3080
3080
  return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
3081
3081
  }
3082
- const bs = (e) => {
3082
+ const vs = (e) => {
3083
3083
  if (!Number.isNaN(+e))
3084
3084
  return +e;
3085
3085
  const r = e.match(/\d*\.?\d+/g);
@@ -3090,11 +3090,11 @@ const bs = (e) => {
3090
3090
  t += +r[n];
3091
3091
  return t;
3092
3092
  };
3093
- function xs(e) {
3093
+ function Ss(e) {
3094
3094
  Object.assign(e, {
3095
3095
  alpha(r, t) {
3096
3096
  const n = this || e;
3097
- return n.colorSpace ? `oklch(from ${r} l c h / ${typeof t == "string" ? `calc(${t})` : t})` : n.vars ? `rgba(${r.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof t == "string" ? `calc(${t})` : t})` : to(r, bs(t));
3097
+ return n.colorSpace ? `oklch(from ${r} l c h / ${typeof t == "string" ? `calc(${t})` : t})` : n.vars ? `rgba(${r.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof t == "string" ? `calc(${t})` : t})` : no(r, vs(t));
3098
3098
  },
3099
3099
  lighten(r, t) {
3100
3100
  const n = this || e;
@@ -3125,16 +3125,16 @@ function Or(e = {}, ...r) {
3125
3125
  const m = Vr({
3126
3126
  ...s,
3127
3127
  colorSpace: g
3128
- }), y = qn(e);
3128
+ }), y = Xn(e);
3129
3129
  let h = Pe(y, {
3130
- mixins: is(y.breakpoints, n),
3130
+ mixins: ss(y.breakpoints, n),
3131
3131
  palette: m,
3132
3132
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
3133
- shadows: ps.slice(),
3134
- typography: ss(m, l),
3135
- transitions: gs(a),
3133
+ shadows: fs.slice(),
3134
+ typography: ds(m, l),
3135
+ transitions: ys(a),
3136
3136
  zIndex: {
3137
- ...ms
3137
+ ...bs
3138
3138
  }
3139
3139
  });
3140
3140
  if (h = Pe(h, f), h = r.reduce((x, u) => Pe(x, u), h), process.env.NODE_ENV !== "production") {
@@ -3169,19 +3169,19 @@ function Or(e = {}, ...r) {
3169
3169
  sx: u,
3170
3170
  theme: this
3171
3171
  });
3172
- }, h.toRuntimeSource = io, xs(h), h;
3172
+ }, h.toRuntimeSource = so, Ss(h), h;
3173
3173
  }
3174
- function vs(e) {
3174
+ function Cs(e) {
3175
3175
  let r;
3176
3176
  return e < 1 ? r = 5.11916 * e ** 2 : r = 4.5 * Math.log(e + 1) + 2, Math.round(r * 10) / 1e3;
3177
3177
  }
3178
- const Ss = [...Array(25)].map((e, r) => {
3178
+ const ws = [...Array(25)].map((e, r) => {
3179
3179
  if (r === 0)
3180
3180
  return "none";
3181
- const t = vs(r);
3181
+ const t = Cs(r);
3182
3182
  return `linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`;
3183
3183
  });
3184
- function ao(e) {
3184
+ function lo(e) {
3185
3185
  return {
3186
3186
  inputPlaceholder: e === "dark" ? 0.5 : 0.42,
3187
3187
  inputUnderline: e === "dark" ? 0.7 : 0.42,
@@ -3189,10 +3189,10 @@ function ao(e) {
3189
3189
  switchTrack: e === "dark" ? 0.3 : 0.38
3190
3190
  };
3191
3191
  }
3192
- function so(e) {
3193
- return e === "dark" ? Ss : [];
3192
+ function co(e) {
3193
+ return e === "dark" ? ws : [];
3194
3194
  }
3195
- function Cs(e) {
3195
+ function ks(e) {
3196
3196
  const {
3197
3197
  palette: r = {
3198
3198
  mode: "light"
@@ -3209,25 +3209,25 @@ function Cs(e) {
3209
3209
  return {
3210
3210
  palette: a,
3211
3211
  opacity: {
3212
- ...ao(a.mode),
3212
+ ...lo(a.mode),
3213
3213
  ...t
3214
3214
  },
3215
- overlays: n || so(a.mode),
3215
+ overlays: n || co(a.mode),
3216
3216
  ...s
3217
3217
  };
3218
3218
  }
3219
- function ws(e) {
3219
+ function Ts(e) {
3220
3220
  var r;
3221
3221
  return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
3222
3222
  e[0] === "palette" && !!((r = e[1]) != null && r.match(/(mode|contrastThreshold|tonalOffset)/));
3223
3223
  }
3224
- const ks = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], Ts = (e) => (r, t) => {
3224
+ const Rs = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], Es = (e) => (r, t) => {
3225
3225
  const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
3226
3226
  let s = o;
3227
3227
  if (o === "class" && (s = ".%s"), o === "data" && (s = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (s = `[${o}="%s"]`), e.defaultColorScheme === r) {
3228
3228
  if (r === "dark") {
3229
3229
  const a = {};
3230
- return ks(e.cssVarPrefix).forEach((l) => {
3230
+ return Rs(e.cssVarPrefix).forEach((l) => {
3231
3231
  a[l] = t[l], delete t[l];
3232
3232
  }), s === "media" ? {
3233
3233
  [n]: t,
@@ -3258,7 +3258,7 @@ const ks = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlay
3258
3258
  }
3259
3259
  return n;
3260
3260
  };
3261
- function Rs(e, r) {
3261
+ function Hs(e, r) {
3262
3262
  r.forEach((t) => {
3263
3263
  e[t] || (e[t] = {});
3264
3264
  });
@@ -3267,13 +3267,13 @@ function T(e, r, t) {
3267
3267
  !e[r] && t && (e[r] = t);
3268
3268
  }
3269
3269
  function Rt(e) {
3270
- return typeof e != "string" || !e.startsWith("hsl") ? e : eo(e);
3270
+ return typeof e != "string" || !e.startsWith("hsl") ? e : ro(e);
3271
3271
  }
3272
3272
  function Me(e, r) {
3273
3273
  `${r}Channel` in e || (e[`${r}Channel`] = Tt(Rt(e[r]), `MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
3274
3274
  To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
3275
3275
  }
3276
- function Es(e) {
3276
+ function Ps(e) {
3277
3277
  return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
3278
3278
  }
3279
3279
  const Ie = (e) => {
@@ -3281,14 +3281,14 @@ const Ie = (e) => {
3281
3281
  return e();
3282
3282
  } catch {
3283
3283
  }
3284
- }, Hs = (e = "mui") => Ua(e);
3284
+ }, $s = (e = "mui") => Ya(e);
3285
3285
  function Tr(e, r, t, n, o) {
3286
3286
  if (!t)
3287
3287
  return;
3288
3288
  t = t === !0 ? {} : t;
3289
3289
  const s = o === "dark" ? "dark" : "light";
3290
3290
  if (!n) {
3291
- r[o] = Cs({
3291
+ r[o] = ks({
3292
3292
  ...t,
3293
3293
  palette: {
3294
3294
  mode: s,
@@ -3313,13 +3313,13 @@ function Tr(e, r, t, n, o) {
3313
3313
  ...t,
3314
3314
  palette: a,
3315
3315
  opacity: {
3316
- ...ao(s),
3316
+ ...lo(s),
3317
3317
  ...t == null ? void 0 : t.opacity
3318
3318
  },
3319
- overlays: (t == null ? void 0 : t.overlays) || so(s)
3319
+ overlays: (t == null ? void 0 : t.overlays) || co(s)
3320
3320
  }, l;
3321
3321
  }
3322
- function Ps(e = {}, ...r) {
3322
+ function As(e = {}, ...r) {
3323
3323
  const {
3324
3324
  colorSchemes: t = {
3325
3325
  light: !0
@@ -3328,11 +3328,11 @@ function Ps(e = {}, ...r) {
3328
3328
  disableCssColorScheme: o = !1,
3329
3329
  cssVarPrefix: s = "mui",
3330
3330
  nativeColor: a = !1,
3331
- shouldSkipGeneratingVar: l = ws,
3331
+ shouldSkipGeneratingVar: l = Ts,
3332
3332
  colorSchemeSelector: c = t.light && t.dark ? "media" : void 0,
3333
3333
  rootSelector: g = ":root",
3334
3334
  ...f
3335
- } = e, m = Object.keys(t)[0], y = n || (t.light && m !== "light" ? "light" : m), h = Hs(s), {
3335
+ } = e, m = Object.keys(t)[0], y = n || (t.light && m !== "light" ? "light" : m), h = $s(s), {
3336
3336
  [y]: x,
3337
3337
  light: u,
3338
3338
  dark: b,
@@ -3356,10 +3356,10 @@ function Ps(e = {}, ...r) {
3356
3356
  getCssVar: h,
3357
3357
  colorSchemes: $,
3358
3358
  font: {
3359
- ...os(k.typography),
3359
+ ...as(k.typography),
3360
3360
  ...k.font
3361
3361
  },
3362
- spacing: Es(f.spacing)
3362
+ spacing: Ps(f.spacing)
3363
3363
  };
3364
3364
  Object.keys(R.colorSchemes).forEach((Y) => {
3365
3365
  const d = R.colorSchemes[Y].palette, I = (L) => {
@@ -3374,15 +3374,15 @@ function Ps(e = {}, ...r) {
3374
3374
  }
3375
3375
  return L(N, K);
3376
3376
  }
3377
- if (Rs(d, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), d.mode === "light") {
3377
+ if (Hs(d, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), d.mode === "light") {
3378
3378
  T(d.Alert, "errorColor", A(ie, a ? h("palette-error-light") : d.error.light, 0.6)), T(d.Alert, "infoColor", A(ie, a ? h("palette-info-light") : d.info.light, 0.6)), T(d.Alert, "successColor", A(ie, a ? h("palette-success-light") : d.success.light, 0.6)), T(d.Alert, "warningColor", A(ie, a ? h("palette-warning-light") : d.warning.light, 0.6)), T(d.Alert, "errorFilledBg", I("palette-error-main")), T(d.Alert, "infoFilledBg", I("palette-info-main")), T(d.Alert, "successFilledBg", I("palette-success-main")), T(d.Alert, "warningFilledBg", I("palette-warning-main")), T(d.Alert, "errorFilledColor", Ie(() => d.getContrastText(d.error.main))), T(d.Alert, "infoFilledColor", Ie(() => d.getContrastText(d.info.main))), T(d.Alert, "successFilledColor", Ie(() => d.getContrastText(d.success.main))), T(d.Alert, "warningFilledColor", Ie(() => d.getContrastText(d.warning.main))), T(d.Alert, "errorStandardBg", A(ae, a ? h("palette-error-light") : d.error.light, 0.9)), T(d.Alert, "infoStandardBg", A(ae, a ? h("palette-info-light") : d.info.light, 0.9)), T(d.Alert, "successStandardBg", A(ae, a ? h("palette-success-light") : d.success.light, 0.9)), T(d.Alert, "warningStandardBg", A(ae, a ? h("palette-warning-light") : d.warning.light, 0.9)), T(d.Alert, "errorIconColor", I("palette-error-main")), T(d.Alert, "infoIconColor", I("palette-info-main")), T(d.Alert, "successIconColor", I("palette-success-main")), T(d.Alert, "warningIconColor", I("palette-warning-main")), T(d.AppBar, "defaultBg", I("palette-grey-100")), T(d.Avatar, "defaultBg", I("palette-grey-400")), T(d.Button, "inheritContainedBg", I("palette-grey-300")), T(d.Button, "inheritContainedHoverBg", I("palette-grey-A100")), T(d.Chip, "defaultBorder", I("palette-grey-400")), T(d.Chip, "defaultAvatarColor", I("palette-grey-700")), T(d.Chip, "defaultIconColor", I("palette-grey-700")), T(d.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), T(d.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), T(d.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), T(d.LinearProgress, "primaryBg", A(ae, a ? h("palette-primary-main") : d.primary.main, 0.62)), T(d.LinearProgress, "secondaryBg", A(ae, a ? h("palette-secondary-main") : d.secondary.main, 0.62)), T(d.LinearProgress, "errorBg", A(ae, a ? h("palette-error-main") : d.error.main, 0.62)), T(d.LinearProgress, "infoBg", A(ae, a ? h("palette-info-main") : d.info.main, 0.62)), T(d.LinearProgress, "successBg", A(ae, a ? h("palette-success-main") : d.success.main, 0.62)), T(d.LinearProgress, "warningBg", A(ae, a ? h("palette-warning-light") : d.warning.main, 0.62)), T(d.Skeleton, "bg", C ? A(rt, a ? h("palette-text-primary") : d.text.primary, 0.11) : `rgba(${I("palette-text-primaryChannel")} / 0.11)`), T(d.Slider, "primaryTrack", A(ae, a ? h("palette-primary-main") : d.primary.main, 0.62)), T(d.Slider, "secondaryTrack", A(ae, a ? h("palette-secondary-main") : d.secondary.main, 0.62)), T(d.Slider, "errorTrack", A(ae, a ? h("palette-error-main") : d.error.main, 0.62)), T(d.Slider, "infoTrack", A(ae, a ? h("palette-info-main") : d.info.main, 0.62)), T(d.Slider, "successTrack", A(ae, a ? h("palette-success-main") : d.success.main, 0.62)), T(d.Slider, "warningTrack", A(ae, a ? h("palette-warning-main") : d.warning.main, 0.62));
3379
- const L = C ? A(ie, a ? h("palette-background-default") : d.background.default, 0.6825) : Vt(d.background.default, 0.8);
3380
- T(d.SnackbarContent, "bg", L), T(d.SnackbarContent, "color", Ie(() => C ? Ir.text.primary : d.getContrastText(L))), T(d.SpeedDialAction, "fabHoverBg", Vt(d.background.paper, 0.15)), T(d.StepConnector, "border", I("palette-grey-400")), T(d.StepContent, "border", I("palette-grey-400")), T(d.Switch, "defaultColor", I("palette-common-white")), T(d.Switch, "defaultDisabledColor", I("palette-grey-100")), T(d.Switch, "primaryDisabledColor", A(ae, a ? h("palette-primary-main") : d.primary.main, 0.62)), T(d.Switch, "secondaryDisabledColor", A(ae, a ? h("palette-secondary-main") : d.secondary.main, 0.62)), T(d.Switch, "errorDisabledColor", A(ae, a ? h("palette-error-main") : d.error.main, 0.62)), T(d.Switch, "infoDisabledColor", A(ae, a ? h("palette-info-main") : d.info.main, 0.62)), T(d.Switch, "successDisabledColor", A(ae, a ? h("palette-success-main") : d.success.main, 0.62)), T(d.Switch, "warningDisabledColor", A(ae, a ? h("palette-warning-main") : d.warning.main, 0.62)), T(d.TableCell, "border", A(ae, rt(a ? h("palette-divider") : d.divider, 1), 0.88)), T(d.Tooltip, "bg", A(rt, a ? h("palette-grey-700") : d.grey[700], 0.92));
3379
+ const L = C ? A(ie, a ? h("palette-background-default") : d.background.default, 0.6825) : Ut(d.background.default, 0.8);
3380
+ T(d.SnackbarContent, "bg", L), T(d.SnackbarContent, "color", Ie(() => C ? Ir.text.primary : d.getContrastText(L))), T(d.SpeedDialAction, "fabHoverBg", Ut(d.background.paper, 0.15)), T(d.StepConnector, "border", I("palette-grey-400")), T(d.StepContent, "border", I("palette-grey-400")), T(d.Switch, "defaultColor", I("palette-common-white")), T(d.Switch, "defaultDisabledColor", I("palette-grey-100")), T(d.Switch, "primaryDisabledColor", A(ae, a ? h("palette-primary-main") : d.primary.main, 0.62)), T(d.Switch, "secondaryDisabledColor", A(ae, a ? h("palette-secondary-main") : d.secondary.main, 0.62)), T(d.Switch, "errorDisabledColor", A(ae, a ? h("palette-error-main") : d.error.main, 0.62)), T(d.Switch, "infoDisabledColor", A(ae, a ? h("palette-info-main") : d.info.main, 0.62)), T(d.Switch, "successDisabledColor", A(ae, a ? h("palette-success-main") : d.success.main, 0.62)), T(d.Switch, "warningDisabledColor", A(ae, a ? h("palette-warning-main") : d.warning.main, 0.62)), T(d.TableCell, "border", A(ae, rt(a ? h("palette-divider") : d.divider, 1), 0.88)), T(d.Tooltip, "bg", A(rt, a ? h("palette-grey-700") : d.grey[700], 0.92));
3381
3381
  }
3382
3382
  if (d.mode === "dark") {
3383
3383
  T(d.Alert, "errorColor", A(ae, a ? h("palette-error-light") : d.error.light, 0.6)), T(d.Alert, "infoColor", A(ae, a ? h("palette-info-light") : d.info.light, 0.6)), T(d.Alert, "successColor", A(ae, a ? h("palette-success-light") : d.success.light, 0.6)), T(d.Alert, "warningColor", A(ae, a ? h("palette-warning-light") : d.warning.light, 0.6)), T(d.Alert, "errorFilledBg", I("palette-error-dark")), T(d.Alert, "infoFilledBg", I("palette-info-dark")), T(d.Alert, "successFilledBg", I("palette-success-dark")), T(d.Alert, "warningFilledBg", I("palette-warning-dark")), T(d.Alert, "errorFilledColor", Ie(() => d.getContrastText(d.error.dark))), T(d.Alert, "infoFilledColor", Ie(() => d.getContrastText(d.info.dark))), T(d.Alert, "successFilledColor", Ie(() => d.getContrastText(d.success.dark))), T(d.Alert, "warningFilledColor", Ie(() => d.getContrastText(d.warning.dark))), T(d.Alert, "errorStandardBg", A(ie, a ? h("palette-error-light") : d.error.light, 0.9)), T(d.Alert, "infoStandardBg", A(ie, a ? h("palette-info-light") : d.info.light, 0.9)), T(d.Alert, "successStandardBg", A(ie, a ? h("palette-success-light") : d.success.light, 0.9)), T(d.Alert, "warningStandardBg", A(ie, a ? h("palette-warning-light") : d.warning.light, 0.9)), T(d.Alert, "errorIconColor", I("palette-error-main")), T(d.Alert, "infoIconColor", I("palette-info-main")), T(d.Alert, "successIconColor", I("palette-success-main")), T(d.Alert, "warningIconColor", I("palette-warning-main")), T(d.AppBar, "defaultBg", I("palette-grey-900")), T(d.AppBar, "darkBg", I("palette-background-paper")), T(d.AppBar, "darkColor", I("palette-text-primary")), T(d.Avatar, "defaultBg", I("palette-grey-600")), T(d.Button, "inheritContainedBg", I("palette-grey-800")), T(d.Button, "inheritContainedHoverBg", I("palette-grey-700")), T(d.Chip, "defaultBorder", I("palette-grey-700")), T(d.Chip, "defaultAvatarColor", I("palette-grey-300")), T(d.Chip, "defaultIconColor", I("palette-grey-300")), T(d.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), T(d.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), T(d.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), T(d.LinearProgress, "primaryBg", A(ie, a ? h("palette-primary-main") : d.primary.main, 0.5)), T(d.LinearProgress, "secondaryBg", A(ie, a ? h("palette-secondary-main") : d.secondary.main, 0.5)), T(d.LinearProgress, "errorBg", A(ie, a ? h("palette-error-main") : d.error.main, 0.5)), T(d.LinearProgress, "infoBg", A(ie, a ? h("palette-info-main") : d.info.main, 0.5)), T(d.LinearProgress, "successBg", A(ie, a ? h("palette-success-main") : d.success.main, 0.5)), T(d.LinearProgress, "warningBg", A(ie, a ? h("palette-warning-main") : d.warning.main, 0.5)), T(d.Skeleton, "bg", C ? A(rt, a ? h("palette-text-primary") : d.text.primary, 0.13) : `rgba(${I("palette-text-primaryChannel")} / 0.13)`), T(d.Slider, "primaryTrack", A(ie, a ? h("palette-primary-main") : d.primary.main, 0.5)), T(d.Slider, "secondaryTrack", A(ie, a ? h("palette-secondary-main") : d.secondary.main, 0.5)), T(d.Slider, "errorTrack", A(ie, a ? h("palette-error-main") : d.error.main, 0.5)), T(d.Slider, "infoTrack", A(ie, a ? h("palette-info-main") : d.info.main, 0.5)), T(d.Slider, "successTrack", A(ie, a ? h("palette-success-main") : d.success.main, 0.5)), T(d.Slider, "warningTrack", A(ie, a ? h("palette-warning-light") : d.warning.main, 0.5));
3384
- const L = C ? A(ae, a ? h("palette-background-default") : d.background.default, 0.985) : Vt(d.background.default, 0.98);
3385
- T(d.SnackbarContent, "bg", L), T(d.SnackbarContent, "color", Ie(() => C ? no.text.primary : d.getContrastText(L))), T(d.SpeedDialAction, "fabHoverBg", Vt(d.background.paper, 0.15)), T(d.StepConnector, "border", I("palette-grey-600")), T(d.StepContent, "border", I("palette-grey-600")), T(d.Switch, "defaultColor", I("palette-grey-300")), T(d.Switch, "defaultDisabledColor", I("palette-grey-600")), T(d.Switch, "primaryDisabledColor", A(ie, a ? h("palette-primary-main") : d.primary.main, 0.55)), T(d.Switch, "secondaryDisabledColor", A(ie, a ? h("palette-secondary-main") : d.secondary.main, 0.55)), T(d.Switch, "errorDisabledColor", A(ie, a ? h("palette-error-main") : d.error.main, 0.55)), T(d.Switch, "infoDisabledColor", A(ie, a ? h("palette-info-main") : d.info.main, 0.55)), T(d.Switch, "successDisabledColor", A(ie, a ? h("palette-success-main") : d.success.main, 0.55)), T(d.Switch, "warningDisabledColor", A(ie, a ? h("palette-warning-light") : d.warning.main, 0.55)), T(d.TableCell, "border", A(ie, rt(a ? h("palette-divider") : d.divider, 1), 0.68)), T(d.Tooltip, "bg", A(rt, a ? h("palette-grey-700") : d.grey[700], 0.92));
3384
+ const L = C ? A(ae, a ? h("palette-background-default") : d.background.default, 0.985) : Ut(d.background.default, 0.98);
3385
+ T(d.SnackbarContent, "bg", L), T(d.SnackbarContent, "color", Ie(() => C ? io.text.primary : d.getContrastText(L))), T(d.SpeedDialAction, "fabHoverBg", Ut(d.background.paper, 0.15)), T(d.StepConnector, "border", I("palette-grey-600")), T(d.StepContent, "border", I("palette-grey-600")), T(d.Switch, "defaultColor", I("palette-grey-300")), T(d.Switch, "defaultDisabledColor", I("palette-grey-600")), T(d.Switch, "primaryDisabledColor", A(ie, a ? h("palette-primary-main") : d.primary.main, 0.55)), T(d.Switch, "secondaryDisabledColor", A(ie, a ? h("palette-secondary-main") : d.secondary.main, 0.55)), T(d.Switch, "errorDisabledColor", A(ie, a ? h("palette-error-main") : d.error.main, 0.55)), T(d.Switch, "infoDisabledColor", A(ie, a ? h("palette-info-main") : d.info.main, 0.55)), T(d.Switch, "successDisabledColor", A(ie, a ? h("palette-success-main") : d.success.main, 0.55)), T(d.Switch, "warningDisabledColor", A(ie, a ? h("palette-warning-light") : d.warning.main, 0.55)), T(d.TableCell, "border", A(ie, rt(a ? h("palette-divider") : d.divider, 1), 0.68)), T(d.Tooltip, "bg", A(rt, a ? h("palette-grey-700") : d.grey[700], 0.92));
3386
3386
  }
3387
3387
  a || (Me(d.background, "default"), Me(d.background, "paper"), Me(d.common, "background"), Me(d.common, "onBackground"), Me(d, "divider")), Object.keys(d).forEach((L) => {
3388
3388
  const N = d[L];
@@ -3393,18 +3393,18 @@ function Ps(e = {}, ...r) {
3393
3393
  prefix: s,
3394
3394
  disableCssColorScheme: o,
3395
3395
  shouldSkipGeneratingVar: l,
3396
- getSelector: Ts(R),
3396
+ getSelector: Es(R),
3397
3397
  enableContrastVars: a
3398
3398
  }, {
3399
3399
  vars: B,
3400
3400
  generateThemeVars: X,
3401
3401
  generateStyleSheets: Q
3402
- } = Ja(R, z);
3402
+ } = Ka(R, z);
3403
3403
  return R.vars = B, Object.entries(R.colorSchemes[R.defaultColorScheme]).forEach(([Y, d]) => {
3404
3404
  R[Y] = d;
3405
3405
  }), R.generateThemeVars = X, R.generateStyleSheets = Q, R.generateSpacing = function() {
3406
- return Jn(f.spacing, _r(this));
3407
- }, R.getColorSchemeSelector = qa(c), R.spacing = R.generateSpacing(), R.shouldSkipGeneratingVar = l, R.unstable_sxConfig = {
3406
+ return Kn(f.spacing, _r(this));
3407
+ }, R.getColorSchemeSelector = Xa(c), R.spacing = R.generateSpacing(), R.shouldSkipGeneratingVar = l, R.unstable_sxConfig = {
3408
3408
  ...dr,
3409
3409
  ...f == null ? void 0 : f.unstable_sxConfig
3410
3410
  }, R.unstable_sx = function(d) {
@@ -3412,7 +3412,7 @@ function Ps(e = {}, ...r) {
3412
3412
  sx: d,
3413
3413
  theme: this
3414
3414
  });
3415
- }, R.toRuntimeSource = io, R;
3415
+ }, R.toRuntimeSource = so, R;
3416
3416
  }
3417
3417
  function In(e, r, t) {
3418
3418
  e.colorSchemes && t && (e.colorSchemes[r] = {
@@ -3424,7 +3424,7 @@ function In(e, r, t) {
3424
3424
  // cast type to skip module augmentation test
3425
3425
  });
3426
3426
  }
3427
- function lo(e = {}, ...r) {
3427
+ function po(e = {}, ...r) {
3428
3428
  const {
3429
3429
  palette: t,
3430
3430
  cssVariables: n = !1,
@@ -3461,31 +3461,31 @@ function lo(e = {}, ...r) {
3461
3461
  palette: m.palette
3462
3462
  }, In(m, "light", g.light)), m;
3463
3463
  }
3464
- return !t && !("light" in g) && l === "light" && (g.light = !0), Ps({
3464
+ return !t && !("light" in g) && l === "light" && (g.light = !0), As({
3465
3465
  ...a,
3466
3466
  colorSchemes: g,
3467
3467
  defaultColorScheme: l,
3468
3468
  ...typeof n != "boolean" && n
3469
3469
  }, ...r);
3470
3470
  }
3471
- const $s = lo(), As = "$$material";
3472
- function Bs(e) {
3471
+ const Bs = po(), Is = "$$material";
3472
+ function Os(e) {
3473
3473
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
3474
3474
  }
3475
- const Is = (e) => Bs(e) && e !== "classes", Os = Ba({
3476
- themeId: As,
3477
- defaultTheme: $s,
3478
- rootShouldForwardProp: Is
3479
- }), Ds = Va;
3475
+ const Ds = (e) => Os(e) && e !== "classes", Ms = Oa({
3476
+ themeId: Is,
3477
+ defaultTheme: Bs,
3478
+ rootShouldForwardProp: Ds
3479
+ }), Fs = Ga;
3480
3480
  process.env.NODE_ENV !== "production" && (re.node, re.object.isRequired);
3481
- function Ms(e) {
3482
- return ja(e);
3481
+ function Ws(e) {
3482
+ return Ua(e);
3483
3483
  }
3484
- function Fs(e) {
3484
+ function zs(e) {
3485
3485
  return Nr("MuiSvgIcon", e);
3486
3486
  }
3487
- Ea("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
3488
- const Ws = (e) => {
3487
+ Pa("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
3488
+ const _s = (e) => {
3489
3489
  const {
3490
3490
  color: r,
3491
3491
  fontSize: t,
@@ -3493,8 +3493,8 @@ const Ws = (e) => {
3493
3493
  } = e, o = {
3494
3494
  root: ["root", r !== "inherit" && `color${lt(r)}`, `fontSize${lt(t)}`]
3495
3495
  };
3496
- return bi(o, Fs, n);
3497
- }, zs = Os("svg", {
3496
+ return vi(o, zs, n);
3497
+ }, Ls = Ms("svg", {
3498
3498
  name: "MuiSvgIcon",
3499
3499
  slot: "Root",
3500
3500
  overridesResolver: (e, r) => {
@@ -3503,7 +3503,7 @@ const Ws = (e) => {
3503
3503
  } = e;
3504
3504
  return [r.root, t.color !== "inherit" && r[`color${lt(t.color)}`], r[`fontSize${lt(t.fontSize)}`]];
3505
3505
  }
3506
- })(Ds(({
3506
+ })(Fs(({
3507
3507
  theme: e
3508
3508
  }) => {
3509
3509
  var r, t, n, o, s, a, l, c, g, f, m, y, h, x;
@@ -3595,8 +3595,8 @@ const Ws = (e) => {
3595
3595
  }
3596
3596
  ]
3597
3597
  };
3598
- })), Qt = /* @__PURE__ */ qe.forwardRef(function(r, t) {
3599
- const n = Ms({
3598
+ })), Zt = /* @__PURE__ */ qe.forwardRef(function(r, t) {
3599
+ const n = Ws({
3600
3600
  props: r,
3601
3601
  name: "MuiSvgIcon"
3602
3602
  }), {
@@ -3621,10 +3621,10 @@ const Ws = (e) => {
3621
3621
  hasSvgAsChild: x
3622
3622
  }, b = {};
3623
3623
  f || (b.viewBox = y);
3624
- const v = Ws(u);
3625
- return /* @__PURE__ */ p(zs, {
3624
+ const v = _s(u);
3625
+ return /* @__PURE__ */ p(Ls, {
3626
3626
  as: l,
3627
- className: Vn(v.root, s),
3627
+ className: Gn(v.root, s),
3628
3628
  focusable: "false",
3629
3629
  color: g,
3630
3630
  "aria-hidden": m ? void 0 : !0,
@@ -3639,7 +3639,7 @@ const Ws = (e) => {
3639
3639
  }) : null]
3640
3640
  });
3641
3641
  });
3642
- process.env.NODE_ENV !== "production" && (Qt.propTypes = {
3642
+ process.env.NODE_ENV !== "production" && (Zt.propTypes = {
3643
3643
  // ┌────────────────────────────── Warning ──────────────────────────────┐
3644
3644
  // │ These PropTypes are generated from the TypeScript type definitions. │
3645
3645
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -3711,25 +3711,25 @@ process.env.NODE_ENV !== "production" && (Qt.propTypes = {
3711
3711
  */
3712
3712
  viewBox: re.string
3713
3713
  });
3714
- Qt.muiName = "SvgIcon";
3715
- function Bt(e, r) {
3714
+ Zt.muiName = "SvgIcon";
3715
+ function It(e, r) {
3716
3716
  function t(n, o) {
3717
- return /* @__PURE__ */ i(Qt, {
3717
+ return /* @__PURE__ */ i(Zt, {
3718
3718
  "data-testid": process.env.NODE_ENV !== "production" ? `${r}Icon` : void 0,
3719
3719
  ref: o,
3720
3720
  ...n,
3721
3721
  children: e
3722
3722
  });
3723
3723
  }
3724
- return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName = Qt.muiName, /* @__PURE__ */ qe.memo(/* @__PURE__ */ qe.forwardRef(t));
3724
+ return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName = Zt.muiName, /* @__PURE__ */ qe.memo(/* @__PURE__ */ qe.forwardRef(t));
3725
3725
  }
3726
- const _s = Bt(/* @__PURE__ */ i("path", {
3726
+ const Ns = It(/* @__PURE__ */ i("path", {
3727
3727
  d: "M3 18c0 .55.45 1 1 1h5v-2H4c-.55 0-1 .45-1 1M3 6c0 .55.45 1 1 1h9V5H4c-.55 0-1 .45-1 1m10 14v-1h7c.55 0 1-.45 1-1s-.45-1-1-1h-7v-1c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1M7 10v1H4c-.55 0-1 .45-1 1s.45 1 1 1h3v1c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1m14 2c0-.55-.45-1-1-1h-9v2h9c.55 0 1-.45 1-1m-5-3c.55 0 1-.45 1-1V7h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V4c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1"
3728
- }), "TuneRounded"), Ls = Bt(/* @__PURE__ */ i("path", {
3728
+ }), "TuneRounded"), js = It(/* @__PURE__ */ i("path", {
3729
3729
  d: "M12 5V3.21c0-.45-.54-.67-.85-.35l-2.8 2.79c-.2.2-.2.51 0 .71l2.79 2.79c.32.31.86.09.86-.36V7c3.31 0 6 2.69 6 6 0 2.72-1.83 5.02-4.31 5.75-.42.12-.69.52-.69.95 0 .65.62 1.16 1.25.97C17.57 19.7 20 16.64 20 13c0-4.42-3.58-8-8-8m-6 8c0-1.34.44-2.58 1.19-3.59.3-.4.26-.95-.09-1.31-.42-.42-1.14-.38-1.5.1-1 1.34-1.6 3-1.6 4.8 0 3.64 2.43 6.7 5.75 7.67.63.19 1.25-.32 1.25-.97 0-.43-.27-.83-.69-.95C7.83 18.02 6 15.72 6 13"
3730
- }), "RestartAltRounded"), Ns = Bt(/* @__PURE__ */ i("path", {
3730
+ }), "RestartAltRounded"), Vs = It(/* @__PURE__ */ i("path", {
3731
3731
  d: "M9.37 5.51c-.18.64-.27 1.31-.27 1.99 0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27C17.45 17.19 14.93 19 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"
3732
- }), "DarkModeOutlined"), js = Bt(/* @__PURE__ */ i("path", {
3732
+ }), "DarkModeOutlined"), Us = It(/* @__PURE__ */ i("path", {
3733
3733
  d: "M12 9c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3m0-2c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"
3734
3734
  }), "LightModeOutlined"), On = (e) => {
3735
3735
  let r;
@@ -3741,20 +3741,20 @@ const _s = Bt(/* @__PURE__ */ i("path", {
3741
3741
  }
3742
3742
  }, o = () => r, l = { setState: n, getState: o, getInitialState: () => c, subscribe: (g) => (t.add(g), () => t.delete(g)) }, c = r = e(n, o, l);
3743
3743
  return l;
3744
- }, Vs = ((e) => e ? On(e) : On), Us = (e) => e;
3745
- function Gs(e, r = Us) {
3746
- const t = Ft.useSyncExternalStore(
3744
+ }, Gs = ((e) => e ? On(e) : On), Ys = (e) => e;
3745
+ function Js(e, r = Ys) {
3746
+ const t = Wt.useSyncExternalStore(
3747
3747
  e.subscribe,
3748
- Ft.useCallback(() => r(e.getState()), [e, r]),
3749
- Ft.useCallback(() => r(e.getInitialState()), [e, r])
3748
+ Wt.useCallback(() => r(e.getState()), [e, r]),
3749
+ Wt.useCallback(() => r(e.getInitialState()), [e, r])
3750
3750
  );
3751
- return Ft.useDebugValue(t), t;
3751
+ return Wt.useDebugValue(t), t;
3752
3752
  }
3753
3753
  const Dn = (e) => {
3754
- const r = Vs(e), t = (n) => Gs(r, n);
3754
+ const r = Gs(e), t = (n) => Js(r, n);
3755
3755
  return Object.assign(t, r), t;
3756
- }, co = ((e) => e ? Dn(e) : Dn);
3757
- function Ys(e, r) {
3756
+ }, uo = ((e) => e ? Dn(e) : Dn);
3757
+ function qs(e, r) {
3758
3758
  let t;
3759
3759
  try {
3760
3760
  t = e();
@@ -3792,9 +3792,9 @@ const Dr = (e) => (r) => {
3792
3792
  }
3793
3793
  };
3794
3794
  }
3795
- }, Js = (e, r) => (t, n, o) => {
3795
+ }, Ks = (e, r) => (t, n, o) => {
3796
3796
  let s = {
3797
- storage: Ys(() => window.localStorage),
3797
+ storage: qs(() => window.localStorage),
3798
3798
  partialize: (b) => b,
3799
3799
  version: 0,
3800
3800
  merge: (b, v) => ({
@@ -3891,7 +3891,79 @@ const Dr = (e) => (r) => {
3891
3891
  g.delete(b);
3892
3892
  })
3893
3893
  }, s.skipHydration || u(), x || h;
3894
- }, qs = Js, Oe = {
3894
+ }, Xs = Ks, $t = [
3895
+ {
3896
+ id: "corporate",
3897
+ name: "Corporate Blue",
3898
+ snap: {
3899
+ primaryHex: "#4F6BFF",
3900
+ secondaryHex: "#22D3EE",
3901
+ iconColor: "#4F6BFF",
3902
+ highlightHex: "#6D86FF",
3903
+ cardStyle: "floating",
3904
+ cardShadowPx: 20,
3905
+ // Typography scale (H1 28/H2 25/H3 22/H4 20/H5 17/H6 14, body 12, caption 10) —
3906
+ // matches the updated global-settings default; pinned per preset so it survives
3907
+ // a reset/preset switch.
3908
+ h1Size: 28,
3909
+ h2Size: 25,
3910
+ h3Size: 22,
3911
+ h4Size: 20,
3912
+ h5Size: 17,
3913
+ h6Size: 14,
3914
+ baseFontPx: 12,
3915
+ // Figma video-card drop shadow: solid core + soft outer glow.
3916
+ // Verified against pixelPerfectReactCode_blueLight: single solid shadow.
3917
+ videoShadowLight: "0px 4px 66px 0px #0409D8",
3918
+ // Verified against pixelPerfectReactCode_blueDark: single solid shadow.
3919
+ videoShadowDark: "0px 4px 63.7px 0px #00136f"
3920
+ }
3921
+ },
3922
+ {
3923
+ id: "emerald",
3924
+ name: "Emerald",
3925
+ snap: {
3926
+ primaryHex: "#10B981",
3927
+ secondaryHex: "#F5A524",
3928
+ iconColor: "#10B981",
3929
+ highlightHex: "#2EE6A6",
3930
+ cardStyle: "floating",
3931
+ cardShadowPx: 20,
3932
+ // Figma video-card drop shadow: solid core + soft outer glow.
3933
+ // Verified against pixelPerfectNewReactCode_emeraldLight: single solid shadow.
3934
+ videoShadowLight: "0px 4px 66.3px 0px #0C3726",
3935
+ // Verified against pixelPerfectNewReactCode dark-mode export: single solid shadow.
3936
+ videoShadowDark: "0px 4px 66.3px 14px #0C3726",
3937
+ // Figma CC/HD badges are fixed literals here, not primary/secondary-derived like Corporate's.
3938
+ ccBadge: "#14b8a6",
3939
+ hdBadge: "#f59e0b",
3940
+ // Typography scale — see Corporate Blue comment.
3941
+ h1Size: 28
3942
+ }
3943
+ },
3944
+ {
3945
+ id: "indigo",
3946
+ name: "Indigo Violet",
3947
+ snap: {
3948
+ primaryHex: "#A97BFF",
3949
+ secondaryHex: "#FF5FA2",
3950
+ iconColor: "#A97BFF",
3951
+ highlightHex: "#A97BFF",
3952
+ cardStyle: "floating",
3953
+ cardShadowPx: 20,
3954
+ // Figma video-card drop shadow. Verified against pprc_darkPink / pprc_lightPink:
3955
+ // single shadow (y=4px, no spread), same shape as Corporate's — previously a
3956
+ // two-layer glow that didn't match either export.
3957
+ videoShadowLight: "0px 4px 66px 0px #F50079",
3958
+ videoShadowDark: "0px 4px 63.7px 0px #9F0087",
3959
+ // Typography scale — see Corporate Blue comment.
3960
+ h1Size: 28
3961
+ }
3962
+ },
3963
+ { id: "slate", name: "Graphite", snap: { primaryHex: "#455a64", secondaryHex: "#78909c", iconColor: "#455a64", cardStyle: "floating", cardShadowPx: 16 } },
3964
+ { id: "teal", name: "Ocean Teal", snap: { primaryHex: "#00838f", secondaryHex: "#0277bd", iconColor: "#00838f", cardStyle: "floating", cardShadowPx: 20 } },
3965
+ { id: "amber", name: "Amber", snap: { primaryHex: "#e65100", secondaryHex: "#d84315", iconColor: "#e65100", cardStyle: "floating", cardShadowPx: 20 } }
3966
+ ], Mn = {
3895
3967
  appName: "Crystal Ball",
3896
3968
  appTagline: "Run your whole business in one place",
3897
3969
  logoMode: "icon",
@@ -3998,6 +4070,11 @@ const Dr = (e) => (r) => {
3998
4070
  loginPanelColor: "",
3999
4071
  loginImgOpacity: 0,
4000
4072
  loginCardW: 0
4073
+ };
4074
+ var Nn;
4075
+ const Oe = {
4076
+ ...Mn,
4077
+ ...((Nn = $t.find((e) => e.id === Mn.presetId)) == null ? void 0 : Nn.snap) ?? {}
4001
4078
  }, Fe = (e) => {
4002
4079
  const { mode: r, ...t } = e;
4003
4080
  return JSON.stringify(t);
@@ -4011,7 +4088,7 @@ function Rr(e) {
4011
4088
  }
4012
4089
  return r;
4013
4090
  }
4014
- function Ks(e) {
4091
+ function Qs(e) {
4015
4092
  if (!e || typeof e != "object") return !1;
4016
4093
  const r = Object.keys(Oe);
4017
4094
  let t = 0;
@@ -4021,8 +4098,8 @@ function Ks(e) {
4021
4098
  }
4022
4099
  return t / r.length >= 0.5;
4023
4100
  }
4024
- const j = co()(
4025
- qs(
4101
+ const j = uo()(
4102
+ Xs(
4026
4103
  (e, r) => ({
4027
4104
  settings: { ...Oe },
4028
4105
  savedThemes: [],
@@ -4217,41 +4294,41 @@ function Ur(e) {
4217
4294
  n ? (a.bgDefault = pe(C[0], Math.round(C[1] * 0.7), 7), a.paper = pe(C[0], Math.round(C[1] * 0.7), 13), a.paper2 = pe(C[0], Math.round(C[1] * 0.85), 19)) : (a.bgDefault = "#ffffff", a.paper = "#ffffff", a.paper2 = pe(C[0], Math.round(C[1] * 0.85), e.surfaceTint === "brand" ? 95 : 96.5)), e.pageBgHex && (a.bgDefault = e.pageBgHex), e.cardBgHex && (a.paper = e.cardBgHex);
4218
4295
  const k = { soft: 0, standard: 1, medium: 2, high: 3 }, R = k[e.contrast] !== void 0 ? k[e.contrast] : 1, z = n ? [["rgba(255,255,255,0.82)", "rgba(255,255,255,0.55)", "rgba(255,255,255,0.09)", "rgba(255,255,255,0.16)"], ["rgba(255,255,255,0.92)", "rgba(255,255,255,0.62)", "rgba(255,255,255,0.12)", "rgba(255,255,255,0.23)"], ["rgba(255,255,255,0.96)", "rgba(255,255,255,0.74)", "rgba(255,255,255,0.18)", "rgba(255,255,255,0.34)"], ["#ffffff", "rgba(255,255,255,0.87)", "rgba(255,255,255,0.26)", "rgba(255,255,255,0.46)"]] : [["rgba(0,0,0,0.72)", "rgba(0,0,0,0.5)", "rgba(0,0,0,0.08)", "rgba(0,0,0,0.16)"], ["rgba(0,0,0,0.87)", "rgba(0,0,0,0.6)", "rgba(0,0,0,0.12)", "rgba(0,0,0,0.23)"], ["rgba(0,0,0,0.92)", "rgba(0,0,0,0.7)", "rgba(0,0,0,0.18)", "rgba(0,0,0,0.34)"], ["#000000", "rgba(0,0,0,0.8)", "rgba(0,0,0,0.24)", "rgba(0,0,0,0.46)"]];
4219
4296
  a.textPrimary = z[R][0], a.textSecondary = z[R][1], a.divider = z[R][2], a.outline = z[R][3], e.textPrimaryHex && (a.textPrimary = e.textPrimaryHex), e.textSecondaryHex && (a.textSecondary = e.textSecondaryHex), e.dividerHex && (a.divider = e.dividerHex), e.nestedStyle === "lighter" ? a.paper2 = n ? pe(C[0], Math.round(C[1] * 0.9), 22) : pe(C[0], Math.max(Math.round(C[1] * 0.3), 4), 100) : e.nestedStyle === "bordered" ? a.paper2 = a.paper : a.paper2 = n ? pe(C[0], Math.round(C[1] * 0.9), Math.max(3, 5)) : pe(C[0], Math.min(Math.round(C[1] * 1.1), 60), Math.max(88, 94 - C[1] * 0.18));
4220
- const B = e.btnColorHex || o, X = e.accentGradient ? "linear-gradient(135deg," + B + "," + (e.btnColorHex ? Re(e.btnColorHex)[700] : r[n ? 500 : 700]) + ")" : B, Q = e.btnTextHex || (Er(B, "#ffffff") >= 2.9 ? "#ffffff" : "rgba(0,0,0,0.87)"), Y = e.h1Color || null, d = e.h2Color || null, I = e.h3Color || null, A = e.h4Color || null, L = e.h5Color || null, N = e.h6Color || null, K = [{ key: "sm", px: 13 }, { key: "df", px: 12 }, { key: "lg", px: 18 }], U = K.find((be) => be.key === e.textSize) || K[1], J = e.baseFontPx > 0 ? e.baseFontPx : U.px, P = e.bodyLineHeight > 0 ? e.bodyLineHeight : 1.5, D = e.h1Size > 0 ? e.h1Size : 20, q = Math.round(D * 1.1), V = D, G = Math.max(Math.round(D * 0.9), 11), M = Math.max(Math.round(D * 0.8), 11), w = Math.max(Math.round(D * 0.7), 10), O = Math.max(Math.round(D * 0.6), 10), F = Math.max(Math.round(D * 0.5), 9), E = J, W = Math.round(J * 0.92), te = Math.round(J * 0.8), _ = Math.round(J * 0.72), me = e.headingWeight, Ne = e.headingLH > 0 ? e.headingLH : 1.2, je = e.bodyWeight > 0 ? e.bodyWeight : 400, Qe = Math.min(900, je + 200), Ze = { compact: 0.82, default: 1, comfortable: 1.16 }, Be = e.densityScale > 0 ? e.densityScale / 100 : Ze[e.density] ?? 1, fr = Math.round(20 * Be), Ve = Math.round(14 * Be), It = e.cardGapPx > 0 ? e.cardGapPx : Math.round(16 * Be), et = Math.round(11 * Be * ({ compact: 0.66, default: 1, comfortable: 1.32 }[e.tableDensity] ?? 1)), Ue = e.containerPadPx > 0 ? e.containerPadPx : Math.round(10 * Be), ee = e.radiusVal, St = ee + "px", Ct = Math.max(Math.round(ee * 0.6), 2) + "px", Ge = de(o, n ? 0.22 : 0.14), Ye = {
4297
+ const B = e.btnColorHex || o, X = e.accentGradient ? "linear-gradient(135deg," + B + "," + (e.btnColorHex ? Re(e.btnColorHex)[700] : r[n ? 500 : 700]) + ")" : B, Q = e.btnTextHex || (Er(B, "#ffffff") >= 2.9 ? "#ffffff" : "rgba(0,0,0,0.87)"), Y = e.h1Color || null, d = e.h2Color || null, I = e.h3Color || null, A = e.h4Color || null, L = e.h5Color || null, N = e.h6Color || null, K = [{ key: "sm", px: 13 }, { key: "df", px: 12 }, { key: "lg", px: 18 }], U = K.find((be) => be.key === e.textSize) || K[1], J = e.baseFontPx > 0 ? e.baseFontPx : U.px, P = e.bodyLineHeight > 0 ? e.bodyLineHeight : 1.5, D = e.h1Size > 0 ? e.h1Size : 20, q = Math.round(D * 1.1), V = D, G = Math.max(Math.round(D * 0.9), 11), M = Math.max(Math.round(D * 0.8), 11), w = Math.max(Math.round(D * 0.7), 10), O = Math.max(Math.round(D * 0.6), 10), F = Math.max(Math.round(D * 0.5), 9), E = J, W = Math.round(J * 0.92), te = Math.round(J * 0.8), _ = Math.round(J * 0.72), me = e.headingWeight, Ne = e.headingLH > 0 ? e.headingLH : 1.2, je = e.bodyWeight > 0 ? e.bodyWeight : 400, Qe = Math.min(900, je + 200), Ze = { compact: 0.82, default: 1, comfortable: 1.16 }, Be = e.densityScale > 0 ? e.densityScale / 100 : Ze[e.density] ?? 1, fr = Math.round(20 * Be), Ve = Math.round(14 * Be), Ot = e.cardGapPx > 0 ? e.cardGapPx : Math.round(16 * Be), et = Math.round(11 * Be * ({ compact: 0.66, default: 1, comfortable: 1.32 }[e.tableDensity] ?? 1)), Ue = e.containerPadPx > 0 ? e.containerPadPx : Math.round(10 * Be), ee = e.radiusVal, St = ee + "px", Ct = Math.max(Math.round(ee * 0.6), 2) + "px", Ge = de(o, n ? 0.22 : 0.14), Ye = {
4221
4298
  0: "none",
4222
4299
  1: n ? `0 2px 8px -1px ${Ge}, 0 2px 4px 0 rgba(0,0,0,0.28)` : `0 2px 6px -1px ${Ge}, 0 1px 3px 0 rgba(0,0,0,0.08)`,
4223
4300
  2: n ? `0 4px 14px -2px ${Ge}, 0 3px 8px 0 rgba(0,0,0,0.32)` : `0 3px 8px -2px ${Ge}, 0 2px 6px 0 rgba(0,0,0,0.08)`,
4224
4301
  4: n ? `0 6px 20px -3px ${Ge}, 0 4px 12px 0 rgba(0,0,0,0.38)` : `0 4px 12px -2px ${Ge}, 0 3px 8px 0 rgba(0,0,0,0.1)`,
4225
4302
  8: n ? `0 8px 32px -4px ${Ge}, 0 16px 36px 0 rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08)` : `0 6px 22px -2px ${Ge}, 0 8px 24px 0 rgba(0,0,0,0.08)`
4226
4303
  }, Yr = "1px solid rgba(255,255,255,0.06)";
4227
- let wt, tt, Ot;
4228
- if (e.cardStyle === "outlined" ? (wt = "none", tt = "1.5px solid " + a.outline, Ot = "none") : e.cardStyle === "soft" ? (wt = Ye[1], tt = n ? Yr : "none", Ot = Ye[1]) : (wt = Ye[8], tt = n ? Yr : "none", Ot = Ye[4]), e.cardShadowPx >= 0) {
4304
+ let wt, tt, Dt;
4305
+ if (e.cardStyle === "outlined" ? (wt = "none", tt = "1.5px solid " + a.outline, Dt = "none") : e.cardStyle === "soft" ? (wt = Ye[1], tt = n ? Yr : "none", Dt = Ye[1]) : (wt = Ye[8], tt = n ? Yr : "none", Dt = Ye[4]), e.cardShadowPx >= 0) {
4229
4306
  const be = de(o, n ? Math.min(0.38, 0.12 + e.cardShadowPx / 80) : Math.min(0.24, 0.08 + e.cardShadowPx / 130));
4230
4307
  wt = `0 ${Math.round(e.cardShadowPx * 0.4)}px ${Math.round(e.cardShadowPx * 1.3)}px ${be}, 0 ${Math.round(e.cardShadowPx * 0.6)}px ${Math.round(e.cardShadowPx * 1.8)}px rgba(0,0,0,${n ? 0.52 : 0.08})`;
4231
4308
  }
4232
- let Dt = "transparent", Jr = "1px solid " + a.divider, hr = "none";
4233
- e.cardHeader === "plain" ? Jr = "none" : e.cardHeader === "tinted" ? Dt = a.pContainer : e.cardHeader === "accent" && (hr = "inset 3px 0 0 " + o), e.headerStrength >= 0 && (e.cardHeader === "tinted" ? Dt = de(e.primaryHex, (n ? 0.14 : 0.08) * (e.headerStrength / 100)) : e.cardHeader === "accent" && (hr = "inset " + Math.round(e.headerStrength * 0.06) + "px 0 0 " + o)), e.cardHdrHex && (Dt = e.cardHdrHex);
4234
- const fo = n ? "none" : Ye[4], ho = n ? "1px solid " + a.divider : "none", go = e.nestedStyle === "bordered" ? "1.5px solid " + a.outline : "1px solid " + a.divider, mo = e.nestedDepth > 0 ? "inset 3px 0 0 " + de(e.primaryHex, 0.55) + ", 0 " + Math.round(e.nestedDepth * 0.4) + "px " + e.nestedDepth + "px rgba(16,24,40," + (n ? 0.42 : 0.1) + ")" : "none", yo = (e.appName || "").trim().split(/\s+/).slice(0, 2).map((be) => be[0] || "").join("").toUpperCase() || "AP", bo = !!(e.logoMode === "image" && e.logoUrl), xo = !!e.loginImage, qr = (be) => {
4309
+ let Mt = "transparent", Jr = "1px solid " + a.divider, hr = "none";
4310
+ e.cardHeader === "plain" ? Jr = "none" : e.cardHeader === "tinted" ? Mt = a.pContainer : e.cardHeader === "accent" && (hr = "inset 3px 0 0 " + o), e.headerStrength >= 0 && (e.cardHeader === "tinted" ? Mt = de(e.primaryHex, (n ? 0.14 : 0.08) * (e.headerStrength / 100)) : e.cardHeader === "accent" && (hr = "inset " + Math.round(e.headerStrength * 0.06) + "px 0 0 " + o)), e.cardHdrHex && (Mt = e.cardHdrHex);
4311
+ const go = n ? "none" : Ye[4], mo = n ? "1px solid " + a.divider : "none", yo = e.nestedStyle === "bordered" ? "1.5px solid " + a.outline : "1px solid " + a.divider, bo = e.nestedDepth > 0 ? "inset 3px 0 0 " + de(e.primaryHex, 0.55) + ", 0 " + Math.round(e.nestedDepth * 0.4) + "px " + e.nestedDepth + "px rgba(16,24,40," + (n ? 0.42 : 0.1) + ")" : "none", xo = (e.appName || "").trim().split(/\s+/).slice(0, 2).map((be) => be[0] || "").join("").toUpperCase() || "AP", vo = !!(e.logoMode === "image" && e.logoUrl), So = !!e.loginImage, qr = (be) => {
4235
4312
  const Ce = be || "Roboto";
4236
4313
  return Ce.includes(" ") && !Ce.startsWith('"') && !Ce.startsWith("'") ? `"${Ce}"` : Ce;
4237
- }, vo = qr(e.headingFont || e.fontFamily), So = qr(e.fontFamily), Se = Mr(e.primaryHex)[0], ve = (be, Ce) => pe((be % 360 + 360) % 360, 62, n ? 60 : 46), Kr = {
4314
+ }, Co = qr(e.headingFont || e.fontFamily), wo = qr(e.fontFamily), Se = Mr(e.primaryHex)[0], ve = (be, Ce) => pe((be % 360 + 360) % 360, 62, n ? 60 : 46), Kr = {
4238
4315
  brand: [o, s, ve(Se + 42), ve(Se + 205), ve(Se + 120)],
4239
4316
  categorical: [ve(Se), ve(Se + 72), ve(Se + 144), ve(Se + 216), ve(Se + 288)],
4240
4317
  sequential: [pe(Se, 55, n ? 40 : 78), pe(Se, 60, n ? 50 : 64), o, pe(Se, 70, n ? 70 : 38), pe(Se, 78, n ? 82 : 26)],
4241
4318
  cbsafe: ["#0072B2", "#E69F00", "#009E73", "#CC79A7", "#56B4E9"],
4242
4319
  warm: [ve(8), ve(28), ve(45), ve(350), ve(18)],
4243
4320
  cool: [ve(200), ve(220), ve(255), ve(180), ve(235)]
4244
- }, Co = Kr[e.chartScheme] || Kr.brand, wo = [r[600], t[600], pe((Se + 42) % 360, 55, 46), pe((Se + 205) % 360, 50, 46)], ko = { error: { cb: c, cc: y }, success: { cb: m, cc: u }, info: { cb: f, cc: x }, warning: { cb: g, cc: h } }, gr = e.mapGlass === "light", To = gr ? "rgba(255,255,255,0.84)" : "rgba(15,20,28,0.74)", Ro = gr ? "#1c2733" : "#f3f6fa", Eo = gr ? "rgba(0,0,0,0.12)" : "rgba(255,255,255,0.18)", Ho = "repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 11px, rgba(255,255,255,0) 11px, rgba(255,255,255,0) 22px), radial-gradient(circle at 50% 38%, " + de(o, 0.22) + ", rgba(0,0,0,0) 60%), " + "#0f141c", Po = "linear-gradient(135deg," + o + "," + r[700] + ")", $o = "linear-gradient(180deg," + de(r[900], 0.12) + "," + de(r[900], 0.55) + ")", Ao = "linear-gradient(135deg," + r[700] + "," + r[900] + ")", Bo = "linear-gradient(135deg," + de(r[900], 0.55) + "," + de(e.primaryHex, 0.45) + ")", Xr = { "top-right": { top: "14px", right: "14px" }, "top-center": { top: "14px", left: "50%", transform: "translateX(-50%)" }, "bottom-right": { bottom: "14px", right: "14px" }, "bottom-left": { bottom: "14px", left: "14px" } }, Io = Xr[e.notifPosition] || Xr["top-right"], Qr = e.notifAccent === "primary" ? { bar: o, icbg: a.pContainer, icc: a.onPContainer, dot: o } : e.notifAccent === "mono" ? { bar: a.textSecondary, icbg: a.paper2, icc: a.textPrimary, dot: a.textSecondary } : { bar: e.warningHex, icbg: g, icc: h, dot: e.warningHex };
4245
- let Mt;
4246
- e.notifStyle === "toast" ? Mt = { boxShadow: Ye[8], border: typeof tt == "string" && tt !== "none" ? tt : "none" } : e.notifStyle === "banner" ? Mt = { boxShadow: Ye[2], borderLeft: "4px solid " + Qr.bar } : Mt = { boxShadow: "none", border: "1px solid " + a.divider };
4247
- const Oo = e.notifCardHex || (n ? "#1e1e1e" : "#ffffff"), Do = { compact: "7px", default: "11px", comfortable: "16px" }, Mo = { compact: "6px", default: "12px", comfortable: "22px" }, Fo = { top: "flex-start", middle: "center", bottom: "flex-end" }, Wo = { left: "flex-start", center: "center", right: "flex-end" }, zo = { plain: "transparent", tinted: a.paper2, accent: a.highlightSoft }, _o = {
4248
- rowPy: Do[e.tableDensity] || "11px",
4249
- cellPx: Mo[e.tableColDensity] || "12px",
4321
+ }, ko = Kr[e.chartScheme] || Kr.brand, To = [r[600], t[600], pe((Se + 42) % 360, 55, 46), pe((Se + 205) % 360, 50, 46)], Ro = { error: { cb: c, cc: y }, success: { cb: m, cc: u }, info: { cb: f, cc: x }, warning: { cb: g, cc: h } }, gr = e.mapGlass === "light", Eo = gr ? "rgba(255,255,255,0.84)" : "rgba(15,20,28,0.74)", Ho = gr ? "#1c2733" : "#f3f6fa", Po = gr ? "rgba(0,0,0,0.12)" : "rgba(255,255,255,0.18)", $o = "repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 11px, rgba(255,255,255,0) 11px, rgba(255,255,255,0) 22px), radial-gradient(circle at 50% 38%, " + de(o, 0.22) + ", rgba(0,0,0,0) 60%), " + "#0f141c", Ao = "linear-gradient(135deg," + o + "," + r[700] + ")", Bo = "linear-gradient(180deg," + de(r[900], 0.12) + "," + de(r[900], 0.55) + ")", Io = "linear-gradient(135deg," + r[700] + "," + r[900] + ")", Oo = "linear-gradient(135deg," + de(r[900], 0.55) + "," + de(e.primaryHex, 0.45) + ")", Xr = { "top-right": { top: "14px", right: "14px" }, "top-center": { top: "14px", left: "50%", transform: "translateX(-50%)" }, "bottom-right": { bottom: "14px", right: "14px" }, "bottom-left": { bottom: "14px", left: "14px" } }, Do = Xr[e.notifPosition] || Xr["top-right"], Qr = e.notifAccent === "primary" ? { bar: o, icbg: a.pContainer, icc: a.onPContainer, dot: o } : e.notifAccent === "mono" ? { bar: a.textSecondary, icbg: a.paper2, icc: a.textPrimary, dot: a.textSecondary } : { bar: e.warningHex, icbg: g, icc: h, dot: e.warningHex };
4322
+ let Ft;
4323
+ e.notifStyle === "toast" ? Ft = { boxShadow: Ye[8], border: typeof tt == "string" && tt !== "none" ? tt : "none" } : e.notifStyle === "banner" ? Ft = { boxShadow: Ye[2], borderLeft: "4px solid " + Qr.bar } : Ft = { boxShadow: "none", border: "1px solid " + a.divider };
4324
+ const Mo = e.notifCardHex || (n ? "#1e1e1e" : "#ffffff"), Fo = { compact: "7px", default: "11px", comfortable: "16px" }, Wo = { compact: "6px", default: "12px", comfortable: "22px" }, zo = { top: "flex-start", middle: "center", bottom: "flex-end" }, _o = { left: "flex-start", center: "center", right: "flex-end" }, Lo = { plain: "transparent", tinted: a.paper2, accent: a.highlightSoft }, No = {
4325
+ rowPy: Fo[e.tableDensity] || "11px",
4326
+ cellPx: Wo[e.tableColDensity] || "12px",
4250
4327
  rowBorder: e.tableDividers ? (e.tableRowDivW || 1) + "px solid " + a.divider : "none",
4251
4328
  colBorder: e.tableColDividers ? (e.tableColDivW || 1) + "px solid " + a.divider : "none",
4252
- headBg: zo[e.tableHeaderStyle] || a.paper2,
4253
- cellAI: Fo[e.tableCellAlignV] || "center",
4254
- cellJC: Wo[e.tableCellAlignH] || "flex-start",
4329
+ headBg: Lo[e.tableHeaderStyle] || a.paper2,
4330
+ cellAI: zo[e.tableCellAlignV] || "center",
4331
+ cellJC: _o[e.tableCellAlignH] || "flex-start",
4255
4332
  stripeBg: n ? "rgba(255,255,255,0.035)" : "rgba(0,0,0,0.028)",
4256
4333
  statusMap: {
4257
4334
  Delivered: { sb: m, sc: u },
@@ -4265,18 +4342,18 @@ function Ur(e) {
4265
4342
  c: Ce === 0 ? a.textPrimary : a.textSecondary,
4266
4343
  brd: Ce === 0 ? a.highlightBd : a.outline
4267
4344
  }))
4268
- }, Lo = { sm: "Small", df: "Default", lg: "Large" }, No = { compact: "Compact", default: "Default", comfortable: "Comfortable" }, jo = { outlined: "Outlined", soft: "Soft", floating: "Floating" }, Vo = { sharp: "Sharp", rounded: "Rounded", round: "Round" }, Uo = [
4345
+ }, jo = { sm: "Small", df: "Default", lg: "Large" }, Vo = { compact: "Compact", default: "Default", comfortable: "Comfortable" }, Uo = { outlined: "Outlined", soft: "Soft", floating: "Floating" }, Go = { sharp: "Sharp", rounded: "Rounded", round: "Round" }, Yo = [
4269
4346
  { key: "sidebar", label: "Sidebar", desc: "Full drawer", ic: "▤" },
4270
4347
  { key: "rail", label: "Rail", desc: "Icons only", ic: "▥" },
4271
4348
  { key: "topbar", label: "Top Bar", desc: "Horizontal", ic: "▦" }
4272
- ], Go = e.fontFamily + " · " + (Lo[e.textSize] || "Default"), Yo = (Vo[e.radiusPreset] || "Custom") + " · " + (No[e.density] || "Default") + " · " + (jo[e.cardStyle] || "Soft"), Jo = [
4349
+ ], Jo = e.fontFamily + " · " + (jo[e.textSize] || "Default"), qo = (Go[e.radiusPreset] || "Custom") + " · " + (Vo[e.density] || "Default") + " · " + (Uo[e.cardStyle] || "Soft"), Ko = [
4273
4350
  { label: "General", ic: "◉" },
4274
4351
  { label: "Appearance", ic: "◧" },
4275
4352
  { label: "Modules", ic: "◫" },
4276
4353
  { label: "Team", ic: "◍" },
4277
4354
  { label: "Security", ic: "▣" },
4278
4355
  { label: "Billing", ic: "◳" }
4279
- ].map((be, Ce) => ({ ...be, on: Ce === 1, bg: Ce === 1 ? a.highlightSoft : "transparent", c: Ce === 1 ? a.textPrimary : a.textSecondary, bar: Ce === 1 ? "3px solid " + a.highlight : "3px solid transparent" })), qo = Uo.map((be) => ({ ...be, active: e.navPattern === be.key, brd: e.navPattern === be.key ? o : a.divider, bg: e.navPattern === be.key ? a.pContainer : a.paper, color: e.navPattern === be.key ? a.onPContainer : a.textPrimary })), Ko = e.sidebarWidth, Xo = e.appBarH > 0 ? e.appBarH : 56, Qo = e.appBarH > 0 ? e.appBarH + "px" : "Auto (56px)";
4356
+ ].map((be, Ce) => ({ ...be, on: Ce === 1, bg: Ce === 1 ? a.highlightSoft : "transparent", c: Ce === 1 ? a.textPrimary : a.textSecondary, bar: Ce === 1 ? "3px solid " + a.highlight : "3px solid transparent" })), Xo = Yo.map((be) => ({ ...be, active: e.navPattern === be.key, brd: e.navPattern === be.key ? o : a.divider, bg: e.navPattern === be.key ? a.pContainer : a.paper, color: e.navPattern === be.key ? a.onPContainer : a.textPrimary })), Qo = e.sidebarWidth, Zo = e.appBarH > 0 ? e.appBarH : 56, ei = e.appBarH > 0 ? e.appBarH + "px" : "Auto (56px)";
4280
4357
  return {
4281
4358
  pal: r,
4282
4359
  spal: t,
@@ -4292,7 +4369,7 @@ function Ur(e) {
4292
4369
  warnTxt: h,
4293
4370
  infoTxt: x,
4294
4371
  sucTxt: u,
4295
- sevMap: ko,
4372
+ sevMap: Ro,
4296
4373
  accentBg: X,
4297
4374
  btnText: Q,
4298
4375
  hc1: Y,
@@ -4326,7 +4403,7 @@ function Ur(e) {
4326
4403
  bwEmph: Qe,
4327
4404
  pad: fr,
4328
4405
  padSm: Ve,
4329
- gap: It,
4406
+ gap: Ot,
4330
4407
  rowPy: et,
4331
4408
  screenPad: Ue,
4332
4409
  r: ee,
@@ -4335,46 +4412,46 @@ function Ur(e) {
4335
4412
  SH: Ye,
4336
4413
  cardShadow: wt,
4337
4414
  cardBorder: tt,
4338
- btnShadow: Ot,
4339
- cardHdrBg: Dt,
4415
+ btnShadow: Dt,
4416
+ cardHdrBg: Mt,
4340
4417
  cardHdrBorder: Jr,
4341
4418
  cardHdrAccent: hr,
4342
- appbarShadow: fo,
4343
- appbarBorder: ho,
4344
- nestBorder: go,
4345
- nestShadow: mo,
4346
- iconInitials: yo,
4347
- hasLogo: bo,
4348
- hasLoginImage: xo,
4349
- headFam: vo,
4350
- bodyFam: So,
4419
+ appbarShadow: go,
4420
+ appbarBorder: mo,
4421
+ nestBorder: yo,
4422
+ nestShadow: bo,
4423
+ iconInitials: xo,
4424
+ hasLogo: vo,
4425
+ hasLoginImage: So,
4426
+ headFam: Co,
4427
+ bodyFam: wo,
4351
4428
  chartHue: Se,
4352
- chartPalette: Co,
4353
- avatarColors: wo,
4354
- overlaySurface: To,
4355
- onOverlay: Ro,
4356
- overlayBorder: Eo,
4357
- mediaBg: Ho,
4358
- loginBrandGrad: Po,
4359
- loginScrimGrad: $o,
4360
- loginCenteredGrad: Ao,
4361
- loginScrimGradC: Bo,
4362
- npos: Io,
4429
+ chartPalette: ko,
4430
+ avatarColors: To,
4431
+ overlaySurface: Eo,
4432
+ onOverlay: Ho,
4433
+ overlayBorder: Po,
4434
+ mediaBg: $o,
4435
+ loginBrandGrad: Ao,
4436
+ loginScrimGrad: Bo,
4437
+ loginCenteredGrad: Io,
4438
+ loginScrimGradC: Oo,
4439
+ npos: Do,
4363
4440
  nacc: Qr,
4364
- toastDeco: Mt,
4365
- toastBg: Oo,
4441
+ toastDeco: Ft,
4442
+ toastBg: Mo,
4366
4443
  btnCase: e.btnCase !== "none" ? "uppercase" : "none",
4367
- table: _o,
4368
- typeSummary: Go,
4369
- shapeSummary: Yo,
4370
- settingsCats: Jo,
4371
- navSettingsChips: qo,
4372
- sidebarWidth: Ko,
4373
- appBarHEff: Xo,
4374
- appBarHLabel: Qo
4444
+ table: No,
4445
+ typeSummary: Jo,
4446
+ shapeSummary: qo,
4447
+ settingsCats: Ko,
4448
+ navSettingsChips: Xo,
4449
+ sidebarWidth: Qo,
4450
+ appBarHEff: Zo,
4451
+ appBarHLabel: ei
4375
4452
  };
4376
4453
  }
4377
- function Xs({ icon: e, title: r, info: t, open: n, dimmed: o, onToggle: s, onPreviewMenu: a, children: l }) {
4454
+ function Zs({ icon: e, title: r, info: t, open: n, dimmed: o, onToggle: s, onPreviewMenu: a, children: l }) {
4378
4455
  const c = j((v) => v.settings), g = c.mode === "dark", f = c.primaryHex || "#4F6BFF", m = De(c.mode), y = Re(f), h = Ur(c), x = n ? g ? de(f, 0.22) : de(f, 0.1) : "transparent", u = n ? g ? y[200] : y[700] : m.text, b = n ? f : m.chevron;
4379
4456
  return /* @__PURE__ */ p(
4380
4457
  S,
@@ -4428,14 +4505,14 @@ function Xs({ icon: e, title: r, info: t, open: n, dimmed: o, onToggle: s, onPre
4428
4505
  ]
4429
4506
  }
4430
4507
  ),
4431
- /* @__PURE__ */ i(ei, { in: n, unmountOnExit: !0, timeout: 280, children: /* @__PURE__ */ i(S, { sx: { p: "2px 13px 12px", borderTop: `1px solid ${m.divider}` }, children: l }) })
4508
+ /* @__PURE__ */ i(ri, { in: n, unmountOnExit: !0, timeout: 280, children: /* @__PURE__ */ i(S, { sx: { p: "2px 13px 12px", borderTop: `1px solid ${m.divider}` }, children: l }) })
4432
4509
  ]
4433
4510
  }
4434
4511
  );
4435
4512
  }
4436
4513
  function we() {
4437
4514
  const e = j((r) => r.settings);
4438
- return Zo(() => Ur(e), [e]);
4515
+ return ti(() => Ur(e), [e]);
4439
4516
  }
4440
4517
  function dt({ tabs: e, active: r, onChange: t }) {
4441
4518
  const n = j((y) => y.settings.mode), o = j((y) => y.settings.primaryHex) || "#4F6BFF", s = j((y) => y.settings.highlightHex) || "#ffd400", a = j((y) => y.settings.bodyWeight) || 400, l = n === "dark", c = Math.min(900, a + 200), g = we(), f = l ? "#e6edf3" : "#1c2127", m = l ? "#cdd4de" : "#5a6573";
@@ -4476,64 +4553,7 @@ function dt({ tabs: e, active: r, onChange: t }) {
4476
4553
  return y.info ? /* @__PURE__ */ i(ze, { title: y.info, arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: x }, y.key) : x;
4477
4554
  }) });
4478
4555
  }
4479
- const Zt = [
4480
- {
4481
- id: "corporate",
4482
- name: "Corporate Blue",
4483
- snap: {
4484
- primaryHex: "#4F6BFF",
4485
- secondaryHex: "#22D3EE",
4486
- iconColor: "#4F6BFF",
4487
- highlightHex: "#6D86FF",
4488
- cardStyle: "floating",
4489
- cardShadowPx: 20,
4490
- // Figma video-card drop shadow: solid core + soft outer glow.
4491
- // Verified against pixelPerfectReactCode_blueLight: single solid shadow.
4492
- videoShadowLight: "0px 4px 66px 0px #0409D8",
4493
- // Verified against pixelPerfectReactCode_blueDark: single solid shadow.
4494
- videoShadowDark: "0px 4px 63.7px 0px #00136f"
4495
- }
4496
- },
4497
- {
4498
- id: "emerald",
4499
- name: "Emerald",
4500
- snap: {
4501
- primaryHex: "#10B981",
4502
- secondaryHex: "#F5A524",
4503
- iconColor: "#10B981",
4504
- highlightHex: "#2EE6A6",
4505
- cardStyle: "floating",
4506
- cardShadowPx: 20,
4507
- // Figma video-card drop shadow: solid core + soft outer glow.
4508
- // Verified against pixelPerfectNewReactCode_emeraldLight: single solid shadow.
4509
- videoShadowLight: "0px 4px 66.3px 0px #0C3726",
4510
- // Verified against pixelPerfectNewReactCode dark-mode export: single solid shadow.
4511
- videoShadowDark: "0px 4px 66.3px 14px #0C3726",
4512
- // Figma CC/HD badges are fixed literals here, not primary/secondary-derived like Corporate's.
4513
- ccBadge: "#14b8a6",
4514
- hdBadge: "#f59e0b"
4515
- }
4516
- },
4517
- {
4518
- id: "indigo",
4519
- name: "Indigo Violet",
4520
- snap: {
4521
- primaryHex: "#A97BFF",
4522
- secondaryHex: "#FF5FA2",
4523
- iconColor: "#A97BFF",
4524
- highlightHex: "#A97BFF",
4525
- cardStyle: "floating",
4526
- cardShadowPx: 20,
4527
- // Figma video-card drop shadow: solid core + soft outer glow.
4528
- videoShadowLight: "0 0 33px 0px #F50079, 0 0 44px 12px rgba(169, 123, 255, 0.20)",
4529
- videoShadowDark: "0 0 20px 0 #9F0087, 0 0 44px 12px rgba(255, 95, 162, 0.32)"
4530
- }
4531
- },
4532
- { id: "slate", name: "Graphite", snap: { primaryHex: "#455a64", secondaryHex: "#78909c", iconColor: "#455a64", cardStyle: "floating", cardShadowPx: 16 } },
4533
- { id: "teal", name: "Ocean Teal", snap: { primaryHex: "#00838f", secondaryHex: "#0277bd", iconColor: "#00838f", cardStyle: "floating", cardShadowPx: 20 } },
4534
- { id: "amber", name: "Amber", snap: { primaryHex: "#e65100", secondaryHex: "#d84315", iconColor: "#e65100", cardStyle: "floating", cardShadowPx: 20 } }
4535
- ];
4536
- function Qs() {
4556
+ function el() {
4537
4557
  var G, M;
4538
4558
  const [e, r] = Z("presets"), t = j((w) => w.settings), n = t.mode === "dark", o = t.highlightHex || "#ffd400", s = de(o, n ? 0.3 : 0.18), a = n ? "#e6edf3" : "#1c2127", l = n ? "rgba(255,255,255,0.82)" : "#2c333d", c = j((w) => w.savedThemes), g = j((w) => w.applyPreset), f = j((w) => w.applySaved), m = j((w) => w.saveTheme), y = j((w) => w.updateSaved), h = j((w) => w.renameSaved), x = j((w) => w.deleteSaved), u = j((w) => w.importTheme), b = j((w) => w.set), v = j((w) => w.isDirty), $ = j((w) => w.editingSavedId), H = j((w) => w.lastImportedId), C = c.find((w) => w.id === $), k = (w, O) => {
4539
4559
  const F = new Blob([JSON.stringify({ name: w, snap: O }, null, 2)], { type: "application/json" }), E = URL.createObjectURL(F), W = document.createElement("a");
@@ -4557,7 +4577,7 @@ function Qs() {
4557
4577
  F.onload = () => {
4558
4578
  try {
4559
4579
  const W = JSON.parse(F.result), te = W.snap ?? W;
4560
- if (!Ks(te)) {
4580
+ if (!Qs(te)) {
4561
4581
  z("Invalid theme file. The selected file is not a valid Theme Studio export.");
4562
4582
  return;
4563
4583
  }
@@ -4571,7 +4591,7 @@ function Qs() {
4571
4591
  z("Invalid theme file. The selected file is not a valid Theme Studio export.");
4572
4592
  }
4573
4593
  }, F.readAsText(O), w.target.value = "";
4574
- }, [d, I] = Z(null), [A, L] = Z(!1), [N, K] = Z(""), [U, J] = Z(null), [P, D] = Z(null), q = (C == null ? void 0 : C.name) || ((G = Zt.find((w) => w.id === t.presetId)) == null ? void 0 : G.name) || ((M = c.find((w) => w.id === t.presetId)) == null ? void 0 : M.name) || "Custom Theme", V = (w, O) => {
4594
+ }, [d, I] = Z(null), [A, L] = Z(!1), [N, K] = Z(""), [U, J] = Z(null), [P, D] = Z(null), q = (C == null ? void 0 : C.name) || ((G = $t.find((w) => w.id === t.presetId)) == null ? void 0 : G.name) || ((M = c.find((w) => w.id === t.presetId)) == null ? void 0 : M.name) || "Custom Theme", V = (w, O) => {
4575
4595
  const F = w.trim();
4576
4596
  return F ? c.some((E) => E.name.toLowerCase() === F.toLowerCase() && E.id !== O) ? "Name already exists" : "" : "Name required";
4577
4597
  };
@@ -4582,7 +4602,7 @@ function Qs() {
4582
4602
  { key: "mode", label: "Mode", info: "Light / Dark." }
4583
4603
  ] }),
4584
4604
  /* @__PURE__ */ p(S, { sx: { p: "12px 2px 2px" }, children: [
4585
- e === "presets" && /* @__PURE__ */ i(S, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "9px" }, children: Zt.map((w) => {
4605
+ e === "presets" && /* @__PURE__ */ i(S, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "9px" }, children: $t.map((w) => {
4586
4606
  const O = t.presetId === w.id;
4587
4607
  return /* @__PURE__ */ p(
4588
4608
  S,
@@ -4667,7 +4687,7 @@ function Qs() {
4667
4687
  ] }),
4668
4688
  e === "mode" && /* @__PURE__ */ i(S, { sx: { display: "flex", gap: 1 }, children: ["light", "dark"].map((w) => /* @__PURE__ */ i(ke, { onClick: () => b({ mode: w }), variant: t.mode === w ? "contained" : "outlined", sx: { flex: 1, textTransform: "capitalize" }, children: w }, w)) })
4669
4689
  ] }),
4670
- /* @__PURE__ */ p(ti, { open: !!d, anchorEl: d == null ? void 0 : d.el, onClose: () => I(null), children: [
4690
+ /* @__PURE__ */ p(ni, { open: !!d, anchorEl: d == null ? void 0 : d.el, onClose: () => I(null), children: [
4671
4691
  /* @__PURE__ */ i(mt, { onClick: () => {
4672
4692
  const w = c.find((O) => O.id === d.id);
4673
4693
  f(w), I(null);
@@ -4686,8 +4706,8 @@ function Qs() {
4686
4706
  }, children: "⤓ Download" })
4687
4707
  ] }),
4688
4708
  /* @__PURE__ */ p(yt, { open: A, onClose: () => L(!1), children: [
4689
- /* @__PURE__ */ i(Wt, { children: C ? `Save changes to “${C.name}”` : "Save theme" }),
4690
- /* @__PURE__ */ i(zt, { children: /* @__PURE__ */ i(
4709
+ /* @__PURE__ */ i(zt, { children: C ? `Save changes to “${C.name}”` : "Save theme" }),
4710
+ /* @__PURE__ */ i(_t, { children: /* @__PURE__ */ i(
4691
4711
  Zr,
4692
4712
  {
4693
4713
  autoFocus: !0,
@@ -4701,7 +4721,7 @@ function Qs() {
4701
4721
  sx: { mt: 1 }
4702
4722
  }
4703
4723
  ) }),
4704
- /* @__PURE__ */ p(_t, { children: [
4724
+ /* @__PURE__ */ p(Lt, { children: [
4705
4725
  /* @__PURE__ */ i(ke, { onClick: () => L(!1), children: "Cancel" }),
4706
4726
  C && /* @__PURE__ */ i(
4707
4727
  ke,
@@ -4728,9 +4748,9 @@ function Qs() {
4728
4748
  ] })
4729
4749
  ] }),
4730
4750
  /* @__PURE__ */ p(yt, { open: !!U, onClose: () => J(null), children: [
4731
- /* @__PURE__ */ i(Wt, { children: "Rename theme" }),
4732
- /* @__PURE__ */ i(zt, { children: /* @__PURE__ */ i(Zr, { autoFocus: !0, fullWidth: !0, size: "small", label: "New name", value: (U == null ? void 0 : U.name) ?? "", onChange: (w) => J((O) => O && { ...O, name: w.target.value }), error: !!(U && V(U.name, U.id)), helperText: U ? V(U.name, U.id) : "", sx: { mt: 1 } }) }),
4733
- /* @__PURE__ */ p(_t, { children: [
4751
+ /* @__PURE__ */ i(zt, { children: "Rename theme" }),
4752
+ /* @__PURE__ */ i(_t, { children: /* @__PURE__ */ i(Zr, { autoFocus: !0, fullWidth: !0, size: "small", label: "New name", value: (U == null ? void 0 : U.name) ?? "", onChange: (w) => J((O) => O && { ...O, name: w.target.value }), error: !!(U && V(U.name, U.id)), helperText: U ? V(U.name, U.id) : "", sx: { mt: 1 } }) }),
4753
+ /* @__PURE__ */ p(Lt, { children: [
4734
4754
  /* @__PURE__ */ i(ke, { onClick: () => J(null), children: "Cancel" }),
4735
4755
  /* @__PURE__ */ i(ke, { variant: "contained", disabled: !!(U && V(U.name, U.id)), onClick: () => {
4736
4756
  h(U.id, U.name.trim()), J(null);
@@ -4738,13 +4758,13 @@ function Qs() {
4738
4758
  ] })
4739
4759
  ] }),
4740
4760
  /* @__PURE__ */ p(yt, { open: !!B, onClose: () => X(null), children: [
4741
- /* @__PURE__ */ i(Wt, { children: "Theme already exists" }),
4742
- /* @__PURE__ */ i(zt, { children: /* @__PURE__ */ p(ue, { variant: "body2", children: [
4761
+ /* @__PURE__ */ i(zt, { children: "Theme already exists" }),
4762
+ /* @__PURE__ */ i(_t, { children: /* @__PURE__ */ p(ue, { variant: "body2", children: [
4743
4763
  "A theme named “",
4744
4764
  B == null ? void 0 : B.name,
4745
4765
  "” is already in My Themes. Upload it anyway as a copy?"
4746
4766
  ] }) }),
4747
- /* @__PURE__ */ p(_t, { children: [
4767
+ /* @__PURE__ */ p(Lt, { children: [
4748
4768
  /* @__PURE__ */ i(ke, { onClick: () => {
4749
4769
  X(null), z("You’ve selected a duplicate file — it already exists.");
4750
4770
  }, children: "Cancel" }),
@@ -4754,13 +4774,13 @@ function Qs() {
4754
4774
  ] })
4755
4775
  ] }),
4756
4776
  /* @__PURE__ */ p(yt, { open: !!P, onClose: () => D(null), children: [
4757
- /* @__PURE__ */ i(Wt, { children: "Delete theme" }),
4758
- /* @__PURE__ */ i(zt, { children: /* @__PURE__ */ p(ue, { variant: "body2", children: [
4777
+ /* @__PURE__ */ i(zt, { children: "Delete theme" }),
4778
+ /* @__PURE__ */ i(_t, { children: /* @__PURE__ */ p(ue, { variant: "body2", children: [
4759
4779
  "Delete “",
4760
4780
  P == null ? void 0 : P.name,
4761
4781
  "”? This cannot be undone."
4762
4782
  ] }) }),
4763
- /* @__PURE__ */ p(_t, { children: [
4783
+ /* @__PURE__ */ p(Lt, { children: [
4764
4784
  /* @__PURE__ */ i(ke, { onClick: () => D(null), children: "Cancel" }),
4765
4785
  /* @__PURE__ */ i(ke, { color: "error", variant: "contained", onClick: () => {
4766
4786
  x(P.id), D(null);
@@ -4769,7 +4789,7 @@ function Qs() {
4769
4789
  ] })
4770
4790
  ] });
4771
4791
  }
4772
- function Zs({ tip: e, sk: r }) {
4792
+ function tl({ tip: e, sk: r }) {
4773
4793
  return /* @__PURE__ */ i(
4774
4794
  S,
4775
4795
  {
@@ -4784,7 +4804,7 @@ function nt({ children: e, tip: r, sk: t, mt: n }) {
4784
4804
  const o = we();
4785
4805
  return /* @__PURE__ */ p(S, { sx: { fontSize: `${o.tCaption}px`, fontWeight: o.bwEmph, fontFamily: `${o.bodyFam},sans-serif`, color: t.label2, textTransform: "uppercase", letterSpacing: ".5px", mb: "6px", mt: n ? `${n}px` : 0, display: "flex", alignItems: "center", gap: "5px" }, children: [
4786
4806
  e,
4787
- r && /* @__PURE__ */ i(Zs, { tip: r, sk: t })
4807
+ r && /* @__PURE__ */ i(tl, { tip: r, sk: t })
4788
4808
  ] });
4789
4809
  }
4790
4810
  function gt({ value: e, onChange: r, w: t = 30, h: n = 24, r: o = 7, border: s, sk: a }) {
@@ -4799,8 +4819,8 @@ function gt({ value: e, onChange: r, w: t = 30, h: n = 24, r: o = 7, border: s,
4799
4819
  }
4800
4820
  ) });
4801
4821
  }
4802
- const el = /^#[0-9a-fA-F]{6}$/;
4803
- function tl({ value: e, onCommit: r, onWarnChange: t }) {
4822
+ const rl = /^#[0-9a-fA-F]{6}$/;
4823
+ function nl({ value: e, onCommit: r, onWarnChange: t }) {
4804
4824
  const [n, o] = Z(!1), [s, a] = Z(e), [l, c] = Z(""), g = Te(void 0);
4805
4825
  _e(() => {
4806
4826
  n || a(e);
@@ -4811,7 +4831,7 @@ function tl({ value: e, onCommit: r, onWarnChange: t }) {
4811
4831
  }, 3e3));
4812
4832
  }, m = (y) => {
4813
4833
  const h = y.trim();
4814
- return el.test(h) ? (f(""), r(h), !0) : (f("Enter a valid hex colour, e.g. #4F6BFF"), !1);
4834
+ return rl.test(h) ? (f(""), r(h), !0) : (f("Enter a valid hex colour, e.g. #4F6BFF"), !1);
4815
4835
  };
4816
4836
  return n ? /* @__PURE__ */ i(
4817
4837
  Wr,
@@ -4846,7 +4866,7 @@ function tl({ value: e, onCommit: r, onWarnChange: t }) {
4846
4866
  }
4847
4867
  );
4848
4868
  }
4849
- function rl() {
4869
+ function ol() {
4850
4870
  const [e, r] = Z("brand"), [t, n] = Z(""), o = j((v) => v.settings), s = j((v) => v.set), a = De(o.mode), l = we(), c = { fontSize: "11.5px", color: a.body, fontWeight: 600 }, g = { fontSize: `${l.tBodySm}px`, color: a.body, fontWeight: l.bodyWeightEff, fontFamily: `${l.bodyFam},sans-serif`, lineHeight: l.bodyLH }, f = o.primaryHex || "#4F6BFF", m = Re(f), y = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900].map((v) => m[v]), h = (v) => s({ ...v, presetId: "custom" }), x = [
4851
4871
  { key: "h1Color", label: "H1 · Page Title" },
4852
4872
  { key: "h2Color", label: "H2 · Metric" },
@@ -4876,7 +4896,7 @@ function rl() {
4876
4896
  /* @__PURE__ */ p(S, { children: [
4877
4897
  /* @__PURE__ */ i(nt, { sk: a, tip: "Primary brand colour — main/filled buttons, active sidebar item, links, focus rings, first chart series, and the login Sign-in button.", children: "Brand Color" }),
4878
4898
  /* @__PURE__ */ p(S, { sx: { position: "relative", height: 46, borderRadius: "11px", background: f, overflow: "hidden", display: "flex", alignItems: "center", px: "14px", boxShadow: `0 3px 10px ${f}44` }, children: [
4879
- /* @__PURE__ */ i(tl, { value: f, onCommit: (v) => h({ primaryHex: v }), onWarnChange: n }),
4899
+ /* @__PURE__ */ i(nl, { value: f, onCommit: (v) => h({ primaryHex: v }), onWarnChange: n }),
4880
4900
  /* @__PURE__ */ i(S, { component: "input", type: "color", value: f, onChange: (v) => h({ primaryHex: v.target.value }), sx: { position: "absolute", inset: 0, width: "100%", height: "100%", opacity: 0, cursor: "pointer", border: "none", p: 0 } })
4881
4901
  ] }),
4882
4902
  /* @__PURE__ */ i(S, { sx: { display: "flex", gap: "2px", borderRadius: "7px", overflow: "hidden", height: 14, mt: "7px" }, children: y.map((v, $) => /* @__PURE__ */ i(S, { sx: { flex: 1, background: v } }, $)) }),
@@ -5081,24 +5101,24 @@ function xe(e) {
5081
5101
  ] })
5082
5102
  ] });
5083
5103
  }
5084
- const Mn = /* @__PURE__ */ new Set();
5085
- function po(e, r) {
5086
- if (Mn.has(e)) return;
5087
- Mn.add(e);
5104
+ const Fn = /* @__PURE__ */ new Set();
5105
+ function fo(e, r) {
5106
+ if (Fn.has(e)) return;
5107
+ Fn.add(e);
5088
5108
  const t = document.createElement("style");
5089
5109
  t.textContent = `@font-face{font-family:'${e}';src:url('${r}');font-display:swap;}`, document.head.appendChild(t);
5090
5110
  }
5091
- function Fn(e) {
5092
- e.forEach((r) => po(r.name, r.dataUrl));
5111
+ function Wn(e) {
5112
+ e.forEach((r) => fo(r.name, r.dataUrl));
5093
5113
  }
5094
- const nl = [
5114
+ const il = [
5095
5115
  { key: "Roboto", label: "Roboto", sub: "Material" },
5096
5116
  { key: "Inter", label: "Inter", sub: "Enterprise" },
5097
5117
  { key: "DM Sans", label: "DM Sans", sub: "Modern" },
5098
5118
  { key: "Manrope", label: "Manrope", sub: "Geometric" },
5099
5119
  { key: "Plus Jakarta Sans", label: "Jakarta", sub: "Friendly" },
5100
5120
  { key: "Nunito Sans", label: "Nunito", sub: "Rounded" }
5101
- ], ol = [
5121
+ ], al = [
5102
5122
  { key: "Figtree", label: "Google Sans" },
5103
5123
  { key: "Roboto", label: "Roboto" },
5104
5124
  { key: "Inter", label: "Inter" },
@@ -5106,14 +5126,14 @@ const nl = [
5106
5126
  { key: "Manrope", label: "Manrope" },
5107
5127
  { key: "Plus Jakarta Sans", label: "Jakarta" }
5108
5128
  ];
5109
- function Ut({ label: e, fam: r, active: t, onClick: n }) {
5129
+ function Gt({ label: e, fam: r, active: t, onClick: n }) {
5110
5130
  const o = j((f) => f.settings.mode), s = j((f) => f.settings.primaryHex) || "#4F6BFF", a = j((f) => f.settings.highlightHex) || "#ffd400", l = o === "dark", c = Re(s), g = de(a, l ? 0.3 : 0.18);
5111
5131
  return /* @__PURE__ */ i(S, { onClick: n, sx: { py: "17px", px: "4px", borderRadius: "10px", textAlign: "center", cursor: "pointer", border: `1px solid ${t ? l ? c[400] : s : l ? "#363d48" : "#e3e8ee"}`, bgcolor: t ? g : l ? "#262b34" : "#ffffff", transition: "all .14s ease", "&:hover": t ? {} : { borderColor: l ? "#4a5361" : "#c9d0d9" } }, children: /* @__PURE__ */ i(S, { sx: { fontFamily: `${r}, sans-serif`, fontSize: 13, fontWeight: 700, lineHeight: 1, color: t ? l ? c[200] : c[700] : l ? "#aeb6c0" : "#5a6573" }, children: e }) });
5112
5132
  }
5113
- const il = ["woff2", "woff", "ttf", "otf"], al = 10 * 1024 * 1024, sl = (e) => new Promise((r, t) => {
5133
+ const sl = ["woff2", "woff", "ttf", "otf"], ll = 10 * 1024 * 1024, dl = (e) => new Promise((r, t) => {
5114
5134
  const n = new FileReader();
5115
5135
  n.onload = () => r(n.result), n.onerror = () => t(n.error), n.readAsDataURL(e);
5116
- }), ll = (e) => new Promise((r) => {
5136
+ }), cl = (e) => new Promise((r) => {
5117
5137
  const t = setTimeout(() => r(!1), 5e3), n = new FileReader();
5118
5138
  n.onload = () => {
5119
5139
  var a;
@@ -5131,7 +5151,7 @@ const il = ["woff2", "woff", "ttf", "otf"], al = 10 * 1024 * 1024, sl = (e) => n
5131
5151
  clearTimeout(t), r(!1);
5132
5152
  }
5133
5153
  });
5134
- function Wn({ label: e, list: r, onAdd: t }) {
5154
+ function zn({ label: e, list: r, onAdd: t }) {
5135
5155
  const n = De(j((f) => f.settings.mode)), o = we(), [s, a] = Z(""), l = Te(void 0);
5136
5156
  _e(() => () => clearTimeout(l.current), []);
5137
5157
  const c = (f) => {
@@ -5143,15 +5163,15 @@ function Wn({ label: e, list: r, onAdd: t }) {
5143
5163
  const y = [], h = [], x = [], u = [], b = [];
5144
5164
  for (const H of m) {
5145
5165
  const C = (($ = H.name.split(".").pop()) == null ? void 0 : $.toLowerCase()) || "";
5146
- if (!il.includes(C)) {
5166
+ if (!sl.includes(C)) {
5147
5167
  x.push(H.name);
5148
5168
  continue;
5149
5169
  }
5150
- if (H.size > al) {
5170
+ if (H.size > ll) {
5151
5171
  u.push(H.name);
5152
5172
  continue;
5153
5173
  }
5154
- if (!await ll(H)) {
5174
+ if (!await cl(H)) {
5155
5175
  b.push(H.name);
5156
5176
  continue;
5157
5177
  }
@@ -5160,8 +5180,8 @@ function Wn({ label: e, list: r, onAdd: t }) {
5160
5180
  h.push(k);
5161
5181
  continue;
5162
5182
  }
5163
- const z = await sl(H);
5164
- po(k, z), y.push({ name: k, dataUrl: z });
5183
+ const z = await dl(H);
5184
+ fo(k, z), y.push({ name: k, dataUrl: z });
5165
5185
  }
5166
5186
  y.length && t(y);
5167
5187
  const v = [];
@@ -5180,9 +5200,9 @@ function Wn({ label: e, list: r, onAdd: t }) {
5180
5200
  ] })
5181
5201
  ] });
5182
5202
  }
5183
- const dl = { compact: 1.15, default: 1.25, airy: 1.414 };
5184
- function cl() {
5185
- const e = j((f) => f.settings), r = j((f) => f.set), t = De(e.mode), n = we(), [o, s] = Z(!1), a = e.scaleRatioCustom > 0 ? e.scaleRatioCustom : dl[e.scaleRatio] ?? 1.25, [l, c] = Z(a.toFixed(2));
5203
+ const pl = { compact: 1.15, default: 1.25, airy: 1.414 };
5204
+ function ul() {
5205
+ const e = j((f) => f.settings), r = j((f) => f.set), t = De(e.mode), n = we(), [o, s] = Z(!1), a = e.scaleRatioCustom > 0 ? e.scaleRatioCustom : pl[e.scaleRatio] ?? 1.25, [l, c] = Z(a.toFixed(2));
5186
5206
  _e(() => {
5187
5207
  o || c(a.toFixed(2));
5188
5208
  }, [a, o]);
@@ -5218,7 +5238,7 @@ function cl() {
5218
5238
  }
5219
5239
  );
5220
5240
  }
5221
- function pl() {
5241
+ function fl() {
5222
5242
  const [e, r] = Z("bodyFont"), t = j((o) => o.settings), n = j((o) => o.set);
5223
5243
  return /* @__PURE__ */ p(ge, { children: [
5224
5244
  /* @__PURE__ */ i(
@@ -5237,20 +5257,20 @@ function pl() {
5237
5257
  /* @__PURE__ */ p(S, { sx: { p: "12px 2px 2px" }, children: [
5238
5258
  e === "bodyFont" && /* @__PURE__ */ p(ge, { children: [
5239
5259
  /* @__PURE__ */ p(S, { sx: { display: "grid", gridTemplateColumns: "repeat(3,1fr)", gap: "10px" }, children: [
5240
- nl.map((o) => /* @__PURE__ */ i(Ut, { label: o.label, sub: o.sub, fam: o.key, active: t.fontFamily === o.key, onClick: () => n({ fontFamily: o.key }) }, o.key)),
5241
- t.customFonts.map((o) => /* @__PURE__ */ i(Ut, { label: o.name, sub: "Custom", fam: o.name, active: t.fontFamily === o.name, onClick: () => n({ fontFamily: o.name }) }, o.name))
5260
+ il.map((o) => /* @__PURE__ */ i(Gt, { label: o.label, sub: o.sub, fam: o.key, active: t.fontFamily === o.key, onClick: () => n({ fontFamily: o.key }) }, o.key)),
5261
+ t.customFonts.map((o) => /* @__PURE__ */ i(Gt, { label: o.name, sub: "Custom", fam: o.name, active: t.fontFamily === o.name, onClick: () => n({ fontFamily: o.name }) }, o.name))
5242
5262
  ] }),
5243
- /* @__PURE__ */ i(Wn, { label: "Upload custom font", list: t.customFonts, onAdd: (o) => n({ customFonts: [...o, ...t.customFonts], fontFamily: o[0].name }) })
5263
+ /* @__PURE__ */ i(zn, { label: "Upload custom font", list: t.customFonts, onAdd: (o) => n({ customFonts: [...o, ...t.customFonts], fontFamily: o[0].name }) })
5244
5264
  ] }),
5245
5265
  e === "headFont" && /* @__PURE__ */ p(ge, { children: [
5246
5266
  /* @__PURE__ */ p(S, { sx: { display: "grid", gridTemplateColumns: "repeat(3,1fr)", gap: "10px" }, children: [
5247
- ol.map((o) => /* @__PURE__ */ i(Ut, { label: o.label, fam: o.key, active: t.headingFont === o.key, onClick: () => n({ headingFont: o.key }) }, o.key)),
5248
- t.customHeadFonts.map((o) => /* @__PURE__ */ i(Ut, { label: o.name, sub: "Custom", fam: o.name, active: t.headingFont === o.name, onClick: () => n({ headingFont: o.name }) }, o.name))
5267
+ al.map((o) => /* @__PURE__ */ i(Gt, { label: o.label, fam: o.key, active: t.headingFont === o.key, onClick: () => n({ headingFont: o.key }) }, o.key)),
5268
+ t.customHeadFonts.map((o) => /* @__PURE__ */ i(Gt, { label: o.name, sub: "Custom", fam: o.name, active: t.headingFont === o.name, onClick: () => n({ headingFont: o.name }) }, o.name))
5249
5269
  ] }),
5250
- /* @__PURE__ */ i(Wn, { label: "Upload heading font", list: t.customHeadFonts, onAdd: (o) => n({ customHeadFonts: [...o, ...t.customHeadFonts], headingFont: o[0].name }) })
5270
+ /* @__PURE__ */ i(zn, { label: "Upload heading font", list: t.customHeadFonts, onAdd: (o) => n({ customHeadFonts: [...o, ...t.customHeadFonts], headingFont: o[0].name }) })
5251
5271
  ] }),
5252
5272
  e === "headText" && /* @__PURE__ */ p(ge, { children: [
5253
- /* @__PURE__ */ i(xe, { label: "H1 size", info: "All heading levels scale from H1 by a modular ratio (configurable via the gear icon).", value: t.h1Size, effective: t.h1Size || 20, min: 18, max: 56, unit: "px", extra: /* @__PURE__ */ i(cl, {}), onChange: (o) => n({ h1Size: o }) }),
5273
+ /* @__PURE__ */ i(xe, { label: "H1 size", info: "All heading levels scale from H1 by a modular ratio (configurable via the gear icon).", value: t.h1Size, effective: t.h1Size || 20, min: 18, max: 56, unit: "px", extra: /* @__PURE__ */ i(ul, {}), onChange: (o) => n({ h1Size: o }) }),
5254
5274
  /* @__PURE__ */ i(xe, { label: "Weight (all headings)", value: t.headingWeight, effective: t.headingWeight, min: 300, max: 900, step: 100, onChange: (o) => n({ headingWeight: o }) }),
5255
5275
  /* @__PURE__ */ i(xe, { label: "Line height (all headings)", value: t.headingLH, effective: t.headingLH || 1.2, min: 0.9, max: 2, step: 0.05, autoLabel: "Auto (1.20)", onChange: (o) => n({ headingLH: o }) })
5256
5276
  ] }),
@@ -5292,9 +5312,9 @@ function He({ options: e, value: r, columns: t = 3, onChange: n }) {
5292
5312
  return v.info ? /* @__PURE__ */ i(ze, { title: v.info, arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: H }, v.key) : H;
5293
5313
  }) });
5294
5314
  }
5295
- const Gt = { outlined: 0, soft: 6, floating: 24 }, Yt = { plain: 0, tinted: 40, accent: 60 }, ul = { bordered: 0, recessed: 6, lighter: 4 };
5296
- function fl() {
5297
- const [e, r] = Z("style"), t = j((c) => c.settings), n = j((c) => c.set), o = t.cardShadowPx >= 0 ? t.cardShadowPx : Gt[t.cardStyle] ?? 24, s = t.headerStrength >= 0 ? t.headerStrength : Yt[t.cardHeader] ?? 45, a = t.nestedDepth >= 0 ? t.nestedDepth : ul[t.nestedStyle] ?? 6, l = t.tintIntensity >= 0 ? t.tintIntensity : 100;
5315
+ const Yt = { outlined: 0, soft: 6, floating: 24 }, Jt = { plain: 0, tinted: 40, accent: 60 }, hl = { bordered: 0, recessed: 6, lighter: 4 };
5316
+ function gl() {
5317
+ const [e, r] = Z("style"), t = j((c) => c.settings), n = j((c) => c.set), o = t.cardShadowPx >= 0 ? t.cardShadowPx : Yt[t.cardStyle] ?? 24, s = t.headerStrength >= 0 ? t.headerStrength : Jt[t.cardHeader] ?? 45, a = t.nestedDepth >= 0 ? t.nestedDepth : hl[t.nestedStyle] ?? 6, l = t.tintIntensity >= 0 ? t.tintIntensity : 100;
5298
5318
  return /* @__PURE__ */ p(ge, { children: [
5299
5319
  /* @__PURE__ */ i(
5300
5320
  dt,
@@ -5317,12 +5337,12 @@ function fl() {
5317
5337
  value: t.cardStyle,
5318
5338
  onChange: (c) => {
5319
5339
  const g = c;
5320
- n({ cardStyle: g, cardShadowPx: Gt[g] });
5340
+ n({ cardStyle: g, cardShadowPx: Yt[g] });
5321
5341
  },
5322
5342
  options: [{ key: "outlined", label: "Outlined" }, { key: "soft", label: "Soft" }, { key: "floating", label: "Floating" }]
5323
5343
  }
5324
5344
  ),
5325
- /* @__PURE__ */ i(S, { sx: { mt: 1.5 }, children: /* @__PURE__ */ i(xe, { label: "Shadow depth", info: "Card elevation (px).", value: t.cardShadowPx, effective: o, min: 0, max: 32, unit: "px", autoValue: -1, autoLabel: `Auto (${o}px)`, softMin: t.cardStyle === "outlined" ? void 0 : 1, softMax: 32, floorValue: t.cardStyle === "outlined" ? void 0 : 0, floorReset: Gt[t.cardStyle], floorMessage: `${t.cardStyle === "soft" ? "Soft" : "Floating"} cards need shadow - reset to ${Gt[t.cardStyle]}px`, onChange: (c) => n({ cardShadowPx: c }) }) })
5345
+ /* @__PURE__ */ i(S, { sx: { mt: 1.5 }, children: /* @__PURE__ */ i(xe, { label: "Shadow depth", info: "Card elevation (px).", value: t.cardShadowPx, effective: o, min: 0, max: 32, unit: "px", autoValue: -1, autoLabel: `Auto (${o}px)`, softMin: t.cardStyle === "outlined" ? void 0 : 1, softMax: 32, floorValue: t.cardStyle === "outlined" ? void 0 : 0, floorReset: Yt[t.cardStyle], floorMessage: `${t.cardStyle === "soft" ? "Soft" : "Floating"} cards need shadow - reset to ${Yt[t.cardStyle]}px`, onChange: (c) => n({ cardShadowPx: c }) }) })
5326
5346
  ] }),
5327
5347
  e === "header" && /* @__PURE__ */ p(ge, { children: [
5328
5348
  /* @__PURE__ */ i(
@@ -5331,12 +5351,12 @@ function fl() {
5331
5351
  value: t.cardHeader,
5332
5352
  onChange: (c) => {
5333
5353
  const g = c;
5334
- n({ cardHeader: g, headerStrength: Yt[g] });
5354
+ n({ cardHeader: g, headerStrength: Jt[g] });
5335
5355
  },
5336
5356
  options: [{ key: "plain", label: "Plain" }, { key: "tinted", label: "Tinted" }, { key: "accent", label: "Accent" }]
5337
5357
  }
5338
5358
  ),
5339
- /* @__PURE__ */ i(S, { sx: { mt: 1.5 }, children: /* @__PURE__ */ i(xe, { label: "Header strength", info: "Header tint / accent intensity.", value: t.headerStrength, effective: s, min: 0, max: 100, unit: "%", autoValue: -1, autoLabel: `Auto (${s}%)`, softMin: t.cardHeader === "plain" ? void 0 : 1, floorValue: t.cardHeader === "plain" ? void 0 : 0, floorReset: Yt[t.cardHeader], floorMessage: `${t.cardHeader === "tinted" ? "Tinted" : "Accent"} headers need strength - reset to ${Yt[t.cardHeader]}%`, onChange: (c) => n({ headerStrength: c }) }) })
5359
+ /* @__PURE__ */ i(S, { sx: { mt: 1.5 }, children: /* @__PURE__ */ i(xe, { label: "Header strength", info: "Header tint / accent intensity.", value: t.headerStrength, effective: s, min: 0, max: 100, unit: "%", autoValue: -1, autoLabel: `Auto (${s}%)`, softMin: t.cardHeader === "plain" ? void 0 : 1, floorValue: t.cardHeader === "plain" ? void 0 : 0, floorReset: Jt[t.cardHeader], floorMessage: `${t.cardHeader === "tinted" ? "Tinted" : "Accent"} headers need strength - reset to ${Jt[t.cardHeader]}%`, onChange: (c) => n({ headerStrength: c }) }) })
5340
5360
  ] }),
5341
5361
  e === "nested" && /* @__PURE__ */ p(ge, { children: [
5342
5362
  /* @__PURE__ */ i(
@@ -5363,7 +5383,7 @@ function fl() {
5363
5383
  ] })
5364
5384
  ] });
5365
5385
  }
5366
- function hl() {
5386
+ function ml() {
5367
5387
  const [e, r] = Z("rows"), t = j((o) => o.settings), n = j((o) => o.set);
5368
5388
  return /* @__PURE__ */ p(ge, { children: [
5369
5389
  /* @__PURE__ */ i(dt, { active: e, onChange: r, tabs: [
@@ -5430,7 +5450,7 @@ function hl() {
5430
5450
  ] });
5431
5451
  }
5432
5452
  const Hr = { compact: 0.82, default: 1, comfortable: 1.16 };
5433
- function gl() {
5453
+ function yl() {
5434
5454
  const [e, r] = Z("shape"), t = j((c) => c.settings), n = j((c) => c.set), o = De(t.mode), s = t.densityScale > 0 ? t.densityScale : Math.round((Hr[t.density] ?? 1) * 100), a = t.cardGapPx > 0 ? t.cardGapPx : Math.round(16 * (Hr[t.density] ?? 1)), l = t.containerPadPx > 0 ? t.containerPadPx : Math.round(10 * (Hr[t.density] ?? 1));
5435
5455
  return /* @__PURE__ */ p(ge, { children: [
5436
5456
  /* @__PURE__ */ i(dt, { active: e, onChange: r, tabs: [
@@ -5484,7 +5504,7 @@ function gl() {
5484
5504
  ] })
5485
5505
  ] });
5486
5506
  }
5487
- function ml() {
5507
+ function bl() {
5488
5508
  const [e, r] = Z("placement"), t = j((o) => o.settings), n = j((o) => o.set);
5489
5509
  return /* @__PURE__ */ p(ge, { children: [
5490
5510
  /* @__PURE__ */ i(dt, { active: e, onChange: r, tabs: [
@@ -5515,7 +5535,7 @@ function ml() {
5515
5535
  ] })
5516
5536
  ] });
5517
5537
  }
5518
- function yl({ label: e, info: r, value: t, fallback: n, onChange: o, onReset: s }) {
5538
+ function xl({ label: e, info: r, value: t, fallback: n, onChange: o, onReset: s }) {
5519
5539
  const a = De(j((f) => f.settings.mode)), [l, c] = Z(null), g = t || n;
5520
5540
  return /* @__PURE__ */ p(S, { sx: { display: "flex", alignItems: "center", gap: 1, py: 0.5 }, children: [
5521
5541
  /* @__PURE__ */ i(
@@ -5530,10 +5550,10 @@ function yl({ label: e, info: r, value: t, fallback: n, onChange: o, onReset: s
5530
5550
  r && /* @__PURE__ */ i(ze, { title: r, arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: /* @__PURE__ */ i(S, { component: "span", sx: { width: 13, height: 13, borderRadius: "50%", border: `1.1px solid ${a.chevron}`, color: a.chevron, fontSize: 8, fontWeight: 800, fontStyle: "italic", fontFamily: "Georgia, serif", display: "inline-grid", placeItems: "center", cursor: "help" }, children: "i" }) })
5531
5551
  ] }),
5532
5552
  t && s && /* @__PURE__ */ i(S, { component: "span", onClick: s, title: "Reset to theme default", sx: { fontSize: 13, color: a.muted, cursor: "pointer" }, children: "↺" }),
5533
- /* @__PURE__ */ i(ri, { open: !!l, anchorEl: l, onClose: () => c(null), anchorOrigin: { vertical: "bottom", horizontal: "right" }, children: /* @__PURE__ */ i(S, { sx: { p: 1 }, children: /* @__PURE__ */ i("input", { type: "color", value: g, onChange: (f) => o(f.target.value), style: { width: 160, height: 40, border: "none", background: "none" } }) }) })
5553
+ /* @__PURE__ */ i(oi, { open: !!l, anchorEl: l, onClose: () => c(null), anchorOrigin: { vertical: "bottom", horizontal: "right" }, children: /* @__PURE__ */ i(S, { sx: { p: 1 }, children: /* @__PURE__ */ i("input", { type: "color", value: g, onChange: (f) => o(f.target.value), style: { width: 160, height: 40, border: "none", background: "none" } }) }) })
5534
5554
  ] });
5535
5555
  }
5536
- function bl({ src: e, aspect: r, onCancel: t, onConfirm: n }) {
5556
+ function vl({ src: e, aspect: r, onCancel: t, onConfirm: n }) {
5537
5557
  const [o, s] = Z(1), [a, l] = Z({ x: 0, y: 0 }), c = Te(null), g = Te(null), f = Te(null), m = Te(null);
5538
5558
  _e(() => {
5539
5559
  const x = (b) => {
@@ -5567,7 +5587,7 @@ function bl({ src: e, aspect: r, onCancel: t, onConfirm: n }) {
5567
5587
  n(e);
5568
5588
  }
5569
5589
  };
5570
- return ai(
5590
+ return li(
5571
5591
  /* @__PURE__ */ i(S, { sx: { position: "fixed", inset: 0, zIndex: 1400, bgcolor: "rgba(15,23,42,.6)", display: "flex", alignItems: "center", justifyContent: "center", p: 2.25, overflow: "auto" }, children: /* @__PURE__ */ p(S, { sx: { width: "100%", maxWidth: 320, bgcolor: "background.paper", border: "1px solid", borderColor: "divider", borderRadius: 3, boxShadow: "0 20px 50px rgba(15,23,42,.4)", p: 2 }, children: [
5572
5592
  /* @__PURE__ */ i(ue, { sx: { fontSize: 14, fontWeight: 800, mb: 0.5 }, children: "Adjust brand image" }),
5573
5593
  /* @__PURE__ */ i(ue, { sx: { fontSize: 11.5, color: "text.secondary", mb: 1.5, lineHeight: 1.45 }, children: "Drag and zoom to fit your image inside the bright frame. Anything in the dimmed area is cropped out." }),
@@ -5577,7 +5597,7 @@ function bl({ src: e, aspect: r, onCancel: t, onConfirm: n }) {
5577
5597
  ] }),
5578
5598
  /* @__PURE__ */ p(S, { sx: { display: "flex", alignItems: "center", gap: 1, my: 1.5 }, children: [
5579
5599
  /* @__PURE__ */ i(ue, { sx: { fontSize: 12, fontWeight: 700, color: "text.secondary" }, children: "Zoom" }),
5580
- /* @__PURE__ */ i(ni, { size: "small", min: 0.3, max: 4, step: 0.02, value: o, onChange: (x, u) => s(u) })
5600
+ /* @__PURE__ */ i(ii, { size: "small", min: 0.3, max: 4, step: 0.02, value: o, onChange: (x, u) => s(u) })
5581
5601
  ] }),
5582
5602
  /* @__PURE__ */ p(S, { sx: { display: "flex", gap: 1 }, children: [
5583
5603
  /* @__PURE__ */ i(S, { component: "button", onClick: t, sx: { flex: 1, p: 1.25, borderRadius: 2.5, border: "1px solid", borderColor: "divider", bgcolor: "action.hover", color: "text.secondary", fontSize: 12.5, fontWeight: 700, cursor: "pointer" }, children: "Cancel" }),
@@ -5587,7 +5607,7 @@ function bl({ src: e, aspect: r, onCancel: t, onConfirm: n }) {
5587
5607
  document.body
5588
5608
  );
5589
5609
  }
5590
- function xl() {
5610
+ function Sl() {
5591
5611
  const e = j((f) => f.settings), r = j((f) => f.set), t = De(e.mode), [n, o] = Z(null), s = (f, m) => {
5592
5612
  var x;
5593
5613
  const y = (x = f.target.files) == null ? void 0 : x[0];
@@ -5619,12 +5639,12 @@ function xl() {
5619
5639
  ] }),
5620
5640
  /* @__PURE__ */ p(S, { children: [
5621
5641
  /* @__PURE__ */ i(ue, { variant: "caption", sx: { ...l, color: t.label2, display: "block", mb: 0.5 }, children: "Panel Colour" }),
5622
- /* @__PURE__ */ i(yl, { label: "Login panel background", value: e.loginPanelColor, fallback: e.primaryHex, onChange: (f) => r({ loginPanelColor: f }), onReset: () => r({ loginPanelColor: "" }) })
5642
+ /* @__PURE__ */ i(xl, { label: "Login panel background", value: e.loginPanelColor, fallback: e.primaryHex, onChange: (f) => r({ loginPanelColor: f }), onReset: () => r({ loginPanelColor: "" }) })
5623
5643
  ] }),
5624
- n && /* @__PURE__ */ i(bl, { src: n.src, aspect: n.aspect, onCancel: () => o(null), onConfirm: a })
5644
+ n && /* @__PURE__ */ i(vl, { src: n.src, aspect: n.aspect, onCancel: () => o(null), onConfirm: a })
5625
5645
  ] });
5626
5646
  }
5627
- const vl = [
5647
+ const Cl = [
5628
5648
  { key: "dashboard", label: "Dashboard" },
5629
5649
  { key: "orders", label: "Orders" },
5630
5650
  { key: "reports", label: "Reports" },
@@ -5632,14 +5652,14 @@ const vl = [
5632
5652
  { key: "operations", label: "Operations" },
5633
5653
  { key: "components", label: "Components" },
5634
5654
  { key: "login", label: "Login" }
5635
- ], Sl = [
5655
+ ], wl = [
5636
5656
  { key: "dashboard", label: "Dashboard" },
5637
5657
  { key: "operations", label: "Operations" },
5638
5658
  { key: "cameras", label: "Cameras" },
5639
5659
  { key: "reports", label: "Reports" },
5640
5660
  { key: "orders", label: "Orders" },
5641
5661
  { key: "components", label: "Components" }
5642
- ], ot = co((e) => ({
5662
+ ], ot = uo((e) => ({
5643
5663
  openSection: "",
5644
5664
  setOpenSection: (r) => e({ openSection: r }),
5645
5665
  previewScreen: "dashboard",
@@ -5649,12 +5669,12 @@ const vl = [
5649
5669
  studioOpen: !0,
5650
5670
  setStudioOpen: (r) => e({ studioOpen: r })
5651
5671
  }));
5652
- function Cl({ onClose: e }) {
5672
+ function kl({ onClose: e }) {
5653
5673
  var M, w, O, F;
5654
5674
  const r = ot((E) => E.openSection), t = ot((E) => E.setOpenSection), n = ot((E) => E.setPreviewScreen), o = ot((E) => E.previewScreen), s = ot((E) => E.previewMenuOpen), a = ot((E) => E.setPreviewMenuOpen), l = j((E) => E.settings), c = j((E) => E.savedThemes), g = j((E) => E.editingSavedId), f = j((E) => E.isDirty), m = j((E) => E.set), y = j((E) => E.reset), h = De(l.mode), x = Te("theme"), [u, b] = Z(!1), v = (E, W) => {
5655
5675
  const te = r !== E;
5656
5676
  t(te ? E : ""), a(!1), te && x.current !== E && (n(W), x.current = E);
5657
- }, $ = ((M = c.find((E) => E.id === g)) == null ? void 0 : M.name) || ((w = Zt.find((E) => E.id === l.presetId)) == null ? void 0 : w.name) || ((O = c.find((E) => E.id === l.presetId)) == null ? void 0 : O.name) || "Custom Theme", H = f(), C = ((F = Zt.find((E) => E.id === Oe.presetId)) == null ? void 0 : F.name) ?? "default", k = { fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }, R = ({ children: E }) => /* @__PURE__ */ i("svg", { width: "18", height: "18", viewBox: "0 0 24 24", ...k, children: E }), z = /* @__PURE__ */ p(R, { children: [
5677
+ }, $ = ((M = c.find((E) => E.id === g)) == null ? void 0 : M.name) || ((w = $t.find((E) => E.id === l.presetId)) == null ? void 0 : w.name) || ((O = c.find((E) => E.id === l.presetId)) == null ? void 0 : O.name) || "Custom Theme", H = f(), C = ((F = $t.find((E) => E.id === Oe.presetId)) == null ? void 0 : F.name) ?? "default", k = { fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }, R = ({ children: E }) => /* @__PURE__ */ i("svg", { width: "18", height: "18", viewBox: "0 0 24 24", ...k, children: E }), z = /* @__PURE__ */ p(R, { children: [
5658
5678
  /* @__PURE__ */ i("circle", { cx: "13.5", cy: "6.5", r: "2.5" }),
5659
5679
  /* @__PURE__ */ i("circle", { cx: "17.5", cy: "10.5", r: "2.5" }),
5660
5680
  /* @__PURE__ */ i("circle", { cx: "8.5", cy: "7.5", r: "2.5" }),
@@ -5693,14 +5713,14 @@ function Cl({ onClose: e }) {
5693
5713
  notif: `${q[l.notifPosition] ?? ""} · ${N(l.notifStyle)}`,
5694
5714
  login: `${D[l.loginLayout] ?? ""}${l.loginImage ? " · image" : ""}`
5695
5715
  }, G = [
5696
- { id: "theme", title: "Theme Settings", info: "Presets, saved themes & light/dark mode.", icon: z, screen: "dashboard", body: /* @__PURE__ */ i(Qs, {}) },
5697
- { id: "color", title: "Colour Settings", info: "Brand, text & status colours.", icon: B, screen: "components", body: /* @__PURE__ */ i(rl, {}) },
5698
- { id: "type", title: "Typography", info: "Fonts, sizes, weight & line-height.", icon: X, screen: "components", body: /* @__PURE__ */ i(pl, {}) },
5699
- { id: "cards", title: "Cards", info: "Card style, header, nesting & tint.", icon: Q, screen: "dashboard", body: /* @__PURE__ */ i(fl, {}) },
5700
- { id: "tables", title: "Tables", info: "Row/column density, dividers & alignment.", icon: Y, screen: "orders", body: /* @__PURE__ */ i(hl, {}) },
5701
- { id: "shape", title: "Surface & Shape", info: "Radius, density, elevation & spacing.", icon: d, screen: "dashboard", body: /* @__PURE__ */ i(gl, {}) },
5702
- { id: "notif", title: "Notifications", info: "Toast placement & behaviour.", icon: I, screen: "operations", body: /* @__PURE__ */ i(ml, {}) },
5703
- { id: "login", title: "Login Screen", info: "Brand image, logo & panel colour.", icon: A, screen: "login", body: /* @__PURE__ */ i(xl, {}) }
5716
+ { id: "theme", title: "Theme Settings", info: "Presets, saved themes & light/dark mode.", icon: z, screen: "dashboard", body: /* @__PURE__ */ i(el, {}) },
5717
+ { id: "color", title: "Colour Settings", info: "Brand, text & status colours.", icon: B, screen: "components", body: /* @__PURE__ */ i(ol, {}) },
5718
+ { id: "type", title: "Typography", info: "Fonts, sizes, weight & line-height.", icon: X, screen: "components", body: /* @__PURE__ */ i(fl, {}) },
5719
+ { id: "cards", title: "Cards", info: "Card style, header, nesting & tint.", icon: Q, screen: "dashboard", body: /* @__PURE__ */ i(gl, {}) },
5720
+ { id: "tables", title: "Tables", info: "Row/column density, dividers & alignment.", icon: Y, screen: "orders", body: /* @__PURE__ */ i(ml, {}) },
5721
+ { id: "shape", title: "Surface & Shape", info: "Radius, density, elevation & spacing.", icon: d, screen: "dashboard", body: /* @__PURE__ */ i(yl, {}) },
5722
+ { id: "notif", title: "Notifications", info: "Toast placement & behaviour.", icon: I, screen: "operations", body: /* @__PURE__ */ i(bl, {}) },
5723
+ { id: "login", title: "Login Screen", info: "Brand image, logo & panel colour.", icon: A, screen: "login", body: /* @__PURE__ */ i(Sl, {}) }
5704
5724
  ];
5705
5725
  return /* @__PURE__ */ p(S, { sx: { display: "flex", flexDirection: "column", bgcolor: h.card }, children: [
5706
5726
  /* @__PURE__ */ p(S, { sx: { display: "flex", alignItems: "center", gap: 1, px: 1.5, py: 1.1, borderBottom: `1px solid ${h.divider}`, bgcolor: h.card }, children: [
@@ -5712,12 +5732,12 @@ function Cl({ onClose: e }) {
5712
5732
  /* @__PURE__ */ i(ue, { variant: "caption", sx: { minWidth: 0, fontWeight: 800, color: h.text, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: $ }),
5713
5733
  H && /* @__PURE__ */ i(ze, { title: "Unsaved changes", arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: /* @__PURE__ */ i(S, { component: "span", sx: { width: 6, height: 6, borderRadius: "50%", bgcolor: "error.main", flexShrink: 0 } }) })
5714
5734
  ] }),
5715
- /* @__PURE__ */ i(ze, { title: "Reset to defaults", arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: /* @__PURE__ */ i($r, { size: "small", onClick: () => b(!0), sx: { bgcolor: "action.selected" }, children: /* @__PURE__ */ i(Ls, { sx: { fontSize: 16 } }) }) }),
5716
- /* @__PURE__ */ i(ze, { title: l.mode === "dark" ? "Switch to light" : "Switch to dark", arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: /* @__PURE__ */ i($r, { size: "small", onClick: () => m({ mode: l.mode === "dark" ? "light" : "dark" }), sx: { bgcolor: "action.selected" }, children: l.mode === "dark" ? /* @__PURE__ */ i(js, { sx: { fontSize: 16 } }) : /* @__PURE__ */ i(Ns, { sx: { fontSize: 16 } }) }) })
5735
+ /* @__PURE__ */ i(ze, { title: "Reset to defaults", arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: /* @__PURE__ */ i($r, { size: "small", onClick: () => b(!0), sx: { bgcolor: "action.selected" }, children: /* @__PURE__ */ i(js, { sx: { fontSize: 16 } }) }) }),
5736
+ /* @__PURE__ */ i(ze, { title: l.mode === "dark" ? "Switch to light" : "Switch to dark", arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: /* @__PURE__ */ i($r, { size: "small", onClick: () => m({ mode: l.mode === "dark" ? "light" : "dark" }), sx: { bgcolor: "action.selected" }, children: l.mode === "dark" ? /* @__PURE__ */ i(Us, { sx: { fontSize: 16 } }) : /* @__PURE__ */ i(Vs, { sx: { fontSize: 16 } }) }) })
5717
5737
  ] }),
5718
5738
  s && /* @__PURE__ */ p(S, { sx: { borderBottom: "1px solid", borderColor: "divider", borderLeft: "3px solid #eab308", bgcolor: (E) => E.palette.mode === "dark" ? "rgba(234,179,8,0.14)" : "#fef9c3", px: 1.6, py: 1.5 }, children: [
5719
5739
  /* @__PURE__ */ i(ue, { sx: { fontSize: 10, fontWeight: 800, textTransform: "uppercase", letterSpacing: ".6px", color: (E) => E.palette.mode === "dark" ? "#f2cd5c" : "#854d0e", mb: 1 }, children: "Previewing Screen" }),
5720
- /* @__PURE__ */ i(S, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr 1fr", gap: 0.75 }, children: Sl.map((E) => {
5740
+ /* @__PURE__ */ i(S, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr 1fr", gap: 0.75 }, children: wl.map((E) => {
5721
5741
  const W = o === E.key;
5722
5742
  return /* @__PURE__ */ i(
5723
5743
  S,
@@ -5748,7 +5768,7 @@ function Cl({ onClose: e }) {
5748
5768
  }) })
5749
5769
  ] }),
5750
5770
  G.map((E) => /* @__PURE__ */ i(
5751
- Xs,
5771
+ Zs,
5752
5772
  {
5753
5773
  icon: E.icon,
5754
5774
  title: E.title,
@@ -5777,7 +5797,7 @@ function Cl({ onClose: e }) {
5777
5797
  ] })
5778
5798
  ] });
5779
5799
  }
5780
- const wl = Bt(/* @__PURE__ */ i("path", {
5800
+ const Tl = It(/* @__PURE__ */ i("path", {
5781
5801
  d: "M21 2H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h7v2H8v2h8v-2h-2v-2h7c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H3V4h18z"
5782
5802
  }), "DesktopWindowsOutlined");
5783
5803
  function Gr(e, r, t) {
@@ -5801,7 +5821,7 @@ function Gr(e, r, t) {
5801
5821
  };
5802
5822
  }, [r, t]), [n, o];
5803
5823
  }
5804
- function uo(e, r, t) {
5824
+ function ho(e, r, t) {
5805
5825
  const n = Te(null), o = Te(null), [s, a] = Z(e);
5806
5826
  return Fr(() => {
5807
5827
  const l = o.current;
@@ -5818,8 +5838,8 @@ function uo(e, r, t) {
5818
5838
  };
5819
5839
  }, [r, t]), [n, o, s];
5820
5840
  }
5821
- const kl = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"], Tl = [44, 60, 50, 74, 88, 96], Rl = [24, 32, 30, 42, 52, 60];
5822
- function El() {
5841
+ const Rl = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"], El = [44, 60, 50, 74, 88, 96], Hl = [24, 32, 30, 42, 52, 60];
5842
+ function Pl() {
5823
5843
  const e = we(), r = j((M) => M.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: c, tH1: g, tH2: f, tTitle: m, tH4: y, wH1: h, headFam: x, headLH: u, accentBg: b, btnText: v, tBodySm: $, bwEmph: H, btnCase: C, bodyWeightEff: k, bodyLH: R, tCaption: z, pMain: B, sMain: X } = e, Q = x + ",sans-serif", Y = r.fontFamily + ",sans-serif", d = e.hc1 || t.textPrimary, I = e.hc2 || t.textPrimary, A = e.hc3 || t.textPrimary, L = [
5824
5844
  { label: "Revenue", val: "$2.41M", chg: "+12.5%", up: !0 },
5825
5845
  { label: "Open Orders", val: "1,284", chg: "+3.2%", up: !0 },
@@ -5876,10 +5896,10 @@ function El() {
5876
5896
  /* @__PURE__ */ i("span", { style: { fontSize: z, color: t.textSecondary }, children: M })
5877
5897
  ] }, M)) })
5878
5898
  ] }),
5879
- /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, display: "flex", alignItems: "flex-end", gap: 12, flex: 1, minHeight: 200 }, children: kl.map((M, w) => /* @__PURE__ */ p("div", { style: { flex: 1, display: "flex", flexDirection: "column", alignItems: "center", gap: 6, height: "100%" }, children: [
5899
+ /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, display: "flex", alignItems: "flex-end", gap: 12, flex: 1, minHeight: 200 }, children: Rl.map((M, w) => /* @__PURE__ */ p("div", { style: { flex: 1, display: "flex", flexDirection: "column", alignItems: "center", gap: 6, height: "100%" }, children: [
5880
5900
  /* @__PURE__ */ p("div", { style: { width: "100%", display: "flex", flexDirection: "column", justifyContent: "flex-end", gap: 3, flex: 1 }, children: [
5881
- /* @__PURE__ */ i("div", { style: { width: "100%", height: Rl[w] + "%", background: X, opacity: 0.55, borderRadius: `${o} ${o} 0 0` } }),
5882
- /* @__PURE__ */ i("div", { style: { width: "100%", height: Tl[w] + "%", background: B, borderRadius: `${o} ${o} 0 0` } })
5901
+ /* @__PURE__ */ i("div", { style: { width: "100%", height: Hl[w] + "%", background: X, opacity: 0.55, borderRadius: `${o} ${o} 0 0` } }),
5902
+ /* @__PURE__ */ i("div", { style: { width: "100%", height: El[w] + "%", background: B, borderRadius: `${o} ${o} 0 0` } })
5883
5903
  ] }),
5884
5904
  /* @__PURE__ */ i("span", { style: { fontSize: z, color: t.textSecondary }, children: M })
5885
5905
  ] }, M)) })
@@ -5898,7 +5918,7 @@ function El() {
5898
5918
  ] })
5899
5919
  ] });
5900
5920
  }
5901
- const Hl = [
5921
+ const $l = [
5902
5922
  { id: "ORD-1042", cust: "Acme Corporation", status: "Delivered", amt: "$12,400", date: "Jun 18" },
5903
5923
  { id: "ORD-1041", cust: "Globex Ltd", status: "Processing", amt: "$8,750", date: "Jun 17" },
5904
5924
  { id: "ORD-1040", cust: "Initech", status: "Pending", amt: "$5,200", date: "Jun 16" },
@@ -5916,8 +5936,8 @@ const Hl = [
5916
5936
  { id: "ORD-1028", cust: "Gekko & Co", status: "Delivered", amt: "$25,300", date: "Jun 04" },
5917
5937
  { id: "ORD-1027", cust: "Bluth Company", status: "Processing", amt: "$6,410", date: "Jun 03" }
5918
5938
  ], Pr = "100px 1fr 120px 100px 80px 70px";
5919
- function Pl() {
5920
- const e = we(), r = j((J) => J.settings), { t, rad: n, radSm: o, pad: s, padSm: a, screenPad: l, rowPy: c, tH1: g, wH1: f, headFam: m, headLH: y, accentBg: h, btnText: x, btnShadow: u, tBody: b, tBodySm: v, tCaption: $, tOverline: H, bwEmph: C, btnCase: k, bodyWeightEff: R, pMain: z, table: B } = e, X = m + ",sans-serif", Q = r.fontFamily + ",sans-serif", Y = e.hc1 || t.textPrimary, [d, I, A] = uo(12, 3, 16), L = Hl.slice(0, A).map((J, P) => ({
5939
+ function Al() {
5940
+ const e = we(), r = j((J) => J.settings), { t, rad: n, radSm: o, pad: s, padSm: a, screenPad: l, rowPy: c, tH1: g, wH1: f, headFam: m, headLH: y, accentBg: h, btnText: x, btnShadow: u, tBody: b, tBodySm: v, tCaption: $, tOverline: H, bwEmph: C, btnCase: k, bodyWeightEff: R, pMain: z, table: B } = e, X = m + ",sans-serif", Q = r.fontFamily + ",sans-serif", Y = e.hc1 || t.textPrimary, [d, I, A] = ho(12, 3, 16), L = $l.slice(0, A).map((J, P) => ({
5921
5941
  ...J,
5922
5942
  ...B.statusMap[J.status] || { sb: t.divider, sc: t.textSecondary },
5923
5943
  rowBg: r.tableStripe && P % 2 === 1 ? B.stripeBg : "transparent"
@@ -5986,7 +6006,7 @@ function Pl() {
5986
6006
  ] }) })
5987
6007
  ] });
5988
6008
  }
5989
- function $l() {
6009
+ function Bl() {
5990
6010
  const e = we(), r = j((ee) => ee.settings), {
5991
6011
  t,
5992
6012
  rad: n,
@@ -6034,7 +6054,7 @@ function $l() {
6034
6054
  /* @__PURE__ */ i("div", { style: { width: 16, height: 16, borderRadius: "50%", border: "2px solid " + (ee ? V : t.outline), display: "grid", placeItems: "center", flexShrink: 0 }, children: ee && /* @__PURE__ */ i("div", { style: { width: 8, height: 8, borderRadius: "50%", background: V } }) }),
6035
6055
  /* @__PURE__ */ i("span", { style: { flex: 1, fontSize: b, fontFamily: q, fontWeight: ee ? B : Q, color: t.textPrimary }, children: ee ? "Selected item" : "Unselected item" }),
6036
6056
  ee && /* @__PURE__ */ i("span", { style: { fontSize: v, fontFamily: q, fontWeight: B, color: t.textSecondary }, children: "Active" })
6037
- ] }), It = (ee, St, Ct) => /* @__PURE__ */ p("div", { style: { position: "relative", border: ee ? "2px solid " + d : "1.5px solid " + t.outline, borderRadius: o, padding: "12px 13px" }, children: [
6057
+ ] }), Ot = (ee, St, Ct) => /* @__PURE__ */ p("div", { style: { position: "relative", border: ee ? "2px solid " + d : "1.5px solid " + t.outline, borderRadius: o, padding: "12px 13px" }, children: [
6038
6058
  /* @__PURE__ */ i("span", { style: { position: "absolute", top: -8, left: 10, background: t.paper, padding: "0 5px", fontSize: v, color: ee ? d : t.textSecondary, fontWeight: ee ? B : void 0 }, children: St }),
6039
6059
  /* @__PURE__ */ i("span", { style: { fontSize: u, color: ee ? t.textPrimary : t.textSecondary }, children: Ct })
6040
6060
  ] }), et = (ee, St, Ct) => /* @__PURE__ */ i("span", { style: { padding: "5px 13px", borderRadius: 999, background: ee, color: St, fontSize: v, fontWeight: B }, children: Ct }), Ue = (ee) => ({ padding: "9px 20px", borderRadius: o, fontSize: b, fontWeight: B, textTransform: X, letterSpacing: ".4px", cursor: "pointer", ...ee });
@@ -6096,8 +6116,8 @@ function $l() {
6096
6116
  /* @__PURE__ */ i("div", { style: Ze, children: /* @__PURE__ */ i("span", { style: Be, children: "Inputs & Selection" }) }),
6097
6117
  /* @__PURE__ */ p("div", { style: { padding: s }, children: [
6098
6118
  /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: l, marginBottom: l }, children: [
6099
- It(!1, "Outlined", "Placeholder…"),
6100
- It(!0, "Focused", "Active value")
6119
+ Ot(!1, "Outlined", "Placeholder…"),
6120
+ Ot(!0, "Focused", "Active value")
6101
6121
  ] }),
6102
6122
  /* @__PURE__ */ p("div", { style: { display: "flex", gap: 22, alignItems: "center", flexWrap: "wrap", paddingTop: a, borderTop: "1px solid " + t.divider }, children: [
6103
6123
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
@@ -6148,19 +6168,19 @@ function $l() {
6148
6168
  ] })
6149
6169
  ] });
6150
6170
  }
6151
- const Al = [
6171
+ const Il = [
6152
6172
  { label: "Cameras Online", val: "5 / 6" },
6153
6173
  { label: "Recording", val: "4" },
6154
6174
  { label: "Motion Alerts", val: "2" },
6155
6175
  { label: "Storage Used", val: "82%" }
6156
- ], Bl = [
6176
+ ], Ol = [
6157
6177
  { name: "CAM 01", loc: "Main Lobby", rec: !0, online: !0, time: "14:32:08" },
6158
6178
  { name: "CAM 02", loc: "North Gate", rec: !0, online: !0, time: "14:32:08" },
6159
6179
  { name: "CAM 03", loc: "Loading Bay", rec: !1, online: !0, time: "14:32:07" },
6160
6180
  { name: "CAM 04", loc: "Rooftop", rec: !0, online: !0, time: "14:32:08" },
6161
6181
  { name: "CAM 05", loc: "Parking Deck", rec: !1, online: !1, time: "—" },
6162
6182
  { name: "CAM 06", loc: "Server Room", rec: !0, online: !0, time: "14:32:08" }
6163
- ], Il = [
6183
+ ], Dl = [
6164
6184
  { cam: "CAM 04", label: "Motion detected — Rooftop", time: "just now", sev: "error" },
6165
6185
  { cam: "CAM 02", label: "Person identified — North Gate", time: "6m ago", sev: "info" },
6166
6186
  { cam: "CAM 01", label: "Loitering cleared — Main Lobby", time: "22m ago", sev: "success" },
@@ -6178,8 +6198,8 @@ const Al = [
6178
6198
  { cam: "CAM 04", label: "Perimeter breach — Rooftop", time: "7h ago", sev: "error" },
6179
6199
  { cam: "CAM 03", label: "Package scanned — Loading Bay", time: "8h ago", sev: "info" }
6180
6200
  ];
6181
- function Ol() {
6182
- const e = we(), r = j((F) => F.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: c, tH1: g, tH2: f, tTitle: m, wH1: y, headFam: h, headLH: x, accentBg: u, btnText: b, btnShadow: v, tBodySm: $, tCaption: H, tOverline: C, bwEmph: k, btnCase: R, bodyWeightEff: z, errSoft: B, errTxt: X, mediaBg: Q, overlaySurface: Y, overlayBorder: d, onOverlay: I, sevMap: A } = e, L = h + ",sans-serif", N = r.fontFamily + ",sans-serif", K = e.hc1 || t.textPrimary, U = e.hc2 || t.textPrimary, J = e.hc3 || t.textPrimary, P = e.cardBorder === "none" ? "none" : e.cardBorder, D = Bl.map((F) => ({ ...F, dotC: F.online ? r.successHex : t.textDisabled })), [q, V] = Gr(3, 3, 16), G = Il.slice(0, V).map((F) => ({ ...F, ...A[F.sev] })), M = { background: t.paper, border: P, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, w = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, O = { fontSize: m, lineHeight: x, fontWeight: y, color: J, fontFamily: L };
6201
+ function Ml() {
6202
+ const e = we(), r = j((F) => F.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: c, tH1: g, tH2: f, tTitle: m, wH1: y, headFam: h, headLH: x, accentBg: u, btnText: b, btnShadow: v, tBodySm: $, tCaption: H, tOverline: C, bwEmph: k, btnCase: R, bodyWeightEff: z, errSoft: B, errTxt: X, mediaBg: Q, overlaySurface: Y, overlayBorder: d, onOverlay: I, sevMap: A } = e, L = h + ",sans-serif", N = r.fontFamily + ",sans-serif", K = e.hc1 || t.textPrimary, U = e.hc2 || t.textPrimary, J = e.hc3 || t.textPrimary, P = e.cardBorder === "none" ? "none" : e.cardBorder, D = Ol.map((F) => ({ ...F, dotC: F.online ? r.successHex : t.textDisabled })), [q, V] = Gr(3, 3, 16), G = Dl.slice(0, V).map((F) => ({ ...F, ...A[F.sev] })), M = { background: t.paper, border: P, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, w = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, O = { fontSize: m, lineHeight: x, fontWeight: y, color: J, fontFamily: L };
6183
6203
  return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: P, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: N, fontWeight: z, color: t.textPrimary }, children: [
6184
6204
  /* @__PURE__ */ p("div", { style: { padding: s, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "flex-start", justifyContent: "space-between", gap: 14 }, children: [
6185
6205
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
@@ -6195,7 +6215,7 @@ function Ol() {
6195
6215
  ] })
6196
6216
  ] }),
6197
6217
  /* @__PURE__ */ p("div", { style: { padding: c, background: t.bgDefault, display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: [
6198
- /* @__PURE__ */ i("div", { style: { display: "grid", gridTemplateColumns: "repeat(4,1fr)", gap: l, marginBottom: l }, children: Al.map((F) => /* @__PURE__ */ p("div", { style: M, children: [
6218
+ /* @__PURE__ */ i("div", { style: { display: "grid", gridTemplateColumns: "repeat(4,1fr)", gap: l, marginBottom: l }, children: Il.map((F) => /* @__PURE__ */ p("div", { style: M, children: [
6199
6219
  /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ i("span", { style: { fontSize: C, color: t.textSecondary, textTransform: "uppercase", letterSpacing: ".6px", fontWeight: k }, children: F.label }) }),
6200
6220
  /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px` }, children: /* @__PURE__ */ i("div", { style: { fontSize: f, fontWeight: y, color: U, letterSpacing: "-.8px", lineHeight: 1 }, children: F.val }) })
6201
6221
  ] }, F.label)) }),
@@ -6236,7 +6256,7 @@ function Ol() {
6236
6256
  ] })
6237
6257
  ] });
6238
6258
  }
6239
- const Dl = [
6259
+ const Fl = [
6240
6260
  { ic: "!", label: "Camera 04 motion detected — Loading Bay", time: "just now", sev: "error", unread: !0 },
6241
6261
  { ic: "✓", label: "Stream reconnected — North Gate feed", time: "4m ago", sev: "success", unread: !0 },
6242
6262
  { ic: "i", label: "Access request — J. Okoro (Operator)", time: "22m ago", sev: "info", unread: !1 },
@@ -6254,8 +6274,8 @@ const Dl = [
6254
6274
  { ic: "i", label: "Analytics model updated — v2.4.1", time: "16h ago", sev: "info", unread: !1 },
6255
6275
  { ic: "!", label: "Disk latency elevated — NVR-02", time: "18h ago", sev: "warning", unread: !1 }
6256
6276
  ];
6257
- function Ml() {
6258
- const e = we(), r = j((O) => O.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: c, tH1: g, tTitle: f, wH1: m, headFam: y, headLH: h, accentBg: x, btnText: u, tBodySm: b, tCaption: v, tOverline: $, bwEmph: H, bodyWeightEff: C, bodyLH: k, errSoft: R, errTxt: z, pMain: B, mediaBg: X, overlaySurface: Q, overlayBorder: Y, onOverlay: d, sevMap: I } = e, A = y + ",sans-serif", L = r.fontFamily + ",sans-serif", N = e.hc1 || t.textPrimary, K = e.hc3 || t.textPrimary, U = e.cardBorder === "none" ? "none" : e.cardBorder, [J, P] = Gr(7, 4, 16), D = Dl.slice(0, P).map((O) => ({ ...O, ...I[O.sev], rowBg: O.unread ? de(r.primaryHex, e.isDark ? 0.12 : 0.05) : "transparent" })), q = D.filter((O) => O.unread).length, V = { display: "flex", flexDirection: "column", minHeight: 0, background: t.paper, border: U, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, G = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, M = { fontSize: f, lineHeight: h, fontWeight: m, color: K, fontFamily: A }, w = { height: 30, borderRadius: o, border: "none", background: "rgba(255,255,255,.14)", color: d, fontSize: v, fontWeight: H, cursor: "pointer", fontFamily: "inherit" };
6277
+ function Wl() {
6278
+ const e = we(), r = j((O) => O.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: c, tH1: g, tTitle: f, wH1: m, headFam: y, headLH: h, accentBg: x, btnText: u, tBodySm: b, tCaption: v, tOverline: $, bwEmph: H, bodyWeightEff: C, bodyLH: k, errSoft: R, errTxt: z, pMain: B, mediaBg: X, overlaySurface: Q, overlayBorder: Y, onOverlay: d, sevMap: I } = e, A = y + ",sans-serif", L = r.fontFamily + ",sans-serif", N = e.hc1 || t.textPrimary, K = e.hc3 || t.textPrimary, U = e.cardBorder === "none" ? "none" : e.cardBorder, [J, P] = Gr(7, 4, 16), D = Fl.slice(0, P).map((O) => ({ ...O, ...I[O.sev], rowBg: O.unread ? de(r.primaryHex, e.isDark ? 0.12 : 0.05) : "transparent" })), q = D.filter((O) => O.unread).length, V = { display: "flex", flexDirection: "column", minHeight: 0, background: t.paper, border: U, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, G = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, M = { fontSize: f, lineHeight: h, fontWeight: m, color: K, fontFamily: A }, w = { height: 30, borderRadius: o, border: "none", background: "rgba(255,255,255,.14)", color: d, fontSize: v, fontWeight: H, cursor: "pointer", fontFamily: "inherit" };
6259
6279
  return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: U, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: L, fontWeight: C, color: t.textPrimary }, children: [
6260
6280
  /* @__PURE__ */ i("div", { style: { padding: s, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
6261
6281
  /* @__PURE__ */ i("div", { style: { fontSize: g, lineHeight: h, fontWeight: m, color: N, letterSpacing: "-.3px", fontFamily: A }, children: "Operations Center" }),
@@ -6302,18 +6322,18 @@ function Ml() {
6302
6322
  ] }) })
6303
6323
  ] });
6304
6324
  }
6305
- const Fl = [
6325
+ const zl = [
6306
6326
  { label: "Reports Generated", val: "248" },
6307
6327
  { label: "Avg Generation", val: "1.2s" },
6308
6328
  { label: "Data Points", val: "84.2K" },
6309
6329
  { label: "Scheduled", val: "12" }
6310
- ], Wl = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"], zl = [44, 60, 50, 74, 88, 96], _l = [24, 32, 30, 42, 52, 60], Ll = [
6330
+ ], _l = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"], Ll = [44, 60, 50, 74, 88, 96], Nl = [24, 32, 30, 42, 52, 60], jl = [
6311
6331
  { l: "Reports", h: 72 },
6312
6332
  { l: "Cameras", h: 92 },
6313
6333
  { l: "Alerts", h: 40 },
6314
6334
  { l: "Users", h: 58 },
6315
6335
  { l: "Storage", h: 80 }
6316
- ], Nl = [
6336
+ ], Vl = [
6317
6337
  { name: "Q2 Revenue Summary", type: "Financial", date: "Jun 20", status: "Ready" },
6318
6338
  { name: "Camera Uptime Audit", type: "Operations", date: "Jun 19", status: "Ready" },
6319
6339
  { name: "User Access Log", type: "Security", date: "Jun 18", status: "Ready" },
@@ -6330,14 +6350,14 @@ const Fl = [
6330
6350
  { name: "Device Firmware Ledger", type: "Operations", date: "Jun 06", status: "Ready" },
6331
6351
  { name: "Access Anomaly Report", type: "Security", date: "Jun 05", status: "Ready" },
6332
6352
  { name: "Cost Allocation Summary", type: "Financial", date: "Jun 04", status: "Ready" }
6333
- ], zn = "1fr 130px 110px 90px 70px";
6334
- function jl() {
6335
- const e = we(), r = j((W) => W.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: c, tH1: g, tH2: f, tTitle: m, wH1: y, headFam: h, headLH: x, accentBg: u, btnText: b, btnShadow: v, tBody: $, tBodySm: H, tCaption: C, tOverline: k, bwEmph: R, btnCase: z, bodyWeightEff: B, pMain: X, sMain: Q, chartPalette: Y, table: d } = e, I = h + ",sans-serif", A = r.fontFamily + ",sans-serif", L = e.hc1 || t.textPrimary, N = e.hc2 || t.textPrimary, K = e.hc3 || t.textPrimary, U = e.cardBorder === "none" ? "none" : e.cardBorder, [J, P, D] = uo(5, 3, 16), q = Nl.slice(0, D).map((W, te) => ({
6353
+ ], _n = "1fr 130px 110px 90px 70px";
6354
+ function Ul() {
6355
+ const e = we(), r = j((W) => W.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: c, tH1: g, tH2: f, tTitle: m, wH1: y, headFam: h, headLH: x, accentBg: u, btnText: b, btnShadow: v, tBody: $, tBodySm: H, tCaption: C, tOverline: k, bwEmph: R, btnCase: z, bodyWeightEff: B, pMain: X, sMain: Q, chartPalette: Y, table: d } = e, I = h + ",sans-serif", A = r.fontFamily + ",sans-serif", L = e.hc1 || t.textPrimary, N = e.hc2 || t.textPrimary, K = e.hc3 || t.textPrimary, U = e.cardBorder === "none" ? "none" : e.cardBorder, [J, P, D] = ho(5, 3, 16), q = Vl.slice(0, D).map((W, te) => ({
6336
6356
  ...W,
6337
6357
  sb: W.status === "Ready" ? e.sucSoft : e.warnSoft,
6338
6358
  sc: W.status === "Ready" ? e.sucTxt : e.warnTxt,
6339
6359
  rowBg: r.tableStripe && te % 2 === 1 ? d.stripeBg : "transparent"
6340
- })), V = Ll.map((W, te) => ({ ...W, c: Y[te % Y.length] })), G = {
6360
+ })), V = jl.map((W, te) => ({ ...W, c: Y[te % Y.length] })), G = {
6341
6361
  borderRight: d.colBorder,
6342
6362
  alignSelf: "stretch",
6343
6363
  display: "flex",
@@ -6354,7 +6374,7 @@ function jl() {
6354
6374
  /* @__PURE__ */ i("button", { style: { padding: "10px 20px", borderRadius: o, border: "none", background: u, color: b, fontSize: H, fontWeight: R, textTransform: z, letterSpacing: ".4px", boxShadow: v, whiteSpace: "nowrap", cursor: "pointer" }, children: "↓ Export PDF" })
6355
6375
  ] }),
6356
6376
  /* @__PURE__ */ p("div", { style: { padding: c, background: t.bgDefault, display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: [
6357
- /* @__PURE__ */ i("div", { style: { display: "grid", gridTemplateColumns: "repeat(4,1fr)", gap: l, marginBottom: l }, children: Fl.map((W) => /* @__PURE__ */ p("div", { style: w, children: [
6377
+ /* @__PURE__ */ i("div", { style: { display: "grid", gridTemplateColumns: "repeat(4,1fr)", gap: l, marginBottom: l }, children: zl.map((W) => /* @__PURE__ */ p("div", { style: w, children: [
6358
6378
  /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ i("span", { style: { fontSize: k, color: t.textSecondary, textTransform: "uppercase", letterSpacing: ".6px", fontWeight: R }, children: W.label }) }),
6359
6379
  /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px` }, children: /* @__PURE__ */ i("div", { style: { fontSize: f, fontWeight: y, color: N, letterSpacing: "-.8px", lineHeight: 1 }, children: W.val }) })
6360
6380
  ] }, W.label)) }),
@@ -6364,10 +6384,10 @@ function jl() {
6364
6384
  /* @__PURE__ */ i("span", { style: F, children: "Revenue & Profit Trend" }),
6365
6385
  /* @__PURE__ */ i("span", { style: { fontSize: C, color: t.textSecondary, fontWeight: R }, children: "6 months" })
6366
6386
  ] }),
6367
- /* @__PURE__ */ i("div", { style: { padding: s, display: "flex", alignItems: "flex-end", gap: 12, height: 160 }, children: Wl.map((W, te) => /* @__PURE__ */ p("div", { style: { flex: 1, display: "flex", flexDirection: "column", alignItems: "center", gap: 6, height: "100%" }, children: [
6387
+ /* @__PURE__ */ i("div", { style: { padding: s, display: "flex", alignItems: "flex-end", gap: 12, height: 160 }, children: _l.map((W, te) => /* @__PURE__ */ p("div", { style: { flex: 1, display: "flex", flexDirection: "column", alignItems: "center", gap: 6, height: "100%" }, children: [
6368
6388
  /* @__PURE__ */ p("div", { style: { width: "100%", display: "flex", flexDirection: "column", justifyContent: "flex-end", gap: 3, flex: 1 }, children: [
6369
- /* @__PURE__ */ i("div", { style: { width: "100%", height: _l[te] + "%", background: Q, opacity: 0.55, borderRadius: `${o} ${o} 0 0` } }),
6370
- /* @__PURE__ */ i("div", { style: { width: "100%", height: zl[te] + "%", background: X, borderRadius: `${o} ${o} 0 0` } })
6389
+ /* @__PURE__ */ i("div", { style: { width: "100%", height: Nl[te] + "%", background: Q, opacity: 0.55, borderRadius: `${o} ${o} 0 0` } }),
6390
+ /* @__PURE__ */ i("div", { style: { width: "100%", height: Ll[te] + "%", background: X, borderRadius: `${o} ${o} 0 0` } })
6371
6391
  ] }),
6372
6392
  /* @__PURE__ */ i("span", { style: { fontSize: C, color: t.textSecondary }, children: W })
6373
6393
  ] }, W)) })
@@ -6379,11 +6399,11 @@ function jl() {
6379
6399
  ] }),
6380
6400
  /* @__PURE__ */ p("div", { style: { ...w, display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: [
6381
6401
  /* @__PURE__ */ i("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ i("span", { style: F, children: "Recent Reports" }) }),
6382
- /* @__PURE__ */ p("div", { ref: J, style: { display: "grid", gridTemplateColumns: zn, padding: `0 ${s}px`, borderBottom: d.rowBorder, background: d.headBg }, children: [
6402
+ /* @__PURE__ */ p("div", { ref: J, style: { display: "grid", gridTemplateColumns: _n, padding: `0 ${s}px`, borderBottom: d.rowBorder, background: d.headBg }, children: [
6383
6403
  ["Report", "Type", "Status", "Date"].map((W) => /* @__PURE__ */ i("div", { style: { ...E, ...G }, children: W }, W)),
6384
6404
  /* @__PURE__ */ i("div", { style: { alignSelf: "stretch", padding: `${d.rowPy} 0` } })
6385
6405
  ] }),
6386
- /* @__PURE__ */ i("div", { ref: P, style: { display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: q.map((W) => /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: zn, padding: `0 ${s}px`, borderBottom: d.rowBorder, background: W.rowBg }, children: [
6406
+ /* @__PURE__ */ i("div", { ref: P, style: { display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: q.map((W) => /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: _n, padding: `0 ${s}px`, borderBottom: d.rowBorder, background: W.rowBg }, children: [
6387
6407
  /* @__PURE__ */ i("div", { style: { ...M, fontSize: $, color: t.textPrimary, fontWeight: R }, children: W.name }),
6388
6408
  /* @__PURE__ */ i("div", { style: { ...M, fontSize: H, color: t.textSecondary }, children: W.type }),
6389
6409
  /* @__PURE__ */ i("div", { style: M, children: /* @__PURE__ */ i("span", { style: { padding: "4px 11px", borderRadius: 999, fontSize: C, fontWeight: R, background: W.sb, color: W.sc, whiteSpace: "nowrap" }, children: W.status }) }),
@@ -6394,12 +6414,12 @@ function jl() {
6394
6414
  ] })
6395
6415
  ] });
6396
6416
  }
6397
- const _n = ({ size: e }) => /* @__PURE__ */ p("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 1.6, strokeLinecap: "round", strokeLinejoin: "round", children: [
6417
+ const Ln = ({ size: e }) => /* @__PURE__ */ p("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 1.6, strokeLinecap: "round", strokeLinejoin: "round", children: [
6398
6418
  /* @__PURE__ */ i("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
6399
6419
  /* @__PURE__ */ i("circle", { cx: "8.5", cy: "8.5", r: "1.5" }),
6400
6420
  /* @__PURE__ */ i("path", { d: "m21 15-5-5L5 21" })
6401
6421
  ] });
6402
- function Vl() {
6422
+ function Gl() {
6403
6423
  const e = we(), r = j((N) => N.settings), {
6404
6424
  t,
6405
6425
  rad: n,
@@ -6442,14 +6462,14 @@ function Vl() {
6442
6462
  /* @__PURE__ */ p("div", { style: { background: Q, display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", padding: "48px 40px", gap: 22, position: "relative", overflow: "hidden" }, children: [
6443
6463
  I,
6444
6464
  !$ && /* @__PURE__ */ p("div", { style: { position: "absolute", inset: 0, display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", gap: 12, color: t.textSecondary, border: "1.5px dashed " + t.outline, padding: 24, boxSizing: "border-box" }, children: [
6445
- /* @__PURE__ */ i(_n, { size: 46 }),
6465
+ /* @__PURE__ */ i(Ln, { size: 46 }),
6446
6466
  /* @__PURE__ */ i("div", { style: { fontSize: 14, fontWeight: u, color: t.textPrimary }, children: "No brand image" }),
6447
6467
  /* @__PURE__ */ i("div", { style: { fontSize: 12, color: t.textSecondary, textAlign: "center", maxWidth: 220 }, children: "Upload an image in the Login Screen settings to fill this panel." })
6448
6468
  ] })
6449
6469
  ] }),
6450
6470
  /* @__PURE__ */ p("div", { style: { background: Y, display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", gap: 22, padding: "48px 40px" }, children: [
6451
6471
  X ? /* @__PURE__ */ i("img", { src: r.logoUrl, alt: r.appName, style: { maxHeight: 64, maxWidth: 200, objectFit: "contain" } }) : /* @__PURE__ */ p("div", { style: { display: "inline-flex", flexDirection: "column", alignItems: "center", justifyContent: "center", gap: 6, maxWidth: 200, maxHeight: 64, border: "1.5px dashed " + t.outline, borderRadius: o, boxSizing: "border-box", color: t.textSecondary, padding: "8px 16px" }, children: [
6452
- /* @__PURE__ */ i(_n, { size: 20 }),
6472
+ /* @__PURE__ */ i(Ln, { size: 20 }),
6453
6473
  /* @__PURE__ */ i("span", { style: { fontSize: g, fontWeight: u, color: t.textSecondary, whiteSpace: "nowrap" }, children: "No logo uploaded" })
6454
6474
  ] }),
6455
6475
  /* @__PURE__ */ p("div", { style: { width: "100%", maxWidth: 340, ...A }, children: [
@@ -6494,7 +6514,7 @@ function Vl() {
6494
6514
  ] })
6495
6515
  ] });
6496
6516
  }
6497
- function Ul() {
6517
+ function Yl() {
6498
6518
  const e = we(), r = j((x) => x.settings), [t, n] = Z(!1);
6499
6519
  if (t) return null;
6500
6520
  const { t: o, npos: s, nacc: a, toastDeco: l, toastBg: c, rad: g, radSm: f, tBodySm: m, tCaption: y } = e, h = (r.toastW > 0 ? r.toastW : 252) + "px";
@@ -6508,8 +6528,8 @@ function Ul() {
6508
6528
  /* @__PURE__ */ i("button", { title: "Dismiss notification", onClick: () => n(!0), style: { flexShrink: 0, width: "20px", height: "20px", marginTop: "1px", border: "none", background: "transparent", color: o.textSecondary, cursor: "pointer", borderRadius: "6px", display: "grid", placeItems: "center", padding: 0, lineHeight: 1 }, children: /* @__PURE__ */ i("svg", { width: 13, height: 13, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2.4, strokeLinecap: "round", children: /* @__PURE__ */ i("path", { d: "M18 6 6 18M6 6l12 12" }) }) })
6509
6529
  ] });
6510
6530
  }
6511
- const Gl = [75, 90, 100, 125];
6512
- function Yl() {
6531
+ const Jl = [75, 90, 100, 125];
6532
+ function ql() {
6513
6533
  var f;
6514
6534
  const e = ot((m) => m.previewScreen), r = j((m) => m.settings.edgePadPx) || 0, t = e === "operations" ? 0 : r, [n, o] = Z("fit"), s = Te(null), a = Te(null), [l, c] = Z(100);
6515
6535
  Fr(() => {
@@ -6542,16 +6562,16 @@ function Yl() {
6542
6562
  cancelAnimationFrame(x), v.disconnect();
6543
6563
  };
6544
6564
  }, [n, t, e]);
6545
- const g = ((f = vl.find((m) => m.key === e)) == null ? void 0 : f.label) ?? "";
6565
+ const g = ((f = Cl.find((m) => m.key === e)) == null ? void 0 : f.label) ?? "";
6546
6566
  return /* @__PURE__ */ p(S, { sx: { flex: 1, minWidth: 0, display: "flex", flexDirection: "column", bgcolor: "background.default" }, children: [
6547
6567
  /* @__PURE__ */ p(S, { sx: { px: 2.5, py: 1.25, borderBottom: "1px solid", borderColor: "divider", display: "flex", alignItems: "center", gap: 1.5, bgcolor: "background.paper" }, children: [
6548
- /* @__PURE__ */ i(wl, { sx: { fontSize: 22, color: "text.secondary" } }),
6568
+ /* @__PURE__ */ i(Tl, { sx: { fontSize: 22, color: "text.secondary" } }),
6549
6569
  /* @__PURE__ */ p(ue, { variant: "h5", sx: { flex: 1, fontSize: 18, fontWeight: 700, letterSpacing: "-.2px" }, children: [
6550
6570
  "Previewing ",
6551
6571
  g
6552
6572
  ] }),
6553
6573
  /* @__PURE__ */ p(
6554
- oi,
6574
+ ai,
6555
6575
  {
6556
6576
  size: "small",
6557
6577
  value: n,
@@ -6563,7 +6583,7 @@ function Yl() {
6563
6583
  l,
6564
6584
  "%)"
6565
6585
  ] }),
6566
- Gl.map((m) => /* @__PURE__ */ p(mt, { value: m, children: [
6586
+ Jl.map((m) => /* @__PURE__ */ p(mt, { value: m, children: [
6567
6587
  m,
6568
6588
  "%"
6569
6589
  ] }, m))
@@ -6573,29 +6593,29 @@ function Yl() {
6573
6593
  ] }),
6574
6594
  /* @__PURE__ */ p(S, { ref: s, sx: { flex: 1, overflow: "auto", p: `${t}px`, position: "relative", bgcolor: "background.default" }, children: [
6575
6595
  /* @__PURE__ */ p(S, { ref: a, sx: { width: "100%", display: "flex", flexDirection: "column", "& > *": { flex: "1 1 0%", minHeight: 0 } }, children: [
6576
- e === "dashboard" && /* @__PURE__ */ i(El, {}),
6577
- e === "orders" && /* @__PURE__ */ i(Pl, {}),
6578
- e === "reports" && /* @__PURE__ */ i(jl, {}),
6579
- e === "cameras" && /* @__PURE__ */ i(Ol, {}),
6580
- e === "operations" && /* @__PURE__ */ i(Ml, {}),
6581
- e === "components" && /* @__PURE__ */ i($l, {}),
6582
- e === "login" && /* @__PURE__ */ i(Vl, {})
6596
+ e === "dashboard" && /* @__PURE__ */ i(Pl, {}),
6597
+ e === "orders" && /* @__PURE__ */ i(Al, {}),
6598
+ e === "reports" && /* @__PURE__ */ i(Ul, {}),
6599
+ e === "cameras" && /* @__PURE__ */ i(Ml, {}),
6600
+ e === "operations" && /* @__PURE__ */ i(Wl, {}),
6601
+ e === "components" && /* @__PURE__ */ i(Bl, {}),
6602
+ e === "login" && /* @__PURE__ */ i(Gl, {})
6583
6603
  ] }),
6584
- e !== "login" && /* @__PURE__ */ i(Ul, {})
6604
+ e !== "login" && /* @__PURE__ */ i(Yl, {})
6585
6605
  ] })
6586
6606
  ] });
6587
6607
  }
6588
- const Jl = 300, ql = 520;
6589
- function id() {
6608
+ const Kl = 300, Xl = 520;
6609
+ function sd() {
6590
6610
  const [e, r] = Z(!0), [t, n] = Z(300), [o, s] = Z(!1), a = j((b) => b.isDirty), l = j((b) => b.captureBaseline), c = j((b) => b.restoreBaseline), g = De(j((b) => b.settings.mode)), f = j((b) => b.settings.customFonts), m = j((b) => b.settings.customHeadFonts), y = Te(null);
6591
6611
  _e(() => {
6592
- Fn(f), Fn(m);
6612
+ Wn(f), Wn(m);
6593
6613
  }, [f, m]);
6594
6614
  const h = (b) => {
6595
6615
  b.preventDefault(), y.current = { x: b.clientX, w: t };
6596
6616
  const v = (H) => {
6597
6617
  if (!y.current) return;
6598
- const C = Math.max(Jl, Math.min(ql, y.current.w + (H.clientX - y.current.x)));
6618
+ const C = Math.max(Kl, Math.min(Xl, y.current.w + (H.clientX - y.current.x)));
6599
6619
  n(C);
6600
6620
  }, $ = () => {
6601
6621
  y.current = null, window.removeEventListener("mousemove", v), window.removeEventListener("mouseup", $);
@@ -6618,12 +6638,12 @@ function id() {
6618
6638
  scrollbarWidth: "none",
6619
6639
  msOverflowStyle: "none",
6620
6640
  "&::-webkit-scrollbar": { display: "none" }
6621
- }, children: /* @__PURE__ */ i(Cl, { onClose: x }) }),
6641
+ }, children: /* @__PURE__ */ i(kl, { onClose: x }) }),
6622
6642
  /* @__PURE__ */ i(S, { onMouseDown: h, sx: { width: 5, cursor: "col-resize", flexShrink: 0, bgcolor: "divider", opacity: 0.4, "&:hover": { opacity: 1, bgcolor: "primary.main" } } })
6623
6643
  ] }) : /* @__PURE__ */ i(ze, { title: "Open Theme Studio", placement: "right", arrow: !0, slotProps: { popper: { style: { pointerEvents: "none" } } }, children: /* @__PURE__ */ i($r, { onClick: () => {
6624
6644
  r(!0), l();
6625
- }, sx: { position: "absolute", left: 68, bottom: 56, zIndex: 10, bgcolor: "primary.main", color: "primary.contrastText", boxShadow: 4, "&:hover": { bgcolor: "primary.dark" } }, children: /* @__PURE__ */ i(_s, {}) }) }),
6626
- /* @__PURE__ */ i(Yl, {})
6645
+ }, sx: { position: "absolute", left: 68, bottom: 56, zIndex: 10, bgcolor: "primary.main", color: "primary.contrastText", boxShadow: 4, "&:hover": { bgcolor: "primary.dark" } }, children: /* @__PURE__ */ i(Ns, {}) }) }),
6646
+ /* @__PURE__ */ i(ql, {})
6627
6647
  ] }) }),
6628
6648
  /* @__PURE__ */ p(yt, { open: o, onClose: () => s(!1), PaperProps: { sx: { borderRadius: 3, width: 300, p: 2.5 } }, children: [
6629
6649
  /* @__PURE__ */ i(ue, { sx: { fontSize: 15, fontWeight: 800, mb: 0.75 }, children: "Save changes?" }),
@@ -6640,8 +6660,8 @@ function id() {
6640
6660
  ] })
6641
6661
  ] });
6642
6662
  }
6643
- function ad(e) {
6644
- const r = Ur(e), t = r.t, n = `${r.headFam},sans-serif`, o = `${r.bodyFam},sans-serif`, s = (a) => ({ fontFamily: n, fontSize: a, fontWeight: r.wH1, lineHeight: r.headLH });
6663
+ function ld(e) {
6664
+ const r = Ur(e), t = r.t, n = `${r.headFam},sans-serif`, o = `${r.bodyFam},sans-serif`, s = (a, l) => ({ fontFamily: n, fontSize: a, fontWeight: r.wH1, lineHeight: r.headLH, color: l || t.textPrimary });
6645
6665
  if (typeof window < "u" && typeof document < "u") {
6646
6666
  const a = ["Roboto", "Inter", "DM Sans", "Manrope", "Plus Jakarta Sans", "Nunito Sans", "Figtree"], c = [e.fontFamily, e.headingFont].filter(Boolean).map((f) => f.replace(/"/g, "").replace(/'/g, "")), g = Array.from(new Set(c)).filter((f) => a.includes(f));
6647
6667
  if (g.length > 0) {
@@ -6651,7 +6671,7 @@ function ad(e) {
6651
6671
  m || (m = document.createElement("link"), m.id = f, m.rel = "stylesheet", document.head.appendChild(m)), m.href = h;
6652
6672
  }
6653
6673
  }
6654
- return lo({
6674
+ return po({
6655
6675
  palette: {
6656
6676
  mode: e.mode,
6657
6677
  primary: { main: r.pMain, dark: r.pal[700], light: r.pal[300], contrastText: t.pContrast },
@@ -6668,12 +6688,12 @@ function ad(e) {
6668
6688
  typography: {
6669
6689
  fontFamily: o,
6670
6690
  fontSize: r.base,
6671
- h1: s(r.tH1),
6672
- h2: s(r.tH2),
6673
- h3: s(r.tTitle),
6674
- h4: s(r.tH4),
6675
- h5: s(r.tH5),
6676
- h6: s(r.tH6),
6691
+ h1: s(r.tH1, r.hc1),
6692
+ h2: s(r.tH2, r.hc2),
6693
+ h3: s(r.tTitle, r.hc3),
6694
+ h4: s(r.tH4, r.hc4),
6695
+ h5: s(r.tH5, r.hc5),
6696
+ h6: s(r.tH6, r.hc6),
6677
6697
  body1: { fontFamily: o, fontSize: r.tBody, lineHeight: r.bodyLH, fontWeight: r.bodyWeightEff },
6678
6698
  body2: { fontFamily: o, fontSize: r.tBodySm, lineHeight: r.bodyLH, fontWeight: r.bodyWeightEff },
6679
6699
  caption: { fontFamily: o, fontSize: r.tCaption, lineHeight: r.bodyLH },
@@ -6770,7 +6790,7 @@ function ad(e) {
6770
6790
  }
6771
6791
  export {
6772
6792
  Oe as DEFAULT_SETTINGS,
6773
- id as ThemeStudio,
6774
- ad as buildMuiTheme,
6793
+ sd as ThemeStudio,
6794
+ ld as buildMuiTheme,
6775
6795
  j as useThemeStore
6776
6796
  };