jcicl 0.0.0
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/.chunks/AppBar.js +359 -0
- package/.chunks/AppContainer.js +71 -0
- package/.chunks/AppHeader.js +31 -0
- package/.chunks/Avatar.js +38 -0
- package/.chunks/AvatarWithImage.js +36 -0
- package/.chunks/BasicPage.js +31 -0
- package/.chunks/Button.js +486 -0
- package/.chunks/ButtonBase.js +874 -0
- package/.chunks/CompactNav.js +70 -0
- package/.chunks/Divider.js +311 -0
- package/.chunks/Flex.js +21 -0
- package/.chunks/Grid.js +18 -0
- package/.chunks/Input.js +4392 -0
- package/.chunks/Menu.js +3160 -0
- package/.chunks/Nav.js +2138 -0
- package/.chunks/TransitionGroupContext.js +342 -0
- package/.chunks/createSimplePaletteValueFilter.js +17 -0
- package/.chunks/createSvgIcon.js +249 -0
- package/.chunks/emotion-styled.browser.esm.js +1032 -0
- package/.chunks/jocologo.js +4 -0
- package/.chunks/memoTheme.js +15 -0
- package/.chunks/theme.js +3314 -0
- package/base/Avatar/Avatar/index.d.ts +1 -0
- package/base/Avatar/Avatar/index.js +4 -0
- package/base/Avatar/AvatarWithImage/index.d.ts +1 -0
- package/base/Avatar/AvatarWithImage/index.js +4 -0
- package/base/Avatar/index.d.ts +2 -0
- package/base/Avatar/index.js +6 -0
- package/base/Button/index.d.ts +1 -0
- package/base/Button/index.js +4 -0
- package/base/Divider/index.d.ts +1 -0
- package/base/Divider/index.js +4 -0
- package/base/Flex/index.d.ts +1 -0
- package/base/Flex/index.js +4 -0
- package/base/Grid/index.d.ts +1 -0
- package/base/Grid/index.js +4 -0
- package/base/Input/index.d.ts +1 -0
- package/base/Input/index.js +4 -0
- package/base/index.d.ts +7 -0
- package/base/index.js +16 -0
- package/index.d.ts +3 -0
- package/index.js +22 -0
- package/package.json +82 -0
- package/supercomposite/AppBar/index.d.ts +1 -0
- package/supercomposite/AppBar/index.js +4 -0
- package/supercomposite/AppHeader/index.d.ts +1 -0
- package/supercomposite/AppHeader/index.js +4 -0
- package/supercomposite/CompactNav/index.d.ts +1 -0
- package/supercomposite/CompactNav/index.js +4 -0
- package/supercomposite/Nav/index.d.ts +2 -0
- package/supercomposite/Nav/index.js +4 -0
- package/supercomposite/index.d.ts +3 -0
- package/supercomposite/index.js +8 -0
- package/templates/AppContainer/index.d.ts +1 -0
- package/templates/AppContainer/index.js +4 -0
- package/templates/BasicPage/index.d.ts +1 -0
- package/templates/BasicPage/index.js +4 -0
- package/templates/index.d.ts +2 -0
- package/templates/index.js +6 -0
package/.chunks/theme.js
ADDED
|
@@ -0,0 +1,3314 @@
|
|
|
1
|
+
import { n as ut, s as lt } from "./emotion-styled.browser.esm.js";
|
|
2
|
+
import * as Kr from "react";
|
|
3
|
+
import "react/jsx-runtime";
|
|
4
|
+
function pe(e) {
|
|
5
|
+
if (typeof e != "object" || e === null)
|
|
6
|
+
return !1;
|
|
7
|
+
const r = Object.getPrototypeOf(e);
|
|
8
|
+
return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
9
|
+
}
|
|
10
|
+
function Hr(e) {
|
|
11
|
+
if (!pe(e))
|
|
12
|
+
return e;
|
|
13
|
+
const r = {};
|
|
14
|
+
return Object.keys(e).forEach((t) => {
|
|
15
|
+
r[t] = Hr(e[t]);
|
|
16
|
+
}), r;
|
|
17
|
+
}
|
|
18
|
+
function ie(e, r, t = {
|
|
19
|
+
clone: !0
|
|
20
|
+
}) {
|
|
21
|
+
const n = t.clone ? {
|
|
22
|
+
...e
|
|
23
|
+
} : e;
|
|
24
|
+
return pe(e) && pe(r) && Object.keys(r).forEach((o) => {
|
|
25
|
+
pe(r[o]) && // Avoid prototype pollution
|
|
26
|
+
Object.prototype.hasOwnProperty.call(e, o) && pe(e[o]) ? n[o] = ie(e[o], r[o], t) : t.clone ? n[o] = pe(r[o]) ? Hr(r[o]) : r[o] : n[o] = r[o];
|
|
27
|
+
}), n;
|
|
28
|
+
}
|
|
29
|
+
function ft(e) {
|
|
30
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
31
|
+
}
|
|
32
|
+
var cr = { exports: {} }, Be = { exports: {} }, V = {};
|
|
33
|
+
/** @license React v16.13.1
|
|
34
|
+
* react-is.production.min.js
|
|
35
|
+
*
|
|
36
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
37
|
+
*
|
|
38
|
+
* This source code is licensed under the MIT license found in the
|
|
39
|
+
* LICENSE file in the root directory of this source tree.
|
|
40
|
+
*/
|
|
41
|
+
var Er;
|
|
42
|
+
function dt() {
|
|
43
|
+
if (Er) return V;
|
|
44
|
+
Er = 1;
|
|
45
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, p = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, K = e ? Symbol.for("react.scope") : 60119;
|
|
46
|
+
function A(d) {
|
|
47
|
+
if (typeof d == "object" && d !== null) {
|
|
48
|
+
var j = d.$$typeof;
|
|
49
|
+
switch (j) {
|
|
50
|
+
case r:
|
|
51
|
+
switch (d = d.type, d) {
|
|
52
|
+
case l:
|
|
53
|
+
case f:
|
|
54
|
+
case n:
|
|
55
|
+
case a:
|
|
56
|
+
case o:
|
|
57
|
+
case m:
|
|
58
|
+
return d;
|
|
59
|
+
default:
|
|
60
|
+
switch (d = d && d.$$typeof, d) {
|
|
61
|
+
case c:
|
|
62
|
+
case y:
|
|
63
|
+
case T:
|
|
64
|
+
case E:
|
|
65
|
+
case s:
|
|
66
|
+
return d;
|
|
67
|
+
default:
|
|
68
|
+
return j;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
case t:
|
|
72
|
+
return j;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
function w(d) {
|
|
77
|
+
return A(d) === f;
|
|
78
|
+
}
|
|
79
|
+
return V.AsyncMode = l, V.ConcurrentMode = f, V.ContextConsumer = c, V.ContextProvider = s, V.Element = r, V.ForwardRef = y, V.Fragment = n, V.Lazy = T, V.Memo = E, V.Portal = t, V.Profiler = a, V.StrictMode = o, V.Suspense = m, V.isAsyncMode = function(d) {
|
|
80
|
+
return w(d) || A(d) === l;
|
|
81
|
+
}, V.isConcurrentMode = w, V.isContextConsumer = function(d) {
|
|
82
|
+
return A(d) === c;
|
|
83
|
+
}, V.isContextProvider = function(d) {
|
|
84
|
+
return A(d) === s;
|
|
85
|
+
}, V.isElement = function(d) {
|
|
86
|
+
return typeof d == "object" && d !== null && d.$$typeof === r;
|
|
87
|
+
}, V.isForwardRef = function(d) {
|
|
88
|
+
return A(d) === y;
|
|
89
|
+
}, V.isFragment = function(d) {
|
|
90
|
+
return A(d) === n;
|
|
91
|
+
}, V.isLazy = function(d) {
|
|
92
|
+
return A(d) === T;
|
|
93
|
+
}, V.isMemo = function(d) {
|
|
94
|
+
return A(d) === E;
|
|
95
|
+
}, V.isPortal = function(d) {
|
|
96
|
+
return A(d) === t;
|
|
97
|
+
}, V.isProfiler = function(d) {
|
|
98
|
+
return A(d) === a;
|
|
99
|
+
}, V.isStrictMode = function(d) {
|
|
100
|
+
return A(d) === o;
|
|
101
|
+
}, V.isSuspense = function(d) {
|
|
102
|
+
return A(d) === m;
|
|
103
|
+
}, V.isValidElementType = function(d) {
|
|
104
|
+
return typeof d == "string" || typeof d == "function" || d === n || d === f || d === a || d === o || d === m || d === g || typeof d == "object" && d !== null && (d.$$typeof === T || d.$$typeof === E || d.$$typeof === s || d.$$typeof === c || d.$$typeof === y || d.$$typeof === p || d.$$typeof === O || d.$$typeof === K || d.$$typeof === b);
|
|
105
|
+
}, V.typeOf = A, V;
|
|
106
|
+
}
|
|
107
|
+
var L = {};
|
|
108
|
+
/** @license React v16.13.1
|
|
109
|
+
* react-is.development.js
|
|
110
|
+
*
|
|
111
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
112
|
+
*
|
|
113
|
+
* This source code is licensed under the MIT license found in the
|
|
114
|
+
* LICENSE file in the root directory of this source tree.
|
|
115
|
+
*/
|
|
116
|
+
var Tr;
|
|
117
|
+
function pt() {
|
|
118
|
+
return Tr || (Tr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
119
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, p = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, K = e ? Symbol.for("react.scope") : 60119;
|
|
120
|
+
function A(v) {
|
|
121
|
+
return typeof v == "string" || typeof v == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
122
|
+
v === n || v === f || v === a || v === o || v === m || v === g || typeof v == "object" && v !== null && (v.$$typeof === T || v.$$typeof === E || v.$$typeof === s || v.$$typeof === c || v.$$typeof === y || v.$$typeof === p || v.$$typeof === O || v.$$typeof === K || v.$$typeof === b);
|
|
123
|
+
}
|
|
124
|
+
function w(v) {
|
|
125
|
+
if (typeof v == "object" && v !== null) {
|
|
126
|
+
var se = v.$$typeof;
|
|
127
|
+
switch (se) {
|
|
128
|
+
case r:
|
|
129
|
+
var $ = v.type;
|
|
130
|
+
switch ($) {
|
|
131
|
+
case l:
|
|
132
|
+
case f:
|
|
133
|
+
case n:
|
|
134
|
+
case a:
|
|
135
|
+
case o:
|
|
136
|
+
case m:
|
|
137
|
+
return $;
|
|
138
|
+
default:
|
|
139
|
+
var Se = $ && $.$$typeof;
|
|
140
|
+
switch (Se) {
|
|
141
|
+
case c:
|
|
142
|
+
case y:
|
|
143
|
+
case T:
|
|
144
|
+
case E:
|
|
145
|
+
case s:
|
|
146
|
+
return Se;
|
|
147
|
+
default:
|
|
148
|
+
return se;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
case t:
|
|
152
|
+
return se;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
var d = l, j = f, X = c, Z = s, ee = r, i = y, C = n, x = T, D = E, G = t, te = a, re = o, ae = m, le = !1;
|
|
157
|
+
function ve(v) {
|
|
158
|
+
return le || (le = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), h(v) || w(v) === l;
|
|
159
|
+
}
|
|
160
|
+
function h(v) {
|
|
161
|
+
return w(v) === f;
|
|
162
|
+
}
|
|
163
|
+
function S(v) {
|
|
164
|
+
return w(v) === c;
|
|
165
|
+
}
|
|
166
|
+
function I(v) {
|
|
167
|
+
return w(v) === s;
|
|
168
|
+
}
|
|
169
|
+
function R(v) {
|
|
170
|
+
return typeof v == "object" && v !== null && v.$$typeof === r;
|
|
171
|
+
}
|
|
172
|
+
function _(v) {
|
|
173
|
+
return w(v) === y;
|
|
174
|
+
}
|
|
175
|
+
function M(v) {
|
|
176
|
+
return w(v) === n;
|
|
177
|
+
}
|
|
178
|
+
function P(v) {
|
|
179
|
+
return w(v) === T;
|
|
180
|
+
}
|
|
181
|
+
function k(v) {
|
|
182
|
+
return w(v) === E;
|
|
183
|
+
}
|
|
184
|
+
function N(v) {
|
|
185
|
+
return w(v) === t;
|
|
186
|
+
}
|
|
187
|
+
function F(v) {
|
|
188
|
+
return w(v) === a;
|
|
189
|
+
}
|
|
190
|
+
function B(v) {
|
|
191
|
+
return w(v) === o;
|
|
192
|
+
}
|
|
193
|
+
function ne(v) {
|
|
194
|
+
return w(v) === m;
|
|
195
|
+
}
|
|
196
|
+
L.AsyncMode = d, L.ConcurrentMode = j, L.ContextConsumer = X, L.ContextProvider = Z, L.Element = ee, L.ForwardRef = i, L.Fragment = C, L.Lazy = x, L.Memo = D, L.Portal = G, L.Profiler = te, L.StrictMode = re, L.Suspense = ae, L.isAsyncMode = ve, L.isConcurrentMode = h, L.isContextConsumer = S, L.isContextProvider = I, L.isElement = R, L.isForwardRef = _, L.isFragment = M, L.isLazy = P, L.isMemo = k, L.isPortal = N, L.isProfiler = F, L.isStrictMode = B, L.isSuspense = ne, L.isValidElementType = A, L.typeOf = w;
|
|
197
|
+
}()), L;
|
|
198
|
+
}
|
|
199
|
+
var wr;
|
|
200
|
+
function Qr() {
|
|
201
|
+
return wr || (wr = 1, process.env.NODE_ENV === "production" ? Be.exports = dt() : Be.exports = pt()), Be.exports;
|
|
202
|
+
}
|
|
203
|
+
/*
|
|
204
|
+
object-assign
|
|
205
|
+
(c) Sindre Sorhus
|
|
206
|
+
@license MIT
|
|
207
|
+
*/
|
|
208
|
+
var Je, $r;
|
|
209
|
+
function mt() {
|
|
210
|
+
if ($r) return Je;
|
|
211
|
+
$r = 1;
|
|
212
|
+
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
213
|
+
function n(a) {
|
|
214
|
+
if (a == null)
|
|
215
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
216
|
+
return Object(a);
|
|
217
|
+
}
|
|
218
|
+
function o() {
|
|
219
|
+
try {
|
|
220
|
+
if (!Object.assign)
|
|
221
|
+
return !1;
|
|
222
|
+
var a = new String("abc");
|
|
223
|
+
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
|
|
224
|
+
return !1;
|
|
225
|
+
for (var s = {}, c = 0; c < 10; c++)
|
|
226
|
+
s["_" + String.fromCharCode(c)] = c;
|
|
227
|
+
var l = Object.getOwnPropertyNames(s).map(function(y) {
|
|
228
|
+
return s[y];
|
|
229
|
+
});
|
|
230
|
+
if (l.join("") !== "0123456789")
|
|
231
|
+
return !1;
|
|
232
|
+
var f = {};
|
|
233
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(y) {
|
|
234
|
+
f[y] = y;
|
|
235
|
+
}), Object.keys(Object.assign({}, f)).join("") === "abcdefghijklmnopqrst";
|
|
236
|
+
} catch {
|
|
237
|
+
return !1;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
return Je = o() ? Object.assign : function(a, s) {
|
|
241
|
+
for (var c, l = n(a), f, y = 1; y < arguments.length; y++) {
|
|
242
|
+
c = Object(arguments[y]);
|
|
243
|
+
for (var m in c)
|
|
244
|
+
r.call(c, m) && (l[m] = c[m]);
|
|
245
|
+
if (e) {
|
|
246
|
+
f = e(c);
|
|
247
|
+
for (var g = 0; g < f.length; g++)
|
|
248
|
+
t.call(c, f[g]) && (l[f[g]] = c[f[g]]);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
return l;
|
|
252
|
+
}, Je;
|
|
253
|
+
}
|
|
254
|
+
var Ze, Ar;
|
|
255
|
+
function pr() {
|
|
256
|
+
if (Ar) return Ze;
|
|
257
|
+
Ar = 1;
|
|
258
|
+
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
259
|
+
return Ze = e, Ze;
|
|
260
|
+
}
|
|
261
|
+
var er, Or;
|
|
262
|
+
function Xr() {
|
|
263
|
+
return Or || (Or = 1, er = Function.call.bind(Object.prototype.hasOwnProperty)), er;
|
|
264
|
+
}
|
|
265
|
+
var rr, xr;
|
|
266
|
+
function gt() {
|
|
267
|
+
if (xr) return rr;
|
|
268
|
+
xr = 1;
|
|
269
|
+
var e = function() {
|
|
270
|
+
};
|
|
271
|
+
if (process.env.NODE_ENV !== "production") {
|
|
272
|
+
var r = pr(), t = {}, n = Xr();
|
|
273
|
+
e = function(a) {
|
|
274
|
+
var s = "Warning: " + a;
|
|
275
|
+
typeof console < "u" && console.error(s);
|
|
276
|
+
try {
|
|
277
|
+
throw new Error(s);
|
|
278
|
+
} catch {
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
function o(a, s, c, l, f) {
|
|
283
|
+
if (process.env.NODE_ENV !== "production") {
|
|
284
|
+
for (var y in a)
|
|
285
|
+
if (n(a, y)) {
|
|
286
|
+
var m;
|
|
287
|
+
try {
|
|
288
|
+
if (typeof a[y] != "function") {
|
|
289
|
+
var g = Error(
|
|
290
|
+
(l || "React class") + ": " + c + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
291
|
+
);
|
|
292
|
+
throw g.name = "Invariant Violation", g;
|
|
293
|
+
}
|
|
294
|
+
m = a[y](s, y, l, c, null, r);
|
|
295
|
+
} catch (T) {
|
|
296
|
+
m = T;
|
|
297
|
+
}
|
|
298
|
+
if (m && !(m instanceof Error) && e(
|
|
299
|
+
(l || "React class") + ": type specification of " + c + " `" + y + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
300
|
+
), m instanceof Error && !(m.message in t)) {
|
|
301
|
+
t[m.message] = !0;
|
|
302
|
+
var E = f ? f() : "";
|
|
303
|
+
e(
|
|
304
|
+
"Failed " + c + " type: " + m.message + (E ?? "")
|
|
305
|
+
);
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
return o.resetWarningCache = function() {
|
|
311
|
+
process.env.NODE_ENV !== "production" && (t = {});
|
|
312
|
+
}, rr = o, rr;
|
|
313
|
+
}
|
|
314
|
+
var tr, _r;
|
|
315
|
+
function yt() {
|
|
316
|
+
if (_r) return tr;
|
|
317
|
+
_r = 1;
|
|
318
|
+
var e = Qr(), r = mt(), t = pr(), n = Xr(), o = gt(), a = function() {
|
|
319
|
+
};
|
|
320
|
+
process.env.NODE_ENV !== "production" && (a = function(c) {
|
|
321
|
+
var l = "Warning: " + c;
|
|
322
|
+
typeof console < "u" && console.error(l);
|
|
323
|
+
try {
|
|
324
|
+
throw new Error(l);
|
|
325
|
+
} catch {
|
|
326
|
+
}
|
|
327
|
+
});
|
|
328
|
+
function s() {
|
|
329
|
+
return null;
|
|
330
|
+
}
|
|
331
|
+
return tr = function(c, l) {
|
|
332
|
+
var f = typeof Symbol == "function" && Symbol.iterator, y = "@@iterator";
|
|
333
|
+
function m(h) {
|
|
334
|
+
var S = h && (f && h[f] || h[y]);
|
|
335
|
+
if (typeof S == "function")
|
|
336
|
+
return S;
|
|
337
|
+
}
|
|
338
|
+
var g = "<<anonymous>>", E = {
|
|
339
|
+
array: O("array"),
|
|
340
|
+
bigint: O("bigint"),
|
|
341
|
+
bool: O("boolean"),
|
|
342
|
+
func: O("function"),
|
|
343
|
+
number: O("number"),
|
|
344
|
+
object: O("object"),
|
|
345
|
+
string: O("string"),
|
|
346
|
+
symbol: O("symbol"),
|
|
347
|
+
any: K(),
|
|
348
|
+
arrayOf: A,
|
|
349
|
+
element: w(),
|
|
350
|
+
elementType: d(),
|
|
351
|
+
instanceOf: j,
|
|
352
|
+
node: i(),
|
|
353
|
+
objectOf: Z,
|
|
354
|
+
oneOf: X,
|
|
355
|
+
oneOfType: ee,
|
|
356
|
+
shape: x,
|
|
357
|
+
exact: D
|
|
358
|
+
};
|
|
359
|
+
function T(h, S) {
|
|
360
|
+
return h === S ? h !== 0 || 1 / h === 1 / S : h !== h && S !== S;
|
|
361
|
+
}
|
|
362
|
+
function b(h, S) {
|
|
363
|
+
this.message = h, this.data = S && typeof S == "object" ? S : {}, this.stack = "";
|
|
364
|
+
}
|
|
365
|
+
b.prototype = Error.prototype;
|
|
366
|
+
function p(h) {
|
|
367
|
+
if (process.env.NODE_ENV !== "production")
|
|
368
|
+
var S = {}, I = 0;
|
|
369
|
+
function R(M, P, k, N, F, B, ne) {
|
|
370
|
+
if (N = N || g, B = B || k, ne !== t) {
|
|
371
|
+
if (l) {
|
|
372
|
+
var v = new Error(
|
|
373
|
+
"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"
|
|
374
|
+
);
|
|
375
|
+
throw v.name = "Invariant Violation", v;
|
|
376
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
377
|
+
var se = N + ":" + k;
|
|
378
|
+
!S[se] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
379
|
+
I < 3 && (a(
|
|
380
|
+
"You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" + N + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
381
|
+
), S[se] = !0, I++);
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
return P[k] == null ? M ? P[k] === null ? new b("The " + F + " `" + B + "` is marked as required " + ("in `" + N + "`, but its value is `null`.")) : new b("The " + F + " `" + B + "` is marked as required in " + ("`" + N + "`, but its value is `undefined`.")) : null : h(P, k, N, F, B);
|
|
385
|
+
}
|
|
386
|
+
var _ = R.bind(null, !1);
|
|
387
|
+
return _.isRequired = R.bind(null, !0), _;
|
|
388
|
+
}
|
|
389
|
+
function O(h) {
|
|
390
|
+
function S(I, R, _, M, P, k) {
|
|
391
|
+
var N = I[R], F = re(N);
|
|
392
|
+
if (F !== h) {
|
|
393
|
+
var B = ae(N);
|
|
394
|
+
return new b(
|
|
395
|
+
"Invalid " + M + " `" + P + "` of type " + ("`" + B + "` supplied to `" + _ + "`, expected ") + ("`" + h + "`."),
|
|
396
|
+
{ expectedType: h }
|
|
397
|
+
);
|
|
398
|
+
}
|
|
399
|
+
return null;
|
|
400
|
+
}
|
|
401
|
+
return p(S);
|
|
402
|
+
}
|
|
403
|
+
function K() {
|
|
404
|
+
return p(s);
|
|
405
|
+
}
|
|
406
|
+
function A(h) {
|
|
407
|
+
function S(I, R, _, M, P) {
|
|
408
|
+
if (typeof h != "function")
|
|
409
|
+
return new b("Property `" + P + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
|
|
410
|
+
var k = I[R];
|
|
411
|
+
if (!Array.isArray(k)) {
|
|
412
|
+
var N = re(k);
|
|
413
|
+
return new b("Invalid " + M + " `" + P + "` of type " + ("`" + N + "` supplied to `" + _ + "`, expected an array."));
|
|
414
|
+
}
|
|
415
|
+
for (var F = 0; F < k.length; F++) {
|
|
416
|
+
var B = h(k, F, _, M, P + "[" + F + "]", t);
|
|
417
|
+
if (B instanceof Error)
|
|
418
|
+
return B;
|
|
419
|
+
}
|
|
420
|
+
return null;
|
|
421
|
+
}
|
|
422
|
+
return p(S);
|
|
423
|
+
}
|
|
424
|
+
function w() {
|
|
425
|
+
function h(S, I, R, _, M) {
|
|
426
|
+
var P = S[I];
|
|
427
|
+
if (!c(P)) {
|
|
428
|
+
var k = re(P);
|
|
429
|
+
return new b("Invalid " + _ + " `" + M + "` of type " + ("`" + k + "` supplied to `" + R + "`, expected a single ReactElement."));
|
|
430
|
+
}
|
|
431
|
+
return null;
|
|
432
|
+
}
|
|
433
|
+
return p(h);
|
|
434
|
+
}
|
|
435
|
+
function d() {
|
|
436
|
+
function h(S, I, R, _, M) {
|
|
437
|
+
var P = S[I];
|
|
438
|
+
if (!e.isValidElementType(P)) {
|
|
439
|
+
var k = re(P);
|
|
440
|
+
return new b("Invalid " + _ + " `" + M + "` of type " + ("`" + k + "` supplied to `" + R + "`, expected a single ReactElement type."));
|
|
441
|
+
}
|
|
442
|
+
return null;
|
|
443
|
+
}
|
|
444
|
+
return p(h);
|
|
445
|
+
}
|
|
446
|
+
function j(h) {
|
|
447
|
+
function S(I, R, _, M, P) {
|
|
448
|
+
if (!(I[R] instanceof h)) {
|
|
449
|
+
var k = h.name || g, N = ve(I[R]);
|
|
450
|
+
return new b("Invalid " + M + " `" + P + "` of type " + ("`" + N + "` supplied to `" + _ + "`, expected ") + ("instance of `" + k + "`."));
|
|
451
|
+
}
|
|
452
|
+
return null;
|
|
453
|
+
}
|
|
454
|
+
return p(S);
|
|
455
|
+
}
|
|
456
|
+
function X(h) {
|
|
457
|
+
if (!Array.isArray(h))
|
|
458
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
459
|
+
"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])."
|
|
460
|
+
) : a("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
461
|
+
function S(I, R, _, M, P) {
|
|
462
|
+
for (var k = I[R], N = 0; N < h.length; N++)
|
|
463
|
+
if (T(k, h[N]))
|
|
464
|
+
return null;
|
|
465
|
+
var F = JSON.stringify(h, function(ne, v) {
|
|
466
|
+
var se = ae(v);
|
|
467
|
+
return se === "symbol" ? String(v) : v;
|
|
468
|
+
});
|
|
469
|
+
return new b("Invalid " + M + " `" + P + "` of value `" + String(k) + "` " + ("supplied to `" + _ + "`, expected one of " + F + "."));
|
|
470
|
+
}
|
|
471
|
+
return p(S);
|
|
472
|
+
}
|
|
473
|
+
function Z(h) {
|
|
474
|
+
function S(I, R, _, M, P) {
|
|
475
|
+
if (typeof h != "function")
|
|
476
|
+
return new b("Property `" + P + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
|
|
477
|
+
var k = I[R], N = re(k);
|
|
478
|
+
if (N !== "object")
|
|
479
|
+
return new b("Invalid " + M + " `" + P + "` of type " + ("`" + N + "` supplied to `" + _ + "`, expected an object."));
|
|
480
|
+
for (var F in k)
|
|
481
|
+
if (n(k, F)) {
|
|
482
|
+
var B = h(k, F, _, M, P + "." + F, t);
|
|
483
|
+
if (B instanceof Error)
|
|
484
|
+
return B;
|
|
485
|
+
}
|
|
486
|
+
return null;
|
|
487
|
+
}
|
|
488
|
+
return p(S);
|
|
489
|
+
}
|
|
490
|
+
function ee(h) {
|
|
491
|
+
if (!Array.isArray(h))
|
|
492
|
+
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
493
|
+
for (var S = 0; S < h.length; S++) {
|
|
494
|
+
var I = h[S];
|
|
495
|
+
if (typeof I != "function")
|
|
496
|
+
return a(
|
|
497
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + le(I) + " at index " + S + "."
|
|
498
|
+
), s;
|
|
499
|
+
}
|
|
500
|
+
function R(_, M, P, k, N) {
|
|
501
|
+
for (var F = [], B = 0; B < h.length; B++) {
|
|
502
|
+
var ne = h[B], v = ne(_, M, P, k, N, t);
|
|
503
|
+
if (v == null)
|
|
504
|
+
return null;
|
|
505
|
+
v.data && n(v.data, "expectedType") && F.push(v.data.expectedType);
|
|
506
|
+
}
|
|
507
|
+
var se = F.length > 0 ? ", expected one of type [" + F.join(", ") + "]" : "";
|
|
508
|
+
return new b("Invalid " + k + " `" + N + "` supplied to " + ("`" + P + "`" + se + "."));
|
|
509
|
+
}
|
|
510
|
+
return p(R);
|
|
511
|
+
}
|
|
512
|
+
function i() {
|
|
513
|
+
function h(S, I, R, _, M) {
|
|
514
|
+
return G(S[I]) ? null : new b("Invalid " + _ + " `" + M + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
|
|
515
|
+
}
|
|
516
|
+
return p(h);
|
|
517
|
+
}
|
|
518
|
+
function C(h, S, I, R, _) {
|
|
519
|
+
return new b(
|
|
520
|
+
(h || "React class") + ": " + S + " type `" + I + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + _ + "`."
|
|
521
|
+
);
|
|
522
|
+
}
|
|
523
|
+
function x(h) {
|
|
524
|
+
function S(I, R, _, M, P) {
|
|
525
|
+
var k = I[R], N = re(k);
|
|
526
|
+
if (N !== "object")
|
|
527
|
+
return new b("Invalid " + M + " `" + P + "` of type `" + N + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
528
|
+
for (var F in h) {
|
|
529
|
+
var B = h[F];
|
|
530
|
+
if (typeof B != "function")
|
|
531
|
+
return C(_, M, P, F, ae(B));
|
|
532
|
+
var ne = B(k, F, _, M, P + "." + F, t);
|
|
533
|
+
if (ne)
|
|
534
|
+
return ne;
|
|
535
|
+
}
|
|
536
|
+
return null;
|
|
537
|
+
}
|
|
538
|
+
return p(S);
|
|
539
|
+
}
|
|
540
|
+
function D(h) {
|
|
541
|
+
function S(I, R, _, M, P) {
|
|
542
|
+
var k = I[R], N = re(k);
|
|
543
|
+
if (N !== "object")
|
|
544
|
+
return new b("Invalid " + M + " `" + P + "` of type `" + N + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
545
|
+
var F = r({}, I[R], h);
|
|
546
|
+
for (var B in F) {
|
|
547
|
+
var ne = h[B];
|
|
548
|
+
if (n(h, B) && typeof ne != "function")
|
|
549
|
+
return C(_, M, P, B, ae(ne));
|
|
550
|
+
if (!ne)
|
|
551
|
+
return new b(
|
|
552
|
+
"Invalid " + M + " `" + P + "` key `" + B + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(I[R], null, " ") + `
|
|
553
|
+
Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
|
|
554
|
+
);
|
|
555
|
+
var v = ne(k, B, _, M, P + "." + B, t);
|
|
556
|
+
if (v)
|
|
557
|
+
return v;
|
|
558
|
+
}
|
|
559
|
+
return null;
|
|
560
|
+
}
|
|
561
|
+
return p(S);
|
|
562
|
+
}
|
|
563
|
+
function G(h) {
|
|
564
|
+
switch (typeof h) {
|
|
565
|
+
case "number":
|
|
566
|
+
case "string":
|
|
567
|
+
case "undefined":
|
|
568
|
+
return !0;
|
|
569
|
+
case "boolean":
|
|
570
|
+
return !h;
|
|
571
|
+
case "object":
|
|
572
|
+
if (Array.isArray(h))
|
|
573
|
+
return h.every(G);
|
|
574
|
+
if (h === null || c(h))
|
|
575
|
+
return !0;
|
|
576
|
+
var S = m(h);
|
|
577
|
+
if (S) {
|
|
578
|
+
var I = S.call(h), R;
|
|
579
|
+
if (S !== h.entries) {
|
|
580
|
+
for (; !(R = I.next()).done; )
|
|
581
|
+
if (!G(R.value))
|
|
582
|
+
return !1;
|
|
583
|
+
} else
|
|
584
|
+
for (; !(R = I.next()).done; ) {
|
|
585
|
+
var _ = R.value;
|
|
586
|
+
if (_ && !G(_[1]))
|
|
587
|
+
return !1;
|
|
588
|
+
}
|
|
589
|
+
} else
|
|
590
|
+
return !1;
|
|
591
|
+
return !0;
|
|
592
|
+
default:
|
|
593
|
+
return !1;
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
function te(h, S) {
|
|
597
|
+
return h === "symbol" ? !0 : S ? S["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && S instanceof Symbol : !1;
|
|
598
|
+
}
|
|
599
|
+
function re(h) {
|
|
600
|
+
var S = typeof h;
|
|
601
|
+
return Array.isArray(h) ? "array" : h instanceof RegExp ? "object" : te(S, h) ? "symbol" : S;
|
|
602
|
+
}
|
|
603
|
+
function ae(h) {
|
|
604
|
+
if (typeof h > "u" || h === null)
|
|
605
|
+
return "" + h;
|
|
606
|
+
var S = re(h);
|
|
607
|
+
if (S === "object") {
|
|
608
|
+
if (h instanceof Date)
|
|
609
|
+
return "date";
|
|
610
|
+
if (h instanceof RegExp)
|
|
611
|
+
return "regexp";
|
|
612
|
+
}
|
|
613
|
+
return S;
|
|
614
|
+
}
|
|
615
|
+
function le(h) {
|
|
616
|
+
var S = ae(h);
|
|
617
|
+
switch (S) {
|
|
618
|
+
case "array":
|
|
619
|
+
case "object":
|
|
620
|
+
return "an " + S;
|
|
621
|
+
case "boolean":
|
|
622
|
+
case "date":
|
|
623
|
+
case "regexp":
|
|
624
|
+
return "a " + S;
|
|
625
|
+
default:
|
|
626
|
+
return S;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
function ve(h) {
|
|
630
|
+
return !h.constructor || !h.constructor.name ? g : h.constructor.name;
|
|
631
|
+
}
|
|
632
|
+
return E.checkPropTypes = o, E.resetWarningCache = o.resetWarningCache, E.PropTypes = E, E;
|
|
633
|
+
}, tr;
|
|
634
|
+
}
|
|
635
|
+
var nr, Pr;
|
|
636
|
+
function ht() {
|
|
637
|
+
if (Pr) return nr;
|
|
638
|
+
Pr = 1;
|
|
639
|
+
var e = pr();
|
|
640
|
+
function r() {
|
|
641
|
+
}
|
|
642
|
+
function t() {
|
|
643
|
+
}
|
|
644
|
+
return t.resetWarningCache = r, nr = function() {
|
|
645
|
+
function n(s, c, l, f, y, m) {
|
|
646
|
+
if (m !== e) {
|
|
647
|
+
var g = new Error(
|
|
648
|
+
"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"
|
|
649
|
+
);
|
|
650
|
+
throw g.name = "Invariant Violation", g;
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
n.isRequired = n;
|
|
654
|
+
function o() {
|
|
655
|
+
return n;
|
|
656
|
+
}
|
|
657
|
+
var a = {
|
|
658
|
+
array: n,
|
|
659
|
+
bigint: n,
|
|
660
|
+
bool: n,
|
|
661
|
+
func: n,
|
|
662
|
+
number: n,
|
|
663
|
+
object: n,
|
|
664
|
+
string: n,
|
|
665
|
+
symbol: n,
|
|
666
|
+
any: n,
|
|
667
|
+
arrayOf: o,
|
|
668
|
+
element: n,
|
|
669
|
+
elementType: n,
|
|
670
|
+
instanceOf: o,
|
|
671
|
+
node: n,
|
|
672
|
+
objectOf: o,
|
|
673
|
+
oneOf: o,
|
|
674
|
+
oneOfType: o,
|
|
675
|
+
shape: o,
|
|
676
|
+
exact: o,
|
|
677
|
+
checkPropTypes: t,
|
|
678
|
+
resetWarningCache: r
|
|
679
|
+
};
|
|
680
|
+
return a.PropTypes = a, a;
|
|
681
|
+
}, nr;
|
|
682
|
+
}
|
|
683
|
+
if (process.env.NODE_ENV !== "production") {
|
|
684
|
+
var bt = Qr(), vt = !0;
|
|
685
|
+
cr.exports = yt()(bt.isElement, vt);
|
|
686
|
+
} else
|
|
687
|
+
cr.exports = ht()();
|
|
688
|
+
var St = cr.exports;
|
|
689
|
+
const me = /* @__PURE__ */ ft(St);
|
|
690
|
+
function ye(e, ...r) {
|
|
691
|
+
const t = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
692
|
+
return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
|
|
693
|
+
}
|
|
694
|
+
var ur = { exports: {} }, W = {};
|
|
695
|
+
/**
|
|
696
|
+
* @license React
|
|
697
|
+
* react-is.production.min.js
|
|
698
|
+
*
|
|
699
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
700
|
+
*
|
|
701
|
+
* This source code is licensed under the MIT license found in the
|
|
702
|
+
* LICENSE file in the root directory of this source tree.
|
|
703
|
+
*/
|
|
704
|
+
var Rr;
|
|
705
|
+
function Ct() {
|
|
706
|
+
if (Rr) return W;
|
|
707
|
+
Rr = 1;
|
|
708
|
+
var e = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), T;
|
|
709
|
+
T = Symbol.for("react.module.reference");
|
|
710
|
+
function b(p) {
|
|
711
|
+
if (typeof p == "object" && p !== null) {
|
|
712
|
+
var O = p.$$typeof;
|
|
713
|
+
switch (O) {
|
|
714
|
+
case e:
|
|
715
|
+
switch (p = p.type, p) {
|
|
716
|
+
case t:
|
|
717
|
+
case o:
|
|
718
|
+
case n:
|
|
719
|
+
case f:
|
|
720
|
+
case y:
|
|
721
|
+
return p;
|
|
722
|
+
default:
|
|
723
|
+
switch (p = p && p.$$typeof, p) {
|
|
724
|
+
case c:
|
|
725
|
+
case s:
|
|
726
|
+
case l:
|
|
727
|
+
case g:
|
|
728
|
+
case m:
|
|
729
|
+
case a:
|
|
730
|
+
return p;
|
|
731
|
+
default:
|
|
732
|
+
return O;
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
case r:
|
|
736
|
+
return O;
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
return W.ContextConsumer = s, W.ContextProvider = a, W.Element = e, W.ForwardRef = l, W.Fragment = t, W.Lazy = g, W.Memo = m, W.Portal = r, W.Profiler = o, W.StrictMode = n, W.Suspense = f, W.SuspenseList = y, W.isAsyncMode = function() {
|
|
741
|
+
return !1;
|
|
742
|
+
}, W.isConcurrentMode = function() {
|
|
743
|
+
return !1;
|
|
744
|
+
}, W.isContextConsumer = function(p) {
|
|
745
|
+
return b(p) === s;
|
|
746
|
+
}, W.isContextProvider = function(p) {
|
|
747
|
+
return b(p) === a;
|
|
748
|
+
}, W.isElement = function(p) {
|
|
749
|
+
return typeof p == "object" && p !== null && p.$$typeof === e;
|
|
750
|
+
}, W.isForwardRef = function(p) {
|
|
751
|
+
return b(p) === l;
|
|
752
|
+
}, W.isFragment = function(p) {
|
|
753
|
+
return b(p) === t;
|
|
754
|
+
}, W.isLazy = function(p) {
|
|
755
|
+
return b(p) === g;
|
|
756
|
+
}, W.isMemo = function(p) {
|
|
757
|
+
return b(p) === m;
|
|
758
|
+
}, W.isPortal = function(p) {
|
|
759
|
+
return b(p) === r;
|
|
760
|
+
}, W.isProfiler = function(p) {
|
|
761
|
+
return b(p) === o;
|
|
762
|
+
}, W.isStrictMode = function(p) {
|
|
763
|
+
return b(p) === n;
|
|
764
|
+
}, W.isSuspense = function(p) {
|
|
765
|
+
return b(p) === f;
|
|
766
|
+
}, W.isSuspenseList = function(p) {
|
|
767
|
+
return b(p) === y;
|
|
768
|
+
}, W.isValidElementType = function(p) {
|
|
769
|
+
return typeof p == "string" || typeof p == "function" || p === t || p === o || p === n || p === f || p === y || p === E || typeof p == "object" && p !== null && (p.$$typeof === g || p.$$typeof === m || p.$$typeof === a || p.$$typeof === s || p.$$typeof === l || p.$$typeof === T || p.getModuleId !== void 0);
|
|
770
|
+
}, W.typeOf = b, W;
|
|
771
|
+
}
|
|
772
|
+
var U = {};
|
|
773
|
+
/**
|
|
774
|
+
* @license React
|
|
775
|
+
* react-is.development.js
|
|
776
|
+
*
|
|
777
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
778
|
+
*
|
|
779
|
+
* This source code is licensed under the MIT license found in the
|
|
780
|
+
* LICENSE file in the root directory of this source tree.
|
|
781
|
+
*/
|
|
782
|
+
var kr;
|
|
783
|
+
function Et() {
|
|
784
|
+
return kr || (kr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
785
|
+
var e = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), T = !1, b = !1, p = !1, O = !1, K = !1, A;
|
|
786
|
+
A = Symbol.for("react.module.reference");
|
|
787
|
+
function w($) {
|
|
788
|
+
return !!(typeof $ == "string" || typeof $ == "function" || $ === t || $ === o || K || $ === n || $ === f || $ === y || O || $ === E || T || b || p || typeof $ == "object" && $ !== null && ($.$$typeof === g || $.$$typeof === m || $.$$typeof === a || $.$$typeof === s || $.$$typeof === l || // This needs to include all possible module reference object
|
|
789
|
+
// types supported by any Flight configuration anywhere since
|
|
790
|
+
// we don't know which Flight build this will end up being used
|
|
791
|
+
// with.
|
|
792
|
+
$.$$typeof === A || $.getModuleId !== void 0));
|
|
793
|
+
}
|
|
794
|
+
function d($) {
|
|
795
|
+
if (typeof $ == "object" && $ !== null) {
|
|
796
|
+
var Se = $.$$typeof;
|
|
797
|
+
switch (Se) {
|
|
798
|
+
case e:
|
|
799
|
+
var Ne = $.type;
|
|
800
|
+
switch (Ne) {
|
|
801
|
+
case t:
|
|
802
|
+
case o:
|
|
803
|
+
case n:
|
|
804
|
+
case f:
|
|
805
|
+
case y:
|
|
806
|
+
return Ne;
|
|
807
|
+
default:
|
|
808
|
+
var Cr = Ne && Ne.$$typeof;
|
|
809
|
+
switch (Cr) {
|
|
810
|
+
case c:
|
|
811
|
+
case s:
|
|
812
|
+
case l:
|
|
813
|
+
case g:
|
|
814
|
+
case m:
|
|
815
|
+
case a:
|
|
816
|
+
return Cr;
|
|
817
|
+
default:
|
|
818
|
+
return Se;
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
case r:
|
|
822
|
+
return Se;
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
var j = s, X = a, Z = e, ee = l, i = t, C = g, x = m, D = r, G = o, te = n, re = f, ae = y, le = !1, ve = !1;
|
|
827
|
+
function h($) {
|
|
828
|
+
return le || (le = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
829
|
+
}
|
|
830
|
+
function S($) {
|
|
831
|
+
return ve || (ve = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
832
|
+
}
|
|
833
|
+
function I($) {
|
|
834
|
+
return d($) === s;
|
|
835
|
+
}
|
|
836
|
+
function R($) {
|
|
837
|
+
return d($) === a;
|
|
838
|
+
}
|
|
839
|
+
function _($) {
|
|
840
|
+
return typeof $ == "object" && $ !== null && $.$$typeof === e;
|
|
841
|
+
}
|
|
842
|
+
function M($) {
|
|
843
|
+
return d($) === l;
|
|
844
|
+
}
|
|
845
|
+
function P($) {
|
|
846
|
+
return d($) === t;
|
|
847
|
+
}
|
|
848
|
+
function k($) {
|
|
849
|
+
return d($) === g;
|
|
850
|
+
}
|
|
851
|
+
function N($) {
|
|
852
|
+
return d($) === m;
|
|
853
|
+
}
|
|
854
|
+
function F($) {
|
|
855
|
+
return d($) === r;
|
|
856
|
+
}
|
|
857
|
+
function B($) {
|
|
858
|
+
return d($) === o;
|
|
859
|
+
}
|
|
860
|
+
function ne($) {
|
|
861
|
+
return d($) === n;
|
|
862
|
+
}
|
|
863
|
+
function v($) {
|
|
864
|
+
return d($) === f;
|
|
865
|
+
}
|
|
866
|
+
function se($) {
|
|
867
|
+
return d($) === y;
|
|
868
|
+
}
|
|
869
|
+
U.ContextConsumer = j, U.ContextProvider = X, U.Element = Z, U.ForwardRef = ee, U.Fragment = i, U.Lazy = C, U.Memo = x, U.Portal = D, U.Profiler = G, U.StrictMode = te, U.Suspense = re, U.SuspenseList = ae, U.isAsyncMode = h, U.isConcurrentMode = S, U.isContextConsumer = I, U.isContextProvider = R, U.isElement = _, U.isForwardRef = M, U.isFragment = P, U.isLazy = k, U.isMemo = N, U.isPortal = F, U.isProfiler = B, U.isStrictMode = ne, U.isSuspense = v, U.isSuspenseList = se, U.isValidElementType = w, U.typeOf = d;
|
|
870
|
+
}()), U;
|
|
871
|
+
}
|
|
872
|
+
process.env.NODE_ENV === "production" ? ur.exports = Ct() : ur.exports = Et();
|
|
873
|
+
var Ir = ur.exports;
|
|
874
|
+
function Jr(e, r = "") {
|
|
875
|
+
return e.displayName || e.name || r;
|
|
876
|
+
}
|
|
877
|
+
function Mr(e, r, t) {
|
|
878
|
+
const n = Jr(r);
|
|
879
|
+
return e.displayName || (n !== "" ? `${t}(${n})` : t);
|
|
880
|
+
}
|
|
881
|
+
function Tt(e) {
|
|
882
|
+
if (e != null) {
|
|
883
|
+
if (typeof e == "string")
|
|
884
|
+
return e;
|
|
885
|
+
if (typeof e == "function")
|
|
886
|
+
return Jr(e, "Component");
|
|
887
|
+
if (typeof e == "object")
|
|
888
|
+
switch (e.$$typeof) {
|
|
889
|
+
case Ir.ForwardRef:
|
|
890
|
+
return Mr(e, e.render, "ForwardRef");
|
|
891
|
+
case Ir.Memo:
|
|
892
|
+
return Mr(e, e.type, "memo");
|
|
893
|
+
default:
|
|
894
|
+
return;
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
function mr(e) {
|
|
899
|
+
if (typeof e != "string")
|
|
900
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : ye(7));
|
|
901
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
902
|
+
}
|
|
903
|
+
function lr(e, r) {
|
|
904
|
+
const t = {
|
|
905
|
+
...r
|
|
906
|
+
};
|
|
907
|
+
for (const n in e)
|
|
908
|
+
if (Object.prototype.hasOwnProperty.call(e, n)) {
|
|
909
|
+
const o = n;
|
|
910
|
+
if (o === "components" || o === "slots")
|
|
911
|
+
t[o] = {
|
|
912
|
+
...e[o],
|
|
913
|
+
...t[o]
|
|
914
|
+
};
|
|
915
|
+
else if (o === "componentsProps" || o === "slotProps") {
|
|
916
|
+
const a = e[o], s = r[o];
|
|
917
|
+
if (!s)
|
|
918
|
+
t[o] = a || {};
|
|
919
|
+
else if (!a)
|
|
920
|
+
t[o] = s;
|
|
921
|
+
else {
|
|
922
|
+
t[o] = {
|
|
923
|
+
...s
|
|
924
|
+
};
|
|
925
|
+
for (const c in a)
|
|
926
|
+
if (Object.prototype.hasOwnProperty.call(a, c)) {
|
|
927
|
+
const l = c;
|
|
928
|
+
t[o][l] = lr(a[l], s[l]);
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
} else t[o] === void 0 && (t[o] = e[o]);
|
|
932
|
+
}
|
|
933
|
+
return t;
|
|
934
|
+
}
|
|
935
|
+
function No(e, r, t = void 0) {
|
|
936
|
+
const n = {};
|
|
937
|
+
for (const o in e) {
|
|
938
|
+
const a = e[o];
|
|
939
|
+
let s = "", c = !0;
|
|
940
|
+
for (let l = 0; l < a.length; l += 1) {
|
|
941
|
+
const f = a[l];
|
|
942
|
+
f && (s += (c === !0 ? "" : " ") + r(f), c = !1, t && t[f] && (s += " " + t[f]));
|
|
943
|
+
}
|
|
944
|
+
n[o] = s;
|
|
945
|
+
}
|
|
946
|
+
return n;
|
|
947
|
+
}
|
|
948
|
+
const Nr = (e) => e, wt = () => {
|
|
949
|
+
let e = Nr;
|
|
950
|
+
return {
|
|
951
|
+
configure(r) {
|
|
952
|
+
e = r;
|
|
953
|
+
},
|
|
954
|
+
generate(r) {
|
|
955
|
+
return e(r);
|
|
956
|
+
},
|
|
957
|
+
reset() {
|
|
958
|
+
e = Nr;
|
|
959
|
+
}
|
|
960
|
+
};
|
|
961
|
+
}, $t = wt(), At = {
|
|
962
|
+
active: "active",
|
|
963
|
+
checked: "checked",
|
|
964
|
+
completed: "completed",
|
|
965
|
+
disabled: "disabled",
|
|
966
|
+
error: "error",
|
|
967
|
+
expanded: "expanded",
|
|
968
|
+
focused: "focused",
|
|
969
|
+
focusVisible: "focusVisible",
|
|
970
|
+
open: "open",
|
|
971
|
+
readOnly: "readOnly",
|
|
972
|
+
required: "required",
|
|
973
|
+
selected: "selected"
|
|
974
|
+
};
|
|
975
|
+
function Zr(e, r, t = "Mui") {
|
|
976
|
+
const n = At[r];
|
|
977
|
+
return n ? `${t}-${n}` : `${$t.generate(e)}-${r}`;
|
|
978
|
+
}
|
|
979
|
+
function Bo(e, r, t = "Mui") {
|
|
980
|
+
const n = {};
|
|
981
|
+
return r.forEach((o) => {
|
|
982
|
+
n[o] = Zr(e, o, t);
|
|
983
|
+
}), n;
|
|
984
|
+
}
|
|
985
|
+
function Ot(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
|
|
986
|
+
return Math.max(r, Math.min(e, t));
|
|
987
|
+
}
|
|
988
|
+
function et(e) {
|
|
989
|
+
var r, t, n = "";
|
|
990
|
+
if (typeof e == "string" || typeof e == "number") n += e;
|
|
991
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
992
|
+
var o = e.length;
|
|
993
|
+
for (r = 0; r < o; r++) e[r] && (t = et(e[r])) && (n && (n += " "), n += t);
|
|
994
|
+
} else for (t in e) e[t] && (n && (n += " "), n += t);
|
|
995
|
+
return n;
|
|
996
|
+
}
|
|
997
|
+
function Do() {
|
|
998
|
+
for (var e, r, t = 0, n = "", o = arguments.length; t < o; t++) (e = arguments[t]) && (r = et(e)) && (n && (n += " "), n += r);
|
|
999
|
+
return n;
|
|
1000
|
+
}
|
|
1001
|
+
function Re(e, r) {
|
|
1002
|
+
return r ? ie(e, r, {
|
|
1003
|
+
clone: !1
|
|
1004
|
+
// No need to clone deep, it's way faster.
|
|
1005
|
+
}) : e;
|
|
1006
|
+
}
|
|
1007
|
+
const be = process.env.NODE_ENV !== "production" ? me.oneOfType([me.number, me.string, me.object, me.array]) : {};
|
|
1008
|
+
function xt(e, r) {
|
|
1009
|
+
if (!e.containerQueries)
|
|
1010
|
+
return r;
|
|
1011
|
+
const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => {
|
|
1012
|
+
var s, c;
|
|
1013
|
+
const a = /min-width:\s*([0-9.]+)/;
|
|
1014
|
+
return +(((s = n.match(a)) == null ? void 0 : s[1]) || 0) - +(((c = o.match(a)) == null ? void 0 : c[1]) || 0);
|
|
1015
|
+
});
|
|
1016
|
+
return t.length ? t.reduce((n, o) => {
|
|
1017
|
+
const a = r[o];
|
|
1018
|
+
return delete n[o], n[o] = a, n;
|
|
1019
|
+
}, {
|
|
1020
|
+
...r
|
|
1021
|
+
}) : r;
|
|
1022
|
+
}
|
|
1023
|
+
function _t(e, r) {
|
|
1024
|
+
return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
|
|
1025
|
+
}
|
|
1026
|
+
function Pt(e, r) {
|
|
1027
|
+
const t = r.match(/^@([^/]+)?\/?(.+)?$/);
|
|
1028
|
+
if (!t) {
|
|
1029
|
+
if (process.env.NODE_ENV !== "production")
|
|
1030
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
1031
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : ye(18, `(${r})`));
|
|
1032
|
+
return null;
|
|
1033
|
+
}
|
|
1034
|
+
const [, n, o] = t, a = Number.isNaN(+n) ? n || 0 : +n;
|
|
1035
|
+
return e.containerQueries(o).up(a);
|
|
1036
|
+
}
|
|
1037
|
+
function Rt(e) {
|
|
1038
|
+
const r = (a, s) => a.replace("@media", s ? `@container ${s}` : "@container");
|
|
1039
|
+
function t(a, s) {
|
|
1040
|
+
a.up = (...c) => r(e.breakpoints.up(...c), s), a.down = (...c) => r(e.breakpoints.down(...c), s), a.between = (...c) => r(e.breakpoints.between(...c), s), a.only = (...c) => r(e.breakpoints.only(...c), s), a.not = (...c) => {
|
|
1041
|
+
const l = r(e.breakpoints.not(...c), s);
|
|
1042
|
+
return l.includes("not all and") ? l.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : l;
|
|
1043
|
+
};
|
|
1044
|
+
}
|
|
1045
|
+
const n = {}, o = (a) => (t(n, a), n);
|
|
1046
|
+
return t(o), {
|
|
1047
|
+
...e,
|
|
1048
|
+
containerQueries: o
|
|
1049
|
+
};
|
|
1050
|
+
}
|
|
1051
|
+
const Le = {
|
|
1052
|
+
xs: 0,
|
|
1053
|
+
// phone
|
|
1054
|
+
sm: 600,
|
|
1055
|
+
// tablet
|
|
1056
|
+
md: 900,
|
|
1057
|
+
// small laptop
|
|
1058
|
+
lg: 1200,
|
|
1059
|
+
// desktop
|
|
1060
|
+
xl: 1536
|
|
1061
|
+
// large screen
|
|
1062
|
+
}, Br = {
|
|
1063
|
+
// Sorted ASC by size. That's important.
|
|
1064
|
+
// It can't be configured as it's used statically for propTypes.
|
|
1065
|
+
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
1066
|
+
up: (e) => `@media (min-width:${Le[e]}px)`
|
|
1067
|
+
}, kt = {
|
|
1068
|
+
containerQueries: (e) => ({
|
|
1069
|
+
up: (r) => {
|
|
1070
|
+
let t = typeof r == "number" ? r : Le[r] || r;
|
|
1071
|
+
return typeof t == "number" && (t = `${t}px`), e ? `@container ${e} (min-width:${t})` : `@container (min-width:${t})`;
|
|
1072
|
+
}
|
|
1073
|
+
})
|
|
1074
|
+
};
|
|
1075
|
+
function ge(e, r, t) {
|
|
1076
|
+
const n = e.theme || {};
|
|
1077
|
+
if (Array.isArray(r)) {
|
|
1078
|
+
const a = n.breakpoints || Br;
|
|
1079
|
+
return r.reduce((s, c, l) => (s[a.up(a.keys[l])] = t(r[l]), s), {});
|
|
1080
|
+
}
|
|
1081
|
+
if (typeof r == "object") {
|
|
1082
|
+
const a = n.breakpoints || Br;
|
|
1083
|
+
return Object.keys(r).reduce((s, c) => {
|
|
1084
|
+
if (_t(a.keys, c)) {
|
|
1085
|
+
const l = Pt(n.containerQueries ? n : kt, c);
|
|
1086
|
+
l && (s[l] = t(r[c], c));
|
|
1087
|
+
} else if (Object.keys(a.values || Le).includes(c)) {
|
|
1088
|
+
const l = a.up(c);
|
|
1089
|
+
s[l] = t(r[c], c);
|
|
1090
|
+
} else {
|
|
1091
|
+
const l = c;
|
|
1092
|
+
s[l] = r[l];
|
|
1093
|
+
}
|
|
1094
|
+
return s;
|
|
1095
|
+
}, {});
|
|
1096
|
+
}
|
|
1097
|
+
return t(r);
|
|
1098
|
+
}
|
|
1099
|
+
function It(e = {}) {
|
|
1100
|
+
var t;
|
|
1101
|
+
return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
|
|
1102
|
+
const a = e.up(o);
|
|
1103
|
+
return n[a] = {}, n;
|
|
1104
|
+
}, {})) || {};
|
|
1105
|
+
}
|
|
1106
|
+
function Mt(e, r) {
|
|
1107
|
+
return e.reduce((t, n) => {
|
|
1108
|
+
const o = t[n];
|
|
1109
|
+
return (!o || Object.keys(o).length === 0) && delete t[n], t;
|
|
1110
|
+
}, r);
|
|
1111
|
+
}
|
|
1112
|
+
function We(e, r, t = !0) {
|
|
1113
|
+
if (!r || typeof r != "string")
|
|
1114
|
+
return null;
|
|
1115
|
+
if (e && e.vars && t) {
|
|
1116
|
+
const n = `vars.${r}`.split(".").reduce((o, a) => o && o[a] ? o[a] : null, e);
|
|
1117
|
+
if (n != null)
|
|
1118
|
+
return n;
|
|
1119
|
+
}
|
|
1120
|
+
return r.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
|
|
1121
|
+
}
|
|
1122
|
+
function Ve(e, r, t, n = t) {
|
|
1123
|
+
let o;
|
|
1124
|
+
return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = We(e, t) || n, r && (o = r(o, n, e)), o;
|
|
1125
|
+
}
|
|
1126
|
+
function J(e) {
|
|
1127
|
+
const {
|
|
1128
|
+
prop: r,
|
|
1129
|
+
cssProperty: t = e.prop,
|
|
1130
|
+
themeKey: n,
|
|
1131
|
+
transform: o
|
|
1132
|
+
} = e, a = (s) => {
|
|
1133
|
+
if (s[r] == null)
|
|
1134
|
+
return null;
|
|
1135
|
+
const c = s[r], l = s.theme, f = We(l, n) || {};
|
|
1136
|
+
return ge(s, c, (m) => {
|
|
1137
|
+
let g = Ve(f, o, m);
|
|
1138
|
+
return m === g && typeof m == "string" && (g = Ve(f, o, `${r}${m === "default" ? "" : mr(m)}`, m)), t === !1 ? g : {
|
|
1139
|
+
[t]: g
|
|
1140
|
+
};
|
|
1141
|
+
});
|
|
1142
|
+
};
|
|
1143
|
+
return a.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1144
|
+
[r]: be
|
|
1145
|
+
} : {}, a.filterProps = [r], a;
|
|
1146
|
+
}
|
|
1147
|
+
function Nt(e) {
|
|
1148
|
+
const r = {};
|
|
1149
|
+
return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
|
|
1150
|
+
}
|
|
1151
|
+
const Bt = {
|
|
1152
|
+
m: "margin",
|
|
1153
|
+
p: "padding"
|
|
1154
|
+
}, Dt = {
|
|
1155
|
+
t: "Top",
|
|
1156
|
+
r: "Right",
|
|
1157
|
+
b: "Bottom",
|
|
1158
|
+
l: "Left",
|
|
1159
|
+
x: ["Left", "Right"],
|
|
1160
|
+
y: ["Top", "Bottom"]
|
|
1161
|
+
}, Dr = {
|
|
1162
|
+
marginX: "mx",
|
|
1163
|
+
marginY: "my",
|
|
1164
|
+
paddingX: "px",
|
|
1165
|
+
paddingY: "py"
|
|
1166
|
+
}, jt = Nt((e) => {
|
|
1167
|
+
if (e.length > 2)
|
|
1168
|
+
if (Dr[e])
|
|
1169
|
+
e = Dr[e];
|
|
1170
|
+
else
|
|
1171
|
+
return [e];
|
|
1172
|
+
const [r, t] = e.split(""), n = Bt[r], o = Dt[t] || "";
|
|
1173
|
+
return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
|
|
1174
|
+
}), Ue = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], ze = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Ft = [...Ue, ...ze];
|
|
1175
|
+
function Ie(e, r, t, n) {
|
|
1176
|
+
const o = We(e, r, !0) ?? t;
|
|
1177
|
+
return typeof o == "number" || typeof o == "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 o == "string" ? `calc(${a} * ${o})` : o * a) : Array.isArray(o) ? (a) => {
|
|
1178
|
+
if (typeof a == "string")
|
|
1179
|
+
return a;
|
|
1180
|
+
const s = Math.abs(a);
|
|
1181
|
+
process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > o.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${s} > ${o.length - 1}, you need to add the missing values.`].join(`
|
|
1182
|
+
`)) : 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(`
|
|
1183
|
+
`)));
|
|
1184
|
+
const c = o[s];
|
|
1185
|
+
return a >= 0 ? c : typeof c == "number" ? -c : `-${c}`;
|
|
1186
|
+
} : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
|
|
1187
|
+
`)), () => {
|
|
1188
|
+
});
|
|
1189
|
+
}
|
|
1190
|
+
function gr(e) {
|
|
1191
|
+
return Ie(e, "spacing", 8, "spacing");
|
|
1192
|
+
}
|
|
1193
|
+
function Me(e, r) {
|
|
1194
|
+
return typeof r == "string" || r == null ? r : e(r);
|
|
1195
|
+
}
|
|
1196
|
+
function Vt(e, r) {
|
|
1197
|
+
return (t) => e.reduce((n, o) => (n[o] = Me(r, t), n), {});
|
|
1198
|
+
}
|
|
1199
|
+
function Lt(e, r, t, n) {
|
|
1200
|
+
if (!r.includes(t))
|
|
1201
|
+
return null;
|
|
1202
|
+
const o = jt(t), a = Vt(o, n), s = e[t];
|
|
1203
|
+
return ge(e, s, a);
|
|
1204
|
+
}
|
|
1205
|
+
function rt(e, r) {
|
|
1206
|
+
const t = gr(e.theme);
|
|
1207
|
+
return Object.keys(e).map((n) => Lt(e, r, n, t)).reduce(Re, {});
|
|
1208
|
+
}
|
|
1209
|
+
function H(e) {
|
|
1210
|
+
return rt(e, Ue);
|
|
1211
|
+
}
|
|
1212
|
+
H.propTypes = process.env.NODE_ENV !== "production" ? Ue.reduce((e, r) => (e[r] = be, e), {}) : {};
|
|
1213
|
+
H.filterProps = Ue;
|
|
1214
|
+
function Q(e) {
|
|
1215
|
+
return rt(e, ze);
|
|
1216
|
+
}
|
|
1217
|
+
Q.propTypes = process.env.NODE_ENV !== "production" ? ze.reduce((e, r) => (e[r] = be, e), {}) : {};
|
|
1218
|
+
Q.filterProps = ze;
|
|
1219
|
+
process.env.NODE_ENV !== "production" && Ft.reduce((e, r) => (e[r] = be, e), {});
|
|
1220
|
+
function Ye(...e) {
|
|
1221
|
+
const r = e.reduce((n, o) => (o.filterProps.forEach((a) => {
|
|
1222
|
+
n[a] = o;
|
|
1223
|
+
}), n), {}), t = (n) => Object.keys(n).reduce((o, a) => r[a] ? Re(o, r[a](n)) : o, {});
|
|
1224
|
+
return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, t.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), t;
|
|
1225
|
+
}
|
|
1226
|
+
function ce(e) {
|
|
1227
|
+
return typeof e != "number" ? e : `${e}px solid`;
|
|
1228
|
+
}
|
|
1229
|
+
function ue(e, r) {
|
|
1230
|
+
return J({
|
|
1231
|
+
prop: e,
|
|
1232
|
+
themeKey: "borders",
|
|
1233
|
+
transform: r
|
|
1234
|
+
});
|
|
1235
|
+
}
|
|
1236
|
+
const Wt = ue("border", ce), Ut = ue("borderTop", ce), zt = ue("borderRight", ce), Yt = ue("borderBottom", ce), Gt = ue("borderLeft", ce), qt = ue("borderColor"), Kt = ue("borderTopColor"), Ht = ue("borderRightColor"), Qt = ue("borderBottomColor"), Xt = ue("borderLeftColor"), Jt = ue("outline", ce), Zt = ue("outlineColor"), Ge = (e) => {
|
|
1237
|
+
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1238
|
+
const r = Ie(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
|
|
1239
|
+
borderRadius: Me(r, n)
|
|
1240
|
+
});
|
|
1241
|
+
return ge(e, e.borderRadius, t);
|
|
1242
|
+
}
|
|
1243
|
+
return null;
|
|
1244
|
+
};
|
|
1245
|
+
Ge.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1246
|
+
borderRadius: be
|
|
1247
|
+
} : {};
|
|
1248
|
+
Ge.filterProps = ["borderRadius"];
|
|
1249
|
+
Ye(Wt, Ut, zt, Yt, Gt, qt, Kt, Ht, Qt, Xt, Ge, Jt, Zt);
|
|
1250
|
+
const qe = (e) => {
|
|
1251
|
+
if (e.gap !== void 0 && e.gap !== null) {
|
|
1252
|
+
const r = Ie(e.theme, "spacing", 8, "gap"), t = (n) => ({
|
|
1253
|
+
gap: Me(r, n)
|
|
1254
|
+
});
|
|
1255
|
+
return ge(e, e.gap, t);
|
|
1256
|
+
}
|
|
1257
|
+
return null;
|
|
1258
|
+
};
|
|
1259
|
+
qe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1260
|
+
gap: be
|
|
1261
|
+
} : {};
|
|
1262
|
+
qe.filterProps = ["gap"];
|
|
1263
|
+
const Ke = (e) => {
|
|
1264
|
+
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
1265
|
+
const r = Ie(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
|
|
1266
|
+
columnGap: Me(r, n)
|
|
1267
|
+
});
|
|
1268
|
+
return ge(e, e.columnGap, t);
|
|
1269
|
+
}
|
|
1270
|
+
return null;
|
|
1271
|
+
};
|
|
1272
|
+
Ke.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1273
|
+
columnGap: be
|
|
1274
|
+
} : {};
|
|
1275
|
+
Ke.filterProps = ["columnGap"];
|
|
1276
|
+
const He = (e) => {
|
|
1277
|
+
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
1278
|
+
const r = Ie(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
|
|
1279
|
+
rowGap: Me(r, n)
|
|
1280
|
+
});
|
|
1281
|
+
return ge(e, e.rowGap, t);
|
|
1282
|
+
}
|
|
1283
|
+
return null;
|
|
1284
|
+
};
|
|
1285
|
+
He.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1286
|
+
rowGap: be
|
|
1287
|
+
} : {};
|
|
1288
|
+
He.filterProps = ["rowGap"];
|
|
1289
|
+
const en = J({
|
|
1290
|
+
prop: "gridColumn"
|
|
1291
|
+
}), rn = J({
|
|
1292
|
+
prop: "gridRow"
|
|
1293
|
+
}), tn = J({
|
|
1294
|
+
prop: "gridAutoFlow"
|
|
1295
|
+
}), nn = J({
|
|
1296
|
+
prop: "gridAutoColumns"
|
|
1297
|
+
}), on = J({
|
|
1298
|
+
prop: "gridAutoRows"
|
|
1299
|
+
}), an = J({
|
|
1300
|
+
prop: "gridTemplateColumns"
|
|
1301
|
+
}), sn = J({
|
|
1302
|
+
prop: "gridTemplateRows"
|
|
1303
|
+
}), cn = J({
|
|
1304
|
+
prop: "gridTemplateAreas"
|
|
1305
|
+
}), un = J({
|
|
1306
|
+
prop: "gridArea"
|
|
1307
|
+
});
|
|
1308
|
+
Ye(qe, Ke, He, en, rn, tn, nn, on, an, sn, cn, un);
|
|
1309
|
+
function Ae(e, r) {
|
|
1310
|
+
return r === "grey" ? r : e;
|
|
1311
|
+
}
|
|
1312
|
+
const ln = J({
|
|
1313
|
+
prop: "color",
|
|
1314
|
+
themeKey: "palette",
|
|
1315
|
+
transform: Ae
|
|
1316
|
+
}), fn = J({
|
|
1317
|
+
prop: "bgcolor",
|
|
1318
|
+
cssProperty: "backgroundColor",
|
|
1319
|
+
themeKey: "palette",
|
|
1320
|
+
transform: Ae
|
|
1321
|
+
}), dn = J({
|
|
1322
|
+
prop: "backgroundColor",
|
|
1323
|
+
themeKey: "palette",
|
|
1324
|
+
transform: Ae
|
|
1325
|
+
});
|
|
1326
|
+
Ye(ln, fn, dn);
|
|
1327
|
+
function oe(e) {
|
|
1328
|
+
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1329
|
+
}
|
|
1330
|
+
const pn = J({
|
|
1331
|
+
prop: "width",
|
|
1332
|
+
transform: oe
|
|
1333
|
+
}), yr = (e) => {
|
|
1334
|
+
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
1335
|
+
const r = (t) => {
|
|
1336
|
+
var o, a, s, c, l;
|
|
1337
|
+
const n = ((s = (a = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : a.values) == null ? void 0 : s[t]) || Le[t];
|
|
1338
|
+
return n ? ((l = (c = e.theme) == null ? void 0 : c.breakpoints) == null ? void 0 : l.unit) !== "px" ? {
|
|
1339
|
+
maxWidth: `${n}${e.theme.breakpoints.unit}`
|
|
1340
|
+
} : {
|
|
1341
|
+
maxWidth: n
|
|
1342
|
+
} : {
|
|
1343
|
+
maxWidth: oe(t)
|
|
1344
|
+
};
|
|
1345
|
+
};
|
|
1346
|
+
return ge(e, e.maxWidth, r);
|
|
1347
|
+
}
|
|
1348
|
+
return null;
|
|
1349
|
+
};
|
|
1350
|
+
yr.filterProps = ["maxWidth"];
|
|
1351
|
+
const mn = J({
|
|
1352
|
+
prop: "minWidth",
|
|
1353
|
+
transform: oe
|
|
1354
|
+
}), gn = J({
|
|
1355
|
+
prop: "height",
|
|
1356
|
+
transform: oe
|
|
1357
|
+
}), yn = J({
|
|
1358
|
+
prop: "maxHeight",
|
|
1359
|
+
transform: oe
|
|
1360
|
+
}), hn = J({
|
|
1361
|
+
prop: "minHeight",
|
|
1362
|
+
transform: oe
|
|
1363
|
+
});
|
|
1364
|
+
J({
|
|
1365
|
+
prop: "size",
|
|
1366
|
+
cssProperty: "width",
|
|
1367
|
+
transform: oe
|
|
1368
|
+
});
|
|
1369
|
+
J({
|
|
1370
|
+
prop: "size",
|
|
1371
|
+
cssProperty: "height",
|
|
1372
|
+
transform: oe
|
|
1373
|
+
});
|
|
1374
|
+
const bn = J({
|
|
1375
|
+
prop: "boxSizing"
|
|
1376
|
+
});
|
|
1377
|
+
Ye(pn, yr, mn, gn, yn, hn, bn);
|
|
1378
|
+
const Qe = {
|
|
1379
|
+
// borders
|
|
1380
|
+
border: {
|
|
1381
|
+
themeKey: "borders",
|
|
1382
|
+
transform: ce
|
|
1383
|
+
},
|
|
1384
|
+
borderTop: {
|
|
1385
|
+
themeKey: "borders",
|
|
1386
|
+
transform: ce
|
|
1387
|
+
},
|
|
1388
|
+
borderRight: {
|
|
1389
|
+
themeKey: "borders",
|
|
1390
|
+
transform: ce
|
|
1391
|
+
},
|
|
1392
|
+
borderBottom: {
|
|
1393
|
+
themeKey: "borders",
|
|
1394
|
+
transform: ce
|
|
1395
|
+
},
|
|
1396
|
+
borderLeft: {
|
|
1397
|
+
themeKey: "borders",
|
|
1398
|
+
transform: ce
|
|
1399
|
+
},
|
|
1400
|
+
borderColor: {
|
|
1401
|
+
themeKey: "palette"
|
|
1402
|
+
},
|
|
1403
|
+
borderTopColor: {
|
|
1404
|
+
themeKey: "palette"
|
|
1405
|
+
},
|
|
1406
|
+
borderRightColor: {
|
|
1407
|
+
themeKey: "palette"
|
|
1408
|
+
},
|
|
1409
|
+
borderBottomColor: {
|
|
1410
|
+
themeKey: "palette"
|
|
1411
|
+
},
|
|
1412
|
+
borderLeftColor: {
|
|
1413
|
+
themeKey: "palette"
|
|
1414
|
+
},
|
|
1415
|
+
outline: {
|
|
1416
|
+
themeKey: "borders",
|
|
1417
|
+
transform: ce
|
|
1418
|
+
},
|
|
1419
|
+
outlineColor: {
|
|
1420
|
+
themeKey: "palette"
|
|
1421
|
+
},
|
|
1422
|
+
borderRadius: {
|
|
1423
|
+
themeKey: "shape.borderRadius",
|
|
1424
|
+
style: Ge
|
|
1425
|
+
},
|
|
1426
|
+
// palette
|
|
1427
|
+
color: {
|
|
1428
|
+
themeKey: "palette",
|
|
1429
|
+
transform: Ae
|
|
1430
|
+
},
|
|
1431
|
+
bgcolor: {
|
|
1432
|
+
themeKey: "palette",
|
|
1433
|
+
cssProperty: "backgroundColor",
|
|
1434
|
+
transform: Ae
|
|
1435
|
+
},
|
|
1436
|
+
backgroundColor: {
|
|
1437
|
+
themeKey: "palette",
|
|
1438
|
+
transform: Ae
|
|
1439
|
+
},
|
|
1440
|
+
// spacing
|
|
1441
|
+
p: {
|
|
1442
|
+
style: Q
|
|
1443
|
+
},
|
|
1444
|
+
pt: {
|
|
1445
|
+
style: Q
|
|
1446
|
+
},
|
|
1447
|
+
pr: {
|
|
1448
|
+
style: Q
|
|
1449
|
+
},
|
|
1450
|
+
pb: {
|
|
1451
|
+
style: Q
|
|
1452
|
+
},
|
|
1453
|
+
pl: {
|
|
1454
|
+
style: Q
|
|
1455
|
+
},
|
|
1456
|
+
px: {
|
|
1457
|
+
style: Q
|
|
1458
|
+
},
|
|
1459
|
+
py: {
|
|
1460
|
+
style: Q
|
|
1461
|
+
},
|
|
1462
|
+
padding: {
|
|
1463
|
+
style: Q
|
|
1464
|
+
},
|
|
1465
|
+
paddingTop: {
|
|
1466
|
+
style: Q
|
|
1467
|
+
},
|
|
1468
|
+
paddingRight: {
|
|
1469
|
+
style: Q
|
|
1470
|
+
},
|
|
1471
|
+
paddingBottom: {
|
|
1472
|
+
style: Q
|
|
1473
|
+
},
|
|
1474
|
+
paddingLeft: {
|
|
1475
|
+
style: Q
|
|
1476
|
+
},
|
|
1477
|
+
paddingX: {
|
|
1478
|
+
style: Q
|
|
1479
|
+
},
|
|
1480
|
+
paddingY: {
|
|
1481
|
+
style: Q
|
|
1482
|
+
},
|
|
1483
|
+
paddingInline: {
|
|
1484
|
+
style: Q
|
|
1485
|
+
},
|
|
1486
|
+
paddingInlineStart: {
|
|
1487
|
+
style: Q
|
|
1488
|
+
},
|
|
1489
|
+
paddingInlineEnd: {
|
|
1490
|
+
style: Q
|
|
1491
|
+
},
|
|
1492
|
+
paddingBlock: {
|
|
1493
|
+
style: Q
|
|
1494
|
+
},
|
|
1495
|
+
paddingBlockStart: {
|
|
1496
|
+
style: Q
|
|
1497
|
+
},
|
|
1498
|
+
paddingBlockEnd: {
|
|
1499
|
+
style: Q
|
|
1500
|
+
},
|
|
1501
|
+
m: {
|
|
1502
|
+
style: H
|
|
1503
|
+
},
|
|
1504
|
+
mt: {
|
|
1505
|
+
style: H
|
|
1506
|
+
},
|
|
1507
|
+
mr: {
|
|
1508
|
+
style: H
|
|
1509
|
+
},
|
|
1510
|
+
mb: {
|
|
1511
|
+
style: H
|
|
1512
|
+
},
|
|
1513
|
+
ml: {
|
|
1514
|
+
style: H
|
|
1515
|
+
},
|
|
1516
|
+
mx: {
|
|
1517
|
+
style: H
|
|
1518
|
+
},
|
|
1519
|
+
my: {
|
|
1520
|
+
style: H
|
|
1521
|
+
},
|
|
1522
|
+
margin: {
|
|
1523
|
+
style: H
|
|
1524
|
+
},
|
|
1525
|
+
marginTop: {
|
|
1526
|
+
style: H
|
|
1527
|
+
},
|
|
1528
|
+
marginRight: {
|
|
1529
|
+
style: H
|
|
1530
|
+
},
|
|
1531
|
+
marginBottom: {
|
|
1532
|
+
style: H
|
|
1533
|
+
},
|
|
1534
|
+
marginLeft: {
|
|
1535
|
+
style: H
|
|
1536
|
+
},
|
|
1537
|
+
marginX: {
|
|
1538
|
+
style: H
|
|
1539
|
+
},
|
|
1540
|
+
marginY: {
|
|
1541
|
+
style: H
|
|
1542
|
+
},
|
|
1543
|
+
marginInline: {
|
|
1544
|
+
style: H
|
|
1545
|
+
},
|
|
1546
|
+
marginInlineStart: {
|
|
1547
|
+
style: H
|
|
1548
|
+
},
|
|
1549
|
+
marginInlineEnd: {
|
|
1550
|
+
style: H
|
|
1551
|
+
},
|
|
1552
|
+
marginBlock: {
|
|
1553
|
+
style: H
|
|
1554
|
+
},
|
|
1555
|
+
marginBlockStart: {
|
|
1556
|
+
style: H
|
|
1557
|
+
},
|
|
1558
|
+
marginBlockEnd: {
|
|
1559
|
+
style: H
|
|
1560
|
+
},
|
|
1561
|
+
// display
|
|
1562
|
+
displayPrint: {
|
|
1563
|
+
cssProperty: !1,
|
|
1564
|
+
transform: (e) => ({
|
|
1565
|
+
"@media print": {
|
|
1566
|
+
display: e
|
|
1567
|
+
}
|
|
1568
|
+
})
|
|
1569
|
+
},
|
|
1570
|
+
display: {},
|
|
1571
|
+
overflow: {},
|
|
1572
|
+
textOverflow: {},
|
|
1573
|
+
visibility: {},
|
|
1574
|
+
whiteSpace: {},
|
|
1575
|
+
// flexbox
|
|
1576
|
+
flexBasis: {},
|
|
1577
|
+
flexDirection: {},
|
|
1578
|
+
flexWrap: {},
|
|
1579
|
+
justifyContent: {},
|
|
1580
|
+
alignItems: {},
|
|
1581
|
+
alignContent: {},
|
|
1582
|
+
order: {},
|
|
1583
|
+
flex: {},
|
|
1584
|
+
flexGrow: {},
|
|
1585
|
+
flexShrink: {},
|
|
1586
|
+
alignSelf: {},
|
|
1587
|
+
justifyItems: {},
|
|
1588
|
+
justifySelf: {},
|
|
1589
|
+
// grid
|
|
1590
|
+
gap: {
|
|
1591
|
+
style: qe
|
|
1592
|
+
},
|
|
1593
|
+
rowGap: {
|
|
1594
|
+
style: He
|
|
1595
|
+
},
|
|
1596
|
+
columnGap: {
|
|
1597
|
+
style: Ke
|
|
1598
|
+
},
|
|
1599
|
+
gridColumn: {},
|
|
1600
|
+
gridRow: {},
|
|
1601
|
+
gridAutoFlow: {},
|
|
1602
|
+
gridAutoColumns: {},
|
|
1603
|
+
gridAutoRows: {},
|
|
1604
|
+
gridTemplateColumns: {},
|
|
1605
|
+
gridTemplateRows: {},
|
|
1606
|
+
gridTemplateAreas: {},
|
|
1607
|
+
gridArea: {},
|
|
1608
|
+
// positions
|
|
1609
|
+
position: {},
|
|
1610
|
+
zIndex: {
|
|
1611
|
+
themeKey: "zIndex"
|
|
1612
|
+
},
|
|
1613
|
+
top: {},
|
|
1614
|
+
right: {},
|
|
1615
|
+
bottom: {},
|
|
1616
|
+
left: {},
|
|
1617
|
+
// shadows
|
|
1618
|
+
boxShadow: {
|
|
1619
|
+
themeKey: "shadows"
|
|
1620
|
+
},
|
|
1621
|
+
// sizing
|
|
1622
|
+
width: {
|
|
1623
|
+
transform: oe
|
|
1624
|
+
},
|
|
1625
|
+
maxWidth: {
|
|
1626
|
+
style: yr
|
|
1627
|
+
},
|
|
1628
|
+
minWidth: {
|
|
1629
|
+
transform: oe
|
|
1630
|
+
},
|
|
1631
|
+
height: {
|
|
1632
|
+
transform: oe
|
|
1633
|
+
},
|
|
1634
|
+
maxHeight: {
|
|
1635
|
+
transform: oe
|
|
1636
|
+
},
|
|
1637
|
+
minHeight: {
|
|
1638
|
+
transform: oe
|
|
1639
|
+
},
|
|
1640
|
+
boxSizing: {},
|
|
1641
|
+
// typography
|
|
1642
|
+
font: {
|
|
1643
|
+
themeKey: "font"
|
|
1644
|
+
},
|
|
1645
|
+
fontFamily: {
|
|
1646
|
+
themeKey: "typography"
|
|
1647
|
+
},
|
|
1648
|
+
fontSize: {
|
|
1649
|
+
themeKey: "typography"
|
|
1650
|
+
},
|
|
1651
|
+
fontStyle: {
|
|
1652
|
+
themeKey: "typography"
|
|
1653
|
+
},
|
|
1654
|
+
fontWeight: {
|
|
1655
|
+
themeKey: "typography"
|
|
1656
|
+
},
|
|
1657
|
+
letterSpacing: {},
|
|
1658
|
+
textTransform: {},
|
|
1659
|
+
lineHeight: {},
|
|
1660
|
+
textAlign: {},
|
|
1661
|
+
typography: {
|
|
1662
|
+
cssProperty: !1,
|
|
1663
|
+
themeKey: "typography"
|
|
1664
|
+
}
|
|
1665
|
+
};
|
|
1666
|
+
function vn(...e) {
|
|
1667
|
+
const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
|
|
1668
|
+
return e.every((n) => t.size === Object.keys(n).length);
|
|
1669
|
+
}
|
|
1670
|
+
function Sn(e, r) {
|
|
1671
|
+
return typeof e == "function" ? e(r) : e;
|
|
1672
|
+
}
|
|
1673
|
+
function Cn() {
|
|
1674
|
+
function e(t, n, o, a) {
|
|
1675
|
+
const s = {
|
|
1676
|
+
[t]: n,
|
|
1677
|
+
theme: o
|
|
1678
|
+
}, c = a[t];
|
|
1679
|
+
if (!c)
|
|
1680
|
+
return {
|
|
1681
|
+
[t]: n
|
|
1682
|
+
};
|
|
1683
|
+
const {
|
|
1684
|
+
cssProperty: l = t,
|
|
1685
|
+
themeKey: f,
|
|
1686
|
+
transform: y,
|
|
1687
|
+
style: m
|
|
1688
|
+
} = c;
|
|
1689
|
+
if (n == null)
|
|
1690
|
+
return null;
|
|
1691
|
+
if (f === "typography" && n === "inherit")
|
|
1692
|
+
return {
|
|
1693
|
+
[t]: n
|
|
1694
|
+
};
|
|
1695
|
+
const g = We(o, f) || {};
|
|
1696
|
+
return m ? m(s) : ge(s, n, (T) => {
|
|
1697
|
+
let b = Ve(g, y, T);
|
|
1698
|
+
return T === b && typeof T == "string" && (b = Ve(g, y, `${t}${T === "default" ? "" : mr(T)}`, T)), l === !1 ? b : {
|
|
1699
|
+
[l]: b
|
|
1700
|
+
};
|
|
1701
|
+
});
|
|
1702
|
+
}
|
|
1703
|
+
function r(t) {
|
|
1704
|
+
const {
|
|
1705
|
+
sx: n,
|
|
1706
|
+
theme: o = {}
|
|
1707
|
+
} = t || {};
|
|
1708
|
+
if (!n)
|
|
1709
|
+
return null;
|
|
1710
|
+
const a = o.unstable_sxConfig ?? Qe;
|
|
1711
|
+
function s(c) {
|
|
1712
|
+
let l = c;
|
|
1713
|
+
if (typeof c == "function")
|
|
1714
|
+
l = c(o);
|
|
1715
|
+
else if (typeof c != "object")
|
|
1716
|
+
return c;
|
|
1717
|
+
if (!l)
|
|
1718
|
+
return null;
|
|
1719
|
+
const f = It(o.breakpoints), y = Object.keys(f);
|
|
1720
|
+
let m = f;
|
|
1721
|
+
return Object.keys(l).forEach((g) => {
|
|
1722
|
+
const E = Sn(l[g], o);
|
|
1723
|
+
if (E != null)
|
|
1724
|
+
if (typeof E == "object")
|
|
1725
|
+
if (a[g])
|
|
1726
|
+
m = Re(m, e(g, E, o, a));
|
|
1727
|
+
else {
|
|
1728
|
+
const T = ge({
|
|
1729
|
+
theme: o
|
|
1730
|
+
}, E, (b) => ({
|
|
1731
|
+
[g]: b
|
|
1732
|
+
}));
|
|
1733
|
+
vn(T, E) ? m[g] = r({
|
|
1734
|
+
sx: E,
|
|
1735
|
+
theme: o
|
|
1736
|
+
}) : m = Re(m, T);
|
|
1737
|
+
}
|
|
1738
|
+
else
|
|
1739
|
+
m = Re(m, e(g, E, o, a));
|
|
1740
|
+
}), xt(o, Mt(y, m));
|
|
1741
|
+
}
|
|
1742
|
+
return Array.isArray(n) ? n.map(s) : s(n);
|
|
1743
|
+
}
|
|
1744
|
+
return r;
|
|
1745
|
+
}
|
|
1746
|
+
const Oe = Cn();
|
|
1747
|
+
Oe.filterProps = ["sx"];
|
|
1748
|
+
/**
|
|
1749
|
+
* @mui/styled-engine v6.1.3
|
|
1750
|
+
*
|
|
1751
|
+
* @license MIT
|
|
1752
|
+
* This source code is licensed under the MIT license found in the
|
|
1753
|
+
* LICENSE file in the root directory of this source tree.
|
|
1754
|
+
*/
|
|
1755
|
+
function En(e, r) {
|
|
1756
|
+
const t = ut(e, r);
|
|
1757
|
+
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
1758
|
+
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
1759
|
+
return n.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
1760
|
+
`)) : n.some((a) => a === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), t(...n);
|
|
1761
|
+
} : t;
|
|
1762
|
+
}
|
|
1763
|
+
function Tn(e, r) {
|
|
1764
|
+
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
|
|
1765
|
+
}
|
|
1766
|
+
const jr = [];
|
|
1767
|
+
function Fr(e) {
|
|
1768
|
+
return jr[0] = e, lt(jr);
|
|
1769
|
+
}
|
|
1770
|
+
const wn = (e) => {
|
|
1771
|
+
const r = Object.keys(e).map((t) => ({
|
|
1772
|
+
key: t,
|
|
1773
|
+
val: e[t]
|
|
1774
|
+
})) || [];
|
|
1775
|
+
return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
|
|
1776
|
+
...t,
|
|
1777
|
+
[n.key]: n.val
|
|
1778
|
+
}), {});
|
|
1779
|
+
};
|
|
1780
|
+
function $n(e) {
|
|
1781
|
+
const {
|
|
1782
|
+
// The breakpoint **start** at this value.
|
|
1783
|
+
// For instance with the first breakpoint xs: [xs, sm).
|
|
1784
|
+
values: r = {
|
|
1785
|
+
xs: 0,
|
|
1786
|
+
// phone
|
|
1787
|
+
sm: 600,
|
|
1788
|
+
// tablet
|
|
1789
|
+
md: 900,
|
|
1790
|
+
// small laptop
|
|
1791
|
+
lg: 1200,
|
|
1792
|
+
// desktop
|
|
1793
|
+
xl: 1536
|
|
1794
|
+
// large screen
|
|
1795
|
+
},
|
|
1796
|
+
unit: t = "px",
|
|
1797
|
+
step: n = 5,
|
|
1798
|
+
...o
|
|
1799
|
+
} = e, a = wn(r), s = Object.keys(a);
|
|
1800
|
+
function c(g) {
|
|
1801
|
+
return `@media (min-width:${typeof r[g] == "number" ? r[g] : g}${t})`;
|
|
1802
|
+
}
|
|
1803
|
+
function l(g) {
|
|
1804
|
+
return `@media (max-width:${(typeof r[g] == "number" ? r[g] : g) - n / 100}${t})`;
|
|
1805
|
+
}
|
|
1806
|
+
function f(g, E) {
|
|
1807
|
+
const T = s.indexOf(E);
|
|
1808
|
+
return `@media (min-width:${typeof r[g] == "number" ? r[g] : g}${t}) and (max-width:${(T !== -1 && typeof r[s[T]] == "number" ? r[s[T]] : E) - n / 100}${t})`;
|
|
1809
|
+
}
|
|
1810
|
+
function y(g) {
|
|
1811
|
+
return s.indexOf(g) + 1 < s.length ? f(g, s[s.indexOf(g) + 1]) : c(g);
|
|
1812
|
+
}
|
|
1813
|
+
function m(g) {
|
|
1814
|
+
const E = s.indexOf(g);
|
|
1815
|
+
return E === 0 ? c(s[1]) : E === s.length - 1 ? l(s[E]) : f(g, s[s.indexOf(g) + 1]).replace("@media", "@media not all and");
|
|
1816
|
+
}
|
|
1817
|
+
return {
|
|
1818
|
+
keys: s,
|
|
1819
|
+
values: a,
|
|
1820
|
+
up: c,
|
|
1821
|
+
down: l,
|
|
1822
|
+
between: f,
|
|
1823
|
+
only: y,
|
|
1824
|
+
not: m,
|
|
1825
|
+
unit: t,
|
|
1826
|
+
...o
|
|
1827
|
+
};
|
|
1828
|
+
}
|
|
1829
|
+
const An = {
|
|
1830
|
+
borderRadius: 4
|
|
1831
|
+
};
|
|
1832
|
+
function tt(e = 8, r = gr({
|
|
1833
|
+
spacing: e
|
|
1834
|
+
})) {
|
|
1835
|
+
if (e.mui)
|
|
1836
|
+
return e;
|
|
1837
|
+
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) => {
|
|
1838
|
+
const s = r(a);
|
|
1839
|
+
return typeof s == "number" ? `${s}px` : s;
|
|
1840
|
+
}).join(" "));
|
|
1841
|
+
return t.mui = !0, t;
|
|
1842
|
+
}
|
|
1843
|
+
function On(e, r) {
|
|
1844
|
+
var n;
|
|
1845
|
+
const t = this;
|
|
1846
|
+
if (t.vars) {
|
|
1847
|
+
if (!((n = t.colorSchemes) != null && n[e]) || typeof t.getColorSchemeSelector != "function")
|
|
1848
|
+
return {};
|
|
1849
|
+
let o = t.getColorSchemeSelector(e);
|
|
1850
|
+
return o === "&" ? r : ((o.includes("data-") || o.includes(".")) && (o = `*:where(${o.replace(/\s*&$/, "")}) &`), {
|
|
1851
|
+
[o]: r
|
|
1852
|
+
});
|
|
1853
|
+
}
|
|
1854
|
+
return t.palette.mode === e ? r : {};
|
|
1855
|
+
}
|
|
1856
|
+
function nt(e = {}, ...r) {
|
|
1857
|
+
const {
|
|
1858
|
+
breakpoints: t = {},
|
|
1859
|
+
palette: n = {},
|
|
1860
|
+
spacing: o,
|
|
1861
|
+
shape: a = {},
|
|
1862
|
+
...s
|
|
1863
|
+
} = e, c = $n(t), l = tt(o);
|
|
1864
|
+
let f = ie({
|
|
1865
|
+
breakpoints: c,
|
|
1866
|
+
direction: "ltr",
|
|
1867
|
+
components: {},
|
|
1868
|
+
// Inject component definitions.
|
|
1869
|
+
palette: {
|
|
1870
|
+
mode: "light",
|
|
1871
|
+
...n
|
|
1872
|
+
},
|
|
1873
|
+
spacing: l,
|
|
1874
|
+
shape: {
|
|
1875
|
+
...An,
|
|
1876
|
+
...a
|
|
1877
|
+
}
|
|
1878
|
+
}, s);
|
|
1879
|
+
return f = Rt(f), f.applyStyles = On, f = r.reduce((y, m) => ie(y, m), f), f.unstable_sxConfig = {
|
|
1880
|
+
...Qe,
|
|
1881
|
+
...s == null ? void 0 : s.unstable_sxConfig
|
|
1882
|
+
}, f.unstable_sx = function(m) {
|
|
1883
|
+
return Oe({
|
|
1884
|
+
sx: m,
|
|
1885
|
+
theme: this
|
|
1886
|
+
});
|
|
1887
|
+
}, f;
|
|
1888
|
+
}
|
|
1889
|
+
function xn(e) {
|
|
1890
|
+
const {
|
|
1891
|
+
variants: r,
|
|
1892
|
+
...t
|
|
1893
|
+
} = e, n = {
|
|
1894
|
+
variants: r,
|
|
1895
|
+
style: Fr(t),
|
|
1896
|
+
isProcessed: !0
|
|
1897
|
+
};
|
|
1898
|
+
return n.style === t || r && r.forEach((o) => {
|
|
1899
|
+
typeof o.style != "function" && (o.style = Fr(o.style));
|
|
1900
|
+
}), n;
|
|
1901
|
+
}
|
|
1902
|
+
const _n = nt();
|
|
1903
|
+
function or(e) {
|
|
1904
|
+
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
1905
|
+
}
|
|
1906
|
+
function Pn(e) {
|
|
1907
|
+
return e ? (r, t) => t[e] : null;
|
|
1908
|
+
}
|
|
1909
|
+
function Rn(e, r, t) {
|
|
1910
|
+
e.theme = Nn(e.theme) ? t : e.theme[r] || e.theme;
|
|
1911
|
+
}
|
|
1912
|
+
function Fe(e, r) {
|
|
1913
|
+
const t = typeof r == "function" ? r(e) : r;
|
|
1914
|
+
if (Array.isArray(t))
|
|
1915
|
+
return t.flatMap((n) => Fe(e, n));
|
|
1916
|
+
if (Array.isArray(t == null ? void 0 : t.variants)) {
|
|
1917
|
+
let n;
|
|
1918
|
+
if (t.isProcessed)
|
|
1919
|
+
n = t.style;
|
|
1920
|
+
else {
|
|
1921
|
+
const {
|
|
1922
|
+
variants: o,
|
|
1923
|
+
...a
|
|
1924
|
+
} = t;
|
|
1925
|
+
n = a;
|
|
1926
|
+
}
|
|
1927
|
+
return ot(e, t.variants, [n]);
|
|
1928
|
+
}
|
|
1929
|
+
return t != null && t.isProcessed ? t.style : t;
|
|
1930
|
+
}
|
|
1931
|
+
function ot(e, r, t = []) {
|
|
1932
|
+
var o;
|
|
1933
|
+
let n;
|
|
1934
|
+
e: for (let a = 0; a < r.length; a += 1) {
|
|
1935
|
+
const s = r[a];
|
|
1936
|
+
if (typeof s.props == "function") {
|
|
1937
|
+
if (n ?? (n = {
|
|
1938
|
+
...e,
|
|
1939
|
+
...e.ownerState,
|
|
1940
|
+
ownerState: e.ownerState
|
|
1941
|
+
}), !s.props(n))
|
|
1942
|
+
continue;
|
|
1943
|
+
} else
|
|
1944
|
+
for (const c in s.props)
|
|
1945
|
+
if (e[c] !== s.props[c] && ((o = e.ownerState) == null ? void 0 : o[c]) !== s.props[c])
|
|
1946
|
+
continue e;
|
|
1947
|
+
typeof s.style == "function" ? (n ?? (n = {
|
|
1948
|
+
...e,
|
|
1949
|
+
...e.ownerState,
|
|
1950
|
+
ownerState: e.ownerState
|
|
1951
|
+
}), t.push(s.style(n))) : t.push(s.style);
|
|
1952
|
+
}
|
|
1953
|
+
return t;
|
|
1954
|
+
}
|
|
1955
|
+
function kn(e = {}) {
|
|
1956
|
+
const {
|
|
1957
|
+
themeId: r,
|
|
1958
|
+
defaultTheme: t = _n,
|
|
1959
|
+
rootShouldForwardProp: n = or,
|
|
1960
|
+
slotShouldForwardProp: o = or
|
|
1961
|
+
} = e;
|
|
1962
|
+
function a(c) {
|
|
1963
|
+
Rn(c, r, t);
|
|
1964
|
+
}
|
|
1965
|
+
return (c, l = {}) => {
|
|
1966
|
+
Tn(c, (d) => d.filter((j) => j !== Oe));
|
|
1967
|
+
const {
|
|
1968
|
+
name: f,
|
|
1969
|
+
slot: y,
|
|
1970
|
+
skipVariantsResolver: m,
|
|
1971
|
+
skipSx: g,
|
|
1972
|
+
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
1973
|
+
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
1974
|
+
overridesResolver: E = Pn(it(y)),
|
|
1975
|
+
...T
|
|
1976
|
+
} = l, b = m !== void 0 ? m : (
|
|
1977
|
+
// TODO v6: remove `Root` in the next major release
|
|
1978
|
+
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
1979
|
+
y && y !== "Root" && y !== "root" || !1
|
|
1980
|
+
), p = g || !1;
|
|
1981
|
+
let O = or;
|
|
1982
|
+
y === "Root" || y === "root" ? O = n : y ? O = o : Bn(c) && (O = void 0);
|
|
1983
|
+
const K = En(c, {
|
|
1984
|
+
shouldForwardProp: O,
|
|
1985
|
+
label: Mn(f, y),
|
|
1986
|
+
...T
|
|
1987
|
+
}), A = (d) => {
|
|
1988
|
+
if (typeof d == "function" && d.__emotion_real !== d)
|
|
1989
|
+
return function(X) {
|
|
1990
|
+
return Fe(X, d);
|
|
1991
|
+
};
|
|
1992
|
+
if (pe(d)) {
|
|
1993
|
+
const j = xn(d);
|
|
1994
|
+
return j.variants ? function(Z) {
|
|
1995
|
+
return Fe(Z, j);
|
|
1996
|
+
} : j.style;
|
|
1997
|
+
}
|
|
1998
|
+
return d;
|
|
1999
|
+
}, w = (...d) => {
|
|
2000
|
+
const j = [], X = d.map(A), Z = [];
|
|
2001
|
+
if (j.push(a), f && E && Z.push(function(x) {
|
|
2002
|
+
var re, ae;
|
|
2003
|
+
const G = (ae = (re = x.theme.components) == null ? void 0 : re[f]) == null ? void 0 : ae.styleOverrides;
|
|
2004
|
+
if (!G)
|
|
2005
|
+
return null;
|
|
2006
|
+
const te = {};
|
|
2007
|
+
for (const le in G)
|
|
2008
|
+
te[le] = Fe(x, G[le]);
|
|
2009
|
+
return E(x, te);
|
|
2010
|
+
}), f && !b && Z.push(function(x) {
|
|
2011
|
+
var te, re;
|
|
2012
|
+
const D = x.theme, G = (re = (te = D == null ? void 0 : D.components) == null ? void 0 : te[f]) == null ? void 0 : re.variants;
|
|
2013
|
+
return G ? ot(x, G) : null;
|
|
2014
|
+
}), p || Z.push(Oe), Array.isArray(X[0])) {
|
|
2015
|
+
const C = X.shift(), x = new Array(j.length).fill(""), D = new Array(Z.length).fill("");
|
|
2016
|
+
let G;
|
|
2017
|
+
G = [...x, ...C, ...D], G.raw = [...x, ...C.raw, ...D], j.unshift(G);
|
|
2018
|
+
}
|
|
2019
|
+
const ee = [...j, ...X, ...Z], i = K(...ee);
|
|
2020
|
+
return c.muiName && (i.muiName = c.muiName), process.env.NODE_ENV !== "production" && (i.displayName = In(f, y, c)), i;
|
|
2021
|
+
};
|
|
2022
|
+
return K.withConfig && (w.withConfig = K.withConfig), w;
|
|
2023
|
+
};
|
|
2024
|
+
}
|
|
2025
|
+
function In(e, r, t) {
|
|
2026
|
+
return e ? `${e}${mr(r || "")}` : `Styled(${Tt(t)})`;
|
|
2027
|
+
}
|
|
2028
|
+
function Mn(e, r) {
|
|
2029
|
+
let t;
|
|
2030
|
+
return process.env.NODE_ENV !== "production" && e && (t = `${e}-${it(r || "Root")}`), t;
|
|
2031
|
+
}
|
|
2032
|
+
function Nn(e) {
|
|
2033
|
+
for (const r in e)
|
|
2034
|
+
return !1;
|
|
2035
|
+
return !0;
|
|
2036
|
+
}
|
|
2037
|
+
function Bn(e) {
|
|
2038
|
+
return typeof e == "string" && // 96 is one less than the char code
|
|
2039
|
+
// for "a" so this is checking that
|
|
2040
|
+
// it's a lowercase character
|
|
2041
|
+
e.charCodeAt(0) > 96;
|
|
2042
|
+
}
|
|
2043
|
+
function it(e) {
|
|
2044
|
+
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
2045
|
+
}
|
|
2046
|
+
function hr(e, r = 0, t = 1) {
|
|
2047
|
+
return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), Ot(e, r, t);
|
|
2048
|
+
}
|
|
2049
|
+
function Dn(e) {
|
|
2050
|
+
e = e.slice(1);
|
|
2051
|
+
const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
2052
|
+
let t = e.match(r);
|
|
2053
|
+
return t && t[0].length === 1 && (t = t.map((n) => n + n)), t ? `rgb${t.length === 4 ? "a" : ""}(${t.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
2054
|
+
}
|
|
2055
|
+
function he(e) {
|
|
2056
|
+
if (e.type)
|
|
2057
|
+
return e;
|
|
2058
|
+
if (e.charAt(0) === "#")
|
|
2059
|
+
return he(Dn(e));
|
|
2060
|
+
const r = e.indexOf("("), t = e.substring(0, r);
|
|
2061
|
+
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
|
|
2062
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
2063
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : ye(9, e));
|
|
2064
|
+
let n = e.substring(r + 1, e.length - 1), o;
|
|
2065
|
+
if (t === "color") {
|
|
2066
|
+
if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(o))
|
|
2067
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
|
|
2068
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : ye(10, o));
|
|
2069
|
+
} else
|
|
2070
|
+
n = n.split(",");
|
|
2071
|
+
return n = n.map((a) => parseFloat(a)), {
|
|
2072
|
+
type: t,
|
|
2073
|
+
values: n,
|
|
2074
|
+
colorSpace: o
|
|
2075
|
+
};
|
|
2076
|
+
}
|
|
2077
|
+
const jn = (e) => {
|
|
2078
|
+
const r = he(e);
|
|
2079
|
+
return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
|
|
2080
|
+
}, _e = (e, r) => {
|
|
2081
|
+
try {
|
|
2082
|
+
return jn(e);
|
|
2083
|
+
} catch {
|
|
2084
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2085
|
+
}
|
|
2086
|
+
};
|
|
2087
|
+
function Xe(e) {
|
|
2088
|
+
const {
|
|
2089
|
+
type: r,
|
|
2090
|
+
colorSpace: t
|
|
2091
|
+
} = e;
|
|
2092
|
+
let {
|
|
2093
|
+
values: n
|
|
2094
|
+
} = e;
|
|
2095
|
+
return r.includes("rgb") ? n = n.map((o, a) => a < 3 ? parseInt(o, 10) : o) : r.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.includes("color") ? n = `${t} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
|
|
2096
|
+
}
|
|
2097
|
+
function at(e) {
|
|
2098
|
+
e = he(e);
|
|
2099
|
+
const {
|
|
2100
|
+
values: r
|
|
2101
|
+
} = e, t = r[0], n = r[1] / 100, o = r[2] / 100, a = n * Math.min(o, 1 - o), s = (f, y = (f + t / 30) % 12) => o - a * Math.max(Math.min(y - 3, 9 - y, 1), -1);
|
|
2102
|
+
let c = "rgb";
|
|
2103
|
+
const l = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
|
|
2104
|
+
return e.type === "hsla" && (c += "a", l.push(r[3])), Xe({
|
|
2105
|
+
type: c,
|
|
2106
|
+
values: l
|
|
2107
|
+
});
|
|
2108
|
+
}
|
|
2109
|
+
function fr(e) {
|
|
2110
|
+
e = he(e);
|
|
2111
|
+
let r = e.type === "hsl" || e.type === "hsla" ? he(at(e)).values : e.values;
|
|
2112
|
+
return r = r.map((t) => (e.type !== "color" && (t /= 255), t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
|
|
2113
|
+
}
|
|
2114
|
+
function Vr(e, r) {
|
|
2115
|
+
const t = fr(e), n = fr(r);
|
|
2116
|
+
return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
|
|
2117
|
+
}
|
|
2118
|
+
function Fn(e, r) {
|
|
2119
|
+
return e = he(e), r = hr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, Xe(e);
|
|
2120
|
+
}
|
|
2121
|
+
function De(e, r, t) {
|
|
2122
|
+
try {
|
|
2123
|
+
return Fn(e, r);
|
|
2124
|
+
} catch {
|
|
2125
|
+
return e;
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2128
|
+
function br(e, r) {
|
|
2129
|
+
if (e = he(e), r = hr(r), e.type.includes("hsl"))
|
|
2130
|
+
e.values[2] *= 1 - r;
|
|
2131
|
+
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
2132
|
+
for (let t = 0; t < 3; t += 1)
|
|
2133
|
+
e.values[t] *= 1 - r;
|
|
2134
|
+
return Xe(e);
|
|
2135
|
+
}
|
|
2136
|
+
function z(e, r, t) {
|
|
2137
|
+
try {
|
|
2138
|
+
return br(e, r);
|
|
2139
|
+
} catch {
|
|
2140
|
+
return e;
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
function vr(e, r) {
|
|
2144
|
+
if (e = he(e), r = hr(r), e.type.includes("hsl"))
|
|
2145
|
+
e.values[2] += (100 - e.values[2]) * r;
|
|
2146
|
+
else if (e.type.includes("rgb"))
|
|
2147
|
+
for (let t = 0; t < 3; t += 1)
|
|
2148
|
+
e.values[t] += (255 - e.values[t]) * r;
|
|
2149
|
+
else if (e.type.includes("color"))
|
|
2150
|
+
for (let t = 0; t < 3; t += 1)
|
|
2151
|
+
e.values[t] += (1 - e.values[t]) * r;
|
|
2152
|
+
return Xe(e);
|
|
2153
|
+
}
|
|
2154
|
+
function Y(e, r, t) {
|
|
2155
|
+
try {
|
|
2156
|
+
return vr(e, r);
|
|
2157
|
+
} catch {
|
|
2158
|
+
return e;
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
function Vn(e, r = 0.15) {
|
|
2162
|
+
return fr(e) > 0.5 ? br(e, r) : vr(e, r);
|
|
2163
|
+
}
|
|
2164
|
+
function je(e, r, t) {
|
|
2165
|
+
try {
|
|
2166
|
+
return Vn(e, r);
|
|
2167
|
+
} catch {
|
|
2168
|
+
return e;
|
|
2169
|
+
}
|
|
2170
|
+
}
|
|
2171
|
+
const Ln = /* @__PURE__ */ Kr.createContext(void 0);
|
|
2172
|
+
process.env.NODE_ENV !== "production" && (me.node, me.object);
|
|
2173
|
+
function Wn(e) {
|
|
2174
|
+
const {
|
|
2175
|
+
theme: r,
|
|
2176
|
+
name: t,
|
|
2177
|
+
props: n
|
|
2178
|
+
} = e;
|
|
2179
|
+
if (!r || !r.components || !r.components[t])
|
|
2180
|
+
return n;
|
|
2181
|
+
const o = r.components[t];
|
|
2182
|
+
return o.defaultProps ? lr(o.defaultProps, n) : !o.styleOverrides && !o.variants ? lr(o, n) : n;
|
|
2183
|
+
}
|
|
2184
|
+
function Un({
|
|
2185
|
+
props: e,
|
|
2186
|
+
name: r
|
|
2187
|
+
}) {
|
|
2188
|
+
const t = Kr.useContext(Ln);
|
|
2189
|
+
return Wn({
|
|
2190
|
+
props: e,
|
|
2191
|
+
name: r,
|
|
2192
|
+
theme: {
|
|
2193
|
+
components: t
|
|
2194
|
+
}
|
|
2195
|
+
});
|
|
2196
|
+
}
|
|
2197
|
+
function zn(e = "") {
|
|
2198
|
+
function r(...n) {
|
|
2199
|
+
if (!n.length)
|
|
2200
|
+
return "";
|
|
2201
|
+
const o = n[0];
|
|
2202
|
+
return typeof o == "string" && !o.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}-` : ""}${o}${r(...n.slice(1))})` : `, ${o}`;
|
|
2203
|
+
}
|
|
2204
|
+
return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${r(...o)})`;
|
|
2205
|
+
}
|
|
2206
|
+
const Lr = (e, r, t, n = []) => {
|
|
2207
|
+
let o = e;
|
|
2208
|
+
r.forEach((a, s) => {
|
|
2209
|
+
s === r.length - 1 ? Array.isArray(o) ? o[Number(a)] = t : o && typeof o == "object" && (o[a] = t) : o && typeof o == "object" && (o[a] || (o[a] = n.includes(a) ? [] : {}), o = o[a]);
|
|
2210
|
+
});
|
|
2211
|
+
}, Yn = (e, r, t) => {
|
|
2212
|
+
function n(o, a = [], s = []) {
|
|
2213
|
+
Object.entries(o).forEach(([c, l]) => {
|
|
2214
|
+
(!t || t && !t([...a, c])) && l != null && (typeof l == "object" && Object.keys(l).length > 0 ? n(l, [...a, c], Array.isArray(l) ? [...s, c] : s) : r([...a, c], l, s));
|
|
2215
|
+
});
|
|
2216
|
+
}
|
|
2217
|
+
n(e);
|
|
2218
|
+
}, Gn = (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;
|
|
2219
|
+
function ir(e, r) {
|
|
2220
|
+
const {
|
|
2221
|
+
prefix: t,
|
|
2222
|
+
shouldSkipGeneratingVar: n
|
|
2223
|
+
} = r || {}, o = {}, a = {}, s = {};
|
|
2224
|
+
return Yn(
|
|
2225
|
+
e,
|
|
2226
|
+
(c, l, f) => {
|
|
2227
|
+
if ((typeof l == "string" || typeof l == "number") && (!n || !n(c, l))) {
|
|
2228
|
+
const y = `--${t ? `${t}-` : ""}${c.join("-")}`, m = Gn(c, l);
|
|
2229
|
+
Object.assign(o, {
|
|
2230
|
+
[y]: m
|
|
2231
|
+
}), Lr(a, c, `var(${y})`, f), Lr(s, c, `var(${y}, ${m})`, f);
|
|
2232
|
+
}
|
|
2233
|
+
},
|
|
2234
|
+
(c) => c[0] === "vars"
|
|
2235
|
+
// skip 'vars/*' paths
|
|
2236
|
+
), {
|
|
2237
|
+
css: o,
|
|
2238
|
+
vars: a,
|
|
2239
|
+
varsWithDefaults: s
|
|
2240
|
+
};
|
|
2241
|
+
}
|
|
2242
|
+
function qn(e, r = {}) {
|
|
2243
|
+
const {
|
|
2244
|
+
getSelector: t = p,
|
|
2245
|
+
disableCssColorScheme: n,
|
|
2246
|
+
colorSchemeSelector: o
|
|
2247
|
+
} = r, {
|
|
2248
|
+
colorSchemes: a = {},
|
|
2249
|
+
components: s,
|
|
2250
|
+
defaultColorScheme: c = "light",
|
|
2251
|
+
...l
|
|
2252
|
+
} = e, {
|
|
2253
|
+
vars: f,
|
|
2254
|
+
css: y,
|
|
2255
|
+
varsWithDefaults: m
|
|
2256
|
+
} = ir(l, r);
|
|
2257
|
+
let g = m;
|
|
2258
|
+
const E = {}, {
|
|
2259
|
+
[c]: T,
|
|
2260
|
+
...b
|
|
2261
|
+
} = a;
|
|
2262
|
+
if (Object.entries(b || {}).forEach(([A, w]) => {
|
|
2263
|
+
const {
|
|
2264
|
+
vars: d,
|
|
2265
|
+
css: j,
|
|
2266
|
+
varsWithDefaults: X
|
|
2267
|
+
} = ir(w, r);
|
|
2268
|
+
g = ie(g, X), E[A] = {
|
|
2269
|
+
css: j,
|
|
2270
|
+
vars: d
|
|
2271
|
+
};
|
|
2272
|
+
}), T) {
|
|
2273
|
+
const {
|
|
2274
|
+
css: A,
|
|
2275
|
+
vars: w,
|
|
2276
|
+
varsWithDefaults: d
|
|
2277
|
+
} = ir(T, r);
|
|
2278
|
+
g = ie(g, d), E[c] = {
|
|
2279
|
+
css: A,
|
|
2280
|
+
vars: w
|
|
2281
|
+
};
|
|
2282
|
+
}
|
|
2283
|
+
function p(A, w) {
|
|
2284
|
+
var j, X;
|
|
2285
|
+
let d = o;
|
|
2286
|
+
if (o === "class" && (d = ".%s"), o === "data" && (d = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (d = `[${o}="%s"]`), A) {
|
|
2287
|
+
if (d === "media")
|
|
2288
|
+
return e.defaultColorScheme === A ? ":root" : {
|
|
2289
|
+
[`@media (prefers-color-scheme: ${((X = (j = a[A]) == null ? void 0 : j.palette) == null ? void 0 : X.mode) || A})`]: {
|
|
2290
|
+
":root": w
|
|
2291
|
+
}
|
|
2292
|
+
};
|
|
2293
|
+
if (d)
|
|
2294
|
+
return e.defaultColorScheme === A ? `:root, ${d.replace("%s", String(A))}` : d.replace("%s", String(A));
|
|
2295
|
+
}
|
|
2296
|
+
return ":root";
|
|
2297
|
+
}
|
|
2298
|
+
return {
|
|
2299
|
+
vars: g,
|
|
2300
|
+
generateThemeVars: () => {
|
|
2301
|
+
let A = {
|
|
2302
|
+
...f
|
|
2303
|
+
};
|
|
2304
|
+
return Object.entries(E).forEach(([, {
|
|
2305
|
+
vars: w
|
|
2306
|
+
}]) => {
|
|
2307
|
+
A = ie(A, w);
|
|
2308
|
+
}), A;
|
|
2309
|
+
},
|
|
2310
|
+
generateStyleSheets: () => {
|
|
2311
|
+
var Z, ee;
|
|
2312
|
+
const A = [], w = e.defaultColorScheme || "light";
|
|
2313
|
+
function d(i, C) {
|
|
2314
|
+
Object.keys(C).length && A.push(typeof i == "string" ? {
|
|
2315
|
+
[i]: {
|
|
2316
|
+
...C
|
|
2317
|
+
}
|
|
2318
|
+
} : i);
|
|
2319
|
+
}
|
|
2320
|
+
d(t(void 0, {
|
|
2321
|
+
...y
|
|
2322
|
+
}), y);
|
|
2323
|
+
const {
|
|
2324
|
+
[w]: j,
|
|
2325
|
+
...X
|
|
2326
|
+
} = E;
|
|
2327
|
+
if (j) {
|
|
2328
|
+
const {
|
|
2329
|
+
css: i
|
|
2330
|
+
} = j, C = (ee = (Z = a[w]) == null ? void 0 : Z.palette) == null ? void 0 : ee.mode, x = !n && C ? {
|
|
2331
|
+
colorScheme: C,
|
|
2332
|
+
...i
|
|
2333
|
+
} : {
|
|
2334
|
+
...i
|
|
2335
|
+
};
|
|
2336
|
+
d(t(w, {
|
|
2337
|
+
...x
|
|
2338
|
+
}), x);
|
|
2339
|
+
}
|
|
2340
|
+
return Object.entries(X).forEach(([i, {
|
|
2341
|
+
css: C
|
|
2342
|
+
}]) => {
|
|
2343
|
+
var G, te;
|
|
2344
|
+
const x = (te = (G = a[i]) == null ? void 0 : G.palette) == null ? void 0 : te.mode, D = !n && x ? {
|
|
2345
|
+
colorScheme: x,
|
|
2346
|
+
...C
|
|
2347
|
+
} : {
|
|
2348
|
+
...C
|
|
2349
|
+
};
|
|
2350
|
+
d(t(i, {
|
|
2351
|
+
...D
|
|
2352
|
+
}), D);
|
|
2353
|
+
}), A;
|
|
2354
|
+
}
|
|
2355
|
+
};
|
|
2356
|
+
}
|
|
2357
|
+
function Kn(e) {
|
|
2358
|
+
return function(t) {
|
|
2359
|
+
return e === "media" ? (process.env.NODE_ENV !== "production" && t !== "light" && t !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`), `@media (prefers-color-scheme: ${t})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${t}"] &` : e === "class" ? `.${t} &` : e === "data" ? `[data-${t}] &` : `${e.replace("%s", t)} &` : "&";
|
|
2360
|
+
};
|
|
2361
|
+
}
|
|
2362
|
+
const ke = {
|
|
2363
|
+
black: "#000",
|
|
2364
|
+
white: "#fff"
|
|
2365
|
+
}, Hn = {
|
|
2366
|
+
50: "#fafafa",
|
|
2367
|
+
100: "#f5f5f5",
|
|
2368
|
+
200: "#eeeeee",
|
|
2369
|
+
300: "#e0e0e0",
|
|
2370
|
+
400: "#bdbdbd",
|
|
2371
|
+
500: "#9e9e9e",
|
|
2372
|
+
600: "#757575",
|
|
2373
|
+
700: "#616161",
|
|
2374
|
+
800: "#424242",
|
|
2375
|
+
900: "#212121",
|
|
2376
|
+
A100: "#f5f5f5",
|
|
2377
|
+
A200: "#eeeeee",
|
|
2378
|
+
A400: "#bdbdbd",
|
|
2379
|
+
A700: "#616161"
|
|
2380
|
+
}, Ce = {
|
|
2381
|
+
50: "#f3e5f5",
|
|
2382
|
+
100: "#e1bee7",
|
|
2383
|
+
200: "#ce93d8",
|
|
2384
|
+
300: "#ba68c8",
|
|
2385
|
+
400: "#ab47bc",
|
|
2386
|
+
500: "#9c27b0",
|
|
2387
|
+
600: "#8e24aa",
|
|
2388
|
+
700: "#7b1fa2",
|
|
2389
|
+
800: "#6a1b9a",
|
|
2390
|
+
900: "#4a148c",
|
|
2391
|
+
A100: "#ea80fc",
|
|
2392
|
+
A200: "#e040fb",
|
|
2393
|
+
A400: "#d500f9",
|
|
2394
|
+
A700: "#aa00ff"
|
|
2395
|
+
}, Ee = {
|
|
2396
|
+
50: "#ffebee",
|
|
2397
|
+
100: "#ffcdd2",
|
|
2398
|
+
200: "#ef9a9a",
|
|
2399
|
+
300: "#e57373",
|
|
2400
|
+
400: "#ef5350",
|
|
2401
|
+
500: "#f44336",
|
|
2402
|
+
600: "#e53935",
|
|
2403
|
+
700: "#d32f2f",
|
|
2404
|
+
800: "#c62828",
|
|
2405
|
+
900: "#b71c1c",
|
|
2406
|
+
A100: "#ff8a80",
|
|
2407
|
+
A200: "#ff5252",
|
|
2408
|
+
A400: "#ff1744",
|
|
2409
|
+
A700: "#d50000"
|
|
2410
|
+
}, xe = {
|
|
2411
|
+
50: "#fff3e0",
|
|
2412
|
+
100: "#ffe0b2",
|
|
2413
|
+
200: "#ffcc80",
|
|
2414
|
+
300: "#ffb74d",
|
|
2415
|
+
400: "#ffa726",
|
|
2416
|
+
500: "#ff9800",
|
|
2417
|
+
600: "#fb8c00",
|
|
2418
|
+
700: "#f57c00",
|
|
2419
|
+
800: "#ef6c00",
|
|
2420
|
+
900: "#e65100",
|
|
2421
|
+
A100: "#ffd180",
|
|
2422
|
+
A200: "#ffab40",
|
|
2423
|
+
A400: "#ff9100",
|
|
2424
|
+
A700: "#ff6d00"
|
|
2425
|
+
}, Te = {
|
|
2426
|
+
50: "#e3f2fd",
|
|
2427
|
+
100: "#bbdefb",
|
|
2428
|
+
200: "#90caf9",
|
|
2429
|
+
300: "#64b5f6",
|
|
2430
|
+
400: "#42a5f5",
|
|
2431
|
+
500: "#2196f3",
|
|
2432
|
+
600: "#1e88e5",
|
|
2433
|
+
700: "#1976d2",
|
|
2434
|
+
800: "#1565c0",
|
|
2435
|
+
900: "#0d47a1",
|
|
2436
|
+
A100: "#82b1ff",
|
|
2437
|
+
A200: "#448aff",
|
|
2438
|
+
A400: "#2979ff",
|
|
2439
|
+
A700: "#2962ff"
|
|
2440
|
+
}, we = {
|
|
2441
|
+
50: "#e1f5fe",
|
|
2442
|
+
100: "#b3e5fc",
|
|
2443
|
+
200: "#81d4fa",
|
|
2444
|
+
300: "#4fc3f7",
|
|
2445
|
+
400: "#29b6f6",
|
|
2446
|
+
500: "#03a9f4",
|
|
2447
|
+
600: "#039be5",
|
|
2448
|
+
700: "#0288d1",
|
|
2449
|
+
800: "#0277bd",
|
|
2450
|
+
900: "#01579b",
|
|
2451
|
+
A100: "#80d8ff",
|
|
2452
|
+
A200: "#40c4ff",
|
|
2453
|
+
A400: "#00b0ff",
|
|
2454
|
+
A700: "#0091ea"
|
|
2455
|
+
}, $e = {
|
|
2456
|
+
50: "#e8f5e9",
|
|
2457
|
+
100: "#c8e6c9",
|
|
2458
|
+
200: "#a5d6a7",
|
|
2459
|
+
300: "#81c784",
|
|
2460
|
+
400: "#66bb6a",
|
|
2461
|
+
500: "#4caf50",
|
|
2462
|
+
600: "#43a047",
|
|
2463
|
+
700: "#388e3c",
|
|
2464
|
+
800: "#2e7d32",
|
|
2465
|
+
900: "#1b5e20",
|
|
2466
|
+
A100: "#b9f6ca",
|
|
2467
|
+
A200: "#69f0ae",
|
|
2468
|
+
A400: "#00e676",
|
|
2469
|
+
A700: "#00c853"
|
|
2470
|
+
}, Wr = {
|
|
2471
|
+
// The colors used to style the text.
|
|
2472
|
+
text: {
|
|
2473
|
+
// The most important text.
|
|
2474
|
+
primary: "rgba(0, 0, 0, 0.87)",
|
|
2475
|
+
// Secondary text.
|
|
2476
|
+
secondary: "rgba(0, 0, 0, 0.6)",
|
|
2477
|
+
// Disabled text have even lower visual prominence.
|
|
2478
|
+
disabled: "rgba(0, 0, 0, 0.38)"
|
|
2479
|
+
},
|
|
2480
|
+
// The color used to divide different elements.
|
|
2481
|
+
divider: "rgba(0, 0, 0, 0.12)",
|
|
2482
|
+
// The background colors used to style the surfaces.
|
|
2483
|
+
// Consistency between these values is important.
|
|
2484
|
+
background: {
|
|
2485
|
+
paper: ke.white,
|
|
2486
|
+
default: ke.white
|
|
2487
|
+
},
|
|
2488
|
+
// The colors used to style the action elements.
|
|
2489
|
+
action: {
|
|
2490
|
+
// The color of an active action like an icon button.
|
|
2491
|
+
active: "rgba(0, 0, 0, 0.54)",
|
|
2492
|
+
// The color of an hovered action.
|
|
2493
|
+
hover: "rgba(0, 0, 0, 0.04)",
|
|
2494
|
+
hoverOpacity: 0.04,
|
|
2495
|
+
// The color of a selected action.
|
|
2496
|
+
selected: "rgba(0, 0, 0, 0.08)",
|
|
2497
|
+
selectedOpacity: 0.08,
|
|
2498
|
+
// The color of a disabled action.
|
|
2499
|
+
disabled: "rgba(0, 0, 0, 0.26)",
|
|
2500
|
+
// The background color of a disabled action.
|
|
2501
|
+
disabledBackground: "rgba(0, 0, 0, 0.12)",
|
|
2502
|
+
disabledOpacity: 0.38,
|
|
2503
|
+
focus: "rgba(0, 0, 0, 0.12)",
|
|
2504
|
+
focusOpacity: 0.12,
|
|
2505
|
+
activatedOpacity: 0.12
|
|
2506
|
+
}
|
|
2507
|
+
}, ar = {
|
|
2508
|
+
text: {
|
|
2509
|
+
primary: ke.white,
|
|
2510
|
+
secondary: "rgba(255, 255, 255, 0.7)",
|
|
2511
|
+
disabled: "rgba(255, 255, 255, 0.5)",
|
|
2512
|
+
icon: "rgba(255, 255, 255, 0.5)"
|
|
2513
|
+
},
|
|
2514
|
+
divider: "rgba(255, 255, 255, 0.12)",
|
|
2515
|
+
background: {
|
|
2516
|
+
paper: "#121212",
|
|
2517
|
+
default: "#121212"
|
|
2518
|
+
},
|
|
2519
|
+
action: {
|
|
2520
|
+
active: ke.white,
|
|
2521
|
+
hover: "rgba(255, 255, 255, 0.08)",
|
|
2522
|
+
hoverOpacity: 0.08,
|
|
2523
|
+
selected: "rgba(255, 255, 255, 0.16)",
|
|
2524
|
+
selectedOpacity: 0.16,
|
|
2525
|
+
disabled: "rgba(255, 255, 255, 0.3)",
|
|
2526
|
+
disabledBackground: "rgba(255, 255, 255, 0.12)",
|
|
2527
|
+
disabledOpacity: 0.38,
|
|
2528
|
+
focus: "rgba(255, 255, 255, 0.12)",
|
|
2529
|
+
focusOpacity: 0.12,
|
|
2530
|
+
activatedOpacity: 0.24
|
|
2531
|
+
}
|
|
2532
|
+
};
|
|
2533
|
+
function Ur(e, r, t, n) {
|
|
2534
|
+
const o = n.light || n, a = n.dark || n * 1.5;
|
|
2535
|
+
e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = vr(e.main, o) : r === "dark" && (e.dark = br(e.main, a)));
|
|
2536
|
+
}
|
|
2537
|
+
function Qn(e = "light") {
|
|
2538
|
+
return e === "dark" ? {
|
|
2539
|
+
main: Te[200],
|
|
2540
|
+
light: Te[50],
|
|
2541
|
+
dark: Te[400]
|
|
2542
|
+
} : {
|
|
2543
|
+
main: Te[700],
|
|
2544
|
+
light: Te[400],
|
|
2545
|
+
dark: Te[800]
|
|
2546
|
+
};
|
|
2547
|
+
}
|
|
2548
|
+
function Xn(e = "light") {
|
|
2549
|
+
return e === "dark" ? {
|
|
2550
|
+
main: Ce[200],
|
|
2551
|
+
light: Ce[50],
|
|
2552
|
+
dark: Ce[400]
|
|
2553
|
+
} : {
|
|
2554
|
+
main: Ce[500],
|
|
2555
|
+
light: Ce[300],
|
|
2556
|
+
dark: Ce[700]
|
|
2557
|
+
};
|
|
2558
|
+
}
|
|
2559
|
+
function Jn(e = "light") {
|
|
2560
|
+
return e === "dark" ? {
|
|
2561
|
+
main: Ee[500],
|
|
2562
|
+
light: Ee[300],
|
|
2563
|
+
dark: Ee[700]
|
|
2564
|
+
} : {
|
|
2565
|
+
main: Ee[700],
|
|
2566
|
+
light: Ee[400],
|
|
2567
|
+
dark: Ee[800]
|
|
2568
|
+
};
|
|
2569
|
+
}
|
|
2570
|
+
function Zn(e = "light") {
|
|
2571
|
+
return e === "dark" ? {
|
|
2572
|
+
main: we[400],
|
|
2573
|
+
light: we[300],
|
|
2574
|
+
dark: we[700]
|
|
2575
|
+
} : {
|
|
2576
|
+
main: we[700],
|
|
2577
|
+
light: we[500],
|
|
2578
|
+
dark: we[900]
|
|
2579
|
+
};
|
|
2580
|
+
}
|
|
2581
|
+
function eo(e = "light") {
|
|
2582
|
+
return e === "dark" ? {
|
|
2583
|
+
main: $e[400],
|
|
2584
|
+
light: $e[300],
|
|
2585
|
+
dark: $e[700]
|
|
2586
|
+
} : {
|
|
2587
|
+
main: $e[800],
|
|
2588
|
+
light: $e[500],
|
|
2589
|
+
dark: $e[900]
|
|
2590
|
+
};
|
|
2591
|
+
}
|
|
2592
|
+
function ro(e = "light") {
|
|
2593
|
+
return e === "dark" ? {
|
|
2594
|
+
main: xe[400],
|
|
2595
|
+
light: xe[300],
|
|
2596
|
+
dark: xe[700]
|
|
2597
|
+
} : {
|
|
2598
|
+
main: "#ed6c02",
|
|
2599
|
+
// closest to orange[800] that pass 3:1.
|
|
2600
|
+
light: xe[500],
|
|
2601
|
+
dark: xe[900]
|
|
2602
|
+
};
|
|
2603
|
+
}
|
|
2604
|
+
function Sr(e) {
|
|
2605
|
+
const {
|
|
2606
|
+
mode: r = "light",
|
|
2607
|
+
contrastThreshold: t = 3,
|
|
2608
|
+
tonalOffset: n = 0.2,
|
|
2609
|
+
...o
|
|
2610
|
+
} = e, a = e.primary || Qn(r), s = e.secondary || Xn(r), c = e.error || Jn(r), l = e.info || Zn(r), f = e.success || eo(r), y = e.warning || ro(r);
|
|
2611
|
+
function m(b) {
|
|
2612
|
+
const p = Vr(b, ar.text.primary) >= t ? ar.text.primary : Wr.text.primary;
|
|
2613
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2614
|
+
const O = Vr(b, p);
|
|
2615
|
+
O < 3 && console.error([`MUI: The contrast ratio of ${O}:1 for ${p} on ${b}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
2616
|
+
`));
|
|
2617
|
+
}
|
|
2618
|
+
return p;
|
|
2619
|
+
}
|
|
2620
|
+
const g = ({
|
|
2621
|
+
color: b,
|
|
2622
|
+
name: p,
|
|
2623
|
+
mainShade: O = 500,
|
|
2624
|
+
lightShade: K = 300,
|
|
2625
|
+
darkShade: A = 700
|
|
2626
|
+
}) => {
|
|
2627
|
+
if (b = {
|
|
2628
|
+
...b
|
|
2629
|
+
}, !b.main && b[O] && (b.main = b[O]), !b.hasOwnProperty("main"))
|
|
2630
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${p ? ` (${p})` : ""} provided to augmentColor(color) is invalid.
|
|
2631
|
+
The color object needs to have a \`main\` property or a \`${O}\` property.` : ye(11, p ? ` (${p})` : "", O));
|
|
2632
|
+
if (typeof b.main != "string")
|
|
2633
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${p ? ` (${p})` : ""} provided to augmentColor(color) is invalid.
|
|
2634
|
+
\`color.main\` should be a string, but \`${JSON.stringify(b.main)}\` was provided instead.
|
|
2635
|
+
|
|
2636
|
+
Did you intend to use one of the following approaches?
|
|
2637
|
+
|
|
2638
|
+
import { green } from "@mui/material/colors";
|
|
2639
|
+
|
|
2640
|
+
const theme1 = createTheme({ palette: {
|
|
2641
|
+
primary: green,
|
|
2642
|
+
} });
|
|
2643
|
+
|
|
2644
|
+
const theme2 = createTheme({ palette: {
|
|
2645
|
+
primary: { main: green[500] },
|
|
2646
|
+
} });` : ye(12, p ? ` (${p})` : "", JSON.stringify(b.main)));
|
|
2647
|
+
return Ur(b, "light", K, n), Ur(b, "dark", A, n), b.contrastText || (b.contrastText = m(b.main)), b;
|
|
2648
|
+
}, E = {
|
|
2649
|
+
dark: ar,
|
|
2650
|
+
light: Wr
|
|
2651
|
+
};
|
|
2652
|
+
return process.env.NODE_ENV !== "production" && (E[r] || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), ie({
|
|
2653
|
+
// A collection of common colors.
|
|
2654
|
+
common: {
|
|
2655
|
+
...ke
|
|
2656
|
+
},
|
|
2657
|
+
// prevent mutable object.
|
|
2658
|
+
// The palette mode, can be light or dark.
|
|
2659
|
+
mode: r,
|
|
2660
|
+
// The colors used to represent primary interface elements for a user.
|
|
2661
|
+
primary: g({
|
|
2662
|
+
color: a,
|
|
2663
|
+
name: "primary"
|
|
2664
|
+
}),
|
|
2665
|
+
// The colors used to represent secondary interface elements for a user.
|
|
2666
|
+
secondary: g({
|
|
2667
|
+
color: s,
|
|
2668
|
+
name: "secondary",
|
|
2669
|
+
mainShade: "A400",
|
|
2670
|
+
lightShade: "A200",
|
|
2671
|
+
darkShade: "A700"
|
|
2672
|
+
}),
|
|
2673
|
+
// The colors used to represent interface elements that the user should be made aware of.
|
|
2674
|
+
error: g({
|
|
2675
|
+
color: c,
|
|
2676
|
+
name: "error"
|
|
2677
|
+
}),
|
|
2678
|
+
// The colors used to represent potentially dangerous actions or important messages.
|
|
2679
|
+
warning: g({
|
|
2680
|
+
color: y,
|
|
2681
|
+
name: "warning"
|
|
2682
|
+
}),
|
|
2683
|
+
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
2684
|
+
info: g({
|
|
2685
|
+
color: l,
|
|
2686
|
+
name: "info"
|
|
2687
|
+
}),
|
|
2688
|
+
// The colors used to indicate the successful completion of an action that user triggered.
|
|
2689
|
+
success: g({
|
|
2690
|
+
color: f,
|
|
2691
|
+
name: "success"
|
|
2692
|
+
}),
|
|
2693
|
+
// The grey colors.
|
|
2694
|
+
grey: Hn,
|
|
2695
|
+
// Used by `getContrastText()` to maximize the contrast between
|
|
2696
|
+
// the background and the text.
|
|
2697
|
+
contrastThreshold: t,
|
|
2698
|
+
// Takes a background color and returns the text color that maximizes the contrast.
|
|
2699
|
+
getContrastText: m,
|
|
2700
|
+
// Generate a rich color object.
|
|
2701
|
+
augmentColor: g,
|
|
2702
|
+
// Used by the functions below to shift a color's luminance by approximately
|
|
2703
|
+
// two indexes within its tonal palette.
|
|
2704
|
+
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
2705
|
+
tonalOffset: n,
|
|
2706
|
+
// The light and dark mode object.
|
|
2707
|
+
...E[r]
|
|
2708
|
+
}, o);
|
|
2709
|
+
}
|
|
2710
|
+
function to(e) {
|
|
2711
|
+
const r = {};
|
|
2712
|
+
return Object.entries(e).forEach((n) => {
|
|
2713
|
+
const [o, a] = n;
|
|
2714
|
+
typeof a == "object" && (r[o] = `${a.fontStyle ? `${a.fontStyle} ` : ""}${a.fontVariant ? `${a.fontVariant} ` : ""}${a.fontWeight ? `${a.fontWeight} ` : ""}${a.fontStretch ? `${a.fontStretch} ` : ""}${a.fontSize || ""}${a.lineHeight ? `/${a.lineHeight} ` : ""}${a.fontFamily || ""}`);
|
|
2715
|
+
}), r;
|
|
2716
|
+
}
|
|
2717
|
+
function no(e, r) {
|
|
2718
|
+
return {
|
|
2719
|
+
toolbar: {
|
|
2720
|
+
minHeight: 56,
|
|
2721
|
+
[e.up("xs")]: {
|
|
2722
|
+
"@media (orientation: landscape)": {
|
|
2723
|
+
minHeight: 48
|
|
2724
|
+
}
|
|
2725
|
+
},
|
|
2726
|
+
[e.up("sm")]: {
|
|
2727
|
+
minHeight: 64
|
|
2728
|
+
}
|
|
2729
|
+
},
|
|
2730
|
+
...r
|
|
2731
|
+
};
|
|
2732
|
+
}
|
|
2733
|
+
function oo(e) {
|
|
2734
|
+
return Math.round(e * 1e5) / 1e5;
|
|
2735
|
+
}
|
|
2736
|
+
const zr = {
|
|
2737
|
+
textTransform: "uppercase"
|
|
2738
|
+
}, Yr = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
2739
|
+
function io(e, r) {
|
|
2740
|
+
const {
|
|
2741
|
+
fontFamily: t = Yr,
|
|
2742
|
+
// The default font size of the Material Specification.
|
|
2743
|
+
fontSize: n = 14,
|
|
2744
|
+
// px
|
|
2745
|
+
fontWeightLight: o = 300,
|
|
2746
|
+
fontWeightRegular: a = 400,
|
|
2747
|
+
fontWeightMedium: s = 500,
|
|
2748
|
+
fontWeightBold: c = 700,
|
|
2749
|
+
// Tell MUI what's the font-size on the html element.
|
|
2750
|
+
// 16px is the default font-size used by browsers.
|
|
2751
|
+
htmlFontSize: l = 16,
|
|
2752
|
+
// Apply the CSS properties to all the variants.
|
|
2753
|
+
allVariants: f,
|
|
2754
|
+
pxToRem: y,
|
|
2755
|
+
...m
|
|
2756
|
+
} = typeof r == "function" ? r(e) : r;
|
|
2757
|
+
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof l != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2758
|
+
const g = n / 14, E = y || ((p) => `${p / l * g}rem`), T = (p, O, K, A, w) => ({
|
|
2759
|
+
fontFamily: t,
|
|
2760
|
+
fontWeight: p,
|
|
2761
|
+
fontSize: E(O),
|
|
2762
|
+
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2763
|
+
lineHeight: K,
|
|
2764
|
+
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
2765
|
+
// across font-families can cause issues with the kerning.
|
|
2766
|
+
...t === Yr ? {
|
|
2767
|
+
letterSpacing: `${oo(A / O)}em`
|
|
2768
|
+
} : {},
|
|
2769
|
+
...w,
|
|
2770
|
+
...f
|
|
2771
|
+
}), b = {
|
|
2772
|
+
h1: T(o, 96, 1.167, -1.5),
|
|
2773
|
+
h2: T(o, 60, 1.2, -0.5),
|
|
2774
|
+
h3: T(a, 48, 1.167, 0),
|
|
2775
|
+
h4: T(a, 34, 1.235, 0.25),
|
|
2776
|
+
h5: T(a, 24, 1.334, 0),
|
|
2777
|
+
h6: T(s, 20, 1.6, 0.15),
|
|
2778
|
+
subtitle1: T(a, 16, 1.75, 0.15),
|
|
2779
|
+
subtitle2: T(s, 14, 1.57, 0.1),
|
|
2780
|
+
body1: T(a, 16, 1.5, 0.15),
|
|
2781
|
+
body2: T(a, 14, 1.43, 0.15),
|
|
2782
|
+
button: T(s, 14, 1.75, 0.4, zr),
|
|
2783
|
+
caption: T(a, 12, 1.66, 0.4),
|
|
2784
|
+
overline: T(a, 12, 2.66, 1, zr),
|
|
2785
|
+
// 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.
|
|
2786
|
+
inherit: {
|
|
2787
|
+
fontFamily: "inherit",
|
|
2788
|
+
fontWeight: "inherit",
|
|
2789
|
+
fontSize: "inherit",
|
|
2790
|
+
lineHeight: "inherit",
|
|
2791
|
+
letterSpacing: "inherit"
|
|
2792
|
+
}
|
|
2793
|
+
};
|
|
2794
|
+
return ie({
|
|
2795
|
+
htmlFontSize: l,
|
|
2796
|
+
pxToRem: E,
|
|
2797
|
+
fontFamily: t,
|
|
2798
|
+
fontSize: n,
|
|
2799
|
+
fontWeightLight: o,
|
|
2800
|
+
fontWeightRegular: a,
|
|
2801
|
+
fontWeightMedium: s,
|
|
2802
|
+
fontWeightBold: c,
|
|
2803
|
+
...b
|
|
2804
|
+
}, m, {
|
|
2805
|
+
clone: !1
|
|
2806
|
+
// No need to clone deep
|
|
2807
|
+
});
|
|
2808
|
+
}
|
|
2809
|
+
const ao = 0.2, so = 0.14, co = 0.12;
|
|
2810
|
+
function q(...e) {
|
|
2811
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ao})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${so})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${co})`].join(",");
|
|
2812
|
+
}
|
|
2813
|
+
const uo = ["none", q(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), q(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), q(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), q(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), q(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), q(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), q(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), q(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), q(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), q(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), q(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), q(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), q(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), q(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), q(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), q(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), q(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), q(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), q(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), q(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), q(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), q(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), q(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), q(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], lo = {
|
|
2814
|
+
// This is the most common easing curve.
|
|
2815
|
+
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2816
|
+
// Objects enter the screen at full velocity from off-screen and
|
|
2817
|
+
// slowly decelerate to a resting point.
|
|
2818
|
+
easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
|
|
2819
|
+
// Objects leave the screen at full velocity. They do not decelerate when off-screen.
|
|
2820
|
+
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2821
|
+
// The sharp curve is used by objects that may return to the screen at any time.
|
|
2822
|
+
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
2823
|
+
}, fo = {
|
|
2824
|
+
shortest: 150,
|
|
2825
|
+
shorter: 200,
|
|
2826
|
+
short: 250,
|
|
2827
|
+
// most basic recommended timing
|
|
2828
|
+
standard: 300,
|
|
2829
|
+
// this is to be used in complex animations
|
|
2830
|
+
complex: 375,
|
|
2831
|
+
// recommended when something is entering screen
|
|
2832
|
+
enteringScreen: 225,
|
|
2833
|
+
// recommended when something is leaving screen
|
|
2834
|
+
leavingScreen: 195
|
|
2835
|
+
};
|
|
2836
|
+
function Gr(e) {
|
|
2837
|
+
return `${Math.round(e)}ms`;
|
|
2838
|
+
}
|
|
2839
|
+
function po(e) {
|
|
2840
|
+
if (!e)
|
|
2841
|
+
return 0;
|
|
2842
|
+
const r = e / 36;
|
|
2843
|
+
return Math.min(Math.round((4 + 15 * r ** 0.25 + r / 5) * 10), 3e3);
|
|
2844
|
+
}
|
|
2845
|
+
function mo(e) {
|
|
2846
|
+
const r = {
|
|
2847
|
+
...lo,
|
|
2848
|
+
...e.easing
|
|
2849
|
+
}, t = {
|
|
2850
|
+
...fo,
|
|
2851
|
+
...e.duration
|
|
2852
|
+
};
|
|
2853
|
+
return {
|
|
2854
|
+
getAutoHeightDuration: po,
|
|
2855
|
+
create: (o = ["all"], a = {}) => {
|
|
2856
|
+
const {
|
|
2857
|
+
duration: s = t.standard,
|
|
2858
|
+
easing: c = r.easeInOut,
|
|
2859
|
+
delay: l = 0,
|
|
2860
|
+
...f
|
|
2861
|
+
} = a;
|
|
2862
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2863
|
+
const y = (g) => typeof g == "string", m = (g) => !Number.isNaN(parseFloat(g));
|
|
2864
|
+
!y(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !m(s) && !y(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), y(c) || console.error('MUI: Argument "easing" must be a string.'), !m(l) && !y(l) && 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(`
|
|
2865
|
+
`)), Object.keys(f).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`);
|
|
2866
|
+
}
|
|
2867
|
+
return (Array.isArray(o) ? o : [o]).map((y) => `${y} ${typeof s == "string" ? s : Gr(s)} ${c} ${typeof l == "string" ? l : Gr(l)}`).join(",");
|
|
2868
|
+
},
|
|
2869
|
+
...e,
|
|
2870
|
+
easing: r,
|
|
2871
|
+
duration: t
|
|
2872
|
+
};
|
|
2873
|
+
}
|
|
2874
|
+
const go = {
|
|
2875
|
+
mobileStepper: 1e3,
|
|
2876
|
+
fab: 1050,
|
|
2877
|
+
speedDial: 1050,
|
|
2878
|
+
appBar: 1100,
|
|
2879
|
+
drawer: 1200,
|
|
2880
|
+
modal: 1300,
|
|
2881
|
+
snackbar: 1400,
|
|
2882
|
+
tooltip: 1500
|
|
2883
|
+
};
|
|
2884
|
+
function dr(e = {}, ...r) {
|
|
2885
|
+
const {
|
|
2886
|
+
breakpoints: t,
|
|
2887
|
+
mixins: n = {},
|
|
2888
|
+
spacing: o,
|
|
2889
|
+
palette: a = {},
|
|
2890
|
+
transitions: s = {},
|
|
2891
|
+
typography: c = {},
|
|
2892
|
+
shape: l,
|
|
2893
|
+
...f
|
|
2894
|
+
} = e;
|
|
2895
|
+
if (e.vars)
|
|
2896
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : ye(20));
|
|
2897
|
+
const y = Sr(a), m = nt(e);
|
|
2898
|
+
let g = ie(m, {
|
|
2899
|
+
mixins: no(m.breakpoints, n),
|
|
2900
|
+
palette: y,
|
|
2901
|
+
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2902
|
+
shadows: uo.slice(),
|
|
2903
|
+
typography: io(y, c),
|
|
2904
|
+
transitions: mo(s),
|
|
2905
|
+
zIndex: {
|
|
2906
|
+
...go
|
|
2907
|
+
}
|
|
2908
|
+
});
|
|
2909
|
+
if (g = ie(g, f), g = r.reduce((E, T) => ie(E, T), g), process.env.NODE_ENV !== "production") {
|
|
2910
|
+
const E = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], T = (b, p) => {
|
|
2911
|
+
let O;
|
|
2912
|
+
for (O in b) {
|
|
2913
|
+
const K = b[O];
|
|
2914
|
+
if (E.includes(O) && Object.keys(K).length > 0) {
|
|
2915
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2916
|
+
const A = Zr("", O);
|
|
2917
|
+
console.error([`MUI: The \`${p}\` component increases the CSS specificity of the \`${O}\` internal state.`, "You can not override it like this: ", JSON.stringify(b, null, 2), "", `Instead, you need to use the '&.${A}' syntax:`, JSON.stringify({
|
|
2918
|
+
root: {
|
|
2919
|
+
[`&.${A}`]: K
|
|
2920
|
+
}
|
|
2921
|
+
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
2922
|
+
`));
|
|
2923
|
+
}
|
|
2924
|
+
b[O] = {};
|
|
2925
|
+
}
|
|
2926
|
+
}
|
|
2927
|
+
};
|
|
2928
|
+
Object.keys(g.components).forEach((b) => {
|
|
2929
|
+
const p = g.components[b].styleOverrides;
|
|
2930
|
+
p && b.startsWith("Mui") && T(p, b);
|
|
2931
|
+
});
|
|
2932
|
+
}
|
|
2933
|
+
return g.unstable_sxConfig = {
|
|
2934
|
+
...Qe,
|
|
2935
|
+
...f == null ? void 0 : f.unstable_sxConfig
|
|
2936
|
+
}, g.unstable_sx = function(T) {
|
|
2937
|
+
return Oe({
|
|
2938
|
+
sx: T,
|
|
2939
|
+
theme: this
|
|
2940
|
+
});
|
|
2941
|
+
}, g;
|
|
2942
|
+
}
|
|
2943
|
+
function yo(e) {
|
|
2944
|
+
let r;
|
|
2945
|
+
return e < 1 ? r = 5.11916 * e ** 2 : r = 4.5 * Math.log(e + 1) + 2, Math.round(r * 10) / 1e3;
|
|
2946
|
+
}
|
|
2947
|
+
const ho = [...Array(25)].map((e, r) => {
|
|
2948
|
+
if (r === 0)
|
|
2949
|
+
return "none";
|
|
2950
|
+
const t = yo(r);
|
|
2951
|
+
return `linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`;
|
|
2952
|
+
});
|
|
2953
|
+
function st(e) {
|
|
2954
|
+
return {
|
|
2955
|
+
inputPlaceholder: e === "dark" ? 0.5 : 0.42,
|
|
2956
|
+
inputUnderline: e === "dark" ? 0.7 : 0.42,
|
|
2957
|
+
switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
|
|
2958
|
+
switchTrack: e === "dark" ? 0.3 : 0.38
|
|
2959
|
+
};
|
|
2960
|
+
}
|
|
2961
|
+
function ct(e) {
|
|
2962
|
+
return e === "dark" ? ho : [];
|
|
2963
|
+
}
|
|
2964
|
+
function bo(e) {
|
|
2965
|
+
const {
|
|
2966
|
+
palette: r = {
|
|
2967
|
+
mode: "light"
|
|
2968
|
+
},
|
|
2969
|
+
// need to cast to avoid module augmentation test
|
|
2970
|
+
opacity: t,
|
|
2971
|
+
overlays: n,
|
|
2972
|
+
...o
|
|
2973
|
+
} = e, a = Sr(r);
|
|
2974
|
+
return {
|
|
2975
|
+
palette: a,
|
|
2976
|
+
opacity: {
|
|
2977
|
+
...st(a.mode),
|
|
2978
|
+
...t
|
|
2979
|
+
},
|
|
2980
|
+
overlays: n || ct(a.mode),
|
|
2981
|
+
...o
|
|
2982
|
+
};
|
|
2983
|
+
}
|
|
2984
|
+
function vo(e) {
|
|
2985
|
+
var r;
|
|
2986
|
+
return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
|
|
2987
|
+
e[0] === "palette" && !!((r = e[1]) != null && r.match(/(mode|contrastThreshold|tonalOffset)/));
|
|
2988
|
+
}
|
|
2989
|
+
const So = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], Co = (e) => (r, t) => {
|
|
2990
|
+
const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
|
|
2991
|
+
let a = o;
|
|
2992
|
+
if (o === "class" && (a = ".%s"), o === "data" && (a = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (a = `[${o}="%s"]`), e.defaultColorScheme === r) {
|
|
2993
|
+
if (r === "dark") {
|
|
2994
|
+
const s = {};
|
|
2995
|
+
return So(e.cssVarPrefix).forEach((c) => {
|
|
2996
|
+
s[c] = t[c], delete t[c];
|
|
2997
|
+
}), a === "media" ? {
|
|
2998
|
+
[n]: t,
|
|
2999
|
+
"@media (prefers-color-scheme: dark)": {
|
|
3000
|
+
[n]: s
|
|
3001
|
+
}
|
|
3002
|
+
} : a ? {
|
|
3003
|
+
[a.replace("%s", r)]: s,
|
|
3004
|
+
[`${n}, ${a.replace("%s", r)}`]: t
|
|
3005
|
+
} : {
|
|
3006
|
+
[n]: {
|
|
3007
|
+
...t,
|
|
3008
|
+
...s
|
|
3009
|
+
}
|
|
3010
|
+
};
|
|
3011
|
+
}
|
|
3012
|
+
if (a && a !== "media")
|
|
3013
|
+
return `${n}, ${a.replace("%s", String(r))}`;
|
|
3014
|
+
} else if (r) {
|
|
3015
|
+
if (a === "media")
|
|
3016
|
+
return {
|
|
3017
|
+
[`@media (prefers-color-scheme: ${String(r)})`]: {
|
|
3018
|
+
[n]: t
|
|
3019
|
+
}
|
|
3020
|
+
};
|
|
3021
|
+
if (a)
|
|
3022
|
+
return a.replace("%s", String(r));
|
|
3023
|
+
}
|
|
3024
|
+
return n;
|
|
3025
|
+
};
|
|
3026
|
+
function Eo(e) {
|
|
3027
|
+
return pe(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
3028
|
+
}
|
|
3029
|
+
function To(e = {}) {
|
|
3030
|
+
const r = {
|
|
3031
|
+
...e
|
|
3032
|
+
};
|
|
3033
|
+
function t(n) {
|
|
3034
|
+
const o = Object.entries(n);
|
|
3035
|
+
for (let a = 0; a < o.length; a++) {
|
|
3036
|
+
const [s, c] = o[a];
|
|
3037
|
+
!Eo(c) || s.startsWith("unstable_") ? delete n[s] : pe(c) && (n[s] = {
|
|
3038
|
+
...c
|
|
3039
|
+
}, t(n[s]));
|
|
3040
|
+
}
|
|
3041
|
+
}
|
|
3042
|
+
return t(r), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
3043
|
+
|
|
3044
|
+
const theme = ${JSON.stringify(r, null, 2)};
|
|
3045
|
+
|
|
3046
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
3047
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
3048
|
+
|
|
3049
|
+
export default theme;`;
|
|
3050
|
+
}
|
|
3051
|
+
function wo(e, r) {
|
|
3052
|
+
r.forEach((t) => {
|
|
3053
|
+
e[t] || (e[t] = {});
|
|
3054
|
+
});
|
|
3055
|
+
}
|
|
3056
|
+
function u(e, r, t) {
|
|
3057
|
+
!e[r] && t && (e[r] = t);
|
|
3058
|
+
}
|
|
3059
|
+
function Pe(e) {
|
|
3060
|
+
return !e || !e.startsWith("hsl") ? e : at(e);
|
|
3061
|
+
}
|
|
3062
|
+
function de(e, r) {
|
|
3063
|
+
`${r}Channel` in e || (e[`${r}Channel`] = _e(Pe(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().
|
|
3064
|
+
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.`));
|
|
3065
|
+
}
|
|
3066
|
+
function $o(e) {
|
|
3067
|
+
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
3068
|
+
}
|
|
3069
|
+
const fe = (e) => {
|
|
3070
|
+
try {
|
|
3071
|
+
return e();
|
|
3072
|
+
} catch {
|
|
3073
|
+
}
|
|
3074
|
+
}, Ao = (e = "mui") => zn(e);
|
|
3075
|
+
function sr(e, r, t, n) {
|
|
3076
|
+
if (!r)
|
|
3077
|
+
return;
|
|
3078
|
+
r = r === !0 ? {} : r;
|
|
3079
|
+
const o = n === "dark" ? "dark" : "light";
|
|
3080
|
+
if (!t) {
|
|
3081
|
+
e[n] = bo({
|
|
3082
|
+
...r,
|
|
3083
|
+
palette: {
|
|
3084
|
+
mode: o,
|
|
3085
|
+
...r == null ? void 0 : r.palette
|
|
3086
|
+
}
|
|
3087
|
+
});
|
|
3088
|
+
return;
|
|
3089
|
+
}
|
|
3090
|
+
const {
|
|
3091
|
+
palette: a,
|
|
3092
|
+
...s
|
|
3093
|
+
} = dr({
|
|
3094
|
+
...t,
|
|
3095
|
+
palette: {
|
|
3096
|
+
mode: o,
|
|
3097
|
+
...r == null ? void 0 : r.palette
|
|
3098
|
+
}
|
|
3099
|
+
});
|
|
3100
|
+
return e[n] = {
|
|
3101
|
+
...r,
|
|
3102
|
+
palette: a,
|
|
3103
|
+
opacity: {
|
|
3104
|
+
...st(o),
|
|
3105
|
+
...r == null ? void 0 : r.opacity
|
|
3106
|
+
},
|
|
3107
|
+
overlays: (r == null ? void 0 : r.overlays) || ct(o)
|
|
3108
|
+
}, s;
|
|
3109
|
+
}
|
|
3110
|
+
function Oo(e = {}, ...r) {
|
|
3111
|
+
const {
|
|
3112
|
+
colorSchemes: t = {
|
|
3113
|
+
light: !0
|
|
3114
|
+
},
|
|
3115
|
+
defaultColorScheme: n,
|
|
3116
|
+
disableCssColorScheme: o = !1,
|
|
3117
|
+
cssVarPrefix: a = "mui",
|
|
3118
|
+
shouldSkipGeneratingVar: s = vo,
|
|
3119
|
+
colorSchemeSelector: c = t.light && t.dark ? "media" : void 0,
|
|
3120
|
+
rootSelector: l = ":root",
|
|
3121
|
+
...f
|
|
3122
|
+
} = e, y = Object.keys(t)[0], m = n || (t.light && y !== "light" ? "light" : y), g = Ao(a), {
|
|
3123
|
+
[m]: E,
|
|
3124
|
+
light: T,
|
|
3125
|
+
dark: b,
|
|
3126
|
+
...p
|
|
3127
|
+
} = t, O = {
|
|
3128
|
+
...p
|
|
3129
|
+
};
|
|
3130
|
+
let K = E;
|
|
3131
|
+
if ((m === "dark" && !("dark" in t) || m === "light" && !("light" in t)) && (K = !0), !K)
|
|
3132
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${m}\` option is either missing or invalid.` : ye(21, m));
|
|
3133
|
+
const A = sr(O, K, f, m);
|
|
3134
|
+
T && !O.light && sr(O, T, void 0, "light"), b && !O.dark && sr(O, b, void 0, "dark");
|
|
3135
|
+
let w = {
|
|
3136
|
+
defaultColorScheme: m,
|
|
3137
|
+
...A,
|
|
3138
|
+
cssVarPrefix: a,
|
|
3139
|
+
colorSchemeSelector: c,
|
|
3140
|
+
rootSelector: l,
|
|
3141
|
+
getCssVar: g,
|
|
3142
|
+
colorSchemes: O,
|
|
3143
|
+
font: {
|
|
3144
|
+
...to(A.typography),
|
|
3145
|
+
...A.font
|
|
3146
|
+
},
|
|
3147
|
+
spacing: $o(f.spacing)
|
|
3148
|
+
};
|
|
3149
|
+
Object.keys(w.colorSchemes).forEach((ee) => {
|
|
3150
|
+
const i = w.colorSchemes[ee].palette, C = (x) => {
|
|
3151
|
+
const D = x.split("-"), G = D[1], te = D[2];
|
|
3152
|
+
return g(x, i[G][te]);
|
|
3153
|
+
};
|
|
3154
|
+
if (i.mode === "light" && (u(i.common, "background", "#fff"), u(i.common, "onBackground", "#000")), i.mode === "dark" && (u(i.common, "background", "#000"), u(i.common, "onBackground", "#fff")), wo(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
|
|
3155
|
+
u(i.Alert, "errorColor", z(i.error.light, 0.6)), u(i.Alert, "infoColor", z(i.info.light, 0.6)), u(i.Alert, "successColor", z(i.success.light, 0.6)), u(i.Alert, "warningColor", z(i.warning.light, 0.6)), u(i.Alert, "errorFilledBg", C("palette-error-main")), u(i.Alert, "infoFilledBg", C("palette-info-main")), u(i.Alert, "successFilledBg", C("palette-success-main")), u(i.Alert, "warningFilledBg", C("palette-warning-main")), u(i.Alert, "errorFilledColor", fe(() => i.getContrastText(i.error.main))), u(i.Alert, "infoFilledColor", fe(() => i.getContrastText(i.info.main))), u(i.Alert, "successFilledColor", fe(() => i.getContrastText(i.success.main))), u(i.Alert, "warningFilledColor", fe(() => i.getContrastText(i.warning.main))), u(i.Alert, "errorStandardBg", Y(i.error.light, 0.9)), u(i.Alert, "infoStandardBg", Y(i.info.light, 0.9)), u(i.Alert, "successStandardBg", Y(i.success.light, 0.9)), u(i.Alert, "warningStandardBg", Y(i.warning.light, 0.9)), u(i.Alert, "errorIconColor", C("palette-error-main")), u(i.Alert, "infoIconColor", C("palette-info-main")), u(i.Alert, "successIconColor", C("palette-success-main")), u(i.Alert, "warningIconColor", C("palette-warning-main")), u(i.AppBar, "defaultBg", C("palette-grey-100")), u(i.Avatar, "defaultBg", C("palette-grey-400")), u(i.Button, "inheritContainedBg", C("palette-grey-300")), u(i.Button, "inheritContainedHoverBg", C("palette-grey-A100")), u(i.Chip, "defaultBorder", C("palette-grey-400")), u(i.Chip, "defaultAvatarColor", C("palette-grey-700")), u(i.Chip, "defaultIconColor", C("palette-grey-700")), u(i.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), u(i.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), u(i.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), u(i.LinearProgress, "primaryBg", Y(i.primary.main, 0.62)), u(i.LinearProgress, "secondaryBg", Y(i.secondary.main, 0.62)), u(i.LinearProgress, "errorBg", Y(i.error.main, 0.62)), u(i.LinearProgress, "infoBg", Y(i.info.main, 0.62)), u(i.LinearProgress, "successBg", Y(i.success.main, 0.62)), u(i.LinearProgress, "warningBg", Y(i.warning.main, 0.62)), u(i.Skeleton, "bg", `rgba(${C("palette-text-primaryChannel")} / 0.11)`), u(i.Slider, "primaryTrack", Y(i.primary.main, 0.62)), u(i.Slider, "secondaryTrack", Y(i.secondary.main, 0.62)), u(i.Slider, "errorTrack", Y(i.error.main, 0.62)), u(i.Slider, "infoTrack", Y(i.info.main, 0.62)), u(i.Slider, "successTrack", Y(i.success.main, 0.62)), u(i.Slider, "warningTrack", Y(i.warning.main, 0.62));
|
|
3156
|
+
const x = je(i.background.default, 0.8);
|
|
3157
|
+
u(i.SnackbarContent, "bg", x), u(i.SnackbarContent, "color", fe(() => i.getContrastText(x))), u(i.SpeedDialAction, "fabHoverBg", je(i.background.paper, 0.15)), u(i.StepConnector, "border", C("palette-grey-400")), u(i.StepContent, "border", C("palette-grey-400")), u(i.Switch, "defaultColor", C("palette-common-white")), u(i.Switch, "defaultDisabledColor", C("palette-grey-100")), u(i.Switch, "primaryDisabledColor", Y(i.primary.main, 0.62)), u(i.Switch, "secondaryDisabledColor", Y(i.secondary.main, 0.62)), u(i.Switch, "errorDisabledColor", Y(i.error.main, 0.62)), u(i.Switch, "infoDisabledColor", Y(i.info.main, 0.62)), u(i.Switch, "successDisabledColor", Y(i.success.main, 0.62)), u(i.Switch, "warningDisabledColor", Y(i.warning.main, 0.62)), u(i.TableCell, "border", Y(De(i.divider, 1), 0.88)), u(i.Tooltip, "bg", De(i.grey[700], 0.92));
|
|
3158
|
+
}
|
|
3159
|
+
if (i.mode === "dark") {
|
|
3160
|
+
u(i.Alert, "errorColor", Y(i.error.light, 0.6)), u(i.Alert, "infoColor", Y(i.info.light, 0.6)), u(i.Alert, "successColor", Y(i.success.light, 0.6)), u(i.Alert, "warningColor", Y(i.warning.light, 0.6)), u(i.Alert, "errorFilledBg", C("palette-error-dark")), u(i.Alert, "infoFilledBg", C("palette-info-dark")), u(i.Alert, "successFilledBg", C("palette-success-dark")), u(i.Alert, "warningFilledBg", C("palette-warning-dark")), u(i.Alert, "errorFilledColor", fe(() => i.getContrastText(i.error.dark))), u(i.Alert, "infoFilledColor", fe(() => i.getContrastText(i.info.dark))), u(i.Alert, "successFilledColor", fe(() => i.getContrastText(i.success.dark))), u(i.Alert, "warningFilledColor", fe(() => i.getContrastText(i.warning.dark))), u(i.Alert, "errorStandardBg", z(i.error.light, 0.9)), u(i.Alert, "infoStandardBg", z(i.info.light, 0.9)), u(i.Alert, "successStandardBg", z(i.success.light, 0.9)), u(i.Alert, "warningStandardBg", z(i.warning.light, 0.9)), u(i.Alert, "errorIconColor", C("palette-error-main")), u(i.Alert, "infoIconColor", C("palette-info-main")), u(i.Alert, "successIconColor", C("palette-success-main")), u(i.Alert, "warningIconColor", C("palette-warning-main")), u(i.AppBar, "defaultBg", C("palette-grey-900")), u(i.AppBar, "darkBg", C("palette-background-paper")), u(i.AppBar, "darkColor", C("palette-text-primary")), u(i.Avatar, "defaultBg", C("palette-grey-600")), u(i.Button, "inheritContainedBg", C("palette-grey-800")), u(i.Button, "inheritContainedHoverBg", C("palette-grey-700")), u(i.Chip, "defaultBorder", C("palette-grey-700")), u(i.Chip, "defaultAvatarColor", C("palette-grey-300")), u(i.Chip, "defaultIconColor", C("palette-grey-300")), u(i.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), u(i.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), u(i.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), u(i.LinearProgress, "primaryBg", z(i.primary.main, 0.5)), u(i.LinearProgress, "secondaryBg", z(i.secondary.main, 0.5)), u(i.LinearProgress, "errorBg", z(i.error.main, 0.5)), u(i.LinearProgress, "infoBg", z(i.info.main, 0.5)), u(i.LinearProgress, "successBg", z(i.success.main, 0.5)), u(i.LinearProgress, "warningBg", z(i.warning.main, 0.5)), u(i.Skeleton, "bg", `rgba(${C("palette-text-primaryChannel")} / 0.13)`), u(i.Slider, "primaryTrack", z(i.primary.main, 0.5)), u(i.Slider, "secondaryTrack", z(i.secondary.main, 0.5)), u(i.Slider, "errorTrack", z(i.error.main, 0.5)), u(i.Slider, "infoTrack", z(i.info.main, 0.5)), u(i.Slider, "successTrack", z(i.success.main, 0.5)), u(i.Slider, "warningTrack", z(i.warning.main, 0.5));
|
|
3161
|
+
const x = je(i.background.default, 0.98);
|
|
3162
|
+
u(i.SnackbarContent, "bg", x), u(i.SnackbarContent, "color", fe(() => i.getContrastText(x))), u(i.SpeedDialAction, "fabHoverBg", je(i.background.paper, 0.15)), u(i.StepConnector, "border", C("palette-grey-600")), u(i.StepContent, "border", C("palette-grey-600")), u(i.Switch, "defaultColor", C("palette-grey-300")), u(i.Switch, "defaultDisabledColor", C("palette-grey-600")), u(i.Switch, "primaryDisabledColor", z(i.primary.main, 0.55)), u(i.Switch, "secondaryDisabledColor", z(i.secondary.main, 0.55)), u(i.Switch, "errorDisabledColor", z(i.error.main, 0.55)), u(i.Switch, "infoDisabledColor", z(i.info.main, 0.55)), u(i.Switch, "successDisabledColor", z(i.success.main, 0.55)), u(i.Switch, "warningDisabledColor", z(i.warning.main, 0.55)), u(i.TableCell, "border", z(De(i.divider, 1), 0.68)), u(i.Tooltip, "bg", De(i.grey[700], 0.92));
|
|
3163
|
+
}
|
|
3164
|
+
de(i.background, "default"), de(i.background, "paper"), de(i.common, "background"), de(i.common, "onBackground"), de(i, "divider"), Object.keys(i).forEach((x) => {
|
|
3165
|
+
const D = i[x];
|
|
3166
|
+
D && typeof D == "object" && (D.main && u(i[x], "mainChannel", _e(Pe(D.main))), D.light && u(i[x], "lightChannel", _e(Pe(D.light))), D.dark && u(i[x], "darkChannel", _e(Pe(D.dark))), D.contrastText && u(i[x], "contrastTextChannel", _e(Pe(D.contrastText))), x === "text" && (de(i[x], "primary"), de(i[x], "secondary")), x === "action" && (D.active && de(i[x], "active"), D.selected && de(i[x], "selected")));
|
|
3167
|
+
});
|
|
3168
|
+
}), w = r.reduce((ee, i) => ie(ee, i), w);
|
|
3169
|
+
const d = {
|
|
3170
|
+
prefix: a,
|
|
3171
|
+
disableCssColorScheme: o,
|
|
3172
|
+
shouldSkipGeneratingVar: s,
|
|
3173
|
+
getSelector: Co(w)
|
|
3174
|
+
}, {
|
|
3175
|
+
vars: j,
|
|
3176
|
+
generateThemeVars: X,
|
|
3177
|
+
generateStyleSheets: Z
|
|
3178
|
+
} = qn(w, d);
|
|
3179
|
+
return w.vars = j, Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([ee, i]) => {
|
|
3180
|
+
w[ee] = i;
|
|
3181
|
+
}), w.generateThemeVars = X, w.generateStyleSheets = Z, w.generateSpacing = function() {
|
|
3182
|
+
return tt(f.spacing, gr(this));
|
|
3183
|
+
}, w.getColorSchemeSelector = Kn(c), w.spacing = w.generateSpacing(), w.shouldSkipGeneratingVar = s, w.unstable_sxConfig = {
|
|
3184
|
+
...Qe,
|
|
3185
|
+
...f == null ? void 0 : f.unstable_sxConfig
|
|
3186
|
+
}, w.unstable_sx = function(i) {
|
|
3187
|
+
return Oe({
|
|
3188
|
+
sx: i,
|
|
3189
|
+
theme: this
|
|
3190
|
+
});
|
|
3191
|
+
}, w.toRuntimeSource = To, w;
|
|
3192
|
+
}
|
|
3193
|
+
function qr(e, r, t) {
|
|
3194
|
+
e.colorSchemes && t && (e.colorSchemes[r] = {
|
|
3195
|
+
...t !== !0 && t,
|
|
3196
|
+
palette: Sr({
|
|
3197
|
+
...t === !0 ? {} : t.palette,
|
|
3198
|
+
mode: r
|
|
3199
|
+
})
|
|
3200
|
+
// cast type to skip module augmentation test
|
|
3201
|
+
});
|
|
3202
|
+
}
|
|
3203
|
+
function xo(e = {}, ...r) {
|
|
3204
|
+
const {
|
|
3205
|
+
palette: t,
|
|
3206
|
+
cssVariables: n = !1,
|
|
3207
|
+
colorSchemes: o = t ? void 0 : {
|
|
3208
|
+
light: !0
|
|
3209
|
+
},
|
|
3210
|
+
defaultColorScheme: a = t == null ? void 0 : t.mode,
|
|
3211
|
+
...s
|
|
3212
|
+
} = e, c = a || "light", l = o == null ? void 0 : o[c], f = {
|
|
3213
|
+
...o,
|
|
3214
|
+
...t ? {
|
|
3215
|
+
[c]: {
|
|
3216
|
+
...typeof l != "boolean" && l,
|
|
3217
|
+
palette: t
|
|
3218
|
+
}
|
|
3219
|
+
} : void 0
|
|
3220
|
+
};
|
|
3221
|
+
if (n === !1) {
|
|
3222
|
+
if (!("colorSchemes" in e))
|
|
3223
|
+
return dr(e, ...r);
|
|
3224
|
+
let y = t;
|
|
3225
|
+
"palette" in e || f[c] && (f[c] !== !0 ? y = f[c].palette : c === "dark" && (y = {
|
|
3226
|
+
mode: "dark"
|
|
3227
|
+
}));
|
|
3228
|
+
const m = dr({
|
|
3229
|
+
...e,
|
|
3230
|
+
palette: y
|
|
3231
|
+
}, ...r);
|
|
3232
|
+
return m.defaultColorScheme = c, m.colorSchemes = f, m.palette.mode === "light" && (m.colorSchemes.light = {
|
|
3233
|
+
...f.light !== !0 && f.light,
|
|
3234
|
+
palette: m.palette
|
|
3235
|
+
}, qr(m, "dark", f.dark)), m.palette.mode === "dark" && (m.colorSchemes.dark = {
|
|
3236
|
+
...f.dark !== !0 && f.dark,
|
|
3237
|
+
palette: m.palette
|
|
3238
|
+
}, qr(m, "light", f.light)), m;
|
|
3239
|
+
}
|
|
3240
|
+
return !t && !("light" in f) && c === "light" && (f.light = !0), Oo({
|
|
3241
|
+
...s,
|
|
3242
|
+
colorSchemes: f,
|
|
3243
|
+
defaultColorScheme: c,
|
|
3244
|
+
...typeof n != "boolean" && n
|
|
3245
|
+
}, ...r);
|
|
3246
|
+
}
|
|
3247
|
+
const _o = xo(), Po = "$$material";
|
|
3248
|
+
function Ro(e) {
|
|
3249
|
+
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
3250
|
+
}
|
|
3251
|
+
const ko = (e) => Ro(e) && e !== "classes", jo = kn({
|
|
3252
|
+
themeId: Po,
|
|
3253
|
+
defaultTheme: _o,
|
|
3254
|
+
rootShouldForwardProp: ko
|
|
3255
|
+
});
|
|
3256
|
+
process.env.NODE_ENV !== "production" && (me.node, me.object.isRequired);
|
|
3257
|
+
function Fo(e) {
|
|
3258
|
+
return Un(e);
|
|
3259
|
+
}
|
|
3260
|
+
const Vo = {
|
|
3261
|
+
colors: {
|
|
3262
|
+
black: "black",
|
|
3263
|
+
blue: "#1976d2",
|
|
3264
|
+
charcoal: "#404040",
|
|
3265
|
+
darkBlue: "#10517c",
|
|
3266
|
+
darkGreen: "#005c00",
|
|
3267
|
+
darkGreenO22: "#005c0022",
|
|
3268
|
+
darkRed: "#800000",
|
|
3269
|
+
gold: "#fab62d",
|
|
3270
|
+
gray: "#727272",
|
|
3271
|
+
grayO44: "#72727244",
|
|
3272
|
+
green: "#009200",
|
|
3273
|
+
midnight: "#131313",
|
|
3274
|
+
mint: "#a4edb4",
|
|
3275
|
+
sunlight: "#faf9e8",
|
|
3276
|
+
white: "white",
|
|
3277
|
+
whiteGreen: "#f2fcf5",
|
|
3278
|
+
whiteGreen2: "#dae8de",
|
|
3279
|
+
veryLightGray: "#fafafa"
|
|
3280
|
+
},
|
|
3281
|
+
constants: {
|
|
3282
|
+
appBarHeight: 92,
|
|
3283
|
+
appHeaderHeight: 54,
|
|
3284
|
+
appInnerNavWidth: 201,
|
|
3285
|
+
appSideNavWidth: 64,
|
|
3286
|
+
navBarWidth: 290
|
|
3287
|
+
}
|
|
3288
|
+
};
|
|
3289
|
+
export {
|
|
3290
|
+
me as P,
|
|
3291
|
+
Po as T,
|
|
3292
|
+
Zr as a,
|
|
3293
|
+
No as b,
|
|
3294
|
+
Do as c,
|
|
3295
|
+
Fn as d,
|
|
3296
|
+
mr as e,
|
|
3297
|
+
lr as f,
|
|
3298
|
+
Bo as g,
|
|
3299
|
+
fo as h,
|
|
3300
|
+
_o as i,
|
|
3301
|
+
ye as j,
|
|
3302
|
+
ie as k,
|
|
3303
|
+
Ro as l,
|
|
3304
|
+
Ir as m,
|
|
3305
|
+
Qe as n,
|
|
3306
|
+
pe as o,
|
|
3307
|
+
xn as p,
|
|
3308
|
+
nt as q,
|
|
3309
|
+
ko as r,
|
|
3310
|
+
jo as s,
|
|
3311
|
+
Vo as t,
|
|
3312
|
+
Fo as u,
|
|
3313
|
+
yo as v
|
|
3314
|
+
};
|