@solostylist/ui-kit 1.0.197 → 1.0.200
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/{ArrowUpward-JWPHrR6I.js → ArrowUpward-D8eqD-si.js} +1 -1
- package/dist/{Box-p3bpOtdn.js → Box-BkXoTbe8.js} +3 -3
- package/dist/{ButtonBase-PbSTzuUP.js → ButtonBase-D73M0QY5.js} +7 -7
- package/dist/{ChevronLeft-BJjuFNNQ.js → ChevronLeft-BmgmPHp9.js} +1 -1
- package/dist/{ChevronRight-5ZX3FodP.js → ChevronRight-DbWSr8yz.js} +1 -1
- package/dist/{Close-C-pCw-CD.js → Close-lHCUMitI.js} +1 -1
- package/dist/{ContentCopy-CNxsEhmq.js → ContentCopy-D4SuJd86.js} +1 -1
- package/dist/{DefaultPropsProvider-2MEHB2yv.js → DefaultPropsProvider-DPuuPIbS.js} +2 -2
- package/dist/{Download-D97XSAig.js → Download-BoRQUwCf.js} +1 -1
- package/dist/{ExpandMore-CTZrSZlF.js → ExpandMore-C7yRQv1-.js} +1 -1
- package/dist/{Favorite-Cvjg7GqN.js → Favorite-Bz_HcMgN.js} +1 -1
- package/dist/{Menu-_ZW9WiF2.js → Menu-GVFDMHCN.js} +137 -131
- package/dist/{MenuItem-DTapLhin.js → MenuItem-2wG8I2HO.js} +5 -5
- package/dist/{Paper-5nSdRRBA.js → Paper-CR019bki.js} +6 -6
- package/dist/{Select-J5gDqfEk.js → Select-80JhW337.js} +7 -7
- package/dist/{Stack-BlwLEm6H.js → Stack-Dfjnuorw.js} +5 -5
- package/dist/{Typography-Cum5_Ehu.js → Typography-PcmlIqm1.js} +4 -4
- package/dist/assets/s-overlay-scrollbar.css +1 -1
- package/dist/{createSvgIcon-DTNHY3_v.js → createSvgIcon-BkbeLOhM.js} +3 -3
- package/dist/{createTheme-CIXJrNxb.js → createTheme-DgoJyWM-.js} +874 -871
- package/dist/defaultTheme-CulFxfLR.js +5 -0
- package/dist/entries/core.d.ts +2 -2
- package/dist/entries/core.js +28 -30
- package/dist/{extendSxProp-CyoueGTe.js → extendSxProp-BJEIxcAx.js} +1 -1
- package/dist/{index-8LcCMmwl.js → index-DtGYsHSv.js} +4 -4
- package/dist/main.js +92 -94
- package/dist/s-accordion/s-accordion.js +89 -89
- package/dist/s-action-overlay/s-action-overlay.js +7 -7
- package/dist/s-ai-tool-bar/s-ai-tool-bar.d.ts +44 -0
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +241 -272
- package/dist/s-avatar/s-avatar.js +2 -2
- package/dist/s-blur-text/s-blur-text.js +25 -24
- package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
- package/dist/s-carousel/s-carousel.d.ts +4 -4
- package/dist/s-carousel/s-carousel.js +4 -4
- package/dist/s-chat-input/s-chat-input.js +4 -4
- package/dist/s-chat-message/s-chat-message.js +135 -124
- package/dist/s-chips/s-chips.js +35 -35
- package/dist/s-code-block/s-code-block.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +5 -5
- package/dist/s-copyable-text/s-copyable-text.js +1 -1
- package/dist/s-countdown/s-count-box.js +40 -37
- package/dist/s-countdown/s-count-down.d.ts +15 -10
- package/dist/s-countdown/s-count-down.js +79 -124
- package/dist/s-data-table/s-data-table.js +75 -76
- package/dist/s-date-picker/s-date-picker.js +43 -47
- package/dist/s-datetime-picker/s-datetime-picker.js +782 -782
- package/dist/s-dialog/s-dialog.js +1 -1
- package/dist/s-dialog-confirm/index.d.ts +1 -1
- package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +1 -1
- package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
- package/dist/s-dialog-message/index.d.ts +1 -1
- package/dist/s-dialog-message/s-dialog-message.d.ts +1 -1
- package/dist/s-dialog-message/s-dialog-message.js +2 -2
- package/dist/s-empty/s-empty.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +16 -16
- package/dist/s-file-icon/s-file-icon.js +15 -15
- package/dist/s-flex-box/s-flex-box.js +1 -1
- package/dist/s-gallery/s-gallery.js +1 -1
- package/dist/s-gradient-icon/s-gradient-icon.js +5 -5
- package/dist/s-image-comparison/s-image-comparison.js +3 -3
- package/dist/s-image-modal/s-image-modal.js +7 -7
- package/dist/s-label/s-label.d.ts +1 -1
- package/dist/s-label/s-label.js +1 -1
- package/dist/s-language-switcher/s-language-switcher.js +8 -8
- package/dist/s-localization-provider/s-localization-provider.js +1 -1
- package/dist/s-moving-border/s-moving-border.d.ts +5 -5
- package/dist/s-multi-select/s-multi-select.js +3 -3
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +6 -6
- package/dist/s-pixel-reveal/s-pixel-reveal.js +76 -71
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +2 -2
- package/dist/s-review/s-review.d.ts +3 -2
- package/dist/s-review/s-review.js +19 -19
- package/dist/s-scroll-to-top/s-scroll-to-top.js +5 -5
- package/dist/s-scroll-velocity/scroll-velocity-container.d.ts +1 -1
- package/dist/s-scroll-velocity/scroll-velocity-row.d.ts +3 -3
- package/dist/s-scroll-velocity/scroll-velocity-row.js +2 -2
- package/dist/s-select/s-select.js +54 -67
- package/dist/s-select-list/s-select-list.js +1 -1
- package/dist/s-snackbar-message/s-snackbar-message.js +18 -18
- package/dist/s-stripe/s-stripe-cvc.d.ts +1 -1
- package/dist/s-stripe/s-stripe-expiry.d.ts +1 -1
- package/dist/s-stripe/s-stripe-number.d.ts +1 -1
- package/dist/s-stripe/stripe-input.d.ts +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +64 -60
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-text-field/s-text-field.js +1 -1
- package/dist/s-text-shimmer/s-text-shimmer.js +3 -3
- package/dist/s-theme-demo/s-theme-demo.js +2 -2
- package/dist/s-theme-provider/s-theme-provider.d.ts +1 -1
- package/dist/s-theme-switch/s-theme-switch.js +1 -1
- package/dist/s-tip/s-tip.js +3 -3
- package/dist/{styled-BR6UL29H.js → styled-8Y5KoVix.js} +2 -2
- package/dist/theme/components/avatar.js +1 -1
- package/dist/theme/components/button.d.ts +2 -2
- package/dist/theme/components/button.js +1 -1
- package/dist/theme/components/chip.d.ts +2 -2
- package/dist/theme/components/chip.js +1 -1
- package/dist/theme/components/icon-button.d.ts +2 -2
- package/dist/theme/components/popover.js +2 -2
- package/dist/theme/components/skeleton.js +1 -1
- package/dist/theme/components/tooltip.js +5 -5
- package/dist/theme/customizations/data-display.js +12 -12
- package/dist/theme/customizations/feedback.js +2 -2
- package/dist/theme/customizations/inputs.js +12 -12
- package/dist/theme/customizations/navigation.js +28 -28
- package/dist/theme/customizations/surfaces.js +11 -11
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{useMobilePicker-C0pYjskU.js → useMobilePicker-DVnEuXv1.js} +3936 -3653
- package/dist/{useTheme-DSvhq4Np.js → useTheme-CWPkv7g3.js} +1 -1
- package/dist/{useThemeProps-C-oV4Fbz.js → useThemeProps-XYgXGzjS.js} +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.js +7 -9
- package/dist/utils/logger.d.ts +1 -1
- package/dist/utils-D1UMIV0b.js +40 -0
- package/dist/{warning-BZ61Y8gI.js → warning-Ba-7BBAN.js} +3 -3
- package/package.json +67 -62
- package/dist/defaultTheme-DLue8Fr1.js +0 -5
- package/dist/s-accordion/package.json +0 -5
- package/dist/s-action-overlay/package.json +0 -5
- package/dist/s-ai-tool-bar/package.json +0 -5
- package/dist/s-autocomplete/package.json +0 -5
- package/dist/s-avatar/package.json +0 -5
- package/dist/s-blur-text/package.json +0 -5
- package/dist/s-breadcrumbs/package.json +0 -5
- package/dist/s-button/package.json +0 -5
- package/dist/s-button-link/package.json +0 -5
- package/dist/s-carousel/package.json +0 -5
- package/dist/s-category-card/package.json +0 -5
- package/dist/s-chat-input/package.json +0 -5
- package/dist/s-chat-message/package.json +0 -5
- package/dist/s-checkbox/package.json +0 -5
- package/dist/s-chip/package.json +0 -5
- package/dist/s-chips/package.json +0 -5
- package/dist/s-code-block/package.json +0 -5
- package/dist/s-comment-message/package.json +0 -5
- package/dist/s-copyable-text/package.json +0 -5
- package/dist/s-countdown/package.json +0 -5
- package/dist/s-data-table/package.json +0 -5
- package/dist/s-date-picker/package.json +0 -5
- package/dist/s-datetime-picker/package.json +0 -5
- package/dist/s-dialog/package.json +0 -5
- package/dist/s-dialog-confirm/package.json +0 -5
- package/dist/s-dialog-message/package.json +0 -5
- package/dist/s-empty/package.json +0 -5
- package/dist/s-error/package.json +0 -5
- package/dist/s-error-layout/package.json +0 -5
- package/dist/s-file-dropzone/package.json +0 -5
- package/dist/s-file-icon/package.json +0 -5
- package/dist/s-flex-box/package.json +0 -5
- package/dist/s-form/package.json +0 -5
- package/dist/s-gallery/package.json +0 -5
- package/dist/s-glow-button/package.json +0 -5
- package/dist/s-gradient-icon/package.json +0 -5
- package/dist/s-i18n-provider/package.json +0 -5
- package/dist/s-icon-button/package.json +0 -5
- package/dist/s-image-comparison/package.json +0 -5
- package/dist/s-image-modal/package.json +0 -5
- package/dist/s-item-not-found/package.json +0 -5
- package/dist/s-label/package.json +0 -5
- package/dist/s-language-switcher/package.json +0 -5
- package/dist/s-lazy-image/package.json +0 -5
- package/dist/s-localization-provider/package.json +0 -5
- package/dist/s-moving-border/package.json +0 -5
- package/dist/s-multi-select/package.json +0 -5
- package/dist/s-no-ssr/package.json +0 -5
- package/dist/s-overlay-scrollbar/package.json +0 -5
- package/dist/s-pagination/package.json +0 -5
- package/dist/s-pixel-reveal/package.json +0 -5
- package/dist/s-radial-pulse-animate/package.json +0 -5
- package/dist/s-rating/package.json +0 -5
- package/dist/s-review/package.json +0 -5
- package/dist/s-scroll-reveal/package.json +0 -6
- package/dist/s-scroll-to-top/package.json +0 -5
- package/dist/s-scroll-velocity/package.json +0 -5
- package/dist/s-select/package.json +0 -5
- package/dist/s-select-list/package.json +0 -5
- package/dist/s-skeleton/package.json +0 -5
- package/dist/s-snackbar-message/package.json +0 -5
- package/dist/s-spotlight-cursor/package.json +0 -5
- package/dist/s-stripe/package.json +0 -5
- package/dist/s-tabs/package.json +0 -4
- package/dist/s-text-editor/package.json +0 -5
- package/dist/s-text-field/package.json +0 -5
- package/dist/s-text-shimmer/package.json +0 -5
- package/dist/s-text-truncation/package.json +0 -5
- package/dist/s-theme-demo/package.json +0 -5
- package/dist/s-theme-provider/package.json +0 -5
- package/dist/s-theme-switch/package.json +0 -5
- package/dist/s-tip/package.json +0 -5
- package/dist/s-two-pane-layout/package.json +0 -5
- package/dist/s-typewriter-text/package.json +0 -6
- package/dist/s-zoom-image/package.json +0 -5
- package/dist/utils/bytes-to-size.d.ts +0 -1
- package/dist/utils/bytes-to-size.js +0 -9
- package/dist/utils-DJIrqgo5.js +0 -18
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as Yr from "react";
|
|
2
2
|
import { g as it } from "./_commonjsHelpers-ByX85dGu.js";
|
|
3
3
|
import { g as at } from "./generateUtilityClass-BhfUaMgk.js";
|
|
4
|
-
function
|
|
4
|
+
function ye(e, ...r) {
|
|
5
5
|
const t = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
6
6
|
return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
|
|
7
7
|
}
|
|
8
8
|
function Vr(e) {
|
|
9
9
|
if (typeof e != "string")
|
|
10
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." :
|
|
10
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : ye(7));
|
|
11
11
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
12
12
|
}
|
|
13
13
|
var Ie = { exports: {} }, Ne = { exports: {} }, F = {};
|
|
@@ -15,99 +15,99 @@ var yr;
|
|
|
15
15
|
function st() {
|
|
16
16
|
if (yr) return F;
|
|
17
17
|
yr = 1;
|
|
18
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108,
|
|
19
|
-
function D(
|
|
20
|
-
if (typeof
|
|
21
|
-
var
|
|
22
|
-
switch (
|
|
18
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, s = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, a = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, p = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, y = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, m = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, g = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, u = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, v = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, c = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, S = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, _ = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, M = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
19
|
+
function D(b) {
|
|
20
|
+
if (typeof b == "object" && b !== null) {
|
|
21
|
+
var x = b.$$typeof;
|
|
22
|
+
switch (x) {
|
|
23
23
|
case r:
|
|
24
|
-
switch (
|
|
25
|
-
case f:
|
|
24
|
+
switch (b = b.type, b) {
|
|
26
25
|
case d:
|
|
26
|
+
case p:
|
|
27
27
|
case n:
|
|
28
|
-
case
|
|
28
|
+
case s:
|
|
29
29
|
case o:
|
|
30
|
-
case
|
|
31
|
-
return
|
|
30
|
+
case m:
|
|
31
|
+
return b;
|
|
32
32
|
default:
|
|
33
|
-
switch (
|
|
34
|
-
case
|
|
35
|
-
case
|
|
36
|
-
case b:
|
|
33
|
+
switch (b = b && b.$$typeof, b) {
|
|
34
|
+
case l:
|
|
35
|
+
case y:
|
|
37
36
|
case v:
|
|
38
|
-
case
|
|
39
|
-
|
|
37
|
+
case u:
|
|
38
|
+
case a:
|
|
39
|
+
return b;
|
|
40
40
|
default:
|
|
41
|
-
return
|
|
41
|
+
return x;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
case t:
|
|
45
|
-
return
|
|
45
|
+
return x;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
function $(
|
|
50
|
-
return D(
|
|
49
|
+
function $(b) {
|
|
50
|
+
return D(b) === p;
|
|
51
51
|
}
|
|
52
|
-
return F.AsyncMode =
|
|
53
|
-
return $(
|
|
54
|
-
}, F.isConcurrentMode = $, F.isContextConsumer = function(
|
|
55
|
-
return D(
|
|
56
|
-
}, F.isContextProvider = function(
|
|
57
|
-
return D(
|
|
58
|
-
}, F.isElement = function(
|
|
59
|
-
return typeof
|
|
60
|
-
}, F.isForwardRef = function(
|
|
61
|
-
return D(
|
|
62
|
-
}, F.isFragment = function(
|
|
63
|
-
return D(
|
|
64
|
-
}, F.isLazy = function(
|
|
65
|
-
return D(
|
|
66
|
-
}, F.isMemo = function(
|
|
67
|
-
return D(
|
|
68
|
-
}, F.isPortal = function(
|
|
69
|
-
return D(
|
|
70
|
-
}, F.isProfiler = function(
|
|
71
|
-
return D(
|
|
72
|
-
}, F.isStrictMode = function(
|
|
73
|
-
return D(
|
|
74
|
-
}, F.isSuspense = function(
|
|
75
|
-
return D(
|
|
76
|
-
}, F.isValidElementType = function(
|
|
77
|
-
return typeof
|
|
52
|
+
return F.AsyncMode = d, F.ConcurrentMode = p, F.ContextConsumer = l, F.ContextProvider = a, F.Element = r, F.ForwardRef = y, F.Fragment = n, F.Lazy = v, F.Memo = u, F.Portal = t, F.Profiler = s, F.StrictMode = o, F.Suspense = m, F.isAsyncMode = function(b) {
|
|
53
|
+
return $(b) || D(b) === d;
|
|
54
|
+
}, F.isConcurrentMode = $, F.isContextConsumer = function(b) {
|
|
55
|
+
return D(b) === l;
|
|
56
|
+
}, F.isContextProvider = function(b) {
|
|
57
|
+
return D(b) === a;
|
|
58
|
+
}, F.isElement = function(b) {
|
|
59
|
+
return typeof b == "object" && b !== null && b.$$typeof === r;
|
|
60
|
+
}, F.isForwardRef = function(b) {
|
|
61
|
+
return D(b) === y;
|
|
62
|
+
}, F.isFragment = function(b) {
|
|
63
|
+
return D(b) === n;
|
|
64
|
+
}, F.isLazy = function(b) {
|
|
65
|
+
return D(b) === v;
|
|
66
|
+
}, F.isMemo = function(b) {
|
|
67
|
+
return D(b) === u;
|
|
68
|
+
}, F.isPortal = function(b) {
|
|
69
|
+
return D(b) === t;
|
|
70
|
+
}, F.isProfiler = function(b) {
|
|
71
|
+
return D(b) === s;
|
|
72
|
+
}, F.isStrictMode = function(b) {
|
|
73
|
+
return D(b) === o;
|
|
74
|
+
}, F.isSuspense = function(b) {
|
|
75
|
+
return D(b) === m;
|
|
76
|
+
}, F.isValidElementType = function(b) {
|
|
77
|
+
return typeof b == "string" || typeof b == "function" || b === n || b === p || b === s || b === o || b === m || b === g || typeof b == "object" && b !== null && (b.$$typeof === v || b.$$typeof === u || b.$$typeof === a || b.$$typeof === l || b.$$typeof === y || b.$$typeof === S || b.$$typeof === _ || b.$$typeof === M || b.$$typeof === c);
|
|
78
78
|
}, F.typeOf = D, F;
|
|
79
79
|
}
|
|
80
80
|
var L = {};
|
|
81
81
|
var br;
|
|
82
82
|
function ct() {
|
|
83
83
|
return br || (br = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
84
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108,
|
|
85
|
-
function D(
|
|
86
|
-
return typeof
|
|
87
|
-
|
|
84
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, t = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, n = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, o = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, s = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, a = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, p = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, y = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, m = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, g = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, u = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, v = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, c = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, S = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, _ = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, M = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
85
|
+
function D(E) {
|
|
86
|
+
return typeof E == "string" || typeof E == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
87
|
+
E === n || E === p || E === s || E === o || E === m || E === g || typeof E == "object" && E !== null && (E.$$typeof === v || E.$$typeof === u || E.$$typeof === a || E.$$typeof === l || E.$$typeof === y || E.$$typeof === S || E.$$typeof === _ || E.$$typeof === M || E.$$typeof === c);
|
|
88
88
|
}
|
|
89
|
-
function $(
|
|
90
|
-
if (typeof
|
|
91
|
-
var ce =
|
|
89
|
+
function $(E) {
|
|
90
|
+
if (typeof E == "object" && E !== null) {
|
|
91
|
+
var ce = E.$$typeof;
|
|
92
92
|
switch (ce) {
|
|
93
93
|
case r:
|
|
94
|
-
var ke =
|
|
94
|
+
var ke = E.type;
|
|
95
95
|
switch (ke) {
|
|
96
|
-
case f:
|
|
97
96
|
case d:
|
|
97
|
+
case p:
|
|
98
98
|
case n:
|
|
99
|
-
case
|
|
99
|
+
case s:
|
|
100
100
|
case o:
|
|
101
|
-
case
|
|
101
|
+
case m:
|
|
102
102
|
return ke;
|
|
103
103
|
default:
|
|
104
104
|
var hr = ke && ke.$$typeof;
|
|
105
105
|
switch (hr) {
|
|
106
|
-
case
|
|
107
|
-
case
|
|
108
|
-
case b:
|
|
106
|
+
case l:
|
|
107
|
+
case y:
|
|
109
108
|
case v:
|
|
110
|
-
case
|
|
109
|
+
case u:
|
|
110
|
+
case a:
|
|
111
111
|
return hr;
|
|
112
112
|
default:
|
|
113
113
|
return ce;
|
|
@@ -118,47 +118,47 @@ function ct() {
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
var
|
|
122
|
-
function Je(
|
|
123
|
-
return se || (se = !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.")),
|
|
121
|
+
var b = d, x = p, ae = l, ue = a, J = r, Z = y, X = n, i = v, w = u, C = t, j = s, W = o, ee = m, se = !1;
|
|
122
|
+
function Je(E) {
|
|
123
|
+
return se || (se = !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.")), h(E) || $(E) === d;
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
return $(
|
|
125
|
+
function h(E) {
|
|
126
|
+
return $(E) === p;
|
|
127
127
|
}
|
|
128
|
-
function T(
|
|
129
|
-
return $(
|
|
128
|
+
function T(E) {
|
|
129
|
+
return $(E) === l;
|
|
130
130
|
}
|
|
131
|
-
function k(
|
|
132
|
-
return $(
|
|
131
|
+
function k(E) {
|
|
132
|
+
return $(E) === a;
|
|
133
133
|
}
|
|
134
|
-
function R(
|
|
135
|
-
return typeof
|
|
134
|
+
function R(E) {
|
|
135
|
+
return typeof E == "object" && E !== null && E.$$typeof === r;
|
|
136
136
|
}
|
|
137
|
-
function
|
|
138
|
-
return $(
|
|
137
|
+
function O(E) {
|
|
138
|
+
return $(E) === y;
|
|
139
139
|
}
|
|
140
|
-
function I(
|
|
141
|
-
return $(
|
|
140
|
+
function I(E) {
|
|
141
|
+
return $(E) === n;
|
|
142
142
|
}
|
|
143
|
-
function A(
|
|
144
|
-
return $(
|
|
143
|
+
function A(E) {
|
|
144
|
+
return $(E) === v;
|
|
145
145
|
}
|
|
146
|
-
function P(
|
|
147
|
-
return $(
|
|
146
|
+
function P(E) {
|
|
147
|
+
return $(E) === u;
|
|
148
148
|
}
|
|
149
|
-
function N(
|
|
150
|
-
return $(
|
|
149
|
+
function N(E) {
|
|
150
|
+
return $(E) === t;
|
|
151
151
|
}
|
|
152
|
-
function Y(
|
|
153
|
-
return $(
|
|
152
|
+
function Y(E) {
|
|
153
|
+
return $(E) === s;
|
|
154
154
|
}
|
|
155
|
-
function B(
|
|
156
|
-
return $(
|
|
155
|
+
function B(E) {
|
|
156
|
+
return $(E) === o;
|
|
157
157
|
}
|
|
158
|
-
function re(
|
|
159
|
-
return $(
|
|
158
|
+
function re(E) {
|
|
159
|
+
return $(E) === m;
|
|
160
160
|
}
|
|
161
|
-
L.AsyncMode =
|
|
161
|
+
L.AsyncMode = b, L.ConcurrentMode = x, L.ContextConsumer = ae, L.ContextProvider = ue, L.Element = J, L.ForwardRef = Z, L.Fragment = X, L.Lazy = i, L.Memo = w, L.Portal = C, L.Profiler = j, L.StrictMode = W, L.Suspense = ee, L.isAsyncMode = Je, L.isConcurrentMode = h, L.isContextConsumer = T, L.isContextProvider = k, L.isElement = R, L.isForwardRef = O, L.isFragment = I, L.isLazy = A, L.isMemo = P, L.isPortal = N, L.isProfiler = Y, L.isStrictMode = B, L.isSuspense = re, L.isValidElementType = D, L.typeOf = $;
|
|
162
162
|
})()), L;
|
|
163
163
|
}
|
|
164
164
|
var vr;
|
|
@@ -166,49 +166,49 @@ function Ur() {
|
|
|
166
166
|
return vr || (vr = 1, process.env.NODE_ENV === "production" ? Ne.exports = st() : Ne.exports = ct()), Ne.exports;
|
|
167
167
|
}
|
|
168
168
|
var Ze, Sr;
|
|
169
|
-
function
|
|
169
|
+
function lt() {
|
|
170
170
|
if (Sr) return Ze;
|
|
171
171
|
Sr = 1;
|
|
172
172
|
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
173
|
-
function n(
|
|
174
|
-
if (
|
|
173
|
+
function n(s) {
|
|
174
|
+
if (s == null)
|
|
175
175
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
176
|
-
return Object(
|
|
176
|
+
return Object(s);
|
|
177
177
|
}
|
|
178
178
|
function o() {
|
|
179
179
|
try {
|
|
180
180
|
if (!Object.assign)
|
|
181
181
|
return !1;
|
|
182
|
-
var
|
|
183
|
-
if (
|
|
182
|
+
var s = new String("abc");
|
|
183
|
+
if (s[5] = "de", Object.getOwnPropertyNames(s)[0] === "5")
|
|
184
184
|
return !1;
|
|
185
|
-
for (var
|
|
186
|
-
|
|
187
|
-
var
|
|
188
|
-
return
|
|
185
|
+
for (var a = {}, l = 0; l < 10; l++)
|
|
186
|
+
a["_" + String.fromCharCode(l)] = l;
|
|
187
|
+
var d = Object.getOwnPropertyNames(a).map(function(y) {
|
|
188
|
+
return a[y];
|
|
189
189
|
});
|
|
190
|
-
if (
|
|
190
|
+
if (d.join("") !== "0123456789")
|
|
191
191
|
return !1;
|
|
192
|
-
var
|
|
193
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
194
|
-
|
|
195
|
-
}), Object.keys(Object.assign({},
|
|
192
|
+
var p = {};
|
|
193
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(y) {
|
|
194
|
+
p[y] = y;
|
|
195
|
+
}), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
|
|
196
196
|
} catch {
|
|
197
197
|
return !1;
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
|
-
return Ze = o() ? Object.assign : function(
|
|
201
|
-
for (var
|
|
202
|
-
|
|
203
|
-
for (var
|
|
204
|
-
r.call(
|
|
200
|
+
return Ze = o() ? Object.assign : function(s, a) {
|
|
201
|
+
for (var l, d = n(s), p, y = 1; y < arguments.length; y++) {
|
|
202
|
+
l = Object(arguments[y]);
|
|
203
|
+
for (var m in l)
|
|
204
|
+
r.call(l, m) && (d[m] = l[m]);
|
|
205
205
|
if (e) {
|
|
206
|
-
|
|
207
|
-
for (var
|
|
208
|
-
t.call(
|
|
206
|
+
p = e(l);
|
|
207
|
+
for (var g = 0; g < p.length; g++)
|
|
208
|
+
t.call(l, p[g]) && (d[p[g]] = l[p[g]]);
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
return
|
|
211
|
+
return d;
|
|
212
212
|
}, Ze;
|
|
213
213
|
}
|
|
214
214
|
var er, Er;
|
|
@@ -223,45 +223,45 @@ function zr() {
|
|
|
223
223
|
return Cr || (Cr = 1, rr = Function.call.bind(Object.prototype.hasOwnProperty)), rr;
|
|
224
224
|
}
|
|
225
225
|
var tr, Tr;
|
|
226
|
-
function
|
|
226
|
+
function ut() {
|
|
227
227
|
if (Tr) return tr;
|
|
228
228
|
Tr = 1;
|
|
229
229
|
var e = function() {
|
|
230
230
|
};
|
|
231
231
|
if (process.env.NODE_ENV !== "production") {
|
|
232
232
|
var r = /* @__PURE__ */ fr(), t = {}, n = /* @__PURE__ */ zr();
|
|
233
|
-
e = function(
|
|
234
|
-
var
|
|
235
|
-
typeof console < "u" && console.error(
|
|
233
|
+
e = function(s) {
|
|
234
|
+
var a = "Warning: " + s;
|
|
235
|
+
typeof console < "u" && console.error(a);
|
|
236
236
|
try {
|
|
237
|
-
throw new Error(
|
|
237
|
+
throw new Error(a);
|
|
238
238
|
} catch {
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
241
|
}
|
|
242
|
-
function o(
|
|
242
|
+
function o(s, a, l, d, p) {
|
|
243
243
|
if (process.env.NODE_ENV !== "production") {
|
|
244
|
-
for (var
|
|
245
|
-
if (n(
|
|
246
|
-
var
|
|
244
|
+
for (var y in s)
|
|
245
|
+
if (n(s, y)) {
|
|
246
|
+
var m;
|
|
247
247
|
try {
|
|
248
|
-
if (typeof
|
|
249
|
-
var
|
|
250
|
-
(
|
|
248
|
+
if (typeof s[y] != "function") {
|
|
249
|
+
var g = Error(
|
|
250
|
+
(d || "React class") + ": " + l + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
251
251
|
);
|
|
252
|
-
throw
|
|
252
|
+
throw g.name = "Invariant Violation", g;
|
|
253
253
|
}
|
|
254
|
-
|
|
255
|
-
} catch (
|
|
256
|
-
|
|
254
|
+
m = s[y](a, y, d, l, null, r);
|
|
255
|
+
} catch (v) {
|
|
256
|
+
m = v;
|
|
257
257
|
}
|
|
258
|
-
if (
|
|
259
|
-
(
|
|
260
|
-
),
|
|
261
|
-
t[
|
|
262
|
-
var
|
|
258
|
+
if (m && !(m instanceof Error) && e(
|
|
259
|
+
(d || "React class") + ": type specification of " + l + " `" + y + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
260
|
+
), m instanceof Error && !(m.message in t)) {
|
|
261
|
+
t[m.message] = !0;
|
|
262
|
+
var u = p ? p() : "";
|
|
263
263
|
e(
|
|
264
|
-
"Failed " +
|
|
264
|
+
"Failed " + l + " type: " + m.message + (u ?? "")
|
|
265
265
|
);
|
|
266
266
|
}
|
|
267
267
|
}
|
|
@@ -275,27 +275,27 @@ var nr, $r;
|
|
|
275
275
|
function ft() {
|
|
276
276
|
if ($r) return nr;
|
|
277
277
|
$r = 1;
|
|
278
|
-
var e = Ur(), r =
|
|
278
|
+
var e = Ur(), r = lt(), t = /* @__PURE__ */ fr(), n = /* @__PURE__ */ zr(), o = /* @__PURE__ */ ut(), s = function() {
|
|
279
279
|
};
|
|
280
|
-
process.env.NODE_ENV !== "production" && (
|
|
281
|
-
var
|
|
282
|
-
typeof console < "u" && console.error(
|
|
280
|
+
process.env.NODE_ENV !== "production" && (s = function(l) {
|
|
281
|
+
var d = "Warning: " + l;
|
|
282
|
+
typeof console < "u" && console.error(d);
|
|
283
283
|
try {
|
|
284
|
-
throw new Error(
|
|
284
|
+
throw new Error(d);
|
|
285
285
|
} catch {
|
|
286
286
|
}
|
|
287
287
|
});
|
|
288
|
-
function
|
|
288
|
+
function a() {
|
|
289
289
|
return null;
|
|
290
290
|
}
|
|
291
|
-
return nr = function(
|
|
292
|
-
var
|
|
293
|
-
function
|
|
294
|
-
var T =
|
|
291
|
+
return nr = function(l, d) {
|
|
292
|
+
var p = typeof Symbol == "function" && Symbol.iterator, y = "@@iterator";
|
|
293
|
+
function m(h) {
|
|
294
|
+
var T = h && (p && h[p] || h[y]);
|
|
295
295
|
if (typeof T == "function")
|
|
296
296
|
return T;
|
|
297
297
|
}
|
|
298
|
-
var
|
|
298
|
+
var g = "<<anonymous>>", u = {
|
|
299
299
|
array: _("array"),
|
|
300
300
|
bigint: _("bigint"),
|
|
301
301
|
bool: _("boolean"),
|
|
@@ -307,243 +307,243 @@ function ft() {
|
|
|
307
307
|
any: M(),
|
|
308
308
|
arrayOf: D,
|
|
309
309
|
element: $(),
|
|
310
|
-
elementType:
|
|
311
|
-
instanceOf:
|
|
310
|
+
elementType: b(),
|
|
311
|
+
instanceOf: x,
|
|
312
312
|
node: Z(),
|
|
313
|
-
objectOf:
|
|
313
|
+
objectOf: ue,
|
|
314
314
|
oneOf: ae,
|
|
315
315
|
oneOfType: J,
|
|
316
316
|
shape: i,
|
|
317
|
-
exact:
|
|
317
|
+
exact: w
|
|
318
318
|
};
|
|
319
|
-
function
|
|
320
|
-
return
|
|
319
|
+
function v(h, T) {
|
|
320
|
+
return h === T ? h !== 0 || 1 / h === 1 / T : h !== h && T !== T;
|
|
321
321
|
}
|
|
322
|
-
function
|
|
323
|
-
this.message =
|
|
322
|
+
function c(h, T) {
|
|
323
|
+
this.message = h, this.data = T && typeof T == "object" ? T : {}, this.stack = "";
|
|
324
324
|
}
|
|
325
|
-
|
|
326
|
-
function
|
|
325
|
+
c.prototype = Error.prototype;
|
|
326
|
+
function S(h) {
|
|
327
327
|
if (process.env.NODE_ENV !== "production")
|
|
328
328
|
var T = {}, k = 0;
|
|
329
329
|
function R(I, A, P, N, Y, B, re) {
|
|
330
|
-
if (N = N ||
|
|
331
|
-
if (
|
|
332
|
-
var
|
|
330
|
+
if (N = N || g, B = B || P, re !== t) {
|
|
331
|
+
if (d) {
|
|
332
|
+
var E = new Error(
|
|
333
333
|
"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"
|
|
334
334
|
);
|
|
335
|
-
throw
|
|
335
|
+
throw E.name = "Invariant Violation", E;
|
|
336
336
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
337
337
|
var ce = N + ":" + P;
|
|
338
338
|
!T[ce] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
339
|
-
k < 3 && (
|
|
339
|
+
k < 3 && (s(
|
|
340
340
|
"You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" + N + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
341
341
|
), T[ce] = !0, k++);
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
return A[P] == null ? I ? A[P] === null ? new
|
|
344
|
+
return A[P] == null ? I ? A[P] === null ? new c("The " + Y + " `" + B + "` is marked as required " + ("in `" + N + "`, but its value is `null`.")) : new c("The " + Y + " `" + B + "` is marked as required in " + ("`" + N + "`, but its value is `undefined`.")) : null : h(A, P, N, Y, B);
|
|
345
345
|
}
|
|
346
|
-
var
|
|
347
|
-
return
|
|
346
|
+
var O = R.bind(null, !1);
|
|
347
|
+
return O.isRequired = R.bind(null, !0), O;
|
|
348
348
|
}
|
|
349
|
-
function _(
|
|
350
|
-
function T(k, R,
|
|
349
|
+
function _(h) {
|
|
350
|
+
function T(k, R, O, I, A, P) {
|
|
351
351
|
var N = k[R], Y = W(N);
|
|
352
|
-
if (Y !==
|
|
352
|
+
if (Y !== h) {
|
|
353
353
|
var B = ee(N);
|
|
354
|
-
return new
|
|
355
|
-
"Invalid " + I + " `" + A + "` of type " + ("`" + B + "` supplied to `" +
|
|
356
|
-
{ expectedType:
|
|
354
|
+
return new c(
|
|
355
|
+
"Invalid " + I + " `" + A + "` of type " + ("`" + B + "` supplied to `" + O + "`, expected ") + ("`" + h + "`."),
|
|
356
|
+
{ expectedType: h }
|
|
357
357
|
);
|
|
358
358
|
}
|
|
359
359
|
return null;
|
|
360
360
|
}
|
|
361
|
-
return
|
|
361
|
+
return S(T);
|
|
362
362
|
}
|
|
363
363
|
function M() {
|
|
364
|
-
return
|
|
364
|
+
return S(a);
|
|
365
365
|
}
|
|
366
|
-
function D(
|
|
367
|
-
function T(k, R,
|
|
368
|
-
if (typeof
|
|
369
|
-
return new
|
|
366
|
+
function D(h) {
|
|
367
|
+
function T(k, R, O, I, A) {
|
|
368
|
+
if (typeof h != "function")
|
|
369
|
+
return new c("Property `" + A + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
|
|
370
370
|
var P = k[R];
|
|
371
371
|
if (!Array.isArray(P)) {
|
|
372
372
|
var N = W(P);
|
|
373
|
-
return new
|
|
373
|
+
return new c("Invalid " + I + " `" + A + "` of type " + ("`" + N + "` supplied to `" + O + "`, expected an array."));
|
|
374
374
|
}
|
|
375
375
|
for (var Y = 0; Y < P.length; Y++) {
|
|
376
|
-
var B =
|
|
376
|
+
var B = h(P, Y, O, I, A + "[" + Y + "]", t);
|
|
377
377
|
if (B instanceof Error)
|
|
378
378
|
return B;
|
|
379
379
|
}
|
|
380
380
|
return null;
|
|
381
381
|
}
|
|
382
|
-
return
|
|
382
|
+
return S(T);
|
|
383
383
|
}
|
|
384
384
|
function $() {
|
|
385
|
-
function
|
|
385
|
+
function h(T, k, R, O, I) {
|
|
386
386
|
var A = T[k];
|
|
387
|
-
if (!
|
|
387
|
+
if (!l(A)) {
|
|
388
388
|
var P = W(A);
|
|
389
|
-
return new
|
|
389
|
+
return new c("Invalid " + O + " `" + I + "` of type " + ("`" + P + "` supplied to `" + R + "`, expected a single ReactElement."));
|
|
390
390
|
}
|
|
391
391
|
return null;
|
|
392
392
|
}
|
|
393
|
-
return
|
|
393
|
+
return S(h);
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
function
|
|
395
|
+
function b() {
|
|
396
|
+
function h(T, k, R, O, I) {
|
|
397
397
|
var A = T[k];
|
|
398
398
|
if (!e.isValidElementType(A)) {
|
|
399
399
|
var P = W(A);
|
|
400
|
-
return new
|
|
400
|
+
return new c("Invalid " + O + " `" + I + "` of type " + ("`" + P + "` supplied to `" + R + "`, expected a single ReactElement type."));
|
|
401
401
|
}
|
|
402
402
|
return null;
|
|
403
403
|
}
|
|
404
|
-
return
|
|
404
|
+
return S(h);
|
|
405
405
|
}
|
|
406
|
-
function
|
|
407
|
-
function T(k, R,
|
|
408
|
-
if (!(k[R] instanceof
|
|
409
|
-
var P =
|
|
410
|
-
return new
|
|
406
|
+
function x(h) {
|
|
407
|
+
function T(k, R, O, I, A) {
|
|
408
|
+
if (!(k[R] instanceof h)) {
|
|
409
|
+
var P = h.name || g, N = Je(k[R]);
|
|
410
|
+
return new c("Invalid " + I + " `" + A + "` of type " + ("`" + N + "` supplied to `" + O + "`, expected ") + ("instance of `" + P + "`."));
|
|
411
411
|
}
|
|
412
412
|
return null;
|
|
413
413
|
}
|
|
414
|
-
return
|
|
414
|
+
return S(T);
|
|
415
415
|
}
|
|
416
|
-
function ae(
|
|
417
|
-
if (!Array.isArray(
|
|
418
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ?
|
|
416
|
+
function ae(h) {
|
|
417
|
+
if (!Array.isArray(h))
|
|
418
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
|
|
419
419
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
420
|
-
) :
|
|
421
|
-
function T(k, R,
|
|
422
|
-
for (var P = k[R], N = 0; N <
|
|
423
|
-
if (
|
|
420
|
+
) : s("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
421
|
+
function T(k, R, O, I, A) {
|
|
422
|
+
for (var P = k[R], N = 0; N < h.length; N++)
|
|
423
|
+
if (v(P, h[N]))
|
|
424
424
|
return null;
|
|
425
|
-
var Y = JSON.stringify(
|
|
426
|
-
var ce = ee(
|
|
427
|
-
return ce === "symbol" ? String(
|
|
425
|
+
var Y = JSON.stringify(h, function(re, E) {
|
|
426
|
+
var ce = ee(E);
|
|
427
|
+
return ce === "symbol" ? String(E) : E;
|
|
428
428
|
});
|
|
429
|
-
return new
|
|
429
|
+
return new c("Invalid " + I + " `" + A + "` of value `" + String(P) + "` " + ("supplied to `" + O + "`, expected one of " + Y + "."));
|
|
430
430
|
}
|
|
431
|
-
return
|
|
431
|
+
return S(T);
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
function T(k, R,
|
|
435
|
-
if (typeof
|
|
436
|
-
return new
|
|
433
|
+
function ue(h) {
|
|
434
|
+
function T(k, R, O, I, A) {
|
|
435
|
+
if (typeof h != "function")
|
|
436
|
+
return new c("Property `" + A + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
|
|
437
437
|
var P = k[R], N = W(P);
|
|
438
438
|
if (N !== "object")
|
|
439
|
-
return new
|
|
439
|
+
return new c("Invalid " + I + " `" + A + "` of type " + ("`" + N + "` supplied to `" + O + "`, expected an object."));
|
|
440
440
|
for (var Y in P)
|
|
441
441
|
if (n(P, Y)) {
|
|
442
|
-
var B =
|
|
442
|
+
var B = h(P, Y, O, I, A + "." + Y, t);
|
|
443
443
|
if (B instanceof Error)
|
|
444
444
|
return B;
|
|
445
445
|
}
|
|
446
446
|
return null;
|
|
447
447
|
}
|
|
448
|
-
return
|
|
448
|
+
return S(T);
|
|
449
449
|
}
|
|
450
|
-
function J(
|
|
451
|
-
if (!Array.isArray(
|
|
452
|
-
return process.env.NODE_ENV !== "production" &&
|
|
453
|
-
for (var T = 0; T <
|
|
454
|
-
var k =
|
|
450
|
+
function J(h) {
|
|
451
|
+
if (!Array.isArray(h))
|
|
452
|
+
return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
453
|
+
for (var T = 0; T < h.length; T++) {
|
|
454
|
+
var k = h[T];
|
|
455
455
|
if (typeof k != "function")
|
|
456
|
-
return
|
|
456
|
+
return s(
|
|
457
457
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + se(k) + " at index " + T + "."
|
|
458
|
-
),
|
|
458
|
+
), a;
|
|
459
459
|
}
|
|
460
|
-
function R(
|
|
461
|
-
for (var Y = [], B = 0; B <
|
|
462
|
-
var re =
|
|
463
|
-
if (
|
|
460
|
+
function R(O, I, A, P, N) {
|
|
461
|
+
for (var Y = [], B = 0; B < h.length; B++) {
|
|
462
|
+
var re = h[B], E = re(O, I, A, P, N, t);
|
|
463
|
+
if (E == null)
|
|
464
464
|
return null;
|
|
465
|
-
|
|
465
|
+
E.data && n(E.data, "expectedType") && Y.push(E.data.expectedType);
|
|
466
466
|
}
|
|
467
467
|
var ce = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
|
|
468
|
-
return new
|
|
468
|
+
return new c("Invalid " + P + " `" + N + "` supplied to " + ("`" + A + "`" + ce + "."));
|
|
469
469
|
}
|
|
470
|
-
return
|
|
470
|
+
return S(R);
|
|
471
471
|
}
|
|
472
472
|
function Z() {
|
|
473
|
-
function
|
|
474
|
-
return
|
|
473
|
+
function h(T, k, R, O, I) {
|
|
474
|
+
return C(T[k]) ? null : new c("Invalid " + O + " `" + I + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
|
|
475
475
|
}
|
|
476
|
-
return
|
|
476
|
+
return S(h);
|
|
477
477
|
}
|
|
478
|
-
function X(
|
|
479
|
-
return new
|
|
480
|
-
(
|
|
478
|
+
function X(h, T, k, R, O) {
|
|
479
|
+
return new c(
|
|
480
|
+
(h || "React class") + ": " + T + " type `" + k + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
|
|
481
481
|
);
|
|
482
482
|
}
|
|
483
|
-
function i(
|
|
484
|
-
function T(k, R,
|
|
483
|
+
function i(h) {
|
|
484
|
+
function T(k, R, O, I, A) {
|
|
485
485
|
var P = k[R], N = W(P);
|
|
486
486
|
if (N !== "object")
|
|
487
|
-
return new
|
|
488
|
-
for (var Y in
|
|
489
|
-
var B =
|
|
487
|
+
return new c("Invalid " + I + " `" + A + "` of type `" + N + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
488
|
+
for (var Y in h) {
|
|
489
|
+
var B = h[Y];
|
|
490
490
|
if (typeof B != "function")
|
|
491
|
-
return X(
|
|
492
|
-
var re = B(P, Y,
|
|
491
|
+
return X(O, I, A, Y, ee(B));
|
|
492
|
+
var re = B(P, Y, O, I, A + "." + Y, t);
|
|
493
493
|
if (re)
|
|
494
494
|
return re;
|
|
495
495
|
}
|
|
496
496
|
return null;
|
|
497
497
|
}
|
|
498
|
-
return
|
|
498
|
+
return S(T);
|
|
499
499
|
}
|
|
500
|
-
function
|
|
501
|
-
function T(k, R,
|
|
500
|
+
function w(h) {
|
|
501
|
+
function T(k, R, O, I, A) {
|
|
502
502
|
var P = k[R], N = W(P);
|
|
503
503
|
if (N !== "object")
|
|
504
|
-
return new
|
|
505
|
-
var Y = r({}, k[R],
|
|
504
|
+
return new c("Invalid " + I + " `" + A + "` of type `" + N + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
505
|
+
var Y = r({}, k[R], h);
|
|
506
506
|
for (var B in Y) {
|
|
507
|
-
var re =
|
|
508
|
-
if (n(
|
|
509
|
-
return X(
|
|
507
|
+
var re = h[B];
|
|
508
|
+
if (n(h, B) && typeof re != "function")
|
|
509
|
+
return X(O, I, A, B, ee(re));
|
|
510
510
|
if (!re)
|
|
511
|
-
return new
|
|
512
|
-
"Invalid " + I + " `" + A + "` key `" + B + "` supplied to `" +
|
|
513
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
511
|
+
return new c(
|
|
512
|
+
"Invalid " + I + " `" + A + "` key `" + B + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(k[R], null, " ") + `
|
|
513
|
+
Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
|
|
514
514
|
);
|
|
515
|
-
var
|
|
516
|
-
if (
|
|
517
|
-
return
|
|
515
|
+
var E = re(P, B, O, I, A + "." + B, t);
|
|
516
|
+
if (E)
|
|
517
|
+
return E;
|
|
518
518
|
}
|
|
519
519
|
return null;
|
|
520
520
|
}
|
|
521
|
-
return
|
|
521
|
+
return S(T);
|
|
522
522
|
}
|
|
523
|
-
function
|
|
524
|
-
switch (typeof
|
|
523
|
+
function C(h) {
|
|
524
|
+
switch (typeof h) {
|
|
525
525
|
case "number":
|
|
526
526
|
case "string":
|
|
527
527
|
case "undefined":
|
|
528
528
|
return !0;
|
|
529
529
|
case "boolean":
|
|
530
|
-
return !
|
|
530
|
+
return !h;
|
|
531
531
|
case "object":
|
|
532
|
-
if (Array.isArray(
|
|
533
|
-
return
|
|
534
|
-
if (
|
|
532
|
+
if (Array.isArray(h))
|
|
533
|
+
return h.every(C);
|
|
534
|
+
if (h === null || l(h))
|
|
535
535
|
return !0;
|
|
536
|
-
var T =
|
|
536
|
+
var T = m(h);
|
|
537
537
|
if (T) {
|
|
538
|
-
var k = T.call(
|
|
539
|
-
if (T !==
|
|
538
|
+
var k = T.call(h), R;
|
|
539
|
+
if (T !== h.entries) {
|
|
540
540
|
for (; !(R = k.next()).done; )
|
|
541
|
-
if (!
|
|
541
|
+
if (!C(R.value))
|
|
542
542
|
return !1;
|
|
543
543
|
} else
|
|
544
544
|
for (; !(R = k.next()).done; ) {
|
|
545
|
-
var
|
|
546
|
-
if (
|
|
545
|
+
var O = R.value;
|
|
546
|
+
if (O && !C(O[1]))
|
|
547
547
|
return !1;
|
|
548
548
|
}
|
|
549
549
|
} else
|
|
@@ -553,27 +553,27 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
553
553
|
return !1;
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
function j(
|
|
557
|
-
return
|
|
556
|
+
function j(h, T) {
|
|
557
|
+
return h === "symbol" ? !0 : T ? T["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && T instanceof Symbol : !1;
|
|
558
558
|
}
|
|
559
|
-
function W(
|
|
560
|
-
var T = typeof
|
|
561
|
-
return Array.isArray(
|
|
559
|
+
function W(h) {
|
|
560
|
+
var T = typeof h;
|
|
561
|
+
return Array.isArray(h) ? "array" : h instanceof RegExp ? "object" : j(T, h) ? "symbol" : T;
|
|
562
562
|
}
|
|
563
|
-
function ee(
|
|
564
|
-
if (typeof
|
|
565
|
-
return "" +
|
|
566
|
-
var T = W(
|
|
563
|
+
function ee(h) {
|
|
564
|
+
if (typeof h > "u" || h === null)
|
|
565
|
+
return "" + h;
|
|
566
|
+
var T = W(h);
|
|
567
567
|
if (T === "object") {
|
|
568
|
-
if (
|
|
568
|
+
if (h instanceof Date)
|
|
569
569
|
return "date";
|
|
570
|
-
if (
|
|
570
|
+
if (h instanceof RegExp)
|
|
571
571
|
return "regexp";
|
|
572
572
|
}
|
|
573
573
|
return T;
|
|
574
574
|
}
|
|
575
|
-
function se(
|
|
576
|
-
var T = ee(
|
|
575
|
+
function se(h) {
|
|
576
|
+
var T = ee(h);
|
|
577
577
|
switch (T) {
|
|
578
578
|
case "array":
|
|
579
579
|
case "object":
|
|
@@ -586,35 +586,35 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
586
586
|
return T;
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
|
-
function Je(
|
|
590
|
-
return !
|
|
589
|
+
function Je(h) {
|
|
590
|
+
return !h.constructor || !h.constructor.name ? g : h.constructor.name;
|
|
591
591
|
}
|
|
592
|
-
return
|
|
592
|
+
return u.checkPropTypes = o, u.resetWarningCache = o.resetWarningCache, u.PropTypes = u, u;
|
|
593
593
|
}, nr;
|
|
594
594
|
}
|
|
595
|
-
var or,
|
|
595
|
+
var or, wr;
|
|
596
596
|
function dt() {
|
|
597
|
-
if (
|
|
598
|
-
|
|
597
|
+
if (wr) return or;
|
|
598
|
+
wr = 1;
|
|
599
599
|
var e = /* @__PURE__ */ fr();
|
|
600
600
|
function r() {
|
|
601
601
|
}
|
|
602
602
|
function t() {
|
|
603
603
|
}
|
|
604
604
|
return t.resetWarningCache = r, or = function() {
|
|
605
|
-
function n(
|
|
606
|
-
if (
|
|
607
|
-
var
|
|
605
|
+
function n(a, l, d, p, y, m) {
|
|
606
|
+
if (m !== e) {
|
|
607
|
+
var g = new Error(
|
|
608
608
|
"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"
|
|
609
609
|
);
|
|
610
|
-
throw
|
|
610
|
+
throw g.name = "Invariant Violation", g;
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
613
|
n.isRequired = n;
|
|
614
614
|
function o() {
|
|
615
615
|
return n;
|
|
616
616
|
}
|
|
617
|
-
var
|
|
617
|
+
var s = {
|
|
618
618
|
array: n,
|
|
619
619
|
bigint: n,
|
|
620
620
|
bool: n,
|
|
@@ -637,13 +637,13 @@ function dt() {
|
|
|
637
637
|
checkPropTypes: t,
|
|
638
638
|
resetWarningCache: r
|
|
639
639
|
};
|
|
640
|
-
return
|
|
640
|
+
return s.PropTypes = s, s;
|
|
641
641
|
}, or;
|
|
642
642
|
}
|
|
643
|
-
var
|
|
643
|
+
var xr;
|
|
644
644
|
function pt() {
|
|
645
|
-
if (
|
|
646
|
-
if (
|
|
645
|
+
if (xr) return Ie.exports;
|
|
646
|
+
if (xr = 1, process.env.NODE_ENV !== "production") {
|
|
647
647
|
var e = Ur(), r = !0;
|
|
648
648
|
Ie.exports = /* @__PURE__ */ ft()(e.isElement, r);
|
|
649
649
|
} else
|
|
@@ -653,132 +653,132 @@ function pt() {
|
|
|
653
653
|
var mt = /* @__PURE__ */ pt();
|
|
654
654
|
const $e = /* @__PURE__ */ it(mt);
|
|
655
655
|
var Be = { exports: {} }, z = {};
|
|
656
|
-
var
|
|
656
|
+
var Or;
|
|
657
657
|
function gt() {
|
|
658
|
-
if (
|
|
659
|
-
|
|
660
|
-
var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), t = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"),
|
|
661
|
-
function
|
|
662
|
-
if (typeof
|
|
663
|
-
var
|
|
664
|
-
switch (
|
|
658
|
+
if (Or) return z;
|
|
659
|
+
Or = 1;
|
|
660
|
+
var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), t = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), s = /* @__PURE__ */ Symbol.for("react.consumer"), a = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), y = /* @__PURE__ */ Symbol.for("react.memo"), m = /* @__PURE__ */ Symbol.for("react.lazy"), g = /* @__PURE__ */ Symbol.for("react.view_transition"), u = /* @__PURE__ */ Symbol.for("react.client.reference");
|
|
661
|
+
function v(c) {
|
|
662
|
+
if (typeof c == "object" && c !== null) {
|
|
663
|
+
var S = c.$$typeof;
|
|
664
|
+
switch (S) {
|
|
665
665
|
case e:
|
|
666
|
-
switch (
|
|
666
|
+
switch (c = c.type, c) {
|
|
667
667
|
case t:
|
|
668
668
|
case o:
|
|
669
669
|
case n:
|
|
670
|
-
case f:
|
|
671
670
|
case d:
|
|
672
|
-
case
|
|
673
|
-
|
|
671
|
+
case p:
|
|
672
|
+
case g:
|
|
673
|
+
return c;
|
|
674
674
|
default:
|
|
675
|
-
switch (
|
|
676
|
-
case c:
|
|
677
|
-
case u:
|
|
678
|
-
case p:
|
|
679
|
-
case h:
|
|
680
|
-
return s;
|
|
675
|
+
switch (c = c && c.$$typeof, c) {
|
|
681
676
|
case a:
|
|
682
|
-
|
|
677
|
+
case l:
|
|
678
|
+
case m:
|
|
679
|
+
case y:
|
|
680
|
+
return c;
|
|
681
|
+
case s:
|
|
682
|
+
return c;
|
|
683
683
|
default:
|
|
684
|
-
return
|
|
684
|
+
return S;
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
687
|
case r:
|
|
688
|
-
return
|
|
688
|
+
return S;
|
|
689
689
|
}
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
|
-
return z.ContextConsumer =
|
|
693
|
-
return
|
|
694
|
-
}, z.isContextProvider = function(
|
|
695
|
-
return
|
|
696
|
-
}, z.isElement = function(
|
|
697
|
-
return typeof
|
|
698
|
-
}, z.isForwardRef = function(
|
|
699
|
-
return
|
|
700
|
-
}, z.isFragment = function(
|
|
701
|
-
return
|
|
702
|
-
}, z.isLazy = function(
|
|
703
|
-
return
|
|
704
|
-
}, z.isMemo = function(
|
|
705
|
-
return
|
|
706
|
-
}, z.isPortal = function(
|
|
707
|
-
return
|
|
708
|
-
}, z.isProfiler = function(
|
|
709
|
-
return
|
|
710
|
-
}, z.isStrictMode = function(
|
|
711
|
-
return
|
|
712
|
-
}, z.isSuspense = function(
|
|
713
|
-
return
|
|
714
|
-
}, z.isSuspenseList = function(
|
|
715
|
-
return
|
|
716
|
-
}, z.isValidElementType = function(
|
|
717
|
-
return typeof
|
|
718
|
-
}, z.typeOf =
|
|
692
|
+
return z.ContextConsumer = s, z.ContextProvider = a, z.Element = e, z.ForwardRef = l, z.Fragment = t, z.Lazy = m, z.Memo = y, z.Portal = r, z.Profiler = o, z.StrictMode = n, z.Suspense = d, z.SuspenseList = p, z.isContextConsumer = function(c) {
|
|
693
|
+
return v(c) === s;
|
|
694
|
+
}, z.isContextProvider = function(c) {
|
|
695
|
+
return v(c) === a;
|
|
696
|
+
}, z.isElement = function(c) {
|
|
697
|
+
return typeof c == "object" && c !== null && c.$$typeof === e;
|
|
698
|
+
}, z.isForwardRef = function(c) {
|
|
699
|
+
return v(c) === l;
|
|
700
|
+
}, z.isFragment = function(c) {
|
|
701
|
+
return v(c) === t;
|
|
702
|
+
}, z.isLazy = function(c) {
|
|
703
|
+
return v(c) === m;
|
|
704
|
+
}, z.isMemo = function(c) {
|
|
705
|
+
return v(c) === y;
|
|
706
|
+
}, z.isPortal = function(c) {
|
|
707
|
+
return v(c) === r;
|
|
708
|
+
}, z.isProfiler = function(c) {
|
|
709
|
+
return v(c) === o;
|
|
710
|
+
}, z.isStrictMode = function(c) {
|
|
711
|
+
return v(c) === n;
|
|
712
|
+
}, z.isSuspense = function(c) {
|
|
713
|
+
return v(c) === d;
|
|
714
|
+
}, z.isSuspenseList = function(c) {
|
|
715
|
+
return v(c) === p;
|
|
716
|
+
}, z.isValidElementType = function(c) {
|
|
717
|
+
return typeof c == "string" || typeof c == "function" || c === t || c === o || c === n || c === d || c === p || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === y || c.$$typeof === a || c.$$typeof === s || c.$$typeof === l || c.$$typeof === u || c.getModuleId !== void 0);
|
|
718
|
+
}, z.typeOf = v, z;
|
|
719
719
|
}
|
|
720
720
|
var q = {};
|
|
721
721
|
var _r;
|
|
722
722
|
function ht() {
|
|
723
723
|
return _r || (_r = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
724
|
-
function e(
|
|
725
|
-
if (typeof
|
|
726
|
-
var
|
|
727
|
-
switch (
|
|
724
|
+
function e(c) {
|
|
725
|
+
if (typeof c == "object" && c !== null) {
|
|
726
|
+
var S = c.$$typeof;
|
|
727
|
+
switch (S) {
|
|
728
728
|
case r:
|
|
729
|
-
switch (
|
|
729
|
+
switch (c = c.type, c) {
|
|
730
730
|
case n:
|
|
731
|
-
case
|
|
731
|
+
case s:
|
|
732
732
|
case o:
|
|
733
|
-
case
|
|
734
|
-
case
|
|
735
|
-
case
|
|
736
|
-
return
|
|
733
|
+
case p:
|
|
734
|
+
case y:
|
|
735
|
+
case u:
|
|
736
|
+
return c;
|
|
737
737
|
default:
|
|
738
|
-
switch (
|
|
739
|
-
case
|
|
740
|
-
case
|
|
738
|
+
switch (c = c && c.$$typeof, c) {
|
|
739
|
+
case l:
|
|
740
|
+
case d:
|
|
741
|
+
case g:
|
|
741
742
|
case m:
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
return s;
|
|
743
|
+
return c;
|
|
744
|
+
case a:
|
|
745
|
+
return c;
|
|
746
746
|
default:
|
|
747
|
-
return
|
|
747
|
+
return S;
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
750
|
case t:
|
|
751
|
-
return
|
|
751
|
+
return S;
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
|
-
var r = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"),
|
|
756
|
-
q.ContextConsumer =
|
|
757
|
-
return e(
|
|
758
|
-
}, q.isContextProvider = function(
|
|
759
|
-
return e(
|
|
760
|
-
}, q.isElement = function(
|
|
761
|
-
return typeof
|
|
762
|
-
}, q.isForwardRef = function(
|
|
763
|
-
return e(
|
|
764
|
-
}, q.isFragment = function(
|
|
765
|
-
return e(
|
|
766
|
-
}, q.isLazy = function(
|
|
767
|
-
return e(
|
|
768
|
-
}, q.isMemo = function(
|
|
769
|
-
return e(
|
|
770
|
-
}, q.isPortal = function(
|
|
771
|
-
return e(
|
|
772
|
-
}, q.isProfiler = function(
|
|
773
|
-
return e(
|
|
774
|
-
}, q.isStrictMode = function(
|
|
775
|
-
return e(
|
|
776
|
-
}, q.isSuspense = function(
|
|
777
|
-
return e(
|
|
778
|
-
}, q.isSuspenseList = function(
|
|
779
|
-
return e(
|
|
780
|
-
}, q.isValidElementType = function(
|
|
781
|
-
return typeof
|
|
755
|
+
var r = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), s = /* @__PURE__ */ Symbol.for("react.profiler"), a = /* @__PURE__ */ Symbol.for("react.consumer"), l = /* @__PURE__ */ Symbol.for("react.context"), d = /* @__PURE__ */ Symbol.for("react.forward_ref"), p = /* @__PURE__ */ Symbol.for("react.suspense"), y = /* @__PURE__ */ Symbol.for("react.suspense_list"), m = /* @__PURE__ */ Symbol.for("react.memo"), g = /* @__PURE__ */ Symbol.for("react.lazy"), u = /* @__PURE__ */ Symbol.for("react.view_transition"), v = /* @__PURE__ */ Symbol.for("react.client.reference");
|
|
756
|
+
q.ContextConsumer = a, q.ContextProvider = l, q.Element = r, q.ForwardRef = d, q.Fragment = n, q.Lazy = g, q.Memo = m, q.Portal = t, q.Profiler = s, q.StrictMode = o, q.Suspense = p, q.SuspenseList = y, q.isContextConsumer = function(c) {
|
|
757
|
+
return e(c) === a;
|
|
758
|
+
}, q.isContextProvider = function(c) {
|
|
759
|
+
return e(c) === l;
|
|
760
|
+
}, q.isElement = function(c) {
|
|
761
|
+
return typeof c == "object" && c !== null && c.$$typeof === r;
|
|
762
|
+
}, q.isForwardRef = function(c) {
|
|
763
|
+
return e(c) === d;
|
|
764
|
+
}, q.isFragment = function(c) {
|
|
765
|
+
return e(c) === n;
|
|
766
|
+
}, q.isLazy = function(c) {
|
|
767
|
+
return e(c) === g;
|
|
768
|
+
}, q.isMemo = function(c) {
|
|
769
|
+
return e(c) === m;
|
|
770
|
+
}, q.isPortal = function(c) {
|
|
771
|
+
return e(c) === t;
|
|
772
|
+
}, q.isProfiler = function(c) {
|
|
773
|
+
return e(c) === s;
|
|
774
|
+
}, q.isStrictMode = function(c) {
|
|
775
|
+
return e(c) === o;
|
|
776
|
+
}, q.isSuspense = function(c) {
|
|
777
|
+
return e(c) === p;
|
|
778
|
+
}, q.isSuspenseList = function(c) {
|
|
779
|
+
return e(c) === y;
|
|
780
|
+
}, q.isValidElementType = function(c) {
|
|
781
|
+
return typeof c == "string" || typeof c == "function" || c === n || c === s || c === o || c === p || c === y || typeof c == "object" && c !== null && (c.$$typeof === g || c.$$typeof === m || c.$$typeof === l || c.$$typeof === a || c.$$typeof === d || c.$$typeof === v || c.getModuleId !== void 0);
|
|
782
782
|
}, q.typeOf = e;
|
|
783
783
|
})()), q;
|
|
784
784
|
}
|
|
@@ -818,17 +818,17 @@ function _e(e, r) {
|
|
|
818
818
|
// No need to clone deep, it's way faster.
|
|
819
819
|
}) : e;
|
|
820
820
|
}
|
|
821
|
-
const
|
|
821
|
+
const ge = process.env.NODE_ENV !== "production" ? $e.oneOfType([$e.number, $e.string, $e.object, $e.array]) : {};
|
|
822
822
|
function Rr(e, r) {
|
|
823
823
|
if (!e.containerQueries)
|
|
824
824
|
return r;
|
|
825
825
|
const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => {
|
|
826
|
-
const
|
|
827
|
-
return +(n.match(
|
|
826
|
+
const s = /min-width:\s*([0-9.]+)/;
|
|
827
|
+
return +(n.match(s)?.[1] || 0) - +(o.match(s)?.[1] || 0);
|
|
828
828
|
});
|
|
829
829
|
return t.length ? t.reduce((n, o) => {
|
|
830
|
-
const
|
|
831
|
-
return delete n[o], n[o] =
|
|
830
|
+
const s = r[o];
|
|
831
|
+
return delete n[o], n[o] = s, n;
|
|
832
832
|
}, {
|
|
833
833
|
...r
|
|
834
834
|
}) : r;
|
|
@@ -840,22 +840,25 @@ function vt(e, r) {
|
|
|
840
840
|
const t = r.match(/^@([^/]+)?\/?(.+)?$/);
|
|
841
841
|
if (!t) {
|
|
842
842
|
if (process.env.NODE_ENV !== "production")
|
|
843
|
-
throw
|
|
844
|
-
|
|
843
|
+
throw (
|
|
844
|
+
/* minify-error */
|
|
845
|
+
new Error(`MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
846
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`)
|
|
847
|
+
);
|
|
845
848
|
return null;
|
|
846
849
|
}
|
|
847
|
-
const [, n, o] = t,
|
|
848
|
-
return e.containerQueries(o).up(
|
|
850
|
+
const [, n, o] = t, s = Number.isNaN(+n) ? n || 0 : +n;
|
|
851
|
+
return e.containerQueries(o).up(s);
|
|
849
852
|
}
|
|
850
853
|
function St(e) {
|
|
851
|
-
const r = (
|
|
852
|
-
function t(
|
|
853
|
-
|
|
854
|
-
const
|
|
855
|
-
return
|
|
854
|
+
const r = (s, a) => s.replace("@media", a ? `@container ${a}` : "@container");
|
|
855
|
+
function t(s, a) {
|
|
856
|
+
s.up = (...l) => r(e.breakpoints.up(...l), a), s.down = (...l) => r(e.breakpoints.down(...l), a), s.between = (...l) => r(e.breakpoints.between(...l), a), s.only = (...l) => r(e.breakpoints.only(...l), a), s.not = (...l) => {
|
|
857
|
+
const d = r(e.breakpoints.not(...l), a);
|
|
858
|
+
return d.includes("not all and") ? d.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : d;
|
|
856
859
|
};
|
|
857
860
|
}
|
|
858
|
-
const n = {}, o = (
|
|
861
|
+
const n = {}, o = (s) => (t(n, s), n);
|
|
859
862
|
return t(o), {
|
|
860
863
|
...e,
|
|
861
864
|
containerQueries: o
|
|
@@ -888,23 +891,23 @@ const je = {
|
|
|
888
891
|
function de(e, r, t) {
|
|
889
892
|
const n = e.theme || {};
|
|
890
893
|
if (Array.isArray(r)) {
|
|
891
|
-
const
|
|
892
|
-
return r.reduce((
|
|
894
|
+
const s = n.breakpoints || Pr;
|
|
895
|
+
return r.reduce((a, l, d) => (a[s.up(s.keys[d])] = t(r[d]), a), {});
|
|
893
896
|
}
|
|
894
897
|
if (typeof r == "object") {
|
|
895
|
-
const
|
|
896
|
-
return Object.keys(r).reduce((
|
|
897
|
-
if (bt(
|
|
898
|
-
const
|
|
899
|
-
|
|
900
|
-
} else if (Object.keys(
|
|
901
|
-
const
|
|
902
|
-
|
|
898
|
+
const s = n.breakpoints || Pr;
|
|
899
|
+
return Object.keys(r).reduce((a, l) => {
|
|
900
|
+
if (bt(s.keys, l)) {
|
|
901
|
+
const d = vt(n.containerQueries ? n : Et, l);
|
|
902
|
+
d && (a[d] = t(r[l], l));
|
|
903
|
+
} else if (Object.keys(s.values || je).includes(l)) {
|
|
904
|
+
const d = s.up(l);
|
|
905
|
+
a[d] = t(r[l], l);
|
|
903
906
|
} else {
|
|
904
|
-
const
|
|
905
|
-
|
|
907
|
+
const d = l;
|
|
908
|
+
a[d] = r[d];
|
|
906
909
|
}
|
|
907
|
-
return
|
|
910
|
+
return a;
|
|
908
911
|
}, {});
|
|
909
912
|
}
|
|
910
913
|
return t(r);
|
|
@@ -922,15 +925,15 @@ function sr(e, r) {
|
|
|
922
925
|
}, r);
|
|
923
926
|
}
|
|
924
927
|
function ao(e, ...r) {
|
|
925
|
-
const t = Kr(e), n = [t, ...r].reduce((o,
|
|
928
|
+
const t = Kr(e), n = [t, ...r].reduce((o, s) => te(o, s), {});
|
|
926
929
|
return sr(Object.keys(t), n);
|
|
927
930
|
}
|
|
928
931
|
function Ct(e, r) {
|
|
929
932
|
if (typeof e != "object")
|
|
930
933
|
return {};
|
|
931
934
|
const t = {}, n = Object.keys(r);
|
|
932
|
-
return Array.isArray(e) ? n.forEach((o,
|
|
933
|
-
|
|
935
|
+
return Array.isArray(e) ? n.forEach((o, s) => {
|
|
936
|
+
s < e.length && (t[o] = !0);
|
|
934
937
|
}) : n.forEach((o) => {
|
|
935
938
|
e[o] != null && (t[o] = !0);
|
|
936
939
|
}), t;
|
|
@@ -943,14 +946,14 @@ function so({
|
|
|
943
946
|
const n = t || Ct(e, r), o = Object.keys(n);
|
|
944
947
|
if (o.length === 0)
|
|
945
948
|
return e;
|
|
946
|
-
let
|
|
947
|
-
return o.reduce((
|
|
949
|
+
let s;
|
|
950
|
+
return o.reduce((a, l, d) => (Array.isArray(e) ? (a[l] = e[d] != null ? e[d] : e[s], s = d) : typeof e == "object" ? (a[l] = e[l] != null ? e[l] : e[s], s = l) : a[l] = e, a), {});
|
|
948
951
|
}
|
|
949
952
|
function Fe(e, r, t = !0) {
|
|
950
953
|
if (!r || typeof r != "string")
|
|
951
954
|
return null;
|
|
952
955
|
if (e && e.vars && t) {
|
|
953
|
-
const n = `vars.${r}`.split(".").reduce((o,
|
|
956
|
+
const n = `vars.${r}`.split(".").reduce((o, s) => o && o[s] ? o[s] : null, e);
|
|
954
957
|
if (n != null)
|
|
955
958
|
return n;
|
|
956
959
|
}
|
|
@@ -966,20 +969,20 @@ function Q(e) {
|
|
|
966
969
|
cssProperty: t = e.prop,
|
|
967
970
|
themeKey: n,
|
|
968
971
|
transform: o
|
|
969
|
-
} = e,
|
|
970
|
-
if (
|
|
972
|
+
} = e, s = (a) => {
|
|
973
|
+
if (a[r] == null)
|
|
971
974
|
return null;
|
|
972
|
-
const
|
|
973
|
-
return de(
|
|
974
|
-
let
|
|
975
|
-
return
|
|
976
|
-
[t]:
|
|
975
|
+
const l = a[r], d = a.theme, p = Fe(d, n) || {};
|
|
976
|
+
return de(a, l, (m) => {
|
|
977
|
+
let g = De(p, o, m);
|
|
978
|
+
return m === g && typeof m == "string" && (g = De(p, o, `${r}${m === "default" ? "" : Vr(m)}`, m)), t === !1 ? g : {
|
|
979
|
+
[t]: g
|
|
977
980
|
};
|
|
978
981
|
});
|
|
979
982
|
};
|
|
980
|
-
return
|
|
981
|
-
[r]:
|
|
982
|
-
} : {},
|
|
983
|
+
return s.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
984
|
+
[r]: ge
|
|
985
|
+
} : {}, s.filterProps = [r], s;
|
|
983
986
|
}
|
|
984
987
|
function Tt(e) {
|
|
985
988
|
const r = {};
|
|
@@ -988,7 +991,7 @@ function Tt(e) {
|
|
|
988
991
|
const $t = {
|
|
989
992
|
m: "margin",
|
|
990
993
|
p: "padding"
|
|
991
|
-
},
|
|
994
|
+
}, wt = {
|
|
992
995
|
t: "Top",
|
|
993
996
|
r: "Right",
|
|
994
997
|
b: "Bottom",
|
|
@@ -1000,26 +1003,26 @@ const $t = {
|
|
|
1000
1003
|
marginY: "my",
|
|
1001
1004
|
paddingX: "px",
|
|
1002
1005
|
paddingY: "py"
|
|
1003
|
-
},
|
|
1006
|
+
}, xt = Tt((e) => {
|
|
1004
1007
|
if (e.length > 2)
|
|
1005
1008
|
if (kr[e])
|
|
1006
1009
|
e = kr[e];
|
|
1007
1010
|
else
|
|
1008
1011
|
return [e];
|
|
1009
|
-
const [r, t] = e.split(""), n = $t[r], o =
|
|
1010
|
-
return Array.isArray(o) ? o.map((
|
|
1011
|
-
}), Le = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], We = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"],
|
|
1012
|
+
const [r, t] = e.split(""), n = $t[r], o = wt[t] || "";
|
|
1013
|
+
return Array.isArray(o) ? o.map((s) => n + s) : [n + o];
|
|
1014
|
+
}), Le = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], We = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Ot = [...Le, ...We];
|
|
1012
1015
|
function Re(e, r, t, n) {
|
|
1013
1016
|
const o = Fe(e, r, !0) ?? t;
|
|
1014
|
-
return typeof o == "number" || typeof o == "string" ? (
|
|
1015
|
-
if (typeof
|
|
1016
|
-
return
|
|
1017
|
-
const
|
|
1018
|
-
process.env.NODE_ENV !== "production" && (Number.isInteger(
|
|
1017
|
+
return typeof o == "number" || typeof o == "string" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${s}.`), typeof o == "string" ? o.startsWith("var(") && s === 0 ? 0 : o.startsWith("var(") && s === 1 ? o : `calc(${s} * ${o})` : o * s) : Array.isArray(o) ? (s) => {
|
|
1018
|
+
if (typeof s == "string")
|
|
1019
|
+
return s;
|
|
1020
|
+
const a = Math.abs(s);
|
|
1021
|
+
process.env.NODE_ENV !== "production" && (Number.isInteger(a) ? a > o.length - 1 && console.error([`MUI: The value provided (${a}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${a} > ${o.length - 1}, you need to add the missing values.`].join(`
|
|
1019
1022
|
`)) : console.error([`MUI: The \`theme.${r}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${r}\` as a number.`].join(`
|
|
1020
1023
|
`)));
|
|
1021
|
-
const
|
|
1022
|
-
return
|
|
1024
|
+
const l = o[a];
|
|
1025
|
+
return s >= 0 ? l : typeof l == "number" ? -l : typeof l == "string" && l.startsWith("var(") ? `calc(-1 * ${l})` : `-${l}`;
|
|
1023
1026
|
} : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
|
|
1024
1027
|
`)), () => {
|
|
1025
1028
|
});
|
|
@@ -1036,8 +1039,8 @@ function _t(e, r) {
|
|
|
1036
1039
|
function At(e, r, t, n) {
|
|
1037
1040
|
if (!r.includes(t))
|
|
1038
1041
|
return null;
|
|
1039
|
-
const o =
|
|
1040
|
-
return de(e,
|
|
1042
|
+
const o = xt(t), s = _t(o, n), a = e[t];
|
|
1043
|
+
return de(e, a, s);
|
|
1041
1044
|
}
|
|
1042
1045
|
function Hr(e, r) {
|
|
1043
1046
|
const t = dr(e.theme);
|
|
@@ -1046,18 +1049,18 @@ function Hr(e, r) {
|
|
|
1046
1049
|
function K(e) {
|
|
1047
1050
|
return Hr(e, Le);
|
|
1048
1051
|
}
|
|
1049
|
-
K.propTypes = process.env.NODE_ENV !== "production" ? Le.reduce((e, r) => (e[r] =
|
|
1052
|
+
K.propTypes = process.env.NODE_ENV !== "production" ? Le.reduce((e, r) => (e[r] = ge, e), {}) : {};
|
|
1050
1053
|
K.filterProps = Le;
|
|
1051
1054
|
function H(e) {
|
|
1052
1055
|
return Hr(e, We);
|
|
1053
1056
|
}
|
|
1054
|
-
H.propTypes = process.env.NODE_ENV !== "production" ? We.reduce((e, r) => (e[r] =
|
|
1057
|
+
H.propTypes = process.env.NODE_ENV !== "production" ? We.reduce((e, r) => (e[r] = ge, e), {}) : {};
|
|
1055
1058
|
H.filterProps = We;
|
|
1056
|
-
process.env.NODE_ENV !== "production" &&
|
|
1059
|
+
process.env.NODE_ENV !== "production" && Ot.reduce((e, r) => (e[r] = ge, e), {});
|
|
1057
1060
|
function Ye(...e) {
|
|
1058
|
-
const r = e.reduce((n, o) => (o.filterProps.forEach((
|
|
1059
|
-
n[
|
|
1060
|
-
}), n), {}), t = (n) => Object.keys(n).reduce((o,
|
|
1061
|
+
const r = e.reduce((n, o) => (o.filterProps.forEach((s) => {
|
|
1062
|
+
n[s] = o;
|
|
1063
|
+
}), n), {}), t = (n) => Object.keys(n).reduce((o, s) => r[s] ? _e(o, r[s](n)) : o, {});
|
|
1061
1064
|
return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, t.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), t;
|
|
1062
1065
|
}
|
|
1063
1066
|
function oe(e) {
|
|
@@ -1080,7 +1083,7 @@ const Rt = ie("border", oe), Pt = ie("borderTop", oe), kt = ie("borderRight", oe
|
|
|
1080
1083
|
return null;
|
|
1081
1084
|
};
|
|
1082
1085
|
Ve.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1083
|
-
borderRadius:
|
|
1086
|
+
borderRadius: ge
|
|
1084
1087
|
} : {};
|
|
1085
1088
|
Ve.filterProps = ["borderRadius"];
|
|
1086
1089
|
Ye(Rt, Pt, kt, It, Nt, Bt, Mt, Dt, jt, Ft, Ve, Lt, Wt);
|
|
@@ -1094,7 +1097,7 @@ const Ue = (e) => {
|
|
|
1094
1097
|
return null;
|
|
1095
1098
|
};
|
|
1096
1099
|
Ue.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1097
|
-
gap:
|
|
1100
|
+
gap: ge
|
|
1098
1101
|
} : {};
|
|
1099
1102
|
Ue.filterProps = ["gap"];
|
|
1100
1103
|
const ze = (e) => {
|
|
@@ -1107,7 +1110,7 @@ const ze = (e) => {
|
|
|
1107
1110
|
return null;
|
|
1108
1111
|
};
|
|
1109
1112
|
ze.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1110
|
-
columnGap:
|
|
1113
|
+
columnGap: ge
|
|
1111
1114
|
} : {};
|
|
1112
1115
|
ze.filterProps = ["columnGap"];
|
|
1113
1116
|
const qe = (e) => {
|
|
@@ -1120,7 +1123,7 @@ const qe = (e) => {
|
|
|
1120
1123
|
return null;
|
|
1121
1124
|
};
|
|
1122
1125
|
qe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1123
|
-
rowGap:
|
|
1126
|
+
rowGap: ge
|
|
1124
1127
|
} : {};
|
|
1125
1128
|
qe.filterProps = ["rowGap"];
|
|
1126
1129
|
const Yt = Q({
|
|
@@ -1506,33 +1509,33 @@ function sn(...e) {
|
|
|
1506
1509
|
function cn(e, r) {
|
|
1507
1510
|
return typeof e == "function" ? e(r) : e;
|
|
1508
1511
|
}
|
|
1509
|
-
function
|
|
1510
|
-
function e(t, n, o,
|
|
1511
|
-
const
|
|
1512
|
+
function ln() {
|
|
1513
|
+
function e(t, n, o, s) {
|
|
1514
|
+
const a = {
|
|
1512
1515
|
[t]: n,
|
|
1513
1516
|
theme: o
|
|
1514
|
-
},
|
|
1515
|
-
if (!
|
|
1517
|
+
}, l = s[t];
|
|
1518
|
+
if (!l)
|
|
1516
1519
|
return {
|
|
1517
1520
|
[t]: n
|
|
1518
1521
|
};
|
|
1519
1522
|
const {
|
|
1520
|
-
cssProperty:
|
|
1521
|
-
themeKey:
|
|
1522
|
-
transform:
|
|
1523
|
-
style:
|
|
1524
|
-
} =
|
|
1523
|
+
cssProperty: d = t,
|
|
1524
|
+
themeKey: p,
|
|
1525
|
+
transform: y,
|
|
1526
|
+
style: m
|
|
1527
|
+
} = l;
|
|
1525
1528
|
if (n == null)
|
|
1526
1529
|
return null;
|
|
1527
|
-
if (
|
|
1530
|
+
if (p === "typography" && n === "inherit")
|
|
1528
1531
|
return {
|
|
1529
1532
|
[t]: n
|
|
1530
1533
|
};
|
|
1531
|
-
const
|
|
1532
|
-
return
|
|
1533
|
-
let
|
|
1534
|
-
return
|
|
1535
|
-
[
|
|
1534
|
+
const g = Fe(o, p) || {};
|
|
1535
|
+
return m ? m(a) : de(a, n, (v) => {
|
|
1536
|
+
let c = De(g, y, v);
|
|
1537
|
+
return v === c && typeof v == "string" && (c = De(g, y, `${t}${v === "default" ? "" : Vr(v)}`, v)), d === !1 ? c : {
|
|
1538
|
+
[d]: c
|
|
1536
1539
|
};
|
|
1537
1540
|
});
|
|
1538
1541
|
}
|
|
@@ -1540,52 +1543,52 @@ function un() {
|
|
|
1540
1543
|
const {
|
|
1541
1544
|
sx: n,
|
|
1542
1545
|
theme: o = {},
|
|
1543
|
-
nested:
|
|
1546
|
+
nested: s
|
|
1544
1547
|
} = t || {};
|
|
1545
1548
|
if (!n)
|
|
1546
1549
|
return null;
|
|
1547
|
-
const
|
|
1548
|
-
function
|
|
1549
|
-
let
|
|
1550
|
-
if (typeof
|
|
1551
|
-
|
|
1552
|
-
else if (typeof
|
|
1553
|
-
return
|
|
1554
|
-
if (!
|
|
1550
|
+
const a = o.unstable_sxConfig ?? Ge;
|
|
1551
|
+
function l(d) {
|
|
1552
|
+
let p = d;
|
|
1553
|
+
if (typeof d == "function")
|
|
1554
|
+
p = d(o);
|
|
1555
|
+
else if (typeof d != "object")
|
|
1556
|
+
return d;
|
|
1557
|
+
if (!p)
|
|
1555
1558
|
return null;
|
|
1556
|
-
const
|
|
1557
|
-
let
|
|
1558
|
-
return Object.keys(
|
|
1559
|
-
const
|
|
1560
|
-
if (
|
|
1561
|
-
if (typeof
|
|
1562
|
-
if (
|
|
1563
|
-
|
|
1559
|
+
const y = Kr(o.breakpoints), m = Object.keys(y);
|
|
1560
|
+
let g = y;
|
|
1561
|
+
return Object.keys(p).forEach((u) => {
|
|
1562
|
+
const v = cn(p[u], o);
|
|
1563
|
+
if (v != null)
|
|
1564
|
+
if (typeof v == "object")
|
|
1565
|
+
if (a[u])
|
|
1566
|
+
g = _e(g, e(u, v, o, a));
|
|
1564
1567
|
else {
|
|
1565
|
-
const
|
|
1568
|
+
const c = de({
|
|
1566
1569
|
theme: o
|
|
1567
|
-
},
|
|
1568
|
-
[
|
|
1570
|
+
}, v, (S) => ({
|
|
1571
|
+
[u]: S
|
|
1569
1572
|
}));
|
|
1570
|
-
sn(
|
|
1571
|
-
sx:
|
|
1573
|
+
sn(c, v) ? g[u] = r({
|
|
1574
|
+
sx: v,
|
|
1572
1575
|
theme: o,
|
|
1573
1576
|
nested: !0
|
|
1574
|
-
}) :
|
|
1577
|
+
}) : g = _e(g, c);
|
|
1575
1578
|
}
|
|
1576
1579
|
else
|
|
1577
|
-
|
|
1578
|
-
}), !
|
|
1579
|
-
"@layer sx": Rr(o, sr(
|
|
1580
|
-
} : Rr(o, sr(
|
|
1580
|
+
g = _e(g, e(u, v, o, a));
|
|
1581
|
+
}), !s && o.modularCssLayers ? {
|
|
1582
|
+
"@layer sx": Rr(o, sr(m, g))
|
|
1583
|
+
} : Rr(o, sr(m, g));
|
|
1581
1584
|
}
|
|
1582
|
-
return Array.isArray(n) ? n.map(
|
|
1585
|
+
return Array.isArray(n) ? n.map(l) : l(n);
|
|
1583
1586
|
}
|
|
1584
1587
|
return r;
|
|
1585
1588
|
}
|
|
1586
|
-
const Ke =
|
|
1589
|
+
const Ke = ln();
|
|
1587
1590
|
Ke.filterProps = ["sx"];
|
|
1588
|
-
const
|
|
1591
|
+
const un = (e) => {
|
|
1589
1592
|
const r = Object.keys(e).map((t) => ({
|
|
1590
1593
|
key: t,
|
|
1591
1594
|
val: e[t]
|
|
@@ -1614,32 +1617,32 @@ function fn(e) {
|
|
|
1614
1617
|
unit: t = "px",
|
|
1615
1618
|
step: n = 5,
|
|
1616
1619
|
...o
|
|
1617
|
-
} = e,
|
|
1618
|
-
function
|
|
1619
|
-
return `@media (min-width:${typeof r[
|
|
1620
|
+
} = e, s = un(r), a = Object.keys(s);
|
|
1621
|
+
function l(g) {
|
|
1622
|
+
return `@media (min-width:${typeof r[g] == "number" ? r[g] : g}${t})`;
|
|
1620
1623
|
}
|
|
1621
|
-
function
|
|
1622
|
-
return `@media (max-width:${(typeof r[
|
|
1624
|
+
function d(g) {
|
|
1625
|
+
return `@media (max-width:${(typeof r[g] == "number" ? r[g] : g) - n / 100}${t})`;
|
|
1623
1626
|
}
|
|
1624
|
-
function
|
|
1625
|
-
const
|
|
1626
|
-
return `@media (min-width:${typeof r[
|
|
1627
|
+
function p(g, u) {
|
|
1628
|
+
const v = a.indexOf(u);
|
|
1629
|
+
return `@media (min-width:${typeof r[g] == "number" ? r[g] : g}${t}) and (max-width:${(v !== -1 && typeof r[a[v]] == "number" ? r[a[v]] : u) - n / 100}${t})`;
|
|
1627
1630
|
}
|
|
1628
|
-
function
|
|
1629
|
-
return
|
|
1631
|
+
function y(g) {
|
|
1632
|
+
return a.indexOf(g) + 1 < a.length ? p(g, a[a.indexOf(g) + 1]) : l(g);
|
|
1630
1633
|
}
|
|
1631
|
-
function
|
|
1632
|
-
const
|
|
1633
|
-
return
|
|
1634
|
+
function m(g) {
|
|
1635
|
+
const u = a.indexOf(g);
|
|
1636
|
+
return u === 0 ? l(a[1]) : u === a.length - 1 ? d(a[u]) : p(g, a[a.indexOf(g) + 1]).replace("@media", "@media not all and");
|
|
1634
1637
|
}
|
|
1635
1638
|
return {
|
|
1636
|
-
keys:
|
|
1637
|
-
values:
|
|
1638
|
-
up:
|
|
1639
|
-
down:
|
|
1640
|
-
between:
|
|
1641
|
-
only:
|
|
1642
|
-
not:
|
|
1639
|
+
keys: a,
|
|
1640
|
+
values: s,
|
|
1641
|
+
up: l,
|
|
1642
|
+
down: d,
|
|
1643
|
+
between: p,
|
|
1644
|
+
only: y,
|
|
1645
|
+
not: m,
|
|
1643
1646
|
unit: t,
|
|
1644
1647
|
...o
|
|
1645
1648
|
};
|
|
@@ -1652,9 +1655,9 @@ function Qr(e = 8, r = dr({
|
|
|
1652
1655
|
})) {
|
|
1653
1656
|
if (e.mui)
|
|
1654
1657
|
return e;
|
|
1655
|
-
const t = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((
|
|
1656
|
-
const
|
|
1657
|
-
return typeof
|
|
1658
|
+
const t = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((s) => {
|
|
1659
|
+
const a = r(s);
|
|
1660
|
+
return typeof a == "number" ? `${a}px` : a;
|
|
1658
1661
|
}).join(" "));
|
|
1659
1662
|
return t.mui = !0, t;
|
|
1660
1663
|
}
|
|
@@ -1675,11 +1678,11 @@ function mn(e = {}, ...r) {
|
|
|
1675
1678
|
breakpoints: t = {},
|
|
1676
1679
|
palette: n = {},
|
|
1677
1680
|
spacing: o,
|
|
1678
|
-
shape:
|
|
1679
|
-
...
|
|
1680
|
-
} = e,
|
|
1681
|
-
let
|
|
1682
|
-
breakpoints:
|
|
1681
|
+
shape: s = {},
|
|
1682
|
+
...a
|
|
1683
|
+
} = e, l = fn(t), d = Qr(o);
|
|
1684
|
+
let p = te({
|
|
1685
|
+
breakpoints: l,
|
|
1683
1686
|
direction: "ltr",
|
|
1684
1687
|
components: {},
|
|
1685
1688
|
// Inject component definitions.
|
|
@@ -1687,21 +1690,21 @@ function mn(e = {}, ...r) {
|
|
|
1687
1690
|
mode: "light",
|
|
1688
1691
|
...n
|
|
1689
1692
|
},
|
|
1690
|
-
spacing:
|
|
1693
|
+
spacing: d,
|
|
1691
1694
|
shape: {
|
|
1692
1695
|
...dn,
|
|
1693
|
-
...
|
|
1696
|
+
...s
|
|
1694
1697
|
}
|
|
1695
|
-
},
|
|
1696
|
-
return
|
|
1698
|
+
}, a);
|
|
1699
|
+
return p = St(p), p.applyStyles = pn, p = r.reduce((y, m) => te(y, m), p), p.unstable_sxConfig = {
|
|
1697
1700
|
...Ge,
|
|
1698
|
-
...
|
|
1699
|
-
},
|
|
1701
|
+
...a?.unstable_sxConfig
|
|
1702
|
+
}, p.unstable_sx = function(m) {
|
|
1700
1703
|
return Ke({
|
|
1701
|
-
sx:
|
|
1704
|
+
sx: m,
|
|
1702
1705
|
theme: this
|
|
1703
1706
|
});
|
|
1704
|
-
},
|
|
1707
|
+
}, p;
|
|
1705
1708
|
}
|
|
1706
1709
|
function gn(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
|
|
1707
1710
|
return Math.max(r, Math.min(e, t));
|
|
@@ -1715,32 +1718,32 @@ function hn(e) {
|
|
|
1715
1718
|
let t = e.match(r);
|
|
1716
1719
|
return t && t[0].length === 1 && (t = t.map((n) => n + n)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), t ? `rgb${t.length === 4 ? "a" : ""}(${t.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
1717
1720
|
}
|
|
1718
|
-
function
|
|
1721
|
+
function me(e) {
|
|
1719
1722
|
if (e.type)
|
|
1720
1723
|
return e;
|
|
1721
1724
|
if (e.charAt(0) === "#")
|
|
1722
|
-
return
|
|
1725
|
+
return me(hn(e));
|
|
1723
1726
|
const r = e.indexOf("("), t = e.substring(0, r);
|
|
1724
1727
|
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
|
|
1725
1728
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
1726
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` :
|
|
1729
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : ye(9, e));
|
|
1727
1730
|
let n = e.substring(r + 1, e.length - 1), o;
|
|
1728
1731
|
if (t === "color") {
|
|
1729
1732
|
if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(o))
|
|
1730
1733
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
|
|
1731
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` :
|
|
1734
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : ye(10, o));
|
|
1732
1735
|
} else
|
|
1733
1736
|
n = n.split(",");
|
|
1734
|
-
return n = n.map((
|
|
1737
|
+
return n = n.map((s) => parseFloat(s)), {
|
|
1735
1738
|
type: t,
|
|
1736
1739
|
values: n,
|
|
1737
1740
|
colorSpace: o
|
|
1738
1741
|
};
|
|
1739
1742
|
}
|
|
1740
1743
|
const yn = (e) => {
|
|
1741
|
-
const r =
|
|
1744
|
+
const r = me(e);
|
|
1742
1745
|
return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
|
|
1743
|
-
},
|
|
1746
|
+
}, xe = (e, r) => {
|
|
1744
1747
|
try {
|
|
1745
1748
|
return yn(e);
|
|
1746
1749
|
} catch {
|
|
@@ -1755,23 +1758,23 @@ function He(e) {
|
|
|
1755
1758
|
let {
|
|
1756
1759
|
values: n
|
|
1757
1760
|
} = e;
|
|
1758
|
-
return r.includes("rgb") ? n = n.map((o,
|
|
1761
|
+
return r.includes("rgb") ? n = n.map((o, s) => s < 3 ? parseInt(o, 10) : o) : r.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.includes("color") ? n = `${t} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
|
|
1759
1762
|
}
|
|
1760
1763
|
function Xr(e) {
|
|
1761
|
-
e =
|
|
1764
|
+
e = me(e);
|
|
1762
1765
|
const {
|
|
1763
1766
|
values: r
|
|
1764
|
-
} = e, t = r[0], n = r[1] / 100, o = r[2] / 100,
|
|
1765
|
-
let
|
|
1766
|
-
const
|
|
1767
|
-
return e.type === "hsla" && (
|
|
1768
|
-
type:
|
|
1769
|
-
values:
|
|
1767
|
+
} = e, t = r[0], n = r[1] / 100, o = r[2] / 100, s = n * Math.min(o, 1 - o), a = (p, y = (p + t / 30) % 12) => o - s * Math.max(Math.min(y - 3, 9 - y, 1), -1);
|
|
1768
|
+
let l = "rgb";
|
|
1769
|
+
const d = [Math.round(a(0) * 255), Math.round(a(8) * 255), Math.round(a(4) * 255)];
|
|
1770
|
+
return e.type === "hsla" && (l += "a", d.push(r[3])), He({
|
|
1771
|
+
type: l,
|
|
1772
|
+
values: d
|
|
1770
1773
|
});
|
|
1771
1774
|
}
|
|
1772
1775
|
function cr(e) {
|
|
1773
|
-
e =
|
|
1774
|
-
let r = e.type === "hsl" || e.type === "hsla" ?
|
|
1776
|
+
e = me(e);
|
|
1777
|
+
let r = e.type === "hsl" || e.type === "hsla" ? me(Xr(e)).values : e.values;
|
|
1775
1778
|
return r = r.map((t) => (e.type !== "color" && (t /= 255), t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
|
|
1776
1779
|
}
|
|
1777
1780
|
function Ir(e, r) {
|
|
@@ -1779,9 +1782,9 @@ function Ir(e, r) {
|
|
|
1779
1782
|
return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
|
|
1780
1783
|
}
|
|
1781
1784
|
function Jr(e, r) {
|
|
1782
|
-
return e =
|
|
1785
|
+
return e = me(e), r = mr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, He(e);
|
|
1783
1786
|
}
|
|
1784
|
-
function
|
|
1787
|
+
function he(e, r, t) {
|
|
1785
1788
|
try {
|
|
1786
1789
|
return Jr(e, r);
|
|
1787
1790
|
} catch {
|
|
@@ -1789,7 +1792,7 @@ function ye(e, r, t) {
|
|
|
1789
1792
|
}
|
|
1790
1793
|
}
|
|
1791
1794
|
function Qe(e, r) {
|
|
1792
|
-
if (e =
|
|
1795
|
+
if (e = me(e), r = mr(r), e.type.includes("hsl"))
|
|
1793
1796
|
e.values[2] *= 1 - r;
|
|
1794
1797
|
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
1795
1798
|
for (let t = 0; t < 3; t += 1)
|
|
@@ -1804,7 +1807,7 @@ function V(e, r, t) {
|
|
|
1804
1807
|
}
|
|
1805
1808
|
}
|
|
1806
1809
|
function Xe(e, r) {
|
|
1807
|
-
if (e =
|
|
1810
|
+
if (e = me(e), r = mr(r), e.type.includes("hsl"))
|
|
1808
1811
|
e.values[2] += (100 - e.values[2]) * r;
|
|
1809
1812
|
else if (e.type.includes("rgb"))
|
|
1810
1813
|
for (let t = 0; t < 3; t += 1)
|
|
@@ -1842,13 +1845,13 @@ function vn(e = "") {
|
|
|
1842
1845
|
}
|
|
1843
1846
|
const Nr = (e, r, t, n = []) => {
|
|
1844
1847
|
let o = e;
|
|
1845
|
-
r.forEach((
|
|
1846
|
-
|
|
1848
|
+
r.forEach((s, a) => {
|
|
1849
|
+
a === r.length - 1 ? Array.isArray(o) ? o[Number(s)] = t : o && typeof o == "object" && (o[s] = t) : o && typeof o == "object" && (o[s] || (o[s] = n.includes(s) ? [] : {}), o = o[s]);
|
|
1847
1850
|
});
|
|
1848
1851
|
}, Sn = (e, r, t) => {
|
|
1849
|
-
function n(o,
|
|
1850
|
-
Object.entries(o).forEach(([
|
|
1851
|
-
(!t || t && !t([...
|
|
1852
|
+
function n(o, s = [], a = []) {
|
|
1853
|
+
Object.entries(o).forEach(([l, d]) => {
|
|
1854
|
+
(!t || t && !t([...s, l])) && d != null && (typeof d == "object" && Object.keys(d).length > 0 ? n(d, [...s, l], Array.isArray(d) ? [...a, l] : a) : r([...s, l], d, a));
|
|
1852
1855
|
});
|
|
1853
1856
|
}
|
|
1854
1857
|
n(e);
|
|
@@ -1857,23 +1860,23 @@ function ir(e, r) {
|
|
|
1857
1860
|
const {
|
|
1858
1861
|
prefix: t,
|
|
1859
1862
|
shouldSkipGeneratingVar: n
|
|
1860
|
-
} = r || {}, o = {},
|
|
1863
|
+
} = r || {}, o = {}, s = {}, a = {};
|
|
1861
1864
|
return Sn(
|
|
1862
1865
|
e,
|
|
1863
|
-
(
|
|
1864
|
-
if ((typeof
|
|
1865
|
-
const
|
|
1866
|
+
(l, d, p) => {
|
|
1867
|
+
if ((typeof d == "string" || typeof d == "number") && (!n || !n(l, d))) {
|
|
1868
|
+
const y = `--${t ? `${t}-` : ""}${l.join("-")}`, m = En(l, d);
|
|
1866
1869
|
Object.assign(o, {
|
|
1867
|
-
[
|
|
1868
|
-
}), Nr(
|
|
1870
|
+
[y]: m
|
|
1871
|
+
}), Nr(s, l, `var(${y})`, p), Nr(a, l, `var(${y}, ${m})`, p);
|
|
1869
1872
|
}
|
|
1870
1873
|
},
|
|
1871
|
-
(
|
|
1874
|
+
(l) => l[0] === "vars"
|
|
1872
1875
|
// skip 'vars/*' paths
|
|
1873
1876
|
), {
|
|
1874
1877
|
css: o,
|
|
1875
|
-
vars:
|
|
1876
|
-
varsWithDefaults:
|
|
1878
|
+
vars: s,
|
|
1879
|
+
varsWithDefaults: a
|
|
1877
1880
|
};
|
|
1878
1881
|
}
|
|
1879
1882
|
function Cn(e, r = {}) {
|
|
@@ -1881,111 +1884,111 @@ function Cn(e, r = {}) {
|
|
|
1881
1884
|
getSelector: t = _,
|
|
1882
1885
|
disableCssColorScheme: n,
|
|
1883
1886
|
colorSchemeSelector: o,
|
|
1884
|
-
enableContrastVars:
|
|
1887
|
+
enableContrastVars: s
|
|
1885
1888
|
} = r, {
|
|
1886
|
-
colorSchemes:
|
|
1887
|
-
components:
|
|
1888
|
-
defaultColorScheme:
|
|
1889
|
-
...
|
|
1889
|
+
colorSchemes: a = {},
|
|
1890
|
+
components: l,
|
|
1891
|
+
defaultColorScheme: d = "light",
|
|
1892
|
+
...p
|
|
1890
1893
|
} = e, {
|
|
1891
|
-
vars:
|
|
1892
|
-
css:
|
|
1893
|
-
varsWithDefaults:
|
|
1894
|
-
} = ir(
|
|
1895
|
-
let
|
|
1896
|
-
const
|
|
1897
|
-
[
|
|
1898
|
-
...
|
|
1899
|
-
} =
|
|
1900
|
-
if (Object.entries(
|
|
1894
|
+
vars: y,
|
|
1895
|
+
css: m,
|
|
1896
|
+
varsWithDefaults: g
|
|
1897
|
+
} = ir(p, r);
|
|
1898
|
+
let u = g;
|
|
1899
|
+
const v = {}, {
|
|
1900
|
+
[d]: c,
|
|
1901
|
+
...S
|
|
1902
|
+
} = a;
|
|
1903
|
+
if (Object.entries(S || {}).forEach(([$, b]) => {
|
|
1901
1904
|
const {
|
|
1902
|
-
vars:
|
|
1905
|
+
vars: x,
|
|
1903
1906
|
css: ae,
|
|
1904
|
-
varsWithDefaults:
|
|
1905
|
-
} = ir(
|
|
1906
|
-
|
|
1907
|
+
varsWithDefaults: ue
|
|
1908
|
+
} = ir(b, r);
|
|
1909
|
+
u = te(u, ue), v[$] = {
|
|
1907
1910
|
css: ae,
|
|
1908
|
-
vars:
|
|
1911
|
+
vars: x
|
|
1909
1912
|
};
|
|
1910
|
-
}),
|
|
1913
|
+
}), c) {
|
|
1911
1914
|
const {
|
|
1912
1915
|
css: $,
|
|
1913
|
-
vars:
|
|
1914
|
-
varsWithDefaults:
|
|
1915
|
-
} = ir(
|
|
1916
|
-
|
|
1916
|
+
vars: b,
|
|
1917
|
+
varsWithDefaults: x
|
|
1918
|
+
} = ir(c, r);
|
|
1919
|
+
u = te(u, x), v[d] = {
|
|
1917
1920
|
css: $,
|
|
1918
|
-
vars:
|
|
1921
|
+
vars: b
|
|
1919
1922
|
};
|
|
1920
1923
|
}
|
|
1921
|
-
function _($,
|
|
1922
|
-
let
|
|
1923
|
-
if (o === "class" && (
|
|
1924
|
-
if (
|
|
1924
|
+
function _($, b) {
|
|
1925
|
+
let x = o;
|
|
1926
|
+
if (o === "class" && (x = ".%s"), o === "data" && (x = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (x = `[${o}="%s"]`), $) {
|
|
1927
|
+
if (x === "media")
|
|
1925
1928
|
return e.defaultColorScheme === $ ? ":root" : {
|
|
1926
|
-
[`@media (prefers-color-scheme: ${
|
|
1927
|
-
":root":
|
|
1929
|
+
[`@media (prefers-color-scheme: ${a[$]?.palette?.mode || $})`]: {
|
|
1930
|
+
":root": b
|
|
1928
1931
|
}
|
|
1929
1932
|
};
|
|
1930
|
-
if (
|
|
1931
|
-
return e.defaultColorScheme === $ ? `:root, ${
|
|
1933
|
+
if (x)
|
|
1934
|
+
return e.defaultColorScheme === $ ? `:root, ${x.replace("%s", String($))}` : x.replace("%s", String($));
|
|
1932
1935
|
}
|
|
1933
1936
|
return ":root";
|
|
1934
1937
|
}
|
|
1935
1938
|
return {
|
|
1936
|
-
vars:
|
|
1939
|
+
vars: u,
|
|
1937
1940
|
generateThemeVars: () => {
|
|
1938
1941
|
let $ = {
|
|
1939
|
-
...
|
|
1942
|
+
...y
|
|
1940
1943
|
};
|
|
1941
|
-
return Object.entries(
|
|
1942
|
-
vars:
|
|
1944
|
+
return Object.entries(v).forEach(([, {
|
|
1945
|
+
vars: b
|
|
1943
1946
|
}]) => {
|
|
1944
|
-
$ = te($,
|
|
1947
|
+
$ = te($, b);
|
|
1945
1948
|
}), $;
|
|
1946
1949
|
},
|
|
1947
1950
|
generateStyleSheets: () => {
|
|
1948
|
-
const $ = [],
|
|
1949
|
-
function
|
|
1951
|
+
const $ = [], b = e.defaultColorScheme || "light";
|
|
1952
|
+
function x(J, Z) {
|
|
1950
1953
|
Object.keys(Z).length && $.push(typeof J == "string" ? {
|
|
1951
1954
|
[J]: {
|
|
1952
1955
|
...Z
|
|
1953
1956
|
}
|
|
1954
1957
|
} : J);
|
|
1955
1958
|
}
|
|
1956
|
-
|
|
1957
|
-
...
|
|
1958
|
-
}),
|
|
1959
|
+
x(t(void 0, {
|
|
1960
|
+
...m
|
|
1961
|
+
}), m);
|
|
1959
1962
|
const {
|
|
1960
|
-
[
|
|
1961
|
-
...
|
|
1962
|
-
} =
|
|
1963
|
+
[b]: ae,
|
|
1964
|
+
...ue
|
|
1965
|
+
} = v;
|
|
1963
1966
|
if (ae) {
|
|
1964
1967
|
const {
|
|
1965
1968
|
css: J
|
|
1966
|
-
} = ae, Z =
|
|
1969
|
+
} = ae, Z = a[b]?.palette?.mode, X = !n && Z ? {
|
|
1967
1970
|
colorScheme: Z,
|
|
1968
1971
|
...J
|
|
1969
1972
|
} : {
|
|
1970
1973
|
...J
|
|
1971
1974
|
};
|
|
1972
|
-
|
|
1975
|
+
x(t(b, {
|
|
1973
1976
|
...X
|
|
1974
1977
|
}), X);
|
|
1975
1978
|
}
|
|
1976
|
-
return Object.entries(
|
|
1979
|
+
return Object.entries(ue).forEach(([J, {
|
|
1977
1980
|
css: Z
|
|
1978
1981
|
}]) => {
|
|
1979
|
-
const X =
|
|
1982
|
+
const X = a[J]?.palette?.mode, i = !n && X ? {
|
|
1980
1983
|
colorScheme: X,
|
|
1981
1984
|
...Z
|
|
1982
1985
|
} : {
|
|
1983
1986
|
...Z
|
|
1984
1987
|
};
|
|
1985
|
-
|
|
1988
|
+
x(t(J, {
|
|
1986
1989
|
...i
|
|
1987
1990
|
}), i);
|
|
1988
|
-
}),
|
|
1991
|
+
}), s && $.push({
|
|
1989
1992
|
":root": {
|
|
1990
1993
|
// use double underscore to indicate that these are private variables
|
|
1991
1994
|
"--__l-threshold": "0.7",
|
|
@@ -2033,7 +2036,7 @@ const Ae = {
|
|
|
2033
2036
|
500: "#f44336",
|
|
2034
2037
|
700: "#d32f2f",
|
|
2035
2038
|
800: "#c62828"
|
|
2036
|
-
},
|
|
2039
|
+
}, we = {
|
|
2037
2040
|
300: "#ffb74d",
|
|
2038
2041
|
400: "#ffa726",
|
|
2039
2042
|
500: "#ff9800",
|
|
@@ -2128,16 +2131,16 @@ function rt() {
|
|
|
2128
2131
|
}
|
|
2129
2132
|
};
|
|
2130
2133
|
}
|
|
2131
|
-
const
|
|
2134
|
+
const lr = rt();
|
|
2132
2135
|
function Br(e, r, t, n) {
|
|
2133
|
-
const o = n.light || n,
|
|
2134
|
-
e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = Xe(e.main, o) : r === "dark" && (e.dark = Qe(e.main,
|
|
2136
|
+
const o = n.light || n, s = n.dark || n * 1.5;
|
|
2137
|
+
e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = Xe(e.main, o) : r === "dark" && (e.dark = Qe(e.main, s)));
|
|
2135
2138
|
}
|
|
2136
2139
|
function Mr(e, r, t, n, o) {
|
|
2137
|
-
const
|
|
2138
|
-
r[t] || (r.hasOwnProperty(n) ? r[t] = r[n] : t === "light" ? r.light = `color-mix(in ${e}, ${r.main}, #fff ${(
|
|
2140
|
+
const s = o.light || o, a = o.dark || o * 1.5;
|
|
2141
|
+
r[t] || (r.hasOwnProperty(n) ? r[t] = r[n] : t === "light" ? r.light = `color-mix(in ${e}, ${r.main}, #fff ${(s * 100).toFixed(0)}%)` : t === "dark" && (r.dark = `color-mix(in ${e}, ${r.main}, #000 ${(a * 100).toFixed(0)}%)`));
|
|
2139
2142
|
}
|
|
2140
|
-
function
|
|
2143
|
+
function wn(e = "light") {
|
|
2141
2144
|
return e === "dark" ? {
|
|
2142
2145
|
main: Se[200],
|
|
2143
2146
|
light: Se[50],
|
|
@@ -2148,7 +2151,7 @@ function xn(e = "light") {
|
|
|
2148
2151
|
dark: Se[800]
|
|
2149
2152
|
};
|
|
2150
2153
|
}
|
|
2151
|
-
function
|
|
2154
|
+
function xn(e = "light") {
|
|
2152
2155
|
return e === "dark" ? {
|
|
2153
2156
|
main: be[200],
|
|
2154
2157
|
light: be[50],
|
|
@@ -2159,7 +2162,7 @@ function On(e = "light") {
|
|
|
2159
2162
|
dark: be[700]
|
|
2160
2163
|
};
|
|
2161
2164
|
}
|
|
2162
|
-
function
|
|
2165
|
+
function On(e = "light") {
|
|
2163
2166
|
return e === "dark" ? {
|
|
2164
2167
|
main: ve[500],
|
|
2165
2168
|
light: ve[300],
|
|
@@ -2194,14 +2197,14 @@ function An(e = "light") {
|
|
|
2194
2197
|
}
|
|
2195
2198
|
function Rn(e = "light") {
|
|
2196
2199
|
return e === "dark" ? {
|
|
2197
|
-
main:
|
|
2198
|
-
light:
|
|
2199
|
-
dark:
|
|
2200
|
+
main: we[400],
|
|
2201
|
+
light: we[300],
|
|
2202
|
+
dark: we[700]
|
|
2200
2203
|
} : {
|
|
2201
2204
|
main: "#ed6c02",
|
|
2202
2205
|
// closest to orange[800] that pass 3:1.
|
|
2203
|
-
light:
|
|
2204
|
-
dark:
|
|
2206
|
+
light: we[500],
|
|
2207
|
+
dark: we[900]
|
|
2205
2208
|
};
|
|
2206
2209
|
}
|
|
2207
2210
|
function Pn(e) {
|
|
@@ -2213,34 +2216,34 @@ function gr(e) {
|
|
|
2213
2216
|
contrastThreshold: t = 3,
|
|
2214
2217
|
tonalOffset: n = 0.2,
|
|
2215
2218
|
colorSpace: o,
|
|
2216
|
-
...
|
|
2217
|
-
} = e,
|
|
2218
|
-
function
|
|
2219
|
+
...s
|
|
2220
|
+
} = e, a = e.primary || wn(r), l = e.secondary || xn(r), d = e.error || On(r), p = e.info || _n(r), y = e.success || An(r), m = e.warning || Rn(r);
|
|
2221
|
+
function g(S) {
|
|
2219
2222
|
if (o)
|
|
2220
|
-
return Pn(
|
|
2221
|
-
const _ = Ir(
|
|
2223
|
+
return Pn(S);
|
|
2224
|
+
const _ = Ir(S, lr.text.primary) >= t ? lr.text.primary : et.text.primary;
|
|
2222
2225
|
if (process.env.NODE_ENV !== "production") {
|
|
2223
|
-
const M = Ir(
|
|
2224
|
-
M < 3 && console.error([`MUI: The contrast ratio of ${M}:1 for ${_} on ${
|
|
2226
|
+
const M = Ir(S, _);
|
|
2227
|
+
M < 3 && console.error([`MUI: The contrast ratio of ${M}:1 for ${_} on ${S}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
2225
2228
|
`));
|
|
2226
2229
|
}
|
|
2227
2230
|
return _;
|
|
2228
2231
|
}
|
|
2229
|
-
const
|
|
2230
|
-
color:
|
|
2232
|
+
const u = ({
|
|
2233
|
+
color: S,
|
|
2231
2234
|
name: _,
|
|
2232
2235
|
mainShade: M = 500,
|
|
2233
2236
|
lightShade: D = 300,
|
|
2234
2237
|
darkShade: $ = 700
|
|
2235
2238
|
}) => {
|
|
2236
|
-
if (
|
|
2237
|
-
...
|
|
2238
|
-
}, !
|
|
2239
|
+
if (S = {
|
|
2240
|
+
...S
|
|
2241
|
+
}, !S.main && S[M] && (S.main = S[M]), !S.hasOwnProperty("main"))
|
|
2239
2242
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${_ ? ` (${_})` : ""} provided to augmentColor(color) is invalid.
|
|
2240
|
-
The color object needs to have a \`main\` property or a \`${M}\` property.` :
|
|
2241
|
-
if (typeof
|
|
2243
|
+
The color object needs to have a \`main\` property or a \`${M}\` property.` : ye(11, _ ? ` (${_})` : "", M));
|
|
2244
|
+
if (typeof S.main != "string")
|
|
2242
2245
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${_ ? ` (${_})` : ""} provided to augmentColor(color) is invalid.
|
|
2243
|
-
\`color.main\` should be a string, but \`${JSON.stringify(
|
|
2246
|
+
\`color.main\` should be a string, but \`${JSON.stringify(S.main)}\` was provided instead.
|
|
2244
2247
|
|
|
2245
2248
|
Did you intend to use one of the following approaches?
|
|
2246
2249
|
|
|
@@ -2252,11 +2255,11 @@ const theme1 = createTheme({ palette: {
|
|
|
2252
2255
|
|
|
2253
2256
|
const theme2 = createTheme({ palette: {
|
|
2254
2257
|
primary: { main: green[500] },
|
|
2255
|
-
} });` :
|
|
2256
|
-
return o ? (Mr(o,
|
|
2258
|
+
} });` : ye(12, _ ? ` (${_})` : "", JSON.stringify(S.main)));
|
|
2259
|
+
return o ? (Mr(o, S, "light", D, n), Mr(o, S, "dark", $, n)) : (Br(S, "light", D, n), Br(S, "dark", $, n)), S.contrastText || (S.contrastText = g(S.main)), S;
|
|
2257
2260
|
};
|
|
2258
|
-
let
|
|
2259
|
-
return r === "light" ?
|
|
2261
|
+
let v;
|
|
2262
|
+
return r === "light" ? v = Zr() : r === "dark" && (v = rt()), process.env.NODE_ENV !== "production" && (v || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), te({
|
|
2260
2263
|
// A collection of common colors.
|
|
2261
2264
|
common: {
|
|
2262
2265
|
...Ae
|
|
@@ -2265,36 +2268,36 @@ const theme2 = createTheme({ palette: {
|
|
|
2265
2268
|
// The palette mode, can be light or dark.
|
|
2266
2269
|
mode: r,
|
|
2267
2270
|
// The colors used to represent primary interface elements for a user.
|
|
2268
|
-
primary:
|
|
2269
|
-
color:
|
|
2271
|
+
primary: u({
|
|
2272
|
+
color: a,
|
|
2270
2273
|
name: "primary"
|
|
2271
2274
|
}),
|
|
2272
2275
|
// The colors used to represent secondary interface elements for a user.
|
|
2273
|
-
secondary:
|
|
2274
|
-
color:
|
|
2276
|
+
secondary: u({
|
|
2277
|
+
color: l,
|
|
2275
2278
|
name: "secondary",
|
|
2276
2279
|
mainShade: "A400",
|
|
2277
2280
|
lightShade: "A200",
|
|
2278
2281
|
darkShade: "A700"
|
|
2279
2282
|
}),
|
|
2280
2283
|
// The colors used to represent interface elements that the user should be made aware of.
|
|
2281
|
-
error:
|
|
2282
|
-
color:
|
|
2284
|
+
error: u({
|
|
2285
|
+
color: d,
|
|
2283
2286
|
name: "error"
|
|
2284
2287
|
}),
|
|
2285
2288
|
// The colors used to represent potentially dangerous actions or important messages.
|
|
2286
|
-
warning:
|
|
2287
|
-
color:
|
|
2289
|
+
warning: u({
|
|
2290
|
+
color: m,
|
|
2288
2291
|
name: "warning"
|
|
2289
2292
|
}),
|
|
2290
2293
|
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
2291
|
-
info:
|
|
2292
|
-
color:
|
|
2294
|
+
info: u({
|
|
2295
|
+
color: p,
|
|
2293
2296
|
name: "info"
|
|
2294
2297
|
}),
|
|
2295
2298
|
// The colors used to indicate the successful completion of an action that user triggered.
|
|
2296
|
-
success:
|
|
2297
|
-
color:
|
|
2299
|
+
success: u({
|
|
2300
|
+
color: y,
|
|
2298
2301
|
name: "success"
|
|
2299
2302
|
}),
|
|
2300
2303
|
// The grey colors.
|
|
@@ -2303,22 +2306,22 @@ const theme2 = createTheme({ palette: {
|
|
|
2303
2306
|
// the background and the text.
|
|
2304
2307
|
contrastThreshold: t,
|
|
2305
2308
|
// Takes a background color and returns the text color that maximizes the contrast.
|
|
2306
|
-
getContrastText:
|
|
2309
|
+
getContrastText: g,
|
|
2307
2310
|
// Generate a rich color object.
|
|
2308
|
-
augmentColor:
|
|
2311
|
+
augmentColor: u,
|
|
2309
2312
|
// Used by the functions below to shift a color's luminance by approximately
|
|
2310
2313
|
// two indexes within its tonal palette.
|
|
2311
2314
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
2312
2315
|
tonalOffset: n,
|
|
2313
2316
|
// The light and dark mode object.
|
|
2314
|
-
...
|
|
2315
|
-
},
|
|
2317
|
+
...v
|
|
2318
|
+
}, s);
|
|
2316
2319
|
}
|
|
2317
2320
|
function kn(e) {
|
|
2318
2321
|
const r = {};
|
|
2319
2322
|
return Object.entries(e).forEach((n) => {
|
|
2320
|
-
const [o,
|
|
2321
|
-
typeof
|
|
2323
|
+
const [o, s] = n;
|
|
2324
|
+
typeof s == "object" && (r[o] = `${s.fontStyle ? `${s.fontStyle} ` : ""}${s.fontVariant ? `${s.fontVariant} ` : ""}${s.fontWeight ? `${s.fontWeight} ` : ""}${s.fontStretch ? `${s.fontStretch} ` : ""}${s.fontSize || ""}${s.lineHeight ? `/${s.lineHeight} ` : ""}${s.fontFamily || ""}`);
|
|
2322
2325
|
}), r;
|
|
2323
2326
|
}
|
|
2324
2327
|
function In(e, r) {
|
|
@@ -2350,22 +2353,22 @@ function Bn(e, r) {
|
|
|
2350
2353
|
fontSize: n = 14,
|
|
2351
2354
|
// px
|
|
2352
2355
|
fontWeightLight: o = 300,
|
|
2353
|
-
fontWeightRegular:
|
|
2354
|
-
fontWeightMedium:
|
|
2355
|
-
fontWeightBold:
|
|
2356
|
+
fontWeightRegular: s = 400,
|
|
2357
|
+
fontWeightMedium: a = 500,
|
|
2358
|
+
fontWeightBold: l = 700,
|
|
2356
2359
|
// Tell MUI what's the font-size on the html element.
|
|
2357
2360
|
// 16px is the default font-size used by browsers.
|
|
2358
|
-
htmlFontSize:
|
|
2361
|
+
htmlFontSize: d = 16,
|
|
2359
2362
|
// Apply the CSS properties to all the variants.
|
|
2360
|
-
allVariants:
|
|
2361
|
-
pxToRem:
|
|
2362
|
-
...
|
|
2363
|
+
allVariants: p,
|
|
2364
|
+
pxToRem: y,
|
|
2365
|
+
...m
|
|
2363
2366
|
} = typeof r == "function" ? r(e) : r;
|
|
2364
|
-
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof
|
|
2365
|
-
const
|
|
2367
|
+
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof d != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2368
|
+
const g = n / 14, u = y || ((S) => `${S / d * g}rem`), v = (S, _, M, D, $) => ({
|
|
2366
2369
|
fontFamily: t,
|
|
2367
|
-
fontWeight:
|
|
2368
|
-
fontSize:
|
|
2370
|
+
fontWeight: S,
|
|
2371
|
+
fontSize: u(_),
|
|
2369
2372
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2370
2373
|
lineHeight: M,
|
|
2371
2374
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
@@ -2374,21 +2377,21 @@ function Bn(e, r) {
|
|
|
2374
2377
|
letterSpacing: `${Nn(D / _)}em`
|
|
2375
2378
|
} : {},
|
|
2376
2379
|
...$,
|
|
2377
|
-
...
|
|
2378
|
-
}),
|
|
2379
|
-
h1:
|
|
2380
|
-
h2:
|
|
2381
|
-
h3:
|
|
2382
|
-
h4:
|
|
2383
|
-
h5:
|
|
2384
|
-
h6:
|
|
2385
|
-
subtitle1:
|
|
2386
|
-
subtitle2:
|
|
2387
|
-
body1:
|
|
2388
|
-
body2:
|
|
2389
|
-
button:
|
|
2390
|
-
caption:
|
|
2391
|
-
overline:
|
|
2380
|
+
...p
|
|
2381
|
+
}), c = {
|
|
2382
|
+
h1: v(o, 96, 1.167, -1.5),
|
|
2383
|
+
h2: v(o, 60, 1.2, -0.5),
|
|
2384
|
+
h3: v(s, 48, 1.167, 0),
|
|
2385
|
+
h4: v(s, 34, 1.235, 0.25),
|
|
2386
|
+
h5: v(s, 24, 1.334, 0),
|
|
2387
|
+
h6: v(a, 20, 1.6, 0.15),
|
|
2388
|
+
subtitle1: v(s, 16, 1.75, 0.15),
|
|
2389
|
+
subtitle2: v(a, 14, 1.57, 0.1),
|
|
2390
|
+
body1: v(s, 16, 1.5, 0.15),
|
|
2391
|
+
body2: v(s, 14, 1.43, 0.15),
|
|
2392
|
+
button: v(a, 14, 1.75, 0.4, Dr),
|
|
2393
|
+
caption: v(s, 12, 1.66, 0.4),
|
|
2394
|
+
overline: v(s, 12, 2.66, 1, Dr),
|
|
2392
2395
|
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
2393
2396
|
inherit: {
|
|
2394
2397
|
fontFamily: "inherit",
|
|
@@ -2399,16 +2402,16 @@ function Bn(e, r) {
|
|
|
2399
2402
|
}
|
|
2400
2403
|
};
|
|
2401
2404
|
return te({
|
|
2402
|
-
htmlFontSize:
|
|
2403
|
-
pxToRem:
|
|
2405
|
+
htmlFontSize: d,
|
|
2406
|
+
pxToRem: u,
|
|
2404
2407
|
fontFamily: t,
|
|
2405
2408
|
fontSize: n,
|
|
2406
2409
|
fontWeightLight: o,
|
|
2407
|
-
fontWeightRegular:
|
|
2408
|
-
fontWeightMedium:
|
|
2409
|
-
fontWeightBold:
|
|
2410
|
-
...
|
|
2411
|
-
},
|
|
2410
|
+
fontWeightRegular: s,
|
|
2411
|
+
fontWeightMedium: a,
|
|
2412
|
+
fontWeightBold: l,
|
|
2413
|
+
...c
|
|
2414
|
+
}, m, {
|
|
2412
2415
|
clone: !1
|
|
2413
2416
|
// No need to clone deep
|
|
2414
2417
|
});
|
|
@@ -2459,19 +2462,19 @@ function Vn(e) {
|
|
|
2459
2462
|
};
|
|
2460
2463
|
return {
|
|
2461
2464
|
getAutoHeightDuration: Yn,
|
|
2462
|
-
create: (o = ["all"],
|
|
2465
|
+
create: (o = ["all"], s = {}) => {
|
|
2463
2466
|
const {
|
|
2464
|
-
duration:
|
|
2465
|
-
easing:
|
|
2466
|
-
delay:
|
|
2467
|
-
...
|
|
2468
|
-
} =
|
|
2467
|
+
duration: a = t.standard,
|
|
2468
|
+
easing: l = r.easeInOut,
|
|
2469
|
+
delay: d = 0,
|
|
2470
|
+
...p
|
|
2471
|
+
} = s;
|
|
2469
2472
|
if (process.env.NODE_ENV !== "production") {
|
|
2470
|
-
const
|
|
2471
|
-
!
|
|
2472
|
-
`)), Object.keys(
|
|
2473
|
+
const y = (g) => typeof g == "string", m = (g) => !Number.isNaN(parseFloat(g));
|
|
2474
|
+
!y(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !m(a) && !y(a) && console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`), y(l) || console.error('MUI: Argument "easing" must be a string.'), !m(d) && !y(d) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof s != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
2475
|
+
`)), Object.keys(p).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(p).join(",")}].`);
|
|
2473
2476
|
}
|
|
2474
|
-
return (Array.isArray(o) ? o : [o]).map((
|
|
2477
|
+
return (Array.isArray(o) ? o : [o]).map((y) => `${y} ${typeof a == "string" ? a : Fr(a)} ${l} ${typeof d == "string" ? d : Fr(d)}`).join(",");
|
|
2475
2478
|
},
|
|
2476
2479
|
...e,
|
|
2477
2480
|
easing: r,
|
|
@@ -2497,11 +2500,11 @@ function tt(e = {}) {
|
|
|
2497
2500
|
};
|
|
2498
2501
|
function t(n) {
|
|
2499
2502
|
const o = Object.entries(n);
|
|
2500
|
-
for (let
|
|
2501
|
-
const [
|
|
2502
|
-
!zn(
|
|
2503
|
-
...
|
|
2504
|
-
}, t(n[
|
|
2503
|
+
for (let s = 0; s < o.length; s++) {
|
|
2504
|
+
const [a, l] = o[s];
|
|
2505
|
+
!zn(l) || a.startsWith("unstable_") ? delete n[a] : pe(l) && (n[a] = {
|
|
2506
|
+
...l
|
|
2507
|
+
}, t(n[a]));
|
|
2505
2508
|
}
|
|
2506
2509
|
}
|
|
2507
2510
|
return t(r), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
@@ -2543,70 +2546,70 @@ function Gn(e) {
|
|
|
2543
2546
|
}
|
|
2544
2547
|
});
|
|
2545
2548
|
}
|
|
2546
|
-
function
|
|
2549
|
+
function ur(e = {}, ...r) {
|
|
2547
2550
|
const {
|
|
2548
2551
|
breakpoints: t,
|
|
2549
2552
|
mixins: n = {},
|
|
2550
2553
|
spacing: o,
|
|
2551
|
-
palette:
|
|
2552
|
-
transitions:
|
|
2553
|
-
typography:
|
|
2554
|
-
shape:
|
|
2555
|
-
colorSpace:
|
|
2556
|
-
...
|
|
2554
|
+
palette: s = {},
|
|
2555
|
+
transitions: a = {},
|
|
2556
|
+
typography: l = {},
|
|
2557
|
+
shape: d,
|
|
2558
|
+
colorSpace: p,
|
|
2559
|
+
...y
|
|
2557
2560
|
} = e;
|
|
2558
2561
|
if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
|
|
2559
2562
|
// `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
|
|
2560
2563
|
e.generateThemeVars === void 0)
|
|
2561
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." :
|
|
2562
|
-
const
|
|
2563
|
-
...
|
|
2564
|
-
colorSpace:
|
|
2565
|
-
}),
|
|
2566
|
-
let
|
|
2567
|
-
mixins: In(
|
|
2568
|
-
palette:
|
|
2564
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : ye(20));
|
|
2565
|
+
const m = gr({
|
|
2566
|
+
...s,
|
|
2567
|
+
colorSpace: p
|
|
2568
|
+
}), g = mn(e);
|
|
2569
|
+
let u = te(g, {
|
|
2570
|
+
mixins: In(g.breakpoints, n),
|
|
2571
|
+
palette: m,
|
|
2569
2572
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2570
2573
|
shadows: Fn.slice(),
|
|
2571
|
-
typography: Bn(
|
|
2572
|
-
transitions: Vn(
|
|
2574
|
+
typography: Bn(m, l),
|
|
2575
|
+
transitions: Vn(a),
|
|
2573
2576
|
zIndex: {
|
|
2574
2577
|
...Un
|
|
2575
2578
|
}
|
|
2576
2579
|
});
|
|
2577
|
-
if (
|
|
2578
|
-
const
|
|
2580
|
+
if (u = te(u, y), u = r.reduce((v, c) => te(v, c), u), process.env.NODE_ENV !== "production") {
|
|
2581
|
+
const v = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], c = (S, _) => {
|
|
2579
2582
|
let M;
|
|
2580
|
-
for (M in
|
|
2581
|
-
const D =
|
|
2582
|
-
if (
|
|
2583
|
+
for (M in S) {
|
|
2584
|
+
const D = S[M];
|
|
2585
|
+
if (v.includes(M) && Object.keys(D).length > 0) {
|
|
2583
2586
|
if (process.env.NODE_ENV !== "production") {
|
|
2584
2587
|
const $ = at("", M);
|
|
2585
|
-
console.error([`MUI: The \`${_}\` component increases the CSS specificity of the \`${M}\` internal state.`, "You can not override it like this: ", JSON.stringify(
|
|
2588
|
+
console.error([`MUI: The \`${_}\` component increases the CSS specificity of the \`${M}\` internal state.`, "You can not override it like this: ", JSON.stringify(S, null, 2), "", `Instead, you need to use the '&.${$}' syntax:`, JSON.stringify({
|
|
2586
2589
|
root: {
|
|
2587
2590
|
[`&.${$}`]: D
|
|
2588
2591
|
}
|
|
2589
2592
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
2590
2593
|
`));
|
|
2591
2594
|
}
|
|
2592
|
-
|
|
2595
|
+
S[M] = {};
|
|
2593
2596
|
}
|
|
2594
2597
|
}
|
|
2595
2598
|
};
|
|
2596
|
-
Object.keys(
|
|
2597
|
-
const _ =
|
|
2598
|
-
_ &&
|
|
2599
|
+
Object.keys(u.components).forEach((S) => {
|
|
2600
|
+
const _ = u.components[S].styleOverrides;
|
|
2601
|
+
_ && S.startsWith("Mui") && c(_, S);
|
|
2599
2602
|
});
|
|
2600
2603
|
}
|
|
2601
|
-
return
|
|
2604
|
+
return u.unstable_sxConfig = {
|
|
2602
2605
|
...Ge,
|
|
2603
|
-
...
|
|
2604
|
-
},
|
|
2606
|
+
...y?.unstable_sxConfig
|
|
2607
|
+
}, u.unstable_sx = function(c) {
|
|
2605
2608
|
return Ke({
|
|
2606
|
-
sx:
|
|
2609
|
+
sx: c,
|
|
2607
2610
|
theme: this
|
|
2608
2611
|
});
|
|
2609
|
-
},
|
|
2612
|
+
}, u.toRuntimeSource = tt, Gn(u), u;
|
|
2610
2613
|
}
|
|
2611
2614
|
function Kn(e) {
|
|
2612
2615
|
let r;
|
|
@@ -2638,19 +2641,19 @@ function Qn(e) {
|
|
|
2638
2641
|
opacity: t,
|
|
2639
2642
|
overlays: n,
|
|
2640
2643
|
colorSpace: o,
|
|
2641
|
-
...
|
|
2642
|
-
} = e,
|
|
2644
|
+
...s
|
|
2645
|
+
} = e, a = gr({
|
|
2643
2646
|
...r,
|
|
2644
2647
|
colorSpace: o
|
|
2645
2648
|
});
|
|
2646
2649
|
return {
|
|
2647
|
-
palette:
|
|
2650
|
+
palette: a,
|
|
2648
2651
|
opacity: {
|
|
2649
|
-
...nt(
|
|
2652
|
+
...nt(a.mode),
|
|
2650
2653
|
...t
|
|
2651
2654
|
},
|
|
2652
|
-
overlays: n || ot(
|
|
2653
|
-
...
|
|
2655
|
+
overlays: n || ot(a.mode),
|
|
2656
|
+
...s
|
|
2654
2657
|
};
|
|
2655
2658
|
}
|
|
2656
2659
|
function Xn(e) {
|
|
@@ -2659,38 +2662,38 @@ function Xn(e) {
|
|
|
2659
2662
|
}
|
|
2660
2663
|
const Jn = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], Zn = (e) => (r, t) => {
|
|
2661
2664
|
const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
|
|
2662
|
-
let
|
|
2663
|
-
if (o === "class" && (
|
|
2665
|
+
let s = o;
|
|
2666
|
+
if (o === "class" && (s = ".%s"), o === "data" && (s = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (s = `[${o}="%s"]`), e.defaultColorScheme === r) {
|
|
2664
2667
|
if (r === "dark") {
|
|
2665
|
-
const
|
|
2666
|
-
return Jn(e.cssVarPrefix).forEach((
|
|
2667
|
-
|
|
2668
|
-
}),
|
|
2668
|
+
const a = {};
|
|
2669
|
+
return Jn(e.cssVarPrefix).forEach((l) => {
|
|
2670
|
+
a[l] = t[l], delete t[l];
|
|
2671
|
+
}), s === "media" ? {
|
|
2669
2672
|
[n]: t,
|
|
2670
2673
|
"@media (prefers-color-scheme: dark)": {
|
|
2671
|
-
[n]:
|
|
2674
|
+
[n]: a
|
|
2672
2675
|
}
|
|
2673
|
-
} :
|
|
2674
|
-
[
|
|
2675
|
-
[`${n}, ${
|
|
2676
|
+
} : s ? {
|
|
2677
|
+
[s.replace("%s", r)]: a,
|
|
2678
|
+
[`${n}, ${s.replace("%s", r)}`]: t
|
|
2676
2679
|
} : {
|
|
2677
2680
|
[n]: {
|
|
2678
2681
|
...t,
|
|
2679
|
-
...
|
|
2682
|
+
...a
|
|
2680
2683
|
}
|
|
2681
2684
|
};
|
|
2682
2685
|
}
|
|
2683
|
-
if (
|
|
2684
|
-
return `${n}, ${
|
|
2686
|
+
if (s && s !== "media")
|
|
2687
|
+
return `${n}, ${s.replace("%s", String(r))}`;
|
|
2685
2688
|
} else if (r) {
|
|
2686
|
-
if (
|
|
2689
|
+
if (s === "media")
|
|
2687
2690
|
return {
|
|
2688
2691
|
[`@media (prefers-color-scheme: ${String(r)})`]: {
|
|
2689
2692
|
[n]: t
|
|
2690
2693
|
}
|
|
2691
2694
|
};
|
|
2692
|
-
if (
|
|
2693
|
-
return
|
|
2695
|
+
if (s)
|
|
2696
|
+
return s.replace("%s", String(r));
|
|
2694
2697
|
}
|
|
2695
2698
|
return n;
|
|
2696
2699
|
};
|
|
@@ -2699,20 +2702,20 @@ function eo(e, r) {
|
|
|
2699
2702
|
e[t] || (e[t] = {});
|
|
2700
2703
|
});
|
|
2701
2704
|
}
|
|
2702
|
-
function
|
|
2705
|
+
function f(e, r, t) {
|
|
2703
2706
|
!e[r] && t && (e[r] = t);
|
|
2704
2707
|
}
|
|
2705
|
-
function
|
|
2708
|
+
function Oe(e) {
|
|
2706
2709
|
return typeof e != "string" || !e.startsWith("hsl") ? e : Xr(e);
|
|
2707
2710
|
}
|
|
2708
2711
|
function fe(e, r) {
|
|
2709
|
-
`${r}Channel` in e || (e[`${r}Channel`] = Oe(
|
|
2712
|
+
`${r}Channel` in e || (e[`${r}Channel`] = xe(Oe(e[r]), `MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
2710
2713
|
To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
|
|
2711
2714
|
}
|
|
2712
2715
|
function ro(e) {
|
|
2713
2716
|
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
2714
2717
|
}
|
|
2715
|
-
const
|
|
2718
|
+
const le = (e) => {
|
|
2716
2719
|
try {
|
|
2717
2720
|
return e();
|
|
2718
2721
|
} catch {
|
|
@@ -2722,12 +2725,12 @@ function ar(e, r, t, n, o) {
|
|
|
2722
2725
|
if (!t)
|
|
2723
2726
|
return;
|
|
2724
2727
|
t = t === !0 ? {} : t;
|
|
2725
|
-
const
|
|
2728
|
+
const s = o === "dark" ? "dark" : "light";
|
|
2726
2729
|
if (!n) {
|
|
2727
2730
|
r[o] = Qn({
|
|
2728
2731
|
...t,
|
|
2729
2732
|
palette: {
|
|
2730
|
-
mode:
|
|
2733
|
+
mode: s,
|
|
2731
2734
|
...t?.palette
|
|
2732
2735
|
},
|
|
2733
2736
|
colorSpace: e
|
|
@@ -2735,25 +2738,25 @@ function ar(e, r, t, n, o) {
|
|
|
2735
2738
|
return;
|
|
2736
2739
|
}
|
|
2737
2740
|
const {
|
|
2738
|
-
palette:
|
|
2739
|
-
...
|
|
2740
|
-
} =
|
|
2741
|
+
palette: a,
|
|
2742
|
+
...l
|
|
2743
|
+
} = ur({
|
|
2741
2744
|
...n,
|
|
2742
2745
|
palette: {
|
|
2743
|
-
mode:
|
|
2746
|
+
mode: s,
|
|
2744
2747
|
...t?.palette
|
|
2745
2748
|
},
|
|
2746
2749
|
colorSpace: e
|
|
2747
2750
|
});
|
|
2748
2751
|
return r[o] = {
|
|
2749
2752
|
...t,
|
|
2750
|
-
palette:
|
|
2753
|
+
palette: a,
|
|
2751
2754
|
opacity: {
|
|
2752
|
-
...nt(
|
|
2755
|
+
...nt(s),
|
|
2753
2756
|
...t?.opacity
|
|
2754
2757
|
},
|
|
2755
|
-
overlays: t?.overlays || ot(
|
|
2756
|
-
},
|
|
2758
|
+
overlays: t?.overlays || ot(s)
|
|
2759
|
+
}, l;
|
|
2757
2760
|
}
|
|
2758
2761
|
function no(e = {}, ...r) {
|
|
2759
2762
|
const {
|
|
@@ -2762,93 +2765,93 @@ function no(e = {}, ...r) {
|
|
|
2762
2765
|
},
|
|
2763
2766
|
defaultColorScheme: n,
|
|
2764
2767
|
disableCssColorScheme: o = !1,
|
|
2765
|
-
cssVarPrefix:
|
|
2766
|
-
nativeColor:
|
|
2767
|
-
shouldSkipGeneratingVar:
|
|
2768
|
-
colorSchemeSelector:
|
|
2769
|
-
rootSelector:
|
|
2770
|
-
...
|
|
2771
|
-
} = e,
|
|
2772
|
-
[
|
|
2773
|
-
light:
|
|
2774
|
-
dark:
|
|
2768
|
+
cssVarPrefix: s = "mui",
|
|
2769
|
+
nativeColor: a = !1,
|
|
2770
|
+
shouldSkipGeneratingVar: l = Xn,
|
|
2771
|
+
colorSchemeSelector: d = t.light && t.dark ? "media" : void 0,
|
|
2772
|
+
rootSelector: p = ":root",
|
|
2773
|
+
...y
|
|
2774
|
+
} = e, m = Object.keys(t)[0], g = n || (t.light && m !== "light" ? "light" : m), u = to(s), {
|
|
2775
|
+
[g]: v,
|
|
2776
|
+
light: c,
|
|
2777
|
+
dark: S,
|
|
2775
2778
|
..._
|
|
2776
2779
|
} = t, M = {
|
|
2777
2780
|
..._
|
|
2778
2781
|
};
|
|
2779
|
-
let D =
|
|
2780
|
-
if ((
|
|
2781
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${
|
|
2782
|
+
let D = v;
|
|
2783
|
+
if ((g === "dark" && !("dark" in t) || g === "light" && !("light" in t)) && (D = !0), !D)
|
|
2784
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${g}\` option is either missing or invalid.` : ye(21, g));
|
|
2782
2785
|
let $;
|
|
2783
|
-
|
|
2784
|
-
const
|
|
2785
|
-
|
|
2786
|
-
let
|
|
2787
|
-
defaultColorScheme:
|
|
2788
|
-
...
|
|
2789
|
-
cssVarPrefix:
|
|
2790
|
-
colorSchemeSelector:
|
|
2791
|
-
rootSelector:
|
|
2792
|
-
getCssVar:
|
|
2786
|
+
a && ($ = "oklch");
|
|
2787
|
+
const b = ar($, M, D, y, g);
|
|
2788
|
+
c && !M.light && ar($, M, c, void 0, "light"), S && !M.dark && ar($, M, S, void 0, "dark");
|
|
2789
|
+
let x = {
|
|
2790
|
+
defaultColorScheme: g,
|
|
2791
|
+
...b,
|
|
2792
|
+
cssVarPrefix: s,
|
|
2793
|
+
colorSchemeSelector: d,
|
|
2794
|
+
rootSelector: p,
|
|
2795
|
+
getCssVar: u,
|
|
2793
2796
|
colorSchemes: M,
|
|
2794
2797
|
font: {
|
|
2795
|
-
...kn(
|
|
2796
|
-
...
|
|
2798
|
+
...kn(b.typography),
|
|
2799
|
+
...b.font
|
|
2797
2800
|
},
|
|
2798
|
-
spacing: ro(
|
|
2801
|
+
spacing: ro(y.spacing)
|
|
2799
2802
|
};
|
|
2800
|
-
Object.keys(
|
|
2801
|
-
const i =
|
|
2803
|
+
Object.keys(x.colorSchemes).forEach((X) => {
|
|
2804
|
+
const i = x.colorSchemes[X].palette, w = (j) => {
|
|
2802
2805
|
const W = j.split("-"), ee = W[1], se = W[2];
|
|
2803
|
-
return
|
|
2806
|
+
return u(j, i[ee][se]);
|
|
2804
2807
|
};
|
|
2805
|
-
i.mode === "light" && (
|
|
2806
|
-
function
|
|
2808
|
+
i.mode === "light" && (f(i.common, "background", "#fff"), f(i.common, "onBackground", "#000")), i.mode === "dark" && (f(i.common, "background", "#000"), f(i.common, "onBackground", "#fff"));
|
|
2809
|
+
function C(j, W, ee) {
|
|
2807
2810
|
if ($) {
|
|
2808
2811
|
let se;
|
|
2809
|
-
return j ===
|
|
2812
|
+
return j === he && (se = `transparent ${((1 - ee) * 100).toFixed(0)}%`), j === V && (se = `#000 ${(ee * 100).toFixed(0)}%`), j === U && (se = `#fff ${(ee * 100).toFixed(0)}%`), `color-mix(in ${$}, ${W}, ${se})`;
|
|
2810
2813
|
}
|
|
2811
2814
|
return j(W, ee);
|
|
2812
2815
|
}
|
|
2813
2816
|
if (eo(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
|
|
2814
|
-
|
|
2815
|
-
const j = $ ?
|
|
2816
|
-
|
|
2817
|
+
f(i.Alert, "errorColor", C(V, a ? u("palette-error-light") : i.error.light, 0.6)), f(i.Alert, "infoColor", C(V, a ? u("palette-info-light") : i.info.light, 0.6)), f(i.Alert, "successColor", C(V, a ? u("palette-success-light") : i.success.light, 0.6)), f(i.Alert, "warningColor", C(V, a ? u("palette-warning-light") : i.warning.light, 0.6)), f(i.Alert, "errorFilledBg", w("palette-error-main")), f(i.Alert, "infoFilledBg", w("palette-info-main")), f(i.Alert, "successFilledBg", w("palette-success-main")), f(i.Alert, "warningFilledBg", w("palette-warning-main")), f(i.Alert, "errorFilledColor", le(() => i.getContrastText(i.error.main))), f(i.Alert, "infoFilledColor", le(() => i.getContrastText(i.info.main))), f(i.Alert, "successFilledColor", le(() => i.getContrastText(i.success.main))), f(i.Alert, "warningFilledColor", le(() => i.getContrastText(i.warning.main))), f(i.Alert, "errorStandardBg", C(U, a ? u("palette-error-light") : i.error.light, 0.9)), f(i.Alert, "infoStandardBg", C(U, a ? u("palette-info-light") : i.info.light, 0.9)), f(i.Alert, "successStandardBg", C(U, a ? u("palette-success-light") : i.success.light, 0.9)), f(i.Alert, "warningStandardBg", C(U, a ? u("palette-warning-light") : i.warning.light, 0.9)), f(i.Alert, "errorIconColor", w("palette-error-main")), f(i.Alert, "infoIconColor", w("palette-info-main")), f(i.Alert, "successIconColor", w("palette-success-main")), f(i.Alert, "warningIconColor", w("palette-warning-main")), f(i.AppBar, "defaultBg", w("palette-grey-100")), f(i.Avatar, "defaultBg", w("palette-grey-400")), f(i.Button, "inheritContainedBg", w("palette-grey-300")), f(i.Button, "inheritContainedHoverBg", w("palette-grey-A100")), f(i.Chip, "defaultBorder", w("palette-grey-400")), f(i.Chip, "defaultAvatarColor", w("palette-grey-700")), f(i.Chip, "defaultIconColor", w("palette-grey-700")), f(i.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), f(i.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), f(i.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), f(i.LinearProgress, "primaryBg", C(U, a ? u("palette-primary-main") : i.primary.main, 0.62)), f(i.LinearProgress, "secondaryBg", C(U, a ? u("palette-secondary-main") : i.secondary.main, 0.62)), f(i.LinearProgress, "errorBg", C(U, a ? u("palette-error-main") : i.error.main, 0.62)), f(i.LinearProgress, "infoBg", C(U, a ? u("palette-info-main") : i.info.main, 0.62)), f(i.LinearProgress, "successBg", C(U, a ? u("palette-success-main") : i.success.main, 0.62)), f(i.LinearProgress, "warningBg", C(U, a ? u("palette-warning-light") : i.warning.main, 0.62)), f(i.Skeleton, "bg", $ ? C(he, a ? u("palette-text-primary") : i.text.primary, 0.11) : `rgba(${w("palette-text-primaryChannel")} / 0.11)`), f(i.Slider, "primaryTrack", C(U, a ? u("palette-primary-main") : i.primary.main, 0.62)), f(i.Slider, "secondaryTrack", C(U, a ? u("palette-secondary-main") : i.secondary.main, 0.62)), f(i.Slider, "errorTrack", C(U, a ? u("palette-error-main") : i.error.main, 0.62)), f(i.Slider, "infoTrack", C(U, a ? u("palette-info-main") : i.info.main, 0.62)), f(i.Slider, "successTrack", C(U, a ? u("palette-success-main") : i.success.main, 0.62)), f(i.Slider, "warningTrack", C(U, a ? u("palette-warning-main") : i.warning.main, 0.62));
|
|
2818
|
+
const j = $ ? C(V, a ? u("palette-background-default") : i.background.default, 0.6825) : Me(i.background.default, 0.8);
|
|
2819
|
+
f(i.SnackbarContent, "bg", j), f(i.SnackbarContent, "color", le(() => $ ? lr.text.primary : i.getContrastText(j))), f(i.SpeedDialAction, "fabHoverBg", Me(i.background.paper, 0.15)), f(i.StepConnector, "border", w("palette-grey-400")), f(i.StepContent, "border", w("palette-grey-400")), f(i.Switch, "defaultColor", w("palette-common-white")), f(i.Switch, "defaultDisabledColor", w("palette-grey-100")), f(i.Switch, "primaryDisabledColor", C(U, a ? u("palette-primary-main") : i.primary.main, 0.62)), f(i.Switch, "secondaryDisabledColor", C(U, a ? u("palette-secondary-main") : i.secondary.main, 0.62)), f(i.Switch, "errorDisabledColor", C(U, a ? u("palette-error-main") : i.error.main, 0.62)), f(i.Switch, "infoDisabledColor", C(U, a ? u("palette-info-main") : i.info.main, 0.62)), f(i.Switch, "successDisabledColor", C(U, a ? u("palette-success-main") : i.success.main, 0.62)), f(i.Switch, "warningDisabledColor", C(U, a ? u("palette-warning-main") : i.warning.main, 0.62)), f(i.TableCell, "border", C(U, he(a ? u("palette-divider") : i.divider, 1), 0.88)), f(i.Tooltip, "bg", C(he, a ? u("palette-grey-700") : i.grey[700], 0.92));
|
|
2817
2820
|
}
|
|
2818
2821
|
if (i.mode === "dark") {
|
|
2819
|
-
|
|
2820
|
-
const j = $ ?
|
|
2821
|
-
|
|
2822
|
+
f(i.Alert, "errorColor", C(U, a ? u("palette-error-light") : i.error.light, 0.6)), f(i.Alert, "infoColor", C(U, a ? u("palette-info-light") : i.info.light, 0.6)), f(i.Alert, "successColor", C(U, a ? u("palette-success-light") : i.success.light, 0.6)), f(i.Alert, "warningColor", C(U, a ? u("palette-warning-light") : i.warning.light, 0.6)), f(i.Alert, "errorFilledBg", w("palette-error-dark")), f(i.Alert, "infoFilledBg", w("palette-info-dark")), f(i.Alert, "successFilledBg", w("palette-success-dark")), f(i.Alert, "warningFilledBg", w("palette-warning-dark")), f(i.Alert, "errorFilledColor", le(() => i.getContrastText(i.error.dark))), f(i.Alert, "infoFilledColor", le(() => i.getContrastText(i.info.dark))), f(i.Alert, "successFilledColor", le(() => i.getContrastText(i.success.dark))), f(i.Alert, "warningFilledColor", le(() => i.getContrastText(i.warning.dark))), f(i.Alert, "errorStandardBg", C(V, a ? u("palette-error-light") : i.error.light, 0.9)), f(i.Alert, "infoStandardBg", C(V, a ? u("palette-info-light") : i.info.light, 0.9)), f(i.Alert, "successStandardBg", C(V, a ? u("palette-success-light") : i.success.light, 0.9)), f(i.Alert, "warningStandardBg", C(V, a ? u("palette-warning-light") : i.warning.light, 0.9)), f(i.Alert, "errorIconColor", w("palette-error-main")), f(i.Alert, "infoIconColor", w("palette-info-main")), f(i.Alert, "successIconColor", w("palette-success-main")), f(i.Alert, "warningIconColor", w("palette-warning-main")), f(i.AppBar, "defaultBg", w("palette-grey-900")), f(i.AppBar, "darkBg", w("palette-background-paper")), f(i.AppBar, "darkColor", w("palette-text-primary")), f(i.Avatar, "defaultBg", w("palette-grey-600")), f(i.Button, "inheritContainedBg", w("palette-grey-800")), f(i.Button, "inheritContainedHoverBg", w("palette-grey-700")), f(i.Chip, "defaultBorder", w("palette-grey-700")), f(i.Chip, "defaultAvatarColor", w("palette-grey-300")), f(i.Chip, "defaultIconColor", w("palette-grey-300")), f(i.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), f(i.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), f(i.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), f(i.LinearProgress, "primaryBg", C(V, a ? u("palette-primary-main") : i.primary.main, 0.5)), f(i.LinearProgress, "secondaryBg", C(V, a ? u("palette-secondary-main") : i.secondary.main, 0.5)), f(i.LinearProgress, "errorBg", C(V, a ? u("palette-error-main") : i.error.main, 0.5)), f(i.LinearProgress, "infoBg", C(V, a ? u("palette-info-main") : i.info.main, 0.5)), f(i.LinearProgress, "successBg", C(V, a ? u("palette-success-main") : i.success.main, 0.5)), f(i.LinearProgress, "warningBg", C(V, a ? u("palette-warning-main") : i.warning.main, 0.5)), f(i.Skeleton, "bg", $ ? C(he, a ? u("palette-text-primary") : i.text.primary, 0.13) : `rgba(${w("palette-text-primaryChannel")} / 0.13)`), f(i.Slider, "primaryTrack", C(V, a ? u("palette-primary-main") : i.primary.main, 0.5)), f(i.Slider, "secondaryTrack", C(V, a ? u("palette-secondary-main") : i.secondary.main, 0.5)), f(i.Slider, "errorTrack", C(V, a ? u("palette-error-main") : i.error.main, 0.5)), f(i.Slider, "infoTrack", C(V, a ? u("palette-info-main") : i.info.main, 0.5)), f(i.Slider, "successTrack", C(V, a ? u("palette-success-main") : i.success.main, 0.5)), f(i.Slider, "warningTrack", C(V, a ? u("palette-warning-light") : i.warning.main, 0.5));
|
|
2823
|
+
const j = $ ? C(U, a ? u("palette-background-default") : i.background.default, 0.985) : Me(i.background.default, 0.98);
|
|
2824
|
+
f(i.SnackbarContent, "bg", j), f(i.SnackbarContent, "color", le(() => $ ? et.text.primary : i.getContrastText(j))), f(i.SpeedDialAction, "fabHoverBg", Me(i.background.paper, 0.15)), f(i.StepConnector, "border", w("palette-grey-600")), f(i.StepContent, "border", w("palette-grey-600")), f(i.Switch, "defaultColor", w("palette-grey-300")), f(i.Switch, "defaultDisabledColor", w("palette-grey-600")), f(i.Switch, "primaryDisabledColor", C(V, a ? u("palette-primary-main") : i.primary.main, 0.55)), f(i.Switch, "secondaryDisabledColor", C(V, a ? u("palette-secondary-main") : i.secondary.main, 0.55)), f(i.Switch, "errorDisabledColor", C(V, a ? u("palette-error-main") : i.error.main, 0.55)), f(i.Switch, "infoDisabledColor", C(V, a ? u("palette-info-main") : i.info.main, 0.55)), f(i.Switch, "successDisabledColor", C(V, a ? u("palette-success-main") : i.success.main, 0.55)), f(i.Switch, "warningDisabledColor", C(V, a ? u("palette-warning-light") : i.warning.main, 0.55)), f(i.TableCell, "border", C(V, he(a ? u("palette-divider") : i.divider, 1), 0.68)), f(i.Tooltip, "bg", C(he, a ? u("palette-grey-700") : i.grey[700], 0.92));
|
|
2822
2825
|
}
|
|
2823
2826
|
fe(i.background, "default"), fe(i.background, "paper"), fe(i.common, "background"), fe(i.common, "onBackground"), fe(i, "divider"), Object.keys(i).forEach((j) => {
|
|
2824
2827
|
const W = i[j];
|
|
2825
|
-
j !== "tonalOffset" && W && typeof W == "object" && (W.main &&
|
|
2828
|
+
j !== "tonalOffset" && W && typeof W == "object" && (W.main && f(i[j], "mainChannel", xe(Oe(W.main))), W.light && f(i[j], "lightChannel", xe(Oe(W.light))), W.dark && f(i[j], "darkChannel", xe(Oe(W.dark))), W.contrastText && f(i[j], "contrastTextChannel", xe(Oe(W.contrastText))), j === "text" && (fe(i[j], "primary"), fe(i[j], "secondary")), j === "action" && (W.active && fe(i[j], "active"), W.selected && fe(i[j], "selected")));
|
|
2826
2829
|
});
|
|
2827
|
-
}),
|
|
2830
|
+
}), x = r.reduce((X, i) => te(X, i), x);
|
|
2828
2831
|
const ae = {
|
|
2829
|
-
prefix:
|
|
2832
|
+
prefix: s,
|
|
2830
2833
|
disableCssColorScheme: o,
|
|
2831
|
-
shouldSkipGeneratingVar:
|
|
2832
|
-
getSelector: Zn(
|
|
2833
|
-
enableContrastVars:
|
|
2834
|
+
shouldSkipGeneratingVar: l,
|
|
2835
|
+
getSelector: Zn(x),
|
|
2836
|
+
enableContrastVars: a
|
|
2834
2837
|
}, {
|
|
2835
|
-
vars:
|
|
2838
|
+
vars: ue,
|
|
2836
2839
|
generateThemeVars: J,
|
|
2837
2840
|
generateStyleSheets: Z
|
|
2838
|
-
} = Cn(
|
|
2839
|
-
return
|
|
2840
|
-
|
|
2841
|
-
}),
|
|
2842
|
-
return Qr(
|
|
2843
|
-
},
|
|
2841
|
+
} = Cn(x, ae);
|
|
2842
|
+
return x.vars = ue, Object.entries(x.colorSchemes[x.defaultColorScheme]).forEach(([X, i]) => {
|
|
2843
|
+
x[X] = i;
|
|
2844
|
+
}), x.generateThemeVars = J, x.generateStyleSheets = Z, x.generateSpacing = function() {
|
|
2845
|
+
return Qr(y.spacing, dr(this));
|
|
2846
|
+
}, x.getColorSchemeSelector = Tn(d), x.spacing = x.generateSpacing(), x.shouldSkipGeneratingVar = l, x.unstable_sxConfig = {
|
|
2844
2847
|
...Ge,
|
|
2845
|
-
...
|
|
2846
|
-
},
|
|
2848
|
+
...y?.unstable_sxConfig
|
|
2849
|
+
}, x.unstable_sx = function(i) {
|
|
2847
2850
|
return Ke({
|
|
2848
2851
|
sx: i,
|
|
2849
2852
|
theme: this
|
|
2850
2853
|
});
|
|
2851
|
-
},
|
|
2854
|
+
}, x.toRuntimeSource = tt, x;
|
|
2852
2855
|
}
|
|
2853
2856
|
function Wr(e, r, t) {
|
|
2854
2857
|
e.colorSchemes && t && (e.colorSchemes[r] = {
|
|
@@ -2867,40 +2870,40 @@ function co(e = {}, ...r) {
|
|
|
2867
2870
|
colorSchemes: o = t ? void 0 : {
|
|
2868
2871
|
light: !0
|
|
2869
2872
|
},
|
|
2870
|
-
defaultColorScheme:
|
|
2871
|
-
...
|
|
2872
|
-
} = e,
|
|
2873
|
+
defaultColorScheme: s = t?.mode,
|
|
2874
|
+
...a
|
|
2875
|
+
} = e, l = s || "light", d = o?.[l], p = {
|
|
2873
2876
|
...o,
|
|
2874
2877
|
...t ? {
|
|
2875
|
-
[
|
|
2876
|
-
...typeof
|
|
2878
|
+
[l]: {
|
|
2879
|
+
...typeof d != "boolean" && d,
|
|
2877
2880
|
palette: t
|
|
2878
2881
|
}
|
|
2879
2882
|
} : void 0
|
|
2880
2883
|
};
|
|
2881
2884
|
if (n === !1) {
|
|
2882
2885
|
if (!("colorSchemes" in e))
|
|
2883
|
-
return
|
|
2884
|
-
let
|
|
2885
|
-
"palette" in e ||
|
|
2886
|
+
return ur(e, ...r);
|
|
2887
|
+
let y = t;
|
|
2888
|
+
"palette" in e || p[l] && (p[l] !== !0 ? y = p[l].palette : l === "dark" && (y = {
|
|
2886
2889
|
mode: "dark"
|
|
2887
2890
|
}));
|
|
2888
|
-
const
|
|
2891
|
+
const m = ur({
|
|
2889
2892
|
...e,
|
|
2890
|
-
palette:
|
|
2893
|
+
palette: y
|
|
2891
2894
|
}, ...r);
|
|
2892
|
-
return
|
|
2893
|
-
...
|
|
2894
|
-
palette:
|
|
2895
|
-
}, Wr(
|
|
2896
|
-
...
|
|
2897
|
-
palette:
|
|
2898
|
-
}, Wr(
|
|
2895
|
+
return m.defaultColorScheme = l, m.colorSchemes = p, m.palette.mode === "light" && (m.colorSchemes.light = {
|
|
2896
|
+
...p.light !== !0 && p.light,
|
|
2897
|
+
palette: m.palette
|
|
2898
|
+
}, Wr(m, "dark", p.dark)), m.palette.mode === "dark" && (m.colorSchemes.dark = {
|
|
2899
|
+
...p.dark !== !0 && p.dark,
|
|
2900
|
+
palette: m.palette
|
|
2901
|
+
}, Wr(m, "light", p.light)), m;
|
|
2899
2902
|
}
|
|
2900
|
-
return !t && !("light" in
|
|
2901
|
-
...
|
|
2902
|
-
colorSchemes:
|
|
2903
|
-
defaultColorScheme:
|
|
2903
|
+
return !t && !("light" in p) && l === "light" && (p.light = !0), no({
|
|
2904
|
+
...a,
|
|
2905
|
+
colorSchemes: p,
|
|
2906
|
+
defaultColorScheme: l,
|
|
2904
2907
|
...typeof n != "boolean" && n
|
|
2905
2908
|
}, ...r);
|
|
2906
2909
|
}
|
|
@@ -2920,7 +2923,7 @@ export {
|
|
|
2920
2923
|
Kn as l,
|
|
2921
2924
|
ao as m,
|
|
2922
2925
|
Wn as n,
|
|
2923
|
-
|
|
2926
|
+
ye as o,
|
|
2924
2927
|
so as r,
|
|
2925
2928
|
Ke as s
|
|
2926
2929
|
};
|