@solostylist/ui-kit 1.0.174 → 1.0.176
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-DhTFpzoh.js → ArrowUpward-CEeqSc-C.js} +2 -2
- package/dist/{Box-Ha0cQ4KO.js → Box-CE3rycd-.js} +5 -5
- package/dist/ButtonBase-C_YYB9Ry.js +1099 -0
- package/dist/{ChevronLeft-CBuFk2Fh.js → ChevronLeft-6gdh4lRt.js} +2 -2
- package/dist/{ChevronRight-CnDWPrOm.js → ChevronRight-CC3l-wPC.js} +2 -2
- package/dist/{Close-BRlEKA2Q.js → Close-DOHlPcFK.js} +2 -2
- package/dist/{ContentCopy-7nFBtjhs.js → ContentCopy-2xxDThyB.js} +2 -2
- package/dist/DefaultPropsProvider-sk0uWcA6.js +64 -0
- package/dist/{Download-UsLvGg3y.js → Download-Chao5NQl.js} +2 -2
- package/dist/{ExpandMore-DTWX_mHf.js → ExpandMore-DIGPB4Mj.js} +2 -2
- package/dist/{Favorite-DS5Gpq2s.js → Favorite-wp65zwWq.js} +2 -2
- package/dist/{Menu-CWq-a1Wz.js → Menu-DZYzE2Mg.js} +908 -906
- package/dist/{MenuItem-DY_qFSPR.js → MenuItem-BXiIhfBS.js} +26 -25
- package/dist/Paper-DnctZB5U.js +689 -0
- package/dist/{Select-DabtQlJT.js → Select-DY7XGVsv.js} +2152 -2115
- package/dist/{Stack-Cq2r2NmC.js → Stack-BScsuyQy.js} +6 -6
- package/dist/{Typography-C8jwvSWe.js → Typography-9Kg27dDw.js} +84 -86
- package/dist/{_commonjsHelpers-B4e78b8K.js → _commonjsHelpers-ByX85dGu.js} +18 -13
- package/dist/assets/s-overlay-scrollbar.css +1 -9
- package/dist/createSvgIcon-BKymXuBG.js +242 -0
- package/dist/{createTheme-3Wd3hHrj.js → createTheme-f5g1s6ww.js} +859 -906
- package/dist/defaultTheme-LSr-S9un.js +5 -0
- package/dist/entries/carousel.d.ts +10 -0
- package/dist/entries/carousel.js +4 -0
- package/dist/entries/chat.d.ts +9 -0
- package/dist/entries/chat.js +4 -0
- package/dist/entries/code.d.ts +9 -0
- package/dist/entries/code.js +4 -0
- package/dist/entries/core.d.ts +100 -0
- package/dist/entries/core.js +122 -0
- package/dist/entries/dates.d.ts +16 -0
- package/dist/entries/dates.js +12 -0
- package/dist/entries/dropzone.d.ts +9 -0
- package/dist/entries/dropzone.js +4 -0
- package/dist/entries/editor.d.ts +12 -0
- package/dist/entries/editor.js +4 -0
- package/dist/entries/gallery.d.ts +17 -0
- package/dist/entries/gallery.js +13 -0
- package/dist/entries/i18n.d.ts +13 -0
- package/dist/entries/i18n.js +8 -0
- package/dist/entries/motion.d.ts +29 -0
- package/dist/entries/motion.js +28 -0
- package/dist/entries/scrollbar.d.ts +9 -0
- package/dist/entries/scrollbar.js +4 -0
- package/dist/entries/stripe.d.ts +10 -0
- package/dist/entries/stripe.js +10 -0
- package/dist/extendSxProp-DitxZ8We.js +36 -0
- package/dist/hooks/index.js +8 -9
- package/dist/hooks/use-is-passed-position.js +10 -10
- package/dist/{index-BGvzecIA.js → index-D3G5Rwl-.js} +0 -7
- package/dist/{index-CfKHZ86U.js → index-DtYP8YE7.js} +12 -13
- package/dist/{jsx-runtime-OVHDjVDe.js → jsx-runtime-tc70JA_2.js} +108 -128
- package/dist/main.d.ts +29 -145
- package/dist/main.js +187 -187
- package/dist/mergeSlotProps-CuzBQdlp.js +62 -0
- package/dist/resolveProps-BDH0VJjn.js +39 -0
- package/dist/s-accordion/package.json +5 -5
- package/dist/s-accordion/s-accordion.js +374 -358
- package/dist/s-action-overlay/package.json +5 -5
- package/dist/s-action-overlay/s-action-overlay.js +64 -79
- package/dist/s-ai-tool-bar/package.json +5 -5
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +260 -275
- package/dist/s-autocomplete/s-autocomplete.js +19 -25
- package/dist/s-avatar/package.json +5 -5
- package/dist/s-avatar/s-avatar.js +14 -25
- package/dist/s-blur-text/package.json +5 -5
- package/dist/s-blur-text/s-blur-text.js +55 -59
- package/dist/s-breadcrumbs/package.json +5 -5
- package/dist/s-breadcrumbs/s-breadcrumbs.js +31 -39
- package/dist/s-button/package.json +5 -5
- package/dist/s-button/s-button.js +7 -15
- package/dist/s-button-link/s-button-link.js +28 -36
- package/dist/s-carousel/package.json +4 -4
- package/dist/s-carousel/s-carousel.js +267 -280
- package/dist/s-category-card/package.json +4 -4
- package/dist/s-category-card/s-category-card.js +60 -77
- package/dist/s-chat-input/package.json +5 -5
- package/dist/s-chat-input/s-chat-input.d.ts +4 -0
- package/dist/s-chat-input/s-chat-input.js +103 -109
- package/dist/s-chat-message/s-chat-message.js +111 -120
- package/dist/s-checkbox/s-checkbox.js +12 -20
- package/dist/s-chip/package.json +5 -5
- package/dist/s-chip/s-chip.js +7 -15
- package/dist/s-chips/s-chips.js +47 -56
- package/dist/s-code-block/package.json +5 -5
- package/dist/s-code-block/s-code-block.js +35 -43
- package/dist/s-comment-message/package.json +5 -5
- package/dist/s-comment-message/s-comment-message.js +90 -94
- package/dist/s-copyable-text/s-copyable-text.js +24 -32
- package/dist/s-countdown/s-count-box.js +42 -50
- package/dist/s-countdown/s-count-down.js +79 -107
- package/dist/s-data-table/s-data-table.js +374 -384
- package/dist/s-date-picker/s-date-picker.js +164 -164
- package/dist/s-datetime-picker/s-datetime-picker.js +1599 -1603
- package/dist/s-dialog/s-dialog.js +24 -32
- package/dist/s-dialog-confirm/s-dialog-confirm.js +46 -50
- package/dist/s-dialog-message/s-dialog-message.js +40 -44
- package/dist/s-empty/s-empty.js +6 -14
- package/dist/s-error/s-error.js +9 -17
- package/dist/s-error-layout/s-error-layout.js +38 -47
- package/dist/s-file-dropzone/s-file-dropzone.js +55 -64
- package/dist/s-file-icon/s-file-icon.js +9 -13
- package/dist/s-flex-box/s-flex-box.js +6 -14
- package/dist/s-form/s-form.js +11 -19
- package/dist/s-gallery/index.js +3 -33
- package/dist/s-gallery/s-gallery.js +91 -114
- package/dist/s-glow-button/s-glow-button.js +22 -26
- package/dist/s-gradient-icon/s-gradient-icon.js +49 -59
- package/dist/s-i18n-provider/s-i18n-provider.js +17 -25
- package/dist/s-icon-button/s-icon-button.js +6 -14
- package/dist/s-image-comparison/package.json +5 -5
- package/dist/s-image-comparison/s-image-comparison.js +48 -53
- package/dist/s-image-modal/package.json +5 -5
- package/dist/s-image-modal/s-image-modal.js +137 -150
- package/dist/s-item-not-found/s-item-not-found.js +13 -22
- package/dist/s-label/s-label.js +12 -20
- package/dist/s-language-switcher/s-language-switcher.js +119 -141
- package/dist/s-lazy-image/index.js +2 -10
- package/dist/s-lazy-image/s-lazy-image.js +33 -37
- package/dist/s-localization-provider/s-localization-provider.js +368 -380
- package/dist/s-moving-border/s-moving-border.js +52 -67
- package/dist/s-multi-select/s-multi-select.js +43 -51
- package/dist/s-no-ssr/s-no-ssr.js +13 -21
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +12 -16
- package/dist/s-pagination/s-pagination.js +13 -17
- package/dist/s-pixel-reveal/package.json +5 -5
- package/dist/s-pixel-reveal/s-pixel-reveal.js +92 -99
- package/dist/s-radial-pulse-animate/package.json +5 -5
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +40 -48
- package/dist/s-rating/package.json +5 -5
- package/dist/s-rating/s-rating.js +7 -15
- package/dist/s-review/package.json +5 -5
- package/dist/s-review/s-review.js +101 -106
- package/dist/s-scroll-reveal/package.json +5 -5
- package/dist/s-scroll-reveal/s-scroll-reveal.js +40 -48
- package/dist/s-scroll-to-top/package.json +5 -5
- package/dist/s-scroll-to-top/s-scroll-to-top.js +20 -30
- package/dist/s-scroll-velocity/package.json +5 -5
- package/dist/s-scroll-velocity/s-scroll-velocity.js +5 -19
- package/dist/s-scroll-velocity/scroll-velocity-container.js +18 -27
- package/dist/s-scroll-velocity/scroll-velocity-row.js +62 -71
- package/dist/s-select/s-select.js +67 -75
- package/dist/s-select-list/s-select-list.js +28 -32
- package/dist/s-skeleton/s-skeleton.js +20 -28
- package/dist/s-snackbar-message/s-snackbar-message.js +36 -40
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +31 -35
- package/dist/s-stripe/s-stripe-cvc.js +8 -12
- package/dist/s-stripe/s-stripe-expiry.js +8 -12
- package/dist/s-stripe/s-stripe-number.js +8 -12
- package/dist/s-stripe/s-stripe.d.ts +2 -2
- package/dist/s-stripe/s-stripe.js +17 -26
- package/dist/s-stripe/stripe-input.js +25 -29
- package/dist/s-tabs/package.json +3 -3
- package/dist/s-tabs/s-tab-panel.js +17 -25
- package/dist/s-tabs/s-tab.js +5 -9
- package/dist/s-tabs/s-tabs.js +19 -27
- package/dist/s-text-editor/s-text-editor-toolbar.js +73 -88
- package/dist/s-text-editor/s-text-editor.js +33 -45
- package/dist/s-text-field/s-text-field.js +31 -40
- package/dist/s-text-shimmer/package.json +4 -4
- package/dist/s-text-shimmer/s-text-shimmer.js +19 -27
- package/dist/s-text-truncation/s-text-truncation.js +24 -32
- package/dist/s-theme-demo/package.json +5 -5
- package/dist/s-theme-demo/s-theme-demo.js +219 -234
- package/dist/s-theme-provider/s-theme-provider.js +37 -45
- package/dist/s-theme-switch/package.json +4 -4
- package/dist/s-theme-switch/s-theme-switch.js +19 -23
- package/dist/s-tip/s-tip.js +14 -22
- package/dist/s-two-pane-layout/index.js +2 -10
- package/dist/s-two-pane-layout/s-two-pane-layout.js +47 -55
- package/dist/s-typewriter-text/package.json +5 -5
- package/dist/s-typewriter-text/s-typewriter-text.js +27 -35
- package/dist/s-zoom-image/index.js +2 -10
- package/dist/s-zoom-image/package.json +5 -5
- package/dist/s-zoom-image/s-zoom-image.js +53 -62
- package/dist/styled-B0KflPi-.js +203 -0
- package/dist/theme/components/alert.d.ts +484 -264
- package/dist/theme/components/avatar.js +2 -2
- package/dist/theme/components/button.d.ts +726 -396
- package/dist/theme/components/chip.js +2 -2
- package/dist/theme/components/components.js +14 -12
- package/dist/theme/components/icon-button.d.ts +6191 -0
- package/dist/theme/components/icon-button.js +90 -0
- package/dist/theme/customizations/data-display.js +1 -1
- package/dist/theme/customizations/inputs.js +2 -2
- package/dist/theme/customizations/navigation.js +2 -2
- package/dist/theme/theme-primitives.d.ts +8 -246
- package/dist/theme/theme-primitives.js +76 -87
- package/dist/{typographyClasses-DDyl9mok.js → typographyClasses-C7fhAsUD.js} +4 -4
- package/dist/{useMobilePicker-C1RZZUWr.js → useMobilePicker-C4AYe0Ch.js} +11249 -11231
- package/dist/{useTheme-B5czKfC4.js → useTheme-CtdhfT4P.js} +1 -1
- package/dist/{useThemeProps-DqA5BinV.js → useThemeProps-_apS-Aua.js} +2 -2
- package/dist/utils/dayjs.js +7 -7
- package/dist/utils/logger.js +29 -32
- package/dist/{warning-BCwEnWrE.js → warning-DnPRVtW6.js} +4 -4
- package/package.json +240 -81
- package/README.md +0 -13
- package/dist/ButtonBase-DfTfJ_ou.js +0 -1105
- package/dist/DefaultPropsProvider-CaCsvQaq.js +0 -78
- package/dist/Paper-hkbPWyBT.js +0 -553
- package/dist/createSvgIcon-DxwgGAVe.js +0 -247
- package/dist/defaultTheme-fEi1x1Gb.js +0 -5
- package/dist/extendSxProp-BKWjdW12.js +0 -37
- package/dist/mergeSlotProps-Dl_rJtoN.js +0 -62
- package/dist/resolveProps-61uUKnlS.js +0 -52
- package/dist/styled-B0Z4EDy9.js +0 -206
|
@@ -1,46 +1,38 @@
|
|
|
1
1
|
import * as Dr from "react";
|
|
2
2
|
import { f as Te, b as fr, l as Mr, d as jr, g as Zr, a as et, p as V, c as U, e as ge, h as ke, i as xe, j as rt } from "./colorManipulator-ep5lERxB.js";
|
|
3
|
-
import { g as tt } from "./_commonjsHelpers-
|
|
3
|
+
import { g as tt } from "./_commonjsHelpers-ByX85dGu.js";
|
|
4
4
|
function Lr(e) {
|
|
5
5
|
if (typeof e != "string")
|
|
6
6
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Te(7));
|
|
7
7
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
8
8
|
}
|
|
9
|
-
var Ie = { exports: {} }, Be = { exports: {} },
|
|
10
|
-
/** @license React v16.13.1
|
|
11
|
-
* react-is.production.min.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/
|
|
9
|
+
var Ie = { exports: {} }, Be = { exports: {} }, L = {};
|
|
18
10
|
var dr;
|
|
19
11
|
function nt() {
|
|
20
|
-
if (dr) return
|
|
12
|
+
if (dr) return L;
|
|
21
13
|
dr = 1;
|
|
22
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106,
|
|
23
|
-
function
|
|
24
|
-
if (typeof
|
|
25
|
-
var O =
|
|
14
|
+
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, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, a = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, h = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, p = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, m = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, v = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, b = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, s = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, C = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, _ = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, D = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
15
|
+
function M(y) {
|
|
16
|
+
if (typeof y == "object" && y !== null) {
|
|
17
|
+
var O = y.$$typeof;
|
|
26
18
|
switch (O) {
|
|
27
19
|
case r:
|
|
28
|
-
switch (
|
|
20
|
+
switch (y = y.type, y) {
|
|
29
21
|
case f:
|
|
30
22
|
case d:
|
|
31
|
-
case i:
|
|
32
|
-
case a:
|
|
33
23
|
case n:
|
|
24
|
+
case a:
|
|
25
|
+
case i:
|
|
34
26
|
case p:
|
|
35
|
-
return
|
|
27
|
+
return y;
|
|
36
28
|
default:
|
|
37
|
-
switch (
|
|
29
|
+
switch (y = y && y.$$typeof, y) {
|
|
38
30
|
case l:
|
|
39
|
-
case
|
|
31
|
+
case h:
|
|
40
32
|
case b:
|
|
41
|
-
case
|
|
42
|
-
case
|
|
43
|
-
return
|
|
33
|
+
case v:
|
|
34
|
+
case c:
|
|
35
|
+
return y;
|
|
44
36
|
default:
|
|
45
37
|
return O;
|
|
46
38
|
}
|
|
@@ -50,89 +42,81 @@ function nt() {
|
|
|
50
42
|
}
|
|
51
43
|
}
|
|
52
44
|
}
|
|
53
|
-
function $(
|
|
54
|
-
return
|
|
45
|
+
function $(y) {
|
|
46
|
+
return M(y) === d;
|
|
55
47
|
}
|
|
56
|
-
return
|
|
57
|
-
return $(
|
|
58
|
-
},
|
|
59
|
-
return
|
|
60
|
-
},
|
|
61
|
-
return
|
|
62
|
-
},
|
|
63
|
-
return typeof
|
|
64
|
-
},
|
|
65
|
-
return
|
|
66
|
-
},
|
|
67
|
-
return
|
|
68
|
-
},
|
|
69
|
-
return
|
|
70
|
-
},
|
|
71
|
-
return
|
|
72
|
-
},
|
|
73
|
-
return
|
|
74
|
-
},
|
|
75
|
-
return
|
|
76
|
-
},
|
|
77
|
-
return
|
|
78
|
-
},
|
|
79
|
-
return
|
|
80
|
-
},
|
|
81
|
-
return typeof
|
|
82
|
-
},
|
|
83
|
-
}
|
|
84
|
-
var
|
|
85
|
-
/** @license React v16.13.1
|
|
86
|
-
* react-is.development.js
|
|
87
|
-
*
|
|
88
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
89
|
-
*
|
|
90
|
-
* This source code is licensed under the MIT license found in the
|
|
91
|
-
* LICENSE file in the root directory of this source tree.
|
|
92
|
-
*/
|
|
48
|
+
return L.AsyncMode = f, L.ConcurrentMode = d, L.ContextConsumer = l, L.ContextProvider = c, L.Element = r, L.ForwardRef = h, L.Fragment = n, L.Lazy = b, L.Memo = v, L.Portal = t, L.Profiler = a, L.StrictMode = i, L.Suspense = p, L.isAsyncMode = function(y) {
|
|
49
|
+
return $(y) || M(y) === f;
|
|
50
|
+
}, L.isConcurrentMode = $, L.isContextConsumer = function(y) {
|
|
51
|
+
return M(y) === l;
|
|
52
|
+
}, L.isContextProvider = function(y) {
|
|
53
|
+
return M(y) === c;
|
|
54
|
+
}, L.isElement = function(y) {
|
|
55
|
+
return typeof y == "object" && y !== null && y.$$typeof === r;
|
|
56
|
+
}, L.isForwardRef = function(y) {
|
|
57
|
+
return M(y) === h;
|
|
58
|
+
}, L.isFragment = function(y) {
|
|
59
|
+
return M(y) === n;
|
|
60
|
+
}, L.isLazy = function(y) {
|
|
61
|
+
return M(y) === b;
|
|
62
|
+
}, L.isMemo = function(y) {
|
|
63
|
+
return M(y) === v;
|
|
64
|
+
}, L.isPortal = function(y) {
|
|
65
|
+
return M(y) === t;
|
|
66
|
+
}, L.isProfiler = function(y) {
|
|
67
|
+
return M(y) === a;
|
|
68
|
+
}, L.isStrictMode = function(y) {
|
|
69
|
+
return M(y) === i;
|
|
70
|
+
}, L.isSuspense = function(y) {
|
|
71
|
+
return M(y) === p;
|
|
72
|
+
}, L.isValidElementType = function(y) {
|
|
73
|
+
return typeof y == "string" || typeof y == "function" || y === n || y === d || y === a || y === i || y === p || y === m || typeof y == "object" && y !== null && (y.$$typeof === b || y.$$typeof === v || y.$$typeof === c || y.$$typeof === l || y.$$typeof === h || y.$$typeof === C || y.$$typeof === _ || y.$$typeof === D || y.$$typeof === s);
|
|
74
|
+
}, L.typeOf = M, L;
|
|
75
|
+
}
|
|
76
|
+
var F = {};
|
|
93
77
|
var pr;
|
|
94
78
|
function ot() {
|
|
95
79
|
return pr || (pr = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
96
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106,
|
|
97
|
-
function
|
|
80
|
+
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, i = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, a = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, l = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, f = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, d = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, h = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, p = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, m = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, v = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, b = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, s = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, C = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, _ = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, D = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
81
|
+
function M(T) {
|
|
98
82
|
return typeof T == "string" || typeof T == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
99
|
-
T ===
|
|
83
|
+
T === n || T === d || T === a || T === i || T === p || T === m || typeof T == "object" && T !== null && (T.$$typeof === b || T.$$typeof === v || T.$$typeof === c || T.$$typeof === l || T.$$typeof === h || T.$$typeof === C || T.$$typeof === _ || T.$$typeof === D || T.$$typeof === s);
|
|
100
84
|
}
|
|
101
85
|
function $(T) {
|
|
102
86
|
if (typeof T == "object" && T !== null) {
|
|
103
|
-
var
|
|
104
|
-
switch (
|
|
87
|
+
var ce = T.$$typeof;
|
|
88
|
+
switch (ce) {
|
|
105
89
|
case r:
|
|
106
90
|
var Pe = T.type;
|
|
107
91
|
switch (Pe) {
|
|
108
92
|
case f:
|
|
109
93
|
case d:
|
|
110
|
-
case i:
|
|
111
|
-
case a:
|
|
112
94
|
case n:
|
|
95
|
+
case a:
|
|
96
|
+
case i:
|
|
113
97
|
case p:
|
|
114
98
|
return Pe;
|
|
115
99
|
default:
|
|
116
100
|
var ur = Pe && Pe.$$typeof;
|
|
117
101
|
switch (ur) {
|
|
118
102
|
case l:
|
|
119
|
-
case
|
|
103
|
+
case h:
|
|
120
104
|
case b:
|
|
121
|
-
case
|
|
122
|
-
case
|
|
105
|
+
case v:
|
|
106
|
+
case c:
|
|
123
107
|
return ur;
|
|
124
108
|
default:
|
|
125
|
-
return
|
|
109
|
+
return ce;
|
|
126
110
|
}
|
|
127
111
|
}
|
|
128
112
|
case t:
|
|
129
|
-
return
|
|
113
|
+
return ce;
|
|
130
114
|
}
|
|
131
115
|
}
|
|
132
116
|
}
|
|
133
|
-
var
|
|
117
|
+
var y = f, O = d, ae = l, ue = c, J = r, Z = h, X = n, o = b, x = v, S = t, j = a, W = i, ee = p, se = !1;
|
|
134
118
|
function Ke(T) {
|
|
135
|
-
return
|
|
119
|
+
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.")), g(T) || $(T) === f;
|
|
136
120
|
}
|
|
137
121
|
function g(T) {
|
|
138
122
|
return $(T) === d;
|
|
@@ -141,82 +125,77 @@ function ot() {
|
|
|
141
125
|
return $(T) === l;
|
|
142
126
|
}
|
|
143
127
|
function k(T) {
|
|
144
|
-
return $(T) ===
|
|
128
|
+
return $(T) === c;
|
|
145
129
|
}
|
|
146
130
|
function R(T) {
|
|
147
131
|
return typeof T == "object" && T !== null && T.$$typeof === r;
|
|
148
132
|
}
|
|
149
133
|
function w(T) {
|
|
150
|
-
return $(T) ===
|
|
134
|
+
return $(T) === h;
|
|
151
135
|
}
|
|
152
|
-
function
|
|
153
|
-
return $(T) ===
|
|
136
|
+
function I(T) {
|
|
137
|
+
return $(T) === n;
|
|
154
138
|
}
|
|
155
139
|
function A(T) {
|
|
156
140
|
return $(T) === b;
|
|
157
141
|
}
|
|
158
142
|
function P(T) {
|
|
159
|
-
return $(T) ===
|
|
143
|
+
return $(T) === v;
|
|
160
144
|
}
|
|
161
|
-
function
|
|
145
|
+
function B(T) {
|
|
162
146
|
return $(T) === t;
|
|
163
147
|
}
|
|
164
148
|
function Y(T) {
|
|
165
149
|
return $(T) === a;
|
|
166
150
|
}
|
|
167
|
-
function
|
|
168
|
-
return $(T) ===
|
|
151
|
+
function N(T) {
|
|
152
|
+
return $(T) === i;
|
|
169
153
|
}
|
|
170
|
-
function
|
|
154
|
+
function re(T) {
|
|
171
155
|
return $(T) === p;
|
|
172
156
|
}
|
|
173
|
-
|
|
174
|
-
})()),
|
|
157
|
+
F.AsyncMode = y, F.ConcurrentMode = O, F.ContextConsumer = ae, F.ContextProvider = ue, F.Element = J, F.ForwardRef = Z, F.Fragment = X, F.Lazy = o, F.Memo = x, F.Portal = S, F.Profiler = j, F.StrictMode = W, F.Suspense = ee, F.isAsyncMode = Ke, F.isConcurrentMode = g, F.isContextConsumer = E, F.isContextProvider = k, F.isElement = R, F.isForwardRef = w, F.isFragment = I, F.isLazy = A, F.isMemo = P, F.isPortal = B, F.isProfiler = Y, F.isStrictMode = N, F.isSuspense = re, F.isValidElementType = M, F.typeOf = $;
|
|
158
|
+
})()), F;
|
|
175
159
|
}
|
|
176
160
|
var mr;
|
|
177
161
|
function Fr() {
|
|
178
162
|
return mr || (mr = 1, process.env.NODE_ENV === "production" ? Be.exports = nt() : Be.exports = ot()), Be.exports;
|
|
179
163
|
}
|
|
180
|
-
/*
|
|
181
|
-
object-assign
|
|
182
|
-
(c) Sindre Sorhus
|
|
183
|
-
@license MIT
|
|
184
|
-
*/
|
|
185
164
|
var He, gr;
|
|
186
165
|
function it() {
|
|
187
166
|
if (gr) return He;
|
|
188
167
|
gr = 1;
|
|
189
168
|
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
190
|
-
function
|
|
169
|
+
function n(a) {
|
|
191
170
|
if (a == null)
|
|
192
171
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
193
172
|
return Object(a);
|
|
194
173
|
}
|
|
195
|
-
function
|
|
174
|
+
function i() {
|
|
196
175
|
try {
|
|
197
176
|
if (!Object.assign)
|
|
198
177
|
return !1;
|
|
199
178
|
var a = new String("abc");
|
|
200
179
|
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
|
|
201
180
|
return !1;
|
|
202
|
-
for (var
|
|
203
|
-
|
|
204
|
-
var f = Object.getOwnPropertyNames(
|
|
205
|
-
return
|
|
181
|
+
for (var c = {}, l = 0; l < 10; l++)
|
|
182
|
+
c["_" + String.fromCharCode(l)] = l;
|
|
183
|
+
var f = Object.getOwnPropertyNames(c).map(function(h) {
|
|
184
|
+
return c[h];
|
|
206
185
|
});
|
|
207
186
|
if (f.join("") !== "0123456789")
|
|
208
187
|
return !1;
|
|
209
188
|
var d = {};
|
|
210
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
211
|
-
d[
|
|
189
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(h) {
|
|
190
|
+
d[h] = h;
|
|
212
191
|
}), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst";
|
|
213
192
|
} catch {
|
|
214
193
|
return !1;
|
|
215
194
|
}
|
|
216
195
|
}
|
|
217
|
-
return He =
|
|
218
|
-
for (var l, f =
|
|
219
|
-
l = Object(arguments[
|
|
196
|
+
return He = i() ? Object.assign : function(a, c) {
|
|
197
|
+
for (var l, f = n(a), d, h = 1; h < arguments.length; h++) {
|
|
198
|
+
l = Object(arguments[h]);
|
|
220
199
|
for (var p in l)
|
|
221
200
|
r.call(l, p) && (f[p] = l[p]);
|
|
222
201
|
if (e) {
|
|
@@ -228,16 +207,16 @@ function it() {
|
|
|
228
207
|
return f;
|
|
229
208
|
}, He;
|
|
230
209
|
}
|
|
231
|
-
var Qe,
|
|
210
|
+
var Qe, hr;
|
|
232
211
|
function ar() {
|
|
233
|
-
if (
|
|
234
|
-
|
|
212
|
+
if (hr) return Qe;
|
|
213
|
+
hr = 1;
|
|
235
214
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
236
215
|
return Qe = e, Qe;
|
|
237
216
|
}
|
|
238
|
-
var Xe,
|
|
217
|
+
var Xe, yr;
|
|
239
218
|
function Wr() {
|
|
240
|
-
return
|
|
219
|
+
return yr || (yr = 1, Xe = Function.call.bind(Object.prototype.hasOwnProperty)), Xe;
|
|
241
220
|
}
|
|
242
221
|
var Je, br;
|
|
243
222
|
function at() {
|
|
@@ -246,53 +225,53 @@ function at() {
|
|
|
246
225
|
var e = function() {
|
|
247
226
|
};
|
|
248
227
|
if (process.env.NODE_ENV !== "production") {
|
|
249
|
-
var r = /* @__PURE__ */ ar(), t = {},
|
|
228
|
+
var r = /* @__PURE__ */ ar(), t = {}, n = /* @__PURE__ */ Wr();
|
|
250
229
|
e = function(a) {
|
|
251
|
-
var
|
|
252
|
-
typeof console < "u" && console.error(
|
|
230
|
+
var c = "Warning: " + a;
|
|
231
|
+
typeof console < "u" && console.error(c);
|
|
253
232
|
try {
|
|
254
|
-
throw new Error(
|
|
233
|
+
throw new Error(c);
|
|
255
234
|
} catch {
|
|
256
235
|
}
|
|
257
236
|
};
|
|
258
237
|
}
|
|
259
|
-
function
|
|
238
|
+
function i(a, c, l, f, d) {
|
|
260
239
|
if (process.env.NODE_ENV !== "production") {
|
|
261
|
-
for (var
|
|
262
|
-
if (
|
|
240
|
+
for (var h in a)
|
|
241
|
+
if (n(a, h)) {
|
|
263
242
|
var p;
|
|
264
243
|
try {
|
|
265
|
-
if (typeof a[
|
|
244
|
+
if (typeof a[h] != "function") {
|
|
266
245
|
var m = Error(
|
|
267
|
-
(f || "React class") + ": " + l + " type `" +
|
|
246
|
+
(f || "React class") + ": " + l + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
268
247
|
);
|
|
269
248
|
throw m.name = "Invariant Violation", m;
|
|
270
249
|
}
|
|
271
|
-
p = a[
|
|
250
|
+
p = a[h](c, h, f, l, null, r);
|
|
272
251
|
} catch (b) {
|
|
273
252
|
p = b;
|
|
274
253
|
}
|
|
275
254
|
if (p && !(p instanceof Error) && e(
|
|
276
|
-
(f || "React class") + ": type specification of " + l + " `" +
|
|
255
|
+
(f || "React class") + ": type specification of " + l + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
277
256
|
), p instanceof Error && !(p.message in t)) {
|
|
278
257
|
t[p.message] = !0;
|
|
279
|
-
var
|
|
258
|
+
var v = d ? d() : "";
|
|
280
259
|
e(
|
|
281
|
-
"Failed " + l + " type: " + p.message + (
|
|
260
|
+
"Failed " + l + " type: " + p.message + (v ?? "")
|
|
282
261
|
);
|
|
283
262
|
}
|
|
284
263
|
}
|
|
285
264
|
}
|
|
286
265
|
}
|
|
287
|
-
return
|
|
266
|
+
return i.resetWarningCache = function() {
|
|
288
267
|
process.env.NODE_ENV !== "production" && (t = {});
|
|
289
|
-
}, Je =
|
|
268
|
+
}, Je = i, Je;
|
|
290
269
|
}
|
|
291
270
|
var Ze, vr;
|
|
292
271
|
function st() {
|
|
293
272
|
if (vr) return Ze;
|
|
294
273
|
vr = 1;
|
|
295
|
-
var e = Fr(), r = it(), t = /* @__PURE__ */ ar(),
|
|
274
|
+
var e = Fr(), r = it(), t = /* @__PURE__ */ ar(), n = /* @__PURE__ */ Wr(), i = /* @__PURE__ */ at(), a = function() {
|
|
296
275
|
};
|
|
297
276
|
process.env.NODE_ENV !== "production" && (a = function(l) {
|
|
298
277
|
var f = "Warning: " + l;
|
|
@@ -302,17 +281,17 @@ function st() {
|
|
|
302
281
|
} catch {
|
|
303
282
|
}
|
|
304
283
|
});
|
|
305
|
-
function
|
|
284
|
+
function c() {
|
|
306
285
|
return null;
|
|
307
286
|
}
|
|
308
287
|
return Ze = function(l, f) {
|
|
309
|
-
var d = typeof Symbol == "function" && Symbol.iterator,
|
|
288
|
+
var d = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
|
|
310
289
|
function p(g) {
|
|
311
|
-
var E = g && (d && g[d] || g[
|
|
290
|
+
var E = g && (d && g[d] || g[h]);
|
|
312
291
|
if (typeof E == "function")
|
|
313
292
|
return E;
|
|
314
293
|
}
|
|
315
|
-
var m = "<<anonymous>>",
|
|
294
|
+
var m = "<<anonymous>>", v = {
|
|
316
295
|
array: _("array"),
|
|
317
296
|
bigint: _("bigint"),
|
|
318
297
|
bool: _("boolean"),
|
|
@@ -321,55 +300,55 @@ function st() {
|
|
|
321
300
|
object: _("object"),
|
|
322
301
|
string: _("string"),
|
|
323
302
|
symbol: _("symbol"),
|
|
324
|
-
any:
|
|
325
|
-
arrayOf:
|
|
303
|
+
any: D(),
|
|
304
|
+
arrayOf: M,
|
|
326
305
|
element: $(),
|
|
327
|
-
elementType:
|
|
306
|
+
elementType: y(),
|
|
328
307
|
instanceOf: O,
|
|
329
|
-
node:
|
|
330
|
-
objectOf:
|
|
331
|
-
oneOf:
|
|
332
|
-
oneOfType:
|
|
308
|
+
node: Z(),
|
|
309
|
+
objectOf: ue,
|
|
310
|
+
oneOf: ae,
|
|
311
|
+
oneOfType: J,
|
|
333
312
|
shape: o,
|
|
334
313
|
exact: x
|
|
335
314
|
};
|
|
336
315
|
function b(g, E) {
|
|
337
316
|
return g === E ? g !== 0 || 1 / g === 1 / E : g !== g && E !== E;
|
|
338
317
|
}
|
|
339
|
-
function
|
|
318
|
+
function s(g, E) {
|
|
340
319
|
this.message = g, this.data = E && typeof E == "object" ? E : {}, this.stack = "";
|
|
341
320
|
}
|
|
342
|
-
|
|
321
|
+
s.prototype = Error.prototype;
|
|
343
322
|
function C(g) {
|
|
344
323
|
if (process.env.NODE_ENV !== "production")
|
|
345
324
|
var E = {}, k = 0;
|
|
346
|
-
function R(
|
|
347
|
-
if (
|
|
325
|
+
function R(I, A, P, B, Y, N, re) {
|
|
326
|
+
if (B = B || m, N = N || P, re !== t) {
|
|
348
327
|
if (f) {
|
|
349
328
|
var T = new Error(
|
|
350
329
|
"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"
|
|
351
330
|
);
|
|
352
331
|
throw T.name = "Invariant Violation", T;
|
|
353
332
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
354
|
-
var
|
|
355
|
-
!E[
|
|
333
|
+
var ce = B + ":" + P;
|
|
334
|
+
!E[ce] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
356
335
|
k < 3 && (a(
|
|
357
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
358
|
-
), E[
|
|
336
|
+
"You are manually calling a React.PropTypes validation function for the `" + N + "` prop on `" + B + "`. 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."
|
|
337
|
+
), E[ce] = !0, k++);
|
|
359
338
|
}
|
|
360
339
|
}
|
|
361
|
-
return A[P] == null ?
|
|
340
|
+
return A[P] == null ? I ? A[P] === null ? new s("The " + Y + " `" + N + "` is marked as required " + ("in `" + B + "`, but its value is `null`.")) : new s("The " + Y + " `" + N + "` is marked as required in " + ("`" + B + "`, but its value is `undefined`.")) : null : g(A, P, B, Y, N);
|
|
362
341
|
}
|
|
363
342
|
var w = R.bind(null, !1);
|
|
364
343
|
return w.isRequired = R.bind(null, !0), w;
|
|
365
344
|
}
|
|
366
345
|
function _(g) {
|
|
367
|
-
function E(k, R, w,
|
|
368
|
-
var
|
|
346
|
+
function E(k, R, w, I, A, P) {
|
|
347
|
+
var B = k[R], Y = W(B);
|
|
369
348
|
if (Y !== g) {
|
|
370
|
-
var
|
|
371
|
-
return new
|
|
372
|
-
"Invalid " +
|
|
349
|
+
var N = ee(B);
|
|
350
|
+
return new s(
|
|
351
|
+
"Invalid " + I + " `" + A + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected ") + ("`" + g + "`."),
|
|
373
352
|
{ expectedType: g }
|
|
374
353
|
);
|
|
375
354
|
}
|
|
@@ -377,159 +356,159 @@ function st() {
|
|
|
377
356
|
}
|
|
378
357
|
return C(E);
|
|
379
358
|
}
|
|
380
|
-
function
|
|
381
|
-
return C(
|
|
359
|
+
function D() {
|
|
360
|
+
return C(c);
|
|
382
361
|
}
|
|
383
|
-
function
|
|
384
|
-
function E(k, R, w,
|
|
362
|
+
function M(g) {
|
|
363
|
+
function E(k, R, w, I, A) {
|
|
385
364
|
if (typeof g != "function")
|
|
386
|
-
return new
|
|
365
|
+
return new s("Property `" + A + "` of component `" + w + "` has invalid PropType notation inside arrayOf.");
|
|
387
366
|
var P = k[R];
|
|
388
367
|
if (!Array.isArray(P)) {
|
|
389
|
-
var
|
|
390
|
-
return new
|
|
368
|
+
var B = W(P);
|
|
369
|
+
return new s("Invalid " + I + " `" + A + "` of type " + ("`" + B + "` supplied to `" + w + "`, expected an array."));
|
|
391
370
|
}
|
|
392
371
|
for (var Y = 0; Y < P.length; Y++) {
|
|
393
|
-
var
|
|
394
|
-
if (
|
|
395
|
-
return
|
|
372
|
+
var N = g(P, Y, w, I, A + "[" + Y + "]", t);
|
|
373
|
+
if (N instanceof Error)
|
|
374
|
+
return N;
|
|
396
375
|
}
|
|
397
376
|
return null;
|
|
398
377
|
}
|
|
399
378
|
return C(E);
|
|
400
379
|
}
|
|
401
380
|
function $() {
|
|
402
|
-
function g(E, k, R, w,
|
|
381
|
+
function g(E, k, R, w, I) {
|
|
403
382
|
var A = E[k];
|
|
404
383
|
if (!l(A)) {
|
|
405
|
-
var P =
|
|
406
|
-
return new
|
|
384
|
+
var P = W(A);
|
|
385
|
+
return new s("Invalid " + w + " `" + I + "` of type " + ("`" + P + "` supplied to `" + R + "`, expected a single ReactElement."));
|
|
407
386
|
}
|
|
408
387
|
return null;
|
|
409
388
|
}
|
|
410
389
|
return C(g);
|
|
411
390
|
}
|
|
412
|
-
function
|
|
413
|
-
function g(E, k, R, w,
|
|
391
|
+
function y() {
|
|
392
|
+
function g(E, k, R, w, I) {
|
|
414
393
|
var A = E[k];
|
|
415
394
|
if (!e.isValidElementType(A)) {
|
|
416
|
-
var P =
|
|
417
|
-
return new
|
|
395
|
+
var P = W(A);
|
|
396
|
+
return new s("Invalid " + w + " `" + I + "` of type " + ("`" + P + "` supplied to `" + R + "`, expected a single ReactElement type."));
|
|
418
397
|
}
|
|
419
398
|
return null;
|
|
420
399
|
}
|
|
421
400
|
return C(g);
|
|
422
401
|
}
|
|
423
402
|
function O(g) {
|
|
424
|
-
function E(k, R, w,
|
|
403
|
+
function E(k, R, w, I, A) {
|
|
425
404
|
if (!(k[R] instanceof g)) {
|
|
426
|
-
var P = g.name || m,
|
|
427
|
-
return new
|
|
405
|
+
var P = g.name || m, B = Ke(k[R]);
|
|
406
|
+
return new s("Invalid " + I + " `" + A + "` of type " + ("`" + B + "` supplied to `" + w + "`, expected ") + ("instance of `" + P + "`."));
|
|
428
407
|
}
|
|
429
408
|
return null;
|
|
430
409
|
}
|
|
431
410
|
return C(E);
|
|
432
411
|
}
|
|
433
|
-
function
|
|
412
|
+
function ae(g) {
|
|
434
413
|
if (!Array.isArray(g))
|
|
435
414
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
436
415
|
"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])."
|
|
437
|
-
) : a("Invalid argument supplied to oneOf, expected an array.")),
|
|
438
|
-
function E(k, R, w,
|
|
439
|
-
for (var P = k[R],
|
|
440
|
-
if (b(P, g[
|
|
416
|
+
) : a("Invalid argument supplied to oneOf, expected an array.")), c;
|
|
417
|
+
function E(k, R, w, I, A) {
|
|
418
|
+
for (var P = k[R], B = 0; B < g.length; B++)
|
|
419
|
+
if (b(P, g[B]))
|
|
441
420
|
return null;
|
|
442
|
-
var Y = JSON.stringify(g, function(
|
|
443
|
-
var
|
|
444
|
-
return
|
|
421
|
+
var Y = JSON.stringify(g, function(re, T) {
|
|
422
|
+
var ce = ee(T);
|
|
423
|
+
return ce === "symbol" ? String(T) : T;
|
|
445
424
|
});
|
|
446
|
-
return new
|
|
425
|
+
return new s("Invalid " + I + " `" + A + "` of value `" + String(P) + "` " + ("supplied to `" + w + "`, expected one of " + Y + "."));
|
|
447
426
|
}
|
|
448
427
|
return C(E);
|
|
449
428
|
}
|
|
450
|
-
function
|
|
451
|
-
function E(k, R, w,
|
|
429
|
+
function ue(g) {
|
|
430
|
+
function E(k, R, w, I, A) {
|
|
452
431
|
if (typeof g != "function")
|
|
453
|
-
return new
|
|
454
|
-
var P = k[R],
|
|
455
|
-
if (
|
|
456
|
-
return new
|
|
432
|
+
return new s("Property `" + A + "` of component `" + w + "` has invalid PropType notation inside objectOf.");
|
|
433
|
+
var P = k[R], B = W(P);
|
|
434
|
+
if (B !== "object")
|
|
435
|
+
return new s("Invalid " + I + " `" + A + "` of type " + ("`" + B + "` supplied to `" + w + "`, expected an object."));
|
|
457
436
|
for (var Y in P)
|
|
458
|
-
if (
|
|
459
|
-
var
|
|
460
|
-
if (
|
|
461
|
-
return
|
|
437
|
+
if (n(P, Y)) {
|
|
438
|
+
var N = g(P, Y, w, I, A + "." + Y, t);
|
|
439
|
+
if (N instanceof Error)
|
|
440
|
+
return N;
|
|
462
441
|
}
|
|
463
442
|
return null;
|
|
464
443
|
}
|
|
465
444
|
return C(E);
|
|
466
445
|
}
|
|
467
|
-
function
|
|
446
|
+
function J(g) {
|
|
468
447
|
if (!Array.isArray(g))
|
|
469
|
-
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."),
|
|
448
|
+
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), c;
|
|
470
449
|
for (var E = 0; E < g.length; E++) {
|
|
471
450
|
var k = g[E];
|
|
472
451
|
if (typeof k != "function")
|
|
473
452
|
return a(
|
|
474
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
475
|
-
),
|
|
453
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + se(k) + " at index " + E + "."
|
|
454
|
+
), c;
|
|
476
455
|
}
|
|
477
|
-
function R(w,
|
|
478
|
-
for (var Y = [],
|
|
479
|
-
var
|
|
456
|
+
function R(w, I, A, P, B) {
|
|
457
|
+
for (var Y = [], N = 0; N < g.length; N++) {
|
|
458
|
+
var re = g[N], T = re(w, I, A, P, B, t);
|
|
480
459
|
if (T == null)
|
|
481
460
|
return null;
|
|
482
|
-
T.data &&
|
|
461
|
+
T.data && n(T.data, "expectedType") && Y.push(T.data.expectedType);
|
|
483
462
|
}
|
|
484
|
-
var
|
|
485
|
-
return new
|
|
463
|
+
var ce = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
|
|
464
|
+
return new s("Invalid " + P + " `" + B + "` supplied to " + ("`" + A + "`" + ce + "."));
|
|
486
465
|
}
|
|
487
466
|
return C(R);
|
|
488
467
|
}
|
|
489
|
-
function
|
|
490
|
-
function g(E, k, R, w,
|
|
491
|
-
return
|
|
468
|
+
function Z() {
|
|
469
|
+
function g(E, k, R, w, I) {
|
|
470
|
+
return S(E[k]) ? null : new s("Invalid " + w + " `" + I + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
|
|
492
471
|
}
|
|
493
472
|
return C(g);
|
|
494
473
|
}
|
|
495
|
-
function
|
|
496
|
-
return new
|
|
474
|
+
function X(g, E, k, R, w) {
|
|
475
|
+
return new s(
|
|
497
476
|
(g || "React class") + ": " + E + " type `" + k + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + w + "`."
|
|
498
477
|
);
|
|
499
478
|
}
|
|
500
479
|
function o(g) {
|
|
501
|
-
function E(k, R, w,
|
|
502
|
-
var P = k[R],
|
|
503
|
-
if (
|
|
504
|
-
return new
|
|
480
|
+
function E(k, R, w, I, A) {
|
|
481
|
+
var P = k[R], B = W(P);
|
|
482
|
+
if (B !== "object")
|
|
483
|
+
return new s("Invalid " + I + " `" + A + "` of type `" + B + "` " + ("supplied to `" + w + "`, expected `object`."));
|
|
505
484
|
for (var Y in g) {
|
|
506
|
-
var
|
|
507
|
-
if (typeof
|
|
508
|
-
return
|
|
509
|
-
var
|
|
510
|
-
if (
|
|
511
|
-
return
|
|
485
|
+
var N = g[Y];
|
|
486
|
+
if (typeof N != "function")
|
|
487
|
+
return X(w, I, A, Y, ee(N));
|
|
488
|
+
var re = N(P, Y, w, I, A + "." + Y, t);
|
|
489
|
+
if (re)
|
|
490
|
+
return re;
|
|
512
491
|
}
|
|
513
492
|
return null;
|
|
514
493
|
}
|
|
515
494
|
return C(E);
|
|
516
495
|
}
|
|
517
496
|
function x(g) {
|
|
518
|
-
function E(k, R, w,
|
|
519
|
-
var P = k[R],
|
|
520
|
-
if (
|
|
521
|
-
return new
|
|
497
|
+
function E(k, R, w, I, A) {
|
|
498
|
+
var P = k[R], B = W(P);
|
|
499
|
+
if (B !== "object")
|
|
500
|
+
return new s("Invalid " + I + " `" + A + "` of type `" + B + "` " + ("supplied to `" + w + "`, expected `object`."));
|
|
522
501
|
var Y = r({}, k[R], g);
|
|
523
|
-
for (var
|
|
524
|
-
var
|
|
525
|
-
if (
|
|
526
|
-
return
|
|
527
|
-
if (!
|
|
528
|
-
return new
|
|
529
|
-
"Invalid " +
|
|
502
|
+
for (var N in Y) {
|
|
503
|
+
var re = g[N];
|
|
504
|
+
if (n(g, N) && typeof re != "function")
|
|
505
|
+
return X(w, I, A, N, ee(re));
|
|
506
|
+
if (!re)
|
|
507
|
+
return new s(
|
|
508
|
+
"Invalid " + I + " `" + A + "` key `" + N + "` supplied to `" + w + "`.\nBad object: " + JSON.stringify(k[R], null, " ") + `
|
|
530
509
|
Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
531
510
|
);
|
|
532
|
-
var T =
|
|
511
|
+
var T = re(P, N, w, I, A + "." + N, t);
|
|
533
512
|
if (T)
|
|
534
513
|
return T;
|
|
535
514
|
}
|
|
@@ -537,7 +516,7 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
537
516
|
}
|
|
538
517
|
return C(E);
|
|
539
518
|
}
|
|
540
|
-
function
|
|
519
|
+
function S(g) {
|
|
541
520
|
switch (typeof g) {
|
|
542
521
|
case "number":
|
|
543
522
|
case "string":
|
|
@@ -547,7 +526,7 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
547
526
|
return !g;
|
|
548
527
|
case "object":
|
|
549
528
|
if (Array.isArray(g))
|
|
550
|
-
return g.every(
|
|
529
|
+
return g.every(S);
|
|
551
530
|
if (g === null || l(g))
|
|
552
531
|
return !0;
|
|
553
532
|
var E = p(g);
|
|
@@ -555,12 +534,12 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
555
534
|
var k = E.call(g), R;
|
|
556
535
|
if (E !== g.entries) {
|
|
557
536
|
for (; !(R = k.next()).done; )
|
|
558
|
-
if (!
|
|
537
|
+
if (!S(R.value))
|
|
559
538
|
return !1;
|
|
560
539
|
} else
|
|
561
540
|
for (; !(R = k.next()).done; ) {
|
|
562
541
|
var w = R.value;
|
|
563
|
-
if (w && !
|
|
542
|
+
if (w && !S(w[1]))
|
|
564
543
|
return !1;
|
|
565
544
|
}
|
|
566
545
|
} else
|
|
@@ -570,17 +549,17 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
570
549
|
return !1;
|
|
571
550
|
}
|
|
572
551
|
}
|
|
573
|
-
function
|
|
552
|
+
function j(g, E) {
|
|
574
553
|
return g === "symbol" ? !0 : E ? E["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && E instanceof Symbol : !1;
|
|
575
554
|
}
|
|
576
|
-
function
|
|
555
|
+
function W(g) {
|
|
577
556
|
var E = typeof g;
|
|
578
|
-
return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" :
|
|
557
|
+
return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" : j(E, g) ? "symbol" : E;
|
|
579
558
|
}
|
|
580
|
-
function
|
|
559
|
+
function ee(g) {
|
|
581
560
|
if (typeof g > "u" || g === null)
|
|
582
561
|
return "" + g;
|
|
583
|
-
var E =
|
|
562
|
+
var E = W(g);
|
|
584
563
|
if (E === "object") {
|
|
585
564
|
if (g instanceof Date)
|
|
586
565
|
return "date";
|
|
@@ -589,8 +568,8 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
589
568
|
}
|
|
590
569
|
return E;
|
|
591
570
|
}
|
|
592
|
-
function
|
|
593
|
-
var E =
|
|
571
|
+
function se(g) {
|
|
572
|
+
var E = ee(g);
|
|
594
573
|
switch (E) {
|
|
595
574
|
case "array":
|
|
596
575
|
case "object":
|
|
@@ -606,7 +585,7 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
606
585
|
function Ke(g) {
|
|
607
586
|
return !g.constructor || !g.constructor.name ? m : g.constructor.name;
|
|
608
587
|
}
|
|
609
|
-
return
|
|
588
|
+
return v.checkPropTypes = i, v.resetWarningCache = i.resetWarningCache, v.PropTypes = v, v;
|
|
610
589
|
}, Ze;
|
|
611
590
|
}
|
|
612
591
|
var er, Sr;
|
|
@@ -619,7 +598,7 @@ function ct() {
|
|
|
619
598
|
function t() {
|
|
620
599
|
}
|
|
621
600
|
return t.resetWarningCache = r, er = function() {
|
|
622
|
-
function
|
|
601
|
+
function n(c, l, f, d, h, p) {
|
|
623
602
|
if (p !== e) {
|
|
624
603
|
var m = new Error(
|
|
625
604
|
"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"
|
|
@@ -627,30 +606,30 @@ function ct() {
|
|
|
627
606
|
throw m.name = "Invariant Violation", m;
|
|
628
607
|
}
|
|
629
608
|
}
|
|
630
|
-
|
|
631
|
-
function
|
|
632
|
-
return
|
|
609
|
+
n.isRequired = n;
|
|
610
|
+
function i() {
|
|
611
|
+
return n;
|
|
633
612
|
}
|
|
634
613
|
var a = {
|
|
635
|
-
array:
|
|
636
|
-
bigint:
|
|
637
|
-
bool:
|
|
638
|
-
func:
|
|
639
|
-
number:
|
|
640
|
-
object:
|
|
641
|
-
string:
|
|
642
|
-
symbol:
|
|
643
|
-
any:
|
|
644
|
-
arrayOf:
|
|
645
|
-
element:
|
|
646
|
-
elementType:
|
|
647
|
-
instanceOf:
|
|
648
|
-
node:
|
|
649
|
-
objectOf:
|
|
650
|
-
oneOf:
|
|
651
|
-
oneOfType:
|
|
652
|
-
shape:
|
|
653
|
-
exact:
|
|
614
|
+
array: n,
|
|
615
|
+
bigint: n,
|
|
616
|
+
bool: n,
|
|
617
|
+
func: n,
|
|
618
|
+
number: n,
|
|
619
|
+
object: n,
|
|
620
|
+
string: n,
|
|
621
|
+
symbol: n,
|
|
622
|
+
any: n,
|
|
623
|
+
arrayOf: i,
|
|
624
|
+
element: n,
|
|
625
|
+
elementType: n,
|
|
626
|
+
instanceOf: i,
|
|
627
|
+
node: n,
|
|
628
|
+
objectOf: i,
|
|
629
|
+
oneOf: i,
|
|
630
|
+
oneOfType: i,
|
|
631
|
+
shape: i,
|
|
632
|
+
exact: i,
|
|
654
633
|
checkPropTypes: t,
|
|
655
634
|
resetWarningCache: r
|
|
656
635
|
};
|
|
@@ -670,42 +649,33 @@ function lt() {
|
|
|
670
649
|
var ut = /* @__PURE__ */ lt();
|
|
671
650
|
const Ee = /* @__PURE__ */ tt(ut);
|
|
672
651
|
var Ne = { exports: {} }, z = {};
|
|
673
|
-
/**
|
|
674
|
-
* @license React
|
|
675
|
-
* react-is.production.js
|
|
676
|
-
*
|
|
677
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
678
|
-
*
|
|
679
|
-
* This source code is licensed under the MIT license found in the
|
|
680
|
-
* LICENSE file in the root directory of this source tree.
|
|
681
|
-
*/
|
|
682
652
|
var Tr;
|
|
683
653
|
function ft() {
|
|
684
654
|
if (Tr) return z;
|
|
685
655
|
Tr = 1;
|
|
686
|
-
var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"),
|
|
687
|
-
function b(
|
|
688
|
-
if (typeof
|
|
689
|
-
var C =
|
|
656
|
+
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"), i = /* @__PURE__ */ Symbol.for("react.profiler"), a = /* @__PURE__ */ Symbol.for("react.consumer"), c = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), f = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), m = /* @__PURE__ */ Symbol.for("react.view_transition"), v = /* @__PURE__ */ Symbol.for("react.client.reference");
|
|
657
|
+
function b(s) {
|
|
658
|
+
if (typeof s == "object" && s !== null) {
|
|
659
|
+
var C = s.$$typeof;
|
|
690
660
|
switch (C) {
|
|
691
661
|
case e:
|
|
692
|
-
switch (
|
|
662
|
+
switch (s = s.type, s) {
|
|
693
663
|
case t:
|
|
694
|
-
case n:
|
|
695
664
|
case i:
|
|
665
|
+
case n:
|
|
696
666
|
case f:
|
|
697
667
|
case d:
|
|
698
668
|
case m:
|
|
699
|
-
return
|
|
669
|
+
return s;
|
|
700
670
|
default:
|
|
701
|
-
switch (
|
|
702
|
-
case
|
|
671
|
+
switch (s = s && s.$$typeof, s) {
|
|
672
|
+
case c:
|
|
703
673
|
case l:
|
|
704
674
|
case p:
|
|
705
|
-
case
|
|
706
|
-
return
|
|
675
|
+
case h:
|
|
676
|
+
return s;
|
|
707
677
|
case a:
|
|
708
|
-
return
|
|
678
|
+
return s;
|
|
709
679
|
default:
|
|
710
680
|
return C;
|
|
711
681
|
}
|
|
@@ -715,69 +685,60 @@ function ft() {
|
|
|
715
685
|
}
|
|
716
686
|
}
|
|
717
687
|
}
|
|
718
|
-
return z.ContextConsumer = a, z.ContextProvider =
|
|
719
|
-
return b(
|
|
720
|
-
}, z.isContextProvider = function(
|
|
721
|
-
return b(
|
|
722
|
-
}, z.isElement = function(
|
|
723
|
-
return typeof
|
|
724
|
-
}, z.isForwardRef = function(
|
|
725
|
-
return b(
|
|
726
|
-
}, z.isFragment = function(
|
|
727
|
-
return b(
|
|
728
|
-
}, z.isLazy = function(
|
|
729
|
-
return b(
|
|
730
|
-
}, z.isMemo = function(
|
|
731
|
-
return b(
|
|
732
|
-
}, z.isPortal = function(
|
|
733
|
-
return b(
|
|
734
|
-
}, z.isProfiler = function(
|
|
735
|
-
return b(
|
|
736
|
-
}, z.isStrictMode = function(
|
|
737
|
-
return b(
|
|
738
|
-
}, z.isSuspense = function(
|
|
739
|
-
return b(
|
|
740
|
-
}, z.isSuspenseList = function(
|
|
741
|
-
return b(
|
|
742
|
-
}, z.isValidElementType = function(
|
|
743
|
-
return typeof
|
|
688
|
+
return z.ContextConsumer = a, z.ContextProvider = c, z.Element = e, z.ForwardRef = l, z.Fragment = t, z.Lazy = p, z.Memo = h, z.Portal = r, z.Profiler = i, z.StrictMode = n, z.Suspense = f, z.SuspenseList = d, z.isContextConsumer = function(s) {
|
|
689
|
+
return b(s) === a;
|
|
690
|
+
}, z.isContextProvider = function(s) {
|
|
691
|
+
return b(s) === c;
|
|
692
|
+
}, z.isElement = function(s) {
|
|
693
|
+
return typeof s == "object" && s !== null && s.$$typeof === e;
|
|
694
|
+
}, z.isForwardRef = function(s) {
|
|
695
|
+
return b(s) === l;
|
|
696
|
+
}, z.isFragment = function(s) {
|
|
697
|
+
return b(s) === t;
|
|
698
|
+
}, z.isLazy = function(s) {
|
|
699
|
+
return b(s) === p;
|
|
700
|
+
}, z.isMemo = function(s) {
|
|
701
|
+
return b(s) === h;
|
|
702
|
+
}, z.isPortal = function(s) {
|
|
703
|
+
return b(s) === r;
|
|
704
|
+
}, z.isProfiler = function(s) {
|
|
705
|
+
return b(s) === i;
|
|
706
|
+
}, z.isStrictMode = function(s) {
|
|
707
|
+
return b(s) === n;
|
|
708
|
+
}, z.isSuspense = function(s) {
|
|
709
|
+
return b(s) === f;
|
|
710
|
+
}, z.isSuspenseList = function(s) {
|
|
711
|
+
return b(s) === d;
|
|
712
|
+
}, z.isValidElementType = function(s) {
|
|
713
|
+
return typeof s == "string" || typeof s == "function" || s === t || s === i || s === n || s === f || s === d || typeof s == "object" && s !== null && (s.$$typeof === p || s.$$typeof === h || s.$$typeof === c || s.$$typeof === a || s.$$typeof === l || s.$$typeof === v || s.getModuleId !== void 0);
|
|
744
714
|
}, z.typeOf = b, z;
|
|
745
715
|
}
|
|
746
716
|
var q = {};
|
|
747
|
-
/**
|
|
748
|
-
* @license React
|
|
749
|
-
* react-is.development.js
|
|
750
|
-
*
|
|
751
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
752
|
-
*
|
|
753
|
-
* This source code is licensed under the MIT license found in the
|
|
754
|
-
* LICENSE file in the root directory of this source tree.
|
|
755
|
-
*/
|
|
756
717
|
var Er;
|
|
757
718
|
function dt() {
|
|
758
719
|
return Er || (Er = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
759
|
-
function e(
|
|
760
|
-
if (typeof
|
|
761
|
-
var C =
|
|
720
|
+
function e(s) {
|
|
721
|
+
if (typeof s == "object" && s !== null) {
|
|
722
|
+
var C = s.$$typeof;
|
|
762
723
|
switch (C) {
|
|
763
724
|
case r:
|
|
764
|
-
switch (
|
|
765
|
-
case i:
|
|
766
|
-
case a:
|
|
725
|
+
switch (s = s.type, s) {
|
|
767
726
|
case n:
|
|
727
|
+
case a:
|
|
728
|
+
case i:
|
|
768
729
|
case d:
|
|
769
|
-
case
|
|
770
|
-
case
|
|
771
|
-
return
|
|
730
|
+
case h:
|
|
731
|
+
case v:
|
|
732
|
+
return s;
|
|
772
733
|
default:
|
|
773
|
-
switch (
|
|
734
|
+
switch (s = s && s.$$typeof, s) {
|
|
774
735
|
case l:
|
|
775
736
|
case f:
|
|
776
737
|
case m:
|
|
777
738
|
case p:
|
|
778
|
-
return
|
|
779
|
-
case
|
|
780
|
-
return
|
|
739
|
+
return s;
|
|
740
|
+
case c:
|
|
741
|
+
return s;
|
|
781
742
|
default:
|
|
782
743
|
return C;
|
|
783
744
|
}
|
|
@@ -787,33 +748,33 @@ function dt() {
|
|
|
787
748
|
}
|
|
788
749
|
}
|
|
789
750
|
}
|
|
790
|
-
var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"),
|
|
791
|
-
q.ContextConsumer =
|
|
792
|
-
return e(
|
|
793
|
-
}, q.isContextProvider = function(
|
|
794
|
-
return e(
|
|
795
|
-
}, q.isElement = function(
|
|
796
|
-
return typeof
|
|
797
|
-
}, q.isForwardRef = function(
|
|
798
|
-
return e(
|
|
799
|
-
}, q.isFragment = function(
|
|
800
|
-
return e(
|
|
801
|
-
}, q.isLazy = function(
|
|
802
|
-
return e(
|
|
803
|
-
}, q.isMemo = function(
|
|
804
|
-
return e(
|
|
805
|
-
}, q.isPortal = function(
|
|
806
|
-
return e(
|
|
807
|
-
}, q.isProfiler = function(
|
|
808
|
-
return e(
|
|
809
|
-
}, q.isStrictMode = function(
|
|
810
|
-
return e(
|
|
811
|
-
}, q.isSuspense = function(
|
|
812
|
-
return e(
|
|
813
|
-
}, q.isSuspenseList = function(
|
|
814
|
-
return e(
|
|
815
|
-
}, q.isValidElementType = function(
|
|
816
|
-
return typeof
|
|
751
|
+
var r = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), i = /* @__PURE__ */ Symbol.for("react.strict_mode"), a = /* @__PURE__ */ Symbol.for("react.profiler"), c = /* @__PURE__ */ Symbol.for("react.consumer"), l = /* @__PURE__ */ Symbol.for("react.context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), d = /* @__PURE__ */ Symbol.for("react.suspense"), h = /* @__PURE__ */ Symbol.for("react.suspense_list"), p = /* @__PURE__ */ Symbol.for("react.memo"), m = /* @__PURE__ */ Symbol.for("react.lazy"), v = /* @__PURE__ */ Symbol.for("react.view_transition"), b = /* @__PURE__ */ Symbol.for("react.client.reference");
|
|
752
|
+
q.ContextConsumer = c, q.ContextProvider = l, q.Element = r, q.ForwardRef = f, q.Fragment = n, q.Lazy = m, q.Memo = p, q.Portal = t, q.Profiler = a, q.StrictMode = i, q.Suspense = d, q.SuspenseList = h, q.isContextConsumer = function(s) {
|
|
753
|
+
return e(s) === c;
|
|
754
|
+
}, q.isContextProvider = function(s) {
|
|
755
|
+
return e(s) === l;
|
|
756
|
+
}, q.isElement = function(s) {
|
|
757
|
+
return typeof s == "object" && s !== null && s.$$typeof === r;
|
|
758
|
+
}, q.isForwardRef = function(s) {
|
|
759
|
+
return e(s) === f;
|
|
760
|
+
}, q.isFragment = function(s) {
|
|
761
|
+
return e(s) === n;
|
|
762
|
+
}, q.isLazy = function(s) {
|
|
763
|
+
return e(s) === m;
|
|
764
|
+
}, q.isMemo = function(s) {
|
|
765
|
+
return e(s) === p;
|
|
766
|
+
}, q.isPortal = function(s) {
|
|
767
|
+
return e(s) === t;
|
|
768
|
+
}, q.isProfiler = function(s) {
|
|
769
|
+
return e(s) === a;
|
|
770
|
+
}, q.isStrictMode = function(s) {
|
|
771
|
+
return e(s) === i;
|
|
772
|
+
}, q.isSuspense = function(s) {
|
|
773
|
+
return e(s) === d;
|
|
774
|
+
}, q.isSuspenseList = function(s) {
|
|
775
|
+
return e(s) === h;
|
|
776
|
+
}, q.isValidElementType = function(s) {
|
|
777
|
+
return typeof s == "string" || typeof s == "function" || s === n || s === a || s === i || s === d || s === h || typeof s == "object" && s !== null && (s.$$typeof === m || s.$$typeof === p || s.$$typeof === l || s.$$typeof === c || s.$$typeof === f || s.$$typeof === b || s.getModuleId !== void 0);
|
|
817
778
|
}, q.typeOf = e;
|
|
818
779
|
})()), q;
|
|
819
780
|
}
|
|
@@ -836,19 +797,19 @@ function Vr(e) {
|
|
|
836
797
|
r[t] = Vr(e[t]);
|
|
837
798
|
}), r;
|
|
838
799
|
}
|
|
839
|
-
function
|
|
800
|
+
function te(e, r, t = {
|
|
840
801
|
clone: !0
|
|
841
802
|
}) {
|
|
842
|
-
const
|
|
803
|
+
const n = t.clone ? {
|
|
843
804
|
...e
|
|
844
805
|
} : e;
|
|
845
|
-
return pe(e) && pe(r) && Object.keys(r).forEach((
|
|
846
|
-
/* @__PURE__ */ Dr.isValidElement(r[
|
|
847
|
-
Object.prototype.hasOwnProperty.call(e,
|
|
848
|
-
}),
|
|
806
|
+
return pe(e) && pe(r) && Object.keys(r).forEach((i) => {
|
|
807
|
+
/* @__PURE__ */ Dr.isValidElement(r[i]) || Yr.isValidElementType(r[i]) ? n[i] = r[i] : pe(r[i]) && // Avoid prototype pollution
|
|
808
|
+
Object.prototype.hasOwnProperty.call(e, i) && pe(e[i]) ? n[i] = te(e[i], r[i], t) : t.clone ? n[i] = pe(r[i]) ? Vr(r[i]) : r[i] : n[i] = r[i];
|
|
809
|
+
}), n;
|
|
849
810
|
}
|
|
850
811
|
function we(e, r) {
|
|
851
|
-
return r ?
|
|
812
|
+
return r ? te(e, r, {
|
|
852
813
|
clone: !1
|
|
853
814
|
// No need to clone deep, it's way faster.
|
|
854
815
|
}) : e;
|
|
@@ -857,14 +818,13 @@ const me = process.env.NODE_ENV !== "production" ? Ee.oneOfType([Ee.number, Ee.s
|
|
|
857
818
|
function xr(e, r) {
|
|
858
819
|
if (!e.containerQueries)
|
|
859
820
|
return r;
|
|
860
|
-
const t = Object.keys(r).filter((
|
|
861
|
-
var s, l;
|
|
821
|
+
const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, i) => {
|
|
862
822
|
const a = /min-width:\s*([0-9.]+)/;
|
|
863
|
-
return +(
|
|
823
|
+
return +(n.match(a)?.[1] || 0) - +(i.match(a)?.[1] || 0);
|
|
864
824
|
});
|
|
865
|
-
return t.length ? t.reduce((
|
|
866
|
-
const a = r[
|
|
867
|
-
return delete i
|
|
825
|
+
return t.length ? t.reduce((n, i) => {
|
|
826
|
+
const a = r[i];
|
|
827
|
+
return delete n[i], n[i] = a, n;
|
|
868
828
|
}, {
|
|
869
829
|
...r
|
|
870
830
|
}) : r;
|
|
@@ -880,21 +840,21 @@ function gt(e, r) {
|
|
|
880
840
|
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : Te(18, `(${r})`));
|
|
881
841
|
return null;
|
|
882
842
|
}
|
|
883
|
-
const [,
|
|
884
|
-
return e.containerQueries(
|
|
885
|
-
}
|
|
886
|
-
function
|
|
887
|
-
const r = (a,
|
|
888
|
-
function t(a,
|
|
889
|
-
a.up = (...l) => r(e.breakpoints.up(...l),
|
|
890
|
-
const f = r(e.breakpoints.not(...l),
|
|
843
|
+
const [, n, i] = t, a = Number.isNaN(+n) ? n || 0 : +n;
|
|
844
|
+
return e.containerQueries(i).up(a);
|
|
845
|
+
}
|
|
846
|
+
function ht(e) {
|
|
847
|
+
const r = (a, c) => a.replace("@media", c ? `@container ${c}` : "@container");
|
|
848
|
+
function t(a, c) {
|
|
849
|
+
a.up = (...l) => r(e.breakpoints.up(...l), c), a.down = (...l) => r(e.breakpoints.down(...l), c), a.between = (...l) => r(e.breakpoints.between(...l), c), a.only = (...l) => r(e.breakpoints.only(...l), c), a.not = (...l) => {
|
|
850
|
+
const f = r(e.breakpoints.not(...l), c);
|
|
891
851
|
return f.includes("not all and") ? f.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : f;
|
|
892
852
|
};
|
|
893
853
|
}
|
|
894
|
-
const
|
|
895
|
-
return t(
|
|
854
|
+
const n = {}, i = (a) => (t(n, a), n);
|
|
855
|
+
return t(i), {
|
|
896
856
|
...e,
|
|
897
|
-
containerQueries:
|
|
857
|
+
containerQueries: i
|
|
898
858
|
};
|
|
899
859
|
}
|
|
900
860
|
const Me = {
|
|
@@ -913,7 +873,7 @@ const Me = {
|
|
|
913
873
|
// It can't be configured as it's used statically for propTypes.
|
|
914
874
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
915
875
|
up: (e) => `@media (min-width:${Me[e]}px)`
|
|
916
|
-
},
|
|
876
|
+
}, yt = {
|
|
917
877
|
containerQueries: (e) => ({
|
|
918
878
|
up: (r) => {
|
|
919
879
|
let t = typeof r == "number" ? r : Me[r] || r;
|
|
@@ -921,55 +881,54 @@ const Me = {
|
|
|
921
881
|
}
|
|
922
882
|
})
|
|
923
883
|
};
|
|
924
|
-
function
|
|
925
|
-
const
|
|
884
|
+
function de(e, r, t) {
|
|
885
|
+
const n = e.theme || {};
|
|
926
886
|
if (Array.isArray(r)) {
|
|
927
|
-
const a =
|
|
928
|
-
return r.reduce((
|
|
887
|
+
const a = n.breakpoints || Or;
|
|
888
|
+
return r.reduce((c, l, f) => (c[a.up(a.keys[f])] = t(r[f]), c), {});
|
|
929
889
|
}
|
|
930
890
|
if (typeof r == "object") {
|
|
931
|
-
const a =
|
|
932
|
-
return Object.keys(r).reduce((
|
|
891
|
+
const a = n.breakpoints || Or;
|
|
892
|
+
return Object.keys(r).reduce((c, l) => {
|
|
933
893
|
if (mt(a.keys, l)) {
|
|
934
|
-
const f = gt(
|
|
935
|
-
f && (
|
|
894
|
+
const f = gt(n.containerQueries ? n : yt, l);
|
|
895
|
+
f && (c[f] = t(r[l], l));
|
|
936
896
|
} else if (Object.keys(a.values || Me).includes(l)) {
|
|
937
897
|
const f = a.up(l);
|
|
938
|
-
|
|
898
|
+
c[f] = t(r[l], l);
|
|
939
899
|
} else {
|
|
940
900
|
const f = l;
|
|
941
|
-
|
|
901
|
+
c[f] = r[f];
|
|
942
902
|
}
|
|
943
|
-
return
|
|
903
|
+
return c;
|
|
944
904
|
}, {});
|
|
945
905
|
}
|
|
946
906
|
return t(r);
|
|
947
907
|
}
|
|
948
908
|
function Ur(e = {}) {
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
}, {})) || {};
|
|
909
|
+
return e.keys?.reduce((t, n) => {
|
|
910
|
+
const i = e.up(n);
|
|
911
|
+
return t[i] = {}, t;
|
|
912
|
+
}, {}) || {};
|
|
954
913
|
}
|
|
955
914
|
function nr(e, r) {
|
|
956
|
-
return e.reduce((t,
|
|
957
|
-
const
|
|
958
|
-
return (!
|
|
915
|
+
return e.reduce((t, n) => {
|
|
916
|
+
const i = t[n];
|
|
917
|
+
return (!i || Object.keys(i).length === 0) && delete t[n], t;
|
|
959
918
|
}, r);
|
|
960
919
|
}
|
|
961
920
|
function Jn(e, ...r) {
|
|
962
|
-
const t = Ur(e),
|
|
963
|
-
return nr(Object.keys(t),
|
|
921
|
+
const t = Ur(e), n = [t, ...r].reduce((i, a) => te(i, a), {});
|
|
922
|
+
return nr(Object.keys(t), n);
|
|
964
923
|
}
|
|
965
924
|
function bt(e, r) {
|
|
966
925
|
if (typeof e != "object")
|
|
967
926
|
return {};
|
|
968
|
-
const t = {},
|
|
969
|
-
return Array.isArray(e) ?
|
|
970
|
-
a < e.length && (t[
|
|
971
|
-
}) :
|
|
972
|
-
e[
|
|
927
|
+
const t = {}, n = Object.keys(r);
|
|
928
|
+
return Array.isArray(e) ? n.forEach((i, a) => {
|
|
929
|
+
a < e.length && (t[i] = !0);
|
|
930
|
+
}) : n.forEach((i) => {
|
|
931
|
+
e[i] != null && (t[i] = !0);
|
|
973
932
|
}), t;
|
|
974
933
|
}
|
|
975
934
|
function Zn({
|
|
@@ -977,39 +936,39 @@ function Zn({
|
|
|
977
936
|
breakpoints: r,
|
|
978
937
|
base: t
|
|
979
938
|
}) {
|
|
980
|
-
const
|
|
981
|
-
if (
|
|
939
|
+
const n = t || bt(e, r), i = Object.keys(n);
|
|
940
|
+
if (i.length === 0)
|
|
982
941
|
return e;
|
|
983
942
|
let a;
|
|
984
|
-
return
|
|
943
|
+
return i.reduce((c, l, f) => (Array.isArray(e) ? (c[l] = e[f] != null ? e[f] : e[a], a = f) : typeof e == "object" ? (c[l] = e[l] != null ? e[l] : e[a], a = l) : c[l] = e, c), {});
|
|
985
944
|
}
|
|
986
945
|
function je(e, r, t = !0) {
|
|
987
946
|
if (!r || typeof r != "string")
|
|
988
947
|
return null;
|
|
989
948
|
if (e && e.vars && t) {
|
|
990
|
-
const
|
|
991
|
-
if (
|
|
992
|
-
return
|
|
949
|
+
const n = `vars.${r}`.split(".").reduce((i, a) => i && i[a] ? i[a] : null, e);
|
|
950
|
+
if (n != null)
|
|
951
|
+
return n;
|
|
993
952
|
}
|
|
994
|
-
return r.split(".").reduce((
|
|
953
|
+
return r.split(".").reduce((n, i) => n && n[i] != null ? n[i] : null, e);
|
|
995
954
|
}
|
|
996
|
-
function De(e, r, t,
|
|
997
|
-
let
|
|
998
|
-
return typeof e == "function" ?
|
|
955
|
+
function De(e, r, t, n = t) {
|
|
956
|
+
let i;
|
|
957
|
+
return typeof e == "function" ? i = e(t) : Array.isArray(e) ? i = e[t] || n : i = je(e, t) || n, r && (i = r(i, n, e)), i;
|
|
999
958
|
}
|
|
1000
|
-
function
|
|
959
|
+
function Q(e) {
|
|
1001
960
|
const {
|
|
1002
961
|
prop: r,
|
|
1003
962
|
cssProperty: t = e.prop,
|
|
1004
|
-
themeKey:
|
|
1005
|
-
transform:
|
|
1006
|
-
} = e, a = (
|
|
1007
|
-
if (
|
|
963
|
+
themeKey: n,
|
|
964
|
+
transform: i
|
|
965
|
+
} = e, a = (c) => {
|
|
966
|
+
if (c[r] == null)
|
|
1008
967
|
return null;
|
|
1009
|
-
const l =
|
|
1010
|
-
return
|
|
1011
|
-
let m = De(d,
|
|
1012
|
-
return p === m && typeof p == "string" && (m = De(d,
|
|
968
|
+
const l = c[r], f = c.theme, d = je(f, n) || {};
|
|
969
|
+
return de(c, l, (p) => {
|
|
970
|
+
let m = De(d, i, p);
|
|
971
|
+
return p === m && typeof p == "string" && (m = De(d, i, `${r}${p === "default" ? "" : Lr(p)}`, p)), t === !1 ? m : {
|
|
1013
972
|
[t]: m
|
|
1014
973
|
};
|
|
1015
974
|
});
|
|
@@ -1043,21 +1002,21 @@ const St = {
|
|
|
1043
1002
|
e = wr[e];
|
|
1044
1003
|
else
|
|
1045
1004
|
return [e];
|
|
1046
|
-
const [r, t] = e.split(""),
|
|
1047
|
-
return Array.isArray(
|
|
1005
|
+
const [r, t] = e.split(""), n = St[r], i = Ct[t] || "";
|
|
1006
|
+
return Array.isArray(i) ? i.map((a) => n + a) : [n + i];
|
|
1048
1007
|
}), Le = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Fe = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Et = [...Le, ...Fe];
|
|
1049
|
-
function Ae(e, r, t,
|
|
1050
|
-
const
|
|
1051
|
-
return typeof
|
|
1008
|
+
function Ae(e, r, t, n) {
|
|
1009
|
+
const i = je(e, r, !0) ?? t;
|
|
1010
|
+
return typeof i == "number" || typeof i == "string" ? (a) => typeof a == "string" ? a : (process.env.NODE_ENV !== "production" && typeof a != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`), typeof i == "string" ? i.startsWith("var(") && a === 0 ? 0 : i.startsWith("var(") && a === 1 ? i : `calc(${a} * ${i})` : i * a) : Array.isArray(i) ? (a) => {
|
|
1052
1011
|
if (typeof a == "string")
|
|
1053
1012
|
return a;
|
|
1054
|
-
const
|
|
1055
|
-
process.env.NODE_ENV !== "production" && (Number.isInteger(
|
|
1013
|
+
const c = Math.abs(a);
|
|
1014
|
+
process.env.NODE_ENV !== "production" && (Number.isInteger(c) ? c > i.length - 1 && console.error([`MUI: The value provided (${c}) overflows.`, `The supported values are: ${JSON.stringify(i)}.`, `${c} > ${i.length - 1}, you need to add the missing values.`].join(`
|
|
1056
1015
|
`)) : 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(`
|
|
1057
1016
|
`)));
|
|
1058
|
-
const l =
|
|
1017
|
+
const l = i[c];
|
|
1059
1018
|
return a >= 0 ? l : typeof l == "number" ? -l : typeof l == "string" && l.startsWith("var(") ? `calc(-1 * ${l})` : `-${l}`;
|
|
1060
|
-
} : typeof
|
|
1019
|
+
} : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join(`
|
|
1061
1020
|
`)), () => {
|
|
1062
1021
|
});
|
|
1063
1022
|
}
|
|
@@ -1068,40 +1027,40 @@ function Re(e, r) {
|
|
|
1068
1027
|
return typeof r == "string" || r == null ? r : e(r);
|
|
1069
1028
|
}
|
|
1070
1029
|
function $t(e, r) {
|
|
1071
|
-
return (t) => e.reduce((
|
|
1030
|
+
return (t) => e.reduce((n, i) => (n[i] = Re(r, t), n), {});
|
|
1072
1031
|
}
|
|
1073
|
-
function xt(e, r, t,
|
|
1032
|
+
function xt(e, r, t, n) {
|
|
1074
1033
|
if (!r.includes(t))
|
|
1075
1034
|
return null;
|
|
1076
|
-
const
|
|
1077
|
-
return
|
|
1035
|
+
const i = Tt(t), a = $t(i, n), c = e[t];
|
|
1036
|
+
return de(e, c, a);
|
|
1078
1037
|
}
|
|
1079
1038
|
function zr(e, r) {
|
|
1080
1039
|
const t = sr(e.theme);
|
|
1081
|
-
return Object.keys(e).map((
|
|
1040
|
+
return Object.keys(e).map((n) => xt(e, r, n, t)).reduce(we, {});
|
|
1082
1041
|
}
|
|
1083
|
-
function
|
|
1042
|
+
function K(e) {
|
|
1084
1043
|
return zr(e, Le);
|
|
1085
1044
|
}
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
function
|
|
1045
|
+
K.propTypes = process.env.NODE_ENV !== "production" ? Le.reduce((e, r) => (e[r] = me, e), {}) : {};
|
|
1046
|
+
K.filterProps = Le;
|
|
1047
|
+
function H(e) {
|
|
1089
1048
|
return zr(e, Fe);
|
|
1090
1049
|
}
|
|
1091
|
-
|
|
1092
|
-
|
|
1050
|
+
H.propTypes = process.env.NODE_ENV !== "production" ? Fe.reduce((e, r) => (e[r] = me, e), {}) : {};
|
|
1051
|
+
H.filterProps = Fe;
|
|
1093
1052
|
process.env.NODE_ENV !== "production" && Et.reduce((e, r) => (e[r] = me, e), {});
|
|
1094
1053
|
function We(...e) {
|
|
1095
|
-
const r = e.reduce((
|
|
1096
|
-
|
|
1097
|
-
}),
|
|
1098
|
-
return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((
|
|
1054
|
+
const r = e.reduce((n, i) => (i.filterProps.forEach((a) => {
|
|
1055
|
+
n[a] = i;
|
|
1056
|
+
}), n), {}), t = (n) => Object.keys(n).reduce((i, a) => r[a] ? we(i, r[a](n)) : i, {});
|
|
1057
|
+
return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, i) => Object.assign(n, i.propTypes), {}) : {}, t.filterProps = e.reduce((n, i) => n.concat(i.filterProps), []), t;
|
|
1099
1058
|
}
|
|
1100
1059
|
function oe(e) {
|
|
1101
1060
|
return typeof e != "number" ? e : `${e}px solid`;
|
|
1102
1061
|
}
|
|
1103
1062
|
function ie(e, r) {
|
|
1104
|
-
return
|
|
1063
|
+
return Q({
|
|
1105
1064
|
prop: e,
|
|
1106
1065
|
themeKey: "borders",
|
|
1107
1066
|
transform: r
|
|
@@ -1109,10 +1068,10 @@ function ie(e, r) {
|
|
|
1109
1068
|
}
|
|
1110
1069
|
const Ot = ie("border", oe), wt = ie("borderTop", oe), _t = ie("borderRight", oe), At = ie("borderBottom", oe), Rt = ie("borderLeft", oe), Pt = ie("borderColor"), kt = ie("borderTopColor"), It = ie("borderRightColor"), Bt = ie("borderBottomColor"), Nt = ie("borderLeftColor"), Dt = ie("outline", oe), Mt = ie("outlineColor"), Ye = (e) => {
|
|
1111
1070
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1112
|
-
const r = Ae(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (
|
|
1113
|
-
borderRadius: Re(r,
|
|
1071
|
+
const r = Ae(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
|
|
1072
|
+
borderRadius: Re(r, n)
|
|
1114
1073
|
});
|
|
1115
|
-
return
|
|
1074
|
+
return de(e, e.borderRadius, t);
|
|
1116
1075
|
}
|
|
1117
1076
|
return null;
|
|
1118
1077
|
};
|
|
@@ -1123,10 +1082,10 @@ Ye.filterProps = ["borderRadius"];
|
|
|
1123
1082
|
We(Ot, wt, _t, At, Rt, Pt, kt, It, Bt, Nt, Ye, Dt, Mt);
|
|
1124
1083
|
const Ve = (e) => {
|
|
1125
1084
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
1126
|
-
const r = Ae(e.theme, "spacing", 8, "gap"), t = (
|
|
1127
|
-
gap: Re(r,
|
|
1085
|
+
const r = Ae(e.theme, "spacing", 8, "gap"), t = (n) => ({
|
|
1086
|
+
gap: Re(r, n)
|
|
1128
1087
|
});
|
|
1129
|
-
return
|
|
1088
|
+
return de(e, e.gap, t);
|
|
1130
1089
|
}
|
|
1131
1090
|
return null;
|
|
1132
1091
|
};
|
|
@@ -1136,10 +1095,10 @@ Ve.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1136
1095
|
Ve.filterProps = ["gap"];
|
|
1137
1096
|
const Ue = (e) => {
|
|
1138
1097
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
1139
|
-
const r = Ae(e.theme, "spacing", 8, "columnGap"), t = (
|
|
1140
|
-
columnGap: Re(r,
|
|
1098
|
+
const r = Ae(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
|
|
1099
|
+
columnGap: Re(r, n)
|
|
1141
1100
|
});
|
|
1142
|
-
return
|
|
1101
|
+
return de(e, e.columnGap, t);
|
|
1143
1102
|
}
|
|
1144
1103
|
return null;
|
|
1145
1104
|
};
|
|
@@ -1149,10 +1108,10 @@ Ue.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1149
1108
|
Ue.filterProps = ["columnGap"];
|
|
1150
1109
|
const ze = (e) => {
|
|
1151
1110
|
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
1152
|
-
const r = Ae(e.theme, "spacing", 8, "rowGap"), t = (
|
|
1153
|
-
rowGap: Re(r,
|
|
1111
|
+
const r = Ae(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
|
|
1112
|
+
rowGap: Re(r, n)
|
|
1154
1113
|
});
|
|
1155
|
-
return
|
|
1114
|
+
return de(e, e.rowGap, t);
|
|
1156
1115
|
}
|
|
1157
1116
|
return null;
|
|
1158
1117
|
};
|
|
@@ -1160,92 +1119,91 @@ ze.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1160
1119
|
rowGap: me
|
|
1161
1120
|
} : {};
|
|
1162
1121
|
ze.filterProps = ["rowGap"];
|
|
1163
|
-
const jt =
|
|
1122
|
+
const jt = Q({
|
|
1164
1123
|
prop: "gridColumn"
|
|
1165
|
-
}), Lt =
|
|
1124
|
+
}), Lt = Q({
|
|
1166
1125
|
prop: "gridRow"
|
|
1167
|
-
}), Ft =
|
|
1126
|
+
}), Ft = Q({
|
|
1168
1127
|
prop: "gridAutoFlow"
|
|
1169
|
-
}), Wt =
|
|
1128
|
+
}), Wt = Q({
|
|
1170
1129
|
prop: "gridAutoColumns"
|
|
1171
|
-
}), Yt =
|
|
1130
|
+
}), Yt = Q({
|
|
1172
1131
|
prop: "gridAutoRows"
|
|
1173
|
-
}), Vt =
|
|
1132
|
+
}), Vt = Q({
|
|
1174
1133
|
prop: "gridTemplateColumns"
|
|
1175
|
-
}), Ut =
|
|
1134
|
+
}), Ut = Q({
|
|
1176
1135
|
prop: "gridTemplateRows"
|
|
1177
|
-
}), zt =
|
|
1136
|
+
}), zt = Q({
|
|
1178
1137
|
prop: "gridTemplateAreas"
|
|
1179
|
-
}), qt =
|
|
1138
|
+
}), qt = Q({
|
|
1180
1139
|
prop: "gridArea"
|
|
1181
1140
|
});
|
|
1182
1141
|
We(Ve, Ue, ze, jt, Lt, Ft, Wt, Yt, Vt, Ut, zt, qt);
|
|
1183
1142
|
function Ce(e, r) {
|
|
1184
1143
|
return r === "grey" ? r : e;
|
|
1185
1144
|
}
|
|
1186
|
-
const Gt =
|
|
1145
|
+
const Gt = Q({
|
|
1187
1146
|
prop: "color",
|
|
1188
1147
|
themeKey: "palette",
|
|
1189
1148
|
transform: Ce
|
|
1190
|
-
}), Kt =
|
|
1149
|
+
}), Kt = Q({
|
|
1191
1150
|
prop: "bgcolor",
|
|
1192
1151
|
cssProperty: "backgroundColor",
|
|
1193
1152
|
themeKey: "palette",
|
|
1194
1153
|
transform: Ce
|
|
1195
|
-
}), Ht =
|
|
1154
|
+
}), Ht = Q({
|
|
1196
1155
|
prop: "backgroundColor",
|
|
1197
1156
|
themeKey: "palette",
|
|
1198
1157
|
transform: Ce
|
|
1199
1158
|
});
|
|
1200
1159
|
We(Gt, Kt, Ht);
|
|
1201
|
-
function
|
|
1160
|
+
function ne(e) {
|
|
1202
1161
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1203
1162
|
}
|
|
1204
|
-
const Qt =
|
|
1163
|
+
const Qt = Q({
|
|
1205
1164
|
prop: "width",
|
|
1206
|
-
transform:
|
|
1165
|
+
transform: ne
|
|
1207
1166
|
}), cr = (e) => {
|
|
1208
1167
|
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
1209
1168
|
const r = (t) => {
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
maxWidth: `${i}${e.theme.breakpoints.unit}`
|
|
1169
|
+
const n = e.theme?.breakpoints?.values?.[t] || Me[t];
|
|
1170
|
+
return n ? e.theme?.breakpoints?.unit !== "px" ? {
|
|
1171
|
+
maxWidth: `${n}${e.theme.breakpoints.unit}`
|
|
1214
1172
|
} : {
|
|
1215
|
-
maxWidth:
|
|
1173
|
+
maxWidth: n
|
|
1216
1174
|
} : {
|
|
1217
|
-
maxWidth:
|
|
1175
|
+
maxWidth: ne(t)
|
|
1218
1176
|
};
|
|
1219
1177
|
};
|
|
1220
|
-
return
|
|
1178
|
+
return de(e, e.maxWidth, r);
|
|
1221
1179
|
}
|
|
1222
1180
|
return null;
|
|
1223
1181
|
};
|
|
1224
1182
|
cr.filterProps = ["maxWidth"];
|
|
1225
|
-
const Xt =
|
|
1183
|
+
const Xt = Q({
|
|
1226
1184
|
prop: "minWidth",
|
|
1227
|
-
transform:
|
|
1228
|
-
}), Jt =
|
|
1185
|
+
transform: ne
|
|
1186
|
+
}), Jt = Q({
|
|
1229
1187
|
prop: "height",
|
|
1230
|
-
transform:
|
|
1231
|
-
}), Zt =
|
|
1188
|
+
transform: ne
|
|
1189
|
+
}), Zt = Q({
|
|
1232
1190
|
prop: "maxHeight",
|
|
1233
|
-
transform:
|
|
1234
|
-
}), en =
|
|
1191
|
+
transform: ne
|
|
1192
|
+
}), en = Q({
|
|
1235
1193
|
prop: "minHeight",
|
|
1236
|
-
transform:
|
|
1194
|
+
transform: ne
|
|
1237
1195
|
});
|
|
1238
|
-
|
|
1196
|
+
Q({
|
|
1239
1197
|
prop: "size",
|
|
1240
1198
|
cssProperty: "width",
|
|
1241
|
-
transform:
|
|
1199
|
+
transform: ne
|
|
1242
1200
|
});
|
|
1243
|
-
|
|
1201
|
+
Q({
|
|
1244
1202
|
prop: "size",
|
|
1245
1203
|
cssProperty: "height",
|
|
1246
|
-
transform:
|
|
1204
|
+
transform: ne
|
|
1247
1205
|
});
|
|
1248
|
-
const rn =
|
|
1206
|
+
const rn = Q({
|
|
1249
1207
|
prop: "boxSizing"
|
|
1250
1208
|
});
|
|
1251
1209
|
We(Qt, cr, Xt, Jt, Zt, en, rn);
|
|
@@ -1313,124 +1271,124 @@ const qe = {
|
|
|
1313
1271
|
},
|
|
1314
1272
|
// spacing
|
|
1315
1273
|
p: {
|
|
1316
|
-
style:
|
|
1274
|
+
style: H
|
|
1317
1275
|
},
|
|
1318
1276
|
pt: {
|
|
1319
|
-
style:
|
|
1277
|
+
style: H
|
|
1320
1278
|
},
|
|
1321
1279
|
pr: {
|
|
1322
|
-
style:
|
|
1280
|
+
style: H
|
|
1323
1281
|
},
|
|
1324
1282
|
pb: {
|
|
1325
|
-
style:
|
|
1283
|
+
style: H
|
|
1326
1284
|
},
|
|
1327
1285
|
pl: {
|
|
1328
|
-
style:
|
|
1286
|
+
style: H
|
|
1329
1287
|
},
|
|
1330
1288
|
px: {
|
|
1331
|
-
style:
|
|
1289
|
+
style: H
|
|
1332
1290
|
},
|
|
1333
1291
|
py: {
|
|
1334
|
-
style:
|
|
1292
|
+
style: H
|
|
1335
1293
|
},
|
|
1336
1294
|
padding: {
|
|
1337
|
-
style:
|
|
1295
|
+
style: H
|
|
1338
1296
|
},
|
|
1339
1297
|
paddingTop: {
|
|
1340
|
-
style:
|
|
1298
|
+
style: H
|
|
1341
1299
|
},
|
|
1342
1300
|
paddingRight: {
|
|
1343
|
-
style:
|
|
1301
|
+
style: H
|
|
1344
1302
|
},
|
|
1345
1303
|
paddingBottom: {
|
|
1346
|
-
style:
|
|
1304
|
+
style: H
|
|
1347
1305
|
},
|
|
1348
1306
|
paddingLeft: {
|
|
1349
|
-
style:
|
|
1307
|
+
style: H
|
|
1350
1308
|
},
|
|
1351
1309
|
paddingX: {
|
|
1352
|
-
style:
|
|
1310
|
+
style: H
|
|
1353
1311
|
},
|
|
1354
1312
|
paddingY: {
|
|
1355
|
-
style:
|
|
1313
|
+
style: H
|
|
1356
1314
|
},
|
|
1357
1315
|
paddingInline: {
|
|
1358
|
-
style:
|
|
1316
|
+
style: H
|
|
1359
1317
|
},
|
|
1360
1318
|
paddingInlineStart: {
|
|
1361
|
-
style:
|
|
1319
|
+
style: H
|
|
1362
1320
|
},
|
|
1363
1321
|
paddingInlineEnd: {
|
|
1364
|
-
style:
|
|
1322
|
+
style: H
|
|
1365
1323
|
},
|
|
1366
1324
|
paddingBlock: {
|
|
1367
|
-
style:
|
|
1325
|
+
style: H
|
|
1368
1326
|
},
|
|
1369
1327
|
paddingBlockStart: {
|
|
1370
|
-
style:
|
|
1328
|
+
style: H
|
|
1371
1329
|
},
|
|
1372
1330
|
paddingBlockEnd: {
|
|
1373
|
-
style:
|
|
1331
|
+
style: H
|
|
1374
1332
|
},
|
|
1375
1333
|
m: {
|
|
1376
|
-
style:
|
|
1334
|
+
style: K
|
|
1377
1335
|
},
|
|
1378
1336
|
mt: {
|
|
1379
|
-
style:
|
|
1337
|
+
style: K
|
|
1380
1338
|
},
|
|
1381
1339
|
mr: {
|
|
1382
|
-
style:
|
|
1340
|
+
style: K
|
|
1383
1341
|
},
|
|
1384
1342
|
mb: {
|
|
1385
|
-
style:
|
|
1343
|
+
style: K
|
|
1386
1344
|
},
|
|
1387
1345
|
ml: {
|
|
1388
|
-
style:
|
|
1346
|
+
style: K
|
|
1389
1347
|
},
|
|
1390
1348
|
mx: {
|
|
1391
|
-
style:
|
|
1349
|
+
style: K
|
|
1392
1350
|
},
|
|
1393
1351
|
my: {
|
|
1394
|
-
style:
|
|
1352
|
+
style: K
|
|
1395
1353
|
},
|
|
1396
1354
|
margin: {
|
|
1397
|
-
style:
|
|
1355
|
+
style: K
|
|
1398
1356
|
},
|
|
1399
1357
|
marginTop: {
|
|
1400
|
-
style:
|
|
1358
|
+
style: K
|
|
1401
1359
|
},
|
|
1402
1360
|
marginRight: {
|
|
1403
|
-
style:
|
|
1361
|
+
style: K
|
|
1404
1362
|
},
|
|
1405
1363
|
marginBottom: {
|
|
1406
|
-
style:
|
|
1364
|
+
style: K
|
|
1407
1365
|
},
|
|
1408
1366
|
marginLeft: {
|
|
1409
|
-
style:
|
|
1367
|
+
style: K
|
|
1410
1368
|
},
|
|
1411
1369
|
marginX: {
|
|
1412
|
-
style:
|
|
1370
|
+
style: K
|
|
1413
1371
|
},
|
|
1414
1372
|
marginY: {
|
|
1415
|
-
style:
|
|
1373
|
+
style: K
|
|
1416
1374
|
},
|
|
1417
1375
|
marginInline: {
|
|
1418
|
-
style:
|
|
1376
|
+
style: K
|
|
1419
1377
|
},
|
|
1420
1378
|
marginInlineStart: {
|
|
1421
|
-
style:
|
|
1379
|
+
style: K
|
|
1422
1380
|
},
|
|
1423
1381
|
marginInlineEnd: {
|
|
1424
|
-
style:
|
|
1382
|
+
style: K
|
|
1425
1383
|
},
|
|
1426
1384
|
marginBlock: {
|
|
1427
|
-
style:
|
|
1385
|
+
style: K
|
|
1428
1386
|
},
|
|
1429
1387
|
marginBlockStart: {
|
|
1430
|
-
style:
|
|
1388
|
+
style: K
|
|
1431
1389
|
},
|
|
1432
1390
|
marginBlockEnd: {
|
|
1433
|
-
style:
|
|
1391
|
+
style: K
|
|
1434
1392
|
},
|
|
1435
1393
|
// display
|
|
1436
1394
|
displayPrint: {
|
|
@@ -1494,22 +1452,22 @@ const qe = {
|
|
|
1494
1452
|
},
|
|
1495
1453
|
// sizing
|
|
1496
1454
|
width: {
|
|
1497
|
-
transform:
|
|
1455
|
+
transform: ne
|
|
1498
1456
|
},
|
|
1499
1457
|
maxWidth: {
|
|
1500
1458
|
style: cr
|
|
1501
1459
|
},
|
|
1502
1460
|
minWidth: {
|
|
1503
|
-
transform:
|
|
1461
|
+
transform: ne
|
|
1504
1462
|
},
|
|
1505
1463
|
height: {
|
|
1506
|
-
transform:
|
|
1464
|
+
transform: ne
|
|
1507
1465
|
},
|
|
1508
1466
|
maxHeight: {
|
|
1509
|
-
transform:
|
|
1467
|
+
transform: ne
|
|
1510
1468
|
},
|
|
1511
1469
|
minHeight: {
|
|
1512
|
-
transform:
|
|
1470
|
+
transform: ne
|
|
1513
1471
|
},
|
|
1514
1472
|
boxSizing: {},
|
|
1515
1473
|
// typography
|
|
@@ -1538,86 +1496,86 @@ const qe = {
|
|
|
1538
1496
|
}
|
|
1539
1497
|
};
|
|
1540
1498
|
function tn(...e) {
|
|
1541
|
-
const r = e.reduce((
|
|
1542
|
-
return e.every((
|
|
1499
|
+
const r = e.reduce((n, i) => n.concat(Object.keys(i)), []), t = new Set(r);
|
|
1500
|
+
return e.every((n) => t.size === Object.keys(n).length);
|
|
1543
1501
|
}
|
|
1544
1502
|
function nn(e, r) {
|
|
1545
1503
|
return typeof e == "function" ? e(r) : e;
|
|
1546
1504
|
}
|
|
1547
1505
|
function on() {
|
|
1548
|
-
function e(t,
|
|
1549
|
-
const
|
|
1550
|
-
[t]:
|
|
1551
|
-
theme:
|
|
1506
|
+
function e(t, n, i, a) {
|
|
1507
|
+
const c = {
|
|
1508
|
+
[t]: n,
|
|
1509
|
+
theme: i
|
|
1552
1510
|
}, l = a[t];
|
|
1553
1511
|
if (!l)
|
|
1554
1512
|
return {
|
|
1555
|
-
[t]:
|
|
1513
|
+
[t]: n
|
|
1556
1514
|
};
|
|
1557
1515
|
const {
|
|
1558
1516
|
cssProperty: f = t,
|
|
1559
1517
|
themeKey: d,
|
|
1560
|
-
transform:
|
|
1518
|
+
transform: h,
|
|
1561
1519
|
style: p
|
|
1562
1520
|
} = l;
|
|
1563
|
-
if (
|
|
1521
|
+
if (n == null)
|
|
1564
1522
|
return null;
|
|
1565
|
-
if (d === "typography" &&
|
|
1523
|
+
if (d === "typography" && n === "inherit")
|
|
1566
1524
|
return {
|
|
1567
|
-
[t]:
|
|
1525
|
+
[t]: n
|
|
1568
1526
|
};
|
|
1569
|
-
const m = je(
|
|
1570
|
-
return p ? p(
|
|
1571
|
-
let
|
|
1572
|
-
return b ===
|
|
1573
|
-
[f]:
|
|
1527
|
+
const m = je(i, d) || {};
|
|
1528
|
+
return p ? p(c) : de(c, n, (b) => {
|
|
1529
|
+
let s = De(m, h, b);
|
|
1530
|
+
return b === s && typeof b == "string" && (s = De(m, h, `${t}${b === "default" ? "" : Lr(b)}`, b)), f === !1 ? s : {
|
|
1531
|
+
[f]: s
|
|
1574
1532
|
};
|
|
1575
1533
|
});
|
|
1576
1534
|
}
|
|
1577
1535
|
function r(t) {
|
|
1578
1536
|
const {
|
|
1579
|
-
sx:
|
|
1580
|
-
theme:
|
|
1537
|
+
sx: n,
|
|
1538
|
+
theme: i = {},
|
|
1581
1539
|
nested: a
|
|
1582
1540
|
} = t || {};
|
|
1583
|
-
if (!
|
|
1541
|
+
if (!n)
|
|
1584
1542
|
return null;
|
|
1585
|
-
const
|
|
1543
|
+
const c = i.unstable_sxConfig ?? qe;
|
|
1586
1544
|
function l(f) {
|
|
1587
1545
|
let d = f;
|
|
1588
1546
|
if (typeof f == "function")
|
|
1589
|
-
d = f(
|
|
1547
|
+
d = f(i);
|
|
1590
1548
|
else if (typeof f != "object")
|
|
1591
1549
|
return f;
|
|
1592
1550
|
if (!d)
|
|
1593
1551
|
return null;
|
|
1594
|
-
const
|
|
1595
|
-
let m =
|
|
1596
|
-
return Object.keys(d).forEach((
|
|
1597
|
-
const b = nn(d[
|
|
1552
|
+
const h = Ur(i.breakpoints), p = Object.keys(h);
|
|
1553
|
+
let m = h;
|
|
1554
|
+
return Object.keys(d).forEach((v) => {
|
|
1555
|
+
const b = nn(d[v], i);
|
|
1598
1556
|
if (b != null)
|
|
1599
1557
|
if (typeof b == "object")
|
|
1600
|
-
if (
|
|
1601
|
-
m = we(m, e(
|
|
1558
|
+
if (c[v])
|
|
1559
|
+
m = we(m, e(v, b, i, c));
|
|
1602
1560
|
else {
|
|
1603
|
-
const
|
|
1604
|
-
theme:
|
|
1561
|
+
const s = de({
|
|
1562
|
+
theme: i
|
|
1605
1563
|
}, b, (C) => ({
|
|
1606
|
-
[
|
|
1564
|
+
[v]: C
|
|
1607
1565
|
}));
|
|
1608
|
-
tn(
|
|
1566
|
+
tn(s, b) ? m[v] = r({
|
|
1609
1567
|
sx: b,
|
|
1610
|
-
theme:
|
|
1568
|
+
theme: i,
|
|
1611
1569
|
nested: !0
|
|
1612
|
-
}) : m = we(m,
|
|
1570
|
+
}) : m = we(m, s);
|
|
1613
1571
|
}
|
|
1614
1572
|
else
|
|
1615
|
-
m = we(m, e(
|
|
1616
|
-
}), !a &&
|
|
1617
|
-
"@layer sx": xr(
|
|
1618
|
-
} : xr(
|
|
1573
|
+
m = we(m, e(v, b, i, c));
|
|
1574
|
+
}), !a && i.modularCssLayers ? {
|
|
1575
|
+
"@layer sx": xr(i, nr(p, m))
|
|
1576
|
+
} : xr(i, nr(p, m));
|
|
1619
1577
|
}
|
|
1620
|
-
return Array.isArray(
|
|
1578
|
+
return Array.isArray(n) ? n.map(l) : l(n);
|
|
1621
1579
|
}
|
|
1622
1580
|
return r;
|
|
1623
1581
|
}
|
|
@@ -1628,9 +1586,9 @@ const an = (e) => {
|
|
|
1628
1586
|
key: t,
|
|
1629
1587
|
val: e[t]
|
|
1630
1588
|
})) || [];
|
|
1631
|
-
return r.sort((t,
|
|
1589
|
+
return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
|
|
1632
1590
|
...t,
|
|
1633
|
-
[
|
|
1591
|
+
[n.key]: n.val
|
|
1634
1592
|
}), {});
|
|
1635
1593
|
};
|
|
1636
1594
|
function sn(e) {
|
|
@@ -1650,36 +1608,36 @@ function sn(e) {
|
|
|
1650
1608
|
// large screen
|
|
1651
1609
|
},
|
|
1652
1610
|
unit: t = "px",
|
|
1653
|
-
step:
|
|
1654
|
-
...
|
|
1655
|
-
} = e, a = an(r),
|
|
1611
|
+
step: n = 5,
|
|
1612
|
+
...i
|
|
1613
|
+
} = e, a = an(r), c = Object.keys(a);
|
|
1656
1614
|
function l(m) {
|
|
1657
1615
|
return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t})`;
|
|
1658
1616
|
}
|
|
1659
1617
|
function f(m) {
|
|
1660
|
-
return `@media (max-width:${(typeof r[m] == "number" ? r[m] : m) -
|
|
1618
|
+
return `@media (max-width:${(typeof r[m] == "number" ? r[m] : m) - n / 100}${t})`;
|
|
1661
1619
|
}
|
|
1662
|
-
function d(m,
|
|
1663
|
-
const b =
|
|
1664
|
-
return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t}) and (max-width:${(b !== -1 && typeof r[
|
|
1620
|
+
function d(m, v) {
|
|
1621
|
+
const b = c.indexOf(v);
|
|
1622
|
+
return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t}) and (max-width:${(b !== -1 && typeof r[c[b]] == "number" ? r[c[b]] : v) - n / 100}${t})`;
|
|
1665
1623
|
}
|
|
1666
|
-
function
|
|
1667
|
-
return
|
|
1624
|
+
function h(m) {
|
|
1625
|
+
return c.indexOf(m) + 1 < c.length ? d(m, c[c.indexOf(m) + 1]) : l(m);
|
|
1668
1626
|
}
|
|
1669
1627
|
function p(m) {
|
|
1670
|
-
const
|
|
1671
|
-
return
|
|
1628
|
+
const v = c.indexOf(m);
|
|
1629
|
+
return v === 0 ? l(c[1]) : v === c.length - 1 ? f(c[v]) : d(m, c[c.indexOf(m) + 1]).replace("@media", "@media not all and");
|
|
1672
1630
|
}
|
|
1673
1631
|
return {
|
|
1674
|
-
keys:
|
|
1632
|
+
keys: c,
|
|
1675
1633
|
values: a,
|
|
1676
1634
|
up: l,
|
|
1677
1635
|
down: f,
|
|
1678
1636
|
between: d,
|
|
1679
|
-
only:
|
|
1637
|
+
only: h,
|
|
1680
1638
|
not: p,
|
|
1681
1639
|
unit: t,
|
|
1682
|
-
...
|
|
1640
|
+
...i
|
|
1683
1641
|
};
|
|
1684
1642
|
}
|
|
1685
1643
|
const cn = {
|
|
@@ -1690,17 +1648,16 @@ function qr(e = 8, r = sr({
|
|
|
1690
1648
|
})) {
|
|
1691
1649
|
if (e.mui)
|
|
1692
1650
|
return e;
|
|
1693
|
-
const t = (...
|
|
1694
|
-
const
|
|
1695
|
-
return typeof
|
|
1651
|
+
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((a) => {
|
|
1652
|
+
const c = r(a);
|
|
1653
|
+
return typeof c == "number" ? `${c}px` : c;
|
|
1696
1654
|
}).join(" "));
|
|
1697
1655
|
return t.mui = !0, t;
|
|
1698
1656
|
}
|
|
1699
1657
|
function ln(e, r) {
|
|
1700
|
-
var i;
|
|
1701
1658
|
const t = this;
|
|
1702
1659
|
if (t.vars) {
|
|
1703
|
-
if (!
|
|
1660
|
+
if (!t.colorSchemes?.[e] || typeof t.getColorSchemeSelector != "function")
|
|
1704
1661
|
return {};
|
|
1705
1662
|
let n = t.getColorSchemeSelector(e);
|
|
1706
1663
|
return n === "&" ? r : ((n.includes("data-") || n.includes(".")) && (n = `*:where(${n.replace(/\s*&$/, "")}) &`), {
|
|
@@ -1712,29 +1669,29 @@ function ln(e, r) {
|
|
|
1712
1669
|
function un(e = {}, ...r) {
|
|
1713
1670
|
const {
|
|
1714
1671
|
breakpoints: t = {},
|
|
1715
|
-
palette:
|
|
1716
|
-
spacing:
|
|
1672
|
+
palette: n = {},
|
|
1673
|
+
spacing: i,
|
|
1717
1674
|
shape: a = {},
|
|
1718
|
-
...
|
|
1719
|
-
} = e, l = sn(t), f = qr(
|
|
1720
|
-
let d =
|
|
1675
|
+
...c
|
|
1676
|
+
} = e, l = sn(t), f = qr(i);
|
|
1677
|
+
let d = te({
|
|
1721
1678
|
breakpoints: l,
|
|
1722
1679
|
direction: "ltr",
|
|
1723
1680
|
components: {},
|
|
1724
1681
|
// Inject component definitions.
|
|
1725
1682
|
palette: {
|
|
1726
1683
|
mode: "light",
|
|
1727
|
-
...
|
|
1684
|
+
...n
|
|
1728
1685
|
},
|
|
1729
1686
|
spacing: f,
|
|
1730
1687
|
shape: {
|
|
1731
1688
|
...cn,
|
|
1732
1689
|
...a
|
|
1733
1690
|
}
|
|
1734
|
-
},
|
|
1735
|
-
return d =
|
|
1691
|
+
}, c);
|
|
1692
|
+
return d = ht(d), d.applyStyles = ln, d = r.reduce((h, p) => te(h, p), d), d.unstable_sxConfig = {
|
|
1736
1693
|
...qe,
|
|
1737
|
-
...
|
|
1694
|
+
...c?.unstable_sxConfig
|
|
1738
1695
|
}, d.unstable_sx = function(p) {
|
|
1739
1696
|
return Ge({
|
|
1740
1697
|
sx: p,
|
|
@@ -1743,100 +1700,99 @@ function un(e = {}, ...r) {
|
|
|
1743
1700
|
}, d;
|
|
1744
1701
|
}
|
|
1745
1702
|
function fn(e = "") {
|
|
1746
|
-
function r(...
|
|
1747
|
-
if (!
|
|
1703
|
+
function r(...n) {
|
|
1704
|
+
if (!n.length)
|
|
1748
1705
|
return "";
|
|
1749
|
-
const
|
|
1750
|
-
return typeof
|
|
1706
|
+
const i = n[0];
|
|
1707
|
+
return typeof i == "string" && !i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/) ? `, var(--${e ? `${e}-` : ""}${i}${r(...n.slice(1))})` : `, ${i}`;
|
|
1751
1708
|
}
|
|
1752
|
-
return (
|
|
1709
|
+
return (n, ...i) => `var(--${e ? `${e}-` : ""}${n}${r(...i)})`;
|
|
1753
1710
|
}
|
|
1754
|
-
const _r = (e, r, t,
|
|
1755
|
-
let
|
|
1756
|
-
r.forEach((a,
|
|
1757
|
-
|
|
1711
|
+
const _r = (e, r, t, n = []) => {
|
|
1712
|
+
let i = e;
|
|
1713
|
+
r.forEach((a, c) => {
|
|
1714
|
+
c === r.length - 1 ? Array.isArray(i) ? i[Number(a)] = t : i && typeof i == "object" && (i[a] = t) : i && typeof i == "object" && (i[a] || (i[a] = n.includes(a) ? [] : {}), i = i[a]);
|
|
1758
1715
|
});
|
|
1759
1716
|
}, dn = (e, r, t) => {
|
|
1760
|
-
function i
|
|
1761
|
-
Object.entries(
|
|
1762
|
-
(!t || t && !t([...a, l])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ?
|
|
1717
|
+
function n(i, a = [], c = []) {
|
|
1718
|
+
Object.entries(i).forEach(([l, f]) => {
|
|
1719
|
+
(!t || t && !t([...a, l])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...a, l], Array.isArray(f) ? [...c, l] : c) : r([...a, l], f, c));
|
|
1763
1720
|
});
|
|
1764
1721
|
}
|
|
1765
|
-
|
|
1766
|
-
}, pn = (e, r) => typeof r == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((
|
|
1722
|
+
n(e);
|
|
1723
|
+
}, pn = (e, r) => typeof r == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? r : `${r}px` : r;
|
|
1767
1724
|
function rr(e, r) {
|
|
1768
1725
|
const {
|
|
1769
1726
|
prefix: t,
|
|
1770
|
-
shouldSkipGeneratingVar:
|
|
1771
|
-
} = r || {},
|
|
1727
|
+
shouldSkipGeneratingVar: n
|
|
1728
|
+
} = r || {}, i = {}, a = {}, c = {};
|
|
1772
1729
|
return dn(
|
|
1773
1730
|
e,
|
|
1774
1731
|
(l, f, d) => {
|
|
1775
|
-
if ((typeof f == "string" || typeof f == "number") && (!
|
|
1776
|
-
const
|
|
1777
|
-
Object.assign(
|
|
1778
|
-
[
|
|
1779
|
-
}), _r(a, l, `var(${
|
|
1732
|
+
if ((typeof f == "string" || typeof f == "number") && (!n || !n(l, f))) {
|
|
1733
|
+
const h = `--${t ? `${t}-` : ""}${l.join("-")}`, p = pn(l, f);
|
|
1734
|
+
Object.assign(i, {
|
|
1735
|
+
[h]: p
|
|
1736
|
+
}), _r(a, l, `var(${h})`, d), _r(c, l, `var(${h}, ${p})`, d);
|
|
1780
1737
|
}
|
|
1781
1738
|
},
|
|
1782
1739
|
(l) => l[0] === "vars"
|
|
1783
1740
|
// skip 'vars/*' paths
|
|
1784
1741
|
), {
|
|
1785
|
-
css:
|
|
1742
|
+
css: i,
|
|
1786
1743
|
vars: a,
|
|
1787
|
-
varsWithDefaults:
|
|
1744
|
+
varsWithDefaults: c
|
|
1788
1745
|
};
|
|
1789
1746
|
}
|
|
1790
1747
|
function mn(e, r = {}) {
|
|
1791
1748
|
const {
|
|
1792
1749
|
getSelector: t = _,
|
|
1793
|
-
disableCssColorScheme:
|
|
1794
|
-
colorSchemeSelector:
|
|
1750
|
+
disableCssColorScheme: n,
|
|
1751
|
+
colorSchemeSelector: i,
|
|
1795
1752
|
enableContrastVars: a
|
|
1796
1753
|
} = r, {
|
|
1797
|
-
colorSchemes:
|
|
1754
|
+
colorSchemes: c = {},
|
|
1798
1755
|
components: l,
|
|
1799
1756
|
defaultColorScheme: f = "light",
|
|
1800
1757
|
...d
|
|
1801
1758
|
} = e, {
|
|
1802
|
-
vars:
|
|
1759
|
+
vars: h,
|
|
1803
1760
|
css: p,
|
|
1804
1761
|
varsWithDefaults: m
|
|
1805
1762
|
} = rr(d, r);
|
|
1806
|
-
let
|
|
1763
|
+
let v = m;
|
|
1807
1764
|
const b = {}, {
|
|
1808
|
-
[f]:
|
|
1765
|
+
[f]: s,
|
|
1809
1766
|
...C
|
|
1810
|
-
} =
|
|
1811
|
-
if (Object.entries(C || {}).forEach(([$,
|
|
1767
|
+
} = c;
|
|
1768
|
+
if (Object.entries(C || {}).forEach(([$, y]) => {
|
|
1812
1769
|
const {
|
|
1813
1770
|
vars: O,
|
|
1814
|
-
css:
|
|
1815
|
-
varsWithDefaults:
|
|
1816
|
-
} = rr(
|
|
1817
|
-
|
|
1818
|
-
css:
|
|
1771
|
+
css: ae,
|
|
1772
|
+
varsWithDefaults: ue
|
|
1773
|
+
} = rr(y, r);
|
|
1774
|
+
v = te(v, ue), b[$] = {
|
|
1775
|
+
css: ae,
|
|
1819
1776
|
vars: O
|
|
1820
1777
|
};
|
|
1821
|
-
}),
|
|
1778
|
+
}), s) {
|
|
1822
1779
|
const {
|
|
1823
1780
|
css: $,
|
|
1824
|
-
vars:
|
|
1781
|
+
vars: y,
|
|
1825
1782
|
varsWithDefaults: O
|
|
1826
|
-
} = rr(
|
|
1827
|
-
|
|
1783
|
+
} = rr(s, r);
|
|
1784
|
+
v = te(v, O), b[f] = {
|
|
1828
1785
|
css: $,
|
|
1829
|
-
vars:
|
|
1786
|
+
vars: y
|
|
1830
1787
|
};
|
|
1831
1788
|
}
|
|
1832
|
-
function _($,
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
if (n === "class" && (O = ".%s"), n === "data" && (O = "[data-%s]"), n != null && n.startsWith("data-") && !n.includes("%s") && (O = `[${n}="%s"]`), $) {
|
|
1789
|
+
function _($, y) {
|
|
1790
|
+
let O = i;
|
|
1791
|
+
if (i === "class" && (O = ".%s"), i === "data" && (O = "[data-%s]"), i?.startsWith("data-") && !i.includes("%s") && (O = `[${i}="%s"]`), $) {
|
|
1836
1792
|
if (O === "media")
|
|
1837
1793
|
return e.defaultColorScheme === $ ? ":root" : {
|
|
1838
|
-
[`@media (prefers-color-scheme: ${
|
|
1839
|
-
":root":
|
|
1794
|
+
[`@media (prefers-color-scheme: ${c[$]?.palette?.mode || $})`]: {
|
|
1795
|
+
":root": y
|
|
1840
1796
|
}
|
|
1841
1797
|
};
|
|
1842
1798
|
if (O)
|
|
@@ -1845,60 +1801,58 @@ function mn(e, r = {}) {
|
|
|
1845
1801
|
return ":root";
|
|
1846
1802
|
}
|
|
1847
1803
|
return {
|
|
1848
|
-
vars:
|
|
1804
|
+
vars: v,
|
|
1849
1805
|
generateThemeVars: () => {
|
|
1850
1806
|
let $ = {
|
|
1851
|
-
...
|
|
1807
|
+
...h
|
|
1852
1808
|
};
|
|
1853
1809
|
return Object.entries(b).forEach(([, {
|
|
1854
|
-
vars:
|
|
1810
|
+
vars: y
|
|
1855
1811
|
}]) => {
|
|
1856
|
-
$ =
|
|
1812
|
+
$ = te($, y);
|
|
1857
1813
|
}), $;
|
|
1858
1814
|
},
|
|
1859
1815
|
generateStyleSheets: () => {
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
...o
|
|
1816
|
+
const $ = [], y = e.defaultColorScheme || "light";
|
|
1817
|
+
function O(J, Z) {
|
|
1818
|
+
Object.keys(Z).length && $.push(typeof J == "string" ? {
|
|
1819
|
+
[J]: {
|
|
1820
|
+
...Z
|
|
1866
1821
|
}
|
|
1867
|
-
} :
|
|
1822
|
+
} : J);
|
|
1868
1823
|
}
|
|
1869
1824
|
O(t(void 0, {
|
|
1870
1825
|
...p
|
|
1871
1826
|
}), p);
|
|
1872
1827
|
const {
|
|
1873
|
-
[
|
|
1874
|
-
...
|
|
1828
|
+
[y]: ae,
|
|
1829
|
+
...ue
|
|
1875
1830
|
} = b;
|
|
1876
|
-
if (
|
|
1831
|
+
if (ae) {
|
|
1877
1832
|
const {
|
|
1878
|
-
css:
|
|
1879
|
-
} =
|
|
1880
|
-
colorScheme:
|
|
1881
|
-
...
|
|
1833
|
+
css: J
|
|
1834
|
+
} = ae, Z = c[y]?.palette?.mode, X = !n && Z ? {
|
|
1835
|
+
colorScheme: Z,
|
|
1836
|
+
...J
|
|
1882
1837
|
} : {
|
|
1883
|
-
...
|
|
1838
|
+
...J
|
|
1884
1839
|
};
|
|
1885
|
-
O(t(
|
|
1886
|
-
...
|
|
1887
|
-
}),
|
|
1840
|
+
O(t(y, {
|
|
1841
|
+
...X
|
|
1842
|
+
}), X);
|
|
1888
1843
|
}
|
|
1889
|
-
return Object.entries(
|
|
1890
|
-
css:
|
|
1844
|
+
return Object.entries(ue).forEach(([J, {
|
|
1845
|
+
css: Z
|
|
1891
1846
|
}]) => {
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
...o
|
|
1847
|
+
const X = c[J]?.palette?.mode, o = !n && X ? {
|
|
1848
|
+
colorScheme: X,
|
|
1849
|
+
...Z
|
|
1896
1850
|
} : {
|
|
1897
|
-
...
|
|
1851
|
+
...Z
|
|
1898
1852
|
};
|
|
1899
|
-
O(t(
|
|
1900
|
-
...
|
|
1901
|
-
}),
|
|
1853
|
+
O(t(J, {
|
|
1854
|
+
...o
|
|
1855
|
+
}), o);
|
|
1902
1856
|
}), a && $.push({
|
|
1903
1857
|
":root": {
|
|
1904
1858
|
// use double underscore to indicate that these are private variables
|
|
@@ -1919,7 +1873,7 @@ function gn(e) {
|
|
|
1919
1873
|
const _e = {
|
|
1920
1874
|
black: "#000",
|
|
1921
1875
|
white: "#fff"
|
|
1922
|
-
},
|
|
1876
|
+
}, hn = {
|
|
1923
1877
|
50: "#fafafa",
|
|
1924
1878
|
100: "#f5f5f5",
|
|
1925
1879
|
200: "#eeeeee",
|
|
@@ -1934,14 +1888,14 @@ const _e = {
|
|
|
1934
1888
|
A200: "#eeeeee",
|
|
1935
1889
|
A400: "#bdbdbd",
|
|
1936
1890
|
A700: "#616161"
|
|
1937
|
-
},
|
|
1891
|
+
}, he = {
|
|
1938
1892
|
50: "#f3e5f5",
|
|
1939
1893
|
200: "#ce93d8",
|
|
1940
1894
|
300: "#ba68c8",
|
|
1941
1895
|
400: "#ab47bc",
|
|
1942
1896
|
500: "#9c27b0",
|
|
1943
1897
|
700: "#7b1fa2"
|
|
1944
|
-
},
|
|
1898
|
+
}, ye = {
|
|
1945
1899
|
300: "#e57373",
|
|
1946
1900
|
400: "#ef5350",
|
|
1947
1901
|
500: "#f44336",
|
|
@@ -2043,15 +1997,15 @@ function Hr() {
|
|
|
2043
1997
|
};
|
|
2044
1998
|
}
|
|
2045
1999
|
const or = Hr();
|
|
2046
|
-
function Ar(e, r, t,
|
|
2047
|
-
const
|
|
2048
|
-
e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = Mr(e.main,
|
|
2000
|
+
function Ar(e, r, t, n) {
|
|
2001
|
+
const i = n.light || n, a = n.dark || n * 1.5;
|
|
2002
|
+
e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = Mr(e.main, i) : r === "dark" && (e.dark = jr(e.main, a)));
|
|
2049
2003
|
}
|
|
2050
|
-
function Rr(e, r, t,
|
|
2051
|
-
const a =
|
|
2052
|
-
r[t] || (r.hasOwnProperty(
|
|
2004
|
+
function Rr(e, r, t, n, i) {
|
|
2005
|
+
const a = i.light || i, c = i.dark || i * 1.5;
|
|
2006
|
+
r[t] || (r.hasOwnProperty(n) ? r[t] = r[n] : t === "light" ? r.light = `color-mix(in ${e}, ${r.main}, #fff ${(a * 100).toFixed(0)}%)` : t === "dark" && (r.dark = `color-mix(in ${e}, ${r.main}, #000 ${(c * 100).toFixed(0)}%)`));
|
|
2053
2007
|
}
|
|
2054
|
-
function
|
|
2008
|
+
function yn(e = "light") {
|
|
2055
2009
|
return e === "dark" ? {
|
|
2056
2010
|
main: be[200],
|
|
2057
2011
|
light: be[50],
|
|
@@ -2064,24 +2018,24 @@ function hn(e = "light") {
|
|
|
2064
2018
|
}
|
|
2065
2019
|
function bn(e = "light") {
|
|
2066
2020
|
return e === "dark" ? {
|
|
2067
|
-
main:
|
|
2068
|
-
light:
|
|
2069
|
-
dark:
|
|
2021
|
+
main: he[200],
|
|
2022
|
+
light: he[50],
|
|
2023
|
+
dark: he[400]
|
|
2070
2024
|
} : {
|
|
2071
|
-
main:
|
|
2072
|
-
light:
|
|
2073
|
-
dark:
|
|
2025
|
+
main: he[500],
|
|
2026
|
+
light: he[300],
|
|
2027
|
+
dark: he[700]
|
|
2074
2028
|
};
|
|
2075
2029
|
}
|
|
2076
2030
|
function vn(e = "light") {
|
|
2077
2031
|
return e === "dark" ? {
|
|
2078
|
-
main:
|
|
2079
|
-
light:
|
|
2080
|
-
dark:
|
|
2032
|
+
main: ye[500],
|
|
2033
|
+
light: ye[300],
|
|
2034
|
+
dark: ye[700]
|
|
2081
2035
|
} : {
|
|
2082
|
-
main:
|
|
2083
|
-
light:
|
|
2084
|
-
dark:
|
|
2036
|
+
main: ye[700],
|
|
2037
|
+
light: ye[400],
|
|
2038
|
+
dark: ye[800]
|
|
2085
2039
|
};
|
|
2086
2040
|
}
|
|
2087
2041
|
function Sn(e = "light") {
|
|
@@ -2125,33 +2079,33 @@ function lr(e) {
|
|
|
2125
2079
|
const {
|
|
2126
2080
|
mode: r = "light",
|
|
2127
2081
|
contrastThreshold: t = 3,
|
|
2128
|
-
tonalOffset:
|
|
2129
|
-
colorSpace:
|
|
2082
|
+
tonalOffset: n = 0.2,
|
|
2083
|
+
colorSpace: i,
|
|
2130
2084
|
...a
|
|
2131
|
-
} = e,
|
|
2085
|
+
} = e, c = e.primary || yn(r), l = e.secondary || bn(r), f = e.error || vn(r), d = e.info || Sn(r), h = e.success || Cn(r), p = e.warning || Tn(r);
|
|
2132
2086
|
function m(C) {
|
|
2133
|
-
if (
|
|
2087
|
+
if (i)
|
|
2134
2088
|
return En(C);
|
|
2135
2089
|
const _ = fr(C, or.text.primary) >= t ? or.text.primary : Kr.text.primary;
|
|
2136
2090
|
if (process.env.NODE_ENV !== "production") {
|
|
2137
|
-
const
|
|
2138
|
-
|
|
2091
|
+
const D = fr(C, _);
|
|
2092
|
+
D < 3 && console.error([`MUI: The contrast ratio of ${D}:1 for ${_} on ${C}`, "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(`
|
|
2139
2093
|
`));
|
|
2140
2094
|
}
|
|
2141
2095
|
return _;
|
|
2142
2096
|
}
|
|
2143
|
-
const
|
|
2097
|
+
const v = ({
|
|
2144
2098
|
color: C,
|
|
2145
2099
|
name: _,
|
|
2146
|
-
mainShade:
|
|
2147
|
-
lightShade:
|
|
2100
|
+
mainShade: D = 500,
|
|
2101
|
+
lightShade: M = 300,
|
|
2148
2102
|
darkShade: $ = 700
|
|
2149
2103
|
}) => {
|
|
2150
2104
|
if (C = {
|
|
2151
2105
|
...C
|
|
2152
|
-
}, !C.main && C[
|
|
2106
|
+
}, !C.main && C[D] && (C.main = C[D]), !C.hasOwnProperty("main"))
|
|
2153
2107
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${_ ? ` (${_})` : ""} provided to augmentColor(color) is invalid.
|
|
2154
|
-
The color object needs to have a \`main\` property or a \`${
|
|
2108
|
+
The color object needs to have a \`main\` property or a \`${D}\` property.` : Te(11, _ ? ` (${_})` : "", D));
|
|
2155
2109
|
if (typeof C.main != "string")
|
|
2156
2110
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${_ ? ` (${_})` : ""} provided to augmentColor(color) is invalid.
|
|
2157
2111
|
\`color.main\` should be a string, but \`${JSON.stringify(C.main)}\` was provided instead.
|
|
@@ -2167,10 +2121,10 @@ const theme1 = createTheme({ palette: {
|
|
|
2167
2121
|
const theme2 = createTheme({ palette: {
|
|
2168
2122
|
primary: { main: green[500] },
|
|
2169
2123
|
} });` : Te(12, _ ? ` (${_})` : "", JSON.stringify(C.main)));
|
|
2170
|
-
return
|
|
2124
|
+
return i ? (Rr(i, C, "light", M, n), Rr(i, C, "dark", $, n)) : (Ar(C, "light", M, n), Ar(C, "dark", $, n)), C.contrastText || (C.contrastText = m(C.main)), C;
|
|
2171
2125
|
};
|
|
2172
2126
|
let b;
|
|
2173
|
-
return r === "light" ? b = Gr() : r === "dark" && (b = Hr()), process.env.NODE_ENV !== "production" && (b || console.error(`MUI: The palette mode \`${r}\` is not supported.`)),
|
|
2127
|
+
return r === "light" ? b = Gr() : r === "dark" && (b = Hr()), process.env.NODE_ENV !== "production" && (b || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), te({
|
|
2174
2128
|
// A collection of common colors.
|
|
2175
2129
|
common: {
|
|
2176
2130
|
..._e
|
|
@@ -2179,12 +2133,12 @@ const theme2 = createTheme({ palette: {
|
|
|
2179
2133
|
// The palette mode, can be light or dark.
|
|
2180
2134
|
mode: r,
|
|
2181
2135
|
// The colors used to represent primary interface elements for a user.
|
|
2182
|
-
primary:
|
|
2183
|
-
color:
|
|
2136
|
+
primary: v({
|
|
2137
|
+
color: c,
|
|
2184
2138
|
name: "primary"
|
|
2185
2139
|
}),
|
|
2186
2140
|
// The colors used to represent secondary interface elements for a user.
|
|
2187
|
-
secondary:
|
|
2141
|
+
secondary: v({
|
|
2188
2142
|
color: l,
|
|
2189
2143
|
name: "secondary",
|
|
2190
2144
|
mainShade: "A400",
|
|
@@ -2192,47 +2146,47 @@ const theme2 = createTheme({ palette: {
|
|
|
2192
2146
|
darkShade: "A700"
|
|
2193
2147
|
}),
|
|
2194
2148
|
// The colors used to represent interface elements that the user should be made aware of.
|
|
2195
|
-
error:
|
|
2149
|
+
error: v({
|
|
2196
2150
|
color: f,
|
|
2197
2151
|
name: "error"
|
|
2198
2152
|
}),
|
|
2199
2153
|
// The colors used to represent potentially dangerous actions or important messages.
|
|
2200
|
-
warning:
|
|
2154
|
+
warning: v({
|
|
2201
2155
|
color: p,
|
|
2202
2156
|
name: "warning"
|
|
2203
2157
|
}),
|
|
2204
2158
|
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
2205
|
-
info:
|
|
2159
|
+
info: v({
|
|
2206
2160
|
color: d,
|
|
2207
2161
|
name: "info"
|
|
2208
2162
|
}),
|
|
2209
2163
|
// The colors used to indicate the successful completion of an action that user triggered.
|
|
2210
|
-
success:
|
|
2211
|
-
color:
|
|
2164
|
+
success: v({
|
|
2165
|
+
color: h,
|
|
2212
2166
|
name: "success"
|
|
2213
2167
|
}),
|
|
2214
2168
|
// The grey colors.
|
|
2215
|
-
grey:
|
|
2169
|
+
grey: hn,
|
|
2216
2170
|
// Used by `getContrastText()` to maximize the contrast between
|
|
2217
2171
|
// the background and the text.
|
|
2218
2172
|
contrastThreshold: t,
|
|
2219
2173
|
// Takes a background color and returns the text color that maximizes the contrast.
|
|
2220
2174
|
getContrastText: m,
|
|
2221
2175
|
// Generate a rich color object.
|
|
2222
|
-
augmentColor:
|
|
2176
|
+
augmentColor: v,
|
|
2223
2177
|
// Used by the functions below to shift a color's luminance by approximately
|
|
2224
2178
|
// two indexes within its tonal palette.
|
|
2225
2179
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
2226
|
-
tonalOffset:
|
|
2180
|
+
tonalOffset: n,
|
|
2227
2181
|
// The light and dark mode object.
|
|
2228
2182
|
...b
|
|
2229
2183
|
}, a);
|
|
2230
2184
|
}
|
|
2231
2185
|
function $n(e) {
|
|
2232
2186
|
const r = {};
|
|
2233
|
-
return Object.entries(e).forEach((
|
|
2234
|
-
const [
|
|
2235
|
-
typeof a == "object" && (r[
|
|
2187
|
+
return Object.entries(e).forEach((n) => {
|
|
2188
|
+
const [i, a] = n;
|
|
2189
|
+
typeof a == "object" && (r[i] = `${a.fontStyle ? `${a.fontStyle} ` : ""}${a.fontVariant ? `${a.fontVariant} ` : ""}${a.fontWeight ? `${a.fontWeight} ` : ""}${a.fontStretch ? `${a.fontStretch} ` : ""}${a.fontSize || ""}${a.lineHeight ? `/${a.lineHeight} ` : ""}${a.fontFamily || ""}`);
|
|
2236
2190
|
}), r;
|
|
2237
2191
|
}
|
|
2238
2192
|
function xn(e, r) {
|
|
@@ -2261,46 +2215,46 @@ function wn(e, r) {
|
|
|
2261
2215
|
const {
|
|
2262
2216
|
fontFamily: t = kr,
|
|
2263
2217
|
// The default font size of the Material Specification.
|
|
2264
|
-
fontSize:
|
|
2218
|
+
fontSize: n = 14,
|
|
2265
2219
|
// px
|
|
2266
|
-
fontWeightLight:
|
|
2220
|
+
fontWeightLight: i = 300,
|
|
2267
2221
|
fontWeightRegular: a = 400,
|
|
2268
|
-
fontWeightMedium:
|
|
2222
|
+
fontWeightMedium: c = 500,
|
|
2269
2223
|
fontWeightBold: l = 700,
|
|
2270
2224
|
// Tell MUI what's the font-size on the html element.
|
|
2271
2225
|
// 16px is the default font-size used by browsers.
|
|
2272
2226
|
htmlFontSize: f = 16,
|
|
2273
2227
|
// Apply the CSS properties to all the variants.
|
|
2274
2228
|
allVariants: d,
|
|
2275
|
-
pxToRem:
|
|
2229
|
+
pxToRem: h,
|
|
2276
2230
|
...p
|
|
2277
2231
|
} = typeof r == "function" ? r(e) : r;
|
|
2278
|
-
process.env.NODE_ENV !== "production" && (typeof
|
|
2279
|
-
const m =
|
|
2232
|
+
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2233
|
+
const m = n / 14, v = h || ((C) => `${C / f * m}rem`), b = (C, _, D, M, $) => ({
|
|
2280
2234
|
fontFamily: t,
|
|
2281
2235
|
fontWeight: C,
|
|
2282
|
-
fontSize:
|
|
2236
|
+
fontSize: v(_),
|
|
2283
2237
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2284
|
-
lineHeight:
|
|
2238
|
+
lineHeight: D,
|
|
2285
2239
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
2286
2240
|
// across font-families can cause issues with the kerning.
|
|
2287
2241
|
...t === kr ? {
|
|
2288
|
-
letterSpacing: `${On(
|
|
2242
|
+
letterSpacing: `${On(M / _)}em`
|
|
2289
2243
|
} : {},
|
|
2290
2244
|
...$,
|
|
2291
2245
|
...d
|
|
2292
|
-
}),
|
|
2293
|
-
h1: b(
|
|
2294
|
-
h2: b(
|
|
2246
|
+
}), s = {
|
|
2247
|
+
h1: b(i, 96, 1.167, -1.5),
|
|
2248
|
+
h2: b(i, 60, 1.2, -0.5),
|
|
2295
2249
|
h3: b(a, 48, 1.167, 0),
|
|
2296
2250
|
h4: b(a, 34, 1.235, 0.25),
|
|
2297
2251
|
h5: b(a, 24, 1.334, 0),
|
|
2298
|
-
h6: b(
|
|
2252
|
+
h6: b(c, 20, 1.6, 0.15),
|
|
2299
2253
|
subtitle1: b(a, 16, 1.75, 0.15),
|
|
2300
|
-
subtitle2: b(
|
|
2254
|
+
subtitle2: b(c, 14, 1.57, 0.1),
|
|
2301
2255
|
body1: b(a, 16, 1.5, 0.15),
|
|
2302
2256
|
body2: b(a, 14, 1.43, 0.15),
|
|
2303
|
-
button: b(
|
|
2257
|
+
button: b(c, 14, 1.75, 0.4, Pr),
|
|
2304
2258
|
caption: b(a, 12, 1.66, 0.4),
|
|
2305
2259
|
overline: b(a, 12, 2.66, 1, Pr),
|
|
2306
2260
|
// 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.
|
|
@@ -2312,16 +2266,16 @@ function wn(e, r) {
|
|
|
2312
2266
|
letterSpacing: "inherit"
|
|
2313
2267
|
}
|
|
2314
2268
|
};
|
|
2315
|
-
return
|
|
2269
|
+
return te({
|
|
2316
2270
|
htmlFontSize: f,
|
|
2317
|
-
pxToRem:
|
|
2271
|
+
pxToRem: v,
|
|
2318
2272
|
fontFamily: t,
|
|
2319
|
-
fontSize:
|
|
2320
|
-
fontWeightLight:
|
|
2273
|
+
fontSize: n,
|
|
2274
|
+
fontWeightLight: i,
|
|
2321
2275
|
fontWeightRegular: a,
|
|
2322
|
-
fontWeightMedium:
|
|
2276
|
+
fontWeightMedium: c,
|
|
2323
2277
|
fontWeightBold: l,
|
|
2324
|
-
...
|
|
2278
|
+
...s
|
|
2325
2279
|
}, p, {
|
|
2326
2280
|
clone: !1
|
|
2327
2281
|
// No need to clone deep
|
|
@@ -2373,19 +2327,19 @@ function Nn(e) {
|
|
|
2373
2327
|
};
|
|
2374
2328
|
return {
|
|
2375
2329
|
getAutoHeightDuration: Bn,
|
|
2376
|
-
create: (
|
|
2330
|
+
create: (i = ["all"], a = {}) => {
|
|
2377
2331
|
const {
|
|
2378
|
-
duration:
|
|
2332
|
+
duration: c = t.standard,
|
|
2379
2333
|
easing: l = r.easeInOut,
|
|
2380
2334
|
delay: f = 0,
|
|
2381
2335
|
...d
|
|
2382
2336
|
} = a;
|
|
2383
2337
|
if (process.env.NODE_ENV !== "production") {
|
|
2384
|
-
const
|
|
2385
|
-
!
|
|
2338
|
+
const h = (m) => typeof m == "string", p = (m) => !Number.isNaN(parseFloat(m));
|
|
2339
|
+
!h(i) && !Array.isArray(i) && console.error('MUI: Argument "props" must be a string or Array.'), !p(c) && !h(c) && console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`), h(l) || console.error('MUI: Argument "easing" must be a string.'), !p(f) && !h(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "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(`
|
|
2386
2340
|
`)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
|
|
2387
2341
|
}
|
|
2388
|
-
return (Array.isArray(
|
|
2342
|
+
return (Array.isArray(i) ? i : [i]).map((h) => `${h} ${typeof c == "string" ? c : Ir(c)} ${l} ${typeof f == "string" ? f : Ir(f)}`).join(",");
|
|
2389
2343
|
},
|
|
2390
2344
|
...e,
|
|
2391
2345
|
easing: r,
|
|
@@ -2409,13 +2363,13 @@ function Qr(e = {}) {
|
|
|
2409
2363
|
const r = {
|
|
2410
2364
|
...e
|
|
2411
2365
|
};
|
|
2412
|
-
function t(
|
|
2413
|
-
const
|
|
2414
|
-
for (let a = 0; a <
|
|
2415
|
-
const [
|
|
2416
|
-
!Mn(l) ||
|
|
2366
|
+
function t(n) {
|
|
2367
|
+
const i = Object.entries(n);
|
|
2368
|
+
for (let a = 0; a < i.length; a++) {
|
|
2369
|
+
const [c, l] = i[a];
|
|
2370
|
+
!Mn(l) || c.startsWith("unstable_") ? delete n[c] : pe(l) && (n[c] = {
|
|
2417
2371
|
...l
|
|
2418
|
-
}, t(
|
|
2372
|
+
}, t(n[c]));
|
|
2419
2373
|
}
|
|
2420
2374
|
}
|
|
2421
2375
|
return t(r), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
@@ -2437,37 +2391,37 @@ const jn = (e) => {
|
|
|
2437
2391
|
if (!r)
|
|
2438
2392
|
return 0;
|
|
2439
2393
|
let t = 0;
|
|
2440
|
-
for (let
|
|
2441
|
-
t += +r[
|
|
2394
|
+
for (let n = 0; n < r.length; n += 1)
|
|
2395
|
+
t += +r[n];
|
|
2442
2396
|
return t;
|
|
2443
2397
|
};
|
|
2444
2398
|
function Ln(e) {
|
|
2445
2399
|
Object.assign(e, {
|
|
2446
2400
|
alpha(r, t) {
|
|
2447
|
-
const
|
|
2448
|
-
return
|
|
2401
|
+
const n = this || e;
|
|
2402
|
+
return n.colorSpace ? `oklch(from ${r} l c h / ${typeof t == "string" ? `calc(${t})` : t})` : n.vars ? `rgba(${r.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof t == "string" ? `calc(${t})` : t})` : et(r, jn(t));
|
|
2449
2403
|
},
|
|
2450
2404
|
lighten(r, t) {
|
|
2451
|
-
const
|
|
2452
|
-
return
|
|
2405
|
+
const n = this || e;
|
|
2406
|
+
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #fff ${Br(t)})` : Mr(r, t);
|
|
2453
2407
|
},
|
|
2454
2408
|
darken(r, t) {
|
|
2455
|
-
const
|
|
2456
|
-
return
|
|
2409
|
+
const n = this || e;
|
|
2410
|
+
return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #000 ${Br(t)})` : jr(r, t);
|
|
2457
2411
|
}
|
|
2458
2412
|
});
|
|
2459
2413
|
}
|
|
2460
2414
|
function ir(e = {}, ...r) {
|
|
2461
2415
|
const {
|
|
2462
2416
|
breakpoints: t,
|
|
2463
|
-
mixins:
|
|
2464
|
-
spacing:
|
|
2417
|
+
mixins: n = {},
|
|
2418
|
+
spacing: i,
|
|
2465
2419
|
palette: a = {},
|
|
2466
|
-
transitions:
|
|
2420
|
+
transitions: c = {},
|
|
2467
2421
|
typography: l = {},
|
|
2468
2422
|
shape: f,
|
|
2469
2423
|
colorSpace: d,
|
|
2470
|
-
...
|
|
2424
|
+
...h
|
|
2471
2425
|
} = e;
|
|
2472
2426
|
if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
|
|
2473
2427
|
// `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.
|
|
@@ -2477,50 +2431,50 @@ function ir(e = {}, ...r) {
|
|
|
2477
2431
|
...a,
|
|
2478
2432
|
colorSpace: d
|
|
2479
2433
|
}), m = un(e);
|
|
2480
|
-
let
|
|
2481
|
-
mixins: xn(m.breakpoints,
|
|
2434
|
+
let v = te(m, {
|
|
2435
|
+
mixins: xn(m.breakpoints, n),
|
|
2482
2436
|
palette: p,
|
|
2483
2437
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2484
2438
|
shadows: Pn.slice(),
|
|
2485
2439
|
typography: wn(p, l),
|
|
2486
|
-
transitions: Nn(
|
|
2440
|
+
transitions: Nn(c),
|
|
2487
2441
|
zIndex: {
|
|
2488
2442
|
...Dn
|
|
2489
2443
|
}
|
|
2490
2444
|
});
|
|
2491
|
-
if (
|
|
2492
|
-
const b = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"],
|
|
2493
|
-
let
|
|
2494
|
-
for (
|
|
2495
|
-
const
|
|
2496
|
-
if (b.includes(
|
|
2445
|
+
if (v = te(v, h), v = r.reduce((b, s) => te(b, s), v), process.env.NODE_ENV !== "production") {
|
|
2446
|
+
const b = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], s = (C, _) => {
|
|
2447
|
+
let D;
|
|
2448
|
+
for (D in C) {
|
|
2449
|
+
const M = C[D];
|
|
2450
|
+
if (b.includes(D) && Object.keys(M).length > 0) {
|
|
2497
2451
|
if (process.env.NODE_ENV !== "production") {
|
|
2498
|
-
const $ = Zr("",
|
|
2499
|
-
console.error([`MUI: The \`${_}\` component increases the CSS specificity of the \`${
|
|
2452
|
+
const $ = Zr("", D);
|
|
2453
|
+
console.error([`MUI: The \`${_}\` component increases the CSS specificity of the \`${D}\` internal state.`, "You can not override it like this: ", JSON.stringify(C, null, 2), "", `Instead, you need to use the '&.${$}' syntax:`, JSON.stringify({
|
|
2500
2454
|
root: {
|
|
2501
|
-
[`&.${$}`]:
|
|
2455
|
+
[`&.${$}`]: M
|
|
2502
2456
|
}
|
|
2503
2457
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
2504
2458
|
`));
|
|
2505
2459
|
}
|
|
2506
|
-
C[
|
|
2460
|
+
C[D] = {};
|
|
2507
2461
|
}
|
|
2508
2462
|
}
|
|
2509
2463
|
};
|
|
2510
|
-
Object.keys(
|
|
2511
|
-
const _ =
|
|
2512
|
-
_ && C.startsWith("Mui") &&
|
|
2464
|
+
Object.keys(v.components).forEach((C) => {
|
|
2465
|
+
const _ = v.components[C].styleOverrides;
|
|
2466
|
+
_ && C.startsWith("Mui") && s(_, C);
|
|
2513
2467
|
});
|
|
2514
2468
|
}
|
|
2515
|
-
return
|
|
2469
|
+
return v.unstable_sxConfig = {
|
|
2516
2470
|
...qe,
|
|
2517
|
-
...
|
|
2518
|
-
},
|
|
2471
|
+
...h?.unstable_sxConfig
|
|
2472
|
+
}, v.unstable_sx = function(s) {
|
|
2519
2473
|
return Ge({
|
|
2520
|
-
sx:
|
|
2474
|
+
sx: s,
|
|
2521
2475
|
theme: this
|
|
2522
2476
|
});
|
|
2523
|
-
},
|
|
2477
|
+
}, v.toRuntimeSource = Qr, Ln(v), v;
|
|
2524
2478
|
}
|
|
2525
2479
|
function Fn(e) {
|
|
2526
2480
|
let r;
|
|
@@ -2550,64 +2504,63 @@ function Yn(e) {
|
|
|
2550
2504
|
},
|
|
2551
2505
|
// need to cast to avoid module augmentation test
|
|
2552
2506
|
opacity: t,
|
|
2553
|
-
overlays:
|
|
2554
|
-
colorSpace:
|
|
2507
|
+
overlays: n,
|
|
2508
|
+
colorSpace: i,
|
|
2555
2509
|
...a
|
|
2556
|
-
} = e,
|
|
2510
|
+
} = e, c = lr({
|
|
2557
2511
|
...r,
|
|
2558
|
-
colorSpace:
|
|
2512
|
+
colorSpace: i
|
|
2559
2513
|
});
|
|
2560
2514
|
return {
|
|
2561
|
-
palette:
|
|
2515
|
+
palette: c,
|
|
2562
2516
|
opacity: {
|
|
2563
|
-
...Xr(
|
|
2517
|
+
...Xr(c.mode),
|
|
2564
2518
|
...t
|
|
2565
2519
|
},
|
|
2566
|
-
overlays:
|
|
2520
|
+
overlays: n || Jr(c.mode),
|
|
2567
2521
|
...a
|
|
2568
2522
|
};
|
|
2569
2523
|
}
|
|
2570
2524
|
function Vn(e) {
|
|
2571
|
-
var r;
|
|
2572
2525
|
return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
|
|
2573
|
-
e[0] === "palette" && !!
|
|
2526
|
+
e[0] === "palette" && !!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
|
|
2574
2527
|
}
|
|
2575
2528
|
const Un = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], zn = (e) => (r, t) => {
|
|
2576
|
-
const
|
|
2577
|
-
let a =
|
|
2578
|
-
if (
|
|
2529
|
+
const n = e.rootSelector || ":root", i = e.colorSchemeSelector;
|
|
2530
|
+
let a = i;
|
|
2531
|
+
if (i === "class" && (a = ".%s"), i === "data" && (a = "[data-%s]"), i?.startsWith("data-") && !i.includes("%s") && (a = `[${i}="%s"]`), e.defaultColorScheme === r) {
|
|
2579
2532
|
if (r === "dark") {
|
|
2580
|
-
const
|
|
2533
|
+
const c = {};
|
|
2581
2534
|
return Un(e.cssVarPrefix).forEach((l) => {
|
|
2582
|
-
|
|
2535
|
+
c[l] = t[l], delete t[l];
|
|
2583
2536
|
}), a === "media" ? {
|
|
2584
|
-
[
|
|
2537
|
+
[n]: t,
|
|
2585
2538
|
"@media (prefers-color-scheme: dark)": {
|
|
2586
|
-
[
|
|
2539
|
+
[n]: c
|
|
2587
2540
|
}
|
|
2588
2541
|
} : a ? {
|
|
2589
|
-
[a.replace("%s", r)]:
|
|
2590
|
-
[`${
|
|
2542
|
+
[a.replace("%s", r)]: c,
|
|
2543
|
+
[`${n}, ${a.replace("%s", r)}`]: t
|
|
2591
2544
|
} : {
|
|
2592
|
-
[
|
|
2545
|
+
[n]: {
|
|
2593
2546
|
...t,
|
|
2594
|
-
...
|
|
2547
|
+
...c
|
|
2595
2548
|
}
|
|
2596
2549
|
};
|
|
2597
2550
|
}
|
|
2598
2551
|
if (a && a !== "media")
|
|
2599
|
-
return `${
|
|
2552
|
+
return `${n}, ${a.replace("%s", String(r))}`;
|
|
2600
2553
|
} else if (r) {
|
|
2601
2554
|
if (a === "media")
|
|
2602
2555
|
return {
|
|
2603
2556
|
[`@media (prefers-color-scheme: ${String(r)})`]: {
|
|
2604
|
-
[
|
|
2557
|
+
[n]: t
|
|
2605
2558
|
}
|
|
2606
2559
|
};
|
|
2607
2560
|
if (a)
|
|
2608
2561
|
return a.replace("%s", String(r));
|
|
2609
2562
|
}
|
|
2610
|
-
return
|
|
2563
|
+
return n;
|
|
2611
2564
|
};
|
|
2612
2565
|
function qn(e, r) {
|
|
2613
2566
|
r.forEach((t) => {
|
|
@@ -2620,54 +2573,54 @@ function u(e, r, t) {
|
|
|
2620
2573
|
function Oe(e) {
|
|
2621
2574
|
return typeof e != "string" || !e.startsWith("hsl") ? e : rt(e);
|
|
2622
2575
|
}
|
|
2623
|
-
function
|
|
2576
|
+
function fe(e, r) {
|
|
2624
2577
|
`${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().
|
|
2625
2578
|
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.`));
|
|
2626
2579
|
}
|
|
2627
2580
|
function Gn(e) {
|
|
2628
2581
|
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
2629
2582
|
}
|
|
2630
|
-
const
|
|
2583
|
+
const le = (e) => {
|
|
2631
2584
|
try {
|
|
2632
2585
|
return e();
|
|
2633
2586
|
} catch {
|
|
2634
2587
|
}
|
|
2635
2588
|
}, Kn = (e = "mui") => fn(e);
|
|
2636
|
-
function tr(e, r, t,
|
|
2589
|
+
function tr(e, r, t, n, i) {
|
|
2637
2590
|
if (!t)
|
|
2638
2591
|
return;
|
|
2639
2592
|
t = t === !0 ? {} : t;
|
|
2640
|
-
const a =
|
|
2641
|
-
if (!
|
|
2642
|
-
r[
|
|
2593
|
+
const a = i === "dark" ? "dark" : "light";
|
|
2594
|
+
if (!n) {
|
|
2595
|
+
r[i] = Yn({
|
|
2643
2596
|
...t,
|
|
2644
2597
|
palette: {
|
|
2645
2598
|
mode: a,
|
|
2646
|
-
...t
|
|
2599
|
+
...t?.palette
|
|
2647
2600
|
},
|
|
2648
2601
|
colorSpace: e
|
|
2649
2602
|
});
|
|
2650
2603
|
return;
|
|
2651
2604
|
}
|
|
2652
2605
|
const {
|
|
2653
|
-
palette:
|
|
2606
|
+
palette: c,
|
|
2654
2607
|
...l
|
|
2655
2608
|
} = ir({
|
|
2656
|
-
...
|
|
2609
|
+
...n,
|
|
2657
2610
|
palette: {
|
|
2658
2611
|
mode: a,
|
|
2659
|
-
...t
|
|
2612
|
+
...t?.palette
|
|
2660
2613
|
},
|
|
2661
2614
|
colorSpace: e
|
|
2662
2615
|
});
|
|
2663
|
-
return r[
|
|
2616
|
+
return r[i] = {
|
|
2664
2617
|
...t,
|
|
2665
|
-
palette:
|
|
2618
|
+
palette: c,
|
|
2666
2619
|
opacity: {
|
|
2667
2620
|
...Xr(a),
|
|
2668
|
-
...t
|
|
2621
|
+
...t?.opacity
|
|
2669
2622
|
},
|
|
2670
|
-
overlays:
|
|
2623
|
+
overlays: t?.overlays || Jr(a)
|
|
2671
2624
|
}, l;
|
|
2672
2625
|
}
|
|
2673
2626
|
function Hn(e = {}, ...r) {
|
|
@@ -2675,89 +2628,89 @@ function Hn(e = {}, ...r) {
|
|
|
2675
2628
|
colorSchemes: t = {
|
|
2676
2629
|
light: !0
|
|
2677
2630
|
},
|
|
2678
|
-
defaultColorScheme:
|
|
2679
|
-
disableCssColorScheme:
|
|
2631
|
+
defaultColorScheme: n,
|
|
2632
|
+
disableCssColorScheme: i = !1,
|
|
2680
2633
|
cssVarPrefix: a = "mui",
|
|
2681
|
-
nativeColor:
|
|
2634
|
+
nativeColor: c = !1,
|
|
2682
2635
|
shouldSkipGeneratingVar: l = Vn,
|
|
2683
2636
|
colorSchemeSelector: f = t.light && t.dark ? "media" : void 0,
|
|
2684
2637
|
rootSelector: d = ":root",
|
|
2685
|
-
...
|
|
2686
|
-
} = e, p = Object.keys(t)[0], m =
|
|
2638
|
+
...h
|
|
2639
|
+
} = e, p = Object.keys(t)[0], m = n || (t.light && p !== "light" ? "light" : p), v = Kn(a), {
|
|
2687
2640
|
[m]: b,
|
|
2688
|
-
light:
|
|
2641
|
+
light: s,
|
|
2689
2642
|
dark: C,
|
|
2690
2643
|
..._
|
|
2691
|
-
} = t,
|
|
2644
|
+
} = t, D = {
|
|
2692
2645
|
..._
|
|
2693
2646
|
};
|
|
2694
|
-
let
|
|
2695
|
-
if ((m === "dark" && !("dark" in t) || m === "light" && !("light" in t)) && (
|
|
2647
|
+
let M = b;
|
|
2648
|
+
if ((m === "dark" && !("dark" in t) || m === "light" && !("light" in t)) && (M = !0), !M)
|
|
2696
2649
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${m}\` option is either missing or invalid.` : Te(21, m));
|
|
2697
2650
|
let $;
|
|
2698
|
-
|
|
2699
|
-
const
|
|
2700
|
-
|
|
2651
|
+
c && ($ = "oklch");
|
|
2652
|
+
const y = tr($, D, M, h, m);
|
|
2653
|
+
s && !D.light && tr($, D, s, void 0, "light"), C && !D.dark && tr($, D, C, void 0, "dark");
|
|
2701
2654
|
let O = {
|
|
2702
2655
|
defaultColorScheme: m,
|
|
2703
|
-
...
|
|
2656
|
+
...y,
|
|
2704
2657
|
cssVarPrefix: a,
|
|
2705
2658
|
colorSchemeSelector: f,
|
|
2706
2659
|
rootSelector: d,
|
|
2707
|
-
getCssVar:
|
|
2708
|
-
colorSchemes:
|
|
2660
|
+
getCssVar: v,
|
|
2661
|
+
colorSchemes: D,
|
|
2709
2662
|
font: {
|
|
2710
|
-
...$n(
|
|
2711
|
-
...
|
|
2663
|
+
...$n(y.typography),
|
|
2664
|
+
...y.font
|
|
2712
2665
|
},
|
|
2713
|
-
spacing: Gn(
|
|
2666
|
+
spacing: Gn(h.spacing)
|
|
2714
2667
|
};
|
|
2715
|
-
Object.keys(O.colorSchemes).forEach((
|
|
2716
|
-
const o = O.colorSchemes[
|
|
2717
|
-
const
|
|
2718
|
-
return
|
|
2668
|
+
Object.keys(O.colorSchemes).forEach((X) => {
|
|
2669
|
+
const o = O.colorSchemes[X].palette, x = (j) => {
|
|
2670
|
+
const W = j.split("-"), ee = W[1], se = W[2];
|
|
2671
|
+
return v(j, o[ee][se]);
|
|
2719
2672
|
};
|
|
2720
2673
|
o.mode === "light" && (u(o.common, "background", "#fff"), u(o.common, "onBackground", "#000")), o.mode === "dark" && (u(o.common, "background", "#000"), u(o.common, "onBackground", "#fff"));
|
|
2721
|
-
function
|
|
2674
|
+
function S(j, W, ee) {
|
|
2722
2675
|
if ($) {
|
|
2723
|
-
let
|
|
2724
|
-
return
|
|
2676
|
+
let se;
|
|
2677
|
+
return j === ge && (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})`;
|
|
2725
2678
|
}
|
|
2726
|
-
return
|
|
2679
|
+
return j(W, ee);
|
|
2727
2680
|
}
|
|
2728
2681
|
if (qn(o, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), o.mode === "light") {
|
|
2729
|
-
u(o.Alert, "errorColor",
|
|
2730
|
-
const
|
|
2731
|
-
u(o.SnackbarContent, "bg",
|
|
2682
|
+
u(o.Alert, "errorColor", S(V, o.error.light, 0.6)), u(o.Alert, "infoColor", S(V, o.info.light, 0.6)), u(o.Alert, "successColor", S(V, o.success.light, 0.6)), u(o.Alert, "warningColor", S(V, o.warning.light, 0.6)), u(o.Alert, "errorFilledBg", x("palette-error-main")), u(o.Alert, "infoFilledBg", x("palette-info-main")), u(o.Alert, "successFilledBg", x("palette-success-main")), u(o.Alert, "warningFilledBg", x("palette-warning-main")), u(o.Alert, "errorFilledColor", le(() => o.getContrastText(o.error.main))), u(o.Alert, "infoFilledColor", le(() => o.getContrastText(o.info.main))), u(o.Alert, "successFilledColor", le(() => o.getContrastText(o.success.main))), u(o.Alert, "warningFilledColor", le(() => o.getContrastText(o.warning.main))), u(o.Alert, "errorStandardBg", S(U, o.error.light, 0.9)), u(o.Alert, "infoStandardBg", S(U, o.info.light, 0.9)), u(o.Alert, "successStandardBg", S(U, o.success.light, 0.9)), u(o.Alert, "warningStandardBg", S(U, o.warning.light, 0.9)), u(o.Alert, "errorIconColor", x("palette-error-main")), u(o.Alert, "infoIconColor", x("palette-info-main")), u(o.Alert, "successIconColor", x("palette-success-main")), u(o.Alert, "warningIconColor", x("palette-warning-main")), u(o.AppBar, "defaultBg", x("palette-grey-100")), u(o.Avatar, "defaultBg", x("palette-grey-400")), u(o.Button, "inheritContainedBg", x("palette-grey-300")), u(o.Button, "inheritContainedHoverBg", x("palette-grey-A100")), u(o.Chip, "defaultBorder", x("palette-grey-400")), u(o.Chip, "defaultAvatarColor", x("palette-grey-700")), u(o.Chip, "defaultIconColor", x("palette-grey-700")), u(o.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), u(o.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), u(o.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), u(o.LinearProgress, "primaryBg", S(U, o.primary.main, 0.62)), u(o.LinearProgress, "secondaryBg", S(U, o.secondary.main, 0.62)), u(o.LinearProgress, "errorBg", S(U, o.error.main, 0.62)), u(o.LinearProgress, "infoBg", S(U, o.info.main, 0.62)), u(o.LinearProgress, "successBg", S(U, o.success.main, 0.62)), u(o.LinearProgress, "warningBg", S(U, o.warning.main, 0.62)), u(o.Skeleton, "bg", $ ? S(ge, o.text.primary, 0.11) : `rgba(${x("palette-text-primaryChannel")} / 0.11)`), u(o.Slider, "primaryTrack", S(U, o.primary.main, 0.62)), u(o.Slider, "secondaryTrack", S(U, o.secondary.main, 0.62)), u(o.Slider, "errorTrack", S(U, o.error.main, 0.62)), u(o.Slider, "infoTrack", S(U, o.info.main, 0.62)), u(o.Slider, "successTrack", S(U, o.success.main, 0.62)), u(o.Slider, "warningTrack", S(U, o.warning.main, 0.62));
|
|
2683
|
+
const j = $ ? S(V, o.background.default, 0.6825) : ke(o.background.default, 0.8);
|
|
2684
|
+
u(o.SnackbarContent, "bg", j), u(o.SnackbarContent, "color", le(() => $ ? or.text.primary : o.getContrastText(j))), u(o.SpeedDialAction, "fabHoverBg", ke(o.background.paper, 0.15)), u(o.StepConnector, "border", x("palette-grey-400")), u(o.StepContent, "border", x("palette-grey-400")), u(o.Switch, "defaultColor", x("palette-common-white")), u(o.Switch, "defaultDisabledColor", x("palette-grey-100")), u(o.Switch, "primaryDisabledColor", S(U, o.primary.main, 0.62)), u(o.Switch, "secondaryDisabledColor", S(U, o.secondary.main, 0.62)), u(o.Switch, "errorDisabledColor", S(U, o.error.main, 0.62)), u(o.Switch, "infoDisabledColor", S(U, o.info.main, 0.62)), u(o.Switch, "successDisabledColor", S(U, o.success.main, 0.62)), u(o.Switch, "warningDisabledColor", S(U, o.warning.main, 0.62)), u(o.TableCell, "border", S(U, S(ge, o.divider, 1), 0.88)), u(o.Tooltip, "bg", S(ge, o.grey[700], 0.92));
|
|
2732
2685
|
}
|
|
2733
2686
|
if (o.mode === "dark") {
|
|
2734
|
-
u(o.Alert, "errorColor",
|
|
2735
|
-
const
|
|
2736
|
-
u(o.SnackbarContent, "bg",
|
|
2687
|
+
u(o.Alert, "errorColor", S(U, o.error.light, 0.6)), u(o.Alert, "infoColor", S(U, o.info.light, 0.6)), u(o.Alert, "successColor", S(U, o.success.light, 0.6)), u(o.Alert, "warningColor", S(U, o.warning.light, 0.6)), u(o.Alert, "errorFilledBg", x("palette-error-dark")), u(o.Alert, "infoFilledBg", x("palette-info-dark")), u(o.Alert, "successFilledBg", x("palette-success-dark")), u(o.Alert, "warningFilledBg", x("palette-warning-dark")), u(o.Alert, "errorFilledColor", le(() => o.getContrastText(o.error.dark))), u(o.Alert, "infoFilledColor", le(() => o.getContrastText(o.info.dark))), u(o.Alert, "successFilledColor", le(() => o.getContrastText(o.success.dark))), u(o.Alert, "warningFilledColor", le(() => o.getContrastText(o.warning.dark))), u(o.Alert, "errorStandardBg", S(V, o.error.light, 0.9)), u(o.Alert, "infoStandardBg", S(V, o.info.light, 0.9)), u(o.Alert, "successStandardBg", S(V, o.success.light, 0.9)), u(o.Alert, "warningStandardBg", S(V, o.warning.light, 0.9)), u(o.Alert, "errorIconColor", x("palette-error-main")), u(o.Alert, "infoIconColor", x("palette-info-main")), u(o.Alert, "successIconColor", x("palette-success-main")), u(o.Alert, "warningIconColor", x("palette-warning-main")), u(o.AppBar, "defaultBg", x("palette-grey-900")), u(o.AppBar, "darkBg", x("palette-background-paper")), u(o.AppBar, "darkColor", x("palette-text-primary")), u(o.Avatar, "defaultBg", x("palette-grey-600")), u(o.Button, "inheritContainedBg", x("palette-grey-800")), u(o.Button, "inheritContainedHoverBg", x("palette-grey-700")), u(o.Chip, "defaultBorder", x("palette-grey-700")), u(o.Chip, "defaultAvatarColor", x("palette-grey-300")), u(o.Chip, "defaultIconColor", x("palette-grey-300")), u(o.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), u(o.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), u(o.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), u(o.LinearProgress, "primaryBg", S(V, o.primary.main, 0.5)), u(o.LinearProgress, "secondaryBg", S(V, o.secondary.main, 0.5)), u(o.LinearProgress, "errorBg", S(V, o.error.main, 0.5)), u(o.LinearProgress, "infoBg", S(V, o.info.main, 0.5)), u(o.LinearProgress, "successBg", S(V, o.success.main, 0.5)), u(o.LinearProgress, "warningBg", S(V, o.warning.main, 0.5)), u(o.Skeleton, "bg", $ ? S(ge, o.text.primary, 0.13) : `rgba(${x("palette-text-primaryChannel")} / 0.13)`), u(o.Slider, "primaryTrack", S(V, o.primary.main, 0.5)), u(o.Slider, "secondaryTrack", S(V, o.secondary.main, 0.5)), u(o.Slider, "errorTrack", S(V, o.error.main, 0.5)), u(o.Slider, "infoTrack", S(V, o.info.main, 0.5)), u(o.Slider, "successTrack", S(V, o.success.main, 0.5)), u(o.Slider, "warningTrack", S(V, o.warning.main, 0.5));
|
|
2688
|
+
const j = $ ? S(U, o.background.default, 0.985) : ke(o.background.default, 0.98);
|
|
2689
|
+
u(o.SnackbarContent, "bg", j), u(o.SnackbarContent, "color", le(() => $ ? Kr.text.primary : o.getContrastText(j))), u(o.SpeedDialAction, "fabHoverBg", ke(o.background.paper, 0.15)), u(o.StepConnector, "border", x("palette-grey-600")), u(o.StepContent, "border", x("palette-grey-600")), u(o.Switch, "defaultColor", x("palette-grey-300")), u(o.Switch, "defaultDisabledColor", x("palette-grey-600")), u(o.Switch, "primaryDisabledColor", S(V, o.primary.main, 0.55)), u(o.Switch, "secondaryDisabledColor", S(V, o.secondary.main, 0.55)), u(o.Switch, "errorDisabledColor", S(V, o.error.main, 0.55)), u(o.Switch, "infoDisabledColor", S(V, o.info.main, 0.55)), u(o.Switch, "successDisabledColor", S(V, o.success.main, 0.55)), u(o.Switch, "warningDisabledColor", S(V, o.warning.main, 0.55)), u(o.TableCell, "border", S(V, S(ge, o.divider, 1), 0.68)), u(o.Tooltip, "bg", S(ge, o.grey[700], 0.92));
|
|
2737
2690
|
}
|
|
2738
|
-
|
|
2739
|
-
const
|
|
2740
|
-
|
|
2691
|
+
fe(o.background, "default"), fe(o.background, "paper"), fe(o.common, "background"), fe(o.common, "onBackground"), fe(o, "divider"), Object.keys(o).forEach((j) => {
|
|
2692
|
+
const W = o[j];
|
|
2693
|
+
j !== "tonalOffset" && W && typeof W == "object" && (W.main && u(o[j], "mainChannel", xe(Oe(W.main))), W.light && u(o[j], "lightChannel", xe(Oe(W.light))), W.dark && u(o[j], "darkChannel", xe(Oe(W.dark))), W.contrastText && u(o[j], "contrastTextChannel", xe(Oe(W.contrastText))), j === "text" && (fe(o[j], "primary"), fe(o[j], "secondary")), j === "action" && (W.active && fe(o[j], "active"), W.selected && fe(o[j], "selected")));
|
|
2741
2694
|
});
|
|
2742
|
-
}), O = r.reduce((
|
|
2743
|
-
const
|
|
2695
|
+
}), O = r.reduce((X, o) => te(X, o), O);
|
|
2696
|
+
const ae = {
|
|
2744
2697
|
prefix: a,
|
|
2745
|
-
disableCssColorScheme:
|
|
2698
|
+
disableCssColorScheme: i,
|
|
2746
2699
|
shouldSkipGeneratingVar: l,
|
|
2747
2700
|
getSelector: zn(O),
|
|
2748
|
-
enableContrastVars:
|
|
2701
|
+
enableContrastVars: c
|
|
2749
2702
|
}, {
|
|
2750
|
-
vars:
|
|
2751
|
-
generateThemeVars:
|
|
2752
|
-
generateStyleSheets:
|
|
2753
|
-
} = mn(O,
|
|
2754
|
-
return O.vars =
|
|
2755
|
-
O[
|
|
2756
|
-
}), O.generateThemeVars =
|
|
2757
|
-
return qr(
|
|
2703
|
+
vars: ue,
|
|
2704
|
+
generateThemeVars: J,
|
|
2705
|
+
generateStyleSheets: Z
|
|
2706
|
+
} = mn(O, ae);
|
|
2707
|
+
return O.vars = ue, Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([X, o]) => {
|
|
2708
|
+
O[X] = o;
|
|
2709
|
+
}), O.generateThemeVars = J, O.generateStyleSheets = Z, O.generateSpacing = function() {
|
|
2710
|
+
return qr(h.spacing, sr(this));
|
|
2758
2711
|
}, O.getColorSchemeSelector = gn(f), O.spacing = O.generateSpacing(), O.shouldSkipGeneratingVar = l, O.unstable_sxConfig = {
|
|
2759
2712
|
...qe,
|
|
2760
|
-
...
|
|
2713
|
+
...h?.unstable_sxConfig
|
|
2761
2714
|
}, O.unstable_sx = function(o) {
|
|
2762
2715
|
return Ge({
|
|
2763
2716
|
sx: o,
|
|
@@ -2778,14 +2731,14 @@ function Nr(e, r, t) {
|
|
|
2778
2731
|
function eo(e = {}, ...r) {
|
|
2779
2732
|
const {
|
|
2780
2733
|
palette: t,
|
|
2781
|
-
cssVariables:
|
|
2782
|
-
colorSchemes:
|
|
2734
|
+
cssVariables: n = !1,
|
|
2735
|
+
colorSchemes: i = t ? void 0 : {
|
|
2783
2736
|
light: !0
|
|
2784
2737
|
},
|
|
2785
|
-
defaultColorScheme: a = t
|
|
2786
|
-
...
|
|
2787
|
-
} = e, l = a || "light", f =
|
|
2788
|
-
...
|
|
2738
|
+
defaultColorScheme: a = t?.mode,
|
|
2739
|
+
...c
|
|
2740
|
+
} = e, l = a || "light", f = i?.[l], d = {
|
|
2741
|
+
...i,
|
|
2789
2742
|
...t ? {
|
|
2790
2743
|
[l]: {
|
|
2791
2744
|
...typeof f != "boolean" && f,
|
|
@@ -2793,16 +2746,16 @@ function eo(e = {}, ...r) {
|
|
|
2793
2746
|
}
|
|
2794
2747
|
} : void 0
|
|
2795
2748
|
};
|
|
2796
|
-
if (
|
|
2749
|
+
if (n === !1) {
|
|
2797
2750
|
if (!("colorSchemes" in e))
|
|
2798
2751
|
return ir(e, ...r);
|
|
2799
|
-
let
|
|
2800
|
-
"palette" in e || d[l] && (d[l] !== !0 ?
|
|
2752
|
+
let h = t;
|
|
2753
|
+
"palette" in e || d[l] && (d[l] !== !0 ? h = d[l].palette : l === "dark" && (h = {
|
|
2801
2754
|
mode: "dark"
|
|
2802
2755
|
}));
|
|
2803
2756
|
const p = ir({
|
|
2804
2757
|
...e,
|
|
2805
|
-
palette:
|
|
2758
|
+
palette: h
|
|
2806
2759
|
}, ...r);
|
|
2807
2760
|
return p.defaultColorScheme = l, p.colorSchemes = d, p.palette.mode === "light" && (p.colorSchemes.light = {
|
|
2808
2761
|
...d.light !== !0 && d.light,
|
|
@@ -2813,10 +2766,10 @@ function eo(e = {}, ...r) {
|
|
|
2813
2766
|
}, Nr(p, "light", d.light)), p;
|
|
2814
2767
|
}
|
|
2815
2768
|
return !t && !("light" in d) && l === "light" && (d.light = !0), Hn({
|
|
2816
|
-
...
|
|
2769
|
+
...c,
|
|
2817
2770
|
colorSchemes: d,
|
|
2818
2771
|
defaultColorScheme: l,
|
|
2819
|
-
...typeof
|
|
2772
|
+
...typeof n != "boolean" && n
|
|
2820
2773
|
}, ...r);
|
|
2821
2774
|
}
|
|
2822
2775
|
export {
|
|
@@ -2826,13 +2779,13 @@ export {
|
|
|
2826
2779
|
Lr as c,
|
|
2827
2780
|
qe as d,
|
|
2828
2781
|
sr as e,
|
|
2829
|
-
|
|
2782
|
+
te as f,
|
|
2830
2783
|
Re as g,
|
|
2831
|
-
|
|
2784
|
+
de as h,
|
|
2832
2785
|
pe as i,
|
|
2833
2786
|
Yr as j,
|
|
2834
|
-
|
|
2835
|
-
|
|
2787
|
+
In as k,
|
|
2788
|
+
Fn as l,
|
|
2836
2789
|
Jn as m,
|
|
2837
2790
|
Zn as r,
|
|
2838
2791
|
Ge as s
|