omnieye-theme-studio 1.1.1 → 1.1.2
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 +352 -333
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as f, jsx as i, Fragment as ge } from "react/jsx-runtime";
|
|
2
2
|
import * as Ge from "react";
|
|
3
3
|
import Bt, { useMemo as Vo, useState as ie, useEffect as Ar, useRef as Be, useLayoutEffect as Br } from "react";
|
|
4
|
-
import { Box as v, Collapse as Uo, Button as Ae, Tooltip as Ue, Typography as me, Menu as Go, MenuItem as ht, Dialog as Ft, DialogTitle as lr, DialogContent as
|
|
4
|
+
import { Box as v, Collapse as Uo, Button as Ae, Tooltip as Ue, Typography as me, Menu as Go, MenuItem as ht, Dialog as Ft, DialogTitle as lr, DialogContent as dr, TextField as Gr, DialogActions as cr, InputBase as Bn, FormControlLabel as wt, Switch as gt, Popover as Yo, Slider as Jo, IconButton as _t, Select as qo } from "@mui/material";
|
|
5
5
|
import Ko from "@emotion/styled";
|
|
6
6
|
import "@emotion/react";
|
|
7
7
|
import { createPortal as Xo } from "react-dom";
|
|
@@ -44,7 +44,7 @@ var Jr;
|
|
|
44
44
|
function ti() {
|
|
45
45
|
if (Jr) return te;
|
|
46
46
|
Jr = 1;
|
|
47
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116,
|
|
47
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, c = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, R = e ? Symbol.for("react.scope") : 60119;
|
|
48
48
|
function I(S) {
|
|
49
49
|
if (typeof S == "object" && S !== null) {
|
|
50
50
|
var $ = S.$$typeof;
|
|
@@ -103,7 +103,7 @@ function ti() {
|
|
|
103
103
|
}, te.isSuspense = function(S) {
|
|
104
104
|
return I(S) === m;
|
|
105
105
|
}, te.isValidElementType = function(S) {
|
|
106
|
-
return typeof S == "string" || typeof S == "function" || S === n || S === u || S === s || S === o || S === m || S === y || typeof S == "object" && S !== null && (S.$$typeof === b || S.$$typeof === g || S.$$typeof === a || S.$$typeof === l || S.$$typeof === h || S.$$typeof === x || S.$$typeof === T || S.$$typeof === R || S.$$typeof ===
|
|
106
|
+
return typeof S == "string" || typeof S == "function" || S === n || S === u || S === s || S === o || S === m || S === y || typeof S == "object" && S !== null && (S.$$typeof === b || S.$$typeof === g || S.$$typeof === a || S.$$typeof === l || S.$$typeof === h || S.$$typeof === x || S.$$typeof === T || S.$$typeof === R || S.$$typeof === c);
|
|
107
107
|
}, te.typeOf = I, te;
|
|
108
108
|
}
|
|
109
109
|
var re = {};
|
|
@@ -118,10 +118,10 @@ var re = {};
|
|
|
118
118
|
var qr;
|
|
119
119
|
function ri() {
|
|
120
120
|
return qr || (qr = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
121
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116,
|
|
121
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, c = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, R = e ? Symbol.for("react.scope") : 60119;
|
|
122
122
|
function I(F) {
|
|
123
123
|
return typeof F == "string" || typeof F == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
124
|
-
F === n || F === u || F === s || F === o || F === m || F === y || typeof F == "object" && F !== null && (F.$$typeof === b || F.$$typeof === g || F.$$typeof === a || F.$$typeof === l || F.$$typeof === h || F.$$typeof === x || F.$$typeof === T || F.$$typeof === R || F.$$typeof ===
|
|
124
|
+
F === n || F === u || F === s || F === o || F === m || F === y || typeof F == "object" && F !== null && (F.$$typeof === b || F.$$typeof === g || F.$$typeof === a || F.$$typeof === l || F.$$typeof === h || F.$$typeof === x || F.$$typeof === T || F.$$typeof === R || F.$$typeof === c);
|
|
125
125
|
}
|
|
126
126
|
function w(F) {
|
|
127
127
|
if (typeof F == "object" && F !== null) {
|
|
@@ -155,7 +155,7 @@ function ri() {
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
-
var S = p, $ = u, W = l, O = a, q = r, L = h, V = n,
|
|
158
|
+
var S = p, $ = u, W = l, O = a, q = r, L = h, V = n, d = b, A = g, P = t, z = s, N = o, K = m, H = !1;
|
|
159
159
|
function D(F) {
|
|
160
160
|
return H || (H = !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.")), E(F) || w(F) === p;
|
|
161
161
|
}
|
|
@@ -192,10 +192,10 @@ function ri() {
|
|
|
192
192
|
function Q(F) {
|
|
193
193
|
return w(F) === o;
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function de(F) {
|
|
196
196
|
return w(F) === m;
|
|
197
197
|
}
|
|
198
|
-
re.AsyncMode = S, re.ConcurrentMode = $, re.ContextConsumer = W, re.ContextProvider = O, re.Element = q, re.ForwardRef = L, re.Fragment = V, re.Lazy =
|
|
198
|
+
re.AsyncMode = S, re.ConcurrentMode = $, re.ContextConsumer = W, re.ContextProvider = O, re.Element = q, re.ForwardRef = L, re.Fragment = V, re.Lazy = d, re.Memo = A, re.Portal = P, re.Profiler = z, re.StrictMode = N, re.Suspense = K, re.isAsyncMode = D, re.isConcurrentMode = E, re.isContextConsumer = C, re.isContextProvider = _, re.isElement = Y, re.isForwardRef = U, re.isFragment = M, re.isLazy = J, re.isMemo = j, re.isPortal = B, re.isProfiler = X, re.isStrictMode = Q, re.isSuspense = de, re.isValidElementType = I, re.typeOf = w;
|
|
199
199
|
})()), re;
|
|
200
200
|
}
|
|
201
201
|
var Kr;
|
|
@@ -355,21 +355,21 @@ function ii() {
|
|
|
355
355
|
objectOf: O,
|
|
356
356
|
oneOf: W,
|
|
357
357
|
oneOfType: q,
|
|
358
|
-
shape:
|
|
358
|
+
shape: d,
|
|
359
359
|
exact: A
|
|
360
360
|
};
|
|
361
361
|
function b(E, C) {
|
|
362
362
|
return E === C ? E !== 0 || 1 / E === 1 / C : E !== E && C !== C;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function c(E, C) {
|
|
365
365
|
this.message = E, this.data = C && typeof C == "object" ? C : {}, this.stack = "";
|
|
366
366
|
}
|
|
367
|
-
|
|
367
|
+
c.prototype = Error.prototype;
|
|
368
368
|
function x(E) {
|
|
369
369
|
if (process.env.NODE_ENV !== "production")
|
|
370
370
|
var C = {}, _ = 0;
|
|
371
|
-
function Y(M, J, j, B, X, Q,
|
|
372
|
-
if (B = B || y, Q = Q || j,
|
|
371
|
+
function Y(M, J, j, B, X, Q, de) {
|
|
372
|
+
if (B = B || y, Q = Q || j, de !== t) {
|
|
373
373
|
if (p) {
|
|
374
374
|
var F = new Error(
|
|
375
375
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -383,7 +383,7 @@ function ii() {
|
|
|
383
383
|
), C[ve] = !0, _++);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
return J[j] == null ? M ? J[j] === null ? new
|
|
386
|
+
return J[j] == null ? M ? J[j] === null ? new c("The " + X + " `" + Q + "` is marked as required " + ("in `" + B + "`, but its value is `null`.")) : new c("The " + X + " `" + Q + "` is marked as required in " + ("`" + B + "`, but its value is `undefined`.")) : null : E(J, j, B, X, Q);
|
|
387
387
|
}
|
|
388
388
|
var U = Y.bind(null, !1);
|
|
389
389
|
return U.isRequired = Y.bind(null, !0), U;
|
|
@@ -393,7 +393,7 @@ function ii() {
|
|
|
393
393
|
var B = _[Y], X = N(B);
|
|
394
394
|
if (X !== E) {
|
|
395
395
|
var Q = K(B);
|
|
396
|
-
return new
|
|
396
|
+
return new c(
|
|
397
397
|
"Invalid " + M + " `" + J + "` of type " + ("`" + Q + "` supplied to `" + U + "`, expected ") + ("`" + E + "`."),
|
|
398
398
|
{ expectedType: E }
|
|
399
399
|
);
|
|
@@ -408,11 +408,11 @@ function ii() {
|
|
|
408
408
|
function I(E) {
|
|
409
409
|
function C(_, Y, U, M, J) {
|
|
410
410
|
if (typeof E != "function")
|
|
411
|
-
return new
|
|
411
|
+
return new c("Property `" + J + "` of component `" + U + "` has invalid PropType notation inside arrayOf.");
|
|
412
412
|
var j = _[Y];
|
|
413
413
|
if (!Array.isArray(j)) {
|
|
414
414
|
var B = N(j);
|
|
415
|
-
return new
|
|
415
|
+
return new c("Invalid " + M + " `" + J + "` of type " + ("`" + B + "` supplied to `" + U + "`, expected an array."));
|
|
416
416
|
}
|
|
417
417
|
for (var X = 0; X < j.length; X++) {
|
|
418
418
|
var Q = E(j, X, U, M, J + "[" + X + "]", t);
|
|
@@ -428,7 +428,7 @@ function ii() {
|
|
|
428
428
|
var J = C[_];
|
|
429
429
|
if (!l(J)) {
|
|
430
430
|
var j = N(J);
|
|
431
|
-
return new
|
|
431
|
+
return new c("Invalid " + U + " `" + M + "` of type " + ("`" + j + "` supplied to `" + Y + "`, expected a single ReactElement."));
|
|
432
432
|
}
|
|
433
433
|
return null;
|
|
434
434
|
}
|
|
@@ -439,7 +439,7 @@ function ii() {
|
|
|
439
439
|
var J = C[_];
|
|
440
440
|
if (!e.isValidElementType(J)) {
|
|
441
441
|
var j = N(J);
|
|
442
|
-
return new
|
|
442
|
+
return new c("Invalid " + U + " `" + M + "` of type " + ("`" + j + "` supplied to `" + Y + "`, expected a single ReactElement type."));
|
|
443
443
|
}
|
|
444
444
|
return null;
|
|
445
445
|
}
|
|
@@ -449,7 +449,7 @@ function ii() {
|
|
|
449
449
|
function C(_, Y, U, M, J) {
|
|
450
450
|
if (!(_[Y] instanceof E)) {
|
|
451
451
|
var j = E.name || y, B = D(_[Y]);
|
|
452
|
-
return new
|
|
452
|
+
return new c("Invalid " + M + " `" + J + "` of type " + ("`" + B + "` supplied to `" + U + "`, expected ") + ("instance of `" + j + "`."));
|
|
453
453
|
}
|
|
454
454
|
return null;
|
|
455
455
|
}
|
|
@@ -464,21 +464,21 @@ function ii() {
|
|
|
464
464
|
for (var j = _[Y], B = 0; B < E.length; B++)
|
|
465
465
|
if (b(j, E[B]))
|
|
466
466
|
return null;
|
|
467
|
-
var X = JSON.stringify(E, function(
|
|
467
|
+
var X = JSON.stringify(E, function(de, F) {
|
|
468
468
|
var ve = K(F);
|
|
469
469
|
return ve === "symbol" ? String(F) : F;
|
|
470
470
|
});
|
|
471
|
-
return new
|
|
471
|
+
return new c("Invalid " + M + " `" + J + "` of value `" + String(j) + "` " + ("supplied to `" + U + "`, expected one of " + X + "."));
|
|
472
472
|
}
|
|
473
473
|
return x(C);
|
|
474
474
|
}
|
|
475
475
|
function O(E) {
|
|
476
476
|
function C(_, Y, U, M, J) {
|
|
477
477
|
if (typeof E != "function")
|
|
478
|
-
return new
|
|
478
|
+
return new c("Property `" + J + "` of component `" + U + "` has invalid PropType notation inside objectOf.");
|
|
479
479
|
var j = _[Y], B = N(j);
|
|
480
480
|
if (B !== "object")
|
|
481
|
-
return new
|
|
481
|
+
return new c("Invalid " + M + " `" + J + "` of type " + ("`" + B + "` supplied to `" + U + "`, expected an object."));
|
|
482
482
|
for (var X in j)
|
|
483
483
|
if (n(j, X)) {
|
|
484
484
|
var Q = E(j, X, U, M, J + "." + X, t);
|
|
@@ -501,39 +501,39 @@ function ii() {
|
|
|
501
501
|
}
|
|
502
502
|
function Y(U, M, J, j, B) {
|
|
503
503
|
for (var X = [], Q = 0; Q < E.length; Q++) {
|
|
504
|
-
var
|
|
504
|
+
var de = E[Q], F = de(U, M, J, j, B, t);
|
|
505
505
|
if (F == null)
|
|
506
506
|
return null;
|
|
507
507
|
F.data && n(F.data, "expectedType") && X.push(F.data.expectedType);
|
|
508
508
|
}
|
|
509
509
|
var ve = X.length > 0 ? ", expected one of type [" + X.join(", ") + "]" : "";
|
|
510
|
-
return new
|
|
510
|
+
return new c("Invalid " + j + " `" + B + "` supplied to " + ("`" + J + "`" + ve + "."));
|
|
511
511
|
}
|
|
512
512
|
return x(Y);
|
|
513
513
|
}
|
|
514
514
|
function L() {
|
|
515
515
|
function E(C, _, Y, U, M) {
|
|
516
|
-
return P(C[_]) ? null : new
|
|
516
|
+
return P(C[_]) ? null : new c("Invalid " + U + " `" + M + "` supplied to " + ("`" + Y + "`, expected a ReactNode."));
|
|
517
517
|
}
|
|
518
518
|
return x(E);
|
|
519
519
|
}
|
|
520
520
|
function V(E, C, _, Y, U) {
|
|
521
|
-
return new
|
|
521
|
+
return new c(
|
|
522
522
|
(E || "React class") + ": " + C + " type `" + _ + "." + Y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + U + "`."
|
|
523
523
|
);
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function d(E) {
|
|
526
526
|
function C(_, Y, U, M, J) {
|
|
527
527
|
var j = _[Y], B = N(j);
|
|
528
528
|
if (B !== "object")
|
|
529
|
-
return new
|
|
529
|
+
return new c("Invalid " + M + " `" + J + "` of type `" + B + "` " + ("supplied to `" + U + "`, expected `object`."));
|
|
530
530
|
for (var X in E) {
|
|
531
531
|
var Q = E[X];
|
|
532
532
|
if (typeof Q != "function")
|
|
533
533
|
return V(U, M, J, X, K(Q));
|
|
534
|
-
var
|
|
535
|
-
if (
|
|
536
|
-
return
|
|
534
|
+
var de = Q(j, X, U, M, J + "." + X, t);
|
|
535
|
+
if (de)
|
|
536
|
+
return de;
|
|
537
537
|
}
|
|
538
538
|
return null;
|
|
539
539
|
}
|
|
@@ -543,18 +543,18 @@ function ii() {
|
|
|
543
543
|
function C(_, Y, U, M, J) {
|
|
544
544
|
var j = _[Y], B = N(j);
|
|
545
545
|
if (B !== "object")
|
|
546
|
-
return new
|
|
546
|
+
return new c("Invalid " + M + " `" + J + "` of type `" + B + "` " + ("supplied to `" + U + "`, expected `object`."));
|
|
547
547
|
var X = r({}, _[Y], E);
|
|
548
548
|
for (var Q in X) {
|
|
549
|
-
var
|
|
550
|
-
if (n(E, Q) && typeof
|
|
551
|
-
return V(U, M, J, Q, K(
|
|
552
|
-
if (!
|
|
553
|
-
return new
|
|
549
|
+
var de = E[Q];
|
|
550
|
+
if (n(E, Q) && typeof de != "function")
|
|
551
|
+
return V(U, M, J, Q, K(de));
|
|
552
|
+
if (!de)
|
|
553
|
+
return new c(
|
|
554
554
|
"Invalid " + M + " `" + J + "` key `" + Q + "` supplied to `" + U + "`.\nBad object: " + JSON.stringify(_[Y], null, " ") + `
|
|
555
555
|
Valid keys: ` + JSON.stringify(Object.keys(E), null, " ")
|
|
556
556
|
);
|
|
557
|
-
var F =
|
|
557
|
+
var F = de(j, Q, U, M, J + "." + Q, t);
|
|
558
558
|
if (F)
|
|
559
559
|
return F;
|
|
560
560
|
}
|
|
@@ -707,7 +707,7 @@ function Mn() {
|
|
|
707
707
|
for (var e, r, t = 0, n = "", o = arguments.length; t < o; t++) (e = arguments[t]) && (r = Dn(e)) && (n && (n += " "), n += r);
|
|
708
708
|
return n;
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function di(e, r, t = void 0) {
|
|
711
711
|
const n = {};
|
|
712
712
|
for (const o in e) {
|
|
713
713
|
const s = e[o];
|
|
@@ -731,32 +731,32 @@ var Dt = { exports: {} }, ae = {};
|
|
|
731
731
|
* LICENSE file in the root directory of this source tree.
|
|
732
732
|
*/
|
|
733
733
|
var on;
|
|
734
|
-
function
|
|
734
|
+
function ci() {
|
|
735
735
|
if (on) return ae;
|
|
736
736
|
on = 1;
|
|
737
737
|
var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), y = Symbol.for("react.view_transition"), g = Symbol.for("react.client.reference");
|
|
738
|
-
function b(
|
|
739
|
-
if (typeof
|
|
740
|
-
var x =
|
|
738
|
+
function b(c) {
|
|
739
|
+
if (typeof c == "object" && c !== null) {
|
|
740
|
+
var x = c.$$typeof;
|
|
741
741
|
switch (x) {
|
|
742
742
|
case e:
|
|
743
|
-
switch (
|
|
743
|
+
switch (c = c.type, c) {
|
|
744
744
|
case t:
|
|
745
745
|
case o:
|
|
746
746
|
case n:
|
|
747
747
|
case p:
|
|
748
748
|
case u:
|
|
749
749
|
case y:
|
|
750
|
-
return
|
|
750
|
+
return c;
|
|
751
751
|
default:
|
|
752
|
-
switch (
|
|
752
|
+
switch (c = c && c.$$typeof, c) {
|
|
753
753
|
case a:
|
|
754
754
|
case l:
|
|
755
755
|
case m:
|
|
756
756
|
case h:
|
|
757
|
-
return
|
|
757
|
+
return c;
|
|
758
758
|
case s:
|
|
759
|
-
return
|
|
759
|
+
return c;
|
|
760
760
|
default:
|
|
761
761
|
return x;
|
|
762
762
|
}
|
|
@@ -766,32 +766,32 @@ function di() {
|
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
768
|
}
|
|
769
|
-
return ae.ContextConsumer = s, ae.ContextProvider = a, ae.Element = e, ae.ForwardRef = l, ae.Fragment = t, ae.Lazy = m, ae.Memo = h, ae.Portal = r, ae.Profiler = o, ae.StrictMode = n, ae.Suspense = p, ae.SuspenseList = u, ae.isContextConsumer = function(
|
|
770
|
-
return b(
|
|
771
|
-
}, ae.isContextProvider = function(
|
|
772
|
-
return b(
|
|
773
|
-
}, ae.isElement = function(
|
|
774
|
-
return typeof
|
|
775
|
-
}, ae.isForwardRef = function(
|
|
776
|
-
return b(
|
|
777
|
-
}, ae.isFragment = function(
|
|
778
|
-
return b(
|
|
779
|
-
}, ae.isLazy = function(
|
|
780
|
-
return b(
|
|
781
|
-
}, ae.isMemo = function(
|
|
782
|
-
return b(
|
|
783
|
-
}, ae.isPortal = function(
|
|
784
|
-
return b(
|
|
785
|
-
}, ae.isProfiler = function(
|
|
786
|
-
return b(
|
|
787
|
-
}, ae.isStrictMode = function(
|
|
788
|
-
return b(
|
|
789
|
-
}, ae.isSuspense = function(
|
|
790
|
-
return b(
|
|
791
|
-
}, ae.isSuspenseList = function(
|
|
792
|
-
return b(
|
|
793
|
-
}, ae.isValidElementType = function(
|
|
794
|
-
return typeof
|
|
769
|
+
return ae.ContextConsumer = s, ae.ContextProvider = a, ae.Element = e, ae.ForwardRef = l, ae.Fragment = t, ae.Lazy = m, ae.Memo = h, ae.Portal = r, ae.Profiler = o, ae.StrictMode = n, ae.Suspense = p, ae.SuspenseList = u, ae.isContextConsumer = function(c) {
|
|
770
|
+
return b(c) === s;
|
|
771
|
+
}, ae.isContextProvider = function(c) {
|
|
772
|
+
return b(c) === a;
|
|
773
|
+
}, ae.isElement = function(c) {
|
|
774
|
+
return typeof c == "object" && c !== null && c.$$typeof === e;
|
|
775
|
+
}, ae.isForwardRef = function(c) {
|
|
776
|
+
return b(c) === l;
|
|
777
|
+
}, ae.isFragment = function(c) {
|
|
778
|
+
return b(c) === t;
|
|
779
|
+
}, ae.isLazy = function(c) {
|
|
780
|
+
return b(c) === m;
|
|
781
|
+
}, ae.isMemo = function(c) {
|
|
782
|
+
return b(c) === h;
|
|
783
|
+
}, ae.isPortal = function(c) {
|
|
784
|
+
return b(c) === r;
|
|
785
|
+
}, ae.isProfiler = function(c) {
|
|
786
|
+
return b(c) === o;
|
|
787
|
+
}, ae.isStrictMode = function(c) {
|
|
788
|
+
return b(c) === n;
|
|
789
|
+
}, ae.isSuspense = function(c) {
|
|
790
|
+
return b(c) === p;
|
|
791
|
+
}, ae.isSuspenseList = function(c) {
|
|
792
|
+
return b(c) === u;
|
|
793
|
+
}, ae.isValidElementType = function(c) {
|
|
794
|
+
return typeof c == "string" || typeof c == "function" || c === t || c === o || c === n || c === p || c === u || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === h || c.$$typeof === a || c.$$typeof === s || c.$$typeof === l || c.$$typeof === g || c.getModuleId !== void 0);
|
|
795
795
|
}, ae.typeOf = b, ae;
|
|
796
796
|
}
|
|
797
797
|
var se = {};
|
|
@@ -807,28 +807,28 @@ var se = {};
|
|
|
807
807
|
var an;
|
|
808
808
|
function pi() {
|
|
809
809
|
return an || (an = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
810
|
-
function e(
|
|
811
|
-
if (typeof
|
|
812
|
-
var x =
|
|
810
|
+
function e(c) {
|
|
811
|
+
if (typeof c == "object" && c !== null) {
|
|
812
|
+
var x = c.$$typeof;
|
|
813
813
|
switch (x) {
|
|
814
814
|
case r:
|
|
815
|
-
switch (
|
|
815
|
+
switch (c = c.type, c) {
|
|
816
816
|
case n:
|
|
817
817
|
case s:
|
|
818
818
|
case o:
|
|
819
819
|
case u:
|
|
820
820
|
case h:
|
|
821
821
|
case g:
|
|
822
|
-
return
|
|
822
|
+
return c;
|
|
823
823
|
default:
|
|
824
|
-
switch (
|
|
824
|
+
switch (c = c && c.$$typeof, c) {
|
|
825
825
|
case l:
|
|
826
826
|
case p:
|
|
827
827
|
case y:
|
|
828
828
|
case m:
|
|
829
|
-
return
|
|
829
|
+
return c;
|
|
830
830
|
case a:
|
|
831
|
-
return
|
|
831
|
+
return c;
|
|
832
832
|
default:
|
|
833
833
|
return x;
|
|
834
834
|
}
|
|
@@ -839,38 +839,38 @@ function pi() {
|
|
|
839
839
|
}
|
|
840
840
|
}
|
|
841
841
|
var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), g = Symbol.for("react.view_transition"), b = Symbol.for("react.client.reference");
|
|
842
|
-
se.ContextConsumer = a, se.ContextProvider = l, se.Element = r, se.ForwardRef = p, se.Fragment = n, se.Lazy = y, se.Memo = m, se.Portal = t, se.Profiler = s, se.StrictMode = o, se.Suspense = u, se.SuspenseList = h, se.isContextConsumer = function(
|
|
843
|
-
return e(
|
|
844
|
-
}, se.isContextProvider = function(
|
|
845
|
-
return e(
|
|
846
|
-
}, se.isElement = function(
|
|
847
|
-
return typeof
|
|
848
|
-
}, se.isForwardRef = function(
|
|
849
|
-
return e(
|
|
850
|
-
}, se.isFragment = function(
|
|
851
|
-
return e(
|
|
852
|
-
}, se.isLazy = function(
|
|
853
|
-
return e(
|
|
854
|
-
}, se.isMemo = function(
|
|
855
|
-
return e(
|
|
856
|
-
}, se.isPortal = function(
|
|
857
|
-
return e(
|
|
858
|
-
}, se.isProfiler = function(
|
|
859
|
-
return e(
|
|
860
|
-
}, se.isStrictMode = function(
|
|
861
|
-
return e(
|
|
862
|
-
}, se.isSuspense = function(
|
|
863
|
-
return e(
|
|
864
|
-
}, se.isSuspenseList = function(
|
|
865
|
-
return e(
|
|
866
|
-
}, se.isValidElementType = function(
|
|
867
|
-
return typeof
|
|
842
|
+
se.ContextConsumer = a, se.ContextProvider = l, se.Element = r, se.ForwardRef = p, se.Fragment = n, se.Lazy = y, se.Memo = m, se.Portal = t, se.Profiler = s, se.StrictMode = o, se.Suspense = u, se.SuspenseList = h, se.isContextConsumer = function(c) {
|
|
843
|
+
return e(c) === a;
|
|
844
|
+
}, se.isContextProvider = function(c) {
|
|
845
|
+
return e(c) === l;
|
|
846
|
+
}, se.isElement = function(c) {
|
|
847
|
+
return typeof c == "object" && c !== null && c.$$typeof === r;
|
|
848
|
+
}, se.isForwardRef = function(c) {
|
|
849
|
+
return e(c) === p;
|
|
850
|
+
}, se.isFragment = function(c) {
|
|
851
|
+
return e(c) === n;
|
|
852
|
+
}, se.isLazy = function(c) {
|
|
853
|
+
return e(c) === y;
|
|
854
|
+
}, se.isMemo = function(c) {
|
|
855
|
+
return e(c) === m;
|
|
856
|
+
}, se.isPortal = function(c) {
|
|
857
|
+
return e(c) === t;
|
|
858
|
+
}, se.isProfiler = function(c) {
|
|
859
|
+
return e(c) === s;
|
|
860
|
+
}, se.isStrictMode = function(c) {
|
|
861
|
+
return e(c) === o;
|
|
862
|
+
}, se.isSuspense = function(c) {
|
|
863
|
+
return e(c) === u;
|
|
864
|
+
}, se.isSuspenseList = function(c) {
|
|
865
|
+
return e(c) === h;
|
|
866
|
+
}, se.isValidElementType = function(c) {
|
|
867
|
+
return typeof c == "string" || typeof c == "function" || c === n || c === s || c === o || c === u || c === h || typeof c == "object" && c !== null && (c.$$typeof === y || c.$$typeof === m || c.$$typeof === l || c.$$typeof === a || c.$$typeof === p || c.$$typeof === b || c.getModuleId !== void 0);
|
|
868
868
|
}, se.typeOf = e;
|
|
869
869
|
})()), se;
|
|
870
870
|
}
|
|
871
871
|
var sn;
|
|
872
872
|
function fi() {
|
|
873
|
-
return sn || (sn = 1, process.env.NODE_ENV === "production" ? Dt.exports = /* @__PURE__ */
|
|
873
|
+
return sn || (sn = 1, process.env.NODE_ENV === "production" ? Dt.exports = /* @__PURE__ */ ci() : Dt.exports = /* @__PURE__ */ pi()), Dt.exports;
|
|
874
874
|
}
|
|
875
875
|
var Nt = /* @__PURE__ */ fi();
|
|
876
876
|
function ze(e) {
|
|
@@ -962,7 +962,7 @@ const Gt = {
|
|
|
962
962
|
// desktop
|
|
963
963
|
xl: 1536
|
|
964
964
|
// large screen
|
|
965
|
-
},
|
|
965
|
+
}, dn = {
|
|
966
966
|
// Sorted ASC by size. That's important.
|
|
967
967
|
// It can't be configured as it's used statically for propTypes.
|
|
968
968
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
@@ -978,11 +978,11 @@ const Gt = {
|
|
|
978
978
|
function Fe(e, r, t) {
|
|
979
979
|
const n = e.theme || {};
|
|
980
980
|
if (Array.isArray(r)) {
|
|
981
|
-
const s = n.breakpoints ||
|
|
981
|
+
const s = n.breakpoints || dn;
|
|
982
982
|
return r.reduce((a, l, p) => (a[s.up(s.keys[p])] = t(r[p]), a), {});
|
|
983
983
|
}
|
|
984
984
|
if (typeof r == "object") {
|
|
985
|
-
const s = n.breakpoints ||
|
|
985
|
+
const s = n.breakpoints || dn;
|
|
986
986
|
return Object.keys(r).reduce((a, l) => {
|
|
987
987
|
if (ui(s.keys, l)) {
|
|
988
988
|
const p = hi(n.containerQueries ? n : mi, l);
|
|
@@ -1006,7 +1006,7 @@ function yi(e = {}) {
|
|
|
1006
1006
|
return n[s] = {}, n;
|
|
1007
1007
|
}, {})) || {};
|
|
1008
1008
|
}
|
|
1009
|
-
function
|
|
1009
|
+
function cn(e, r) {
|
|
1010
1010
|
return e.reduce((t, n) => {
|
|
1011
1011
|
const o = t[n];
|
|
1012
1012
|
return (!o || Object.keys(o).length === 0) && delete t[n], t;
|
|
@@ -1597,9 +1597,9 @@ function na() {
|
|
|
1597
1597
|
};
|
|
1598
1598
|
const y = Yt(o, u) || {};
|
|
1599
1599
|
return m ? m(a) : Fe(a, n, (b) => {
|
|
1600
|
-
let
|
|
1601
|
-
return b ===
|
|
1602
|
-
[p]:
|
|
1600
|
+
let c = jt(y, h, b);
|
|
1601
|
+
return b === c && typeof b == "string" && (c = jt(y, h, `${t}${b === "default" ? "" : it(b)}`, b)), p === !1 ? c : {
|
|
1602
|
+
[p]: c
|
|
1603
1603
|
};
|
|
1604
1604
|
});
|
|
1605
1605
|
}
|
|
@@ -1629,22 +1629,22 @@ function na() {
|
|
|
1629
1629
|
if (a[g])
|
|
1630
1630
|
y = kt(y, e(g, b, o, a));
|
|
1631
1631
|
else {
|
|
1632
|
-
const
|
|
1632
|
+
const c = Fe({
|
|
1633
1633
|
theme: o
|
|
1634
1634
|
}, b, (x) => ({
|
|
1635
1635
|
[g]: x
|
|
1636
1636
|
}));
|
|
1637
|
-
ta(
|
|
1637
|
+
ta(c, b) ? y[g] = r({
|
|
1638
1638
|
sx: b,
|
|
1639
1639
|
theme: o,
|
|
1640
1640
|
nested: !0
|
|
1641
|
-
}) : y = kt(y,
|
|
1641
|
+
}) : y = kt(y, c);
|
|
1642
1642
|
}
|
|
1643
1643
|
else
|
|
1644
1644
|
y = kt(y, e(g, b, o, a));
|
|
1645
1645
|
}), !s && o.modularCssLayers ? {
|
|
1646
|
-
"@layer sx": ln(o,
|
|
1647
|
-
} : ln(o,
|
|
1646
|
+
"@layer sx": ln(o, cn(m, y))
|
|
1647
|
+
} : ln(o, cn(m, y));
|
|
1648
1648
|
}
|
|
1649
1649
|
return Array.isArray(n) ? n.map(l) : l(n);
|
|
1650
1650
|
}
|
|
@@ -1778,13 +1778,13 @@ function Vt(e, r, t) {
|
|
|
1778
1778
|
var l = s.styles + ";";
|
|
1779
1779
|
return l;
|
|
1780
1780
|
}
|
|
1781
|
-
return
|
|
1781
|
+
return da(e, r, t);
|
|
1782
1782
|
}
|
|
1783
1783
|
}
|
|
1784
1784
|
var p = t;
|
|
1785
1785
|
return p;
|
|
1786
1786
|
}
|
|
1787
|
-
function
|
|
1787
|
+
function da(e, r, t) {
|
|
1788
1788
|
var n = "";
|
|
1789
1789
|
if (Array.isArray(t))
|
|
1790
1790
|
for (var o = 0; o < t.length; o++)
|
|
@@ -1814,7 +1814,7 @@ function ca(e, r, t) {
|
|
|
1814
1814
|
return n;
|
|
1815
1815
|
}
|
|
1816
1816
|
var hn = /label:\s*([^\s;{]+)\s*(;|$)/g, Ve;
|
|
1817
|
-
function
|
|
1817
|
+
function ca(e, r, t) {
|
|
1818
1818
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
1819
1819
|
return e[0];
|
|
1820
1820
|
var n = !0, o = "";
|
|
@@ -1861,7 +1861,7 @@ function fa(e, r) {
|
|
|
1861
1861
|
}
|
|
1862
1862
|
const gn = [];
|
|
1863
1863
|
function nt(e) {
|
|
1864
|
-
return gn[0] = e,
|
|
1864
|
+
return gn[0] = e, ca(gn);
|
|
1865
1865
|
}
|
|
1866
1866
|
const ua = (e) => {
|
|
1867
1867
|
const r = Object.keys(e).map((t) => ({
|
|
@@ -2120,7 +2120,7 @@ function wa(e = {}) {
|
|
|
2120
2120
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
2121
2121
|
overridesResolver: g = Sa(Un(h)),
|
|
2122
2122
|
...b
|
|
2123
|
-
} = p,
|
|
2123
|
+
} = p, c = u && u.startsWith("Mui") || h ? "components" : "custom", x = m !== void 0 ? m : (
|
|
2124
2124
|
// TODO v6: remove `Root` in the next major release
|
|
2125
2125
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
2126
2126
|
h && h !== "Root" && h !== "root" || !1
|
|
@@ -2136,12 +2136,12 @@ function wa(e = {}) {
|
|
|
2136
2136
|
return $;
|
|
2137
2137
|
if (typeof $ == "function")
|
|
2138
2138
|
return function(O) {
|
|
2139
|
-
return Lt(O, $, O.theme.modularCssLayers ?
|
|
2139
|
+
return Lt(O, $, O.theme.modularCssLayers ? c : void 0);
|
|
2140
2140
|
};
|
|
2141
2141
|
if (ze($)) {
|
|
2142
2142
|
const W = jn($);
|
|
2143
2143
|
return function(q) {
|
|
2144
|
-
return W.variants ? Lt(q, W, q.theme.modularCssLayers ?
|
|
2144
|
+
return W.variants ? Lt(q, W, q.theme.modularCssLayers ? c : void 0) : q.theme.modularCssLayers ? rt(W.style, c) : W.style;
|
|
2145
2145
|
};
|
|
2146
2146
|
}
|
|
2147
2147
|
return $;
|
|
@@ -2161,9 +2161,9 @@ function wa(e = {}) {
|
|
|
2161
2161
|
const P = A.theme, z = (K = (N = P == null ? void 0 : P.components) == null ? void 0 : N[u]) == null ? void 0 : K.variants;
|
|
2162
2162
|
return z ? Vn(A, z, [], A.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
2163
2163
|
}), T || q.push(yt), Array.isArray(O[0])) {
|
|
2164
|
-
const
|
|
2164
|
+
const d = O.shift(), A = new Array(W.length).fill(""), P = new Array(q.length).fill("");
|
|
2165
2165
|
let z;
|
|
2166
|
-
z = [...A, ...
|
|
2166
|
+
z = [...A, ...d, ...P], z.raw = [...A, ...d.raw, ...P], W.unshift(z);
|
|
2167
2167
|
}
|
|
2168
2168
|
const L = [...W, ...O, ...q], V = I(...L);
|
|
2169
2169
|
return l.muiName && (V.muiName = l.muiName), process.env.NODE_ENV !== "production" && (V.displayName = ka(u, h, l)), V;
|
|
@@ -2454,7 +2454,7 @@ function Fa(e, r = {}) {
|
|
|
2454
2454
|
} = xr(u, r);
|
|
2455
2455
|
let g = y;
|
|
2456
2456
|
const b = {}, {
|
|
2457
|
-
[p]:
|
|
2457
|
+
[p]: c,
|
|
2458
2458
|
...x
|
|
2459
2459
|
} = a;
|
|
2460
2460
|
if (Object.entries(x || {}).forEach(([w, S]) => {
|
|
@@ -2467,12 +2467,12 @@ function Fa(e, r = {}) {
|
|
|
2467
2467
|
css: W,
|
|
2468
2468
|
vars: $
|
|
2469
2469
|
};
|
|
2470
|
-
}),
|
|
2470
|
+
}), c) {
|
|
2471
2471
|
const {
|
|
2472
2472
|
css: w,
|
|
2473
2473
|
vars: S,
|
|
2474
2474
|
varsWithDefaults: $
|
|
2475
|
-
} = xr(
|
|
2475
|
+
} = xr(c, r);
|
|
2476
2476
|
g = Te(g, $), b[p] = {
|
|
2477
2477
|
css: w,
|
|
2478
2478
|
vars: S
|
|
@@ -2508,10 +2508,10 @@ function Fa(e, r = {}) {
|
|
|
2508
2508
|
generateStyleSheets: () => {
|
|
2509
2509
|
var q, L;
|
|
2510
2510
|
const w = [], S = e.defaultColorScheme || "light";
|
|
2511
|
-
function $(V,
|
|
2512
|
-
Object.keys(
|
|
2511
|
+
function $(V, d) {
|
|
2512
|
+
Object.keys(d).length && w.push(typeof V == "string" ? {
|
|
2513
2513
|
[V]: {
|
|
2514
|
-
...
|
|
2514
|
+
...d
|
|
2515
2515
|
}
|
|
2516
2516
|
} : V);
|
|
2517
2517
|
}
|
|
@@ -2525,8 +2525,8 @@ function Fa(e, r = {}) {
|
|
|
2525
2525
|
if (W) {
|
|
2526
2526
|
const {
|
|
2527
2527
|
css: V
|
|
2528
|
-
} = W,
|
|
2529
|
-
colorScheme:
|
|
2528
|
+
} = W, d = (L = (q = a[S]) == null ? void 0 : q.palette) == null ? void 0 : L.mode, A = !n && d ? {
|
|
2529
|
+
colorScheme: d,
|
|
2530
2530
|
...V
|
|
2531
2531
|
} : {
|
|
2532
2532
|
...V
|
|
@@ -2536,14 +2536,14 @@ function Fa(e, r = {}) {
|
|
|
2536
2536
|
}), A);
|
|
2537
2537
|
}
|
|
2538
2538
|
return Object.entries(O).forEach(([V, {
|
|
2539
|
-
css:
|
|
2539
|
+
css: d
|
|
2540
2540
|
}]) => {
|
|
2541
2541
|
var z, N;
|
|
2542
2542
|
const A = (N = (z = a[V]) == null ? void 0 : z.palette) == null ? void 0 : N.mode, P = !n && A ? {
|
|
2543
2543
|
colorScheme: A,
|
|
2544
|
-
...
|
|
2544
|
+
...d
|
|
2545
2545
|
} : {
|
|
2546
|
-
...
|
|
2546
|
+
...d
|
|
2547
2547
|
};
|
|
2548
2548
|
$(t(V, {
|
|
2549
2549
|
...P
|
|
@@ -2590,7 +2590,7 @@ const Tt = {
|
|
|
2590
2590
|
400: "#ab47bc",
|
|
2591
2591
|
500: "#9c27b0",
|
|
2592
2592
|
700: "#7b1fa2"
|
|
2593
|
-
},
|
|
2593
|
+
}, dt = {
|
|
2594
2594
|
300: "#e57373",
|
|
2595
2595
|
400: "#ef5350",
|
|
2596
2596
|
500: "#f44336",
|
|
@@ -2602,7 +2602,7 @@ const Tt = {
|
|
|
2602
2602
|
500: "#ff9800",
|
|
2603
2603
|
700: "#f57c00",
|
|
2604
2604
|
900: "#e65100"
|
|
2605
|
-
},
|
|
2605
|
+
}, ct = {
|
|
2606
2606
|
50: "#e3f2fd",
|
|
2607
2607
|
200: "#90caf9",
|
|
2608
2608
|
400: "#42a5f5",
|
|
@@ -2702,13 +2702,13 @@ function Sn(e, r, t, n, o) {
|
|
|
2702
2702
|
}
|
|
2703
2703
|
function Na(e = "light") {
|
|
2704
2704
|
return e === "dark" ? {
|
|
2705
|
-
main:
|
|
2706
|
-
light:
|
|
2707
|
-
dark:
|
|
2705
|
+
main: ct[200],
|
|
2706
|
+
light: ct[50],
|
|
2707
|
+
dark: ct[400]
|
|
2708
2708
|
} : {
|
|
2709
|
-
main:
|
|
2710
|
-
light:
|
|
2711
|
-
dark:
|
|
2709
|
+
main: ct[700],
|
|
2710
|
+
light: ct[400],
|
|
2711
|
+
dark: ct[800]
|
|
2712
2712
|
};
|
|
2713
2713
|
}
|
|
2714
2714
|
function ja(e = "light") {
|
|
@@ -2724,13 +2724,13 @@ function ja(e = "light") {
|
|
|
2724
2724
|
}
|
|
2725
2725
|
function Va(e = "light") {
|
|
2726
2726
|
return e === "dark" ? {
|
|
2727
|
-
main:
|
|
2728
|
-
light:
|
|
2729
|
-
dark:
|
|
2727
|
+
main: dt[500],
|
|
2728
|
+
light: dt[300],
|
|
2729
|
+
dark: dt[700]
|
|
2730
2730
|
} : {
|
|
2731
|
-
main:
|
|
2732
|
-
light:
|
|
2733
|
-
dark:
|
|
2731
|
+
main: dt[700],
|
|
2732
|
+
light: dt[400],
|
|
2733
|
+
dark: dt[800]
|
|
2734
2734
|
};
|
|
2735
2735
|
}
|
|
2736
2736
|
function Ua(e = "light") {
|
|
@@ -2938,7 +2938,7 @@ function Qa(e, r) {
|
|
|
2938
2938
|
} : {},
|
|
2939
2939
|
...w,
|
|
2940
2940
|
...u
|
|
2941
|
-
}),
|
|
2941
|
+
}), c = {
|
|
2942
2942
|
h1: b(o, 96, 1.167, -1.5),
|
|
2943
2943
|
h2: b(o, 60, 1.2, -0.5),
|
|
2944
2944
|
h3: b(s, 48, 1.167, 0),
|
|
@@ -2970,7 +2970,7 @@ function Qa(e, r) {
|
|
|
2970
2970
|
fontWeightRegular: s,
|
|
2971
2971
|
fontWeightMedium: a,
|
|
2972
2972
|
fontWeightBold: l,
|
|
2973
|
-
...
|
|
2973
|
+
...c
|
|
2974
2974
|
}, m, {
|
|
2975
2975
|
clone: !1
|
|
2976
2976
|
// No need to clone deep
|
|
@@ -3079,7 +3079,7 @@ export default theme;`;
|
|
|
3079
3079
|
function Tn(e) {
|
|
3080
3080
|
return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
|
|
3081
3081
|
}
|
|
3082
|
-
const
|
|
3082
|
+
const ds = (e) => {
|
|
3083
3083
|
if (!Number.isNaN(+e))
|
|
3084
3084
|
return +e;
|
|
3085
3085
|
const r = e.match(/\d*\.?\d+/g);
|
|
@@ -3090,11 +3090,11 @@ const cs = (e) => {
|
|
|
3090
3090
|
t += +r[n];
|
|
3091
3091
|
return t;
|
|
3092
3092
|
};
|
|
3093
|
-
function
|
|
3093
|
+
function cs(e) {
|
|
3094
3094
|
Object.assign(e, {
|
|
3095
3095
|
alpha(r, t) {
|
|
3096
3096
|
const n = this || e;
|
|
3097
|
-
return n.colorSpace ? `oklch(from ${r} l c h / ${typeof t == "string" ? `calc(${t})` : t})` : n.vars ? `rgba(${r.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof t == "string" ? `calc(${t})` : t})` : Yn(r,
|
|
3097
|
+
return n.colorSpace ? `oklch(from ${r} l c h / ${typeof t == "string" ? `calc(${t})` : t})` : n.vars ? `rgba(${r.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof t == "string" ? `calc(${t})` : t})` : Yn(r, ds(t));
|
|
3098
3098
|
},
|
|
3099
3099
|
lighten(r, t) {
|
|
3100
3100
|
const n = this || e;
|
|
@@ -3137,8 +3137,8 @@ function Er(e = {}, ...r) {
|
|
|
3137
3137
|
...ss
|
|
3138
3138
|
}
|
|
3139
3139
|
});
|
|
3140
|
-
if (g = Te(g, h), g = r.reduce((b,
|
|
3141
|
-
const b = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"],
|
|
3140
|
+
if (g = Te(g, h), g = r.reduce((b, c) => Te(b, c), g), process.env.NODE_ENV !== "production") {
|
|
3141
|
+
const b = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], c = (x, T) => {
|
|
3142
3142
|
let R;
|
|
3143
3143
|
for (R in x) {
|
|
3144
3144
|
const I = x[R];
|
|
@@ -3158,18 +3158,18 @@ function Er(e = {}, ...r) {
|
|
|
3158
3158
|
};
|
|
3159
3159
|
Object.keys(g.components).forEach((x) => {
|
|
3160
3160
|
const T = g.components[x].styleOverrides;
|
|
3161
|
-
T && x.startsWith("Mui") &&
|
|
3161
|
+
T && x.startsWith("Mui") && c(T, x);
|
|
3162
3162
|
});
|
|
3163
3163
|
}
|
|
3164
3164
|
return g.unstable_sxConfig = {
|
|
3165
3165
|
...tr,
|
|
3166
3166
|
...h == null ? void 0 : h.unstable_sxConfig
|
|
3167
|
-
}, g.unstable_sx = function(
|
|
3167
|
+
}, g.unstable_sx = function(c) {
|
|
3168
3168
|
return yt({
|
|
3169
|
-
sx:
|
|
3169
|
+
sx: c,
|
|
3170
3170
|
theme: this
|
|
3171
3171
|
});
|
|
3172
|
-
}, g.toRuntimeSource = Xn,
|
|
3172
|
+
}, g.toRuntimeSource = Xn, cs(g), g;
|
|
3173
3173
|
}
|
|
3174
3174
|
function ps(e) {
|
|
3175
3175
|
let r;
|
|
@@ -3334,7 +3334,7 @@ function vs(e = {}, ...r) {
|
|
|
3334
3334
|
...h
|
|
3335
3335
|
} = e, m = Object.keys(t)[0], y = n || (t.light && m !== "light" ? "light" : m), g = xs(s), {
|
|
3336
3336
|
[y]: b,
|
|
3337
|
-
light:
|
|
3337
|
+
light: c,
|
|
3338
3338
|
dark: x,
|
|
3339
3339
|
...T
|
|
3340
3340
|
} = t, R = {
|
|
@@ -3346,7 +3346,7 @@ function vs(e = {}, ...r) {
|
|
|
3346
3346
|
let w;
|
|
3347
3347
|
a && (w = "oklch");
|
|
3348
3348
|
const S = vr(w, R, I, h, y);
|
|
3349
|
-
|
|
3349
|
+
c && !R.light && vr(w, R, c, void 0, "light"), x && !R.dark && vr(w, R, x, void 0, "dark");
|
|
3350
3350
|
let $ = {
|
|
3351
3351
|
defaultColorScheme: y,
|
|
3352
3352
|
...S,
|
|
@@ -3362,11 +3362,11 @@ function vs(e = {}, ...r) {
|
|
|
3362
3362
|
spacing: bs(h.spacing)
|
|
3363
3363
|
};
|
|
3364
3364
|
Object.keys($.colorSchemes).forEach((V) => {
|
|
3365
|
-
const
|
|
3365
|
+
const d = $.colorSchemes[V].palette, A = (z) => {
|
|
3366
3366
|
const N = z.split("-"), K = N[1], H = N[2];
|
|
3367
|
-
return g(z,
|
|
3367
|
+
return g(z, d[K][H]);
|
|
3368
3368
|
};
|
|
3369
|
-
|
|
3369
|
+
d.mode === "light" && (k(d.common, "background", "#fff"), k(d.common, "onBackground", "#000")), d.mode === "dark" && (k(d.common, "background", "#000"), k(d.common, "onBackground", "#fff"));
|
|
3370
3370
|
function P(z, N, K) {
|
|
3371
3371
|
if (w) {
|
|
3372
3372
|
let H;
|
|
@@ -3374,21 +3374,21 @@ function vs(e = {}, ...r) {
|
|
|
3374
3374
|
}
|
|
3375
3375
|
return z(N, K);
|
|
3376
3376
|
}
|
|
3377
|
-
if (ys(
|
|
3378
|
-
k(
|
|
3379
|
-
const z = w ? P(ne, a ? g("palette-background-default") :
|
|
3380
|
-
k(
|
|
3377
|
+
if (ys(d, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), d.mode === "light") {
|
|
3378
|
+
k(d.Alert, "errorColor", P(ne, a ? g("palette-error-light") : d.error.light, 0.6)), k(d.Alert, "infoColor", P(ne, a ? g("palette-info-light") : d.info.light, 0.6)), k(d.Alert, "successColor", P(ne, a ? g("palette-success-light") : d.success.light, 0.6)), k(d.Alert, "warningColor", P(ne, a ? g("palette-warning-light") : d.warning.light, 0.6)), k(d.Alert, "errorFilledBg", A("palette-error-main")), k(d.Alert, "infoFilledBg", A("palette-info-main")), k(d.Alert, "successFilledBg", A("palette-success-main")), k(d.Alert, "warningFilledBg", A("palette-warning-main")), k(d.Alert, "errorFilledColor", Oe(() => d.getContrastText(d.error.main))), k(d.Alert, "infoFilledColor", Oe(() => d.getContrastText(d.info.main))), k(d.Alert, "successFilledColor", Oe(() => d.getContrastText(d.success.main))), k(d.Alert, "warningFilledColor", Oe(() => d.getContrastText(d.warning.main))), k(d.Alert, "errorStandardBg", P(oe, a ? g("palette-error-light") : d.error.light, 0.9)), k(d.Alert, "infoStandardBg", P(oe, a ? g("palette-info-light") : d.info.light, 0.9)), k(d.Alert, "successStandardBg", P(oe, a ? g("palette-success-light") : d.success.light, 0.9)), k(d.Alert, "warningStandardBg", P(oe, a ? g("palette-warning-light") : d.warning.light, 0.9)), k(d.Alert, "errorIconColor", A("palette-error-main")), k(d.Alert, "infoIconColor", A("palette-info-main")), k(d.Alert, "successIconColor", A("palette-success-main")), k(d.Alert, "warningIconColor", A("palette-warning-main")), k(d.AppBar, "defaultBg", A("palette-grey-100")), k(d.Avatar, "defaultBg", A("palette-grey-400")), k(d.Button, "inheritContainedBg", A("palette-grey-300")), k(d.Button, "inheritContainedHoverBg", A("palette-grey-A100")), k(d.Chip, "defaultBorder", A("palette-grey-400")), k(d.Chip, "defaultAvatarColor", A("palette-grey-700")), k(d.Chip, "defaultIconColor", A("palette-grey-700")), k(d.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), k(d.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), k(d.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), k(d.LinearProgress, "primaryBg", P(oe, a ? g("palette-primary-main") : d.primary.main, 0.62)), k(d.LinearProgress, "secondaryBg", P(oe, a ? g("palette-secondary-main") : d.secondary.main, 0.62)), k(d.LinearProgress, "errorBg", P(oe, a ? g("palette-error-main") : d.error.main, 0.62)), k(d.LinearProgress, "infoBg", P(oe, a ? g("palette-info-main") : d.info.main, 0.62)), k(d.LinearProgress, "successBg", P(oe, a ? g("palette-success-main") : d.success.main, 0.62)), k(d.LinearProgress, "warningBg", P(oe, a ? g("palette-warning-light") : d.warning.main, 0.62)), k(d.Skeleton, "bg", w ? P(Ze, a ? g("palette-text-primary") : d.text.primary, 0.11) : `rgba(${A("palette-text-primaryChannel")} / 0.11)`), k(d.Slider, "primaryTrack", P(oe, a ? g("palette-primary-main") : d.primary.main, 0.62)), k(d.Slider, "secondaryTrack", P(oe, a ? g("palette-secondary-main") : d.secondary.main, 0.62)), k(d.Slider, "errorTrack", P(oe, a ? g("palette-error-main") : d.error.main, 0.62)), k(d.Slider, "infoTrack", P(oe, a ? g("palette-info-main") : d.info.main, 0.62)), k(d.Slider, "successTrack", P(oe, a ? g("palette-success-main") : d.success.main, 0.62)), k(d.Slider, "warningTrack", P(oe, a ? g("palette-warning-main") : d.warning.main, 0.62));
|
|
3379
|
+
const z = w ? P(ne, a ? g("palette-background-default") : d.background.default, 0.6825) : Mt(d.background.default, 0.8);
|
|
3380
|
+
k(d.SnackbarContent, "bg", z), k(d.SnackbarContent, "color", Oe(() => w ? Rr.text.primary : d.getContrastText(z))), k(d.SpeedDialAction, "fabHoverBg", Mt(d.background.paper, 0.15)), k(d.StepConnector, "border", A("palette-grey-400")), k(d.StepContent, "border", A("palette-grey-400")), k(d.Switch, "defaultColor", A("palette-common-white")), k(d.Switch, "defaultDisabledColor", A("palette-grey-100")), k(d.Switch, "primaryDisabledColor", P(oe, a ? g("palette-primary-main") : d.primary.main, 0.62)), k(d.Switch, "secondaryDisabledColor", P(oe, a ? g("palette-secondary-main") : d.secondary.main, 0.62)), k(d.Switch, "errorDisabledColor", P(oe, a ? g("palette-error-main") : d.error.main, 0.62)), k(d.Switch, "infoDisabledColor", P(oe, a ? g("palette-info-main") : d.info.main, 0.62)), k(d.Switch, "successDisabledColor", P(oe, a ? g("palette-success-main") : d.success.main, 0.62)), k(d.Switch, "warningDisabledColor", P(oe, a ? g("palette-warning-main") : d.warning.main, 0.62)), k(d.TableCell, "border", P(oe, Ze(a ? g("palette-divider") : d.divider, 1), 0.88)), k(d.Tooltip, "bg", P(Ze, a ? g("palette-grey-700") : d.grey[700], 0.92));
|
|
3381
3381
|
}
|
|
3382
|
-
if (
|
|
3383
|
-
k(
|
|
3384
|
-
const z = w ? P(oe, a ? g("palette-background-default") :
|
|
3385
|
-
k(
|
|
3382
|
+
if (d.mode === "dark") {
|
|
3383
|
+
k(d.Alert, "errorColor", P(oe, a ? g("palette-error-light") : d.error.light, 0.6)), k(d.Alert, "infoColor", P(oe, a ? g("palette-info-light") : d.info.light, 0.6)), k(d.Alert, "successColor", P(oe, a ? g("palette-success-light") : d.success.light, 0.6)), k(d.Alert, "warningColor", P(oe, a ? g("palette-warning-light") : d.warning.light, 0.6)), k(d.Alert, "errorFilledBg", A("palette-error-dark")), k(d.Alert, "infoFilledBg", A("palette-info-dark")), k(d.Alert, "successFilledBg", A("palette-success-dark")), k(d.Alert, "warningFilledBg", A("palette-warning-dark")), k(d.Alert, "errorFilledColor", Oe(() => d.getContrastText(d.error.dark))), k(d.Alert, "infoFilledColor", Oe(() => d.getContrastText(d.info.dark))), k(d.Alert, "successFilledColor", Oe(() => d.getContrastText(d.success.dark))), k(d.Alert, "warningFilledColor", Oe(() => d.getContrastText(d.warning.dark))), k(d.Alert, "errorStandardBg", P(ne, a ? g("palette-error-light") : d.error.light, 0.9)), k(d.Alert, "infoStandardBg", P(ne, a ? g("palette-info-light") : d.info.light, 0.9)), k(d.Alert, "successStandardBg", P(ne, a ? g("palette-success-light") : d.success.light, 0.9)), k(d.Alert, "warningStandardBg", P(ne, a ? g("palette-warning-light") : d.warning.light, 0.9)), k(d.Alert, "errorIconColor", A("palette-error-main")), k(d.Alert, "infoIconColor", A("palette-info-main")), k(d.Alert, "successIconColor", A("palette-success-main")), k(d.Alert, "warningIconColor", A("palette-warning-main")), k(d.AppBar, "defaultBg", A("palette-grey-900")), k(d.AppBar, "darkBg", A("palette-background-paper")), k(d.AppBar, "darkColor", A("palette-text-primary")), k(d.Avatar, "defaultBg", A("palette-grey-600")), k(d.Button, "inheritContainedBg", A("palette-grey-800")), k(d.Button, "inheritContainedHoverBg", A("palette-grey-700")), k(d.Chip, "defaultBorder", A("palette-grey-700")), k(d.Chip, "defaultAvatarColor", A("palette-grey-300")), k(d.Chip, "defaultIconColor", A("palette-grey-300")), k(d.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), k(d.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), k(d.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), k(d.LinearProgress, "primaryBg", P(ne, a ? g("palette-primary-main") : d.primary.main, 0.5)), k(d.LinearProgress, "secondaryBg", P(ne, a ? g("palette-secondary-main") : d.secondary.main, 0.5)), k(d.LinearProgress, "errorBg", P(ne, a ? g("palette-error-main") : d.error.main, 0.5)), k(d.LinearProgress, "infoBg", P(ne, a ? g("palette-info-main") : d.info.main, 0.5)), k(d.LinearProgress, "successBg", P(ne, a ? g("palette-success-main") : d.success.main, 0.5)), k(d.LinearProgress, "warningBg", P(ne, a ? g("palette-warning-main") : d.warning.main, 0.5)), k(d.Skeleton, "bg", w ? P(Ze, a ? g("palette-text-primary") : d.text.primary, 0.13) : `rgba(${A("palette-text-primaryChannel")} / 0.13)`), k(d.Slider, "primaryTrack", P(ne, a ? g("palette-primary-main") : d.primary.main, 0.5)), k(d.Slider, "secondaryTrack", P(ne, a ? g("palette-secondary-main") : d.secondary.main, 0.5)), k(d.Slider, "errorTrack", P(ne, a ? g("palette-error-main") : d.error.main, 0.5)), k(d.Slider, "infoTrack", P(ne, a ? g("palette-info-main") : d.info.main, 0.5)), k(d.Slider, "successTrack", P(ne, a ? g("palette-success-main") : d.success.main, 0.5)), k(d.Slider, "warningTrack", P(ne, a ? g("palette-warning-light") : d.warning.main, 0.5));
|
|
3384
|
+
const z = w ? P(oe, a ? g("palette-background-default") : d.background.default, 0.985) : Mt(d.background.default, 0.98);
|
|
3385
|
+
k(d.SnackbarContent, "bg", z), k(d.SnackbarContent, "color", Oe(() => w ? qn.text.primary : d.getContrastText(z))), k(d.SpeedDialAction, "fabHoverBg", Mt(d.background.paper, 0.15)), k(d.StepConnector, "border", A("palette-grey-600")), k(d.StepContent, "border", A("palette-grey-600")), k(d.Switch, "defaultColor", A("palette-grey-300")), k(d.Switch, "defaultDisabledColor", A("palette-grey-600")), k(d.Switch, "primaryDisabledColor", P(ne, a ? g("palette-primary-main") : d.primary.main, 0.55)), k(d.Switch, "secondaryDisabledColor", P(ne, a ? g("palette-secondary-main") : d.secondary.main, 0.55)), k(d.Switch, "errorDisabledColor", P(ne, a ? g("palette-error-main") : d.error.main, 0.55)), k(d.Switch, "infoDisabledColor", P(ne, a ? g("palette-info-main") : d.info.main, 0.55)), k(d.Switch, "successDisabledColor", P(ne, a ? g("palette-success-main") : d.success.main, 0.55)), k(d.Switch, "warningDisabledColor", P(ne, a ? g("palette-warning-light") : d.warning.main, 0.55)), k(d.TableCell, "border", P(ne, Ze(a ? g("palette-divider") : d.divider, 1), 0.68)), k(d.Tooltip, "bg", P(Ze, a ? g("palette-grey-700") : d.grey[700], 0.92));
|
|
3386
3386
|
}
|
|
3387
|
-
a || (We(
|
|
3388
|
-
const N =
|
|
3389
|
-
z !== "tonalOffset" && !a && N && typeof N == "object" && (N.main && k(
|
|
3387
|
+
a || (We(d.background, "default"), We(d.background, "paper"), We(d.common, "background"), We(d.common, "onBackground"), We(d, "divider")), Object.keys(d).forEach((z) => {
|
|
3388
|
+
const N = d[z];
|
|
3389
|
+
z !== "tonalOffset" && !a && N && typeof N == "object" && (N.main && k(d[z], "mainChannel", St(Ct(N.main))), N.light && k(d[z], "lightChannel", St(Ct(N.light))), N.dark && k(d[z], "darkChannel", St(Ct(N.dark))), N.contrastText && k(d[z], "contrastTextChannel", St(Ct(N.contrastText))), z === "text" && (We(d[z], "primary"), We(d[z], "secondary")), z === "action" && (N.active && We(d[z], "active"), N.selected && We(d[z], "selected")));
|
|
3390
3390
|
});
|
|
3391
|
-
}), $ = r.reduce((V,
|
|
3391
|
+
}), $ = r.reduce((V, d) => Te(V, d), $);
|
|
3392
3392
|
const W = {
|
|
3393
3393
|
prefix: s,
|
|
3394
3394
|
disableCssColorScheme: o,
|
|
@@ -3400,16 +3400,16 @@ function vs(e = {}, ...r) {
|
|
|
3400
3400
|
generateThemeVars: q,
|
|
3401
3401
|
generateStyleSheets: L
|
|
3402
3402
|
} = Fa($, W);
|
|
3403
|
-
return $.vars = O, Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([V,
|
|
3404
|
-
$[V] =
|
|
3403
|
+
return $.vars = O, Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([V, d]) => {
|
|
3404
|
+
$[V] = d;
|
|
3405
3405
|
}), $.generateThemeVars = q, $.generateStyleSheets = L, $.generateSpacing = function() {
|
|
3406
3406
|
return _n(h.spacing, Or(this));
|
|
3407
3407
|
}, $.getColorSchemeSelector = _a(p), $.spacing = $.generateSpacing(), $.shouldSkipGeneratingVar = l, $.unstable_sxConfig = {
|
|
3408
3408
|
...tr,
|
|
3409
3409
|
...h == null ? void 0 : h.unstable_sxConfig
|
|
3410
|
-
}, $.unstable_sx = function(
|
|
3410
|
+
}, $.unstable_sx = function(d) {
|
|
3411
3411
|
return yt({
|
|
3412
|
-
sx:
|
|
3412
|
+
sx: d,
|
|
3413
3413
|
theme: this
|
|
3414
3414
|
});
|
|
3415
3415
|
}, $.toRuntimeSource = Xn, $;
|
|
@@ -3493,7 +3493,7 @@ const Ps = (e) => {
|
|
|
3493
3493
|
} = e, o = {
|
|
3494
3494
|
root: ["root", r !== "inherit" && `color${it(r)}`, `fontSize${it(t)}`]
|
|
3495
3495
|
};
|
|
3496
|
-
return
|
|
3496
|
+
return di(o, Hs, n);
|
|
3497
3497
|
}, $s = Ts("svg", {
|
|
3498
3498
|
name: "MuiSvgIcon",
|
|
3499
3499
|
slot: "Root",
|
|
@@ -3518,7 +3518,7 @@ const Ps = (e) => {
|
|
|
3518
3518
|
}),
|
|
3519
3519
|
variants: [
|
|
3520
3520
|
{
|
|
3521
|
-
props: (
|
|
3521
|
+
props: (c) => !c.hasSvgAsChild,
|
|
3522
3522
|
style: {
|
|
3523
3523
|
// the <svg> will define the property that has `currentColor`
|
|
3524
3524
|
// for example heroicons uses fill="none" and stroke="currentColor"
|
|
@@ -3558,14 +3558,14 @@ const Ps = (e) => {
|
|
|
3558
3558
|
}
|
|
3559
3559
|
},
|
|
3560
3560
|
// TODO v5 deprecate color prop, v6 remove for sx
|
|
3561
|
-
...Object.entries((e.vars ?? e).palette).filter(([,
|
|
3561
|
+
...Object.entries((e.vars ?? e).palette).filter(([, c]) => c && c.main).map(([c]) => {
|
|
3562
3562
|
var x, T;
|
|
3563
3563
|
return {
|
|
3564
3564
|
props: {
|
|
3565
|
-
color:
|
|
3565
|
+
color: c
|
|
3566
3566
|
},
|
|
3567
3567
|
style: {
|
|
3568
|
-
color: (T = (x = (e.vars ?? e).palette) == null ? void 0 : x[
|
|
3568
|
+
color: (T = (x = (e.vars ?? e).palette) == null ? void 0 : x[c]) == null ? void 0 : T.main
|
|
3569
3569
|
}
|
|
3570
3570
|
};
|
|
3571
3571
|
}),
|
|
@@ -3610,7 +3610,7 @@ const Ps = (e) => {
|
|
|
3610
3610
|
titleAccess: m,
|
|
3611
3611
|
viewBox: y = "0 0 24 24",
|
|
3612
3612
|
...g
|
|
3613
|
-
} = n, b = /* @__PURE__ */ Ge.isValidElement(o) && o.type === "svg",
|
|
3613
|
+
} = n, b = /* @__PURE__ */ Ge.isValidElement(o) && o.type === "svg", c = {
|
|
3614
3614
|
...n,
|
|
3615
3615
|
color: a,
|
|
3616
3616
|
component: l,
|
|
@@ -3621,7 +3621,7 @@ const Ps = (e) => {
|
|
|
3621
3621
|
hasSvgAsChild: b
|
|
3622
3622
|
}, x = {};
|
|
3623
3623
|
h || (x.viewBox = y);
|
|
3624
|
-
const T = Ps(
|
|
3624
|
+
const T = Ps(c);
|
|
3625
3625
|
return /* @__PURE__ */ f($s, {
|
|
3626
3626
|
as: l,
|
|
3627
3627
|
className: Mn(T.root, s),
|
|
@@ -3633,7 +3633,7 @@ const Ps = (e) => {
|
|
|
3633
3633
|
...x,
|
|
3634
3634
|
...g,
|
|
3635
3635
|
...b && o.props,
|
|
3636
|
-
ownerState:
|
|
3636
|
+
ownerState: c,
|
|
3637
3637
|
children: [b ? o.props.children : o, m ? /* @__PURE__ */ i("title", {
|
|
3638
3638
|
children: m
|
|
3639
3639
|
}) : null]
|
|
@@ -3832,7 +3832,7 @@ const Hr = (e) => (r) => {
|
|
|
3832
3832
|
);
|
|
3833
3833
|
o.getInitialState = () => g;
|
|
3834
3834
|
let b;
|
|
3835
|
-
const
|
|
3835
|
+
const c = () => {
|
|
3836
3836
|
var x, T;
|
|
3837
3837
|
if (!h) return;
|
|
3838
3838
|
const R = ++l;
|
|
@@ -3884,7 +3884,7 @@ const Hr = (e) => (r) => {
|
|
|
3884
3884
|
h == null || h.removeItem(s.name);
|
|
3885
3885
|
},
|
|
3886
3886
|
getOptions: () => s,
|
|
3887
|
-
rehydrate: () =>
|
|
3887
|
+
rehydrate: () => c(),
|
|
3888
3888
|
hasHydrated: () => a,
|
|
3889
3889
|
onHydrate: (x) => (p.add(x), () => {
|
|
3890
3890
|
p.delete(x);
|
|
@@ -3892,7 +3892,7 @@ const Hr = (e) => (r) => {
|
|
|
3892
3892
|
onFinishHydration: (x) => (u.add(x), () => {
|
|
3893
3893
|
u.delete(x);
|
|
3894
3894
|
})
|
|
3895
|
-
}, s.skipHydration ||
|
|
3895
|
+
}, s.skipHydration || c(), b || g;
|
|
3896
3896
|
}, Ls = _s, Wt = {
|
|
3897
3897
|
appName: "Crystal Ball",
|
|
3898
3898
|
appTagline: "Run your whole business in one place",
|
|
@@ -4146,16 +4146,16 @@ function Fr(e) {
|
|
|
4146
4146
|
textDisabled: n ? "rgba(255,255,255,0.4)" : "rgba(0,0,0,0.38)",
|
|
4147
4147
|
divider: n ? "rgba(255,255,255,0.12)" : "rgba(0,0,0,0.12)",
|
|
4148
4148
|
outline: n ? "rgba(255,255,255,0.23)" : "rgba(0,0,0,0.23)"
|
|
4149
|
-
}, l = e.statusBold, p = l ? e.errorHex : fe(e.errorHex, n ? 0.22 : 0.13), u = l ? e.warningHex : fe(e.warningHex, n ? 0.22 : 0.14), h = l ? e.infoHex : fe(e.infoHex, n ? 0.22 : 0.13), m = l ? e.successHex : fe(e.successHex, n ? 0.22 : 0.13), y = l ? "#ffffff" : n ? Ce(e.errorHex)[300] : e.errorHex, g = l ? "#ffffff" : n ? Ce(e.warningHex)[300] : Ce(e.warningHex)[700], b = l ? "#ffffff" : n ? Ce(e.infoHex)[300] : e.infoHex,
|
|
4149
|
+
}, l = e.statusBold, p = l ? e.errorHex : fe(e.errorHex, n ? 0.22 : 0.13), u = l ? e.warningHex : fe(e.warningHex, n ? 0.22 : 0.14), h = l ? e.infoHex : fe(e.infoHex, n ? 0.22 : 0.13), m = l ? e.successHex : fe(e.successHex, n ? 0.22 : 0.13), y = l ? "#ffffff" : n ? Ce(e.errorHex)[300] : e.errorHex, g = l ? "#ffffff" : n ? Ce(e.warningHex)[300] : Ce(e.warningHex)[700], b = l ? "#ffffff" : n ? Ce(e.infoHex)[300] : e.infoHex, c = l ? "#ffffff" : n ? Ce(e.successHex)[300] : Ce(e.successHex)[700], x = Pr(e.primaryHex)[0], T = { neutral: [220, 6], warm: [32, 26], cool: [210, 30], brand: [x, 42], slate: [214, 16], snow: [0, 0] };
|
|
4150
4150
|
let R = T[e.surfaceTint] || T.neutral;
|
|
4151
4151
|
if (e.tintIntensity > 0) {
|
|
4152
|
-
const
|
|
4153
|
-
R = [
|
|
4152
|
+
const ce = !!(e.surfaceTint && T[e.surfaceTint] && e.surfaceTint !== "snow");
|
|
4153
|
+
R = [ce ? R[0] : x, Math.round((ce ? R[1] : 42) * e.tintIntensity / 100)];
|
|
4154
4154
|
}
|
|
4155
4155
|
n ? (a.bgDefault = le(R[0], Math.round(R[1] * 0.7), 7), a.paper = le(R[0], Math.round(R[1] * 0.7), 13), a.paper2 = le(R[0], Math.round(R[1] * 0.85), 19)) : e.surfaceTint === "snow" && !(e.tintIntensity > 0) ? (a.bgDefault = "#ffffff", a.paper = "#ffffff", a.paper2 = "#ffffff") : (a.bgDefault = le(R[0], Math.round(R[1] * 0.9), e.surfaceTint === "brand" ? 92 : e.surfaceTint === "cool" ? 94 : 96), a.paper = le(R[0], Math.round(R[1] * 0.4), 99), a.paper2 = le(R[0], Math.round(R[1] * 0.85), e.surfaceTint === "brand" ? 95 : 96.5)), e.pageBgHex && (a.bgDefault = e.pageBgHex), e.cardBgHex && (a.paper = e.cardBgHex);
|
|
4156
4156
|
const I = { soft: 0, standard: 1, medium: 2, high: 3 }, w = I[e.contrast] !== void 0 ? I[e.contrast] : 1, S = 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)"]];
|
|
4157
4157
|
a.textPrimary = S[w][0], a.textSecondary = S[w][1], a.divider = S[w][2], a.outline = S[w][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 ? le(R[0], Math.round(R[1] * 0.9), 22) : le(R[0], Math.max(Math.round(R[1] * 0.3), 4), 100) : e.nestedStyle === "bordered" ? a.paper2 = a.paper : a.paper2 = n ? le(R[0], Math.round(R[1] * 0.9), Math.max(3, 5)) : le(R[0], Math.min(Math.round(R[1] * 1.1), 60), Math.max(88, 94 - R[1] * 0.18));
|
|
4158
|
-
const $ = e.btnColorHex || o, W = e.accentGradient ? "linear-gradient(135deg," + $ + "," + (e.btnColorHex ? Ce(e.btnColorHex)[700] : r[n ? 500 : 700]) + ")" : $, O = e.btnTextHex || (Sr($, "#ffffff") >= 2.9 ? "#ffffff" : "rgba(0,0,0,0.87)"), q = e.h1Color || null, L = e.h2Color || null, V = e.h3Color || null,
|
|
4158
|
+
const $ = e.btnColorHex || o, W = e.accentGradient ? "linear-gradient(135deg," + $ + "," + (e.btnColorHex ? Ce(e.btnColorHex)[700] : r[n ? 500 : 700]) + ")" : $, O = e.btnTextHex || (Sr($, "#ffffff") >= 2.9 ? "#ffffff" : "rgba(0,0,0,0.87)"), q = e.h1Color || null, L = e.h2Color || null, V = e.h3Color || null, d = e.h4Color || null, A = e.h5Color || null, P = e.h6Color || null, z = [{ key: "sm", px: 13 }, { key: "df", px: 12 }, { key: "lg", px: 18 }], N = z.find((ce) => ce.key === e.textSize) || z[1], K = e.baseFontPx > 0 ? e.baseFontPx : N.px, H = e.bodyLineHeight > 0 ? e.bodyLineHeight : 1.5, D = e.h1Size > 0 ? e.h1Size : 20, E = Math.round(D * 1.1), C = D, _ = Math.max(Math.round(D * 0.9), 11), Y = Math.max(Math.round(D * 0.8), 11), U = Math.max(Math.round(D * 0.7), 10), M = Math.max(Math.round(D * 0.6), 10), J = Math.max(Math.round(D * 0.5), 9), j = K, B = Math.round(K * 0.92), X = Math.round(K * 0.8), Q = Math.round(K * 0.72), de = e.headingWeight, F = e.headingLH > 0 ? e.headingLH : 1.2, ve = e.bodyWeight > 0 ? e.bodyWeight : 400, _e = Math.min(900, ve + 200), qe = { compact: 0.82, default: 1, comfortable: 1.16 }, $e = e.densityScale > 0 ? e.densityScale / 100 : qe[e.density] ?? 1, Ke = Math.round(20 * $e), Xe = Math.round(14 * $e), ir = e.cardGapPx > 0 ? e.cardGapPx : Math.round(16 * $e), Le = Math.round(11 * $e * ({ compact: 0.66, default: 1, comfortable: 1.32 }[e.tableDensity] ?? 1)), Ht = e.containerPadPx > 0 ? e.containerPadPx : Math.round(10 * $e), De = e.radiusVal, Ne = De + "px", Z = Math.max(Math.round(De * 0.6), 2) + "px", Re = {
|
|
4159
4159
|
0: "none",
|
|
4160
4160
|
1: "0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12)",
|
|
4161
4161
|
2: "0px 3px 3px -2px rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 1px 8px 0px rgba(0,0,0,0.12)",
|
|
@@ -4166,14 +4166,14 @@ function Fr(e) {
|
|
|
4166
4166
|
e.cardStyle === "outlined" ? (xt = "none", Qe = "1.5px solid " + a.outline, Pt = "none") : e.cardStyle === "soft" ? (xt = Re[1], Qe = n ? st : "none", Pt = Re[1]) : (xt = Re[8], Qe = n ? st : "none", Pt = Re[4]), e.cardShadowPx > 0 && (xt = "0 " + Math.round(e.cardShadowPx * 0.45) + "px " + e.cardShadowPx + "px rgba(16,24,40," + (n ? 0.55 : 0.16) + ")");
|
|
4167
4167
|
let $t = "transparent", Lr = "1px solid " + a.divider, ar = "none";
|
|
4168
4168
|
e.cardHeader === "plain" ? Lr = "none" : e.cardHeader === "tinted" ? $t = a.pContainer : e.cardHeader === "accent" && (ar = "inset 3px 0 0 " + o), e.headerStrength > 0 && (ar = "inset " + Math.max(1, Math.round(e.headerStrength * 0.06)) + "px 0 0 " + o, $t = fe(e.primaryHex, (n ? 0.14 : 0.08) * (e.headerStrength / 100))), e.cardHdrHex && ($t = e.cardHdrHex);
|
|
4169
|
-
const no = n ? "none" : Re[4], oo = n ? "1px solid " + a.divider : "none", io = e.nestedStyle === "bordered" ? "1.5px solid " + a.outline : "1px solid " + a.divider, ao = e.nestedDepth > 0 ? "inset 3px 0 0 " + fe(e.primaryHex, 0.55) + ", 0 " + Math.round(e.nestedDepth * 0.4) + "px " + e.nestedDepth + "px rgba(16,24,40," + (n ? 0.42 : 0.1) + ")" : "none", so = (e.appName || "").trim().split(/\s+/).slice(0, 2).map((
|
|
4169
|
+
const no = n ? "none" : Re[4], oo = n ? "1px solid " + a.divider : "none", io = e.nestedStyle === "bordered" ? "1.5px solid " + a.outline : "1px solid " + a.divider, ao = e.nestedDepth > 0 ? "inset 3px 0 0 " + fe(e.primaryHex, 0.55) + ", 0 " + Math.round(e.nestedDepth * 0.4) + "px " + e.nestedDepth + "px rgba(16,24,40," + (n ? 0.42 : 0.1) + ")" : "none", so = (e.appName || "").trim().split(/\s+/).slice(0, 2).map((ce) => ce[0] || "").join("").toUpperCase() || "AP", lo = !!(e.logoMode === "image" && e.logoUrl), co = !!e.loginImage, Nr = (ce) => ce.includes(" ") && !ce.startsWith('"') && !ce.startsWith("'") ? `"${ce}"` : ce, po = Nr(e.headingFont || e.fontFamily), fo = Nr(e.fontFamily), Se = Pr(e.primaryHex)[0], xe = (ce, Me) => le((ce % 360 + 360) % 360, 62, n ? 60 : 46), jr = {
|
|
4170
4170
|
brand: [o, s, xe(Se + 42), xe(Se + 205), xe(Se + 120)],
|
|
4171
4171
|
categorical: [xe(Se), xe(Se + 72), xe(Se + 144), xe(Se + 216), xe(Se + 288)],
|
|
4172
4172
|
sequential: [le(Se, 55, n ? 40 : 78), le(Se, 60, n ? 50 : 64), o, le(Se, 70, n ? 70 : 38), le(Se, 78, n ? 82 : 26)],
|
|
4173
4173
|
cbsafe: ["#0072B2", "#E69F00", "#009E73", "#CC79A7", "#56B4E9"],
|
|
4174
4174
|
warm: [xe(8), xe(28), xe(45), xe(350), xe(18)],
|
|
4175
4175
|
cool: [xe(200), xe(220), xe(255), xe(180), xe(235)]
|
|
4176
|
-
}, uo = jr[e.chartScheme] || jr.brand, ho = [r[600], t[600], le((Se + 42) % 360, 55, 46), le((Se + 205) % 360, 50, 46)], go = { error: { cb: p, cc: y }, success: { cb: m, cc:
|
|
4176
|
+
}, uo = jr[e.chartScheme] || jr.brand, ho = [r[600], t[600], le((Se + 42) % 360, 55, 46), le((Se + 205) % 360, 50, 46)], go = { error: { cb: p, cc: y }, success: { cb: m, cc: c }, info: { cb: h, cc: b }, warning: { cb: u, cc: g } }, sr = e.mapGlass === "light", mo = sr ? "rgba(255,255,255,0.84)" : "rgba(15,20,28,0.74)", yo = sr ? "#1c2733" : "#f3f6fa", bo = sr ? "rgba(0,0,0,0.12)" : "rgba(255,255,255,0.18)", xo = "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%, " + fe(o, 0.22) + ", rgba(0,0,0,0) 60%), " + "#0f141c", vo = "linear-gradient(135deg," + o + "," + r[700] + ")", So = "linear-gradient(180deg," + fe(r[900], 0.12) + "," + fe(r[900], 0.55) + ")", Co = "linear-gradient(135deg," + r[700] + "," + r[900] + ")", wo = "linear-gradient(135deg," + fe(r[900], 0.55) + "," + fe(e.primaryHex, 0.45) + ")", Vr = { "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" } }, ko = Vr[e.notifPosition] || Vr["top-right"], Ur = 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: u, icc: g, dot: e.warningHex };
|
|
4177
4177
|
let At;
|
|
4178
4178
|
e.notifStyle === "toast" ? At = { boxShadow: Re[8], border: typeof Qe == "string" && Qe !== "none" ? Qe : "none" } : e.notifStyle === "banner" ? At = { boxShadow: Re[2], borderLeft: "4px solid " + Ur.bar } : At = { boxShadow: "none", border: "1px solid " + a.divider };
|
|
4179
4179
|
const To = e.notifCardHex || (n ? "#1e1e1e" : "#ffffff"), Ro = { compact: "7px", default: "11px", comfortable: "16px" }, Eo = { compact: "6px", default: "12px", comfortable: "22px" }, Ho = { top: "flex-start", middle: "center", bottom: "flex-end" }, Po = { left: "flex-start", center: "center", right: "flex-end" }, $o = { plain: "transparent", tinted: a.paper2, accent: a.highlightSoft }, Ao = {
|
|
@@ -4186,13 +4186,13 @@ function Fr(e) {
|
|
|
4186
4186
|
cellJC: Po[e.tableCellAlignH] || "flex-start",
|
|
4187
4187
|
stripeBg: n ? "rgba(255,255,255,0.035)" : "rgba(0,0,0,0.028)",
|
|
4188
4188
|
statusMap: {
|
|
4189
|
-
Delivered: { sb: m, sc:
|
|
4189
|
+
Delivered: { sb: m, sc: c },
|
|
4190
4190
|
Processing: { sb: a.pContainer, sc: n ? a.pLight : a.pDark },
|
|
4191
4191
|
Pending: { sb: u, sc: g },
|
|
4192
4192
|
Shipped: { sb: h, sc: b }
|
|
4193
4193
|
},
|
|
4194
|
-
filters: ["All", "Delivered", "Processing", "Pending"].map((
|
|
4195
|
-
label:
|
|
4194
|
+
filters: ["All", "Delivered", "Processing", "Pending"].map((ce, Me) => ({
|
|
4195
|
+
label: ce,
|
|
4196
4196
|
bg: Me === 0 ? a.highlightSoft : "transparent",
|
|
4197
4197
|
c: Me === 0 ? a.textPrimary : a.textSecondary,
|
|
4198
4198
|
brd: Me === 0 ? a.highlightBd : a.outline
|
|
@@ -4208,7 +4208,7 @@ function Fr(e) {
|
|
|
4208
4208
|
{ label: "Team", ic: "◍" },
|
|
4209
4209
|
{ label: "Security", ic: "▣" },
|
|
4210
4210
|
{ label: "Billing", ic: "◳" }
|
|
4211
|
-
].map((
|
|
4211
|
+
].map((ce, Me) => ({ ...ce, on: Me === 1, bg: Me === 1 ? a.highlightSoft : "transparent", c: Me === 1 ? a.textPrimary : a.textSecondary, bar: Me === 1 ? "3px solid " + a.highlight : "3px solid transparent" })), _o = Mo.map((ce) => ({ ...ce, active: e.navPattern === ce.key, brd: e.navPattern === ce.key ? o : a.divider, bg: e.navPattern === ce.key ? a.pContainer : a.paper, color: e.navPattern === ce.key ? a.onPContainer : a.textPrimary })), Lo = e.sidebarWidth, No = e.appBarH > 0 ? e.appBarH : 56, jo = e.appBarH > 0 ? e.appBarH + "px" : "Auto (56px)";
|
|
4212
4212
|
return {
|
|
4213
4213
|
pal: r,
|
|
4214
4214
|
spal: t,
|
|
@@ -4223,14 +4223,14 @@ function Fr(e) {
|
|
|
4223
4223
|
errTxt: y,
|
|
4224
4224
|
warnTxt: g,
|
|
4225
4225
|
infoTxt: b,
|
|
4226
|
-
sucTxt:
|
|
4226
|
+
sucTxt: c,
|
|
4227
4227
|
sevMap: go,
|
|
4228
4228
|
accentBg: W,
|
|
4229
4229
|
btnText: O,
|
|
4230
4230
|
hc1: q,
|
|
4231
4231
|
hc2: L,
|
|
4232
4232
|
hc3: V,
|
|
4233
|
-
hc4:
|
|
4233
|
+
hc4: d,
|
|
4234
4234
|
hc5: A,
|
|
4235
4235
|
hc6: P,
|
|
4236
4236
|
base: K,
|
|
@@ -4247,12 +4247,12 @@ function Fr(e) {
|
|
|
4247
4247
|
tBodySm: B,
|
|
4248
4248
|
tCaption: X,
|
|
4249
4249
|
tOverline: Q,
|
|
4250
|
-
wH1:
|
|
4251
|
-
wH2:
|
|
4252
|
-
wH3:
|
|
4253
|
-
wH4:
|
|
4254
|
-
wH5:
|
|
4255
|
-
wH6:
|
|
4250
|
+
wH1: de,
|
|
4251
|
+
wH2: de,
|
|
4252
|
+
wH3: de,
|
|
4253
|
+
wH4: de,
|
|
4254
|
+
wH5: de,
|
|
4255
|
+
wH6: de,
|
|
4256
4256
|
headLH: F,
|
|
4257
4257
|
bodyWeightEff: ve,
|
|
4258
4258
|
bwEmph: _e,
|
|
@@ -4307,7 +4307,7 @@ function Fr(e) {
|
|
|
4307
4307
|
};
|
|
4308
4308
|
}
|
|
4309
4309
|
function Ns({ icon: e, title: r, info: t, open: n, dimmed: o, onToggle: s, onPreviewMenu: a, children: l }) {
|
|
4310
|
-
const p = G((T) => T.settings), u = p.mode === "dark", h = p.primaryHex || "#1565c0", m = Ie(p.mode), y = Ce(h), g = Fr(p), b = n ? u ? fe(h, 0.22) : fe(h, 0.1) : "transparent",
|
|
4310
|
+
const p = G((T) => T.settings), u = p.mode === "dark", h = p.primaryHex || "#1565c0", m = Ie(p.mode), y = Ce(h), g = Fr(p), b = n ? u ? fe(h, 0.22) : fe(h, 0.1) : "transparent", c = n ? u ? y[200] : y[700] : m.text, x = n ? h : m.chevron;
|
|
4311
4311
|
return /* @__PURE__ */ f(
|
|
4312
4312
|
v,
|
|
4313
4313
|
{
|
|
@@ -4339,7 +4339,7 @@ function Ns({ icon: e, title: r, info: t, open: n, dimmed: o, onToggle: s, onPre
|
|
|
4339
4339
|
},
|
|
4340
4340
|
children: [
|
|
4341
4341
|
/* @__PURE__ */ i(v, { sx: { width: 32, height: 32, borderRadius: "10px", background: m.iconTile, color: m.body, display: "grid", placeItems: "center", flexShrink: 0, position: "relative" }, children: e }),
|
|
4342
|
-
/* @__PURE__ */ i(v, { sx: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ i(v, { sx: { fontSize: `${g.tH5}px`, fontWeight: g.wH5, fontFamily: `${g.headFam},sans-serif`, lineHeight: 1.25, color:
|
|
4342
|
+
/* @__PURE__ */ i(v, { sx: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ i(v, { sx: { fontSize: `${g.tH5}px`, fontWeight: g.wH5, fontFamily: `${g.headFam},sans-serif`, lineHeight: 1.25, color: c, letterSpacing: "-.2px", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: r }) }),
|
|
4343
4343
|
a && /* @__PURE__ */ i(
|
|
4344
4344
|
v,
|
|
4345
4345
|
{
|
|
@@ -4417,7 +4417,7 @@ const $r = [
|
|
|
4417
4417
|
];
|
|
4418
4418
|
function js() {
|
|
4419
4419
|
var N, K;
|
|
4420
|
-
const [e, r] = ie("presets"), t = G((H) => H.settings), n = t.mode === "dark", o = Ie(t.mode), s = t.highlightHex || "#ffd400", a = fe(s, n ? 0.3 : 0.18), l = n ? "#e6edf3" : "#1c2127", p = n ? "rgba(255,255,255,0.82)" : "#2c333d", u = G((H) => H.savedThemes), h = G((H) => H.applyPreset), m = G((H) => H.applySaved), y = G((H) => H.saveTheme), g = G((H) => H.renameSaved), b = G((H) => H.deleteSaved),
|
|
4420
|
+
const [e, r] = ie("presets"), t = G((H) => H.settings), n = t.mode === "dark", o = Ie(t.mode), s = t.highlightHex || "#ffd400", a = fe(s, n ? 0.3 : 0.18), l = n ? "#e6edf3" : "#1c2127", p = n ? "rgba(255,255,255,0.82)" : "#2c333d", u = G((H) => H.savedThemes), h = G((H) => H.applyPreset), m = G((H) => H.applySaved), y = G((H) => H.saveTheme), g = G((H) => H.renameSaved), b = G((H) => H.deleteSaved), c = G((H) => H.importTheme), x = G((H) => H.set), T = G((H) => H.isDirty), R = (H, D) => {
|
|
4421
4421
|
const E = new Blob([JSON.stringify({ name: H, snap: D }, null, 2)], { type: "application/json" }), C = URL.createObjectURL(E), _ = document.createElement("a");
|
|
4422
4422
|
_.href = C, _.download = `${H.replace(/[^a-z0-9]+/gi, "-").toLowerCase()}.theme.json`, _.click(), URL.revokeObjectURL(C);
|
|
4423
4423
|
}, I = (H) => {
|
|
@@ -4428,11 +4428,11 @@ function js() {
|
|
|
4428
4428
|
E.onload = () => {
|
|
4429
4429
|
try {
|
|
4430
4430
|
const _ = JSON.parse(E.result), Y = _.snap ?? _;
|
|
4431
|
-
|
|
4431
|
+
c(_.name || "Imported Theme", Y);
|
|
4432
4432
|
} catch {
|
|
4433
4433
|
}
|
|
4434
4434
|
}, E.readAsText(D), H.target.value = "";
|
|
4435
|
-
}, [w, S] = ie(null), [$, W] = ie(!1), [O, q] = ie(""), [L, V] = ie(null), [
|
|
4435
|
+
}, [w, S] = ie(null), [$, W] = ie(!1), [O, q] = ie(""), [L, V] = ie(null), [d, A] = ie(null), P = ((N = $r.find((H) => H.id === t.presetId)) == null ? void 0 : N.name) || ((K = u.find((H) => H.id === t.presetId)) == null ? void 0 : K.name) || "Custom Theme", z = (H, D) => {
|
|
4436
4436
|
const E = H.trim();
|
|
4437
4437
|
return E ? u.some((C) => C.name.toLowerCase() === E.toLowerCase() && C.id !== D) ? "Name already exists" : "" : "Name required";
|
|
4438
4438
|
};
|
|
@@ -4542,8 +4542,8 @@ function js() {
|
|
|
4542
4542
|
] }),
|
|
4543
4543
|
/* @__PURE__ */ f(Ft, { open: $, onClose: () => W(!1), children: [
|
|
4544
4544
|
/* @__PURE__ */ i(lr, { children: "Save theme" }),
|
|
4545
|
-
/* @__PURE__ */ i(
|
|
4546
|
-
/* @__PURE__ */ f(
|
|
4545
|
+
/* @__PURE__ */ i(dr, { children: /* @__PURE__ */ i(Gr, { autoFocus: !0, fullWidth: !0, size: "small", label: "Theme name", value: O, onChange: (H) => q(H.target.value), error: !!z(O), helperText: z(O), sx: { mt: 1 } }) }),
|
|
4546
|
+
/* @__PURE__ */ f(cr, { children: [
|
|
4547
4547
|
/* @__PURE__ */ i(Ae, { onClick: () => W(!1), children: "Cancel" }),
|
|
4548
4548
|
/* @__PURE__ */ i(Ae, { variant: "contained", disabled: !!z(O), onClick: () => {
|
|
4549
4549
|
y(O.trim()), W(!1);
|
|
@@ -4552,25 +4552,25 @@ function js() {
|
|
|
4552
4552
|
] }),
|
|
4553
4553
|
/* @__PURE__ */ f(Ft, { open: !!L, onClose: () => V(null), children: [
|
|
4554
4554
|
/* @__PURE__ */ i(lr, { children: "Rename theme" }),
|
|
4555
|
-
/* @__PURE__ */ i(
|
|
4556
|
-
/* @__PURE__ */ f(
|
|
4555
|
+
/* @__PURE__ */ i(dr, { children: /* @__PURE__ */ i(Gr, { autoFocus: !0, fullWidth: !0, size: "small", label: "New name", value: (L == null ? void 0 : L.name) ?? "", onChange: (H) => V((D) => D && { ...D, name: H.target.value }), error: !!(L && z(L.name, L.id)), helperText: L ? z(L.name, L.id) : "", sx: { mt: 1 } }) }),
|
|
4556
|
+
/* @__PURE__ */ f(cr, { children: [
|
|
4557
4557
|
/* @__PURE__ */ i(Ae, { onClick: () => V(null), children: "Cancel" }),
|
|
4558
4558
|
/* @__PURE__ */ i(Ae, { variant: "contained", disabled: !!(L && z(L.name, L.id)), onClick: () => {
|
|
4559
4559
|
g(L.id, L.name.trim()), V(null);
|
|
4560
4560
|
}, children: "Rename" })
|
|
4561
4561
|
] })
|
|
4562
4562
|
] }),
|
|
4563
|
-
/* @__PURE__ */ f(Ft, { open: !!
|
|
4563
|
+
/* @__PURE__ */ f(Ft, { open: !!d, onClose: () => A(null), children: [
|
|
4564
4564
|
/* @__PURE__ */ i(lr, { children: "Delete theme" }),
|
|
4565
|
-
/* @__PURE__ */ i(
|
|
4565
|
+
/* @__PURE__ */ i(dr, { children: /* @__PURE__ */ f(me, { variant: "body2", children: [
|
|
4566
4566
|
"Delete “",
|
|
4567
|
-
|
|
4567
|
+
d == null ? void 0 : d.name,
|
|
4568
4568
|
"”? This cannot be undone."
|
|
4569
4569
|
] }) }),
|
|
4570
|
-
/* @__PURE__ */ f(
|
|
4570
|
+
/* @__PURE__ */ f(cr, { children: [
|
|
4571
4571
|
/* @__PURE__ */ i(Ae, { onClick: () => A(null), children: "Cancel" }),
|
|
4572
4572
|
/* @__PURE__ */ i(Ae, { color: "error", variant: "contained", onClick: () => {
|
|
4573
|
-
b(
|
|
4573
|
+
b(d.id), A(null);
|
|
4574
4574
|
}, children: "Delete" })
|
|
4575
4575
|
] })
|
|
4576
4576
|
] })
|
|
@@ -4607,7 +4607,7 @@ function ut({ value: e, onChange: r, w: t = 30, h: n = 24, r: o = 7, border: s,
|
|
|
4607
4607
|
) });
|
|
4608
4608
|
}
|
|
4609
4609
|
function Us() {
|
|
4610
|
-
const [e, r] = ie("brand"), t = G((
|
|
4610
|
+
const [e, r] = ie("brand"), t = G((c) => c.settings), n = G((c) => c.set), o = Ie(t.mode), s = Pe(), a = { fontSize: "11.5px", color: o.body, fontWeight: 600 }, l = { fontSize: `${s.tBodySm}px`, color: o.body, fontWeight: s.bodyWeightEff, fontFamily: `${s.bodyFam},sans-serif`, lineHeight: s.bodyLH }, p = t.primaryHex || "#1565c0", u = Ce(p), h = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900].map((c) => u[c]), m = (c) => n({ ...c, presetId: "custom" }), y = [
|
|
4611
4611
|
{ key: "h1Color", label: "H1 · Page Title" },
|
|
4612
4612
|
{ key: "h2Color", label: "H2 · Metric" },
|
|
4613
4613
|
{ key: "h3Color", label: "H3 · Card Title" },
|
|
@@ -4640,37 +4640,37 @@ function Us() {
|
|
|
4640
4640
|
p,
|
|
4641
4641
|
" · tap to change"
|
|
4642
4642
|
] }),
|
|
4643
|
-
/* @__PURE__ */ i(v, { component: "input", type: "color", value: p, onChange: (
|
|
4643
|
+
/* @__PURE__ */ i(v, { component: "input", type: "color", value: p, onChange: (c) => m({ primaryHex: c.target.value }), sx: { position: "absolute", inset: 0, width: "100%", height: "100%", opacity: 0, cursor: "pointer", border: "none", p: 0 } })
|
|
4644
4644
|
] }),
|
|
4645
|
-
/* @__PURE__ */ i(v, { sx: { display: "flex", gap: "2px", borderRadius: "7px", overflow: "hidden", height: 14, mt: "7px" }, children: h.map((
|
|
4645
|
+
/* @__PURE__ */ i(v, { sx: { display: "flex", gap: "2px", borderRadius: "7px", overflow: "hidden", height: 14, mt: "7px" }, children: h.map((c, x) => /* @__PURE__ */ i(v, { sx: { flex: 1, background: c } }, x)) })
|
|
4646
4646
|
] }),
|
|
4647
4647
|
/* @__PURE__ */ f(v, { children: [
|
|
4648
4648
|
/* @__PURE__ */ i(et, { sk: o, tip: "Secondary accent — secondary/outlined buttons, switches & toggles, selected chips, and the second data series in charts.", children: "Secondary / Accent" }),
|
|
4649
|
-
/* @__PURE__ */ i(v, { sx: { position: "relative", height: 34, borderRadius: "9px", background: t.secondaryHex, overflow: "hidden" }, children: /* @__PURE__ */ i(v, { component: "input", type: "color", value: t.secondaryHex, onChange: (
|
|
4649
|
+
/* @__PURE__ */ i(v, { sx: { position: "relative", height: 34, borderRadius: "9px", background: t.secondaryHex, overflow: "hidden" }, children: /* @__PURE__ */ i(v, { component: "input", type: "color", value: t.secondaryHex, onChange: (c) => m({ secondaryHex: c.target.value }), sx: { position: "absolute", inset: 0, width: "100%", height: "100%", opacity: 0, cursor: "pointer", border: "none", p: 0 } }) })
|
|
4650
4650
|
] }),
|
|
4651
4651
|
/* @__PURE__ */ f(v, { children: [
|
|
4652
4652
|
/* @__PURE__ */ i(et, { sk: o, tip: "Accent colour used to draw attention — highlight panels, featured badges, callouts. Defaults to the brand colour.", children: "Highlight Colour" }),
|
|
4653
|
-
/* @__PURE__ */ i(v, { sx: { position: "relative", height: 34, borderRadius: "8px", background: t.highlightHex || "#ffd400", overflow: "hidden", border: `1px solid ${o.insetBd}` }, children: /* @__PURE__ */ i(v, { component: "input", type: "color", value: t.highlightHex || "#ffd400", onChange: (
|
|
4653
|
+
/* @__PURE__ */ i(v, { sx: { position: "relative", height: 34, borderRadius: "8px", background: t.highlightHex || "#ffd400", overflow: "hidden", border: `1px solid ${o.insetBd}` }, children: /* @__PURE__ */ i(v, { component: "input", type: "color", value: t.highlightHex || "#ffd400", onChange: (c) => m({ highlightHex: c.target.value }), sx: { position: "absolute", inset: 0, width: "100%", height: "100%", opacity: 0, cursor: "pointer", border: "none", p: 0 } }) })
|
|
4654
4654
|
] })
|
|
4655
4655
|
] }),
|
|
4656
4656
|
e === "text" && /* @__PURE__ */ f(v, { sx: { display: "flex", flexDirection: "column", gap: "11px" }, children: [
|
|
4657
4657
|
/* @__PURE__ */ i(et, { sk: o, children: "Heading Text Colors" }),
|
|
4658
|
-
/* @__PURE__ */ i(v, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "9px" }, children: y.map((
|
|
4659
|
-
/* @__PURE__ */ i(ut, { sk: o, border: !0, value: t[
|
|
4660
|
-
/* @__PURE__ */ i(v, { component: "span", sx: l, children:
|
|
4661
|
-
] },
|
|
4658
|
+
/* @__PURE__ */ i(v, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "9px" }, children: y.map((c) => /* @__PURE__ */ f(v, { sx: { display: "flex", alignItems: "center", gap: "9px" }, children: [
|
|
4659
|
+
/* @__PURE__ */ i(ut, { sk: o, border: !0, value: t[c.key] || "#1c2127", onChange: (x) => n({ [c.key]: x }) }),
|
|
4660
|
+
/* @__PURE__ */ i(v, { component: "span", sx: l, children: c.label })
|
|
4661
|
+
] }, c.key)) }),
|
|
4662
4662
|
/* @__PURE__ */ i(et, { sk: o, children: "Body Text Colors" }),
|
|
4663
4663
|
/* @__PURE__ */ f(v, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "7px" }, children: [
|
|
4664
4664
|
/* @__PURE__ */ f(v, { sx: { display: "flex", alignItems: "center", gap: "9px" }, children: [
|
|
4665
|
-
/* @__PURE__ */ i(ut, { sk: o, border: !0, value: t.textPrimaryHex || "#1c2127", onChange: (
|
|
4665
|
+
/* @__PURE__ */ i(ut, { sk: o, border: !0, value: t.textPrimaryHex || "#1c2127", onChange: (c) => n({ textPrimaryHex: c }) }),
|
|
4666
4666
|
/* @__PURE__ */ i(v, { component: "span", sx: a, title: "Main body text colour.", children: "Primary Text" })
|
|
4667
4667
|
] }),
|
|
4668
4668
|
/* @__PURE__ */ f(v, { sx: { display: "flex", alignItems: "center", gap: "9px" }, children: [
|
|
4669
|
-
/* @__PURE__ */ i(ut, { sk: o, border: !0, value: t.textSecondaryHex || "#5a6573", onChange: (
|
|
4669
|
+
/* @__PURE__ */ i(ut, { sk: o, border: !0, value: t.textSecondaryHex || "#5a6573", onChange: (c) => n({ textSecondaryHex: c }) }),
|
|
4670
4670
|
/* @__PURE__ */ i(v, { component: "span", sx: a, title: "Muted text colour.", children: "Secondary Text" })
|
|
4671
4671
|
] }),
|
|
4672
4672
|
/* @__PURE__ */ f(v, { sx: { display: "flex", alignItems: "center", gap: "9px" }, children: [
|
|
4673
|
-
/* @__PURE__ */ i(ut, { sk: o, border: !0, value: t.dividerHex || "#e3e8ee", onChange: (
|
|
4673
|
+
/* @__PURE__ */ i(ut, { sk: o, border: !0, value: t.dividerHex || "#e3e8ee", onChange: (c) => n({ dividerHex: c }) }),
|
|
4674
4674
|
/* @__PURE__ */ i(v, { component: "span", sx: a, title: "Divider / border colour.", children: "Divider" })
|
|
4675
4675
|
] })
|
|
4676
4676
|
] })
|
|
@@ -4678,29 +4678,29 @@ function Us() {
|
|
|
4678
4678
|
e === "status" && /* @__PURE__ */ f(v, { sx: { display: "flex", flexDirection: "column", gap: "7px" }, children: [
|
|
4679
4679
|
/* @__PURE__ */ f(v, { children: [
|
|
4680
4680
|
/* @__PURE__ */ i(et, { sk: o, tip: "Success, warning, error & info colours — used for alerts, status pills, toasts and validation states.", children: "Status Colors" }),
|
|
4681
|
-
/* @__PURE__ */ i(v, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "7px" }, children: g.map((
|
|
4682
|
-
/* @__PURE__ */ i(ut, { sk: o, w: 22, h: 22, r: 6, value: t[
|
|
4683
|
-
/* @__PURE__ */ i(v, { component: "span", sx: a, children:
|
|
4684
|
-
] },
|
|
4681
|
+
/* @__PURE__ */ i(v, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "7px" }, children: g.map((c) => /* @__PURE__ */ f(v, { sx: { display: "flex", alignItems: "center", gap: "8px", background: o.card, border: `1px solid ${o.insetBd}`, borderRadius: "9px", px: "9px", py: "7px" }, children: [
|
|
4682
|
+
/* @__PURE__ */ i(ut, { sk: o, w: 22, h: 22, r: 6, value: t[c.key], onChange: (x) => n({ [c.key]: x }) }),
|
|
4683
|
+
/* @__PURE__ */ i(v, { component: "span", sx: a, children: c.label })
|
|
4684
|
+
] }, c.key)) })
|
|
4685
4685
|
] }),
|
|
4686
4686
|
/* @__PURE__ */ f(v, { children: [
|
|
4687
4687
|
/* @__PURE__ */ i(et, { sk: o, tip: "Override the auto-generated surface colours. Leave on Auto to follow the surface tint & mode.", children: "Surfaces" }),
|
|
4688
|
-
/* @__PURE__ */ i(v, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "7px" }, children: b.map((
|
|
4689
|
-
const x = !!t[
|
|
4688
|
+
/* @__PURE__ */ i(v, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: "7px" }, children: b.map((c) => {
|
|
4689
|
+
const x = !!t[c.key];
|
|
4690
4690
|
return /* @__PURE__ */ f(v, { sx: { display: "flex", alignItems: "center", gap: "8px", background: o.card, border: `1px solid ${o.insetBd}`, borderRadius: "9px", px: "9px", py: "5px" }, children: [
|
|
4691
|
-
/* @__PURE__ */ i(ut, { sk: o, w: 22, h: 22, r: 6, border: !0, value: t[
|
|
4692
|
-
/* @__PURE__ */ i(v, { component: "span", sx: { ...a, flex: 1 }, children:
|
|
4691
|
+
/* @__PURE__ */ i(ut, { sk: o, w: 22, h: 22, r: 6, border: !0, value: t[c.key] || c.fb, onChange: (T) => n({ [c.key]: T }) }),
|
|
4692
|
+
/* @__PURE__ */ i(v, { component: "span", sx: { ...a, flex: 1 }, children: c.label }),
|
|
4693
4693
|
x && /* @__PURE__ */ i(
|
|
4694
4694
|
v,
|
|
4695
4695
|
{
|
|
4696
4696
|
component: "button",
|
|
4697
4697
|
title: "Reset to Auto",
|
|
4698
|
-
onClick: () => n({ [
|
|
4698
|
+
onClick: () => n({ [c.key]: "" }),
|
|
4699
4699
|
sx: { background: "transparent", border: `1px solid ${o.insetBd}`, borderRadius: "6px", color: o.muted, fontSize: "10px", fontWeight: 700, px: "7px", py: "3px", cursor: "pointer" },
|
|
4700
4700
|
children: "Auto"
|
|
4701
4701
|
}
|
|
4702
4702
|
)
|
|
4703
|
-
] },
|
|
4703
|
+
] }, c.key);
|
|
4704
4704
|
}) })
|
|
4705
4705
|
] })
|
|
4706
4706
|
] })
|
|
@@ -4708,7 +4708,7 @@ function Us() {
|
|
|
4708
4708
|
] });
|
|
4709
4709
|
}
|
|
4710
4710
|
function be(e) {
|
|
4711
|
-
const { label: r, info: t, value: n, effective: o, min: s, max: a, step: l = 1, unit: p = "", autoLabel: u, softMin: h, softMax: m, extra: y, onChange: g } = e, b = Ie(G((q) => q.settings.mode)),
|
|
4711
|
+
const { label: r, info: t, value: n, effective: o, min: s, max: a, step: l = 1, unit: p = "", autoLabel: u, softMin: h, softMax: m, extra: y, onChange: g } = e, b = Ie(G((q) => q.settings.mode)), c = Pe(), x = `${c.bodyFam},sans-serif`, [T, R] = ie(!1), [I, w] = ie(String(o)), [S, $] = ie("");
|
|
4712
4712
|
Ar(() => {
|
|
4713
4713
|
T || w(String(o));
|
|
4714
4714
|
}, [o, T]);
|
|
@@ -4722,7 +4722,7 @@ function be(e) {
|
|
|
4722
4722
|
}, O = n === 0 && u ? u : `${o}${p}`;
|
|
4723
4723
|
return /* @__PURE__ */ f(v, { sx: { mb: 1.5 }, children: [
|
|
4724
4724
|
/* @__PURE__ */ f(v, { sx: { display: "flex", alignItems: "center", justifyContent: "space-between", mb: "8px" }, children: [
|
|
4725
|
-
/* @__PURE__ */ f(me, { sx: { fontSize: `${
|
|
4725
|
+
/* @__PURE__ */ f(me, { sx: { fontSize: `${c.tBodySm}px`, fontWeight: c.bwEmph, fontFamily: x, lineHeight: c.bodyLH, color: b.label2, display: "flex", alignItems: "center", gap: "5px" }, children: [
|
|
4726
4726
|
r,
|
|
4727
4727
|
t && /* @__PURE__ */ i(Ue, { title: t, arrow: !0, children: /* @__PURE__ */ i(v, { component: "span", sx: { width: 13, height: 13, borderRadius: "50%", border: `1.1px solid ${b.chevron}`, color: b.chevron, fontSize: 8, fontWeight: 800, fontStyle: "italic", fontFamily: "Georgia, serif", display: "inline-grid", placeItems: "center", cursor: "help" }, children: "i" }) })
|
|
4728
4728
|
] }),
|
|
@@ -4739,7 +4739,7 @@ function be(e) {
|
|
|
4739
4739
|
onKeyDown: (q) => {
|
|
4740
4740
|
q.key === "Enter" && (W(I), R(!1)), q.key === "Escape" && R(!1);
|
|
4741
4741
|
},
|
|
4742
|
-
sx: { width: 56, fontSize: `${
|
|
4742
|
+
sx: { width: 56, fontSize: `${c.tBodySm}px`, fontWeight: 700, fontFamily: x, border: "1.5px solid", borderColor: "primary.main", borderRadius: "6px", px: "6px", py: "3px", "& input": { p: 0, textAlign: "center" } }
|
|
4743
4743
|
}
|
|
4744
4744
|
) : (
|
|
4745
4745
|
// Value pill — the HTML dc-inline summary: value + pencil edit icon (click to edit inline).
|
|
@@ -4750,7 +4750,7 @@ function be(e) {
|
|
|
4750
4750
|
onClick: () => {
|
|
4751
4751
|
w(String(o)), R(!0);
|
|
4752
4752
|
},
|
|
4753
|
-
sx: { display: "inline-flex", alignItems: "center", gap: "5px", fontFamily: x, fontSize: `${
|
|
4753
|
+
sx: { display: "inline-flex", alignItems: "center", gap: "5px", fontFamily: x, fontSize: `${c.tBodySm}px`, fontWeight: 800, color: b.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)" } },
|
|
4754
4754
|
children: [
|
|
4755
4755
|
O,
|
|
4756
4756
|
/* @__PURE__ */ f("svg", { width: "11", height: "11", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", style: { display: "block", flexShrink: 0 }, children: [
|
|
@@ -4923,7 +4923,7 @@ function Ks() {
|
|
|
4923
4923
|
] });
|
|
4924
4924
|
}
|
|
4925
4925
|
function ke({ options: e, value: r, columns: t = 3, onChange: n }) {
|
|
4926
|
-
const o = G((T) => T.settings.mode), s = G((T) => T.settings.primaryHex) || "#1565c0", a = G((T) => T.settings.highlightHex) || "#ffd400", l = G((T) => T.settings.bodyWeight) || 400, p = o === "dark", u = Ce(s), h = Math.min(900, l + 200), m = fe(a, p ? 0.3 : 0.18), y = p ? u[400] : s, g = p ? u[200] : u[700], b = p ? "#262b34" : "#ffffff",
|
|
4926
|
+
const o = G((T) => T.settings.mode), s = G((T) => T.settings.primaryHex) || "#1565c0", a = G((T) => T.settings.highlightHex) || "#ffd400", l = G((T) => T.settings.bodyWeight) || 400, p = o === "dark", u = Ce(s), h = Math.min(900, l + 200), m = fe(a, p ? 0.3 : 0.18), y = p ? u[400] : s, g = p ? u[200] : u[700], b = p ? "#262b34" : "#ffffff", c = p ? "#363d48" : "#e3e8ee", x = p ? "#aeb6c0" : "#5a6573";
|
|
4927
4927
|
return /* @__PURE__ */ i(v, { sx: { display: "grid", gridTemplateColumns: `repeat(${t}, 1fr)`, gap: "6px" }, children: e.map((T) => {
|
|
4928
4928
|
const R = T.key === r, I = /* @__PURE__ */ i(
|
|
4929
4929
|
v,
|
|
@@ -4938,7 +4938,7 @@ function ke({ options: e, value: r, columns: t = 3, onChange: n }) {
|
|
|
4938
4938
|
userSelect: "none",
|
|
4939
4939
|
fontSize: "11px",
|
|
4940
4940
|
fontWeight: R ? h : l,
|
|
4941
|
-
border: `1px solid ${R ? y :
|
|
4941
|
+
border: `1px solid ${R ? y : c}`,
|
|
4942
4942
|
bgcolor: R ? m : b,
|
|
4943
4943
|
color: R ? g : x,
|
|
4944
4944
|
transition: "color .14s ease, background .14s ease, border-color .14s ease",
|
|
@@ -5191,18 +5191,18 @@ function il({ src: e, aspect: r, onCancel: t, onConfirm: n }) {
|
|
|
5191
5191
|
Ar(() => {
|
|
5192
5192
|
const b = (x) => {
|
|
5193
5193
|
m.current && l({ x: m.current.ox + (x.clientX - m.current.sx), y: m.current.oy + (x.clientY - m.current.sy) });
|
|
5194
|
-
},
|
|
5194
|
+
}, c = () => {
|
|
5195
5195
|
m.current = null;
|
|
5196
5196
|
};
|
|
5197
|
-
return document.addEventListener("pointermove", b), document.addEventListener("pointerup",
|
|
5198
|
-
document.removeEventListener("pointermove", b), document.removeEventListener("pointerup",
|
|
5197
|
+
return document.addEventListener("pointermove", b), document.addEventListener("pointerup", c), () => {
|
|
5198
|
+
document.removeEventListener("pointermove", b), document.removeEventListener("pointerup", c);
|
|
5199
5199
|
};
|
|
5200
5200
|
}, []);
|
|
5201
5201
|
const y = (b) => {
|
|
5202
5202
|
b.preventDefault(), m.current = { sx: b.clientX, sy: b.clientY, ox: a.x, oy: a.y };
|
|
5203
5203
|
}, g = () => {
|
|
5204
|
-
const b = p.current,
|
|
5205
|
-
if (!b || !
|
|
5204
|
+
const b = p.current, c = u.current, x = h.current;
|
|
5205
|
+
if (!b || !c) {
|
|
5206
5206
|
n(e);
|
|
5207
5207
|
return;
|
|
5208
5208
|
}
|
|
@@ -5213,9 +5213,9 @@ function il({ src: e, aspect: r, onCancel: t, onConfirm: n }) {
|
|
|
5213
5213
|
n(e);
|
|
5214
5214
|
return;
|
|
5215
5215
|
}
|
|
5216
|
-
const W =
|
|
5216
|
+
const W = c.getBoundingClientRect(), O = (W.left - T.left) * w, q = (W.top - T.top) * w, L = W.width * w, V = W.height * w;
|
|
5217
5217
|
try {
|
|
5218
|
-
$.drawImage(
|
|
5218
|
+
$.drawImage(c, O, q, L, V), n(S.toDataURL("image/png"));
|
|
5219
5219
|
} catch {
|
|
5220
5220
|
n(e);
|
|
5221
5221
|
}
|
|
@@ -5230,7 +5230,7 @@ function il({ src: e, aspect: r, onCancel: t, onConfirm: n }) {
|
|
|
5230
5230
|
] }),
|
|
5231
5231
|
/* @__PURE__ */ f(v, { sx: { display: "flex", alignItems: "center", gap: 1, my: 1.5 }, children: [
|
|
5232
5232
|
/* @__PURE__ */ i(me, { sx: { fontSize: 12, fontWeight: 700, color: "text.secondary" }, children: "Zoom" }),
|
|
5233
|
-
/* @__PURE__ */ i(Jo, { size: "small", min: 0.3, max: 4, step: 0.02, value: o, onChange: (b,
|
|
5233
|
+
/* @__PURE__ */ i(Jo, { size: "small", min: 0.3, max: 4, step: 0.02, value: o, onChange: (b, c) => s(c) })
|
|
5234
5234
|
] }),
|
|
5235
5235
|
/* @__PURE__ */ f(v, { sx: { display: "flex", gap: 1 }, children: [
|
|
5236
5236
|
/* @__PURE__ */ i(v, { component: "button", onClick: t, sx: { flex: 1, p: 1.25, borderRadius: 2.5, border: "1px solid", borderColor: "divider", bgcolor: "action.hover", color: "text.secondary", fontSize: 12.5, fontWeight: 700, cursor: "pointer" }, children: "Cancel" }),
|
|
@@ -5302,12 +5302,12 @@ const sl = [
|
|
|
5302
5302
|
studioOpen: !0,
|
|
5303
5303
|
setStudioOpen: (r) => e({ studioOpen: r })
|
|
5304
5304
|
}));
|
|
5305
|
-
function
|
|
5305
|
+
function dl({ onClose: e }) {
|
|
5306
5306
|
var D, E;
|
|
5307
5307
|
const r = tt((C) => C.openSection), t = tt((C) => C.setOpenSection), n = tt((C) => C.setPreviewScreen), o = tt((C) => C.previewScreen), s = tt((C) => C.previewMenuOpen), a = tt((C) => C.setPreviewMenuOpen), l = G((C) => C.settings), p = G((C) => C.savedThemes), u = G((C) => C.set), h = G((C) => C.reset), m = Ie(l.mode), y = Be("theme"), g = (C, _) => {
|
|
5308
5308
|
const Y = r !== C;
|
|
5309
5309
|
t(Y ? C : ""), a(!1), Y && y.current !== C && (n(_), y.current = C);
|
|
5310
|
-
}, b = ((D = $r.find((C) => C.id === l.presetId)) == null ? void 0 : D.name) || ((E = p.find((C) => C.id === l.presetId)) == null ? void 0 : E.name) || "Custom Theme",
|
|
5310
|
+
}, b = ((D = $r.find((C) => C.id === l.presetId)) == null ? void 0 : D.name) || ((E = p.find((C) => C.id === l.presetId)) == null ? void 0 : E.name) || "Custom Theme", c = { fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }, x = ({ children: C }) => /* @__PURE__ */ i("svg", { width: "18", height: "18", viewBox: "0 0 24 24", ...c, children: C }), T = /* @__PURE__ */ f(x, { children: [
|
|
5311
5311
|
/* @__PURE__ */ i("circle", { cx: "13.5", cy: "6.5", r: "2.5" }),
|
|
5312
5312
|
/* @__PURE__ */ i("circle", { cx: "17.5", cy: "10.5", r: "2.5" }),
|
|
5313
5313
|
/* @__PURE__ */ i("circle", { cx: "8.5", cy: "7.5", r: "2.5" }),
|
|
@@ -5336,13 +5336,13 @@ function cl({ onClose: e }) {
|
|
|
5336
5336
|
/* @__PURE__ */ i("path", { d: "M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4" }),
|
|
5337
5337
|
/* @__PURE__ */ i("path", { d: "M10 17l5-5-5-5" }),
|
|
5338
5338
|
/* @__PURE__ */ i("path", { d: "M15 12H3" })
|
|
5339
|
-
] }), q = l.mode === "dark", L = (C) => C.charAt(0).toUpperCase() + C.slice(1), V = { sm: "Small", df: "Default", lg: "Large" },
|
|
5339
|
+
] }), q = l.mode === "dark", L = (C) => C.charAt(0).toUpperCase() + C.slice(1), V = { sm: "Small", df: "Default", lg: "Large" }, d = { sharp: "Sharp", rounded: "Rounded", round: "Round" }, A = { compact: "Compact", default: "Default", comfortable: "Comfortable" }, P = { flat: "Flat", outlined: "Outlined", soft: "Soft", raised: "Raised", elevated: "Elevated", floating: "Floating" }, z = { split: "Split Brand", centered: "Centered Card" }, N = { "top-center": "Top Center", "top-right": "Top Right", "bottom-left": "Bottom Left", "bottom-right": "Bottom Right" }, K = {
|
|
5340
5340
|
theme: `${b} · ${q ? "Dark" : "Light"}`,
|
|
5341
5341
|
color: "Secondary & status colours",
|
|
5342
5342
|
type: `${l.fontFamily} · ${V[l.textSize] ?? "Default"}`,
|
|
5343
5343
|
cards: "Card style, header, nesting & surface tint",
|
|
5344
5344
|
tables: "Table row density, dividers, striping & header style — previewed on the Orders screen",
|
|
5345
|
-
shape: `${
|
|
5345
|
+
shape: `${d[l.radiusPreset] ?? "Custom"} · ${A[l.density] ?? "Default"} · ${P[l.cardStyle] ?? ""}`,
|
|
5346
5346
|
notif: `${N[l.notifPosition] ?? ""} · ${L(l.notifStyle)}`,
|
|
5347
5347
|
login: `${z[l.loginLayout] ?? ""}${l.loginImage ? " · image" : ""}`
|
|
5348
5348
|
}, H = [
|
|
@@ -5414,7 +5414,7 @@ function cl({ onClose: e }) {
|
|
|
5414
5414
|
))
|
|
5415
5415
|
] });
|
|
5416
5416
|
}
|
|
5417
|
-
const
|
|
5417
|
+
const cl = bt(/* @__PURE__ */ i("path", {
|
|
5418
5418
|
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"
|
|
5419
5419
|
}), "DesktopWindowsOutlined");
|
|
5420
5420
|
function _r(e, r, t) {
|
|
@@ -5428,8 +5428,8 @@ function _r(e, r, t) {
|
|
|
5428
5428
|
const y = parseFloat(getComputedStyle(a).rowGap) || 0;
|
|
5429
5429
|
let g = 0;
|
|
5430
5430
|
for (const x of Array.from(a.children)) g += x.offsetHeight;
|
|
5431
|
-
const b = g / m,
|
|
5432
|
-
|
|
5431
|
+
const b = g / m, c = a.clientHeight;
|
|
5432
|
+
c <= 0 || b <= 0 || s(Math.max(r, Math.min(t, Math.floor((c + y) / (b + y)))));
|
|
5433
5433
|
};
|
|
5434
5434
|
l();
|
|
5435
5435
|
const p = requestAnimationFrame(l), u = setTimeout(l, 300), h = new ResizeObserver(l);
|
|
@@ -5444,8 +5444,8 @@ function ro(e, r, t) {
|
|
|
5444
5444
|
const l = o.current;
|
|
5445
5445
|
if (!l) return;
|
|
5446
5446
|
const p = () => {
|
|
5447
|
-
var
|
|
5448
|
-
const y = Array.from(l.children).filter((x) => getComputedStyle(x).position !== "absolute"), g = y.length ? y[0].offsetHeight : ((
|
|
5447
|
+
var c;
|
|
5448
|
+
const y = Array.from(l.children).filter((x) => getComputedStyle(x).position !== "absolute"), g = y.length ? y[0].offsetHeight : ((c = n.current) == null ? void 0 : c.offsetHeight) || 36, b = l.clientHeight;
|
|
5449
5449
|
b <= 0 || g <= 0 || a(Math.max(r, Math.min(t, Math.floor(b / g))));
|
|
5450
5450
|
};
|
|
5451
5451
|
p();
|
|
@@ -5457,7 +5457,7 @@ function ro(e, r, t) {
|
|
|
5457
5457
|
}
|
|
5458
5458
|
const pl = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"], fl = [44, 60, 50, 74, 88, 96], ul = [24, 32, 30, 42, 52, 60];
|
|
5459
5459
|
function hl() {
|
|
5460
|
-
const e = Pe(), r = G((M) => M.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: p, tH1: u, tH2: h, tTitle: m, tH4: y, wH1: g, headFam: b, headLH:
|
|
5460
|
+
const e = Pe(), r = G((M) => M.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: p, tH1: u, tH2: h, tTitle: m, tH4: y, wH1: g, headFam: b, headLH: c, accentBg: x, btnText: T, tBodySm: R, bwEmph: I, btnCase: w, bodyWeightEff: S, bodyLH: $, tCaption: W, pMain: O, sMain: q } = e, L = b + ",sans-serif", V = r.fontFamily + ",sans-serif", d = e.hc1 || t.textPrimary, A = e.hc2 || t.textPrimary, P = e.hc3 || t.textPrimary, z = [
|
|
5461
5461
|
{ label: "Revenue", val: "$2.41M", chg: "+12.5%", up: !0 },
|
|
5462
5462
|
{ label: "Open Orders", val: "1,284", chg: "+3.2%", up: !0 },
|
|
5463
5463
|
{ label: "Inventory", val: "8,540", chg: "-1.8%", up: !1 },
|
|
@@ -5479,11 +5479,11 @@ function hl() {
|
|
|
5479
5479
|
{ title: "New user invited — M. Fernandez", time: "19h ago", ic: "+" },
|
|
5480
5480
|
{ title: "Quarterly report scheduled", time: "21h ago", ic: "▤" },
|
|
5481
5481
|
{ title: "Order ORD-1039 delivered to Oscorp", time: "23h ago", ic: "✓" }
|
|
5482
|
-
].map((M) => ({ ...M, ...N(M.ic) })), [H, D] = _r(5, 4, K.length), E = K.slice(0, D), C = e.cardBorder === "none" ? "none" : e.cardBorder, _ = { background: t.paper, border: C, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, Y = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, U = { fontSize: m, lineHeight:
|
|
5482
|
+
].map((M) => ({ ...M, ...N(M.ic) })), [H, D] = _r(5, 4, K.length), E = K.slice(0, D), C = e.cardBorder === "none" ? "none" : e.cardBorder, _ = { background: t.paper, border: C, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, Y = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, U = { fontSize: m, lineHeight: c, fontWeight: g, color: P, fontFamily: L };
|
|
5483
5483
|
return /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: C, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: V, fontWeight: S, color: t.textPrimary }, children: [
|
|
5484
5484
|
/* @__PURE__ */ f("div", { style: { padding: s, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between", gap: 14 }, children: [
|
|
5485
5485
|
/* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
5486
|
-
/* @__PURE__ */ i("div", { style: { fontSize: u, lineHeight: 1.15, fontWeight: g, color:
|
|
5486
|
+
/* @__PURE__ */ i("div", { style: { fontSize: u, lineHeight: 1.15, fontWeight: g, color: d, letterSpacing: "-.3px", fontFamily: L }, children: "Dashboard" }),
|
|
5487
5487
|
/* @__PURE__ */ i("span", { title: "Good morning, Admin · Jun 21, 2026", 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" })
|
|
5488
5488
|
] }),
|
|
5489
5489
|
/* @__PURE__ */ i("button", { style: { padding: "10px 20px", borderRadius: o, border: "none", background: x, color: T, fontSize: R, fontWeight: I, textTransform: w, letterSpacing: ".4px", boxShadow: e.btnShadow, whiteSpace: "nowrap", cursor: "pointer" }, children: "+ New" })
|
|
@@ -5554,7 +5554,7 @@ const gl = [
|
|
|
5554
5554
|
{ id: "ORD-1027", cust: "Bluth Company", status: "Processing", amt: "$6,410", date: "Jun 03" }
|
|
5555
5555
|
], wr = "100px 1fr 120px 100px 80px 70px";
|
|
5556
5556
|
function ml() {
|
|
5557
|
-
const e = Pe(), r = G((D) => D.settings), { t, rad: n, radSm: o, pad: s, padSm: a, screenPad: l, rowPy: p, tH1: u, wH1: h, headFam: m, headLH: y, accentBg: g, btnText: b, btnShadow:
|
|
5557
|
+
const e = Pe(), r = G((D) => D.settings), { t, rad: n, radSm: o, pad: s, padSm: a, screenPad: l, rowPy: p, tH1: u, wH1: h, headFam: m, headLH: y, accentBg: g, btnText: b, btnShadow: c, tBody: x, tBodySm: T, tCaption: R, tOverline: I, bwEmph: w, btnCase: S, bodyWeightEff: $, pMain: W, table: O } = e, q = m + ",sans-serif", L = r.fontFamily + ",sans-serif", V = e.hc1 || t.textPrimary, [d, A, P] = ro(12, 3, 16), z = gl.slice(0, P).map((D, E) => ({
|
|
5558
5558
|
...D,
|
|
5559
5559
|
...O.statusMap[D.status] || { sb: t.divider, sc: t.textSecondary },
|
|
5560
5560
|
rowBg: r.tableStripe && E % 2 === 1 ? O.stripeBg : "transparent"
|
|
@@ -5577,7 +5577,7 @@ function ml() {
|
|
|
5577
5577
|
/* @__PURE__ */ i("div", { style: { fontSize: u, lineHeight: y, fontWeight: h, color: V, letterSpacing: "-.3px", fontFamily: q }, children: "Orders" }),
|
|
5578
5578
|
/* @__PURE__ */ i("span", { title: "1,284 orders · June 2026", style: { width: 16, height: 16, borderRadius: "50%", border: "1.2px solid " + t.textSecondary, color: t.textSecondary, fontSize: 9.5, fontWeight: w, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
|
|
5579
5579
|
] }),
|
|
5580
|
-
/* @__PURE__ */ i("button", { style: { padding: "10px 20px", borderRadius: o, border: "none", background: g, color: b, fontSize: T, fontWeight: w, textTransform: S, letterSpacing: ".4px", boxShadow:
|
|
5580
|
+
/* @__PURE__ */ i("button", { style: { padding: "10px 20px", borderRadius: o, border: "none", background: g, color: b, fontSize: T, fontWeight: w, textTransform: S, letterSpacing: ".4px", boxShadow: c, whiteSpace: "nowrap", cursor: "pointer" }, children: "+ New Order" })
|
|
5581
5581
|
] }),
|
|
5582
5582
|
/* @__PURE__ */ i("div", { style: { padding: l, background: t.bgDefault, display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: N, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", flex: 1, minHeight: 0 }, children: [
|
|
5583
5583
|
/* @__PURE__ */ f("div", { style: { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", gap: 9, alignItems: "center", flexWrap: "wrap" }, children: [
|
|
@@ -5587,7 +5587,7 @@ function ml() {
|
|
|
5587
5587
|
] }),
|
|
5588
5588
|
O.filters.map((D) => /* @__PURE__ */ i("button", { style: { padding: "7px 14px", borderRadius: 999, border: "1px solid " + D.brd, background: D.bg, color: D.c, fontSize: R, fontWeight: w, whiteSpace: "nowrap", cursor: "pointer" }, children: D.label }, D.label))
|
|
5589
5589
|
] }),
|
|
5590
|
-
/* @__PURE__ */ f("div", { ref:
|
|
5590
|
+
/* @__PURE__ */ f("div", { ref: d, style: { display: "grid", gridTemplateColumns: wr, padding: `0 ${s}px`, borderBottom: O.rowBorder, background: O.headBg }, children: [
|
|
5591
5591
|
["Order ID", "Customer", "Status", "Amount", "Date"].map((D) => /* @__PURE__ */ i("div", { style: K(), children: D }, D)),
|
|
5592
5592
|
/* @__PURE__ */ i("div", { style: { alignSelf: "stretch", padding: `${O.rowPy} 0` } })
|
|
5593
5593
|
] }),
|
|
@@ -5638,7 +5638,7 @@ function yl() {
|
|
|
5638
5638
|
tH4: y,
|
|
5639
5639
|
tH5: g,
|
|
5640
5640
|
tH6: b,
|
|
5641
|
-
tBody:
|
|
5641
|
+
tBody: c,
|
|
5642
5642
|
tBodySm: x,
|
|
5643
5643
|
tCaption: T,
|
|
5644
5644
|
wH1: R,
|
|
@@ -5651,7 +5651,7 @@ function yl() {
|
|
|
5651
5651
|
btnCase: q,
|
|
5652
5652
|
bodyWeightEff: L,
|
|
5653
5653
|
bodyLH: V,
|
|
5654
|
-
pMain:
|
|
5654
|
+
pMain: d,
|
|
5655
5655
|
errSoft: A,
|
|
5656
5656
|
errTxt: P,
|
|
5657
5657
|
warnSoft: z,
|
|
@@ -5660,10 +5660,10 @@ function yl() {
|
|
|
5660
5660
|
infoTxt: H,
|
|
5661
5661
|
sucSoft: D,
|
|
5662
5662
|
sucTxt: E
|
|
5663
|
-
} = e, C = I + ",sans-serif", _ = r.fontFamily + ",sans-serif", Y = e.t.highlight, U = e.t.highlightSoft, M = e.t.highlightBd, J = t.pContainer, j = t.onPContainer, B = t.pContrast, X = e.hc1 || t.textPrimary, Q = e.hc2 || t.textPrimary,
|
|
5663
|
+
} = e, C = I + ",sans-serif", _ = r.fontFamily + ",sans-serif", Y = e.t.highlight, U = e.t.highlightSoft, M = e.t.highlightBd, J = t.pContainer, j = t.onPContainer, B = t.pContrast, X = e.hc1 || t.textPrimary, Q = e.hc2 || t.textPrimary, de = e.hc3 || t.textPrimary, F = e.hc4 || t.textPrimary, ve = e.hc5 || t.textPrimary, _e = e.hc6 || t.textPrimary, qe = e.cardBorder === "none" ? "none" : e.cardBorder, $e = { display: "flex", flexDirection: "column", background: t.paper, border: qe, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", height: "100%" }, Ke = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, Xe = { fontSize: m, lineHeight: w, fontWeight: R, color: de, fontFamily: C }, ir = [
|
|
5664
5664
|
{ label: "Dashboard Overview", size: u, w: R, color: X, lh: 1.1, ls: "-.5px", name: "H1", border: !0 },
|
|
5665
5665
|
{ label: "Revenue Report", size: h, w: R, color: Q, lh: 1.1, ls: "-.4px", name: "H2", border: !0 },
|
|
5666
|
-
{ label: "Performance Overview", size: m, w: R, color:
|
|
5666
|
+
{ label: "Performance Overview", size: m, w: R, color: de, lh: 1.15, name: "H3", border: !0 },
|
|
5667
5667
|
{ label: "Active Users", size: y, w: R, color: F, lh: 1.2, name: "H4", border: !0 },
|
|
5668
5668
|
{ label: "Last updated 2m ago", size: g, w: R, color: ve, lh: 1.25, name: "H5", border: !0 },
|
|
5669
5669
|
{ label: "Status · Live", size: b, w: R, color: _e, lh: 1.3, name: "H6", border: !0 }
|
|
@@ -5671,9 +5671,9 @@ function yl() {
|
|
|
5671
5671
|
/* @__PURE__ */ i("div", { style: { width: 16, height: 16, borderRadius: "50%", border: "2px solid " + (Z ? Y : t.outline), display: "grid", placeItems: "center", flexShrink: 0 }, children: Z && /* @__PURE__ */ i("div", { style: { width: 8, height: 8, borderRadius: "50%", background: Y } }) }),
|
|
5672
5672
|
/* @__PURE__ */ i("span", { style: { flex: 1, fontSize: x, fontFamily: _, fontWeight: Z ? O : L, color: t.textPrimary }, children: Z ? "Selected item" : "Unselected item" }),
|
|
5673
5673
|
Z && /* @__PURE__ */ i("span", { style: { fontSize: T, fontFamily: _, fontWeight: O, color: t.textSecondary }, children: "Active" })
|
|
5674
|
-
] }), Ht = (Z, Re, st) => /* @__PURE__ */ f("div", { style: { position: "relative", border: Z ? "2px solid " +
|
|
5675
|
-
/* @__PURE__ */ i("span", { style: { position: "absolute", top: -8, left: 10, background: t.paper, padding: "0 5px", fontSize: T, color: Z ?
|
|
5676
|
-
/* @__PURE__ */ i("span", { style: { fontSize:
|
|
5674
|
+
] }), Ht = (Z, Re, st) => /* @__PURE__ */ f("div", { style: { position: "relative", border: Z ? "2px solid " + d : "1.5px solid " + t.outline, borderRadius: o, padding: "12px 13px" }, children: [
|
|
5675
|
+
/* @__PURE__ */ i("span", { style: { position: "absolute", top: -8, left: 10, background: t.paper, padding: "0 5px", fontSize: T, color: Z ? d : t.textSecondary, fontWeight: Z ? O : void 0 }, children: Re }),
|
|
5676
|
+
/* @__PURE__ */ i("span", { style: { fontSize: c, color: Z ? t.textPrimary : t.textSecondary }, children: st })
|
|
5677
5677
|
] }), De = (Z, Re, st) => /* @__PURE__ */ i("span", { style: { padding: "5px 13px", borderRadius: 999, background: Z, color: Re, fontSize: T, fontWeight: O }, children: st }), Ne = (Z) => ({ padding: "9px 20px", borderRadius: o, fontSize: x, fontWeight: O, textTransform: q, letterSpacing: ".4px", cursor: "pointer", ...Z });
|
|
5678
5678
|
return /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: qe, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: _, fontWeight: L, color: t.textPrimary }, children: [
|
|
5679
5679
|
/* @__PURE__ */ i("div", { style: { padding: s, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
@@ -5694,10 +5694,10 @@ function yl() {
|
|
|
5694
5694
|
] })
|
|
5695
5695
|
] }, Z.name)),
|
|
5696
5696
|
/* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "baseline", justifyContent: "space-between", gap: 12 }, children: [
|
|
5697
|
-
/* @__PURE__ */ i("span", { style: { fontSize:
|
|
5698
|
-
/* @__PURE__ */ f("span", { style: { fontSize:
|
|
5697
|
+
/* @__PURE__ */ i("span", { style: { fontSize: c, lineHeight: V, color: t.textPrimary, fontFamily: _, fontWeight: L }, children: "Body text — the quick brown fox jumps over the lazy dog." }),
|
|
5698
|
+
/* @__PURE__ */ f("span", { style: { fontSize: c, color: t.textSecondary, fontWeight: L, whiteSpace: "nowrap", flexShrink: 0, fontFamily: _ }, children: [
|
|
5699
5699
|
"Body · ",
|
|
5700
|
-
|
|
5700
|
+
c
|
|
5701
5701
|
] })
|
|
5702
5702
|
] }),
|
|
5703
5703
|
/* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "baseline", justifyContent: "space-between", gap: 12 }, children: [
|
|
@@ -5713,7 +5713,7 @@ function yl() {
|
|
|
5713
5713
|
/* @__PURE__ */ i("div", { style: Ke, children: /* @__PURE__ */ i("span", { style: Xe, children: "Selection States" }) }),
|
|
5714
5714
|
/* @__PURE__ */ f("div", { style: { padding: s, display: "flex", flexDirection: "column", gap: 14 }, children: [
|
|
5715
5715
|
/* @__PURE__ */ f("div", { style: { display: "flex", gap: 2, borderBottom: "1.5px solid " + t.divider }, children: [
|
|
5716
|
-
/* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: x, fontWeight: O, color: t.textPrimary, background: U, borderBottom: "2.5px solid " +
|
|
5716
|
+
/* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: x, fontWeight: O, color: t.textPrimary, background: U, borderBottom: "2.5px solid " + d, marginBottom: -1.5, borderRadius: "6px 6px 0 0" }, children: "Overview" }),
|
|
5717
5717
|
/* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: x, fontWeight: O, color: t.textSecondary }, children: "Activity" }),
|
|
5718
5718
|
/* @__PURE__ */ i("div", { style: { flex: 1, textAlign: "center", padding: "8px 4px", fontSize: x, fontWeight: O, color: t.textSecondary }, children: "Settings" })
|
|
5719
5719
|
] }),
|
|
@@ -5738,15 +5738,15 @@ function yl() {
|
|
|
5738
5738
|
] }),
|
|
5739
5739
|
/* @__PURE__ */ f("div", { style: { display: "flex", gap: 22, alignItems: "center", flexWrap: "wrap", paddingTop: a, borderTop: "1px solid " + t.divider }, children: [
|
|
5740
5740
|
/* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
5741
|
-
/* @__PURE__ */ i("div", { style: { width: 18, height: 18, borderRadius: 4, background:
|
|
5741
|
+
/* @__PURE__ */ i("div", { style: { width: 18, height: 18, borderRadius: 4, background: d, display: "grid", placeItems: "center", color: B, fontSize: 11, fontWeight: O }, children: "✓" }),
|
|
5742
5742
|
/* @__PURE__ */ i("span", { style: { fontSize: x, color: t.textPrimary }, children: "Checkbox" })
|
|
5743
5743
|
] }),
|
|
5744
5744
|
/* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
5745
|
-
/* @__PURE__ */ i("div", { style: { width: 18, height: 18, borderRadius: "50%", border: "2px solid " +
|
|
5745
|
+
/* @__PURE__ */ i("div", { style: { width: 18, height: 18, borderRadius: "50%", border: "2px solid " + d, display: "grid", placeItems: "center" }, children: /* @__PURE__ */ i("div", { style: { width: 9, height: 9, borderRadius: "50%", background: d } }) }),
|
|
5746
5746
|
/* @__PURE__ */ i("span", { style: { fontSize: x, color: t.textPrimary }, children: "Radio" })
|
|
5747
5747
|
] }),
|
|
5748
5748
|
/* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
5749
|
-
/* @__PURE__ */ i("div", { style: { width: 38, height: 22, borderRadius: 999, background:
|
|
5749
|
+
/* @__PURE__ */ i("div", { style: { width: 38, height: 22, borderRadius: 999, background: d, position: "relative" }, children: /* @__PURE__ */ i("div", { style: { position: "absolute", top: 3, right: 3, width: 16, height: 16, borderRadius: "50%", background: "#fff" } }) }),
|
|
5750
5750
|
/* @__PURE__ */ i("span", { style: { fontSize: x, color: t.textPrimary }, children: "Switch" })
|
|
5751
5751
|
] })
|
|
5752
5752
|
] })
|
|
@@ -5757,8 +5757,8 @@ function yl() {
|
|
|
5757
5757
|
/* @__PURE__ */ i("div", { style: Ke, children: /* @__PURE__ */ i("span", { style: Xe, children: "Buttons" }) }),
|
|
5758
5758
|
/* @__PURE__ */ f("div", { style: { padding: s, display: "flex", gap: 10, flexWrap: "wrap", alignItems: "center" }, children: [
|
|
5759
5759
|
/* @__PURE__ */ i("button", { style: Ne({ border: "none", background: S, color: $, boxShadow: W }), children: "Contained" }),
|
|
5760
|
-
/* @__PURE__ */ i("button", { style: Ne({ border: "1.5px solid " +
|
|
5761
|
-
/* @__PURE__ */ i("button", { style: Ne({ border: "none", background: "transparent", color:
|
|
5760
|
+
/* @__PURE__ */ i("button", { style: Ne({ border: "1.5px solid " + d, background: "transparent", color: d }), children: "Outlined" }),
|
|
5761
|
+
/* @__PURE__ */ i("button", { style: Ne({ border: "none", background: "transparent", color: d }), children: "Text" }),
|
|
5762
5762
|
/* @__PURE__ */ i("button", { style: Ne({ border: "none", background: J, color: j }), children: "Tonal" }),
|
|
5763
5763
|
/* @__PURE__ */ i("button", { style: Ne({ border: "none", background: S, color: $, boxShadow: W, borderRadius: 999 }), children: "Rounded" }),
|
|
5764
5764
|
/* @__PURE__ */ i("button", { style: Ne({ border: "none", background: A, color: P }), children: "Error" })
|
|
@@ -5776,9 +5776,9 @@ function yl() {
|
|
|
5776
5776
|
] }),
|
|
5777
5777
|
/* @__PURE__ */ f("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 7 }, children: [
|
|
5778
5778
|
/* @__PURE__ */ i("span", { style: { fontSize: x, color: t.textPrimary, fontWeight: O }, children: "Revenue goal" }),
|
|
5779
|
-
/* @__PURE__ */ i("span", { style: { fontSize: x, color:
|
|
5779
|
+
/* @__PURE__ */ i("span", { style: { fontSize: x, color: d, fontWeight: O }, children: "74%" })
|
|
5780
5780
|
] }),
|
|
5781
|
-
/* @__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:
|
|
5781
|
+
/* @__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 } }) })
|
|
5782
5782
|
] })
|
|
5783
5783
|
] })
|
|
5784
5784
|
] })
|
|
@@ -5816,7 +5816,7 @@ const bl = [
|
|
|
5816
5816
|
{ cam: "CAM 03", label: "Package scanned — Loading Bay", time: "8h ago", sev: "info" }
|
|
5817
5817
|
];
|
|
5818
5818
|
function Sl() {
|
|
5819
|
-
const e = Pe(), r = G((B) => B.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: p, tH1: u, tH2: h, tTitle: m, wH1: y, headFam: g, headLH: b, accentBg:
|
|
5819
|
+
const e = Pe(), r = G((B) => B.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: p, tH1: u, tH2: h, tTitle: m, wH1: y, headFam: g, headLH: b, accentBg: c, btnText: x, btnShadow: T, tBodySm: R, tCaption: I, tOverline: w, bwEmph: S, btnCase: $, bodyWeightEff: W, errSoft: O, errTxt: q, mediaBg: L, overlaySurface: V, overlayBorder: d, onOverlay: A, sevMap: P } = e, z = g + ",sans-serif", N = r.fontFamily + ",sans-serif", K = e.hc1 || t.textPrimary, H = e.hc2 || t.textPrimary, D = e.hc3 || t.textPrimary, E = e.cardBorder === "none" ? "none" : e.cardBorder, C = xl.map((B) => ({ ...B, dotC: B.online ? r.successHex : t.textDisabled })), [_, Y] = _r(3, 3, 16), U = vl.slice(0, Y).map((B) => ({ ...B, ...P[B.sev] })), M = { background: t.paper, border: E, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, J = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, j = { fontSize: m, lineHeight: b, fontWeight: y, color: D, fontFamily: z };
|
|
5820
5820
|
return /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: E, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: N, fontWeight: W, color: t.textPrimary }, children: [
|
|
5821
5821
|
/* @__PURE__ */ f("div", { style: { padding: s, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "flex-start", justifyContent: "space-between", gap: 14 }, children: [
|
|
5822
5822
|
/* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
@@ -5828,7 +5828,7 @@ function Sl() {
|
|
|
5828
5828
|
/* @__PURE__ */ i("span", { style: { width: 7, height: 7, borderRadius: "50%", background: r.errorHex } }),
|
|
5829
5829
|
"LIVE"
|
|
5830
5830
|
] }),
|
|
5831
|
-
/* @__PURE__ */ i("button", { style: { padding: "10px 18px", borderRadius: o, border: "none", background:
|
|
5831
|
+
/* @__PURE__ */ i("button", { style: { padding: "10px 18px", borderRadius: o, border: "none", background: c, color: x, fontSize: R, fontWeight: S, textTransform: $, letterSpacing: ".4px", boxShadow: T, whiteSpace: "nowrap", cursor: "pointer" }, children: "+ Add Camera" })
|
|
5832
5832
|
] })
|
|
5833
5833
|
] }),
|
|
5834
5834
|
/* @__PURE__ */ f("div", { style: { padding: p, background: t.bgDefault, display: "flex", flexDirection: "column", flex: 1, minHeight: 0 }, children: [
|
|
@@ -5844,7 +5844,7 @@ function Sl() {
|
|
|
5844
5844
|
] }),
|
|
5845
5845
|
/* @__PURE__ */ i("div", { style: { padding: s, display: "grid", gridTemplateColumns: "1fr 1fr 1fr", gridAutoRows: "1fr", gap: l }, children: C.map((B) => /* @__PURE__ */ f("div", { style: { position: "relative", borderRadius: o, overflow: "hidden", background: L, minHeight: 104, border: "1px solid " + t.divider }, children: [
|
|
5846
5846
|
/* @__PURE__ */ i("div", { style: { position: "absolute", inset: 0, display: "grid", placeItems: "center" }, children: /* @__PURE__ */ i("span", { style: { fontFamily: "monospace", fontSize: I, color: "rgba(255,255,255,.3)", letterSpacing: 1 }, children: B.loc }) }),
|
|
5847
|
-
/* @__PURE__ */ f("div", { style: { position: "absolute", top: 7, left: 7, display: "flex", alignItems: "center", gap: 5, background: V, border: "1px solid " +
|
|
5847
|
+
/* @__PURE__ */ f("div", { style: { position: "absolute", top: 7, left: 7, display: "flex", alignItems: "center", gap: 5, background: V, border: "1px solid " + d, borderRadius: 999, padding: "2px 8px" }, children: [
|
|
5848
5848
|
/* @__PURE__ */ i("span", { style: { width: 6, height: 6, borderRadius: "50%", background: B.dotC } }),
|
|
5849
5849
|
/* @__PURE__ */ i("span", { style: { color: A, fontSize: I, fontWeight: 700, letterSpacing: ".4px" }, children: B.name })
|
|
5850
5850
|
] }),
|
|
@@ -5892,7 +5892,7 @@ const Cl = [
|
|
|
5892
5892
|
{ ic: "!", label: "Disk latency elevated — NVR-02", time: "18h ago", sev: "warning", unread: !1 }
|
|
5893
5893
|
];
|
|
5894
5894
|
function wl() {
|
|
5895
|
-
const e = Pe(), r = G((j) => j.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: p, tH1: u, tTitle: h, wH1: m, headFam: y, headLH: g, accentBg: b, btnText:
|
|
5895
|
+
const e = Pe(), r = G((j) => j.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: p, tH1: u, tTitle: h, wH1: m, headFam: y, headLH: g, accentBg: b, btnText: c, tBodySm: x, tCaption: T, tOverline: R, bwEmph: I, bodyWeightEff: w, bodyLH: S, errSoft: $, errTxt: W, pMain: O, mediaBg: q, overlaySurface: L, overlayBorder: V, onOverlay: d, sevMap: A } = e, P = y + ",sans-serif", z = r.fontFamily + ",sans-serif", N = e.hc1 || t.textPrimary, K = e.hc3 || t.textPrimary, H = e.cardBorder === "none" ? "none" : e.cardBorder, [D, E] = _r(7, 4, 16), C = Cl.slice(0, E).map((j) => ({ ...j, ...A[j.sev], rowBg: j.unread ? fe(r.primaryHex, e.isDark ? 0.12 : 0.05) : "transparent" })), _ = C.filter((j) => j.unread).length, Y = { display: "flex", flexDirection: "column", minHeight: 0, background: t.paper, border: H, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, U = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, M = { fontSize: h, lineHeight: g, fontWeight: m, color: K, fontFamily: P }, J = { height: 30, borderRadius: o, border: "none", background: "rgba(255,255,255,.14)", color: d, fontSize: T, fontWeight: I, cursor: "pointer", fontFamily: "inherit" };
|
|
5896
5896
|
return /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: H, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: z, fontWeight: w, color: t.textPrimary }, children: [
|
|
5897
5897
|
/* @__PURE__ */ i("div", { style: { padding: s, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent }, children: /* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
5898
5898
|
/* @__PURE__ */ i("div", { style: { fontSize: u, lineHeight: g, fontWeight: m, color: N, letterSpacing: "-.3px", fontFamily: P }, children: "Operations Center" }),
|
|
@@ -5909,10 +5909,10 @@ function wl() {
|
|
|
5909
5909
|
] }),
|
|
5910
5910
|
/* @__PURE__ */ f("div", { style: { position: "relative", flex: 1, minHeight: 320, background: q, display: "flex", alignItems: "center", justifyContent: "center" }, children: [
|
|
5911
5911
|
/* @__PURE__ */ i("span", { style: { fontFamily: "monospace", fontSize: T, color: "rgba(255,255,255,.42)", letterSpacing: 1.5 }, children: "◍ GOOGLE STREET VIEW / EARTH EMBED" }),
|
|
5912
|
-
/* @__PURE__ */ i("div", { style: { position: "absolute", top: 12, left: 12, display: "flex", alignItems: "center", gap: 7, background: L, border: "1px solid " + V, borderRadius: 999, padding: "6px 12px" }, children: /* @__PURE__ */ i("span", { style: { color:
|
|
5912
|
+
/* @__PURE__ */ i("div", { style: { position: "absolute", top: 12, left: 12, display: "flex", alignItems: "center", gap: 7, background: L, border: "1px solid " + V, borderRadius: 999, padding: "6px 12px" }, children: /* @__PURE__ */ i("span", { style: { color: d, fontSize: T, fontWeight: I }, children: "◎ 40.7128, -74.0060 · Manhattan" }) }),
|
|
5913
5913
|
/* @__PURE__ */ f("div", { style: { position: "absolute", bottom: 12, left: "50%", transform: "translateX(-50%)", display: "flex", alignItems: "center", gap: 4, background: L, border: "1px solid " + V, borderRadius: o, padding: 5 }, children: [
|
|
5914
|
-
/* @__PURE__ */ i("button", { style: { width: 30, height: 30, borderRadius: o, border: "none", background: b, color:
|
|
5915
|
-
/* @__PURE__ */ i("button", { style: { width: 30, height: 30, borderRadius: o, border: "none", background: "rgba(255,255,255,.14)", color:
|
|
5914
|
+
/* @__PURE__ */ i("button", { style: { width: 30, height: 30, borderRadius: o, border: "none", background: b, color: c, fontSize: 16, fontWeight: I, cursor: "pointer" }, children: "+" }),
|
|
5915
|
+
/* @__PURE__ */ i("button", { style: { width: 30, height: 30, borderRadius: o, border: "none", background: "rgba(255,255,255,.14)", color: d, fontSize: 16, fontWeight: I, cursor: "pointer" }, children: "−" }),
|
|
5916
5916
|
/* @__PURE__ */ i("div", { style: { width: 1, height: 18, background: V, margin: "0 3px" } }),
|
|
5917
5917
|
/* @__PURE__ */ i("button", { style: { ...J, padding: "0 12px" }, children: "Layers" }),
|
|
5918
5918
|
/* @__PURE__ */ i("button", { style: { ...J, padding: "0 12px" }, children: "◎ Locate" })
|
|
@@ -5969,11 +5969,11 @@ const kl = [
|
|
|
5969
5969
|
{ name: "Cost Allocation Summary", type: "Financial", date: "Jun 04", status: "Ready" }
|
|
5970
5970
|
], $n = "1fr 130px 110px 90px 70px";
|
|
5971
5971
|
function $l() {
|
|
5972
|
-
const e = Pe(), r = G((B) => B.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: p, rowPy: u, tH1: h, tH2: m, tTitle: y, wH1: g, headFam: b, headLH:
|
|
5972
|
+
const e = Pe(), r = G((B) => B.settings), { t, rad: n, radSm: o, pad: s, padSm: a, gap: l, screenPad: p, rowPy: u, tH1: h, tH2: m, tTitle: y, wH1: g, headFam: b, headLH: c, accentBg: x, btnText: T, btnShadow: R, tBody: I, tBodySm: w, tCaption: S, tOverline: $, bwEmph: W, btnCase: O, bodyWeightEff: q, pMain: L, sMain: V, chartPalette: d } = e, A = b + ",sans-serif", P = r.fontFamily + ",sans-serif", z = e.hc1 || t.textPrimary, N = e.hc2 || t.textPrimary, K = e.hc3 || t.textPrimary, H = e.cardBorder === "none" ? "none" : e.cardBorder, [D, E, C] = ro(5, 3, 16), _ = Pl.slice(0, C).map((B) => ({ ...B, sb: B.status === "Ready" ? e.sucSoft : e.warnSoft, sc: B.status === "Ready" ? e.sucTxt : e.warnTxt })), Y = Hl.map((B, X) => ({ ...B, c: d[X % d.length] })), U = { background: t.paper, border: H, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden" }, M = { padding: `${a}px ${s}px`, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "center", justifyContent: "space-between" }, J = { fontSize: y, lineHeight: c, fontWeight: g, color: K, fontFamily: A }, j = { fontSize: $, fontWeight: W, color: t.textSecondary, textTransform: "uppercase", letterSpacing: ".5px" };
|
|
5973
5973
|
return /* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", background: t.paper, border: H, borderRadius: n, boxShadow: e.cardShadow, overflow: "hidden", fontFamily: P, fontWeight: q, color: t.textPrimary }, children: [
|
|
5974
5974
|
/* @__PURE__ */ f("div", { style: { padding: s, background: e.cardHdrBg, borderBottom: e.cardHdrBorder, boxShadow: e.cardHdrAccent, display: "flex", alignItems: "flex-start", justifyContent: "space-between", gap: 14 }, children: [
|
|
5975
5975
|
/* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
5976
|
-
/* @__PURE__ */ i("div", { style: { fontSize: h, lineHeight:
|
|
5976
|
+
/* @__PURE__ */ i("div", { style: { fontSize: h, lineHeight: c, fontWeight: g, color: z, letterSpacing: "-.3px", fontFamily: A }, children: "Reports" }),
|
|
5977
5977
|
/* @__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: W, fontStyle: "italic", fontFamily: "Georgia,serif", display: "grid", placeItems: "center", flexShrink: 0, cursor: "help" }, children: "i" })
|
|
5978
5978
|
] }),
|
|
5979
5979
|
/* @__PURE__ */ i("button", { style: { padding: "10px 20px", borderRadius: o, border: "none", background: x, color: T, fontSize: w, fontWeight: W, textTransform: O, letterSpacing: ".4px", boxShadow: R, whiteSpace: "nowrap", cursor: "pointer" }, children: "↓ Export PDF" })
|
|
@@ -6039,18 +6039,18 @@ function Al() {
|
|
|
6039
6039
|
accentBg: y,
|
|
6040
6040
|
btnText: g,
|
|
6041
6041
|
btnShadow: b,
|
|
6042
|
-
bwEmph:
|
|
6042
|
+
bwEmph: c,
|
|
6043
6043
|
pMain: x,
|
|
6044
6044
|
iconInitials: T,
|
|
6045
6045
|
hasLoginImage: R,
|
|
6046
6046
|
loginCenteredGrad: I,
|
|
6047
6047
|
loginScrimGradC: w
|
|
6048
|
-
} = e, S = r.fontFamily + ",sans-serif", $ = e.hc1 || t.textPrimary, W = t.pContrast, O = e.cardBorder === "none" ? "none" : e.cardBorder, q = r.logoMode === "image" && !!r.logoUrl, L = e.isDark ? t.paper2 : "#ffffff", V = r.loginPanelColor || t.bgDefault,
|
|
6048
|
+
} = e, S = r.fontFamily + ",sans-serif", $ = e.hc1 || t.textPrimary, W = t.pContrast, O = e.cardBorder === "none" ? "none" : e.cardBorder, q = r.logoMode === "image" && !!r.logoUrl, L = e.isDark ? t.paper2 : "#ffffff", V = r.loginPanelColor || t.bgDefault, d = r.loginImgOpacity > 0 ? r.loginImgOpacity : 1, A = R ? /* @__PURE__ */ i("img", { src: r.loginImage, alt: "", style: { position: "absolute", inset: 0, width: "100%", height: "100%", objectFit: "cover", zIndex: 0, opacity: d } }) : null, P = { background: t.paper, border: O, borderRadius: n, boxShadow: e.cardShadow, padding: s, display: "flex", flexDirection: "column", gap: 20 }, z = (N) => ({ position: "relative", background: t.paper2, border: "1.5px solid " + (N ? x : t.outline), borderRadius: o });
|
|
6049
6049
|
return r.loginLayout === "centered" ? /* @__PURE__ */ f("div", { style: { minHeight: 560, background: I, display: "flex", alignItems: "center", justifyContent: "center", padding: 40, position: "relative", overflow: "hidden", fontFamily: S, borderRadius: n }, children: [
|
|
6050
6050
|
A,
|
|
6051
6051
|
R && /* @__PURE__ */ i("div", { style: { position: "absolute", inset: 0, background: w, zIndex: 0 } }),
|
|
6052
6052
|
/* @__PURE__ */ f("div", { style: { position: "relative", zIndex: 1, width: "100%", maxWidth: 380, background: t.paper, border: O, borderRadius: n, boxShadow: "0 24px 60px rgba(0,0,0,.35)", padding: s, display: "flex", flexDirection: "column", gap: 20, alignItems: "center" }, children: [
|
|
6053
|
-
/* @__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:
|
|
6053
|
+
/* @__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: c, letterSpacing: "-1px" }, children: T }) }),
|
|
6054
6054
|
/* @__PURE__ */ f("div", { style: { width: "100%", display: "flex", flexDirection: "column", gap: 14 }, children: [
|
|
6055
6055
|
/* @__PURE__ */ f("div", { style: { position: "relative", border: "1.5px solid " + t.outline, borderRadius: o, padding: "13px 14px" }, children: [
|
|
6056
6056
|
/* @__PURE__ */ i("span", { style: { position: "absolute", top: -8, left: 11, background: t.paper, padding: "0 5px", fontSize: 11, color: t.textSecondary }, children: "Email" }),
|
|
@@ -6060,7 +6060,7 @@ function Al() {
|
|
|
6060
6060
|
/* @__PURE__ */ i("span", { style: { position: "absolute", top: -8, left: 11, background: t.paper, padding: "0 5px", fontSize: 11, color: t.textSecondary }, children: "Password" }),
|
|
6061
6061
|
/* @__PURE__ */ i("span", { style: { fontSize: l, color: t.textPrimary, letterSpacing: 3 }, children: "••••••••" })
|
|
6062
6062
|
] }),
|
|
6063
|
-
/* @__PURE__ */ i("button", { style: { padding: 13, borderRadius: o, border: "none", background: y, color: g, fontSize: l, fontWeight:
|
|
6063
|
+
/* @__PURE__ */ i("button", { style: { padding: 13, borderRadius: o, border: "none", background: y, color: g, fontSize: l, fontWeight: c, textTransform: "uppercase", letterSpacing: ".5px", boxShadow: b, cursor: "pointer" }, children: "Sign in" })
|
|
6064
6064
|
] })
|
|
6065
6065
|
] })
|
|
6066
6066
|
] }) : /* @__PURE__ */ f("div", { style: { display: "grid", gridTemplateColumns: "3fr 1fr", minHeight: 560, fontFamily: S, borderRadius: n, overflow: "hidden" }, children: [
|
|
@@ -6068,14 +6068,14 @@ function Al() {
|
|
|
6068
6068
|
A,
|
|
6069
6069
|
!R && /* @__PURE__ */ f("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: [
|
|
6070
6070
|
/* @__PURE__ */ i(An, { size: 46 }),
|
|
6071
|
-
/* @__PURE__ */ i("div", { style: { fontSize: 14, fontWeight:
|
|
6071
|
+
/* @__PURE__ */ i("div", { style: { fontSize: 14, fontWeight: c, color: t.textPrimary }, children: "No brand image" }),
|
|
6072
6072
|
/* @__PURE__ */ i("div", { style: { fontSize: 12, color: t.textSecondary, textAlign: "center", maxWidth: 220 }, children: "Upload an image in the Login Screen settings to fill this panel." })
|
|
6073
6073
|
] })
|
|
6074
6074
|
] }),
|
|
6075
6075
|
/* @__PURE__ */ f("div", { style: { background: V, display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", gap: 22, padding: "48px 40px" }, children: [
|
|
6076
6076
|
q ? /* @__PURE__ */ i("img", { src: r.logoUrl, alt: r.appName, style: { maxHeight: 64, maxWidth: 200, objectFit: "contain" } }) : /* @__PURE__ */ f("div", { style: { display: "inline-flex", flexDirection: "column", alignItems: "center", justifyContent: "center", gap: 6, maxWidth: 200, maxHeight: 64, border: "1.5px dashed " + t.outline, borderRadius: o, boxSizing: "border-box", color: t.textSecondary, padding: "8px 16px" }, children: [
|
|
6077
6077
|
/* @__PURE__ */ i(An, { size: 20 }),
|
|
6078
|
-
/* @__PURE__ */ i("span", { style: { fontSize: u, fontWeight:
|
|
6078
|
+
/* @__PURE__ */ i("span", { style: { fontSize: u, fontWeight: c, color: t.textSecondary, whiteSpace: "nowrap" }, children: "No logo uploaded" })
|
|
6079
6079
|
] }),
|
|
6080
6080
|
/* @__PURE__ */ f("div", { style: { width: "100%", maxWidth: 340, ...P }, children: [
|
|
6081
6081
|
/* @__PURE__ */ f("div", { style: { textAlign: "center" }, children: [
|
|
@@ -6084,14 +6084,14 @@ function Al() {
|
|
|
6084
6084
|
] }),
|
|
6085
6085
|
/* @__PURE__ */ f("div", { style: { display: "flex", flexDirection: "column", gap: 16 }, children: [
|
|
6086
6086
|
/* @__PURE__ */ f("div", { children: [
|
|
6087
|
-
/* @__PURE__ */ i("div", { style: { fontSize: u, fontWeight:
|
|
6087
|
+
/* @__PURE__ */ i("div", { style: { fontSize: u, fontWeight: c, color: t.textPrimary, marginBottom: 7 }, children: "Email Address" }),
|
|
6088
6088
|
/* @__PURE__ */ f("div", { style: { ...z(!1), padding: "12px 14px 12px 40px" }, children: [
|
|
6089
6089
|
/* @__PURE__ */ i("span", { style: { position: "absolute", left: 13, top: "50%", transform: "translateY(-50%)", color: t.textSecondary, fontSize: 14 }, children: "✉" }),
|
|
6090
6090
|
/* @__PURE__ */ i("span", { style: { fontSize: l, color: t.textPrimary }, children: "admin@company.com" })
|
|
6091
6091
|
] })
|
|
6092
6092
|
] }),
|
|
6093
6093
|
/* @__PURE__ */ f("div", { children: [
|
|
6094
|
-
/* @__PURE__ */ i("div", { style: { fontSize: u, fontWeight:
|
|
6094
|
+
/* @__PURE__ */ i("div", { style: { fontSize: u, fontWeight: c, color: t.textPrimary, marginBottom: 7 }, children: "Password" }),
|
|
6095
6095
|
/* @__PURE__ */ f("div", { style: { ...z(!0), padding: "12px 40px 12px 40px" }, children: [
|
|
6096
6096
|
/* @__PURE__ */ i("span", { style: { position: "absolute", left: 13, top: "50%", transform: "translateY(-50%)", color: t.textSecondary, fontSize: 14 }, children: "🔒" }),
|
|
6097
6097
|
/* @__PURE__ */ i("span", { style: { fontSize: l, color: t.textPrimary, letterSpacing: 3 }, children: "••••••••" }),
|
|
@@ -6100,19 +6100,19 @@ function Al() {
|
|
|
6100
6100
|
] }),
|
|
6101
6101
|
/* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", justifyContent: "space-between" }, children: [
|
|
6102
6102
|
/* @__PURE__ */ f("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
6103
|
-
/* @__PURE__ */ i("div", { style: { width: 17, height: 17, borderRadius: 4, background: x, display: "grid", placeItems: "center", color: W, fontSize: 11, fontWeight:
|
|
6103
|
+
/* @__PURE__ */ i("div", { style: { width: 17, height: 17, borderRadius: 4, background: x, display: "grid", placeItems: "center", color: W, fontSize: 11, fontWeight: c }, children: "✓" }),
|
|
6104
6104
|
/* @__PURE__ */ i("span", { style: { fontSize: p, color: t.textPrimary }, children: "Remember me" })
|
|
6105
6105
|
] }),
|
|
6106
|
-
/* @__PURE__ */ i("span", { style: { fontSize: p, color: x, fontWeight:
|
|
6106
|
+
/* @__PURE__ */ i("span", { style: { fontSize: p, color: x, fontWeight: c }, children: "Forgot password?" })
|
|
6107
6107
|
] }),
|
|
6108
|
-
/* @__PURE__ */ f("button", { style: { padding: 13, borderRadius: o, border: "none", background: y, color: g, fontSize: l, fontWeight:
|
|
6108
|
+
/* @__PURE__ */ f("button", { style: { padding: 13, borderRadius: o, border: "none", background: y, color: g, fontSize: l, fontWeight: c, letterSpacing: ".3px", boxShadow: b, marginTop: 2, display: "flex", alignItems: "center", justifyContent: "center", gap: 8, cursor: "pointer" }, children: [
|
|
6109
6109
|
"Login ",
|
|
6110
6110
|
/* @__PURE__ */ i("span", { style: { fontSize: 15 }, children: "→" })
|
|
6111
6111
|
] })
|
|
6112
6112
|
] }),
|
|
6113
6113
|
/* @__PURE__ */ f("div", { style: { textAlign: "center", fontSize: u, color: t.textSecondary }, children: [
|
|
6114
6114
|
"Powered by ",
|
|
6115
|
-
/* @__PURE__ */ i("span", { style: { color: x, fontWeight:
|
|
6115
|
+
/* @__PURE__ */ i("span", { style: { color: x, fontWeight: c }, children: r.appName }),
|
|
6116
6116
|
" © 2026"
|
|
6117
6117
|
] })
|
|
6118
6118
|
] })
|
|
@@ -6143,10 +6143,10 @@ function Ol() {
|
|
|
6143
6143
|
const g = () => {
|
|
6144
6144
|
const R = getComputedStyle(m), I = (parseFloat(R.paddingTop) || 0) + (parseFloat(R.paddingBottom) || 0);
|
|
6145
6145
|
if (n !== "fit") {
|
|
6146
|
-
const
|
|
6147
|
-
y.style.zoom = String(
|
|
6146
|
+
const d = n / 100;
|
|
6147
|
+
y.style.zoom = String(d);
|
|
6148
6148
|
const A = m.clientHeight - I;
|
|
6149
|
-
y.style.minHeight = (A > 0 ? Math.floor(A /
|
|
6149
|
+
y.style.minHeight = (A > 0 ? Math.floor(A / d) : 0) + "px", p(n);
|
|
6150
6150
|
return;
|
|
6151
6151
|
}
|
|
6152
6152
|
y.style.zoom = "1", y.style.minHeight = "0px", y.offsetHeight;
|
|
@@ -6157,9 +6157,9 @@ function Ol() {
|
|
|
6157
6157
|
const V = Math.min(S / W, 1);
|
|
6158
6158
|
y.style.minHeight = Math.floor($ / Math.max(V, 0.36)) + "px", p(Math.round(L * 100));
|
|
6159
6159
|
};
|
|
6160
|
-
let b = 0,
|
|
6160
|
+
let b = 0, c = 0;
|
|
6161
6161
|
const x = () => {
|
|
6162
|
-
g(), ++
|
|
6162
|
+
g(), ++c < 36 && (b = requestAnimationFrame(x));
|
|
6163
6163
|
};
|
|
6164
6164
|
x();
|
|
6165
6165
|
const T = new ResizeObserver(g);
|
|
@@ -6170,7 +6170,7 @@ function Ol() {
|
|
|
6170
6170
|
const u = ((h = sl.find((m) => m.key === e)) == null ? void 0 : h.label) ?? "";
|
|
6171
6171
|
return /* @__PURE__ */ f(v, { sx: { flex: 1, minWidth: 0, display: "flex", flexDirection: "column", bgcolor: "background.default" }, children: [
|
|
6172
6172
|
/* @__PURE__ */ f(v, { sx: { px: 2.5, py: 1.25, borderBottom: "1px solid", borderColor: "divider", display: "flex", alignItems: "center", gap: 1.5, bgcolor: "background.paper" }, children: [
|
|
6173
|
-
/* @__PURE__ */ i(
|
|
6173
|
+
/* @__PURE__ */ i(cl, { sx: { fontSize: 22, color: "text.secondary" } }),
|
|
6174
6174
|
/* @__PURE__ */ f(me, { variant: "h5", sx: { flex: 1, fontSize: 18, fontWeight: 700, letterSpacing: "-.2px" }, children: [
|
|
6175
6175
|
"Previewing ",
|
|
6176
6176
|
u
|
|
@@ -6214,21 +6214,21 @@ const Dl = 300, Ml = 520;
|
|
|
6214
6214
|
function Gl() {
|
|
6215
6215
|
const [e, r] = ie(!0), [t, n] = ie(300), [o, s] = ie(!1), a = G((b) => b.isDirty), l = G((b) => b.captureBaseline), p = G((b) => b.restoreBaseline), u = Ie(G((b) => b.settings.mode)), h = Be(null), m = (b) => {
|
|
6216
6216
|
b.preventDefault(), h.current = { x: b.clientX, w: t };
|
|
6217
|
-
const
|
|
6217
|
+
const c = (T) => {
|
|
6218
6218
|
if (!h.current) return;
|
|
6219
6219
|
const R = Math.max(Dl, Math.min(Ml, h.current.w + (T.clientX - h.current.x)));
|
|
6220
6220
|
n(R);
|
|
6221
6221
|
}, x = () => {
|
|
6222
|
-
h.current = null, window.removeEventListener("mousemove",
|
|
6222
|
+
h.current = null, window.removeEventListener("mousemove", c), window.removeEventListener("mouseup", x);
|
|
6223
6223
|
};
|
|
6224
|
-
window.addEventListener("mousemove",
|
|
6224
|
+
window.addEventListener("mousemove", c), window.addEventListener("mouseup", x);
|
|
6225
6225
|
}, y = () => {
|
|
6226
6226
|
a() ? s(!0) : r(!1);
|
|
6227
6227
|
};
|
|
6228
6228
|
return /* @__PURE__ */ f(v, { sx: { position: "relative", width: "100%", height: "100%", display: "flex", flexDirection: "column", bgcolor: "background.paper" }, children: [
|
|
6229
6229
|
/* @__PURE__ */ i(v, { sx: { flex: 1, minHeight: 0, display: "flex" }, children: /* @__PURE__ */ f(v, { sx: { flex: 1, minWidth: 0, display: "flex", bgcolor: "background.default", borderTop: "1px solid", borderColor: "divider" }, children: [
|
|
6230
6230
|
e ? /* @__PURE__ */ f(v, { sx: { display: "flex", flexShrink: 0 }, children: [
|
|
6231
|
-
/* @__PURE__ */ i(v, { sx: { width: t, flexShrink: 0, borderRight: `1px solid ${u.studioBd}`, display: "flex", flexDirection: "column", bgcolor: u.card, overflow: "auto" }, children: /* @__PURE__ */ i(
|
|
6231
|
+
/* @__PURE__ */ i(v, { sx: { width: t, flexShrink: 0, borderRight: `1px solid ${u.studioBd}`, display: "flex", flexDirection: "column", bgcolor: u.card, overflow: "auto" }, children: /* @__PURE__ */ i(dl, { onClose: y }) }),
|
|
6232
6232
|
/* @__PURE__ */ i(v, { onMouseDown: m, sx: { width: 5, cursor: "col-resize", flexShrink: 0, bgcolor: "divider", opacity: 0.4, "&:hover": { opacity: 1, bgcolor: "primary.main" } } })
|
|
6233
6233
|
] }) : /* @__PURE__ */ i(Ue, { title: "Open Theme Studio", placement: "right", arrow: !0, children: /* @__PURE__ */ i(_t, { onClick: () => {
|
|
6234
6234
|
r(!0), l();
|
|
@@ -6306,6 +6306,17 @@ function Yl(e) {
|
|
|
6306
6306
|
root: { backgroundColor: r.cardHdrBg, borderBottom: r.cardHdrBorder, boxShadow: r.cardHdrAccent }
|
|
6307
6307
|
}
|
|
6308
6308
|
},
|
|
6309
|
+
// Modals are treated as cards — same border/shadow/header tokens as MuiCard/MuiCardHeader.
|
|
6310
|
+
MuiDialog: {
|
|
6311
|
+
styleOverrides: {
|
|
6312
|
+
paper: { borderRadius: r.r, border: r.cardBorder === "none" ? "none" : r.cardBorder, boxShadow: r.cardShadow, backgroundImage: "none" }
|
|
6313
|
+
}
|
|
6314
|
+
},
|
|
6315
|
+
MuiDialogTitle: {
|
|
6316
|
+
styleOverrides: {
|
|
6317
|
+
root: { backgroundColor: r.cardHdrBg, borderBottom: r.cardHdrBorder, boxShadow: r.cardHdrAccent }
|
|
6318
|
+
}
|
|
6319
|
+
},
|
|
6309
6320
|
MuiButton: {
|
|
6310
6321
|
styleOverrides: { root: { borderRadius: r.r, boxShadow: "none" } },
|
|
6311
6322
|
defaultProps: { disableElevation: !0 },
|
|
@@ -6334,6 +6345,8 @@ function Yl(e) {
|
|
|
6334
6345
|
toastW: e.toastW > 0 ? e.toastW : void 0,
|
|
6335
6346
|
cardBorder: r.toastDeco.border,
|
|
6336
6347
|
cardShadow: r.toastDeco.boxShadow,
|
|
6348
|
+
cardBodyBorder: r.cardBorder === "none" ? "none" : r.cardBorder,
|
|
6349
|
+
cardBodyShadow: r.cardShadow,
|
|
6337
6350
|
cardHdrBg: r.cardHdrBg,
|
|
6338
6351
|
cardHdrBorder: r.cardHdrBorder,
|
|
6339
6352
|
cardHdrAccent: r.cardHdrAccent,
|
|
@@ -6355,7 +6368,13 @@ function Yl(e) {
|
|
|
6355
6368
|
toastBg: r.toastBg,
|
|
6356
6369
|
autoDismissSec: e.autoDismissSec > 0 ? e.autoDismissSec : void 0,
|
|
6357
6370
|
statusBold: e.statusBold,
|
|
6358
|
-
cardHdrHex: e.cardHdrHex || void 0
|
|
6371
|
+
cardHdrHex: e.cardHdrHex || void 0,
|
|
6372
|
+
containerPad: r.screenPad,
|
|
6373
|
+
cardGap: r.gap,
|
|
6374
|
+
edgePad: e.edgePadPx,
|
|
6375
|
+
highlight: t.highlight,
|
|
6376
|
+
highlightSoft: t.highlightSoft,
|
|
6377
|
+
highlightBd: t.highlightBd
|
|
6359
6378
|
}
|
|
6360
6379
|
});
|
|
6361
6380
|
}
|