@movable/ui 0.8.0 → 0.10.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/lib/index.mjs +563 -507
- package/lib/index.mjs.map +1 -1
- package/lib/palette.d.ts +1 -0
- package/lib/theme.d.ts +5 -0
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -20,14 +20,14 @@ function Zt() {
|
|
|
20
20
|
Kr = 1;
|
|
21
21
|
var e = yt, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
22
|
function s(d, f, g) {
|
|
23
|
-
var p, m = {}, l = null,
|
|
24
|
-
g !== void 0 && (l = "" + g), f.key !== void 0 && (l = "" + f.key), f.ref !== void 0 && (
|
|
23
|
+
var p, m = {}, l = null, E = null;
|
|
24
|
+
g !== void 0 && (l = "" + g), f.key !== void 0 && (l = "" + f.key), f.ref !== void 0 && (E = f.ref);
|
|
25
25
|
for (p in f)
|
|
26
26
|
n.call(f, p) && !i.hasOwnProperty(p) && (m[p] = f[p]);
|
|
27
27
|
if (d && d.defaultProps)
|
|
28
28
|
for (p in f = d.defaultProps, f)
|
|
29
29
|
m[p] === void 0 && (m[p] = f[p]);
|
|
30
|
-
return { $$typeof: r, type: d, key: l, ref:
|
|
30
|
+
return { $$typeof: r, type: d, key: l, ref: E, props: m, _owner: a.current };
|
|
31
31
|
}
|
|
32
32
|
return Ke.Fragment = o, Ke.jsx = s, Ke.jsxs = s, Ke;
|
|
33
33
|
}
|
|
@@ -44,35 +44,35 @@ var qe = {};
|
|
|
44
44
|
var qr;
|
|
45
45
|
function Qt() {
|
|
46
46
|
return qr || (qr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
-
var e = yt, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), d = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), l = Symbol.for("react.lazy"),
|
|
48
|
-
function
|
|
47
|
+
var e = yt, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), d = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), A = Symbol.iterator, b = "@@iterator";
|
|
48
|
+
function w(t) {
|
|
49
49
|
if (t === null || typeof t != "object")
|
|
50
50
|
return null;
|
|
51
51
|
var u = A && t[A] || t[b];
|
|
52
52
|
return typeof u == "function" ? u : null;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
55
|
-
function
|
|
54
|
+
var N = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
55
|
+
function G(t) {
|
|
56
56
|
{
|
|
57
57
|
for (var u = arguments.length, y = new Array(u > 1 ? u - 1 : 0), T = 1; T < u; T++)
|
|
58
58
|
y[T - 1] = arguments[T];
|
|
59
|
-
|
|
59
|
+
H("error", t, y);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function H(t, u, y) {
|
|
63
63
|
{
|
|
64
|
-
var T =
|
|
65
|
-
|
|
66
|
-
var
|
|
64
|
+
var T = N.ReactDebugCurrentFrame, F = T.getStackAddendum();
|
|
65
|
+
F !== "" && (u += "%s", y = y.concat([F]));
|
|
66
|
+
var z = y.map(function(M) {
|
|
67
67
|
return String(M);
|
|
68
68
|
});
|
|
69
|
-
|
|
69
|
+
z.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, z);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
var X = !1, v = !1, Ae = !1, Ye = !1, ze = !1, $e;
|
|
73
73
|
$e = Symbol.for("react.module.reference");
|
|
74
74
|
function Ge(t) {
|
|
75
|
-
return !!(typeof t == "string" || typeof t == "function" || t === n || t === i || ze || t === a || t === g || t === p || Ye || t ===
|
|
75
|
+
return !!(typeof t == "string" || typeof t == "function" || t === n || t === i || ze || t === a || t === g || t === p || Ye || t === E || X || v || Ae || typeof t == "object" && t !== null && (t.$$typeof === l || t.$$typeof === m || t.$$typeof === s || t.$$typeof === d || t.$$typeof === f || // This needs to include all possible module reference object
|
|
76
76
|
// types supported by any Flight configuration anywhere since
|
|
77
77
|
// we don't know which Flight build this will end up being used
|
|
78
78
|
// with.
|
|
@@ -82,16 +82,16 @@ function Qt() {
|
|
|
82
82
|
var T = t.displayName;
|
|
83
83
|
if (T)
|
|
84
84
|
return T;
|
|
85
|
-
var
|
|
86
|
-
return
|
|
85
|
+
var F = u.displayName || u.name || "";
|
|
86
|
+
return F !== "" ? y + "(" + F + ")" : y;
|
|
87
87
|
}
|
|
88
88
|
function je(t) {
|
|
89
89
|
return t.displayName || "Context";
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function ge(t) {
|
|
92
92
|
if (t == null)
|
|
93
93
|
return null;
|
|
94
|
-
if (typeof t.tag == "number" &&
|
|
94
|
+
if (typeof t.tag == "number" && G("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
95
95
|
return t.displayName || t.name || null;
|
|
96
96
|
if (typeof t == "string")
|
|
97
97
|
return t;
|
|
@@ -121,11 +121,11 @@ function Qt() {
|
|
|
121
121
|
return ke(t, t.render, "ForwardRef");
|
|
122
122
|
case m:
|
|
123
123
|
var T = t.displayName || null;
|
|
124
|
-
return T !== null ? T :
|
|
124
|
+
return T !== null ? T : ge(t.type) || "Memo";
|
|
125
125
|
case l: {
|
|
126
|
-
var
|
|
126
|
+
var F = t, z = F._payload, M = F._init;
|
|
127
127
|
try {
|
|
128
|
-
return
|
|
128
|
+
return ge(M(z));
|
|
129
129
|
} catch {
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
@@ -133,14 +133,14 @@ function Qt() {
|
|
|
133
133
|
}
|
|
134
134
|
return null;
|
|
135
135
|
}
|
|
136
|
-
var fe = Object.assign, Te = 0,
|
|
136
|
+
var fe = Object.assign, Te = 0, ye, ve, we, Ie, c, x, P;
|
|
137
137
|
function R() {
|
|
138
138
|
}
|
|
139
139
|
R.__reactDisabledLog = !0;
|
|
140
140
|
function O() {
|
|
141
141
|
{
|
|
142
142
|
if (Te === 0) {
|
|
143
|
-
|
|
143
|
+
ye = console.log, ve = console.info, we = console.warn, Ie = console.error, c = console.group, x = console.groupCollapsed, P = console.groupEnd;
|
|
144
144
|
var t = {
|
|
145
145
|
configurable: !0,
|
|
146
146
|
enumerable: !0,
|
|
@@ -170,13 +170,13 @@ function Qt() {
|
|
|
170
170
|
};
|
|
171
171
|
Object.defineProperties(console, {
|
|
172
172
|
log: fe({}, t, {
|
|
173
|
-
value:
|
|
173
|
+
value: ye
|
|
174
174
|
}),
|
|
175
175
|
info: fe({}, t, {
|
|
176
176
|
value: ve
|
|
177
177
|
}),
|
|
178
178
|
warn: fe({}, t, {
|
|
179
|
-
value:
|
|
179
|
+
value: we
|
|
180
180
|
}),
|
|
181
181
|
error: fe({}, t, {
|
|
182
182
|
value: Ie
|
|
@@ -185,37 +185,37 @@ function Qt() {
|
|
|
185
185
|
value: c
|
|
186
186
|
}),
|
|
187
187
|
groupCollapsed: fe({}, t, {
|
|
188
|
-
value:
|
|
188
|
+
value: x
|
|
189
189
|
}),
|
|
190
190
|
groupEnd: fe({}, t, {
|
|
191
191
|
value: P
|
|
192
192
|
})
|
|
193
193
|
});
|
|
194
194
|
}
|
|
195
|
-
Te < 0 &&
|
|
195
|
+
Te < 0 && G("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
var _ =
|
|
198
|
+
var _ = N.ReactCurrentDispatcher, C;
|
|
199
199
|
function S(t, u, y) {
|
|
200
200
|
{
|
|
201
|
-
if (
|
|
201
|
+
if (C === void 0)
|
|
202
202
|
try {
|
|
203
203
|
throw Error();
|
|
204
|
-
} catch (
|
|
205
|
-
var T =
|
|
206
|
-
|
|
204
|
+
} catch (F) {
|
|
205
|
+
var T = F.stack.trim().match(/\n( *(at )?)/);
|
|
206
|
+
C = T && T[1] || "";
|
|
207
207
|
}
|
|
208
208
|
return `
|
|
209
|
-
` +
|
|
209
|
+
` + C + t;
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var B = !1, $;
|
|
213
213
|
{
|
|
214
214
|
var se = typeof WeakMap == "function" ? WeakMap : Map;
|
|
215
215
|
$ = new se();
|
|
216
216
|
}
|
|
217
217
|
function h(t, u) {
|
|
218
|
-
if (!t ||
|
|
218
|
+
if (!t || B)
|
|
219
219
|
return "";
|
|
220
220
|
{
|
|
221
221
|
var y = $.get(t);
|
|
@@ -223,11 +223,11 @@ function Qt() {
|
|
|
223
223
|
return y;
|
|
224
224
|
}
|
|
225
225
|
var T;
|
|
226
|
-
|
|
227
|
-
var
|
|
226
|
+
B = !0;
|
|
227
|
+
var F = Error.prepareStackTrace;
|
|
228
228
|
Error.prepareStackTrace = void 0;
|
|
229
|
-
var
|
|
230
|
-
|
|
229
|
+
var z;
|
|
230
|
+
z = _.current, _.current = null, O();
|
|
231
231
|
try {
|
|
232
232
|
if (u) {
|
|
233
233
|
var M = function() {
|
|
@@ -280,7 +280,7 @@ function Qt() {
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
} finally {
|
|
283
|
-
|
|
283
|
+
B = !1, _.current = z, I(), Error.prepareStackTrace = F;
|
|
284
284
|
}
|
|
285
285
|
var Be = t ? t.displayName || t.name : "", Vr = Be ? S(Be) : "";
|
|
286
286
|
return typeof t == "function" && $.set(t, Vr), Vr;
|
|
@@ -312,16 +312,16 @@ function Qt() {
|
|
|
312
312
|
case m:
|
|
313
313
|
return Pe(t.type, u, y);
|
|
314
314
|
case l: {
|
|
315
|
-
var T = t,
|
|
315
|
+
var T = t, F = T._payload, z = T._init;
|
|
316
316
|
try {
|
|
317
|
-
return Pe(
|
|
317
|
+
return Pe(z(F), u, y);
|
|
318
318
|
} catch {
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
return "";
|
|
323
323
|
}
|
|
324
|
-
var rr = Object.prototype.hasOwnProperty, Ir = {}, Mr =
|
|
324
|
+
var rr = Object.prototype.hasOwnProperty, Ir = {}, Mr = N.ReactDebugCurrentFrame;
|
|
325
325
|
function tr(t) {
|
|
326
326
|
if (t) {
|
|
327
327
|
var u = t._owner, y = Pe(t.type, t._source, u ? u.type : null);
|
|
@@ -329,11 +329,11 @@ function Qt() {
|
|
|
329
329
|
} else
|
|
330
330
|
Mr.setExtraStackFrame(null);
|
|
331
331
|
}
|
|
332
|
-
function _t(t, u, y, T,
|
|
332
|
+
function _t(t, u, y, T, F) {
|
|
333
333
|
{
|
|
334
|
-
var
|
|
334
|
+
var z = Function.call.bind(rr);
|
|
335
335
|
for (var M in t)
|
|
336
|
-
if (
|
|
336
|
+
if (z(t, M)) {
|
|
337
337
|
var k = void 0;
|
|
338
338
|
try {
|
|
339
339
|
if (typeof t[M] != "function") {
|
|
@@ -344,13 +344,13 @@ function Qt() {
|
|
|
344
344
|
} catch (ee) {
|
|
345
345
|
k = ee;
|
|
346
346
|
}
|
|
347
|
-
k && !(k instanceof Error) && (tr(
|
|
347
|
+
k && !(k instanceof Error) && (tr(F), G("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", T || "React class", y, M, typeof k), tr(null)), k instanceof Error && !(k.message in Ir) && (Ir[k.message] = !0, tr(F), G("Failed %s type: %s", y, k.message), tr(null));
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
var
|
|
351
|
+
var Ct = Array.isArray;
|
|
352
352
|
function yr(t) {
|
|
353
|
-
return
|
|
353
|
+
return Ct(t);
|
|
354
354
|
}
|
|
355
355
|
function Rt(t) {
|
|
356
356
|
{
|
|
@@ -358,7 +358,7 @@ function Qt() {
|
|
|
358
358
|
return y;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function wt(t) {
|
|
362
362
|
try {
|
|
363
363
|
return Dr(t), !1;
|
|
364
364
|
} catch {
|
|
@@ -369,10 +369,10 @@ function Qt() {
|
|
|
369
369
|
return "" + t;
|
|
370
370
|
}
|
|
371
371
|
function Br(t) {
|
|
372
|
-
if (
|
|
373
|
-
return
|
|
372
|
+
if (wt(t))
|
|
373
|
+
return G("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rt(t)), Dr(t);
|
|
374
374
|
}
|
|
375
|
-
var Ve =
|
|
375
|
+
var Ve = N.ReactCurrentOwner, Pt = {
|
|
376
376
|
key: !0,
|
|
377
377
|
ref: !0,
|
|
378
378
|
__self: !0,
|
|
@@ -397,14 +397,14 @@ function Qt() {
|
|
|
397
397
|
}
|
|
398
398
|
function kt(t, u) {
|
|
399
399
|
if (typeof t.ref == "string" && Ve.current && u && Ve.current.stateNode !== u) {
|
|
400
|
-
var y =
|
|
401
|
-
mr[y] || (
|
|
400
|
+
var y = ge(Ve.current.type);
|
|
401
|
+
mr[y] || (G('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', ge(Ve.current.type), t.ref), mr[y] = !0);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
function jt(t, u) {
|
|
405
405
|
{
|
|
406
406
|
var y = function() {
|
|
407
|
-
Nr || (Nr = !0,
|
|
407
|
+
Nr || (Nr = !0, G("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
|
|
408
408
|
};
|
|
409
409
|
y.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
410
410
|
get: y,
|
|
@@ -415,7 +415,7 @@ function Qt() {
|
|
|
415
415
|
function It(t, u) {
|
|
416
416
|
{
|
|
417
417
|
var y = function() {
|
|
418
|
-
Fr || (Fr = !0,
|
|
418
|
+
Fr || (Fr = !0, G("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
|
|
419
419
|
};
|
|
420
420
|
y.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
421
421
|
get: y,
|
|
@@ -423,7 +423,7 @@ function Qt() {
|
|
|
423
423
|
});
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
|
-
var Mt = function(t, u, y, T,
|
|
426
|
+
var Mt = function(t, u, y, T, F, z, M) {
|
|
427
427
|
var k = {
|
|
428
428
|
// This tag allows us to uniquely identify this as a React Element
|
|
429
429
|
$$typeof: r,
|
|
@@ -433,7 +433,7 @@ function Qt() {
|
|
|
433
433
|
ref: y,
|
|
434
434
|
props: M,
|
|
435
435
|
// Record the component responsible for creating this element.
|
|
436
|
-
_owner:
|
|
436
|
+
_owner: z
|
|
437
437
|
};
|
|
438
438
|
return k._store = {}, Object.defineProperty(k._store, "validated", {
|
|
439
439
|
configurable: !1,
|
|
@@ -449,28 +449,28 @@ function Qt() {
|
|
|
449
449
|
configurable: !1,
|
|
450
450
|
enumerable: !1,
|
|
451
451
|
writable: !1,
|
|
452
|
-
value:
|
|
452
|
+
value: F
|
|
453
453
|
}), Object.freeze && (Object.freeze(k.props), Object.freeze(k)), k;
|
|
454
454
|
};
|
|
455
|
-
function Dt(t, u, y, T,
|
|
455
|
+
function Dt(t, u, y, T, F) {
|
|
456
456
|
{
|
|
457
|
-
var
|
|
458
|
-
y !== void 0 && (Br(y), k = "" + y), $t(u) && (Br(u.key), k = "" + u.key), St(u) && (le = u.ref, kt(u,
|
|
459
|
-
for (
|
|
460
|
-
rr.call(u,
|
|
457
|
+
var z, M = {}, k = null, le = null;
|
|
458
|
+
y !== void 0 && (Br(y), k = "" + y), $t(u) && (Br(u.key), k = "" + u.key), St(u) && (le = u.ref, kt(u, F));
|
|
459
|
+
for (z in u)
|
|
460
|
+
rr.call(u, z) && !Pt.hasOwnProperty(z) && (M[z] = u[z]);
|
|
461
461
|
if (t && t.defaultProps) {
|
|
462
462
|
var ee = t.defaultProps;
|
|
463
|
-
for (
|
|
464
|
-
M[
|
|
463
|
+
for (z in ee)
|
|
464
|
+
M[z] === void 0 && (M[z] = ee[z]);
|
|
465
465
|
}
|
|
466
466
|
if (k || le) {
|
|
467
467
|
var te = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
468
468
|
k && jt(M, te), le && It(M, te);
|
|
469
469
|
}
|
|
470
|
-
return Mt(t, k, le,
|
|
470
|
+
return Mt(t, k, le, F, T, Ve.current, M);
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
var hr =
|
|
473
|
+
var hr = N.ReactCurrentOwner, Wr = N.ReactDebugCurrentFrame;
|
|
474
474
|
function De(t) {
|
|
475
475
|
if (t) {
|
|
476
476
|
var u = t._owner, y = Pe(t.type, t._source, u ? u.type : null);
|
|
@@ -486,7 +486,7 @@ function Qt() {
|
|
|
486
486
|
function Ur() {
|
|
487
487
|
{
|
|
488
488
|
if (hr.current) {
|
|
489
|
-
var t =
|
|
489
|
+
var t = ge(hr.current.type);
|
|
490
490
|
if (t)
|
|
491
491
|
return `
|
|
492
492
|
|
|
@@ -529,7 +529,7 @@ Check the top-level render call using <` + y + ">.");
|
|
|
529
529
|
return;
|
|
530
530
|
Lr[y] = !0;
|
|
531
531
|
var T = "";
|
|
532
|
-
t && t._owner && t._owner !== hr.current && (T = " It was passed a child from " +
|
|
532
|
+
t && t._owner && t._owner !== hr.current && (T = " It was passed a child from " + ge(t._owner.type) + "."), De(t), G('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', y, T), De(null);
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
function zr(t, u) {
|
|
@@ -544,9 +544,9 @@ Check the top-level render call using <` + y + ">.");
|
|
|
544
544
|
else if (vr(t))
|
|
545
545
|
t._store && (t._store.validated = !0);
|
|
546
546
|
else if (t) {
|
|
547
|
-
var
|
|
548
|
-
if (typeof
|
|
549
|
-
for (var
|
|
547
|
+
var F = w(t);
|
|
548
|
+
if (typeof F == "function" && F !== t.entries)
|
|
549
|
+
for (var z = F.call(t), M; !(M = z.next()).done; )
|
|
550
550
|
vr(M.value) && Yr(M.value, u);
|
|
551
551
|
}
|
|
552
552
|
}
|
|
@@ -566,14 +566,14 @@ Check the top-level render call using <` + y + ">.");
|
|
|
566
566
|
else
|
|
567
567
|
return;
|
|
568
568
|
if (y) {
|
|
569
|
-
var T =
|
|
569
|
+
var T = ge(u);
|
|
570
570
|
_t(y, t.props, "prop", T, t);
|
|
571
571
|
} else if (u.PropTypes !== void 0 && !br) {
|
|
572
572
|
br = !0;
|
|
573
|
-
var
|
|
574
|
-
|
|
573
|
+
var F = ge(u);
|
|
574
|
+
G("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", F || "Unknown");
|
|
575
575
|
}
|
|
576
|
-
typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved &&
|
|
576
|
+
typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && G("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
function Wt(t) {
|
|
@@ -581,25 +581,25 @@ Check the top-level render call using <` + y + ">.");
|
|
|
581
581
|
for (var u = Object.keys(t.props), y = 0; y < u.length; y++) {
|
|
582
582
|
var T = u[y];
|
|
583
583
|
if (T !== "children" && T !== "key") {
|
|
584
|
-
De(t),
|
|
584
|
+
De(t), G("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", T), De(null);
|
|
585
585
|
break;
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
t.ref !== null && (De(t),
|
|
588
|
+
t.ref !== null && (De(t), G("Invalid attribute `ref` supplied to `React.Fragment`."), De(null));
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
|
-
function Gr(t, u, y, T,
|
|
591
|
+
function Gr(t, u, y, T, F, z) {
|
|
592
592
|
{
|
|
593
593
|
var M = Ge(t);
|
|
594
594
|
if (!M) {
|
|
595
595
|
var k = "";
|
|
596
596
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (k += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
597
|
-
var le = Bt(
|
|
597
|
+
var le = Bt(F);
|
|
598
598
|
le ? k += le : k += Ur();
|
|
599
599
|
var ee;
|
|
600
|
-
t === null ? ee = "null" : yr(t) ? ee = "array" : t !== void 0 && t.$$typeof === r ? (ee = "<" + (
|
|
600
|
+
t === null ? ee = "null" : yr(t) ? ee = "array" : t !== void 0 && t.$$typeof === r ? (ee = "<" + (ge(t.type) || "Unknown") + " />", k = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof t, G("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, k);
|
|
601
601
|
}
|
|
602
|
-
var te = Dt(t, u, y,
|
|
602
|
+
var te = Dt(t, u, y, F, z);
|
|
603
603
|
if (te == null)
|
|
604
604
|
return te;
|
|
605
605
|
if (M) {
|
|
@@ -611,7 +611,7 @@ Check the top-level render call using <` + y + ">.");
|
|
|
611
611
|
zr(be[Be], t);
|
|
612
612
|
Object.freeze && Object.freeze(be);
|
|
613
613
|
} else
|
|
614
|
-
|
|
614
|
+
G("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
615
615
|
else
|
|
616
616
|
zr(be, t);
|
|
617
617
|
}
|
|
@@ -629,30 +629,30 @@ Check the top-level render call using <` + y + ">.");
|
|
|
629
629
|
}()), qe;
|
|
630
630
|
}
|
|
631
631
|
process.env.NODE_ENV === "production" ? Rr.exports = Zt() : Rr.exports = Qt();
|
|
632
|
-
var
|
|
632
|
+
var V = Rr.exports;
|
|
633
633
|
function aa({ stringToDisplay: e }) {
|
|
634
|
-
return
|
|
634
|
+
return V.jsxs(Xe, { children: ["stringToDisplay prop is:", " ", V.jsx("span", { "data-test-string-to-display": !0, children: e })] });
|
|
635
635
|
}
|
|
636
636
|
function ia({ metadata: e }) {
|
|
637
|
-
return
|
|
637
|
+
return V.jsx(Fe, { direction: "row", spacing: 2, children: e.map(({ icon: r, label: o, value: n }) => V.jsxs(Fe, { direction: "row", spacing: 0.5, children: [V.jsx(mt, { fontSize: "small", sx: { color: "neutral600" }, children: r }), V.jsx(Xe, { variant: "body2", color: "text.secondary", children: o }), V.jsx(Xe, { variant: "body2", children: n })] }, o)) });
|
|
638
638
|
}
|
|
639
639
|
function sa({ Breadcrumbs: e, Subtitle: r, Metadata: o, Chips: n, ButtonGroup: a, Tabs: i }) {
|
|
640
|
-
return
|
|
640
|
+
return V.jsx("header", { children: V.jsxs(Fe, { direction: "column", spacing: 2, sx: {
|
|
641
641
|
borderBottom: 1,
|
|
642
642
|
borderColor: "divider",
|
|
643
643
|
px: 3,
|
|
644
644
|
py: 3,
|
|
645
645
|
...i && { pb: -3 }
|
|
646
|
-
}, children: [
|
|
646
|
+
}, children: [V.jsxs(Fe, { direction: "row", spacing: 2, justifyContent: "space-between", alignItems: "center", children: [V.jsxs(Fe, { direction: "row", spacing: 1, alignItems: "center", children: [e, n] }), a] }), o, r, i] }) });
|
|
647
647
|
}
|
|
648
648
|
function en({ label: e }) {
|
|
649
|
-
return
|
|
649
|
+
return V.jsx(Xe, { "data-cy": "page-title", variant: "h5", component: "h1", sx: { wordBreak: "break-word", fontWeight: "600", color: "text.primary" }, children: e });
|
|
650
650
|
}
|
|
651
651
|
function rn({ breadcrumb: e, i: r }) {
|
|
652
|
-
return
|
|
652
|
+
return V.jsx(Kt, { underline: "hover", href: e.path, "data-cy": `breadcrumb-${r}`, variant: "h5", color: "text.disabled", children: e.label });
|
|
653
653
|
}
|
|
654
654
|
function ua({ breadcrumbs: e }) {
|
|
655
|
-
return
|
|
655
|
+
return V.jsx(Vt, { children: e == null ? void 0 : e.map((r, o) => o === e.length - 1 ? V.jsx(en, { label: r.label }, `breadcrumb-${o}`) : V.jsx(rn, { breadcrumb: r, i: o }, `breadcrumb-${o}`)) });
|
|
656
656
|
}
|
|
657
657
|
function la({ primaryAction: e, secondaryAction: r, tertiaryAction: o, dropdownAction: n }) {
|
|
658
658
|
var g;
|
|
@@ -661,7 +661,7 @@ function la({ primaryAction: e, secondaryAction: r, tertiaryAction: o, dropdownA
|
|
|
661
661
|
}, f = () => {
|
|
662
662
|
i(null);
|
|
663
663
|
};
|
|
664
|
-
return
|
|
664
|
+
return V.jsxs(Fe, { direction: "row", spacing: 1, children: [n && V.jsxs(qt, { children: [V.jsx(nr, { id: "action-dd", "aria-controls": s ? "action-menu" : void 0, "aria-haspopup": "true", "aria-expanded": s ? "true" : void 0, onClick: d, variant: "contained", color: "inherit", endIcon: V.jsx(mt, { children: "arrow_drop_down" }), children: n.label }), V.jsx(Ht, { id: "action-menu", anchorEl: a, open: s, onClose: f, MenuListProps: {
|
|
665
665
|
"aria-labelledby": "action-dd"
|
|
666
666
|
}, anchorOrigin: {
|
|
667
667
|
vertical: "bottom",
|
|
@@ -669,12 +669,12 @@ function la({ primaryAction: e, secondaryAction: r, tertiaryAction: o, dropdownA
|
|
|
669
669
|
}, transformOrigin: {
|
|
670
670
|
vertical: "top",
|
|
671
671
|
horizontal: "right"
|
|
672
|
-
}, children: (g = n.menuOptions) == null ? void 0 : g.map(({ label: p, onClick: m }, l) =>
|
|
672
|
+
}, children: (g = n.menuOptions) == null ? void 0 : g.map(({ label: p, onClick: m }, l) => V.jsx(Jt, { onClick: () => {
|
|
673
673
|
m(), f();
|
|
674
|
-
}, children: p }, l)) })] }), o &&
|
|
674
|
+
}, children: p }, l)) })] }), o && V.jsx(nr, { variant: "contained", color: "inherit", ...o, children: o.label }), r && V.jsx(nr, { variant: "contained", color: "inherit", ...r, children: r.label }), e && V.jsx(nr, { variant: "contained", ...e, sx: { whiteSpace: "nowrap" }, children: e.label })] });
|
|
675
675
|
}
|
|
676
676
|
function ca({ subtitle: e }) {
|
|
677
|
-
return
|
|
677
|
+
return V.jsx(Xe, { variant: "body2", color: "text.secondary", children: e });
|
|
678
678
|
}
|
|
679
679
|
function ie() {
|
|
680
680
|
return ie = Object.assign ? Object.assign.bind() : function(e) {
|
|
@@ -705,7 +705,7 @@ function _e(e, r, o = {
|
|
|
705
705
|
a !== "__proto__" && (Ne(r[a]) && a in e && Ne(e[a]) ? n[a] = _e(e[a], r[a], o) : o.clone ? n[a] = Ne(r[a]) ? ht(r[a]) : r[a] : n[a] = r[a]);
|
|
706
706
|
}), n;
|
|
707
707
|
}
|
|
708
|
-
var
|
|
708
|
+
var wr = { exports: {} }, or = { exports: {} }, W = {};
|
|
709
709
|
/** @license React v16.13.1
|
|
710
710
|
* react-is.production.min.js
|
|
711
711
|
*
|
|
@@ -717,10 +717,10 @@ var Cr = { exports: {} }, or = { exports: {} }, F = {};
|
|
|
717
717
|
var Hr;
|
|
718
718
|
function tn() {
|
|
719
719
|
if (Hr)
|
|
720
|
-
return
|
|
720
|
+
return W;
|
|
721
721
|
Hr = 1;
|
|
722
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120,
|
|
723
|
-
function
|
|
722
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, A = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, G = e ? Symbol.for("react.scope") : 60119;
|
|
723
|
+
function H(v) {
|
|
724
724
|
if (typeof v == "object" && v !== null) {
|
|
725
725
|
var Ae = v.$$typeof;
|
|
726
726
|
switch (Ae) {
|
|
@@ -738,7 +738,7 @@ function tn() {
|
|
|
738
738
|
case d:
|
|
739
739
|
case p:
|
|
740
740
|
case A:
|
|
741
|
-
case
|
|
741
|
+
case E:
|
|
742
742
|
case s:
|
|
743
743
|
return v;
|
|
744
744
|
default:
|
|
@@ -751,37 +751,37 @@ function tn() {
|
|
|
751
751
|
}
|
|
752
752
|
}
|
|
753
753
|
function X(v) {
|
|
754
|
-
return
|
|
754
|
+
return H(v) === g;
|
|
755
755
|
}
|
|
756
|
-
return
|
|
757
|
-
return X(v) ||
|
|
758
|
-
},
|
|
759
|
-
return
|
|
760
|
-
},
|
|
761
|
-
return
|
|
762
|
-
},
|
|
756
|
+
return W.AsyncMode = f, W.ConcurrentMode = g, W.ContextConsumer = d, W.ContextProvider = s, W.Element = r, W.ForwardRef = p, W.Fragment = n, W.Lazy = A, W.Memo = E, W.Portal = o, W.Profiler = i, W.StrictMode = a, W.Suspense = m, W.isAsyncMode = function(v) {
|
|
757
|
+
return X(v) || H(v) === f;
|
|
758
|
+
}, W.isConcurrentMode = X, W.isContextConsumer = function(v) {
|
|
759
|
+
return H(v) === d;
|
|
760
|
+
}, W.isContextProvider = function(v) {
|
|
761
|
+
return H(v) === s;
|
|
762
|
+
}, W.isElement = function(v) {
|
|
763
763
|
return typeof v == "object" && v !== null && v.$$typeof === r;
|
|
764
|
-
},
|
|
765
|
-
return
|
|
766
|
-
},
|
|
767
|
-
return
|
|
768
|
-
},
|
|
769
|
-
return
|
|
770
|
-
},
|
|
771
|
-
return
|
|
772
|
-
},
|
|
773
|
-
return
|
|
774
|
-
},
|
|
775
|
-
return
|
|
776
|
-
},
|
|
777
|
-
return
|
|
778
|
-
},
|
|
779
|
-
return
|
|
780
|
-
},
|
|
781
|
-
return typeof v == "string" || typeof v == "function" || v === n || v === g || v === i || v === a || v === m || v === l || typeof v == "object" && v !== null && (v.$$typeof === A || v.$$typeof ===
|
|
782
|
-
},
|
|
783
|
-
}
|
|
784
|
-
var
|
|
764
|
+
}, W.isForwardRef = function(v) {
|
|
765
|
+
return H(v) === p;
|
|
766
|
+
}, W.isFragment = function(v) {
|
|
767
|
+
return H(v) === n;
|
|
768
|
+
}, W.isLazy = function(v) {
|
|
769
|
+
return H(v) === A;
|
|
770
|
+
}, W.isMemo = function(v) {
|
|
771
|
+
return H(v) === E;
|
|
772
|
+
}, W.isPortal = function(v) {
|
|
773
|
+
return H(v) === o;
|
|
774
|
+
}, W.isProfiler = function(v) {
|
|
775
|
+
return H(v) === i;
|
|
776
|
+
}, W.isStrictMode = function(v) {
|
|
777
|
+
return H(v) === a;
|
|
778
|
+
}, W.isSuspense = function(v) {
|
|
779
|
+
return H(v) === m;
|
|
780
|
+
}, W.isValidElementType = function(v) {
|
|
781
|
+
return typeof v == "string" || typeof v == "function" || v === n || v === g || v === i || v === a || v === m || v === l || typeof v == "object" && v !== null && (v.$$typeof === A || v.$$typeof === E || v.$$typeof === s || v.$$typeof === d || v.$$typeof === p || v.$$typeof === w || v.$$typeof === N || v.$$typeof === G || v.$$typeof === b);
|
|
782
|
+
}, W.typeOf = H, W;
|
|
783
|
+
}
|
|
784
|
+
var U = {};
|
|
785
785
|
/** @license React v16.13.1
|
|
786
786
|
* react-is.development.js
|
|
787
787
|
*
|
|
@@ -793,10 +793,10 @@ var W = {};
|
|
|
793
793
|
var Jr;
|
|
794
794
|
function nn() {
|
|
795
795
|
return Jr || (Jr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
796
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120,
|
|
797
|
-
function
|
|
796
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, A = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, G = e ? Symbol.for("react.scope") : 60119;
|
|
797
|
+
function H(h) {
|
|
798
798
|
return typeof h == "string" || typeof h == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
799
|
-
h === n || h === g || h === i || h === a || h === m || h === l || typeof h == "object" && h !== null && (h.$$typeof === A || h.$$typeof ===
|
|
799
|
+
h === n || h === g || h === i || h === a || h === m || h === l || typeof h == "object" && h !== null && (h.$$typeof === A || h.$$typeof === E || h.$$typeof === s || h.$$typeof === d || h.$$typeof === p || h.$$typeof === w || h.$$typeof === N || h.$$typeof === G || h.$$typeof === b);
|
|
800
800
|
}
|
|
801
801
|
function X(h) {
|
|
802
802
|
if (typeof h == "object" && h !== null) {
|
|
@@ -818,7 +818,7 @@ function nn() {
|
|
|
818
818
|
case d:
|
|
819
819
|
case p:
|
|
820
820
|
case A:
|
|
821
|
-
case
|
|
821
|
+
case E:
|
|
822
822
|
case s:
|
|
823
823
|
return Pe;
|
|
824
824
|
default:
|
|
@@ -830,14 +830,14 @@ function nn() {
|
|
|
830
830
|
}
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
|
-
var v = f, Ae = g, Ye = d, ze = s, $e = r, Ge = p, ke = n, je = A,
|
|
833
|
+
var v = f, Ae = g, Ye = d, ze = s, $e = r, Ge = p, ke = n, je = A, ge = E, fe = o, Te = i, ye = a, ve = m, we = !1;
|
|
834
834
|
function Ie(h) {
|
|
835
|
-
return
|
|
835
|
+
return we || (we = !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.")), c(h) || X(h) === f;
|
|
836
836
|
}
|
|
837
837
|
function c(h) {
|
|
838
838
|
return X(h) === g;
|
|
839
839
|
}
|
|
840
|
-
function
|
|
840
|
+
function x(h) {
|
|
841
841
|
return X(h) === d;
|
|
842
842
|
}
|
|
843
843
|
function P(h) {
|
|
@@ -855,13 +855,13 @@ function nn() {
|
|
|
855
855
|
function _(h) {
|
|
856
856
|
return X(h) === A;
|
|
857
857
|
}
|
|
858
|
-
function
|
|
859
|
-
return X(h) ===
|
|
858
|
+
function C(h) {
|
|
859
|
+
return X(h) === E;
|
|
860
860
|
}
|
|
861
861
|
function S(h) {
|
|
862
862
|
return X(h) === o;
|
|
863
863
|
}
|
|
864
|
-
function
|
|
864
|
+
function B(h) {
|
|
865
865
|
return X(h) === i;
|
|
866
866
|
}
|
|
867
867
|
function $(h) {
|
|
@@ -870,8 +870,8 @@ function nn() {
|
|
|
870
870
|
function se(h) {
|
|
871
871
|
return X(h) === m;
|
|
872
872
|
}
|
|
873
|
-
|
|
874
|
-
}()),
|
|
873
|
+
U.AsyncMode = v, U.ConcurrentMode = Ae, U.ContextConsumer = Ye, U.ContextProvider = ze, U.Element = $e, U.ForwardRef = Ge, U.Fragment = ke, U.Lazy = je, U.Memo = ge, U.Portal = fe, U.Profiler = Te, U.StrictMode = ye, U.Suspense = ve, U.isAsyncMode = Ie, U.isConcurrentMode = c, U.isContextConsumer = x, U.isContextProvider = P, U.isElement = R, U.isForwardRef = O, U.isFragment = I, U.isLazy = _, U.isMemo = C, U.isPortal = S, U.isProfiler = B, U.isStrictMode = $, U.isSuspense = se, U.isValidElementType = H, U.typeOf = X;
|
|
874
|
+
}()), U;
|
|
875
875
|
}
|
|
876
876
|
var Xr;
|
|
877
877
|
function bt() {
|
|
@@ -882,10 +882,10 @@ object-assign
|
|
|
882
882
|
(c) Sindre Sorhus
|
|
883
883
|
@license MIT
|
|
884
884
|
*/
|
|
885
|
-
var
|
|
885
|
+
var xr, Zr;
|
|
886
886
|
function on() {
|
|
887
887
|
if (Zr)
|
|
888
|
-
return
|
|
888
|
+
return xr;
|
|
889
889
|
Zr = 1;
|
|
890
890
|
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable;
|
|
891
891
|
function n(i) {
|
|
@@ -915,7 +915,7 @@ function on() {
|
|
|
915
915
|
return !1;
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
|
-
return
|
|
918
|
+
return xr = a() ? Object.assign : function(i, s) {
|
|
919
919
|
for (var d, f = n(i), g, p = 1; p < arguments.length; p++) {
|
|
920
920
|
d = Object(arguments[p]);
|
|
921
921
|
for (var m in d)
|
|
@@ -927,15 +927,15 @@ function on() {
|
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
929
|
return f;
|
|
930
|
-
},
|
|
930
|
+
}, xr;
|
|
931
931
|
}
|
|
932
|
-
var
|
|
932
|
+
var Er, Qr;
|
|
933
933
|
function Pr() {
|
|
934
934
|
if (Qr)
|
|
935
|
-
return
|
|
935
|
+
return Er;
|
|
936
936
|
Qr = 1;
|
|
937
937
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
938
|
-
return
|
|
938
|
+
return Er = e, Er;
|
|
939
939
|
}
|
|
940
940
|
var Ar, et;
|
|
941
941
|
function vt() {
|
|
@@ -979,9 +979,9 @@ function an() {
|
|
|
979
979
|
(f || "React class") + ": type specification of " + d + " `" + p + "` 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)."
|
|
980
980
|
), m instanceof Error && !(m.message in o)) {
|
|
981
981
|
o[m.message] = !0;
|
|
982
|
-
var
|
|
982
|
+
var E = g ? g() : "";
|
|
983
983
|
e(
|
|
984
|
-
"Failed " + d + " type: " + m.message + (
|
|
984
|
+
"Failed " + d + " type: " + m.message + (E ?? "")
|
|
985
985
|
);
|
|
986
986
|
}
|
|
987
987
|
}
|
|
@@ -1012,21 +1012,21 @@ function sn() {
|
|
|
1012
1012
|
return Or = function(d, f) {
|
|
1013
1013
|
var g = typeof Symbol == "function" && Symbol.iterator, p = "@@iterator";
|
|
1014
1014
|
function m(c) {
|
|
1015
|
-
var
|
|
1016
|
-
if (typeof
|
|
1017
|
-
return
|
|
1018
|
-
}
|
|
1019
|
-
var l = "<<anonymous>>",
|
|
1020
|
-
array:
|
|
1021
|
-
bigint:
|
|
1022
|
-
bool:
|
|
1023
|
-
func:
|
|
1024
|
-
number:
|
|
1025
|
-
object:
|
|
1026
|
-
string:
|
|
1027
|
-
symbol:
|
|
1028
|
-
any:
|
|
1029
|
-
arrayOf:
|
|
1015
|
+
var x = c && (g && c[g] || c[p]);
|
|
1016
|
+
if (typeof x == "function")
|
|
1017
|
+
return x;
|
|
1018
|
+
}
|
|
1019
|
+
var l = "<<anonymous>>", E = {
|
|
1020
|
+
array: N("array"),
|
|
1021
|
+
bigint: N("bigint"),
|
|
1022
|
+
bool: N("boolean"),
|
|
1023
|
+
func: N("function"),
|
|
1024
|
+
number: N("number"),
|
|
1025
|
+
object: N("object"),
|
|
1026
|
+
string: N("string"),
|
|
1027
|
+
symbol: N("symbol"),
|
|
1028
|
+
any: G(),
|
|
1029
|
+
arrayOf: H,
|
|
1030
1030
|
element: X(),
|
|
1031
1031
|
elementType: v(),
|
|
1032
1032
|
instanceOf: Ae,
|
|
@@ -1035,42 +1035,42 @@ function sn() {
|
|
|
1035
1035
|
oneOf: Ye,
|
|
1036
1036
|
oneOfType: $e,
|
|
1037
1037
|
shape: je,
|
|
1038
|
-
exact:
|
|
1038
|
+
exact: ge
|
|
1039
1039
|
};
|
|
1040
|
-
function A(c,
|
|
1041
|
-
return c ===
|
|
1040
|
+
function A(c, x) {
|
|
1041
|
+
return c === x ? c !== 0 || 1 / c === 1 / x : c !== c && x !== x;
|
|
1042
1042
|
}
|
|
1043
|
-
function b(c,
|
|
1044
|
-
this.message = c, this.data =
|
|
1043
|
+
function b(c, x) {
|
|
1044
|
+
this.message = c, this.data = x && typeof x == "object" ? x : {}, this.stack = "";
|
|
1045
1045
|
}
|
|
1046
1046
|
b.prototype = Error.prototype;
|
|
1047
|
-
function
|
|
1047
|
+
function w(c) {
|
|
1048
1048
|
if (process.env.NODE_ENV !== "production")
|
|
1049
|
-
var
|
|
1050
|
-
function R(I, _,
|
|
1051
|
-
if (S = S || l, $ = $ ||
|
|
1049
|
+
var x = {}, P = 0;
|
|
1050
|
+
function R(I, _, C, S, B, $, se) {
|
|
1051
|
+
if (S = S || l, $ = $ || C, se !== o) {
|
|
1052
1052
|
if (f) {
|
|
1053
1053
|
var h = new Error(
|
|
1054
1054
|
"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"
|
|
1055
1055
|
);
|
|
1056
1056
|
throw h.name = "Invariant Violation", h;
|
|
1057
1057
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1058
|
-
var he = S + ":" +
|
|
1059
|
-
!
|
|
1058
|
+
var he = S + ":" + C;
|
|
1059
|
+
!x[he] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1060
1060
|
P < 3 && (i(
|
|
1061
1061
|
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + S + "`. 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."
|
|
1062
|
-
),
|
|
1062
|
+
), x[he] = !0, P++);
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
|
-
return _[
|
|
1065
|
+
return _[C] == null ? I ? _[C] === null ? new b("The " + B + " `" + $ + "` is marked as required " + ("in `" + S + "`, but its value is `null`.")) : new b("The " + B + " `" + $ + "` is marked as required in " + ("`" + S + "`, but its value is `undefined`.")) : null : c(_, C, S, B, $);
|
|
1066
1066
|
}
|
|
1067
1067
|
var O = R.bind(null, !1);
|
|
1068
1068
|
return O.isRequired = R.bind(null, !0), O;
|
|
1069
1069
|
}
|
|
1070
|
-
function
|
|
1071
|
-
function
|
|
1072
|
-
var S = P[R],
|
|
1073
|
-
if (
|
|
1070
|
+
function N(c) {
|
|
1071
|
+
function x(P, R, O, I, _, C) {
|
|
1072
|
+
var S = P[R], B = ye(S);
|
|
1073
|
+
if (B !== c) {
|
|
1074
1074
|
var $ = ve(S);
|
|
1075
1075
|
return new b(
|
|
1076
1076
|
"Invalid " + I + " `" + _ + "` of type " + ("`" + $ + "` supplied to `" + O + "`, expected ") + ("`" + c + "`."),
|
|
@@ -1079,152 +1079,152 @@ function sn() {
|
|
|
1079
1079
|
}
|
|
1080
1080
|
return null;
|
|
1081
1081
|
}
|
|
1082
|
-
return
|
|
1082
|
+
return w(x);
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1085
|
-
return
|
|
1084
|
+
function G() {
|
|
1085
|
+
return w(s);
|
|
1086
1086
|
}
|
|
1087
|
-
function
|
|
1088
|
-
function
|
|
1087
|
+
function H(c) {
|
|
1088
|
+
function x(P, R, O, I, _) {
|
|
1089
1089
|
if (typeof c != "function")
|
|
1090
1090
|
return new b("Property `" + _ + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
|
|
1091
|
-
var
|
|
1092
|
-
if (!Array.isArray(
|
|
1093
|
-
var S =
|
|
1091
|
+
var C = P[R];
|
|
1092
|
+
if (!Array.isArray(C)) {
|
|
1093
|
+
var S = ye(C);
|
|
1094
1094
|
return new b("Invalid " + I + " `" + _ + "` of type " + ("`" + S + "` supplied to `" + O + "`, expected an array."));
|
|
1095
1095
|
}
|
|
1096
|
-
for (var
|
|
1097
|
-
var $ = c(
|
|
1096
|
+
for (var B = 0; B < C.length; B++) {
|
|
1097
|
+
var $ = c(C, B, O, I, _ + "[" + B + "]", o);
|
|
1098
1098
|
if ($ instanceof Error)
|
|
1099
1099
|
return $;
|
|
1100
1100
|
}
|
|
1101
1101
|
return null;
|
|
1102
1102
|
}
|
|
1103
|
-
return
|
|
1103
|
+
return w(x);
|
|
1104
1104
|
}
|
|
1105
1105
|
function X() {
|
|
1106
|
-
function c(
|
|
1107
|
-
var _ =
|
|
1106
|
+
function c(x, P, R, O, I) {
|
|
1107
|
+
var _ = x[P];
|
|
1108
1108
|
if (!d(_)) {
|
|
1109
|
-
var
|
|
1110
|
-
return new b("Invalid " + O + " `" + I + "` of type " + ("`" +
|
|
1109
|
+
var C = ye(_);
|
|
1110
|
+
return new b("Invalid " + O + " `" + I + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected a single ReactElement."));
|
|
1111
1111
|
}
|
|
1112
1112
|
return null;
|
|
1113
1113
|
}
|
|
1114
|
-
return
|
|
1114
|
+
return w(c);
|
|
1115
1115
|
}
|
|
1116
1116
|
function v() {
|
|
1117
|
-
function c(
|
|
1118
|
-
var _ =
|
|
1117
|
+
function c(x, P, R, O, I) {
|
|
1118
|
+
var _ = x[P];
|
|
1119
1119
|
if (!e.isValidElementType(_)) {
|
|
1120
|
-
var
|
|
1121
|
-
return new b("Invalid " + O + " `" + I + "` of type " + ("`" +
|
|
1120
|
+
var C = ye(_);
|
|
1121
|
+
return new b("Invalid " + O + " `" + I + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected a single ReactElement type."));
|
|
1122
1122
|
}
|
|
1123
1123
|
return null;
|
|
1124
1124
|
}
|
|
1125
|
-
return
|
|
1125
|
+
return w(c);
|
|
1126
1126
|
}
|
|
1127
1127
|
function Ae(c) {
|
|
1128
|
-
function
|
|
1128
|
+
function x(P, R, O, I, _) {
|
|
1129
1129
|
if (!(P[R] instanceof c)) {
|
|
1130
|
-
var
|
|
1131
|
-
return new b("Invalid " + I + " `" + _ + "` of type " + ("`" + S + "` supplied to `" + O + "`, expected ") + ("instance of `" +
|
|
1130
|
+
var C = c.name || l, S = Ie(P[R]);
|
|
1131
|
+
return new b("Invalid " + I + " `" + _ + "` of type " + ("`" + S + "` supplied to `" + O + "`, expected ") + ("instance of `" + C + "`."));
|
|
1132
1132
|
}
|
|
1133
1133
|
return null;
|
|
1134
1134
|
}
|
|
1135
|
-
return
|
|
1135
|
+
return w(x);
|
|
1136
1136
|
}
|
|
1137
1137
|
function Ye(c) {
|
|
1138
1138
|
if (!Array.isArray(c))
|
|
1139
1139
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1140
1140
|
"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])."
|
|
1141
1141
|
) : i("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
1142
|
-
function
|
|
1143
|
-
for (var
|
|
1144
|
-
if (A(
|
|
1142
|
+
function x(P, R, O, I, _) {
|
|
1143
|
+
for (var C = P[R], S = 0; S < c.length; S++)
|
|
1144
|
+
if (A(C, c[S]))
|
|
1145
1145
|
return null;
|
|
1146
|
-
var
|
|
1146
|
+
var B = JSON.stringify(c, function(se, h) {
|
|
1147
1147
|
var he = ve(h);
|
|
1148
1148
|
return he === "symbol" ? String(h) : h;
|
|
1149
1149
|
});
|
|
1150
|
-
return new b("Invalid " + I + " `" + _ + "` of value `" + String(
|
|
1150
|
+
return new b("Invalid " + I + " `" + _ + "` of value `" + String(C) + "` " + ("supplied to `" + O + "`, expected one of " + B + "."));
|
|
1151
1151
|
}
|
|
1152
|
-
return
|
|
1152
|
+
return w(x);
|
|
1153
1153
|
}
|
|
1154
1154
|
function ze(c) {
|
|
1155
|
-
function
|
|
1155
|
+
function x(P, R, O, I, _) {
|
|
1156
1156
|
if (typeof c != "function")
|
|
1157
1157
|
return new b("Property `" + _ + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
|
|
1158
|
-
var
|
|
1158
|
+
var C = P[R], S = ye(C);
|
|
1159
1159
|
if (S !== "object")
|
|
1160
1160
|
return new b("Invalid " + I + " `" + _ + "` of type " + ("`" + S + "` supplied to `" + O + "`, expected an object."));
|
|
1161
|
-
for (var
|
|
1162
|
-
if (n(
|
|
1163
|
-
var $ = c(
|
|
1161
|
+
for (var B in C)
|
|
1162
|
+
if (n(C, B)) {
|
|
1163
|
+
var $ = c(C, B, O, I, _ + "." + B, o);
|
|
1164
1164
|
if ($ instanceof Error)
|
|
1165
1165
|
return $;
|
|
1166
1166
|
}
|
|
1167
1167
|
return null;
|
|
1168
1168
|
}
|
|
1169
|
-
return
|
|
1169
|
+
return w(x);
|
|
1170
1170
|
}
|
|
1171
1171
|
function $e(c) {
|
|
1172
1172
|
if (!Array.isArray(c))
|
|
1173
1173
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
1174
|
-
for (var
|
|
1175
|
-
var P = c[
|
|
1174
|
+
for (var x = 0; x < c.length; x++) {
|
|
1175
|
+
var P = c[x];
|
|
1176
1176
|
if (typeof P != "function")
|
|
1177
1177
|
return i(
|
|
1178
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
1178
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + we(P) + " at index " + x + "."
|
|
1179
1179
|
), s;
|
|
1180
1180
|
}
|
|
1181
|
-
function R(O, I, _,
|
|
1182
|
-
for (var
|
|
1183
|
-
var se = c[$], h = se(O, I, _,
|
|
1181
|
+
function R(O, I, _, C, S) {
|
|
1182
|
+
for (var B = [], $ = 0; $ < c.length; $++) {
|
|
1183
|
+
var se = c[$], h = se(O, I, _, C, S, o);
|
|
1184
1184
|
if (h == null)
|
|
1185
1185
|
return null;
|
|
1186
|
-
h.data && n(h.data, "expectedType") &&
|
|
1186
|
+
h.data && n(h.data, "expectedType") && B.push(h.data.expectedType);
|
|
1187
1187
|
}
|
|
1188
|
-
var he =
|
|
1189
|
-
return new b("Invalid " +
|
|
1188
|
+
var he = B.length > 0 ? ", expected one of type [" + B.join(", ") + "]" : "";
|
|
1189
|
+
return new b("Invalid " + C + " `" + S + "` supplied to " + ("`" + _ + "`" + he + "."));
|
|
1190
1190
|
}
|
|
1191
|
-
return
|
|
1191
|
+
return w(R);
|
|
1192
1192
|
}
|
|
1193
1193
|
function Ge() {
|
|
1194
|
-
function c(
|
|
1195
|
-
return fe(
|
|
1194
|
+
function c(x, P, R, O, I) {
|
|
1195
|
+
return fe(x[P]) ? null : new b("Invalid " + O + " `" + I + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
|
|
1196
1196
|
}
|
|
1197
|
-
return
|
|
1197
|
+
return w(c);
|
|
1198
1198
|
}
|
|
1199
|
-
function ke(c,
|
|
1199
|
+
function ke(c, x, P, R, O) {
|
|
1200
1200
|
return new b(
|
|
1201
|
-
(c || "React class") + ": " +
|
|
1201
|
+
(c || "React class") + ": " + x + " type `" + P + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
|
|
1202
1202
|
);
|
|
1203
1203
|
}
|
|
1204
1204
|
function je(c) {
|
|
1205
|
-
function
|
|
1206
|
-
var
|
|
1205
|
+
function x(P, R, O, I, _) {
|
|
1206
|
+
var C = P[R], S = ye(C);
|
|
1207
1207
|
if (S !== "object")
|
|
1208
1208
|
return new b("Invalid " + I + " `" + _ + "` of type `" + S + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
1209
|
-
for (var
|
|
1210
|
-
var $ = c[
|
|
1209
|
+
for (var B in c) {
|
|
1210
|
+
var $ = c[B];
|
|
1211
1211
|
if (typeof $ != "function")
|
|
1212
|
-
return ke(O, I, _,
|
|
1213
|
-
var se = $(
|
|
1212
|
+
return ke(O, I, _, B, ve($));
|
|
1213
|
+
var se = $(C, B, O, I, _ + "." + B, o);
|
|
1214
1214
|
if (se)
|
|
1215
1215
|
return se;
|
|
1216
1216
|
}
|
|
1217
1217
|
return null;
|
|
1218
1218
|
}
|
|
1219
|
-
return
|
|
1219
|
+
return w(x);
|
|
1220
1220
|
}
|
|
1221
|
-
function
|
|
1222
|
-
function
|
|
1223
|
-
var
|
|
1221
|
+
function ge(c) {
|
|
1222
|
+
function x(P, R, O, I, _) {
|
|
1223
|
+
var C = P[R], S = ye(C);
|
|
1224
1224
|
if (S !== "object")
|
|
1225
1225
|
return new b("Invalid " + I + " `" + _ + "` of type `" + S + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
1226
|
-
var
|
|
1227
|
-
for (var $ in
|
|
1226
|
+
var B = r({}, P[R], c);
|
|
1227
|
+
for (var $ in B) {
|
|
1228
1228
|
var se = c[$];
|
|
1229
1229
|
if (n(c, $) && typeof se != "function")
|
|
1230
1230
|
return ke(O, I, _, $, ve(se));
|
|
@@ -1233,13 +1233,13 @@ function sn() {
|
|
|
1233
1233
|
"Invalid " + I + " `" + _ + "` key `" + $ + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(P[R], null, " ") + `
|
|
1234
1234
|
Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
1235
1235
|
);
|
|
1236
|
-
var h = se(
|
|
1236
|
+
var h = se(C, $, O, I, _ + "." + $, o);
|
|
1237
1237
|
if (h)
|
|
1238
1238
|
return h;
|
|
1239
1239
|
}
|
|
1240
1240
|
return null;
|
|
1241
1241
|
}
|
|
1242
|
-
return
|
|
1242
|
+
return w(x);
|
|
1243
1243
|
}
|
|
1244
1244
|
function fe(c) {
|
|
1245
1245
|
switch (typeof c) {
|
|
@@ -1254,10 +1254,10 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1254
1254
|
return c.every(fe);
|
|
1255
1255
|
if (c === null || d(c))
|
|
1256
1256
|
return !0;
|
|
1257
|
-
var
|
|
1258
|
-
if (
|
|
1259
|
-
var P =
|
|
1260
|
-
if (
|
|
1257
|
+
var x = m(c);
|
|
1258
|
+
if (x) {
|
|
1259
|
+
var P = x.call(c), R;
|
|
1260
|
+
if (x !== c.entries) {
|
|
1261
1261
|
for (; !(R = P.next()).done; )
|
|
1262
1262
|
if (!fe(R.value))
|
|
1263
1263
|
return !1;
|
|
@@ -1274,43 +1274,43 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1274
1274
|
return !1;
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
|
-
function Te(c,
|
|
1278
|
-
return c === "symbol" ? !0 :
|
|
1277
|
+
function Te(c, x) {
|
|
1278
|
+
return c === "symbol" ? !0 : x ? x["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && x instanceof Symbol : !1;
|
|
1279
1279
|
}
|
|
1280
|
-
function
|
|
1281
|
-
var
|
|
1282
|
-
return Array.isArray(c) ? "array" : c instanceof RegExp ? "object" : Te(
|
|
1280
|
+
function ye(c) {
|
|
1281
|
+
var x = typeof c;
|
|
1282
|
+
return Array.isArray(c) ? "array" : c instanceof RegExp ? "object" : Te(x, c) ? "symbol" : x;
|
|
1283
1283
|
}
|
|
1284
1284
|
function ve(c) {
|
|
1285
1285
|
if (typeof c > "u" || c === null)
|
|
1286
1286
|
return "" + c;
|
|
1287
|
-
var
|
|
1288
|
-
if (
|
|
1287
|
+
var x = ye(c);
|
|
1288
|
+
if (x === "object") {
|
|
1289
1289
|
if (c instanceof Date)
|
|
1290
1290
|
return "date";
|
|
1291
1291
|
if (c instanceof RegExp)
|
|
1292
1292
|
return "regexp";
|
|
1293
1293
|
}
|
|
1294
|
-
return
|
|
1294
|
+
return x;
|
|
1295
1295
|
}
|
|
1296
|
-
function
|
|
1297
|
-
var
|
|
1298
|
-
switch (
|
|
1296
|
+
function we(c) {
|
|
1297
|
+
var x = ve(c);
|
|
1298
|
+
switch (x) {
|
|
1299
1299
|
case "array":
|
|
1300
1300
|
case "object":
|
|
1301
|
-
return "an " +
|
|
1301
|
+
return "an " + x;
|
|
1302
1302
|
case "boolean":
|
|
1303
1303
|
case "date":
|
|
1304
1304
|
case "regexp":
|
|
1305
|
-
return "a " +
|
|
1305
|
+
return "a " + x;
|
|
1306
1306
|
default:
|
|
1307
|
-
return
|
|
1307
|
+
return x;
|
|
1308
1308
|
}
|
|
1309
1309
|
}
|
|
1310
1310
|
function Ie(c) {
|
|
1311
1311
|
return !c.constructor || !c.constructor.name ? l : c.constructor.name;
|
|
1312
1312
|
}
|
|
1313
|
-
return
|
|
1313
|
+
return E.checkPropTypes = a, E.resetWarningCache = a.resetWarningCache, E.PropTypes = E, E;
|
|
1314
1314
|
}, Or;
|
|
1315
1315
|
}
|
|
1316
1316
|
var _r, nt;
|
|
@@ -1364,10 +1364,10 @@ function un() {
|
|
|
1364
1364
|
}
|
|
1365
1365
|
if (process.env.NODE_ENV !== "production") {
|
|
1366
1366
|
var ln = bt(), cn = !0;
|
|
1367
|
-
|
|
1367
|
+
wr.exports = sn()(ln.isElement, cn);
|
|
1368
1368
|
} else
|
|
1369
|
-
|
|
1370
|
-
var fn =
|
|
1369
|
+
wr.exports = un()();
|
|
1370
|
+
var fn = wr.exports;
|
|
1371
1371
|
const He = /* @__PURE__ */ Xt(fn);
|
|
1372
1372
|
function Ue(e) {
|
|
1373
1373
|
let r = "https://mui.com/production-error/?code=" + e;
|
|
@@ -1375,7 +1375,7 @@ function Ue(e) {
|
|
|
1375
1375
|
r += "&args[]=" + encodeURIComponent(arguments[o]);
|
|
1376
1376
|
return "Minified MUI error #" + e + "; visit " + r + " for the full message.";
|
|
1377
1377
|
}
|
|
1378
|
-
function
|
|
1378
|
+
function xt(e) {
|
|
1379
1379
|
if (typeof e != "string")
|
|
1380
1380
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Ue(7));
|
|
1381
1381
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
@@ -1453,16 +1453,16 @@ function vn(e) {
|
|
|
1453
1453
|
function f(l) {
|
|
1454
1454
|
return `@media (max-width:${(typeof r[l] == "number" ? r[l] : l) - n / 100}${o})`;
|
|
1455
1455
|
}
|
|
1456
|
-
function g(l,
|
|
1457
|
-
const A = s.indexOf(
|
|
1458
|
-
return `@media (min-width:${typeof r[l] == "number" ? r[l] : l}${o}) and (max-width:${(A !== -1 && typeof r[s[A]] == "number" ? r[s[A]] :
|
|
1456
|
+
function g(l, E) {
|
|
1457
|
+
const A = s.indexOf(E);
|
|
1458
|
+
return `@media (min-width:${typeof r[l] == "number" ? r[l] : l}${o}) and (max-width:${(A !== -1 && typeof r[s[A]] == "number" ? r[s[A]] : E) - n / 100}${o})`;
|
|
1459
1459
|
}
|
|
1460
1460
|
function p(l) {
|
|
1461
1461
|
return s.indexOf(l) + 1 < s.length ? g(l, s[s.indexOf(l) + 1]) : d(l);
|
|
1462
1462
|
}
|
|
1463
1463
|
function m(l) {
|
|
1464
|
-
const
|
|
1465
|
-
return
|
|
1464
|
+
const E = s.indexOf(l);
|
|
1465
|
+
return E === 0 ? d(s[1]) : E === s.length - 1 ? f(s[E]) : g(l, s[s.indexOf(l) + 1]).replace("@media", "@media not all and");
|
|
1466
1466
|
}
|
|
1467
1467
|
return ie({
|
|
1468
1468
|
keys: s,
|
|
@@ -1475,9 +1475,9 @@ function vn(e) {
|
|
|
1475
1475
|
unit: o
|
|
1476
1476
|
}, a);
|
|
1477
1477
|
}
|
|
1478
|
-
const
|
|
1478
|
+
const xn = {
|
|
1479
1479
|
borderRadius: 4
|
|
1480
|
-
},
|
|
1480
|
+
}, En = xn, An = process.env.NODE_ENV !== "production" ? He.oneOfType([He.number, He.string, He.object, He.array]) : {}, Re = An;
|
|
1481
1481
|
function Je(e, r) {
|
|
1482
1482
|
return r ? _e(e, r, {
|
|
1483
1483
|
clone: !1
|
|
@@ -1501,7 +1501,7 @@ const Sr = {
|
|
|
1501
1501
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
1502
1502
|
up: (e) => `@media (min-width:${Sr[e]}px)`
|
|
1503
1503
|
};
|
|
1504
|
-
function
|
|
1504
|
+
function Ce(e, r, o) {
|
|
1505
1505
|
const n = e.theme || {};
|
|
1506
1506
|
if (Array.isArray(r)) {
|
|
1507
1507
|
const i = n.breakpoints || at;
|
|
@@ -1549,7 +1549,7 @@ function ar(e, r, o, n = o) {
|
|
|
1549
1549
|
let a;
|
|
1550
1550
|
return typeof e == "function" ? a = e(o) : Array.isArray(e) ? a = e[o] || n : a = ir(e, o) || n, r && (a = r(a, n, e)), a;
|
|
1551
1551
|
}
|
|
1552
|
-
function
|
|
1552
|
+
function L(e) {
|
|
1553
1553
|
const {
|
|
1554
1554
|
prop: r,
|
|
1555
1555
|
cssProperty: o = e.prop,
|
|
@@ -1559,9 +1559,9 @@ function U(e) {
|
|
|
1559
1559
|
if (s[r] == null)
|
|
1560
1560
|
return null;
|
|
1561
1561
|
const d = s[r], f = s.theme, g = ir(f, n) || {};
|
|
1562
|
-
return
|
|
1562
|
+
return Ce(s, d, (m) => {
|
|
1563
1563
|
let l = ar(g, a, m);
|
|
1564
|
-
return m === l && typeof m == "string" && (l = ar(g, a, `${r}${m === "default" ? "" :
|
|
1564
|
+
return m === l && typeof m == "string" && (l = ar(g, a, `${r}${m === "default" ? "" : xt(m)}`, m)), o === !1 ? l : {
|
|
1565
1565
|
[o]: l
|
|
1566
1566
|
};
|
|
1567
1567
|
});
|
|
@@ -1574,7 +1574,7 @@ function _n(e) {
|
|
|
1574
1574
|
const r = {};
|
|
1575
1575
|
return (o) => (r[o] === void 0 && (r[o] = e(o)), r[o]);
|
|
1576
1576
|
}
|
|
1577
|
-
const
|
|
1577
|
+
const Cn = {
|
|
1578
1578
|
m: "margin",
|
|
1579
1579
|
p: "padding"
|
|
1580
1580
|
}, Rn = {
|
|
@@ -1589,13 +1589,13 @@ const wn = {
|
|
|
1589
1589
|
marginY: "my",
|
|
1590
1590
|
paddingX: "px",
|
|
1591
1591
|
paddingY: "py"
|
|
1592
|
-
},
|
|
1592
|
+
}, wn = _n((e) => {
|
|
1593
1593
|
if (e.length > 2)
|
|
1594
1594
|
if (it[e])
|
|
1595
1595
|
e = it[e];
|
|
1596
1596
|
else
|
|
1597
1597
|
return [e];
|
|
1598
|
-
const [r, o] = e.split(""), n =
|
|
1598
|
+
const [r, o] = e.split(""), n = Cn[r], a = Rn[o] || "";
|
|
1599
1599
|
return Array.isArray(a) ? a.map((i) => n + i) : [n + a];
|
|
1600
1600
|
}), sr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], ur = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Pn = [...sr, ...ur];
|
|
1601
1601
|
function Qe(e, r, o, n) {
|
|
@@ -1607,7 +1607,7 @@ function Qe(e, r, o, n) {
|
|
|
1607
1607
|
`)), () => {
|
|
1608
1608
|
});
|
|
1609
1609
|
}
|
|
1610
|
-
function
|
|
1610
|
+
function Et(e) {
|
|
1611
1611
|
return Qe(e, "spacing", 8, "spacing");
|
|
1612
1612
|
}
|
|
1613
1613
|
function er(e, r) {
|
|
@@ -1622,11 +1622,11 @@ function Sn(e, r) {
|
|
|
1622
1622
|
function $n(e, r, o, n) {
|
|
1623
1623
|
if (r.indexOf(o) === -1)
|
|
1624
1624
|
return null;
|
|
1625
|
-
const a =
|
|
1626
|
-
return
|
|
1625
|
+
const a = wn(o), i = Sn(a, n), s = e[o];
|
|
1626
|
+
return Ce(e, s, i);
|
|
1627
1627
|
}
|
|
1628
1628
|
function At(e, r) {
|
|
1629
|
-
const o =
|
|
1629
|
+
const o = Et(e.theme);
|
|
1630
1630
|
return Object.keys(e).map((n) => $n(e, r, n, o)).reduce(Je, {});
|
|
1631
1631
|
}
|
|
1632
1632
|
function Z(e) {
|
|
@@ -1643,7 +1643,7 @@ process.env.NODE_ENV !== "production" && Pn.reduce((e, r) => (e[r] = Re, e), {})
|
|
|
1643
1643
|
function kn(e = 8) {
|
|
1644
1644
|
if (e.mui)
|
|
1645
1645
|
return e;
|
|
1646
|
-
const r =
|
|
1646
|
+
const r = Et({
|
|
1647
1647
|
spacing: e
|
|
1648
1648
|
}), o = (...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((i) => {
|
|
1649
1649
|
const s = r(i);
|
|
@@ -1657,42 +1657,42 @@ function lr(...e) {
|
|
|
1657
1657
|
}), n), {}), o = (n) => Object.keys(n).reduce((a, i) => r[i] ? Je(a, r[i](n)) : a, {});
|
|
1658
1658
|
return o.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, a) => Object.assign(n, a.propTypes), {}) : {}, o.filterProps = e.reduce((n, a) => n.concat(a.filterProps), []), o;
|
|
1659
1659
|
}
|
|
1660
|
-
function
|
|
1660
|
+
function Ee(e) {
|
|
1661
1661
|
return typeof e != "number" ? e : `${e}px solid`;
|
|
1662
1662
|
}
|
|
1663
|
-
const jn =
|
|
1663
|
+
const jn = L({
|
|
1664
1664
|
prop: "border",
|
|
1665
1665
|
themeKey: "borders",
|
|
1666
|
-
transform:
|
|
1667
|
-
}), In =
|
|
1666
|
+
transform: Ee
|
|
1667
|
+
}), In = L({
|
|
1668
1668
|
prop: "borderTop",
|
|
1669
1669
|
themeKey: "borders",
|
|
1670
|
-
transform:
|
|
1671
|
-
}), Mn =
|
|
1670
|
+
transform: Ee
|
|
1671
|
+
}), Mn = L({
|
|
1672
1672
|
prop: "borderRight",
|
|
1673
1673
|
themeKey: "borders",
|
|
1674
|
-
transform:
|
|
1675
|
-
}), Dn =
|
|
1674
|
+
transform: Ee
|
|
1675
|
+
}), Dn = L({
|
|
1676
1676
|
prop: "borderBottom",
|
|
1677
1677
|
themeKey: "borders",
|
|
1678
|
-
transform:
|
|
1679
|
-
}), Bn =
|
|
1678
|
+
transform: Ee
|
|
1679
|
+
}), Bn = L({
|
|
1680
1680
|
prop: "borderLeft",
|
|
1681
1681
|
themeKey: "borders",
|
|
1682
|
-
transform:
|
|
1683
|
-
}), Nn =
|
|
1682
|
+
transform: Ee
|
|
1683
|
+
}), Nn = L({
|
|
1684
1684
|
prop: "borderColor",
|
|
1685
1685
|
themeKey: "palette"
|
|
1686
|
-
}), Fn =
|
|
1686
|
+
}), Fn = L({
|
|
1687
1687
|
prop: "borderTopColor",
|
|
1688
1688
|
themeKey: "palette"
|
|
1689
|
-
}), Wn =
|
|
1689
|
+
}), Wn = L({
|
|
1690
1690
|
prop: "borderRightColor",
|
|
1691
1691
|
themeKey: "palette"
|
|
1692
|
-
}), Un =
|
|
1692
|
+
}), Un = L({
|
|
1693
1693
|
prop: "borderBottomColor",
|
|
1694
1694
|
themeKey: "palette"
|
|
1695
|
-
}), Ln =
|
|
1695
|
+
}), Ln = L({
|
|
1696
1696
|
prop: "borderLeftColor",
|
|
1697
1697
|
themeKey: "palette"
|
|
1698
1698
|
}), cr = (e) => {
|
|
@@ -1700,7 +1700,7 @@ const jn = U({
|
|
|
1700
1700
|
const r = Qe(e.theme, "shape.borderRadius", 4, "borderRadius"), o = (n) => ({
|
|
1701
1701
|
borderRadius: er(r, n)
|
|
1702
1702
|
});
|
|
1703
|
-
return
|
|
1703
|
+
return Ce(e, e.borderRadius, o);
|
|
1704
1704
|
}
|
|
1705
1705
|
return null;
|
|
1706
1706
|
};
|
|
@@ -1714,7 +1714,7 @@ const fr = (e) => {
|
|
|
1714
1714
|
const r = Qe(e.theme, "spacing", 8, "gap"), o = (n) => ({
|
|
1715
1715
|
gap: er(r, n)
|
|
1716
1716
|
});
|
|
1717
|
-
return
|
|
1717
|
+
return Ce(e, e.gap, o);
|
|
1718
1718
|
}
|
|
1719
1719
|
return null;
|
|
1720
1720
|
};
|
|
@@ -1727,7 +1727,7 @@ const dr = (e) => {
|
|
|
1727
1727
|
const r = Qe(e.theme, "spacing", 8, "columnGap"), o = (n) => ({
|
|
1728
1728
|
columnGap: er(r, n)
|
|
1729
1729
|
});
|
|
1730
|
-
return
|
|
1730
|
+
return Ce(e, e.columnGap, o);
|
|
1731
1731
|
}
|
|
1732
1732
|
return null;
|
|
1733
1733
|
};
|
|
@@ -1740,7 +1740,7 @@ const pr = (e) => {
|
|
|
1740
1740
|
const r = Qe(e.theme, "spacing", 8, "rowGap"), o = (n) => ({
|
|
1741
1741
|
rowGap: er(r, n)
|
|
1742
1742
|
});
|
|
1743
|
-
return
|
|
1743
|
+
return Ce(e, e.rowGap, o);
|
|
1744
1744
|
}
|
|
1745
1745
|
return null;
|
|
1746
1746
|
};
|
|
@@ -1748,39 +1748,39 @@ pr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1748
1748
|
rowGap: Re
|
|
1749
1749
|
} : {};
|
|
1750
1750
|
pr.filterProps = ["rowGap"];
|
|
1751
|
-
const Yn =
|
|
1751
|
+
const Yn = L({
|
|
1752
1752
|
prop: "gridColumn"
|
|
1753
|
-
}), zn =
|
|
1753
|
+
}), zn = L({
|
|
1754
1754
|
prop: "gridRow"
|
|
1755
|
-
}), Gn =
|
|
1755
|
+
}), Gn = L({
|
|
1756
1756
|
prop: "gridAutoFlow"
|
|
1757
|
-
}), Vn =
|
|
1757
|
+
}), Vn = L({
|
|
1758
1758
|
prop: "gridAutoColumns"
|
|
1759
|
-
}), Kn =
|
|
1759
|
+
}), Kn = L({
|
|
1760
1760
|
prop: "gridAutoRows"
|
|
1761
|
-
}), qn =
|
|
1761
|
+
}), qn = L({
|
|
1762
1762
|
prop: "gridTemplateColumns"
|
|
1763
|
-
}), Hn =
|
|
1763
|
+
}), Hn = L({
|
|
1764
1764
|
prop: "gridTemplateRows"
|
|
1765
|
-
}), Jn =
|
|
1765
|
+
}), Jn = L({
|
|
1766
1766
|
prop: "gridTemplateAreas"
|
|
1767
|
-
}), Xn =
|
|
1767
|
+
}), Xn = L({
|
|
1768
1768
|
prop: "gridArea"
|
|
1769
1769
|
});
|
|
1770
1770
|
lr(fr, dr, pr, Yn, zn, Gn, Vn, Kn, qn, Hn, Jn, Xn);
|
|
1771
1771
|
function We(e, r) {
|
|
1772
1772
|
return r === "grey" ? r : e;
|
|
1773
1773
|
}
|
|
1774
|
-
const Zn =
|
|
1774
|
+
const Zn = L({
|
|
1775
1775
|
prop: "color",
|
|
1776
1776
|
themeKey: "palette",
|
|
1777
1777
|
transform: We
|
|
1778
|
-
}), Qn =
|
|
1778
|
+
}), Qn = L({
|
|
1779
1779
|
prop: "bgcolor",
|
|
1780
1780
|
cssProperty: "backgroundColor",
|
|
1781
1781
|
themeKey: "palette",
|
|
1782
1782
|
transform: We
|
|
1783
|
-
}), eo =
|
|
1783
|
+
}), eo = L({
|
|
1784
1784
|
prop: "backgroundColor",
|
|
1785
1785
|
themeKey: "palette",
|
|
1786
1786
|
transform: We
|
|
@@ -1789,7 +1789,7 @@ lr(Zn, Qn, eo);
|
|
|
1789
1789
|
function me(e) {
|
|
1790
1790
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1791
1791
|
}
|
|
1792
|
-
const ro =
|
|
1792
|
+
const ro = L({
|
|
1793
1793
|
prop: "width",
|
|
1794
1794
|
transform: me
|
|
1795
1795
|
}), $r = (e) => {
|
|
@@ -1805,35 +1805,35 @@ const ro = U({
|
|
|
1805
1805
|
maxWidth: me(o)
|
|
1806
1806
|
};
|
|
1807
1807
|
};
|
|
1808
|
-
return
|
|
1808
|
+
return Ce(e, e.maxWidth, r);
|
|
1809
1809
|
}
|
|
1810
1810
|
return null;
|
|
1811
1811
|
};
|
|
1812
1812
|
$r.filterProps = ["maxWidth"];
|
|
1813
|
-
const to =
|
|
1813
|
+
const to = L({
|
|
1814
1814
|
prop: "minWidth",
|
|
1815
1815
|
transform: me
|
|
1816
|
-
}), no =
|
|
1816
|
+
}), no = L({
|
|
1817
1817
|
prop: "height",
|
|
1818
1818
|
transform: me
|
|
1819
|
-
}), oo =
|
|
1819
|
+
}), oo = L({
|
|
1820
1820
|
prop: "maxHeight",
|
|
1821
1821
|
transform: me
|
|
1822
|
-
}), ao =
|
|
1822
|
+
}), ao = L({
|
|
1823
1823
|
prop: "minHeight",
|
|
1824
1824
|
transform: me
|
|
1825
1825
|
});
|
|
1826
|
-
|
|
1826
|
+
L({
|
|
1827
1827
|
prop: "size",
|
|
1828
1828
|
cssProperty: "width",
|
|
1829
1829
|
transform: me
|
|
1830
1830
|
});
|
|
1831
|
-
|
|
1831
|
+
L({
|
|
1832
1832
|
prop: "size",
|
|
1833
1833
|
cssProperty: "height",
|
|
1834
1834
|
transform: me
|
|
1835
1835
|
});
|
|
1836
|
-
const io =
|
|
1836
|
+
const io = L({
|
|
1837
1837
|
prop: "boxSizing"
|
|
1838
1838
|
});
|
|
1839
1839
|
lr(ro, $r, to, no, oo, ao, io);
|
|
@@ -1841,23 +1841,23 @@ const so = {
|
|
|
1841
1841
|
// borders
|
|
1842
1842
|
border: {
|
|
1843
1843
|
themeKey: "borders",
|
|
1844
|
-
transform:
|
|
1844
|
+
transform: Ee
|
|
1845
1845
|
},
|
|
1846
1846
|
borderTop: {
|
|
1847
1847
|
themeKey: "borders",
|
|
1848
|
-
transform:
|
|
1848
|
+
transform: Ee
|
|
1849
1849
|
},
|
|
1850
1850
|
borderRight: {
|
|
1851
1851
|
themeKey: "borders",
|
|
1852
|
-
transform:
|
|
1852
|
+
transform: Ee
|
|
1853
1853
|
},
|
|
1854
1854
|
borderBottom: {
|
|
1855
1855
|
themeKey: "borders",
|
|
1856
|
-
transform:
|
|
1856
|
+
transform: Ee
|
|
1857
1857
|
},
|
|
1858
1858
|
borderLeft: {
|
|
1859
1859
|
themeKey: "borders",
|
|
1860
|
-
transform:
|
|
1860
|
+
transform: Ee
|
|
1861
1861
|
},
|
|
1862
1862
|
borderColor: {
|
|
1863
1863
|
themeKey: "palette"
|
|
@@ -2145,9 +2145,9 @@ function co() {
|
|
|
2145
2145
|
[o]: n
|
|
2146
2146
|
};
|
|
2147
2147
|
const l = ir(a, g) || {};
|
|
2148
|
-
return m ? m(s) :
|
|
2148
|
+
return m ? m(s) : Ce(s, n, (A) => {
|
|
2149
2149
|
let b = ar(l, p, A);
|
|
2150
|
-
return A === b && typeof A == "string" && (b = ar(l, p, `${o}${A === "default" ? "" :
|
|
2150
|
+
return A === b && typeof A == "string" && (b = ar(l, p, `${o}${A === "default" ? "" : xt(A)}`, A)), f === !1 ? b : {
|
|
2151
2151
|
[f]: b
|
|
2152
2152
|
};
|
|
2153
2153
|
});
|
|
@@ -2171,25 +2171,25 @@ function co() {
|
|
|
2171
2171
|
return null;
|
|
2172
2172
|
const p = Tn(i.breakpoints), m = Object.keys(p);
|
|
2173
2173
|
let l = p;
|
|
2174
|
-
return Object.keys(g).forEach((
|
|
2175
|
-
const A = lo(g[
|
|
2174
|
+
return Object.keys(g).forEach((E) => {
|
|
2175
|
+
const A = lo(g[E], i);
|
|
2176
2176
|
if (A != null)
|
|
2177
2177
|
if (typeof A == "object")
|
|
2178
|
-
if (s[
|
|
2179
|
-
l = Je(l, e(
|
|
2178
|
+
if (s[E])
|
|
2179
|
+
l = Je(l, e(E, A, i, s));
|
|
2180
2180
|
else {
|
|
2181
|
-
const b =
|
|
2181
|
+
const b = Ce({
|
|
2182
2182
|
theme: i
|
|
2183
|
-
}, A, (
|
|
2184
|
-
[
|
|
2183
|
+
}, A, (w) => ({
|
|
2184
|
+
[E]: w
|
|
2185
2185
|
}));
|
|
2186
|
-
uo(b, A) ? l[
|
|
2186
|
+
uo(b, A) ? l[E] = r({
|
|
2187
2187
|
sx: A,
|
|
2188
2188
|
theme: i
|
|
2189
2189
|
}) : l = Je(l, b);
|
|
2190
2190
|
}
|
|
2191
2191
|
else
|
|
2192
|
-
l = Je(l, e(
|
|
2192
|
+
l = Je(l, e(E, A, i, s));
|
|
2193
2193
|
}), On(m, l);
|
|
2194
2194
|
}
|
|
2195
2195
|
return Array.isArray(a) ? a.map(d) : d(a);
|
|
@@ -2215,7 +2215,7 @@ function po(e = {}, ...r) {
|
|
|
2215
2215
|
mode: "light"
|
|
2216
2216
|
}, n),
|
|
2217
2217
|
spacing: f,
|
|
2218
|
-
shape: ie({},
|
|
2218
|
+
shape: ie({}, En, i)
|
|
2219
2219
|
}, s);
|
|
2220
2220
|
return g = r.reduce((p, m) => _e(p, m), g), g.unstable_sxConfig = ie({}, kr, s == null ? void 0 : s.unstable_sxConfig), g.unstable_sx = function(m) {
|
|
2221
2221
|
return Ot({
|
|
@@ -2286,7 +2286,7 @@ function ut(e, r) {
|
|
|
2286
2286
|
const o = st(e), n = st(r);
|
|
2287
2287
|
return (Math.max(o, n) + 0.05) / (Math.min(o, n) + 0.05);
|
|
2288
2288
|
}
|
|
2289
|
-
function
|
|
2289
|
+
function pe(e, r) {
|
|
2290
2290
|
return e = Se(e), r = jr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, gr(e);
|
|
2291
2291
|
}
|
|
2292
2292
|
function mo(e, r) {
|
|
@@ -2326,7 +2326,7 @@ function bo(e, r) {
|
|
|
2326
2326
|
const vo = {
|
|
2327
2327
|
black: "#000",
|
|
2328
2328
|
white: "#fff"
|
|
2329
|
-
}, Ze = vo,
|
|
2329
|
+
}, Ze = vo, xo = {
|
|
2330
2330
|
50: "#fafafa",
|
|
2331
2331
|
100: "#f5f5f5",
|
|
2332
2332
|
200: "#eeeeee",
|
|
@@ -2341,7 +2341,7 @@ const vo = {
|
|
|
2341
2341
|
A200: "#eeeeee",
|
|
2342
2342
|
A400: "#bdbdbd",
|
|
2343
2343
|
A700: "#616161"
|
|
2344
|
-
}, ne =
|
|
2344
|
+
}, ne = xo, Eo = {
|
|
2345
2345
|
50: "#f3e5f5",
|
|
2346
2346
|
100: "#e1bee7",
|
|
2347
2347
|
200: "#ce93d8",
|
|
@@ -2356,7 +2356,7 @@ const vo = {
|
|
|
2356
2356
|
A200: "#e040fb",
|
|
2357
2357
|
A400: "#d500f9",
|
|
2358
2358
|
A700: "#aa00ff"
|
|
2359
|
-
},
|
|
2359
|
+
}, Y = Eo, Ao = {
|
|
2360
2360
|
50: "#ffebee",
|
|
2361
2361
|
100: "#ffcdd2",
|
|
2362
2362
|
200: "#ef9a9a",
|
|
@@ -2371,7 +2371,7 @@ const vo = {
|
|
|
2371
2371
|
A200: "#ff5252",
|
|
2372
2372
|
A400: "#ff1744",
|
|
2373
2373
|
A700: "#d50000"
|
|
2374
|
-
},
|
|
2374
|
+
}, q = Ao, To = {
|
|
2375
2375
|
50: "#fff3e0",
|
|
2376
2376
|
100: "#ffe0b2",
|
|
2377
2377
|
200: "#ffcc80",
|
|
@@ -2416,7 +2416,7 @@ const vo = {
|
|
|
2416
2416
|
A200: "#40c4ff",
|
|
2417
2417
|
A400: "#00b0ff",
|
|
2418
2418
|
A700: "#0091ea"
|
|
2419
|
-
}, J = _o,
|
|
2419
|
+
}, J = _o, Co = {
|
|
2420
2420
|
50: "#e8f5e9",
|
|
2421
2421
|
100: "#c8e6c9",
|
|
2422
2422
|
200: "#a5d6a7",
|
|
@@ -2431,7 +2431,7 @@ const vo = {
|
|
|
2431
2431
|
A200: "#69f0ae",
|
|
2432
2432
|
A400: "#00e676",
|
|
2433
2433
|
A700: "#00c853"
|
|
2434
|
-
}, oe =
|
|
2434
|
+
}, oe = Co, Ro = ["mode", "contrastThreshold", "tonalOffset"], lt = {
|
|
2435
2435
|
// The colors used to style the text.
|
|
2436
2436
|
text: {
|
|
2437
2437
|
// The most important text.
|
|
@@ -2468,7 +2468,7 @@ const vo = {
|
|
|
2468
2468
|
focusOpacity: 0.12,
|
|
2469
2469
|
activatedOpacity: 0.12
|
|
2470
2470
|
}
|
|
2471
|
-
},
|
|
2471
|
+
}, Cr = {
|
|
2472
2472
|
text: {
|
|
2473
2473
|
primary: Ze.white,
|
|
2474
2474
|
secondary: "rgba(255, 255, 255, 0.7)",
|
|
@@ -2498,7 +2498,7 @@ function ct(e, r, o, n) {
|
|
|
2498
2498
|
const a = n.light || n, i = n.dark || n * 1.5;
|
|
2499
2499
|
e[r] || (e.hasOwnProperty(o) ? e[r] = e[o] : r === "light" ? e.light = ho(e.main, a) : r === "dark" && (e.dark = mo(e.main, i)));
|
|
2500
2500
|
}
|
|
2501
|
-
function
|
|
2501
|
+
function wo(e = "light") {
|
|
2502
2502
|
return e === "dark" ? {
|
|
2503
2503
|
main: re[200],
|
|
2504
2504
|
light: re[50],
|
|
@@ -2511,24 +2511,24 @@ function Co(e = "light") {
|
|
|
2511
2511
|
}
|
|
2512
2512
|
function Po(e = "light") {
|
|
2513
2513
|
return e === "dark" ? {
|
|
2514
|
-
main:
|
|
2515
|
-
light:
|
|
2516
|
-
dark:
|
|
2514
|
+
main: Y[200],
|
|
2515
|
+
light: Y[50],
|
|
2516
|
+
dark: Y[400]
|
|
2517
2517
|
} : {
|
|
2518
|
-
main:
|
|
2519
|
-
light:
|
|
2520
|
-
dark:
|
|
2518
|
+
main: Y[500],
|
|
2519
|
+
light: Y[300],
|
|
2520
|
+
dark: Y[700]
|
|
2521
2521
|
};
|
|
2522
2522
|
}
|
|
2523
2523
|
function So(e = "light") {
|
|
2524
2524
|
return e === "dark" ? {
|
|
2525
|
-
main:
|
|
2526
|
-
light:
|
|
2527
|
-
dark:
|
|
2525
|
+
main: q[500],
|
|
2526
|
+
light: q[300],
|
|
2527
|
+
dark: q[700]
|
|
2528
2528
|
} : {
|
|
2529
|
-
main:
|
|
2530
|
-
light:
|
|
2531
|
-
dark:
|
|
2529
|
+
main: q[700],
|
|
2530
|
+
light: q[400],
|
|
2531
|
+
dark: q[800]
|
|
2532
2532
|
};
|
|
2533
2533
|
}
|
|
2534
2534
|
function $o(e = "light") {
|
|
@@ -2570,28 +2570,28 @@ function Io(e) {
|
|
|
2570
2570
|
mode: r = "light",
|
|
2571
2571
|
contrastThreshold: o = 3,
|
|
2572
2572
|
tonalOffset: n = 0.2
|
|
2573
|
-
} = e, a = Le(e, Ro), i = e.primary ||
|
|
2573
|
+
} = e, a = Le(e, Ro), i = e.primary || wo(r), s = e.secondary || Po(r), d = e.error || So(r), f = e.info || $o(r), g = e.success || ko(r), p = e.warning || jo(r);
|
|
2574
2574
|
function m(b) {
|
|
2575
|
-
const
|
|
2575
|
+
const w = ut(b, Cr.text.primary) >= o ? Cr.text.primary : lt.text.primary;
|
|
2576
2576
|
if (process.env.NODE_ENV !== "production") {
|
|
2577
|
-
const
|
|
2578
|
-
|
|
2577
|
+
const N = ut(b, w);
|
|
2578
|
+
N < 3 && console.error([`MUI: The contrast ratio of ${N}:1 for ${w} 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(`
|
|
2579
2579
|
`));
|
|
2580
2580
|
}
|
|
2581
|
-
return
|
|
2581
|
+
return w;
|
|
2582
2582
|
}
|
|
2583
2583
|
const l = ({
|
|
2584
2584
|
color: b,
|
|
2585
|
-
name:
|
|
2586
|
-
mainShade:
|
|
2587
|
-
lightShade:
|
|
2588
|
-
darkShade:
|
|
2585
|
+
name: w,
|
|
2586
|
+
mainShade: N = 500,
|
|
2587
|
+
lightShade: G = 300,
|
|
2588
|
+
darkShade: H = 700
|
|
2589
2589
|
}) => {
|
|
2590
|
-
if (b = ie({}, b), !b.main && b[
|
|
2591
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
2592
|
-
The color object needs to have a \`main\` property or a \`${
|
|
2590
|
+
if (b = ie({}, b), !b.main && b[N] && (b.main = b[N]), !b.hasOwnProperty("main"))
|
|
2591
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
|
|
2592
|
+
The color object needs to have a \`main\` property or a \`${N}\` property.` : Ue(11, w ? ` (${w})` : "", N));
|
|
2593
2593
|
if (typeof b.main != "string")
|
|
2594
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
2594
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
|
|
2595
2595
|
\`color.main\` should be a string, but \`${JSON.stringify(b.main)}\` was provided instead.
|
|
2596
2596
|
|
|
2597
2597
|
Did you intend to use one of the following approaches?
|
|
@@ -2604,13 +2604,13 @@ const theme1 = createTheme({ palette: {
|
|
|
2604
2604
|
|
|
2605
2605
|
const theme2 = createTheme({ palette: {
|
|
2606
2606
|
primary: { main: green[500] },
|
|
2607
|
-
} });` : Ue(12,
|
|
2608
|
-
return ct(b, "light",
|
|
2609
|
-
},
|
|
2610
|
-
dark:
|
|
2607
|
+
} });` : Ue(12, w ? ` (${w})` : "", JSON.stringify(b.main)));
|
|
2608
|
+
return ct(b, "light", G, n), ct(b, "dark", H, n), b.contrastText || (b.contrastText = m(b.main)), b;
|
|
2609
|
+
}, E = {
|
|
2610
|
+
dark: Cr,
|
|
2611
2611
|
light: lt
|
|
2612
2612
|
};
|
|
2613
|
-
return process.env.NODE_ENV !== "production" && (
|
|
2613
|
+
return process.env.NODE_ENV !== "production" && (E[r] || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), _e(ie({
|
|
2614
2614
|
// A collection of common colors.
|
|
2615
2615
|
common: ie({}, Ze),
|
|
2616
2616
|
// prevent mutable object.
|
|
@@ -2662,7 +2662,7 @@ const theme2 = createTheme({ palette: {
|
|
|
2662
2662
|
// two indexes within its tonal palette.
|
|
2663
2663
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
2664
2664
|
tonalOffset: n
|
|
2665
|
-
},
|
|
2665
|
+
}, E[r]), a);
|
|
2666
2666
|
}
|
|
2667
2667
|
const Mo = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
2668
2668
|
function Do(e) {
|
|
@@ -2689,15 +2689,15 @@ function Bo(e, r) {
|
|
|
2689
2689
|
pxToRem: m
|
|
2690
2690
|
} = o, l = Le(o, Mo);
|
|
2691
2691
|
process.env.NODE_ENV !== "production" && (typeof a != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof g != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2692
|
-
const
|
|
2692
|
+
const E = a / 14, A = m || ((N) => `${N / g * E}rem`), b = (N, G, H, X, v) => ie({
|
|
2693
2693
|
fontFamily: n,
|
|
2694
|
-
fontWeight:
|
|
2695
|
-
fontSize: A(
|
|
2694
|
+
fontWeight: N,
|
|
2695
|
+
fontSize: A(G),
|
|
2696
2696
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2697
|
-
lineHeight:
|
|
2697
|
+
lineHeight: H
|
|
2698
2698
|
}, n === dt ? {
|
|
2699
|
-
letterSpacing: `${Do(X /
|
|
2700
|
-
} : {}, v, p),
|
|
2699
|
+
letterSpacing: `${Do(X / G)}em`
|
|
2700
|
+
} : {}, v, p), w = {
|
|
2701
2701
|
h1: b(i, 96, 1.167, -1.5),
|
|
2702
2702
|
h2: b(i, 60, 1.2, -0.5),
|
|
2703
2703
|
h3: b(s, 48, 1.167, 0),
|
|
@@ -2729,16 +2729,16 @@ function Bo(e, r) {
|
|
|
2729
2729
|
fontWeightRegular: s,
|
|
2730
2730
|
fontWeightMedium: d,
|
|
2731
2731
|
fontWeightBold: f
|
|
2732
|
-
},
|
|
2732
|
+
}, w), l, {
|
|
2733
2733
|
clone: !1
|
|
2734
2734
|
// No need to clone deep
|
|
2735
2735
|
});
|
|
2736
2736
|
}
|
|
2737
2737
|
const No = 0.2, Fo = 0.14, Wo = 0.12;
|
|
2738
|
-
function
|
|
2738
|
+
function K(...e) {
|
|
2739
2739
|
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${No})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Fo})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Wo})`].join(",");
|
|
2740
2740
|
}
|
|
2741
|
-
const Uo = ["none",
|
|
2741
|
+
const Uo = ["none", K(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), K(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), K(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), K(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), K(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), K(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), K(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), K(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), K(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), K(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), K(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), K(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), K(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), K(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), K(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), K(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), K(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), K(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), K(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), K(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), K(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), K(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), K(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), K(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Lo = Uo, Yo = ["duration", "easing", "delay"], zo = {
|
|
2742
2742
|
// This is the most common easing curve.
|
|
2743
2743
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2744
2744
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -2822,16 +2822,16 @@ function Xo(e = {}, ...r) {
|
|
|
2822
2822
|
zIndex: ie({}, Ho)
|
|
2823
2823
|
});
|
|
2824
2824
|
if (g = _e(g, s), g = r.reduce((p, m) => _e(p, m), g), process.env.NODE_ENV !== "production") {
|
|
2825
|
-
const p = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], m = (l,
|
|
2825
|
+
const p = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], m = (l, E) => {
|
|
2826
2826
|
let A;
|
|
2827
2827
|
for (A in l) {
|
|
2828
2828
|
const b = l[A];
|
|
2829
2829
|
if (p.indexOf(A) !== -1 && Object.keys(b).length > 0) {
|
|
2830
2830
|
if (process.env.NODE_ENV !== "production") {
|
|
2831
|
-
const
|
|
2832
|
-
console.error([`MUI: The \`${
|
|
2831
|
+
const w = mn("", A);
|
|
2832
|
+
console.error([`MUI: The \`${E}\` component increases the CSS specificity of the \`${A}\` internal state.`, "You can not override it like this: ", JSON.stringify(l, null, 2), "", `Instead, you need to use the '&.${w}' syntax:`, JSON.stringify({
|
|
2833
2833
|
root: {
|
|
2834
|
-
[`&.${
|
|
2834
|
+
[`&.${w}`]: b
|
|
2835
2835
|
}
|
|
2836
2836
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
2837
2837
|
`));
|
|
@@ -2841,8 +2841,8 @@ function Xo(e = {}, ...r) {
|
|
|
2841
2841
|
}
|
|
2842
2842
|
};
|
|
2843
2843
|
Object.keys(g.components).forEach((l) => {
|
|
2844
|
-
const
|
|
2845
|
-
|
|
2844
|
+
const E = g.components[l].styleOverrides;
|
|
2845
|
+
E && l.indexOf("Mui") === 0 && m(E, l);
|
|
2846
2846
|
});
|
|
2847
2847
|
}
|
|
2848
2848
|
return g.unstable_sxConfig = ie({}, kr, s == null ? void 0 : s.unstable_sxConfig), g.unstable_sx = function(m) {
|
|
@@ -2897,7 +2897,7 @@ const Zo = {
|
|
|
2897
2897
|
A200: "#b2ff59",
|
|
2898
2898
|
A400: "#76ff03",
|
|
2899
2899
|
A700: "#64dd17"
|
|
2900
|
-
},
|
|
2900
|
+
}, xe = ea, ra = {
|
|
2901
2901
|
50: "#fffde7",
|
|
2902
2902
|
100: "#fff9c4",
|
|
2903
2903
|
200: "#fff59d",
|
|
@@ -2934,13 +2934,13 @@ const Zo = {
|
|
|
2934
2934
|
cyan1000: "#002329",
|
|
2935
2935
|
deepPurpleA800: "#500fc4",
|
|
2936
2936
|
deepPurple1000: "#16073E"
|
|
2937
|
-
},
|
|
2937
|
+
}, D = {
|
|
2938
2938
|
text: {
|
|
2939
2939
|
primary: ne[900],
|
|
2940
2940
|
secondary: ne[700],
|
|
2941
2941
|
disabled: ne[700]
|
|
2942
2942
|
},
|
|
2943
|
-
focusVisible:
|
|
2943
|
+
focusVisible: pe(re[700], 0.3),
|
|
2944
2944
|
blue50: re[50],
|
|
2945
2945
|
blue100: re[100],
|
|
2946
2946
|
blue200: re[200],
|
|
@@ -2987,16 +2987,16 @@ const Zo = {
|
|
|
2987
2987
|
lightBlueA200: J.A200,
|
|
2988
2988
|
lightBlueA400: J.A400,
|
|
2989
2989
|
lightBlueA700: J.A700,
|
|
2990
|
-
lightGreen50:
|
|
2991
|
-
lightGreen100:
|
|
2992
|
-
lightGreen200:
|
|
2993
|
-
lightGreen300:
|
|
2994
|
-
lightGreen400:
|
|
2995
|
-
lightGreen500:
|
|
2996
|
-
lightGreen600:
|
|
2997
|
-
lightGreen700:
|
|
2998
|
-
lightGreen800:
|
|
2999
|
-
lightGreen900:
|
|
2990
|
+
lightGreen50: xe[50],
|
|
2991
|
+
lightGreen100: xe[100],
|
|
2992
|
+
lightGreen200: xe[200],
|
|
2993
|
+
lightGreen300: xe[300],
|
|
2994
|
+
lightGreen400: xe[400],
|
|
2995
|
+
lightGreen500: xe[500],
|
|
2996
|
+
lightGreen600: xe[600],
|
|
2997
|
+
lightGreen700: xe[700],
|
|
2998
|
+
lightGreen800: xe[800],
|
|
2999
|
+
lightGreen900: xe[900],
|
|
3000
3000
|
neutral00: j.neutral00,
|
|
3001
3001
|
neutral50: ne[50],
|
|
3002
3002
|
neutral100: ne[100],
|
|
@@ -3027,21 +3027,21 @@ const Zo = {
|
|
|
3027
3027
|
orangeA200: ae.A200,
|
|
3028
3028
|
orangeA400: ae.A400,
|
|
3029
3029
|
orangeA700: ae.A700,
|
|
3030
|
-
purple50:
|
|
3031
|
-
purple100:
|
|
3032
|
-
purple200:
|
|
3033
|
-
purple300:
|
|
3034
|
-
purple400:
|
|
3035
|
-
purple500:
|
|
3036
|
-
purple600:
|
|
3037
|
-
purple700:
|
|
3038
|
-
purple800:
|
|
3039
|
-
purple900:
|
|
3030
|
+
purple50: Y[50],
|
|
3031
|
+
purple100: Y[100],
|
|
3032
|
+
purple200: Y[200],
|
|
3033
|
+
purple300: Y[300],
|
|
3034
|
+
purple400: Y[400],
|
|
3035
|
+
purple500: Y[500],
|
|
3036
|
+
purple600: Y[600],
|
|
3037
|
+
purple700: Y[700],
|
|
3038
|
+
purple800: Y[800],
|
|
3039
|
+
purple900: Y[900],
|
|
3040
3040
|
purple1000: j.purple1000,
|
|
3041
|
-
purpleA100:
|
|
3042
|
-
purpleA200:
|
|
3043
|
-
purpleA400:
|
|
3044
|
-
purpleA700:
|
|
3041
|
+
purpleA100: Y.A100,
|
|
3042
|
+
purpleA200: Y.A200,
|
|
3043
|
+
purpleA400: Y.A400,
|
|
3044
|
+
purpleA700: Y.A700,
|
|
3045
3045
|
yellow50: ue[50],
|
|
3046
3046
|
yellow100: ue[100],
|
|
3047
3047
|
yellow200: ue[200],
|
|
@@ -3057,21 +3057,21 @@ const Zo = {
|
|
|
3057
3057
|
yellowA200: ue.A200,
|
|
3058
3058
|
yellowA400: ue.A400,
|
|
3059
3059
|
yellowA700: ue.A700,
|
|
3060
|
-
red50:
|
|
3061
|
-
red100:
|
|
3062
|
-
red200:
|
|
3063
|
-
red300:
|
|
3064
|
-
red400:
|
|
3065
|
-
red500:
|
|
3066
|
-
red600:
|
|
3067
|
-
red700:
|
|
3068
|
-
red800:
|
|
3069
|
-
red900:
|
|
3060
|
+
red50: q[50],
|
|
3061
|
+
red100: q[100],
|
|
3062
|
+
red200: q[200],
|
|
3063
|
+
red300: q[300],
|
|
3064
|
+
red400: q[400],
|
|
3065
|
+
red500: q[500],
|
|
3066
|
+
red600: q[600],
|
|
3067
|
+
red700: q[700],
|
|
3068
|
+
red800: q[800],
|
|
3069
|
+
red900: q[900],
|
|
3070
3070
|
red1000: j.red1000,
|
|
3071
|
-
redA100:
|
|
3072
|
-
redA200:
|
|
3073
|
-
redA400:
|
|
3074
|
-
redA700:
|
|
3071
|
+
redA100: q.A100,
|
|
3072
|
+
redA200: q.A200,
|
|
3073
|
+
redA400: q.A400,
|
|
3074
|
+
redA700: q.A700,
|
|
3075
3075
|
cyan50: de[50],
|
|
3076
3076
|
cyan100: de[100],
|
|
3077
3077
|
cyan200: de[200],
|
|
@@ -3108,28 +3108,29 @@ const Zo = {
|
|
|
3108
3108
|
dark: j.blue800,
|
|
3109
3109
|
light: re.A200,
|
|
3110
3110
|
contrastText: j.neutral00,
|
|
3111
|
-
hover:
|
|
3112
|
-
selected:
|
|
3113
|
-
focus:
|
|
3114
|
-
focusVisible:
|
|
3111
|
+
hover: pe(j.blue700, 0.04),
|
|
3112
|
+
selected: pe(j.blue700, 0.08),
|
|
3113
|
+
focus: pe(j.blue700, 0.12),
|
|
3114
|
+
focusVisible: pe(re[700], 0.3),
|
|
3115
3115
|
outlinedBorder: re[200]
|
|
3116
3116
|
},
|
|
3117
3117
|
secondary: {
|
|
3118
|
-
main:
|
|
3119
|
-
dark:
|
|
3120
|
-
light:
|
|
3118
|
+
main: Y.A700,
|
|
3119
|
+
dark: Y[700],
|
|
3120
|
+
light: Y.A400,
|
|
3121
3121
|
contrastText: j.neutral00,
|
|
3122
|
-
hover:
|
|
3123
|
-
selected:
|
|
3124
|
-
focus:
|
|
3125
|
-
focusVisible:
|
|
3126
|
-
outlinedBorder:
|
|
3122
|
+
hover: pe(Y[500], 0.04),
|
|
3123
|
+
selected: pe(Y[500], 0.08),
|
|
3124
|
+
focus: pe(Y[500], 0.12),
|
|
3125
|
+
focusVisible: pe(Y[500], 0.3),
|
|
3126
|
+
outlinedBorder: Y[200]
|
|
3127
3127
|
},
|
|
3128
3128
|
error: {
|
|
3129
|
-
main:
|
|
3130
|
-
dark:
|
|
3131
|
-
light:
|
|
3132
|
-
contrastText: j.neutral00
|
|
3129
|
+
main: q.A700,
|
|
3130
|
+
dark: q[800],
|
|
3131
|
+
light: q.A200,
|
|
3132
|
+
contrastText: j.neutral00,
|
|
3133
|
+
hover: pe(q[700], 0.04)
|
|
3133
3134
|
},
|
|
3134
3135
|
warning: {
|
|
3135
3136
|
main: ue[900],
|
|
@@ -3156,9 +3157,9 @@ const Zo = {
|
|
|
3156
3157
|
},
|
|
3157
3158
|
action: {
|
|
3158
3159
|
active: ne[700],
|
|
3159
|
-
hover:
|
|
3160
|
-
selected:
|
|
3161
|
-
focus:
|
|
3160
|
+
hover: pe(ne[700], 0.04),
|
|
3161
|
+
selected: pe(ne[700], 0.08),
|
|
3162
|
+
focus: pe(ne[700], 0.12),
|
|
3162
3163
|
disabledBackground: ne[200],
|
|
3163
3164
|
disabled: ne[700]
|
|
3164
3165
|
}
|
|
@@ -3168,18 +3169,25 @@ const Zo = {
|
|
|
3168
3169
|
},
|
|
3169
3170
|
components: {
|
|
3170
3171
|
MuiAutocomplete: {
|
|
3172
|
+
defaultProps: {
|
|
3173
|
+
ChipProps: {
|
|
3174
|
+
size: "small",
|
|
3175
|
+
color: "primary"
|
|
3176
|
+
}
|
|
3177
|
+
},
|
|
3171
3178
|
styleOverrides: {
|
|
3172
3179
|
root: {
|
|
3173
3180
|
".MuiChip-root": {
|
|
3174
|
-
|
|
3175
|
-
},
|
|
3176
|
-
".MuiChip-root .MuiChip-deleteIcon": {
|
|
3177
|
-
color: K.blue800,
|
|
3178
|
-
"&:hover": {
|
|
3179
|
-
color: K.blue900
|
|
3180
|
-
}
|
|
3181
|
+
margin: 0
|
|
3181
3182
|
}
|
|
3182
|
-
}
|
|
3183
|
+
},
|
|
3184
|
+
inputRoot: ({ theme: e }) => ({
|
|
3185
|
+
padding: e.spacing(1, 5, 1, 1.5),
|
|
3186
|
+
".MuiFilledInput-input": {
|
|
3187
|
+
padding: 0
|
|
3188
|
+
},
|
|
3189
|
+
gap: e.spacing(1)
|
|
3190
|
+
})
|
|
3183
3191
|
}
|
|
3184
3192
|
},
|
|
3185
3193
|
MuiButtonBase: {
|
|
@@ -3190,20 +3198,70 @@ const Zo = {
|
|
|
3190
3198
|
MuiButton: {
|
|
3191
3199
|
defaultProps: {
|
|
3192
3200
|
disableRipple: !0,
|
|
3193
|
-
|
|
3201
|
+
disableTouchRipple: !0,
|
|
3202
|
+
disableElevation: !0,
|
|
3203
|
+
variant: "contained",
|
|
3204
|
+
size: "large"
|
|
3194
3205
|
},
|
|
3195
3206
|
styleOverrides: {
|
|
3196
|
-
root: {
|
|
3197
|
-
textTransform: "capitalize"
|
|
3207
|
+
root: ({ theme: e }) => ({
|
|
3208
|
+
textTransform: "capitalize",
|
|
3209
|
+
letterSpacing: "0.46px",
|
|
3210
|
+
minWidth: "unset",
|
|
3211
|
+
borderRadius: e.spacing(1),
|
|
3212
|
+
"&:active": {
|
|
3213
|
+
border: `1px solid ${D.primary.light}`
|
|
3214
|
+
},
|
|
3215
|
+
"&.Mui-disabled": {
|
|
3216
|
+
backgroundColor: D.neutral200,
|
|
3217
|
+
color: D.text.disabled
|
|
3218
|
+
}
|
|
3219
|
+
}),
|
|
3220
|
+
containedPrimary: {
|
|
3221
|
+
backgroundColor: D.primary.main
|
|
3198
3222
|
},
|
|
3199
3223
|
textPrimary: {
|
|
3200
|
-
color:
|
|
3224
|
+
color: D.primary.dark,
|
|
3225
|
+
"&:hover": {
|
|
3226
|
+
backgroundColor: D.primary.hover
|
|
3227
|
+
},
|
|
3228
|
+
"&:disabled": {
|
|
3229
|
+
backgroundColor: "unset"
|
|
3230
|
+
}
|
|
3231
|
+
},
|
|
3232
|
+
textError: {
|
|
3233
|
+
"&:hover": {
|
|
3234
|
+
backgroundColor: D.error.hover
|
|
3235
|
+
},
|
|
3236
|
+
"&:active": {
|
|
3237
|
+
backgroundColor: D.error.hover
|
|
3238
|
+
},
|
|
3239
|
+
"&:disabled": {
|
|
3240
|
+
backgroundColor: "unset"
|
|
3241
|
+
}
|
|
3201
3242
|
},
|
|
3202
3243
|
outlinedInherit: {
|
|
3203
|
-
borderColor:
|
|
3244
|
+
borderColor: pe(D.neutral900, 0.03)
|
|
3204
3245
|
},
|
|
3205
3246
|
outlinedPrimary: {
|
|
3206
|
-
|
|
3247
|
+
color: D.primary.dark,
|
|
3248
|
+
border: `0.5px solid ${D.action.disabled}`,
|
|
3249
|
+
"&:hover": {
|
|
3250
|
+
border: `0.5px solid ${D.primary.outlinedBorder}`
|
|
3251
|
+
},
|
|
3252
|
+
"&:active": {
|
|
3253
|
+
backgroundColor: D.primary.hover
|
|
3254
|
+
},
|
|
3255
|
+
"&:disabled": {
|
|
3256
|
+
backgroundColor: "unset",
|
|
3257
|
+
border: `0.5px solid ${D.neutral200}`
|
|
3258
|
+
}
|
|
3259
|
+
},
|
|
3260
|
+
containedInherit: {
|
|
3261
|
+
backgroundColor: D.neutral100,
|
|
3262
|
+
"&:hover": {
|
|
3263
|
+
backgroundColor: D.neutral200
|
|
3264
|
+
}
|
|
3207
3265
|
}
|
|
3208
3266
|
}
|
|
3209
3267
|
},
|
|
@@ -3215,25 +3273,25 @@ const Zo = {
|
|
|
3215
3273
|
MuiChip: {
|
|
3216
3274
|
styleOverrides: {
|
|
3217
3275
|
filledPrimary: {
|
|
3218
|
-
backgroundColor:
|
|
3219
|
-
color:
|
|
3276
|
+
backgroundColor: D.blue50,
|
|
3277
|
+
color: D.blue1000,
|
|
3220
3278
|
".MuiChip-deleteIcon": {
|
|
3221
|
-
color:
|
|
3279
|
+
color: D.blue800,
|
|
3222
3280
|
"&:hover": {
|
|
3223
|
-
color:
|
|
3281
|
+
color: D.blue900
|
|
3224
3282
|
},
|
|
3225
3283
|
"&:active": {
|
|
3226
|
-
color:
|
|
3284
|
+
color: D.blue900
|
|
3227
3285
|
}
|
|
3228
3286
|
}
|
|
3229
3287
|
},
|
|
3230
3288
|
filledSuccess: {
|
|
3231
|
-
backgroundColor:
|
|
3232
|
-
color:
|
|
3289
|
+
backgroundColor: D.green50,
|
|
3290
|
+
color: D.green1000
|
|
3233
3291
|
},
|
|
3234
3292
|
filledError: {
|
|
3235
|
-
backgroundColor:
|
|
3236
|
-
color:
|
|
3293
|
+
backgroundColor: D.red50,
|
|
3294
|
+
color: D.blue1000
|
|
3237
3295
|
}
|
|
3238
3296
|
}
|
|
3239
3297
|
},
|
|
@@ -3242,7 +3300,7 @@ const Zo = {
|
|
|
3242
3300
|
root: {
|
|
3243
3301
|
border: "none",
|
|
3244
3302
|
".MuiDataGrid-toolbarContainer .MuiTextField-root": {
|
|
3245
|
-
backgroundColor:
|
|
3303
|
+
backgroundColor: D.neutral100,
|
|
3246
3304
|
padding: "8px",
|
|
3247
3305
|
borderRadius: "8px"
|
|
3248
3306
|
},
|
|
@@ -3251,12 +3309,12 @@ const Zo = {
|
|
|
3251
3309
|
color: "red"
|
|
3252
3310
|
},
|
|
3253
3311
|
".MuiDataGrid-toolbarContainer button": {
|
|
3254
|
-
backgroundColor:
|
|
3255
|
-
color:
|
|
3312
|
+
backgroundColor: D.neutral100,
|
|
3313
|
+
color: D.neutral900,
|
|
3256
3314
|
padding: "4px 10px"
|
|
3257
3315
|
},
|
|
3258
3316
|
".MuiDataGrid-toolbarContainer svg": {
|
|
3259
|
-
color:
|
|
3317
|
+
color: D.neutral700
|
|
3260
3318
|
},
|
|
3261
3319
|
".MuiDataGrid-cell:focus": {
|
|
3262
3320
|
outline: "none"
|
|
@@ -3270,7 +3328,7 @@ const Zo = {
|
|
|
3270
3328
|
MuiLink: {
|
|
3271
3329
|
styleOverrides: {
|
|
3272
3330
|
root: {
|
|
3273
|
-
color:
|
|
3331
|
+
color: D.primary.dark,
|
|
3274
3332
|
textDecoration: "none"
|
|
3275
3333
|
}
|
|
3276
3334
|
}
|
|
@@ -3281,12 +3339,12 @@ const Zo = {
|
|
|
3281
3339
|
},
|
|
3282
3340
|
styleOverrides: {
|
|
3283
3341
|
root: {
|
|
3284
|
-
backgroundColor:
|
|
3342
|
+
backgroundColor: D.neutral100,
|
|
3285
3343
|
".MuiInputBase-root": {
|
|
3286
|
-
backgroundColor:
|
|
3344
|
+
backgroundColor: D.neutral100
|
|
3287
3345
|
},
|
|
3288
3346
|
".MuiInputBase-input": {
|
|
3289
|
-
backgroundColor:
|
|
3347
|
+
backgroundColor: D.neutral100
|
|
3290
3348
|
}
|
|
3291
3349
|
}
|
|
3292
3350
|
}
|
|
@@ -3342,7 +3400,7 @@ const Zo = {
|
|
|
3342
3400
|
disableUnderline: !0
|
|
3343
3401
|
},
|
|
3344
3402
|
styleOverrides: {
|
|
3345
|
-
root: ({ theme: e }) => ({
|
|
3403
|
+
root: ({ theme: e, ownerState: r }) => ({
|
|
3346
3404
|
backgroundColor: e.palette.neutral100,
|
|
3347
3405
|
borderRadius: e.spacing(1),
|
|
3348
3406
|
lineHeight: e.spacing(3),
|
|
@@ -3367,21 +3425,19 @@ const Zo = {
|
|
|
3367
3425
|
backgroundColor: "transparent"
|
|
3368
3426
|
},
|
|
3369
3427
|
"&": {
|
|
3370
|
-
|
|
3371
|
-
|
|
3428
|
+
padding: e.spacing(1, 1.5),
|
|
3429
|
+
...r.size === "small" && {
|
|
3430
|
+
padding: e.spacing(0.5, 1)
|
|
3431
|
+
}
|
|
3372
3432
|
}
|
|
3373
3433
|
}),
|
|
3374
|
-
input:
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
...r.size === "small" && {
|
|
3378
|
-
padding: e.spacing(0.5, 1)
|
|
3379
|
-
}
|
|
3380
|
-
})
|
|
3434
|
+
input: {
|
|
3435
|
+
padding: 0
|
|
3436
|
+
}
|
|
3381
3437
|
}
|
|
3382
3438
|
}
|
|
3383
3439
|
},
|
|
3384
|
-
palette:
|
|
3440
|
+
palette: D
|
|
3385
3441
|
});
|
|
3386
3442
|
export {
|
|
3387
3443
|
aa as DemoComponent,
|