omnieye-theme-studio 1.2.6 → 1.2.7

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
@@ -155,7 +155,7 @@ function pi() {
155
155
  }
156
156
  }
157
157
  }
158
- var k = c, R = g, z = l, I = a, X = r, Q = f, Y = n, d = x, B = h, A = t, L = s, N = o, K = m, U = !1;
158
+ var k = c, R = g, z = l, B = a, X = r, Q = f, Y = n, d = x, I = h, A = t, L = s, N = o, K = m, U = !1;
159
159
  function J(_) {
160
160
  return U || (U = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), P(_) || C(_) === c;
161
161
  }
@@ -195,7 +195,7 @@ function pi() {
195
195
  function te(_) {
196
196
  return C(_) === m;
197
197
  }
198
- oe.AsyncMode = k, oe.ConcurrentMode = R, oe.ContextConsumer = z, oe.ContextProvider = I, oe.Element = X, oe.ForwardRef = Q, oe.Fragment = Y, oe.Lazy = d, oe.Memo = B, oe.Portal = A, oe.Profiler = L, oe.StrictMode = N, oe.Suspense = K, oe.isAsyncMode = J, oe.isConcurrentMode = P, oe.isContextConsumer = D, oe.isContextProvider = q, oe.isElement = V, oe.isForwardRef = G, oe.isFragment = M, oe.isLazy = w, oe.isMemo = O, oe.isPortal = F, oe.isProfiler = E, oe.isStrictMode = W, oe.isSuspense = te, oe.isValidElementType = H, oe.typeOf = C;
198
+ oe.AsyncMode = k, oe.ConcurrentMode = R, oe.ContextConsumer = z, oe.ContextProvider = B, oe.Element = X, oe.ForwardRef = Q, oe.Fragment = Y, oe.Lazy = d, oe.Memo = I, oe.Portal = A, oe.Profiler = L, oe.StrictMode = N, oe.Suspense = K, oe.isAsyncMode = J, oe.isConcurrentMode = P, oe.isContextConsumer = D, oe.isContextProvider = q, oe.isElement = V, oe.isForwardRef = G, oe.isFragment = M, oe.isLazy = w, oe.isMemo = O, oe.isPortal = F, oe.isProfiler = E, oe.isStrictMode = W, oe.isSuspense = te, oe.isValidElementType = H, oe.typeOf = C;
199
199
  })()), oe;
200
200
  }
201
201
  var nn;
@@ -352,11 +352,11 @@ function hi() {
352
352
  elementType: k(),
353
353
  instanceOf: R,
354
354
  node: Q(),
355
- objectOf: I,
355
+ objectOf: B,
356
356
  oneOf: z,
357
357
  oneOfType: X,
358
358
  shape: d,
359
- exact: B
359
+ exact: I
360
360
  };
361
361
  function x(P, D) {
362
362
  return P === D ? P !== 0 || 1 / P === 1 / D : P !== P && D !== D;
@@ -472,7 +472,7 @@ function hi() {
472
472
  }
473
473
  return b(D);
474
474
  }
475
- function I(P) {
475
+ function B(P) {
476
476
  function D(q, V, G, M, w) {
477
477
  if (typeof P != "function")
478
478
  return new u("Property `" + w + "` of component `" + G + "` has invalid PropType notation inside objectOf.");
@@ -539,7 +539,7 @@ function hi() {
539
539
  }
540
540
  return b(D);
541
541
  }
542
- function B(P) {
542
+ function I(P) {
543
543
  function D(q, V, G, M, w) {
544
544
  var O = q[V], F = N(O);
545
545
  if (F !== "object")
@@ -1096,18 +1096,18 @@ function _r(e) {
1096
1096
  function At(e, r) {
1097
1097
  return typeof r == "string" || r == null ? r : e(r);
1098
1098
  }
1099
- function Ii(e, r) {
1099
+ function Bi(e, r) {
1100
1100
  return (t) => e.reduce((n, o) => (n[o] = At(r, t), n), {});
1101
1101
  }
1102
- function Bi(e, r, t, n) {
1102
+ function Ii(e, r, t, n) {
1103
1103
  if (!r.includes(t))
1104
1104
  return null;
1105
- const o = $i(t), s = Ii(o, n), a = e[t];
1105
+ const o = $i(t), s = Bi(o, n), a = e[t];
1106
1106
  return Le(e, a, s);
1107
1107
  }
1108
1108
  function Gn(e, r) {
1109
1109
  const t = _r(e.theme);
1110
- return Object.keys(e).map((n) => Bi(e, r, n, t)).reduce(Ht, {});
1110
+ return Object.keys(e).map((n) => Ii(e, r, n, t)).reduce(Ht, {});
1111
1111
  }
1112
1112
  function fe(e) {
1113
1113
  return Gn(e, rr);
@@ -2099,7 +2099,7 @@ function Qn(e, r, t = [], n = void 0) {
2099
2099
  }
2100
2100
  return t;
2101
2101
  }
2102
- function Ia(e = {}) {
2102
+ function Ba(e = {}) {
2103
2103
  const {
2104
2104
  themeId: r,
2105
2105
  defaultTheme: t = Pa,
@@ -2135,8 +2135,8 @@ function Ia(e = {}) {
2135
2135
  if (R.__emotion_real === R)
2136
2136
  return R;
2137
2137
  if (typeof R == "function")
2138
- return function(I) {
2139
- return Jt(I, R, I.theme.modularCssLayers ? u : void 0);
2138
+ return function(B) {
2139
+ return Jt(B, R, B.theme.modularCssLayers ? u : void 0);
2140
2140
  };
2141
2141
  if (We(R)) {
2142
2142
  const z = Xn(R);
@@ -2146,32 +2146,32 @@ function Ia(e = {}) {
2146
2146
  }
2147
2147
  return R;
2148
2148
  }, k = (...R) => {
2149
- const z = [], I = R.map(C), X = [];
2150
- if (z.push(s), g && h && X.push(function(B) {
2149
+ const z = [], B = R.map(C), X = [];
2150
+ if (z.push(s), g && h && X.push(function(I) {
2151
2151
  var K, U;
2152
- const L = (U = (K = B.theme.components) == null ? void 0 : K[g]) == null ? void 0 : U.styleOverrides;
2152
+ const L = (U = (K = I.theme.components) == null ? void 0 : K[g]) == null ? void 0 : U.styleOverrides;
2153
2153
  if (!L)
2154
2154
  return null;
2155
2155
  const N = {};
2156
2156
  for (const J in L)
2157
- N[J] = Jt(B, L[J], B.theme.modularCssLayers ? "theme" : void 0);
2158
- return h(B, N);
2159
- }), g && !b && X.push(function(B) {
2157
+ N[J] = Jt(I, L[J], I.theme.modularCssLayers ? "theme" : void 0);
2158
+ return h(I, N);
2159
+ }), g && !b && X.push(function(I) {
2160
2160
  var N, K;
2161
- const A = B.theme, L = (K = (N = A == null ? void 0 : A.components) == null ? void 0 : N[g]) == null ? void 0 : K.variants;
2162
- return L ? Qn(B, L, [], B.theme.modularCssLayers ? "theme" : void 0) : null;
2163
- }), v || X.push(vt), Array.isArray(I[0])) {
2164
- const d = I.shift(), B = new Array(z.length).fill(""), A = new Array(X.length).fill("");
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;
2163
+ }), v || X.push(vt), Array.isArray(B[0])) {
2164
+ const d = B.shift(), I = new Array(z.length).fill(""), A = new Array(X.length).fill("");
2165
2165
  let L;
2166
- L = [...B, ...d, ...A], L.raw = [...B, ...d.raw, ...A], z.unshift(L);
2166
+ L = [...I, ...d, ...A], L.raw = [...I, ...d.raw, ...A], z.unshift(L);
2167
2167
  }
2168
- const Q = [...z, ...I, ...X], Y = H(...Q);
2169
- return l.muiName && (Y.muiName = l.muiName), process.env.NODE_ENV !== "production" && (Y.displayName = Ba(g, f, l)), Y;
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;
2170
2170
  };
2171
2171
  return H.withConfig && (k.withConfig = H.withConfig), k;
2172
2172
  };
2173
2173
  }
2174
- function Ba(e, r, t) {
2174
+ function Ia(e, r, t) {
2175
2175
  return e ? `${e}${lt(r || "")}` : `Styled(${Ha(t)})`;
2176
2176
  }
2177
2177
  function Oa(e, r) {
@@ -2293,13 +2293,13 @@ function eo(e) {
2293
2293
  values: c
2294
2294
  });
2295
2295
  }
2296
- function Ir(e) {
2296
+ function Br(e) {
2297
2297
  e = Ke(e);
2298
2298
  let r = e.type === "hsl" || e.type === "hsla" ? Ke(eo(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
- const t = Ir(e), n = Ir(r);
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
2305
  function to(e, r) {
@@ -2346,7 +2346,7 @@ function ae(e, r, t) {
2346
2346
  }
2347
2347
  }
2348
2348
  function _a(e, r = 0.15) {
2349
- return Ir(e) > 0.5 ? pr(e, r) : ur(e, r);
2349
+ return Br(e) > 0.5 ? pr(e, r) : ur(e, r);
2350
2350
  }
2351
2351
  function Vt(e, r, t) {
2352
2352
  try {
@@ -2461,9 +2461,9 @@ function Ja(e, r = {}) {
2461
2461
  const {
2462
2462
  vars: R,
2463
2463
  css: z,
2464
- varsWithDefaults: I
2464
+ varsWithDefaults: B
2465
2465
  } = kr(k, r);
2466
- h = Pe(h, I), x[C] = {
2466
+ h = Pe(h, B), x[C] = {
2467
2467
  css: z,
2468
2468
  vars: R
2469
2469
  };
@@ -2479,12 +2479,12 @@ function Ja(e, r = {}) {
2479
2479
  };
2480
2480
  }
2481
2481
  function v(C, k) {
2482
- var z, I;
2482
+ var z, B;
2483
2483
  let R = o;
2484
2484
  if (o === "class" && (R = ".%s"), o === "data" && (R = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (R = `[${o}="%s"]`), C) {
2485
2485
  if (R === "media")
2486
2486
  return e.defaultColorScheme === C ? ":root" : {
2487
- [`@media (prefers-color-scheme: ${((I = (z = a[C]) == null ? void 0 : z.palette) == null ? void 0 : I.mode) || C})`]: {
2487
+ [`@media (prefers-color-scheme: ${((B = (z = a[C]) == null ? void 0 : z.palette) == null ? void 0 : B.mode) || C})`]: {
2488
2488
  ":root": k
2489
2489
  }
2490
2490
  };
@@ -2520,27 +2520,27 @@ function Ja(e, r = {}) {
2520
2520
  }), m);
2521
2521
  const {
2522
2522
  [k]: z,
2523
- ...I
2523
+ ...B
2524
2524
  } = x;
2525
2525
  if (z) {
2526
2526
  const {
2527
2527
  css: Y
2528
- } = z, d = (Q = (X = a[k]) == null ? void 0 : X.palette) == null ? void 0 : Q.mode, B = !n && d ? {
2528
+ } = z, d = (Q = (X = a[k]) == null ? void 0 : X.palette) == null ? void 0 : Q.mode, I = !n && d ? {
2529
2529
  colorScheme: d,
2530
2530
  ...Y
2531
2531
  } : {
2532
2532
  ...Y
2533
2533
  };
2534
2534
  R(t(k, {
2535
- ...B
2536
- }), B);
2535
+ ...I
2536
+ }), I);
2537
2537
  }
2538
- return Object.entries(I).forEach(([Y, {
2538
+ return Object.entries(B).forEach(([Y, {
2539
2539
  css: d
2540
2540
  }]) => {
2541
2541
  var L, N;
2542
- const B = (N = (L = a[Y]) == null ? void 0 : L.palette) == null ? void 0 : N.mode, A = !n && B ? {
2543
- colorScheme: B,
2542
+ const I = (N = (L = a[Y]) == null ? void 0 : L.palette) == null ? void 0 : N.mode, A = !n && I ? {
2543
+ colorScheme: I,
2544
2544
  ...d
2545
2545
  } : {
2546
2546
  ...d
@@ -2691,7 +2691,7 @@ function oo() {
2691
2691
  }
2692
2692
  };
2693
2693
  }
2694
- const Br = oo();
2694
+ const Ir = oo();
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)));
@@ -2781,7 +2781,7 @@ function Vr(e) {
2781
2781
  function y(b) {
2782
2782
  if (o)
2783
2783
  return ns(b);
2784
- const v = kn(b, Br.text.primary) >= t ? Br.text.primary : no.text.primary;
2784
+ const v = kn(b, Ir.text.primary) >= t ? Ir.text.primary : no.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(`
@@ -3076,7 +3076,7 @@ theme.transitions = createTransitions(theme.transitions || {});
3076
3076
 
3077
3077
  export default theme;`;
3078
3078
  }
3079
- function In(e) {
3079
+ function Bn(e) {
3080
3080
  return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
3081
3081
  }
3082
3082
  const bs = (e) => {
@@ -3098,11 +3098,11 @@ function xs(e) {
3098
3098
  },
3099
3099
  lighten(r, t) {
3100
3100
  const n = this || e;
3101
- return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #fff ${In(t)})` : ur(r, t);
3101
+ return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #fff ${Bn(t)})` : ur(r, t);
3102
3102
  },
3103
3103
  darken(r, t) {
3104
3104
  const n = this || e;
3105
- return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #000 ${In(t)})` : pr(r, t);
3105
+ return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #000 ${Bn(t)})` : pr(r, t);
3106
3106
  }
3107
3107
  });
3108
3108
  }
@@ -3276,7 +3276,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${r}Chann
3276
3276
  function Es(e) {
3277
3277
  return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
3278
3278
  }
3279
- const Be = (e) => {
3279
+ const Ie = (e) => {
3280
3280
  try {
3281
3281
  return e();
3282
3282
  } catch {
@@ -3362,7 +3362,7 @@ function Ps(e = {}, ...r) {
3362
3362
  spacing: Es(f.spacing)
3363
3363
  };
3364
3364
  Object.keys(R.colorSchemes).forEach((Y) => {
3365
- const d = R.colorSchemes[Y].palette, B = (L) => {
3365
+ const d = R.colorSchemes[Y].palette, I = (L) => {
3366
3366
  const N = L.split("-"), K = N[1], U = N[2];
3367
3367
  return h(L, d[K][U]);
3368
3368
  };
@@ -3375,14 +3375,14 @@ function Ps(e = {}, ...r) {
3375
3375
  return L(N, K);
3376
3376
  }
3377
3377
  if (Rs(d, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), d.mode === "light") {
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", B("palette-error-main")), T(d.Alert, "infoFilledBg", B("palette-info-main")), T(d.Alert, "successFilledBg", B("palette-success-main")), T(d.Alert, "warningFilledBg", B("palette-warning-main")), T(d.Alert, "errorFilledColor", Be(() => d.getContrastText(d.error.main))), T(d.Alert, "infoFilledColor", Be(() => d.getContrastText(d.info.main))), T(d.Alert, "successFilledColor", Be(() => d.getContrastText(d.success.main))), T(d.Alert, "warningFilledColor", Be(() => 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", B("palette-error-main")), T(d.Alert, "infoIconColor", B("palette-info-main")), T(d.Alert, "successIconColor", B("palette-success-main")), T(d.Alert, "warningIconColor", B("palette-warning-main")), T(d.AppBar, "defaultBg", B("palette-grey-100")), T(d.Avatar, "defaultBg", B("palette-grey-400")), T(d.Button, "inheritContainedBg", B("palette-grey-300")), T(d.Button, "inheritContainedHoverBg", B("palette-grey-A100")), T(d.Chip, "defaultBorder", B("palette-grey-400")), T(d.Chip, "defaultAvatarColor", B("palette-grey-700")), T(d.Chip, "defaultIconColor", B("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(${B("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));
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
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", Be(() => C ? Br.text.primary : d.getContrastText(L))), T(d.SpeedDialAction, "fabHoverBg", Vt(d.background.paper, 0.15)), T(d.StepConnector, "border", B("palette-grey-400")), T(d.StepContent, "border", B("palette-grey-400")), T(d.Switch, "defaultColor", B("palette-common-white")), T(d.Switch, "defaultDisabledColor", B("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));
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));
3381
3381
  }
3382
3382
  if (d.mode === "dark") {
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", B("palette-error-dark")), T(d.Alert, "infoFilledBg", B("palette-info-dark")), T(d.Alert, "successFilledBg", B("palette-success-dark")), T(d.Alert, "warningFilledBg", B("palette-warning-dark")), T(d.Alert, "errorFilledColor", Be(() => d.getContrastText(d.error.dark))), T(d.Alert, "infoFilledColor", Be(() => d.getContrastText(d.info.dark))), T(d.Alert, "successFilledColor", Be(() => d.getContrastText(d.success.dark))), T(d.Alert, "warningFilledColor", Be(() => 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", B("palette-error-main")), T(d.Alert, "infoIconColor", B("palette-info-main")), T(d.Alert, "successIconColor", B("palette-success-main")), T(d.Alert, "warningIconColor", B("palette-warning-main")), T(d.AppBar, "defaultBg", B("palette-grey-900")), T(d.AppBar, "darkBg", B("palette-background-paper")), T(d.AppBar, "darkColor", B("palette-text-primary")), T(d.Avatar, "defaultBg", B("palette-grey-600")), T(d.Button, "inheritContainedBg", B("palette-grey-800")), T(d.Button, "inheritContainedHoverBg", B("palette-grey-700")), T(d.Chip, "defaultBorder", B("palette-grey-700")), T(d.Chip, "defaultAvatarColor", B("palette-grey-300")), T(d.Chip, "defaultIconColor", B("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(${B("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));
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
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", Be(() => C ? no.text.primary : d.getContrastText(L))), T(d.SpeedDialAction, "fabHoverBg", Vt(d.background.paper, 0.15)), T(d.StepConnector, "border", B("palette-grey-600")), T(d.StepContent, "border", B("palette-grey-600")), T(d.Switch, "defaultColor", B("palette-grey-300")), T(d.Switch, "defaultDisabledColor", B("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));
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));
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];
@@ -3396,11 +3396,11 @@ function Ps(e = {}, ...r) {
3396
3396
  getSelector: Ts(R),
3397
3397
  enableContrastVars: a
3398
3398
  }, {
3399
- vars: I,
3399
+ vars: B,
3400
3400
  generateThemeVars: X,
3401
3401
  generateStyleSheets: Q
3402
3402
  } = Ja(R, z);
3403
- return R.vars = I, Object.entries(R.colorSchemes[R.defaultColorScheme]).forEach(([Y, d]) => {
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
3406
  return Jn(f.spacing, _r(this));
@@ -3414,7 +3414,7 @@ function Ps(e = {}, ...r) {
3414
3414
  });
3415
3415
  }, R.toRuntimeSource = io, R;
3416
3416
  }
3417
- function Bn(e, r, t) {
3417
+ function In(e, r, t) {
3418
3418
  e.colorSchemes && t && (e.colorSchemes[r] = {
3419
3419
  ...t !== !0 && t,
3420
3420
  palette: Vr({
@@ -3456,10 +3456,10 @@ function lo(e = {}, ...r) {
3456
3456
  return m.defaultColorScheme = l, m.colorSchemes = g, m.palette.mode === "light" && (m.colorSchemes.light = {
3457
3457
  ...g.light !== !0 && g.light,
3458
3458
  palette: m.palette
3459
- }, Bn(m, "dark", g.dark)), m.palette.mode === "dark" && (m.colorSchemes.dark = {
3459
+ }, In(m, "dark", g.dark)), m.palette.mode === "dark" && (m.colorSchemes.dark = {
3460
3460
  ...g.dark !== !0 && g.dark,
3461
3461
  palette: m.palette
3462
- }, Bn(m, "light", g.light)), m;
3462
+ }, In(m, "light", g.light)), m;
3463
3463
  }
3464
3464
  return !t && !("light" in g) && l === "light" && (g.light = !0), Ps({
3465
3465
  ...a,
@@ -3469,13 +3469,13 @@ function lo(e = {}, ...r) {
3469
3469
  }, ...r);
3470
3470
  }
3471
3471
  const $s = lo(), As = "$$material";
3472
- function Is(e) {
3472
+ function Bs(e) {
3473
3473
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
3474
3474
  }
3475
- const Bs = (e) => Is(e) && e !== "classes", Os = Ia({
3475
+ const Is = (e) => Bs(e) && e !== "classes", Os = Ba({
3476
3476
  themeId: As,
3477
3477
  defaultTheme: $s,
3478
- rootShouldForwardProp: Bs
3478
+ rootShouldForwardProp: Is
3479
3479
  }), Ds = Va;
3480
3480
  process.env.NODE_ENV !== "production" && (re.node, re.object.isRequired);
3481
3481
  function Ms(e) {
@@ -3712,7 +3712,7 @@ process.env.NODE_ENV !== "production" && (Qt.propTypes = {
3712
3712
  viewBox: re.string
3713
3713
  });
3714
3714
  Qt.muiName = "SvgIcon";
3715
- function It(e, r) {
3715
+ function Bt(e, r) {
3716
3716
  function t(n, o) {
3717
3717
  return /* @__PURE__ */ i(Qt, {
3718
3718
  "data-testid": process.env.NODE_ENV !== "production" ? `${r}Icon` : void 0,
@@ -3723,13 +3723,13 @@ function It(e, r) {
3723
3723
  }
3724
3724
  return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName = Qt.muiName, /* @__PURE__ */ qe.memo(/* @__PURE__ */ qe.forwardRef(t));
3725
3725
  }
3726
- const _s = It(/* @__PURE__ */ i("path", {
3726
+ const _s = Bt(/* @__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 = It(/* @__PURE__ */ i("path", {
3728
+ }), "TuneRounded"), Ls = Bt(/* @__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 = It(/* @__PURE__ */ i("path", {
3730
+ }), "RestartAltRounded"), Ns = Bt(/* @__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 = It(/* @__PURE__ */ i("path", {
3732
+ }), "DarkModeOutlined"), js = Bt(/* @__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;
@@ -3902,6 +3902,8 @@ const Dr = (e) => (r) => {
3902
3902
  primaryHex: "#4F6BFF",
3903
3903
  secondaryHex: "#22D3EE",
3904
3904
  highlightHex: "",
3905
+ videoShadowLight: "",
3906
+ videoShadowDark: "",
3905
3907
  errorHex: "#d32f2f",
3906
3908
  warningHex: "#ed6c02",
3907
3909
  infoHex: "#0288d1",
@@ -3994,7 +3996,10 @@ const Dr = (e) => (r) => {
3994
3996
  loginPanelColor: "",
3995
3997
  loginImgOpacity: 0,
3996
3998
  loginCardW: 0
3997
- }, Fe = (e) => JSON.stringify(e);
3999
+ }, Fe = (e) => {
4000
+ const { mode: r, ...t } = e;
4001
+ return JSON.stringify(t);
4002
+ };
3998
4003
  function Rr(e) {
3999
4004
  const r = { ...Oe };
4000
4005
  if (e && typeof e == "object")
@@ -4022,7 +4027,16 @@ const j = co()(
4022
4027
  baseline: Fe(Oe),
4023
4028
  editingSavedId: null,
4024
4029
  lastImportedId: null,
4025
- set: (t) => e((n) => ({ settings: { ...n.settings, ...t, presetId: "custom" } })),
4030
+ set: (t) => e((n) => {
4031
+ const o = Object.keys(t), s = o.length > 0 && o.every((a) => a === "mode");
4032
+ return {
4033
+ settings: {
4034
+ ...n.settings,
4035
+ ...t,
4036
+ ...s ? {} : { presetId: "custom" }
4037
+ }
4038
+ };
4039
+ }),
4026
4040
  applyPreset: (t, n) => e((o) => {
4027
4041
  const s = { ...o.settings, ...n, presetId: t };
4028
4042
  return { settings: s, baseline: Fe(s), editingSavedId: null, lastImportedId: null };
@@ -4031,7 +4045,7 @@ const j = co()(
4031
4045
  captureBaseline: () => e((t) => ({ baseline: Fe(t.settings) })),
4032
4046
  restoreBaseline: () => e((t) => {
4033
4047
  try {
4034
- return { settings: JSON.parse(t.baseline) };
4048
+ return { settings: { ...JSON.parse(t.baseline), mode: t.settings.mode } };
4035
4049
  } catch {
4036
4050
  return {};
4037
4051
  }
@@ -4201,7 +4215,7 @@ function Ur(e) {
4201
4215
  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);
4202
4216
  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)"]];
4203
4217
  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));
4204
- const I = e.btnColorHex || o, X = e.accentGradient ? "linear-gradient(135deg," + I + "," + (e.btnColorHex ? Re(e.btnColorHex)[700] : r[n ? 500 : 700]) + ")" : I, Q = e.btnTextHex || (Er(I, "#ffffff") >= 2.9 ? "#ffffff" : "rgba(0,0,0,0.87)"), Y = e.h1Color || null, d = e.h2Color || null, B = 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 }, Ie = e.densityScale > 0 ? e.densityScale / 100 : Ze[e.density] ?? 1, fr = Math.round(20 * Ie), Ve = Math.round(14 * Ie), Bt = e.cardGapPx > 0 ? e.cardGapPx : Math.round(16 * Ie), et = Math.round(11 * Ie * ({ compact: 0.66, default: 1, comfortable: 1.32 }[e.tableDensity] ?? 1)), Ue = e.containerPadPx > 0 ? e.containerPadPx : Math.round(10 * Ie), 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 = {
4218
+ 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 = {
4205
4219
  0: "none",
4206
4220
  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)`,
4207
4221
  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)`,
@@ -4225,7 +4239,7 @@ function Ur(e) {
4225
4239
  cbsafe: ["#0072B2", "#E69F00", "#009E73", "#CC79A7", "#56B4E9"],
4226
4240
  warm: [ve(8), ve(28), ve(45), ve(350), ve(18)],
4227
4241
  cool: [ve(200), ve(220), ve(255), ve(180), ve(235)]
4228
- }, 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] + ")", Io = "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" } }, Bo = 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 };
4242
+ }, 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 };
4229
4243
  let Mt;
4230
4244
  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 };
4231
4245
  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 = {
@@ -4281,7 +4295,7 @@ function Ur(e) {
4281
4295
  btnText: Q,
4282
4296
  hc1: Y,
4283
4297
  hc2: d,
4284
- hc3: B,
4298
+ hc3: I,
4285
4299
  hc4: A,
4286
4300
  hc5: L,
4287
4301
  hc6: N,
@@ -4310,7 +4324,7 @@ function Ur(e) {
4310
4324
  bwEmph: Qe,
4311
4325
  pad: fr,
4312
4326
  padSm: Ve,
4313
- gap: Bt,
4327
+ gap: It,
4314
4328
  rowPy: et,
4315
4329
  screenPad: Ue,
4316
4330
  r: ee,
@@ -4342,8 +4356,8 @@ function Ur(e) {
4342
4356
  loginBrandGrad: Po,
4343
4357
  loginScrimGrad: $o,
4344
4358
  loginCenteredGrad: Ao,
4345
- loginScrimGradC: Io,
4346
- npos: Bo,
4359
+ loginScrimGradC: Bo,
4360
+ npos: Io,
4347
4361
  nacc: Qr,
4348
4362
  toastDeco: Mt,
4349
4363
  toastBg: Oo,
@@ -4465,42 +4479,45 @@ const Zt = [
4465
4479
  id: "corporate",
4466
4480
  name: "Corporate Blue",
4467
4481
  snap: {
4468
- primaryHex: "#2563EB",
4469
- secondaryHex: "#00D2FF",
4470
- iconColor: "#2563EB",
4471
- surfaceTint: "brand",
4472
- cardHeader: "accent",
4473
- highlightHex: "#00D2FF",
4482
+ primaryHex: "#4F6BFF",
4483
+ secondaryHex: "#22D3EE",
4484
+ iconColor: "#4F6BFF",
4485
+ highlightHex: "#6D86FF",
4474
4486
  cardStyle: "floating",
4475
- cardShadowPx: 20
4487
+ cardShadowPx: 20,
4488
+ // Figma video-card drop shadow: solid core + soft outer glow.
4489
+ videoShadowLight: "0 0 44px 0px #0409D8, 0 0 44px 12px rgba(79, 107, 255, 0.20)",
4490
+ videoShadowDark: "0 0 20px 0 #00136F, 0 0 44px 12px rgba(79, 107, 255, 0.32)"
4476
4491
  }
4477
4492
  },
4478
4493
  {
4479
4494
  id: "emerald",
4480
4495
  name: "Emerald",
4481
4496
  snap: {
4482
- primaryHex: "#2EE6A6",
4483
- secondaryHex: "#FFC255",
4484
- iconColor: "#2EE6A6",
4485
- surfaceTint: "brand",
4486
- cardHeader: "accent",
4487
- highlightHex: "#FFC255",
4497
+ primaryHex: "#10B981",
4498
+ secondaryHex: "#F5A524",
4499
+ iconColor: "#10B981",
4500
+ highlightHex: "#2EE6A6",
4488
4501
  cardStyle: "floating",
4489
- cardShadowPx: 20
4502
+ cardShadowPx: 20,
4503
+ // Figma video-card drop shadow: solid core + soft outer glow.
4504
+ videoShadowLight: "0 0 44px 10px #0C3726, 0 0 44px 20px rgba(16, 185, 129, 0.20)",
4505
+ videoShadowDark: "0 0 20px 20px #0C3726, 0 0 44px 20px rgba(16, 185, 129, 0.32)"
4490
4506
  }
4491
4507
  },
4492
4508
  {
4493
4509
  id: "indigo",
4494
4510
  name: "Indigo Violet",
4495
4511
  snap: {
4496
- primaryHex: "#EC4899",
4497
- secondaryHex: "#7C3AED",
4498
- iconColor: "#EC4899",
4499
- surfaceTint: "brand",
4500
- cardHeader: "accent",
4501
- highlightHex: "#7C3AED",
4512
+ primaryHex: "#A97BFF",
4513
+ secondaryHex: "#FF5FA2",
4514
+ iconColor: "#A97BFF",
4515
+ highlightHex: "#A97BFF",
4502
4516
  cardStyle: "floating",
4503
- cardShadowPx: 20
4517
+ cardShadowPx: 20,
4518
+ // Figma video-card drop shadow: solid core + soft outer glow.
4519
+ videoShadowLight: "0 0 33px 0px #F50079, 0 0 44px 12px rgba(169, 123, 255, 0.20)",
4520
+ videoShadowDark: "0 0 20px 0 #9F0087, 0 0 44px 12px rgba(255, 95, 162, 0.32)"
4504
4521
  }
4505
4522
  },
4506
4523
  { id: "slate", name: "Graphite", snap: { primaryHex: "#455a64", secondaryHex: "#78909c", iconColor: "#455a64", cardStyle: "floating", cardShadowPx: 16 } },
@@ -4518,7 +4535,7 @@ function Qs() {
4518
4535
  const w = setTimeout(() => z(""), 5e3);
4519
4536
  return () => clearTimeout(w);
4520
4537
  }, [R]);
4521
- const [I, X] = Z(null), Q = (w) => {
4538
+ const [B, X] = Z(null), Q = (w) => {
4522
4539
  const O = c.map((W) => W.name.toLowerCase());
4523
4540
  let F = w, E = 2;
4524
4541
  for (; O.includes(F.toLowerCase()); ) F = `${w} ${E++}`;
@@ -4545,7 +4562,7 @@ function Qs() {
4545
4562
  z("Invalid theme file. The selected file is not a valid Theme Studio export.");
4546
4563
  }
4547
4564
  }, F.readAsText(O), w.target.value = "";
4548
- }, [d, B] = 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) => {
4565
+ }, [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) => {
4549
4566
  const F = w.trim();
4550
4567
  return F ? c.some((E) => E.name.toLowerCase() === F.toLowerCase() && E.id !== O) ? "Name already exists" : "" : "Name required";
4551
4568
  };
@@ -4616,7 +4633,7 @@ function Qs() {
4616
4633
  ] }),
4617
4634
  /* @__PURE__ */ i(S, { component: "span", sx: { flex: 1, minWidth: 0, fontSize: "11px", fontWeight: 600, color: O ? a : l, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "normal" }, children: w.name }),
4618
4635
  /* @__PURE__ */ i(S, { sx: { display: "flex", alignItems: "center", justifyContent: "flex-end" }, children: /* @__PURE__ */ i(S, { component: "span", onClick: (F) => {
4619
- F.stopPropagation(), B({ el: F.currentTarget, id: w.id });
4636
+ F.stopPropagation(), I({ el: F.currentTarget, id: w.id });
4620
4637
  }, sx: { cursor: "pointer", color: "text.muted", px: 0.5 }, children: "⋮" }) })
4621
4638
  ] })
4622
4639
  ]
@@ -4641,22 +4658,22 @@ function Qs() {
4641
4658
  ] }),
4642
4659
  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)) })
4643
4660
  ] }),
4644
- /* @__PURE__ */ p(ti, { open: !!d, anchorEl: d == null ? void 0 : d.el, onClose: () => B(null), children: [
4661
+ /* @__PURE__ */ p(ti, { open: !!d, anchorEl: d == null ? void 0 : d.el, onClose: () => I(null), children: [
4645
4662
  /* @__PURE__ */ i(mt, { onClick: () => {
4646
4663
  const w = c.find((O) => O.id === d.id);
4647
- f(w), B(null);
4664
+ f(w), I(null);
4648
4665
  }, children: "✏️ Edit" }),
4649
4666
  /* @__PURE__ */ i(mt, { onClick: () => {
4650
4667
  const w = c.find((O) => O.id === d.id);
4651
- J({ id: w.id, name: w.name }), B(null);
4668
+ J({ id: w.id, name: w.name }), I(null);
4652
4669
  }, children: "✎ Rename" }),
4653
4670
  /* @__PURE__ */ i(mt, { onClick: () => {
4654
4671
  const w = c.find((O) => O.id === d.id);
4655
- D({ id: w.id, name: w.name }), B(null);
4672
+ D({ id: w.id, name: w.name }), I(null);
4656
4673
  }, children: "🗑 Delete" }),
4657
4674
  /* @__PURE__ */ i(mt, { onClick: () => {
4658
4675
  const w = c.find((O) => O.id === d.id);
4659
- k(w.name, w.snap), B(null);
4676
+ k(w.name, w.snap), I(null);
4660
4677
  }, children: "⤓ Download" })
4661
4678
  ] }),
4662
4679
  /* @__PURE__ */ p(yt, { open: A, onClose: () => L(!1), children: [
@@ -4711,11 +4728,11 @@ function Qs() {
4711
4728
  }, children: "Rename" })
4712
4729
  ] })
4713
4730
  ] }),
4714
- /* @__PURE__ */ p(yt, { open: !!I, onClose: () => X(null), children: [
4731
+ /* @__PURE__ */ p(yt, { open: !!B, onClose: () => X(null), children: [
4715
4732
  /* @__PURE__ */ i(Wt, { children: "Theme already exists" }),
4716
4733
  /* @__PURE__ */ i(zt, { children: /* @__PURE__ */ p(ue, { variant: "body2", children: [
4717
4734
  "A theme named “",
4718
- I == null ? void 0 : I.name,
4735
+ B == null ? void 0 : B.name,
4719
4736
  "” is already in My Themes. Upload it anyway as a copy?"
4720
4737
  ] }) }),
4721
4738
  /* @__PURE__ */ p(_t, { children: [
@@ -4723,7 +4740,7 @@ function Qs() {
4723
4740
  X(null), z("You’ve selected a duplicate file — it already exists.");
4724
4741
  }, children: "Cancel" }),
4725
4742
  /* @__PURE__ */ i(ke, { variant: "contained", onClick: () => {
4726
- u(Q(I.name), I.snap), X(null);
4743
+ u(Q(B.name), B.snap), X(null);
4727
4744
  }, children: "Yes, continue" })
4728
4745
  ] })
4729
4746
  ] }),
@@ -4936,18 +4953,18 @@ function rl() {
4936
4953
  ] });
4937
4954
  }
4938
4955
  function xe(e) {
4939
- const { label: r, info: t, value: n, effective: o, min: s, max: a, step: l = 1, unit: c = "", autoLabel: g, autoValue: f = 0, softMin: m, softMax: y, floorValue: h, floorReset: x, floorMessage: u, extra: b, onChange: v } = e, $ = De(j((K) => K.settings.mode)), H = we(), C = `${H.bodyFam},sans-serif`, [k, R] = Z(!1), [z, I] = Z(String(o)), [X, Q] = Z(""), Y = Te(void 0);
4956
+ const { label: r, info: t, value: n, effective: o, min: s, max: a, step: l = 1, unit: c = "", autoLabel: g, autoValue: f = 0, softMin: m, softMax: y, floorValue: h, floorReset: x, floorMessage: u, extra: b, onChange: v } = e, $ = De(j((K) => K.settings.mode)), H = we(), C = `${H.bodyFam},sans-serif`, [k, R] = Z(!1), [z, B] = Z(String(o)), [X, Q] = Z(""), Y = Te(void 0);
4940
4957
  _e(() => {
4941
- k || I(String(o));
4958
+ k || B(String(o));
4942
4959
  }, [o, k]), _e(() => () => clearTimeout(Y.current), []);
4943
4960
  const d = (K) => {
4944
4961
  clearTimeout(Y.current), Q(K), K && (Y.current = setTimeout(() => Q(""), 3e3));
4945
- }, B = (K) => m != null && K < m ? `Below ${m}${c} may break the UI` : y != null && K > y ? `Above ${y}${c} may break the UI` : "", A = () => {
4946
- d(u ?? `Minimum is ${x}${c} — reset`), v(x), I(String(x));
4962
+ }, I = (K) => m != null && K < m ? `Below ${m}${c} may break the UI` : y != null && K > y ? `Above ${y}${c} may break the UI` : "", A = () => {
4963
+ d(u ?? `Minimum is ${x}${c} — reset`), v(x), B(String(x));
4947
4964
  }, L = (K) => {
4948
4965
  const U = parseFloat(K);
4949
4966
  if (isNaN(U)) {
4950
- d("Enter a number"), I(String(o));
4967
+ d("Enter a number"), B(String(o));
4951
4968
  return;
4952
4969
  }
4953
4970
  if (h != null && x != null && U <= h) {
@@ -4955,7 +4972,7 @@ function xe(e) {
4955
4972
  return;
4956
4973
  }
4957
4974
  const J = Math.min(a, Math.max(s, U));
4958
- d(J !== U ? `Must be between ${s}${c} and ${a}${c} — clamped to ${J}${c}` : B(J)), I(String(J)), v(J);
4975
+ d(J !== U ? `Must be between ${s}${c} and ${a}${c} — clamped to ${J}${c}` : I(J)), B(String(J)), v(J);
4959
4976
  }, N = n === f && g ? g : `${o}${c}`;
4960
4977
  return /* @__PURE__ */ p(S, { sx: { mb: 1.5 }, children: [
4961
4978
  /* @__PURE__ */ p(S, { sx: { display: "flex", alignItems: "center", justifyContent: "space-between", mb: "8px" }, children: [
@@ -4969,7 +4986,7 @@ function xe(e) {
4969
4986
  {
4970
4987
  autoFocus: !0,
4971
4988
  value: z,
4972
- onChange: (K) => I(K.target.value),
4989
+ onChange: (K) => B(K.target.value),
4973
4990
  onBlur: () => {
4974
4991
  L(z), R(!1);
4975
4992
  },
@@ -4985,7 +5002,7 @@ function xe(e) {
4985
5002
  {
4986
5003
  component: "button",
4987
5004
  onClick: () => {
4988
- I(String(o)), R(!0);
5005
+ B(String(o)), R(!0);
4989
5006
  },
4990
5007
  sx: { display: "inline-flex", alignItems: "center", gap: "5px", fontFamily: C, fontSize: `${H.tBodySm}px`, fontWeight: 800, color: $.body, bgcolor: "rgba(130,140,155,0.14)", border: "1px solid rgba(130,140,155,0.28)", borderRadius: "6px", px: "7px", py: "2px", cursor: "pointer", lineHeight: 1.3, "&:hover": { bgcolor: "rgba(130,140,155,0.24)" } },
4991
5008
  children: [
@@ -5016,7 +5033,7 @@ function xe(e) {
5016
5033
  A();
5017
5034
  return;
5018
5035
  }
5019
- d(B(U)), v(U);
5036
+ d(I(U)), v(U);
5020
5037
  },
5021
5038
  sx: {
5022
5039
  WebkitAppearance: "none",
@@ -5129,8 +5146,8 @@ function Wn({ label: e, list: r, onAdd: t }) {
5129
5146
  b.push(H.name);
5130
5147
  continue;
5131
5148
  }
5132
- const k = H.name.replace(/\.[^.]+$/, ""), R = (I) => I.toLowerCase() === k.toLowerCase();
5133
- if (r.some((I) => R(I.name)) || y.some((I) => R(I.name))) {
5149
+ const k = H.name.replace(/\.[^.]+$/, ""), R = (B) => B.toLowerCase() === k.toLowerCase();
5150
+ if (r.some((B) => R(B.name)) || y.some((B) => R(B.name))) {
5134
5151
  h.push(k);
5135
5152
  continue;
5136
5153
  }
@@ -5534,9 +5551,9 @@ function bl({ src: e, aspect: r, onCancel: t, onConfirm: n }) {
5534
5551
  n(e);
5535
5552
  return;
5536
5553
  }
5537
- const z = u.getBoundingClientRect(), I = (z.left - v.left) * C, X = (z.top - v.top) * C, Q = z.width * C, Y = z.height * C;
5554
+ const z = u.getBoundingClientRect(), B = (z.left - v.left) * C, X = (z.top - v.top) * C, Q = z.width * C, Y = z.height * C;
5538
5555
  try {
5539
- R.drawImage(u, I, X, Q, Y), n(k.toDataURL("image/png"));
5556
+ R.drawImage(u, B, X, Q, Y), n(k.toDataURL("image/png"));
5540
5557
  } catch {
5541
5558
  n(e);
5542
5559
  }
@@ -5545,7 +5562,7 @@ function bl({ src: e, aspect: r, onCancel: t, onConfirm: n }) {
5545
5562
  /* @__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: [
5546
5563
  /* @__PURE__ */ i(ue, { sx: { fontSize: 14, fontWeight: 800, mb: 0.5 }, children: "Adjust brand image" }),
5547
5564
  /* @__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." }),
5548
- /* @__PURE__ */ p(S, { ref: c, onPointerDown: y, sx: { position: "relative", width: "100%", aspectRatio: "1.55", borderRadius: 2.5, overflow: "hidden", bgcolor: "#e9edf2", cursor: "grab", touchAction: "none", display: "grid", placeItems: "center", "&:active": { cursor: "grabbing" } }, children: [
5565
+ /* @__PURE__ */ p(S, { ref: c, onPointerDown: y, sx: { position: "relative", width: "100%", aspectRatio: String(r), borderRadius: 2.5, overflow: "hidden", bgcolor: "#e9edf2", cursor: "grab", touchAction: "none", display: "grid", placeItems: "center", "&:active": { cursor: "grabbing" } }, children: [
5549
5566
  /* @__PURE__ */ i("img", { ref: g, src: e, alt: "", draggable: !1, style: { position: "absolute", left: "50%", top: "50%", transform: `translate(-50%,-50%) translate(${a.x}px,${a.y}px) scale(${o})`, transformOrigin: "center", maxWidth: "100%", maxHeight: "100%", width: "auto", height: "auto", userSelect: "none", pointerEvents: "none" } }),
5550
5567
  /* @__PURE__ */ i(S, { ref: f, sx: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-50%)", height: "72%", aspectRatio: String(r), maxWidth: "90%", boxShadow: "0 0 0 9999px rgba(10,15,25,.62)", border: "2px solid #fff", borderRadius: "3px", pointerEvents: "none" } })
5551
5568
  ] }),
@@ -5634,7 +5651,7 @@ function Cl({ onClose: e }) {
5634
5651
  /* @__PURE__ */ i("circle", { cx: "8.5", cy: "7.5", r: "2.5" }),
5635
5652
  /* @__PURE__ */ i("circle", { cx: "6.5", cy: "12.5", r: "2.5" }),
5636
5653
  /* @__PURE__ */ i("path", { d: "M12 2a10 10 0 0 0 0 20 3 3 0 0 0 0-6 2 2 0 0 1 0-4 4 4 0 0 0 4-4 6 6 0 0 0-4-6z" })
5637
- ] }), I = /* @__PURE__ */ p(S, { sx: { display: "flex", gap: "2px", width: 14, height: 14 }, children: [
5654
+ ] }), B = /* @__PURE__ */ p(S, { sx: { display: "flex", gap: "2px", width: 14, height: 14 }, children: [
5638
5655
  /* @__PURE__ */ i(S, { sx: { flex: 1, background: l.secondaryHex, borderRadius: "2px" } }),
5639
5656
  /* @__PURE__ */ i(S, { sx: { flex: 1, background: l.errorHex, borderRadius: "2px" } }),
5640
5657
  /* @__PURE__ */ i(S, { sx: { flex: 1, background: l.successHex, borderRadius: "2px" } })
@@ -5647,7 +5664,7 @@ function Cl({ onClose: e }) {
5647
5664
  ] }), Y = /* @__PURE__ */ p(R, { children: [
5648
5665
  /* @__PURE__ */ i("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
5649
5666
  /* @__PURE__ */ i("path", { d: "M3 9h18M3 15h18M9 3v18" })
5650
- ] }), d = /* @__PURE__ */ i(R, { children: /* @__PURE__ */ i("rect", { x: "4", y: "4", width: "16", height: "16", rx: "4" }) }), B = /* @__PURE__ */ p(ge, { children: [
5667
+ ] }), d = /* @__PURE__ */ i(R, { children: /* @__PURE__ */ i("rect", { x: "4", y: "4", width: "16", height: "16", rx: "4" }) }), I = /* @__PURE__ */ p(ge, { children: [
5651
5668
  /* @__PURE__ */ p(R, { children: [
5652
5669
  /* @__PURE__ */ i("path", { d: "M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9" }),
5653
5670
  /* @__PURE__ */ i("path", { d: "M10 21a2 2 0 0 0 4 0" })
@@ -5668,12 +5685,12 @@ function Cl({ onClose: e }) {
5668
5685
  login: `${D[l.loginLayout] ?? ""}${l.loginImage ? " · image" : ""}`
5669
5686
  }, G = [
5670
5687
  { id: "theme", title: "Theme Settings", info: "Presets, saved themes & light/dark mode.", icon: z, screen: "dashboard", body: /* @__PURE__ */ i(Qs, {}) },
5671
- { id: "color", title: "Colour Settings", info: "Brand, text & status colours.", icon: I, screen: "components", body: /* @__PURE__ */ i(rl, {}) },
5688
+ { id: "color", title: "Colour Settings", info: "Brand, text & status colours.", icon: B, screen: "components", body: /* @__PURE__ */ i(rl, {}) },
5672
5689
  { id: "type", title: "Typography", info: "Fonts, sizes, weight & line-height.", icon: X, screen: "components", body: /* @__PURE__ */ i(pl, {}) },
5673
5690
  { id: "cards", title: "Cards", info: "Card style, header, nesting & tint.", icon: Q, screen: "dashboard", body: /* @__PURE__ */ i(fl, {}) },
5674
5691
  { id: "tables", title: "Tables", info: "Row/column density, dividers & alignment.", icon: Y, screen: "orders", body: /* @__PURE__ */ i(hl, {}) },
5675
5692
  { id: "shape", title: "Surface & Shape", info: "Radius, density, elevation & spacing.", icon: d, screen: "dashboard", body: /* @__PURE__ */ i(gl, {}) },
5676
- { id: "notif", title: "Notifications", info: "Toast placement & behaviour.", icon: B, screen: "operations", body: /* @__PURE__ */ i(ml, {}) },
5693
+ { id: "notif", title: "Notifications", info: "Toast placement & behaviour.", icon: I, screen: "operations", body: /* @__PURE__ */ i(ml, {}) },
5677
5694
  { id: "login", title: "Login Screen", info: "Brand image, logo & panel colour.", icon: A, screen: "login", body: /* @__PURE__ */ i(xl, {}) }
5678
5695
  ];
5679
5696
  return /* @__PURE__ */ p(S, { sx: { display: "flex", flexDirection: "column", bgcolor: h.card }, children: [
@@ -5751,7 +5768,7 @@ function Cl({ onClose: e }) {
5751
5768
  ] })
5752
5769
  ] });
5753
5770
  }
5754
- const wl = It(/* @__PURE__ */ i("path", {
5771
+ const wl = Bt(/* @__PURE__ */ i("path", {
5755
5772
  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"
5756
5773
  }), "DesktopWindowsOutlined");
5757
5774
  function Gr(e, r, t) {
@@ -5794,7 +5811,7 @@ function uo(e, r, t) {
5794
5811
  }
5795
5812
  const kl = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"], Tl = [44, 60, 50, 74, 88, 96], Rl = [24, 32, 30, 42, 52, 60];
5796
5813
  function El() {
5797
- 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: I, sMain: X } = e, Q = x + ",sans-serif", Y = r.fontFamily + ",sans-serif", d = e.hc1 || t.textPrimary, B = e.hc2 || t.textPrimary, A = e.hc3 || t.textPrimary, L = [
5814
+ 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 = [
5798
5815
  { label: "Revenue", val: "$2.41M", chg: "+12.5%", up: !0 },
5799
5816
  { label: "Open Orders", val: "1,284", chg: "+3.2%", up: !0 },
5800
5817
  { label: "Inventory", val: "8,540", chg: "-1.8%", up: !1 },
@@ -5833,7 +5850,7 @@ function El() {
5833
5850
  ] }),
5834
5851
  /* @__PURE__ */ i("div", { style: { padding: s, display: "grid", gridTemplateColumns: "repeat(4,1fr)", gap: l }, children: L.map((M) => /* @__PURE__ */ p("div", { style: { background: t.paper2, border: e.nestBorder, borderRadius: o, boxShadow: e.nestShadow, padding: a }, children: [
5835
5852
  /* @__PURE__ */ i("div", { style: { fontSize: y, color: t.textSecondary, fontWeight: h, fontFamily: Q, textTransform: "uppercase", letterSpacing: ".6px", marginBottom: 8 }, children: M.label }),
5836
- /* @__PURE__ */ i("div", { style: { fontSize: f, fontWeight: h, color: B, letterSpacing: "-.8px", lineHeight: 1, marginBottom: 6 }, children: M.val }),
5853
+ /* @__PURE__ */ i("div", { style: { fontSize: f, fontWeight: h, color: I, letterSpacing: "-.8px", lineHeight: 1, marginBottom: 6 }, children: M.val }),
5837
5854
  /* @__PURE__ */ p("span", { style: { fontSize: z, fontWeight: H, color: M.cc, background: M.cb, padding: "3px 9px", borderRadius: 999 }, children: [
5838
5855
  M.arrow,
5839
5856
  " ",
@@ -5845,7 +5862,7 @@ function El() {
5845
5862
  /* @__PURE__ */ p("div", { style: { ...q, display: "flex", flexDirection: "column", minHeight: 0 }, children: [
5846
5863
  /* @__PURE__ */ p("div", { style: V, children: [
5847
5864
  /* @__PURE__ */ i("span", { style: G, children: "Revenue Trend" }),
5848
- /* @__PURE__ */ i("div", { style: { display: "flex", gap: 12 }, children: [["Revenue", I], ["Profit", X]].map(([M, w]) => /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 5 }, children: [
5865
+ /* @__PURE__ */ i("div", { style: { display: "flex", gap: 12 }, children: [["Revenue", B], ["Profit", X]].map(([M, w]) => /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 5 }, children: [
5849
5866
  /* @__PURE__ */ i("div", { style: { width: 10, height: 10, borderRadius: 2, background: w } }),
5850
5867
  /* @__PURE__ */ i("span", { style: { fontSize: z, color: t.textSecondary }, children: M })
5851
5868
  ] }, M)) })
@@ -5853,7 +5870,7 @@ function El() {
5853
5870
  /* @__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: [
5854
5871
  /* @__PURE__ */ p("div", { style: { width: "100%", display: "flex", flexDirection: "column", justifyContent: "flex-end", gap: 3, flex: 1 }, children: [
5855
5872
  /* @__PURE__ */ i("div", { style: { width: "100%", height: Rl[w] + "%", background: X, opacity: 0.55, borderRadius: `${o} ${o} 0 0` } }),
5856
- /* @__PURE__ */ i("div", { style: { width: "100%", height: Tl[w] + "%", background: I, borderRadius: `${o} ${o} 0 0` } })
5873
+ /* @__PURE__ */ i("div", { style: { width: "100%", height: Tl[w] + "%", background: B, borderRadius: `${o} ${o} 0 0` } })
5857
5874
  ] }),
5858
5875
  /* @__PURE__ */ i("span", { style: { fontSize: z, color: t.textSecondary }, children: M })
5859
5876
  ] }, M)) })
@@ -5891,23 +5908,23 @@ const Hl = [
5891
5908
  { id: "ORD-1027", cust: "Bluth Company", status: "Processing", amt: "$6,410", date: "Jun 03" }
5892
5909
  ], Pr = "100px 1fr 120px 100px 80px 70px";
5893
5910
  function Pl() {
5894
- 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: I } = e, X = m + ",sans-serif", Q = r.fontFamily + ",sans-serif", Y = e.hc1 || t.textPrimary, [d, B, A] = uo(12, 3, 16), L = Hl.slice(0, A).map((J, P) => ({
5911
+ 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) => ({
5895
5912
  ...J,
5896
- ...I.statusMap[J.status] || { sb: t.divider, sc: t.textSecondary },
5897
- rowBg: r.tableStripe && P % 2 === 1 ? I.stripeBg : "transparent"
5913
+ ...B.statusMap[J.status] || { sb: t.divider, sc: t.textSecondary },
5914
+ rowBg: r.tableStripe && P % 2 === 1 ? B.stripeBg : "transparent"
5898
5915
  })), N = e.cardBorder === "none" ? "none" : e.cardBorder, K = (J) => ({
5899
5916
  fontSize: H,
5900
5917
  fontWeight: C,
5901
5918
  color: t.textSecondary,
5902
5919
  textTransform: "uppercase",
5903
5920
  letterSpacing: ".5px",
5904
- borderRight: I.colBorder,
5921
+ borderRight: B.colBorder,
5905
5922
  alignSelf: "stretch",
5906
5923
  display: "flex",
5907
- alignItems: I.cellAI,
5908
- justifyContent: I.cellJC,
5909
- padding: `${I.rowPy} ${I.cellPx}`
5910
- }), U = { alignSelf: "stretch", display: "flex", alignItems: I.cellAI, justifyContent: I.cellJC, padding: `${I.rowPy} ${I.cellPx}` };
5924
+ alignItems: B.cellAI,
5925
+ justifyContent: B.cellJC,
5926
+ padding: `${B.rowPy} ${B.cellPx}`
5927
+ }), U = { alignSelf: "stretch", display: "flex", alignItems: B.cellAI, justifyContent: B.cellJC, padding: `${B.rowPy} ${B.cellPx}` };
5911
5928
  return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: N, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: Q, fontWeight: R, color: t.textPrimary }, children: [
5912
5929
  /* @__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: [
5913
5930
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
@@ -5922,22 +5939,22 @@ function Pl() {
5922
5939
  /* @__PURE__ */ i("span", { style: { color: t.textSecondary, fontSize: 13 }, children: "⌕" }),
5923
5940
  /* @__PURE__ */ i("span", { style: { fontSize: v, color: t.textSecondary }, children: "Search orders…" })
5924
5941
  ] }),
5925
- I.filters.map((J) => /* @__PURE__ */ i("button", { style: { padding: "7px 14px", borderRadius: 999, border: "1px solid " + J.brd, background: J.bg, color: J.c, fontSize: $, fontWeight: C, whiteSpace: "nowrap", cursor: "pointer" }, children: J.label }, J.label))
5942
+ B.filters.map((J) => /* @__PURE__ */ i("button", { style: { padding: "7px 14px", borderRadius: 999, border: "1px solid " + J.brd, background: J.bg, color: J.c, fontSize: $, fontWeight: C, whiteSpace: "nowrap", cursor: "pointer" }, children: J.label }, J.label))
5926
5943
  ] }),
5927
- /* @__PURE__ */ p("div", { ref: d, style: { display: "grid", gridTemplateColumns: Pr, padding: `0 ${s}px`, borderBottom: I.rowBorder, background: I.headBg }, children: [
5944
+ /* @__PURE__ */ p("div", { ref: d, style: { display: "grid", gridTemplateColumns: Pr, padding: `0 ${s}px`, borderBottom: B.rowBorder, background: B.headBg }, children: [
5928
5945
  ["Order ID", "Customer", "Status", "Amount", "Date"].map((J) => /* @__PURE__ */ i("div", { style: K(), children: J }, J)),
5929
- /* @__PURE__ */ i("div", { style: { alignSelf: "stretch", padding: `${I.rowPy} 0` } })
5946
+ /* @__PURE__ */ i("div", { style: { alignSelf: "stretch", padding: `${B.rowPy} 0` } })
5930
5947
  ] }),
5931
- /* @__PURE__ */ p("div", { ref: B, style: { position: "relative", display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: [
5948
+ /* @__PURE__ */ p("div", { ref: I, style: { position: "relative", display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: [
5932
5949
  /* @__PURE__ */ p("div", { style: { position: "absolute", inset: 0, padding: `0 ${s}px`, display: "grid", gridTemplateColumns: Pr, pointerEvents: "none", zIndex: 2 }, children: [
5933
- /* @__PURE__ */ i("div", { style: { borderRight: I.colBorder } }),
5934
- /* @__PURE__ */ i("div", { style: { borderRight: I.colBorder } }),
5935
- /* @__PURE__ */ i("div", { style: { borderRight: I.colBorder } }),
5936
- /* @__PURE__ */ i("div", { style: { borderRight: I.colBorder } }),
5937
- /* @__PURE__ */ i("div", { style: { borderRight: I.colBorder } }),
5950
+ /* @__PURE__ */ i("div", { style: { borderRight: B.colBorder } }),
5951
+ /* @__PURE__ */ i("div", { style: { borderRight: B.colBorder } }),
5952
+ /* @__PURE__ */ i("div", { style: { borderRight: B.colBorder } }),
5953
+ /* @__PURE__ */ i("div", { style: { borderRight: B.colBorder } }),
5954
+ /* @__PURE__ */ i("div", { style: { borderRight: B.colBorder } }),
5938
5955
  /* @__PURE__ */ i("div", {})
5939
5956
  ] }),
5940
- L.map((J) => /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: Pr, padding: `0 ${s}px`, borderBottom: I.rowBorder, alignItems: "stretch", background: J.rowBg }, children: [
5957
+ L.map((J) => /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: Pr, padding: `0 ${s}px`, borderBottom: B.rowBorder, alignItems: "stretch", background: J.rowBg }, children: [
5941
5958
  /* @__PURE__ */ i("div", { style: { ...U, fontSize: v, fontWeight: C, color: z, fontFamily: Q }, children: J.id }),
5942
5959
  /* @__PURE__ */ i("div", { style: { ...U, fontSize: b, color: t.textPrimary, fontWeight: C }, children: J.cust }),
5943
5960
  /* @__PURE__ */ i("div", { style: U, children: /* @__PURE__ */ i("span", { style: { padding: "4px 11px", borderRadius: 999, fontSize: $, fontWeight: C, background: J.sb, color: J.sc, whiteSpace: "nowrap" }, children: J.status }) }),
@@ -5984,12 +6001,12 @@ function $l() {
5984
6001
  accentBg: k,
5985
6002
  btnText: R,
5986
6003
  btnShadow: z,
5987
- bwEmph: I,
6004
+ bwEmph: B,
5988
6005
  btnCase: X,
5989
6006
  bodyWeightEff: Q,
5990
6007
  bodyLH: Y,
5991
6008
  pMain: d,
5992
- errSoft: B,
6009
+ errSoft: I,
5993
6010
  errTxt: A,
5994
6011
  warnSoft: L,
5995
6012
  warnTxt: N,
@@ -5997,7 +6014,7 @@ function $l() {
5997
6014
  infoTxt: U,
5998
6015
  sucSoft: J,
5999
6016
  sucTxt: P
6000
- } = e, D = H + ",sans-serif", q = r.fontFamily + ",sans-serif", V = e.t.highlight, G = e.t.highlightSoft, M = e.t.highlightBd, w = t.pContainer, O = t.onPContainer, F = t.pContrast, E = e.hc1 || t.textPrimary, W = e.hc2 || t.textPrimary, te = e.hc3 || t.textPrimary, _ = e.hc4 || t.textPrimary, me = e.hc5 || t.textPrimary, Ne = e.hc6 || t.textPrimary, je = e.cardBorder === "none" ? "none" : e.cardBorder, Qe = { display: "flex", flexDirection: "column", background: t.paper, border: je, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", height: "100%" }, Ze = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, Ie = { fontSize: m, lineHeight: C, fontWeight: $, color: te, fontFamily: D }, fr = [
6017
+ } = e, D = H + ",sans-serif", q = r.fontFamily + ",sans-serif", V = e.t.highlight, G = e.t.highlightSoft, M = e.t.highlightBd, w = t.pContainer, O = t.onPContainer, F = t.pContrast, E = e.hc1 || t.textPrimary, W = e.hc2 || t.textPrimary, te = e.hc3 || t.textPrimary, _ = e.hc4 || t.textPrimary, me = e.hc5 || t.textPrimary, Ne = e.hc6 || t.textPrimary, je = e.cardBorder === "none" ? "none" : e.cardBorder, Qe = { display: "flex", flexDirection: "column", background: t.paper, border: je, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", height: "100%" }, Ze = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, Be = { fontSize: m, lineHeight: C, fontWeight: $, color: te, fontFamily: D }, fr = [
6001
6018
  { label: "Dashboard Overview", size: g, w: $, color: E, lh: 1.1, ls: "-.5px", name: "H1", border: !0 },
6002
6019
  { label: "Revenue Report", size: f, w: $, color: W, lh: 1.1, ls: "-.4px", name: "H2", border: !0 },
6003
6020
  { label: "Performance Overview", size: m, w: $, color: te, lh: 1.15, name: "H3", border: !0 },
@@ -6006,21 +6023,21 @@ function $l() {
6006
6023
  { label: "Status · Live", size: x, w: $, color: Ne, lh: 1.3, name: "H6", border: !0 }
6007
6024
  ], Ve = (ee) => /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 10, padding: "11px 12px", borderBottom: "1px solid " + t.divider, background: ee ? G : "transparent", boxShadow: ee ? "inset 3px 0 0 " + V : "none" }, children: [
6008
6025
  /* @__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 } }) }),
6009
- /* @__PURE__ */ i("span", { style: { flex: 1, fontSize: b, fontFamily: q, fontWeight: ee ? I : Q, color: t.textPrimary }, children: ee ? "Selected item" : "Unselected item" }),
6010
- ee && /* @__PURE__ */ i("span", { style: { fontSize: v, fontFamily: q, fontWeight: I, color: t.textSecondary }, children: "Active" })
6011
- ] }), Bt = (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: [
6012
- /* @__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 ? I : void 0 }, children: St }),
6026
+ /* @__PURE__ */ i("span", { style: { flex: 1, fontSize: b, fontFamily: q, fontWeight: ee ? B : Q, color: t.textPrimary }, children: ee ? "Selected item" : "Unselected item" }),
6027
+ ee && /* @__PURE__ */ i("span", { style: { fontSize: v, fontFamily: q, fontWeight: B, color: t.textSecondary }, children: "Active" })
6028
+ ] }), 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: [
6029
+ /* @__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 }),
6013
6030
  /* @__PURE__ */ i("span", { style: { fontSize: u, color: ee ? t.textPrimary : t.textSecondary }, children: Ct })
6014
- ] }), et = (ee, St, Ct) => /* @__PURE__ */ i("span", { style: { padding: "5px 13px", borderRadius: 999, background: ee, color: St, fontSize: v, fontWeight: I }, children: Ct }), Ue = (ee) => ({ padding: "9px 20px", borderRadius: o, fontSize: b, fontWeight: I, textTransform: X, letterSpacing: ".4px", cursor: "pointer", ...ee });
6031
+ ] }), 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 });
6015
6032
  return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: je, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: q, fontWeight: Q, color: t.textPrimary }, children: [
6016
6033
  /* @__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: [
6017
6034
  /* @__PURE__ */ i("div", { style: { fontSize: g, lineHeight: C, fontWeight: $, color: E, letterSpacing: "-.3px", fontFamily: D }, children: "Component Library" }),
6018
- /* @__PURE__ */ i("span", { title: "Every Material UI component reflects your live theme", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: I, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
6035
+ /* @__PURE__ */ i("span", { title: "Every Material UI component reflects your live theme", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: B, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
6019
6036
  ] }) }),
6020
6037
  /* @__PURE__ */ p("div", { style: { padding: c, background: t.bgDefault, display: "flex", flexDirection: "column", gap: l, flex: 1, minHeight: 0 }, children: [
6021
6038
  /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: l, alignItems: "stretch" }, children: [
6022
6039
  /* @__PURE__ */ p("div", { style: Qe, children: [
6023
- /* @__PURE__ */ i("div", { style: Ze, children: /* @__PURE__ */ i("span", { style: Ie, children: "Typography Scale" }) }),
6040
+ /* @__PURE__ */ i("div", { style: Ze, children: /* @__PURE__ */ i("span", { style: Be, children: "Typography Scale" }) }),
6024
6041
  /* @__PURE__ */ p("div", { style: { padding: s, display: "flex", flexDirection: "column", justifyContent: "space-between", flex: 1, minHeight: 0, gap: 6 }, children: [
6025
6042
  fr.map((ee) => /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "baseline", justifyContent: "space-between", gap: 12, borderBottom: "1px solid " + t.divider, paddingBottom: 14 }, children: [
6026
6043
  /* @__PURE__ */ i("span", { style: { fontSize: ee.size, lineHeight: ee.lh, fontWeight: ee.w, color: ee.color, fontFamily: D, letterSpacing: ee.ls }, children: ee.label }),
@@ -6047,12 +6064,12 @@ function $l() {
6047
6064
  ] })
6048
6065
  ] }),
6049
6066
  /* @__PURE__ */ p("div", { style: Qe, children: [
6050
- /* @__PURE__ */ i("div", { style: Ze, children: /* @__PURE__ */ i("span", { style: Ie, children: "Selection States" }) }),
6067
+ /* @__PURE__ */ i("div", { style: Ze, children: /* @__PURE__ */ i("span", { style: Be, children: "Selection States" }) }),
6051
6068
  /* @__PURE__ */ p("div", { style: { padding: s, display: "flex", flexDirection: "column", gap: 14 }, children: [
6052
6069
  /* @__PURE__ */ p("div", { style: { display: "flex", gap: 2, borderBottom: "1.5px solid " + t.divider }, children: [
6053
- /* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: b, fontWeight: I, color: t.textPrimary, background: G, borderBottom: "2.5px solid " + d, marginBottom: -1.5, borderRadius: "6px 6px 0 0" }, children: "Overview" }),
6054
- /* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: b, fontWeight: I, color: t.textSecondary }, children: "Activity" }),
6055
- /* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: b, fontWeight: I, color: t.textSecondary }, children: "Settings" })
6070
+ /* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: b, fontWeight: B, color: t.textPrimary, background: G, borderBottom: "2.5px solid " + d, marginBottom: -1.5, borderRadius: "6px 6px 0 0" }, children: "Overview" }),
6071
+ /* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: b, fontWeight: B, color: t.textSecondary }, children: "Activity" }),
6072
+ /* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: b, fontWeight: B, color: t.textSecondary }, children: "Settings" })
6056
6073
  ] }),
6057
6074
  /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", border: "1px solid " + t.divider, borderRadius: o, overflow: "hidden" }, children: [
6058
6075
  Ve(!0),
@@ -6062,20 +6079,20 @@ function $l() {
6062
6079
  Ve(!0),
6063
6080
  Ve(!1)
6064
6081
  ] }),
6065
- /* @__PURE__ */ i("div", { style: { display: "inline-flex", alignSelf: "flex-start", padding: "6px 12px", borderRadius: o, background: G, border: "1px solid " + M }, children: /* @__PURE__ */ i("span", { style: { fontSize: v, fontWeight: I, color: V }, children: "2 selected items" }) })
6082
+ /* @__PURE__ */ i("div", { style: { display: "inline-flex", alignSelf: "flex-start", padding: "6px 12px", borderRadius: o, background: G, border: "1px solid " + M }, children: /* @__PURE__ */ i("span", { style: { fontSize: v, fontWeight: B, color: V }, children: "2 selected items" }) })
6066
6083
  ] })
6067
6084
  ] })
6068
6085
  ] }),
6069
6086
  /* @__PURE__ */ p("div", { style: { ...Qe, height: "auto" }, children: [
6070
- /* @__PURE__ */ i("div", { style: Ze, children: /* @__PURE__ */ i("span", { style: Ie, children: "Inputs & Selection" }) }),
6087
+ /* @__PURE__ */ i("div", { style: Ze, children: /* @__PURE__ */ i("span", { style: Be, children: "Inputs & Selection" }) }),
6071
6088
  /* @__PURE__ */ p("div", { style: { padding: s }, children: [
6072
6089
  /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: l, marginBottom: l }, children: [
6073
- Bt(!1, "Outlined", "Placeholder…"),
6074
- Bt(!0, "Focused", "Active value")
6090
+ It(!1, "Outlined", "Placeholder…"),
6091
+ It(!0, "Focused", "Active value")
6075
6092
  ] }),
6076
6093
  /* @__PURE__ */ p("div", { style: { display: "flex", gap: 22, alignItems: "center", flexWrap: "wrap", paddingTop: a, borderTop: "1px solid " + t.divider }, children: [
6077
6094
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
6078
- /* @__PURE__ */ i("div", { style: { width: 18, height: 18, borderRadius: 4, background: d, display: "grid", placeItems: "center", color: F, fontSize: 11, fontWeight: I }, children: "✓" }),
6095
+ /* @__PURE__ */ i("div", { style: { width: 18, height: 18, borderRadius: 4, background: d, display: "grid", placeItems: "center", color: F, fontSize: 11, fontWeight: B }, children: "✓" }),
6079
6096
  /* @__PURE__ */ i("span", { style: { fontSize: b, color: t.textPrimary }, children: "Checkbox" })
6080
6097
  ] }),
6081
6098
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
@@ -6091,29 +6108,29 @@ function $l() {
6091
6108
  ] }),
6092
6109
  /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: l, alignItems: "stretch" }, children: [
6093
6110
  /* @__PURE__ */ p("div", { style: Qe, children: [
6094
- /* @__PURE__ */ i("div", { style: Ze, children: /* @__PURE__ */ i("span", { style: Ie, children: "Buttons" }) }),
6111
+ /* @__PURE__ */ i("div", { style: Ze, children: /* @__PURE__ */ i("span", { style: Be, children: "Buttons" }) }),
6095
6112
  /* @__PURE__ */ p("div", { style: { padding: s, display: "flex", gap: 10, flexWrap: "wrap", alignItems: "center" }, children: [
6096
6113
  /* @__PURE__ */ i("button", { style: Ue({ border: "none", background: k, color: R, boxShadow: z }), children: "Contained" }),
6097
6114
  /* @__PURE__ */ i("button", { style: Ue({ border: "1.5px solid " + d, background: "transparent", color: d }), children: "Outlined" }),
6098
6115
  /* @__PURE__ */ i("button", { style: Ue({ border: "none", background: "transparent", color: d }), children: "Text" }),
6099
6116
  /* @__PURE__ */ i("button", { style: Ue({ border: "none", background: w, color: O }), children: "Tonal" }),
6100
6117
  /* @__PURE__ */ i("button", { style: Ue({ border: "none", background: k, color: R, boxShadow: z, borderRadius: 999 }), children: "Rounded" }),
6101
- /* @__PURE__ */ i("button", { style: Ue({ border: "none", background: B, color: A }), children: "Error" })
6118
+ /* @__PURE__ */ i("button", { style: Ue({ border: "none", background: I, color: A }), children: "Error" })
6102
6119
  ] })
6103
6120
  ] }),
6104
6121
  /* @__PURE__ */ p("div", { style: Qe, children: [
6105
- /* @__PURE__ */ i("div", { style: Ze, children: /* @__PURE__ */ i("span", { style: Ie, children: "Chips, Alerts & Progress" }) }),
6122
+ /* @__PURE__ */ i("div", { style: Ze, children: /* @__PURE__ */ i("span", { style: Be, children: "Chips, Alerts & Progress" }) }),
6106
6123
  /* @__PURE__ */ p("div", { style: { padding: s }, children: [
6107
6124
  /* @__PURE__ */ p("div", { style: { display: "flex", gap: 8, flexWrap: "wrap", marginBottom: l }, children: [
6108
6125
  et(w, O, "Primary"),
6109
6126
  et(J, P, "Success"),
6110
6127
  et(L, N, "Warning"),
6111
6128
  et(K, U, "Info"),
6112
- et(B, A, "Error")
6129
+ et(I, A, "Error")
6113
6130
  ] }),
6114
6131
  /* @__PURE__ */ p("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 7 }, children: [
6115
- /* @__PURE__ */ i("span", { style: { fontSize: b, color: t.textPrimary, fontWeight: I }, children: "Revenue goal" }),
6116
- /* @__PURE__ */ i("span", { style: { fontSize: b, color: d, fontWeight: I }, children: "74%" })
6132
+ /* @__PURE__ */ i("span", { style: { fontSize: b, color: t.textPrimary, fontWeight: B }, children: "Revenue goal" }),
6133
+ /* @__PURE__ */ i("span", { style: { fontSize: b, color: d, fontWeight: B }, children: "74%" })
6117
6134
  ] }),
6118
6135
  /* @__PURE__ */ i("div", { style: { height: 8, background: t.paper2, border: "1px solid " + t.divider, borderRadius: 999, overflow: "hidden" }, children: /* @__PURE__ */ i("div", { style: { height: "100%", width: "74%", background: d, borderRadius: 999 } }) })
6119
6136
  ] })
@@ -6127,14 +6144,14 @@ const Al = [
6127
6144
  { label: "Recording", val: "4" },
6128
6145
  { label: "Motion Alerts", val: "2" },
6129
6146
  { label: "Storage Used", val: "82%" }
6130
- ], Il = [
6147
+ ], Bl = [
6131
6148
  { name: "CAM 01", loc: "Main Lobby", rec: !0, online: !0, time: "14:32:08" },
6132
6149
  { name: "CAM 02", loc: "North Gate", rec: !0, online: !0, time: "14:32:08" },
6133
6150
  { name: "CAM 03", loc: "Loading Bay", rec: !1, online: !0, time: "14:32:07" },
6134
6151
  { name: "CAM 04", loc: "Rooftop", rec: !0, online: !0, time: "14:32:08" },
6135
6152
  { name: "CAM 05", loc: "Parking Deck", rec: !1, online: !1, time: "—" },
6136
6153
  { name: "CAM 06", loc: "Server Room", rec: !0, online: !0, time: "14:32:08" }
6137
- ], Bl = [
6154
+ ], Il = [
6138
6155
  { cam: "CAM 04", label: "Motion detected — Rooftop", time: "just now", sev: "error" },
6139
6156
  { cam: "CAM 02", label: "Person identified — North Gate", time: "6m ago", sev: "info" },
6140
6157
  { cam: "CAM 01", label: "Loitering cleared — Main Lobby", time: "22m ago", sev: "success" },
@@ -6153,7 +6170,7 @@ const Al = [
6153
6170
  { cam: "CAM 03", label: "Package scanned — Loading Bay", time: "8h ago", sev: "info" }
6154
6171
  ];
6155
6172
  function Ol() {
6156
- 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: I, errTxt: X, mediaBg: Q, overlaySurface: Y, overlayBorder: d, onOverlay: B, 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 = Il.map((F) => ({ ...F, dotC: F.online ? r.successHex : t.textDisabled })), [q, V] = Gr(3, 3, 16), G = Bl.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 };
6173
+ 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 };
6157
6174
  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: [
6158
6175
  /* @__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: [
6159
6176
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
@@ -6161,7 +6178,7 @@ function Ol() {
6161
6178
  /* @__PURE__ */ i("span", { title: "6 feeds · live monitoring & recording", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: k, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
6162
6179
  ] }),
6163
6180
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
6164
- /* @__PURE__ */ p("span", { style: { display: "inline-flex", alignItems: "center", gap: 6, fontSize: H, fontWeight: k, color: X, background: I, padding: "6px 12px", borderRadius: 999 }, children: [
6181
+ /* @__PURE__ */ p("span", { style: { display: "inline-flex", alignItems: "center", gap: 6, fontSize: H, fontWeight: k, color: X, background: B, padding: "6px 12px", borderRadius: 999 }, children: [
6165
6182
  /* @__PURE__ */ i("span", { style: { width: 7, height: 7, borderRadius: "50%", background: r.errorHex } }),
6166
6183
  "LIVE"
6167
6184
  ] }),
@@ -6183,11 +6200,11 @@ function Ol() {
6183
6200
  /* @__PURE__ */ i("div", { style: { position: "absolute", inset: 0, display: "grid", placeItems: "center" }, children: /* @__PURE__ */ i("span", { style: { fontFamily: "monospace", fontSize: H, color: "rgba(255,255,255,.3)", letterSpacing: 1 }, children: F.loc }) }),
6184
6201
  /* @__PURE__ */ p("div", { style: { position: "absolute", top: 7, left: 7, display: "flex", alignItems: "center", gap: 5, background: Y, border: "1px solid " + d, borderRadius: 999, padding: "2px 8px" }, children: [
6185
6202
  /* @__PURE__ */ i("span", { style: { width: 6, height: 6, borderRadius: "50%", background: F.dotC } }),
6186
- /* @__PURE__ */ i("span", { style: { color: B, fontSize: H, fontWeight: 700, letterSpacing: ".4px" }, children: F.name })
6203
+ /* @__PURE__ */ i("span", { style: { color: I, fontSize: H, fontWeight: 700, letterSpacing: ".4px" }, children: F.name })
6187
6204
  ] }),
6188
6205
  F.rec && /* @__PURE__ */ p("div", { style: { position: "absolute", top: 7, right: 7, display: "flex", alignItems: "center", gap: 4, background: Y, borderRadius: 999, padding: "2px 7px" }, children: [
6189
6206
  /* @__PURE__ */ i("span", { style: { width: 6, height: 6, borderRadius: "50%", background: r.errorHex } }),
6190
- /* @__PURE__ */ i("span", { style: { color: B, fontSize: 8, fontWeight: 800, letterSpacing: ".5px" }, children: "REC" })
6207
+ /* @__PURE__ */ i("span", { style: { color: I, fontSize: 8, fontWeight: 800, letterSpacing: ".5px" }, children: "REC" })
6191
6208
  ] }),
6192
6209
  F.online && /* @__PURE__ */ i("div", { style: { position: "absolute", bottom: 0, left: 0, right: 0, padding: "5px 8px", background: "linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,0))", display: "flex", justifyContent: "space-between", alignItems: "center" }, children: /* @__PURE__ */ i("span", { style: { color: "#fff", fontSize: H, fontWeight: 600, fontFamily: "monospace" }, children: F.time }) })
6193
6210
  ] }, F.name)) })
@@ -6229,7 +6246,7 @@ const Dl = [
6229
6246
  { ic: "!", label: "Disk latency elevated — NVR-02", time: "18h ago", sev: "warning", unread: !1 }
6230
6247
  ];
6231
6248
  function Ml() {
6232
- 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: I, mediaBg: X, overlaySurface: Q, overlayBorder: Y, onOverlay: d, sevMap: B } = 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, ...B[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" };
6249
+ 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" };
6233
6250
  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: [
6234
6251
  /* @__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: [
6235
6252
  /* @__PURE__ */ i("div", { style: { fontSize: g, lineHeight: h, fontWeight: m, color: N, letterSpacing: "-.3px", fontFamily: A }, children: "Operations Center" }),
@@ -6259,7 +6276,7 @@ function Ml() {
6259
6276
  /* @__PURE__ */ p("div", { style: V, children: [
6260
6277
  /* @__PURE__ */ p("div", { style: G, children: [
6261
6278
  /* @__PURE__ */ i("span", { style: M, children: "Notifications" }),
6262
- /* @__PURE__ */ p("span", { style: { fontSize: $, fontWeight: H, color: t.pContrast, background: I, padding: "2px 9px", borderRadius: 999 }, children: [
6279
+ /* @__PURE__ */ p("span", { style: { fontSize: $, fontWeight: H, color: t.pContrast, background: B, padding: "2px 9px", borderRadius: 999 }, children: [
6263
6280
  q,
6264
6281
  " NEW"
6265
6282
  ] })
@@ -6270,7 +6287,7 @@ function Ml() {
6270
6287
  /* @__PURE__ */ i("div", { style: { fontSize: b, color: t.textPrimary, fontWeight: C, lineHeight: k }, children: O.label }),
6271
6288
  /* @__PURE__ */ i("div", { style: { fontSize: v, color: t.textSecondary, marginTop: 2 }, children: O.time })
6272
6289
  ] }),
6273
- O.unread && /* @__PURE__ */ i("div", { style: { width: 8, height: 8, borderRadius: "50%", background: I, flexShrink: 0, marginTop: 6 } })
6290
+ O.unread && /* @__PURE__ */ i("div", { style: { width: 8, height: 8, borderRadius: "50%", background: B, flexShrink: 0, marginTop: 6 } })
6274
6291
  ] }, F)) })
6275
6292
  ] })
6276
6293
  ] }) })
@@ -6306,7 +6323,7 @@ const Fl = [
6306
6323
  { name: "Cost Allocation Summary", type: "Financial", date: "Jun 04", status: "Ready" }
6307
6324
  ], zn = "1fr 130px 110px 90px 70px";
6308
6325
  function jl() {
6309
- 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: I, pMain: X, sMain: Q, chartPalette: Y, table: d } = e, B = 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) => ({
6326
+ 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) => ({
6310
6327
  ...W,
6311
6328
  sb: W.status === "Ready" ? e.sucSoft : e.warnSoft,
6312
6329
  sc: W.status === "Ready" ? e.sucTxt : e.warnTxt,
@@ -6318,11 +6335,11 @@ function jl() {
6318
6335
  alignItems: d.cellAI,
6319
6336
  justifyContent: d.cellJC,
6320
6337
  padding: `${d.rowPy} ${d.cellPx}`
6321
- }, M = { alignSelf: "stretch", display: "flex", alignItems: d.cellAI, justifyContent: d.cellJC, padding: `${d.rowPy} ${d.cellPx}` }, w = { background: t.paper, border: U, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, O = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, F = { fontSize: m, lineHeight: x, fontWeight: y, color: K, fontFamily: B }, E = { fontSize: k, fontWeight: R, color: t.textSecondary, textTransform: "uppercase", letterSpacing: ".5px" };
6322
- return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: U, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: A, fontWeight: I, color: t.textPrimary }, children: [
6338
+ }, M = { alignSelf: "stretch", display: "flex", alignItems: d.cellAI, justifyContent: d.cellJC, padding: `${d.rowPy} ${d.cellPx}` }, w = { background: t.paper, border: U, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, O = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, F = { fontSize: m, lineHeight: x, fontWeight: y, color: K, fontFamily: I }, E = { fontSize: k, fontWeight: R, color: t.textSecondary, textTransform: "uppercase", letterSpacing: ".5px" };
6339
+ return /* @__PURE__ */ p("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: U, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: A, fontWeight: B, color: t.textPrimary }, children: [
6323
6340
  /* @__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: [
6324
6341
  /* @__PURE__ */ p("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
6325
- /* @__PURE__ */ i("div", { style: { fontSize: g, lineHeight: x, fontWeight: y, color: L, letterSpacing: "-.3px", fontFamily: B }, children: "Reports" }),
6342
+ /* @__PURE__ */ i("div", { style: { fontSize: g, lineHeight: x, fontWeight: y, color: L, letterSpacing: "-.3px", fontFamily: I }, children: "Reports" }),
6326
6343
  /* @__PURE__ */ i("span", { title: "Generated insights across every module", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: R, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
6327
6344
  ] }),
6328
6345
  /* @__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" })
@@ -6394,11 +6411,11 @@ function Vl() {
6394
6411
  hasLoginImage: $,
6395
6412
  loginCenteredGrad: H,
6396
6413
  loginScrimGradC: C
6397
- } = e, k = r.fontFamily + ",sans-serif", R = e.hc1 || t.textPrimary, z = t.pContrast, I = e.cardBorder === "none" ? "none" : e.cardBorder, X = r.logoMode === "image" && !!r.logoUrl, Q = e.isDark ? t.paper2 : "#ffffff", Y = r.loginPanelColor || t.bgDefault, d = r.loginImgOpacity > 0 ? r.loginImgOpacity : 1, B = $ ? /* @__PURE__ */ i("img", { src: r.loginImage, alt: "", style: { position: "absolute", inset: 0, width: "100%", height: "100%", objectFit: "cover", zIndex: 0, opacity: d } }) : null, A = { background: t.paper, border: I, borderRadius: n, boxShadow: e.cardShadow, padding: s, display: "flex", flexDirection: "column", gap: 20 }, L = (N) => ({ position: "relative", background: t.paper2, border: "1.5px solid " + (N ? b : t.outline), borderRadius: o });
6414
+ } = e, k = r.fontFamily + ",sans-serif", R = e.hc1 || t.textPrimary, z = t.pContrast, B = e.cardBorder === "none" ? "none" : e.cardBorder, X = r.logoMode === "image" && !!r.logoUrl, Q = e.isDark ? t.paper2 : "#ffffff", Y = r.loginPanelColor || t.bgDefault, d = r.loginImgOpacity > 0 ? r.loginImgOpacity : 1, I = $ ? /* @__PURE__ */ i("img", { src: r.loginImage, alt: "", style: { position: "absolute", inset: 0, width: "100%", height: "100%", objectFit: "cover", zIndex: 0, opacity: d } }) : null, A = { background: t.paper, border: B, borderRadius: n, boxShadow: e.cardShadow, padding: s, display: "flex", flexDirection: "column", gap: 20 }, L = (N) => ({ position: "relative", background: t.paper2, border: "1.5px solid " + (N ? b : t.outline), borderRadius: o });
6398
6415
  return r.loginLayout === "centered" ? /* @__PURE__ */ p("div", { style: { minHeight: 560, background: H, display: "flex", alignItems: "center", justifyContent: "center", padding: 40, position: "relative", overflow: "hidden", fontFamily: k, borderRadius: n }, children: [
6399
- B,
6416
+ I,
6400
6417
  $ && /* @__PURE__ */ i("div", { style: { position: "absolute", inset: 0, background: C, zIndex: 0 } }),
6401
- /* @__PURE__ */ p("div", { style: { position: "relative", zIndex: 1, width: "100%", maxWidth: 380, background: t.paper, border: I, borderRadius: n, boxShadow: "0 24px 60px rgba(0,0,0,.35)", padding: s, display: "flex", flexDirection: "column", gap: 20, alignItems: "center" }, children: [
6418
+ /* @__PURE__ */ p("div", { style: { position: "relative", zIndex: 1, width: "100%", maxWidth: 380, background: t.paper, border: B, borderRadius: n, boxShadow: "0 24px 60px rgba(0,0,0,.35)", padding: s, display: "flex", flexDirection: "column", gap: 20, alignItems: "center" }, children: [
6402
6419
  /* @__PURE__ */ i("div", { style: { width: 72, height: 72, borderRadius: 20, background: r.iconColor, display: "grid", placeItems: "center", boxShadow: "0 6px 18px " + r.iconColor + "55" }, children: /* @__PURE__ */ i("span", { style: { color: "#fff", fontSize: 24, fontWeight: u, letterSpacing: "-1px" }, children: v }) }),
6403
6420
  /* @__PURE__ */ p("div", { style: { width: "100%", display: "flex", flexDirection: "column", gap: 14 }, children: [
6404
6421
  /* @__PURE__ */ p("div", { style: { position: "relative", border: "1.5px solid " + t.outline, borderRadius: o, padding: "13px 14px" }, children: [
@@ -6414,7 +6431,7 @@ function Vl() {
6414
6431
  ] })
6415
6432
  ] }) : /* @__PURE__ */ p("div", { style: { display: "grid", gridTemplateColumns: "3fr 1fr", minHeight: 560, fontFamily: k, borderRadius: n, overflow: "hidden" }, children: [
6416
6433
  /* @__PURE__ */ p("div", { style: { background: Q, display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", padding: "48px 40px", gap: 22, position: "relative", overflow: "hidden" }, children: [
6417
- B,
6434
+ I,
6418
6435
  !$ && /* @__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: [
6419
6436
  /* @__PURE__ */ i(_n, { size: 46 }),
6420
6437
  /* @__PURE__ */ i("div", { style: { fontSize: 14, fontWeight: u, color: t.textPrimary }, children: "No brand image" }),
@@ -6494,14 +6511,14 @@ function Yl() {
6494
6511
  if (n !== "fit") {
6495
6512
  const d = n / 100;
6496
6513
  y.style.zoom = String(d);
6497
- const B = m.clientHeight - H;
6498
- y.style.minHeight = (B > 0 ? Math.floor(B / d) : 0) + "px", c(n);
6514
+ const I = m.clientHeight - H;
6515
+ y.style.minHeight = (I > 0 ? Math.floor(I / d) : 0) + "px", c(n);
6499
6516
  return;
6500
6517
  }
6501
6518
  y.style.zoom = "1", y.style.minHeight = "0px", y.offsetHeight;
6502
- const C = (parseFloat($.paddingLeft) || 0) + (parseFloat($.paddingRight) || 0), k = m.clientWidth - C, R = m.clientHeight - H, z = y.scrollWidth, I = y.scrollHeight;
6503
- if (z <= 0 || I <= 0 || k <= 0 || R <= 0) return;
6504
- const X = Math.min(k / z, R / I, 1), Q = X < 0.985 ? Math.max(0.36, X) : 1;
6519
+ const C = (parseFloat($.paddingLeft) || 0) + (parseFloat($.paddingRight) || 0), k = m.clientWidth - C, R = m.clientHeight - H, z = y.scrollWidth, B = y.scrollHeight;
6520
+ if (z <= 0 || B <= 0 || k <= 0 || R <= 0) return;
6521
+ const X = Math.min(k / z, R / B, 1), Q = X < 0.985 ? Math.max(0.36, X) : 1;
6505
6522
  y.style.zoom = String(Q);
6506
6523
  const Y = Math.min(k / z, 1);
6507
6524
  y.style.minHeight = Math.floor(R / Math.max(Y, 0.36)) + "px", c(Math.round(Q * 100));