@movable/ui 0.15.1 → 0.15.3
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/components/index.d.ts +2 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.mjs +1008 -960
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Typography as
|
|
3
|
-
function
|
|
1
|
+
import ht, { useState as Kt } from "react";
|
|
2
|
+
import { Typography as ke, styled as qt, Box as or, Drawer as Ht, Stack as Ae, Icon as ir, IconButton as Jt, Breadcrumbs as Xt, Link as Zt, Button as Er, Menu as Qt, MenuItem as en } from "@mui/material";
|
|
3
|
+
function rn(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
5
|
}
|
|
6
|
-
var
|
|
6
|
+
var Sr = { exports: {} }, qe = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,25 +13,25 @@ var Rr = { exports: {} }, Ke = {};
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
if (
|
|
19
|
-
return
|
|
20
|
-
|
|
21
|
-
var e =
|
|
16
|
+
var Hr;
|
|
17
|
+
function tn() {
|
|
18
|
+
if (Hr)
|
|
19
|
+
return qe;
|
|
20
|
+
Hr = 1;
|
|
21
|
+
var e = ht, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
22
|
function s(f, d, p) {
|
|
23
23
|
var g, m = {}, l = null, E = null;
|
|
24
24
|
p !== void 0 && (l = "" + p), d.key !== void 0 && (l = "" + d.key), d.ref !== void 0 && (E = d.ref);
|
|
25
25
|
for (g in d)
|
|
26
|
-
n.call(d, g) && !
|
|
26
|
+
n.call(d, g) && !a.hasOwnProperty(g) && (m[g] = d[g]);
|
|
27
27
|
if (f && f.defaultProps)
|
|
28
28
|
for (g in d = f.defaultProps, d)
|
|
29
29
|
m[g] === void 0 && (m[g] = d[g]);
|
|
30
|
-
return { $$typeof: r, type: f, key: l, ref: E, props: m, _owner:
|
|
30
|
+
return { $$typeof: r, type: f, key: l, ref: E, props: m, _owner: i.current };
|
|
31
31
|
}
|
|
32
|
-
return
|
|
32
|
+
return qe.Fragment = o, qe.jsx = s, qe.jsxs = s, qe;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
34
|
+
var He = {};
|
|
35
35
|
/**
|
|
36
36
|
* @license React
|
|
37
37
|
* react-jsx-runtime.development.js
|
|
@@ -41,18 +41,18 @@ var qe = {};
|
|
|
41
41
|
* This source code is licensed under the MIT license found in the
|
|
42
42
|
* LICENSE file in the root directory of this source tree.
|
|
43
43
|
*/
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
return
|
|
47
|
-
var e =
|
|
48
|
-
function
|
|
44
|
+
var Jr;
|
|
45
|
+
function nn() {
|
|
46
|
+
return Jr || (Jr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
+
var e = ht, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), f = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), g = 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 S(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 F = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
55
|
+
function V(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];
|
|
@@ -61,37 +61,37 @@ function Qt() {
|
|
|
61
61
|
}
|
|
62
62
|
function H(t, u, y) {
|
|
63
63
|
{
|
|
64
|
-
var T =
|
|
65
|
-
|
|
66
|
-
var
|
|
67
|
-
return String(
|
|
64
|
+
var T = F.ReactDebugCurrentFrame, W = T.getStackAddendum();
|
|
65
|
+
W !== "" && (u += "%s", y = y.concat([W]));
|
|
66
|
+
var G = y.map(function(D) {
|
|
67
|
+
return String(D);
|
|
68
68
|
});
|
|
69
|
-
|
|
69
|
+
G.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, G);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
var X = !1, v = !1,
|
|
73
|
-
|
|
74
|
-
function
|
|
75
|
-
return !!(typeof t == "string" || typeof t == "function" || t === n || t ===
|
|
72
|
+
var X = !1, v = !1, Te = !1, ze = !1, Ge = !1, je;
|
|
73
|
+
je = Symbol.for("react.module.reference");
|
|
74
|
+
function Ve(t) {
|
|
75
|
+
return !!(typeof t == "string" || typeof t == "function" || t === n || t === a || Ge || t === i || t === p || t === g || ze || t === E || X || v || Te || typeof t == "object" && t !== null && (t.$$typeof === l || t.$$typeof === m || t.$$typeof === s || t.$$typeof === f || t.$$typeof === d || // 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.
|
|
79
|
-
t.$$typeof ===
|
|
79
|
+
t.$$typeof === je || t.getModuleId !== void 0));
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function Ie(t, u, y) {
|
|
82
82
|
var T = t.displayName;
|
|
83
83
|
if (T)
|
|
84
84
|
return T;
|
|
85
|
-
var
|
|
86
|
-
return
|
|
85
|
+
var W = u.displayName || u.name || "";
|
|
86
|
+
return W !== "" ? y + "(" + W + ")" : y;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function Me(t) {
|
|
89
89
|
return t.displayName || "Context";
|
|
90
90
|
}
|
|
91
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" && V("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;
|
|
@@ -100,9 +100,9 @@ function Qt() {
|
|
|
100
100
|
return "Fragment";
|
|
101
101
|
case o:
|
|
102
102
|
return "Portal";
|
|
103
|
-
case i:
|
|
104
|
-
return "Profiler";
|
|
105
103
|
case a:
|
|
104
|
+
return "Profiler";
|
|
105
|
+
case i:
|
|
106
106
|
return "StrictMode";
|
|
107
107
|
case p:
|
|
108
108
|
return "Suspense";
|
|
@@ -113,19 +113,19 @@ function Qt() {
|
|
|
113
113
|
switch (t.$$typeof) {
|
|
114
114
|
case f:
|
|
115
115
|
var u = t;
|
|
116
|
-
return
|
|
116
|
+
return Me(u) + ".Consumer";
|
|
117
117
|
case s:
|
|
118
118
|
var y = t;
|
|
119
|
-
return
|
|
119
|
+
return Me(y._context) + ".Provider";
|
|
120
120
|
case d:
|
|
121
|
-
return
|
|
121
|
+
return Ie(t, t.render, "ForwardRef");
|
|
122
122
|
case m:
|
|
123
123
|
var T = t.displayName || null;
|
|
124
124
|
return T !== null ? T : ge(t.type) || "Memo";
|
|
125
125
|
case l: {
|
|
126
|
-
var
|
|
126
|
+
var W = t, G = W._payload, D = W._init;
|
|
127
127
|
try {
|
|
128
|
-
return ge(
|
|
128
|
+
return ge(D(G));
|
|
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,
|
|
136
|
+
var fe = Object.assign, Oe = 0, ye, ve, Se, De, c, x, P;
|
|
137
137
|
function R() {
|
|
138
138
|
}
|
|
139
139
|
R.__reactDisabledLog = !0;
|
|
140
140
|
function O() {
|
|
141
141
|
{
|
|
142
|
-
if (
|
|
143
|
-
ye = console.log, ve = console.info,
|
|
142
|
+
if (Oe === 0) {
|
|
143
|
+
ye = console.log, ve = console.info, Se = console.warn, De = console.error, c = console.group, x = console.groupCollapsed, P = console.groupEnd;
|
|
144
144
|
var t = {
|
|
145
145
|
configurable: !0,
|
|
146
146
|
enumerable: !0,
|
|
@@ -157,12 +157,12 @@ function Qt() {
|
|
|
157
157
|
groupEnd: t
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
|
-
|
|
160
|
+
Oe++;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
function M() {
|
|
164
164
|
{
|
|
165
|
-
if (
|
|
165
|
+
if (Oe--, Oe === 0) {
|
|
166
166
|
var t = {
|
|
167
167
|
configurable: !0,
|
|
168
168
|
enumerable: !0,
|
|
@@ -176,10 +176,10 @@ function Qt() {
|
|
|
176
176
|
value: ve
|
|
177
177
|
}),
|
|
178
178
|
warn: fe({}, t, {
|
|
179
|
-
value:
|
|
179
|
+
value: Se
|
|
180
180
|
}),
|
|
181
181
|
error: fe({}, t, {
|
|
182
|
-
value:
|
|
182
|
+
value: De
|
|
183
183
|
}),
|
|
184
184
|
group: fe({}, t, {
|
|
185
185
|
value: c
|
|
@@ -188,34 +188,34 @@ function Qt() {
|
|
|
188
188
|
value: x
|
|
189
189
|
}),
|
|
190
190
|
groupEnd: fe({}, t, {
|
|
191
|
-
value:
|
|
191
|
+
value: P
|
|
192
192
|
})
|
|
193
193
|
});
|
|
194
194
|
}
|
|
195
|
-
|
|
195
|
+
Oe < 0 && V("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
var
|
|
199
|
-
function
|
|
198
|
+
var w = F.ReactCurrentDispatcher, C;
|
|
199
|
+
function k(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 (W) {
|
|
205
|
+
var T = W.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 N = !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 || N)
|
|
219
219
|
return "";
|
|
220
220
|
{
|
|
221
221
|
var y = $.get(t);
|
|
@@ -223,56 +223,56 @@ function Qt() {
|
|
|
223
223
|
return y;
|
|
224
224
|
}
|
|
225
225
|
var T;
|
|
226
|
-
|
|
227
|
-
var
|
|
226
|
+
N = !0;
|
|
227
|
+
var W = Error.prepareStackTrace;
|
|
228
228
|
Error.prepareStackTrace = void 0;
|
|
229
|
-
var
|
|
230
|
-
|
|
229
|
+
var G;
|
|
230
|
+
G = w.current, w.current = null, O();
|
|
231
231
|
try {
|
|
232
232
|
if (u) {
|
|
233
|
-
var
|
|
233
|
+
var D = function() {
|
|
234
234
|
throw Error();
|
|
235
235
|
};
|
|
236
|
-
if (Object.defineProperty(
|
|
236
|
+
if (Object.defineProperty(D.prototype, "props", {
|
|
237
237
|
set: function() {
|
|
238
238
|
throw Error();
|
|
239
239
|
}
|
|
240
240
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
241
241
|
try {
|
|
242
|
-
Reflect.construct(
|
|
243
|
-
} catch (
|
|
244
|
-
T =
|
|
242
|
+
Reflect.construct(D, []);
|
|
243
|
+
} catch (we) {
|
|
244
|
+
T = we;
|
|
245
245
|
}
|
|
246
|
-
Reflect.construct(t, [],
|
|
246
|
+
Reflect.construct(t, [], D);
|
|
247
247
|
} else {
|
|
248
248
|
try {
|
|
249
|
-
|
|
250
|
-
} catch (
|
|
251
|
-
T =
|
|
249
|
+
D.call();
|
|
250
|
+
} catch (we) {
|
|
251
|
+
T = we;
|
|
252
252
|
}
|
|
253
|
-
t.call(
|
|
253
|
+
t.call(D.prototype);
|
|
254
254
|
}
|
|
255
255
|
} else {
|
|
256
256
|
try {
|
|
257
257
|
throw Error();
|
|
258
|
-
} catch (
|
|
259
|
-
T =
|
|
258
|
+
} catch (we) {
|
|
259
|
+
T = we;
|
|
260
260
|
}
|
|
261
261
|
t();
|
|
262
262
|
}
|
|
263
|
-
} catch (
|
|
264
|
-
if (
|
|
265
|
-
for (var
|
|
263
|
+
} catch (we) {
|
|
264
|
+
if (we && T && typeof we.stack == "string") {
|
|
265
|
+
for (var j = we.stack.split(`
|
|
266
266
|
`), le = T.stack.split(`
|
|
267
|
-
`), ee =
|
|
267
|
+
`), ee = j.length - 1, te = le.length - 1; ee >= 1 && te >= 0 && j[ee] !== le[te]; )
|
|
268
268
|
te--;
|
|
269
269
|
for (; ee >= 1 && te >= 0; ee--, te--)
|
|
270
|
-
if (
|
|
270
|
+
if (j[ee] !== le[te]) {
|
|
271
271
|
if (ee !== 1 || te !== 1)
|
|
272
272
|
do
|
|
273
|
-
if (ee--, te--, te < 0 ||
|
|
273
|
+
if (ee--, te--, te < 0 || j[ee] !== le[te]) {
|
|
274
274
|
var be = `
|
|
275
|
-
` +
|
|
275
|
+
` + j[ee].replace(" at new ", " at ");
|
|
276
276
|
return t.displayName && be.includes("<anonymous>") && (be = be.replace("<anonymous>", t.displayName)), typeof t == "function" && $.set(t, be), be;
|
|
277
277
|
}
|
|
278
278
|
while (ee >= 1 && te >= 0);
|
|
@@ -280,106 +280,106 @@ function Qt() {
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
} finally {
|
|
283
|
-
|
|
283
|
+
N = !1, w.current = G, M(), Error.prepareStackTrace = W;
|
|
284
284
|
}
|
|
285
|
-
var
|
|
286
|
-
return typeof t == "function" && $.set(t,
|
|
285
|
+
var Fe = t ? t.displayName || t.name : "", qr = Fe ? k(Fe) : "";
|
|
286
|
+
return typeof t == "function" && $.set(t, qr), qr;
|
|
287
287
|
}
|
|
288
288
|
function he(t, u, y) {
|
|
289
289
|
return h(t, !1);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function Be(t) {
|
|
292
292
|
var u = t.prototype;
|
|
293
293
|
return !!(u && u.isReactComponent);
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function Pe(t, u, y) {
|
|
296
296
|
if (t == null)
|
|
297
297
|
return "";
|
|
298
298
|
if (typeof t == "function")
|
|
299
|
-
return h(t,
|
|
299
|
+
return h(t, Be(t));
|
|
300
300
|
if (typeof t == "string")
|
|
301
|
-
return
|
|
301
|
+
return k(t);
|
|
302
302
|
switch (t) {
|
|
303
303
|
case p:
|
|
304
|
-
return
|
|
304
|
+
return k("Suspense");
|
|
305
305
|
case g:
|
|
306
|
-
return
|
|
306
|
+
return k("SuspenseList");
|
|
307
307
|
}
|
|
308
308
|
if (typeof t == "object")
|
|
309
309
|
switch (t.$$typeof) {
|
|
310
310
|
case d:
|
|
311
311
|
return he(t.render);
|
|
312
312
|
case m:
|
|
313
|
-
return
|
|
313
|
+
return Pe(t.type, u, y);
|
|
314
314
|
case l: {
|
|
315
|
-
var T = t,
|
|
315
|
+
var T = t, W = T._payload, G = T._init;
|
|
316
316
|
try {
|
|
317
|
-
return
|
|
317
|
+
return Pe(G(W), u, y);
|
|
318
318
|
} catch {
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
return "";
|
|
323
323
|
}
|
|
324
|
-
var rr = Object.prototype.hasOwnProperty,
|
|
324
|
+
var rr = Object.prototype.hasOwnProperty, Dr = {}, Br = F.ReactDebugCurrentFrame;
|
|
325
325
|
function tr(t) {
|
|
326
326
|
if (t) {
|
|
327
|
-
var u = t._owner, y =
|
|
328
|
-
|
|
327
|
+
var u = t._owner, y = Pe(t.type, t._source, u ? u.type : null);
|
|
328
|
+
Br.setExtraStackFrame(y);
|
|
329
329
|
} else
|
|
330
|
-
|
|
330
|
+
Br.setExtraStackFrame(null);
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function _t(t, u, y, T, W) {
|
|
333
333
|
{
|
|
334
|
-
var
|
|
335
|
-
for (var
|
|
336
|
-
if (
|
|
337
|
-
var
|
|
334
|
+
var G = Function.call.bind(rr);
|
|
335
|
+
for (var D in t)
|
|
336
|
+
if (G(t, D)) {
|
|
337
|
+
var j = void 0;
|
|
338
338
|
try {
|
|
339
|
-
if (typeof t[
|
|
340
|
-
var le = Error((T || "React class") + ": " + y + " type `" +
|
|
339
|
+
if (typeof t[D] != "function") {
|
|
340
|
+
var le = Error((T || "React class") + ": " + y + " type `" + D + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[D] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
341
341
|
throw le.name = "Invariant Violation", le;
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
j = t[D](u, D, T, y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
344
344
|
} catch (ee) {
|
|
345
|
-
|
|
345
|
+
j = ee;
|
|
346
346
|
}
|
|
347
|
-
|
|
347
|
+
j && !(j instanceof Error) && (tr(W), V("%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, D, typeof j), tr(null)), j instanceof Error && !(j.message in Dr) && (Dr[j.message] = !0, tr(W), V("Failed %s type: %s", y, j.message), tr(null));
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
var
|
|
352
|
-
function
|
|
353
|
-
return
|
|
351
|
+
var Rt = Array.isArray;
|
|
352
|
+
function mr(t) {
|
|
353
|
+
return Rt(t);
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function St(t) {
|
|
356
356
|
{
|
|
357
357
|
var u = typeof Symbol == "function" && Symbol.toStringTag, y = u && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
358
358
|
return y;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Pt(t) {
|
|
362
362
|
try {
|
|
363
|
-
return
|
|
363
|
+
return Nr(t), !1;
|
|
364
364
|
} catch {
|
|
365
365
|
return !0;
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function Nr(t) {
|
|
369
369
|
return "" + t;
|
|
370
370
|
}
|
|
371
|
-
function
|
|
372
|
-
if (
|
|
373
|
-
return
|
|
371
|
+
function Fr(t) {
|
|
372
|
+
if (Pt(t))
|
|
373
|
+
return V("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", St(t)), Nr(t);
|
|
374
374
|
}
|
|
375
|
-
var
|
|
375
|
+
var Ke = F.ReactCurrentOwner, kt = {
|
|
376
376
|
key: !0,
|
|
377
377
|
ref: !0,
|
|
378
378
|
__self: !0,
|
|
379
379
|
__source: !0
|
|
380
|
-
},
|
|
381
|
-
|
|
382
|
-
function
|
|
380
|
+
}, Wr, Lr, hr;
|
|
381
|
+
hr = {};
|
|
382
|
+
function $t(t) {
|
|
383
383
|
if (rr.call(t, "ref")) {
|
|
384
384
|
var u = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
385
385
|
if (u && u.isReactWarning)
|
|
@@ -387,7 +387,7 @@ function Qt() {
|
|
|
387
387
|
}
|
|
388
388
|
return t.ref !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function jt(t) {
|
|
391
391
|
if (rr.call(t, "key")) {
|
|
392
392
|
var u = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
393
393
|
if (u && u.isReactWarning)
|
|
@@ -395,16 +395,16 @@ function Qt() {
|
|
|
395
395
|
}
|
|
396
396
|
return t.key !== void 0;
|
|
397
397
|
}
|
|
398
|
-
function
|
|
399
|
-
if (typeof t.ref == "string" &&
|
|
400
|
-
var y = ge(
|
|
401
|
-
|
|
398
|
+
function It(t, u) {
|
|
399
|
+
if (typeof t.ref == "string" && Ke.current && u && Ke.current.stateNode !== u) {
|
|
400
|
+
var y = ge(Ke.current.type);
|
|
401
|
+
hr[y] || (V('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(Ke.current.type), t.ref), hr[y] = !0);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Mt(t, u) {
|
|
405
405
|
{
|
|
406
406
|
var y = function() {
|
|
407
|
-
|
|
407
|
+
Wr || (Wr = !0, V("%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,
|
|
@@ -412,10 +412,10 @@ function Qt() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function Dt(t, u) {
|
|
416
416
|
{
|
|
417
417
|
var y = function() {
|
|
418
|
-
|
|
418
|
+
Lr || (Lr = !0, V("%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,70 +423,70 @@ function Qt() {
|
|
|
423
423
|
});
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
|
-
var
|
|
427
|
-
var
|
|
426
|
+
var Bt = function(t, u, y, T, W, G, D) {
|
|
427
|
+
var j = {
|
|
428
428
|
// This tag allows us to uniquely identify this as a React Element
|
|
429
429
|
$$typeof: r,
|
|
430
430
|
// Built-in properties that belong on the element
|
|
431
431
|
type: t,
|
|
432
432
|
key: u,
|
|
433
433
|
ref: y,
|
|
434
|
-
props:
|
|
434
|
+
props: D,
|
|
435
435
|
// Record the component responsible for creating this element.
|
|
436
|
-
_owner:
|
|
436
|
+
_owner: G
|
|
437
437
|
};
|
|
438
|
-
return
|
|
438
|
+
return j._store = {}, Object.defineProperty(j._store, "validated", {
|
|
439
439
|
configurable: !1,
|
|
440
440
|
enumerable: !1,
|
|
441
441
|
writable: !0,
|
|
442
442
|
value: !1
|
|
443
|
-
}), Object.defineProperty(
|
|
443
|
+
}), Object.defineProperty(j, "_self", {
|
|
444
444
|
configurable: !1,
|
|
445
445
|
enumerable: !1,
|
|
446
446
|
writable: !1,
|
|
447
447
|
value: T
|
|
448
|
-
}), Object.defineProperty(
|
|
448
|
+
}), Object.defineProperty(j, "_source", {
|
|
449
449
|
configurable: !1,
|
|
450
450
|
enumerable: !1,
|
|
451
451
|
writable: !1,
|
|
452
|
-
value:
|
|
453
|
-
}), Object.freeze && (Object.freeze(
|
|
452
|
+
value: W
|
|
453
|
+
}), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
|
|
454
454
|
};
|
|
455
|
-
function
|
|
455
|
+
function Nt(t, u, y, T, W) {
|
|
456
456
|
{
|
|
457
|
-
var
|
|
458
|
-
y !== void 0 && (
|
|
459
|
-
for (
|
|
460
|
-
rr.call(u,
|
|
457
|
+
var G, D = {}, j = null, le = null;
|
|
458
|
+
y !== void 0 && (Fr(y), j = "" + y), jt(u) && (Fr(u.key), j = "" + u.key), $t(u) && (le = u.ref, It(u, W));
|
|
459
|
+
for (G in u)
|
|
460
|
+
rr.call(u, G) && !kt.hasOwnProperty(G) && (D[G] = u[G]);
|
|
461
461
|
if (t && t.defaultProps) {
|
|
462
462
|
var ee = t.defaultProps;
|
|
463
|
-
for (
|
|
464
|
-
|
|
463
|
+
for (G in ee)
|
|
464
|
+
D[G] === void 0 && (D[G] = ee[G]);
|
|
465
465
|
}
|
|
466
|
-
if (
|
|
466
|
+
if (j || le) {
|
|
467
467
|
var te = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
468
|
-
|
|
468
|
+
j && Mt(D, te), le && Dt(D, te);
|
|
469
469
|
}
|
|
470
|
-
return
|
|
470
|
+
return Bt(t, j, le, W, T, Ke.current, D);
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
var
|
|
474
|
-
function
|
|
473
|
+
var br = F.ReactCurrentOwner, Ur = F.ReactDebugCurrentFrame;
|
|
474
|
+
function Ne(t) {
|
|
475
475
|
if (t) {
|
|
476
|
-
var u = t._owner, y =
|
|
477
|
-
|
|
476
|
+
var u = t._owner, y = Pe(t.type, t._source, u ? u.type : null);
|
|
477
|
+
Ur.setExtraStackFrame(y);
|
|
478
478
|
} else
|
|
479
|
-
|
|
479
|
+
Ur.setExtraStackFrame(null);
|
|
480
480
|
}
|
|
481
|
-
var
|
|
482
|
-
|
|
483
|
-
function
|
|
481
|
+
var vr;
|
|
482
|
+
vr = !1;
|
|
483
|
+
function xr(t) {
|
|
484
484
|
return typeof t == "object" && t !== null && t.$$typeof === r;
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function Yr() {
|
|
487
487
|
{
|
|
488
|
-
if (
|
|
489
|
-
var t = ge(
|
|
488
|
+
if (br.current) {
|
|
489
|
+
var t = ge(br.current.type);
|
|
490
490
|
if (t)
|
|
491
491
|
return `
|
|
492
492
|
|
|
@@ -495,7 +495,7 @@ Check the render method of \`` + t + "`.";
|
|
|
495
495
|
return "";
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function Ft(t) {
|
|
499
499
|
{
|
|
500
500
|
if (t !== void 0) {
|
|
501
501
|
var u = t.fileName.replace(/^.*[\\\/]/, ""), y = t.lineNumber;
|
|
@@ -506,10 +506,10 @@ Check your code at ` + u + ":" + y + ".";
|
|
|
506
506
|
return "";
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
var
|
|
510
|
-
function
|
|
509
|
+
var zr = {};
|
|
510
|
+
function Wt(t) {
|
|
511
511
|
{
|
|
512
|
-
var u =
|
|
512
|
+
var u = Yr();
|
|
513
513
|
if (!u) {
|
|
514
514
|
var y = typeof t == "string" ? t : t.displayName || t.name;
|
|
515
515
|
y && (u = `
|
|
@@ -519,39 +519,39 @@ Check the top-level render call using <` + y + ">.");
|
|
|
519
519
|
return u;
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function Gr(t, u) {
|
|
523
523
|
{
|
|
524
524
|
if (!t._store || t._store.validated || t.key != null)
|
|
525
525
|
return;
|
|
526
526
|
t._store.validated = !0;
|
|
527
|
-
var y =
|
|
528
|
-
if (
|
|
527
|
+
var y = Wt(u);
|
|
528
|
+
if (zr[y])
|
|
529
529
|
return;
|
|
530
|
-
|
|
530
|
+
zr[y] = !0;
|
|
531
531
|
var T = "";
|
|
532
|
-
t && t._owner && t._owner !==
|
|
532
|
+
t && t._owner && t._owner !== br.current && (T = " It was passed a child from " + ge(t._owner.type) + "."), Ne(t), V('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), Ne(null);
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function Vr(t, u) {
|
|
536
536
|
{
|
|
537
537
|
if (typeof t != "object")
|
|
538
538
|
return;
|
|
539
|
-
if (
|
|
539
|
+
if (mr(t))
|
|
540
540
|
for (var y = 0; y < t.length; y++) {
|
|
541
541
|
var T = t[y];
|
|
542
|
-
|
|
542
|
+
xr(T) && Gr(T, u);
|
|
543
543
|
}
|
|
544
|
-
else if (
|
|
544
|
+
else if (xr(t))
|
|
545
545
|
t._store && (t._store.validated = !0);
|
|
546
546
|
else if (t) {
|
|
547
|
-
var
|
|
548
|
-
if (typeof
|
|
549
|
-
for (var
|
|
550
|
-
|
|
547
|
+
var W = S(t);
|
|
548
|
+
if (typeof W == "function" && W !== t.entries)
|
|
549
|
+
for (var G = W.call(t), D; !(D = G.next()).done; )
|
|
550
|
+
xr(D.value) && Gr(D.value, u);
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function Lt(t) {
|
|
555
555
|
{
|
|
556
556
|
var u = t.type;
|
|
557
557
|
if (u == null || typeof u == "string")
|
|
@@ -567,101 +567,141 @@ Check the top-level render call using <` + y + ">.");
|
|
|
567
567
|
return;
|
|
568
568
|
if (y) {
|
|
569
569
|
var T = ge(u);
|
|
570
|
-
|
|
571
|
-
} else if (u.PropTypes !== void 0 && !
|
|
572
|
-
|
|
573
|
-
var
|
|
574
|
-
|
|
570
|
+
_t(y, t.props, "prop", T, t);
|
|
571
|
+
} else if (u.PropTypes !== void 0 && !vr) {
|
|
572
|
+
vr = !0;
|
|
573
|
+
var W = ge(u);
|
|
574
|
+
V("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", W || "Unknown");
|
|
575
575
|
}
|
|
576
|
-
typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved &&
|
|
576
|
+
typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && V("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
function
|
|
579
|
+
function Ut(t) {
|
|
580
580
|
{
|
|
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
|
-
|
|
584
|
+
Ne(t), V("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", T), Ne(null);
|
|
585
585
|
break;
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
t.ref !== null && (
|
|
588
|
+
t.ref !== null && (Ne(t), V("Invalid attribute `ref` supplied to `React.Fragment`."), Ne(null));
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function Kr(t, u, y, T, W, G) {
|
|
592
592
|
{
|
|
593
|
-
var
|
|
594
|
-
if (!
|
|
595
|
-
var
|
|
596
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
597
|
-
var le =
|
|
598
|
-
le ?
|
|
593
|
+
var D = Ve(t);
|
|
594
|
+
if (!D) {
|
|
595
|
+
var j = "";
|
|
596
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (j += " 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 = Ft(W);
|
|
598
|
+
le ? j += le : j += Yr();
|
|
599
599
|
var ee;
|
|
600
|
-
t === null ? ee = "null" :
|
|
600
|
+
t === null ? ee = "null" : mr(t) ? ee = "array" : t !== void 0 && t.$$typeof === r ? (ee = "<" + (ge(t.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof t, V("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, j);
|
|
601
601
|
}
|
|
602
|
-
var te =
|
|
602
|
+
var te = Nt(t, u, y, W, G);
|
|
603
603
|
if (te == null)
|
|
604
604
|
return te;
|
|
605
|
-
if (
|
|
605
|
+
if (D) {
|
|
606
606
|
var be = u.children;
|
|
607
607
|
if (be !== void 0)
|
|
608
608
|
if (T)
|
|
609
|
-
if (
|
|
610
|
-
for (var
|
|
611
|
-
|
|
609
|
+
if (mr(be)) {
|
|
610
|
+
for (var Fe = 0; Fe < be.length; Fe++)
|
|
611
|
+
Vr(be[Fe], t);
|
|
612
612
|
Object.freeze && Object.freeze(be);
|
|
613
613
|
} else
|
|
614
|
-
|
|
614
|
+
V("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
|
+
Vr(be, t);
|
|
617
617
|
}
|
|
618
|
-
return t === n ?
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
function
|
|
622
|
-
return
|
|
623
|
-
}
|
|
624
|
-
function
|
|
625
|
-
return
|
|
626
|
-
}
|
|
627
|
-
var
|
|
628
|
-
|
|
629
|
-
}()),
|
|
630
|
-
}
|
|
631
|
-
process.env.NODE_ENV === "production" ?
|
|
632
|
-
var
|
|
633
|
-
function
|
|
634
|
-
return
|
|
618
|
+
return t === n ? Ut(te) : Lt(te), te;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
function Yt(t, u, y) {
|
|
622
|
+
return Kr(t, u, y, !0);
|
|
623
|
+
}
|
|
624
|
+
function zt(t, u, y) {
|
|
625
|
+
return Kr(t, u, y, !1);
|
|
626
|
+
}
|
|
627
|
+
var Gt = zt, Vt = Yt;
|
|
628
|
+
He.Fragment = n, He.jsx = Gt, He.jsxs = Vt;
|
|
629
|
+
}()), He;
|
|
630
|
+
}
|
|
631
|
+
process.env.NODE_ENV === "production" ? Sr.exports = tn() : Sr.exports = nn();
|
|
632
|
+
var _ = Sr.exports;
|
|
633
|
+
function fi({ stringToDisplay: e }) {
|
|
634
|
+
return _.jsxs(ke, { children: ["stringToDisplay prop is:", " ", _.jsx("span", { "data-test-string-to-display": !0, children: e })] });
|
|
635
|
+
}
|
|
636
|
+
const bt = 280, on = qt("main", { shouldForwardProp: (e) => e !== "open" })(({ theme: e, open: r }) => ({
|
|
637
|
+
flexGrow: 1,
|
|
638
|
+
overflowX: "scroll",
|
|
639
|
+
transition: e.transitions.create("margin", {
|
|
640
|
+
easing: e.transitions.easing.sharp,
|
|
641
|
+
duration: e.transitions.duration.leavingScreen
|
|
642
|
+
}),
|
|
643
|
+
marginLeft: `-${bt}px`,
|
|
644
|
+
...r && {
|
|
645
|
+
transition: e.transitions.create("margin", {
|
|
646
|
+
easing: e.transitions.easing.easeOut,
|
|
647
|
+
duration: e.transitions.duration.enteringScreen
|
|
648
|
+
}),
|
|
649
|
+
marginLeft: 0
|
|
650
|
+
}
|
|
651
|
+
}));
|
|
652
|
+
function di({
|
|
653
|
+
isOpen: e,
|
|
654
|
+
handleDrawerClose: r,
|
|
655
|
+
children: o,
|
|
656
|
+
drawerWidth: n = bt,
|
|
657
|
+
leftOffset: i,
|
|
658
|
+
//primary nav width when closed and when open
|
|
659
|
+
filterContent: a,
|
|
660
|
+
headerLabel: s = "Filters"
|
|
661
|
+
}) {
|
|
662
|
+
return _.jsxs(or, { sx: { display: "flex" }, children: [_.jsx(Ht, { sx: {
|
|
663
|
+
width: n,
|
|
664
|
+
flexShrink: 0,
|
|
665
|
+
left: i,
|
|
666
|
+
"& .MuiDrawer-paper": {
|
|
667
|
+
width: n
|
|
668
|
+
}
|
|
669
|
+
}, PaperProps: {
|
|
670
|
+
style: {
|
|
671
|
+
left: i
|
|
672
|
+
},
|
|
673
|
+
variant: "outlined"
|
|
674
|
+
}, variant: "persistent", anchor: "left", open: e, children: _.jsxs(Ae, { direction: "column", spacing: 3, sx: { p: 2 }, children: [_.jsxs(Ae, { direction: "row", alignItems: "center", children: [_.jsxs(Ae, { direction: "row", alignItems: "center", children: [_.jsx(ir, { sx: { color: "text.primary" }, fontSize: "small", children: "filter_list_icon" }), _.jsx(ke, { sx: { ml: 2 }, "data-cy": "drawer-header", children: s })] }), _.jsx(Jt, { onClick: r, sx: { ml: "auto" }, children: _.jsx(ir, { fontSize: "small", children: "close_icon" }) })] }), a] }) }), _.jsx(on, { open: e, children: o })] });
|
|
635
675
|
}
|
|
636
|
-
function
|
|
637
|
-
return
|
|
676
|
+
function pi({ metadata: e }) {
|
|
677
|
+
return _.jsx(Ae, { direction: "row", spacing: 2, children: e.map(({ icon: r, label: o, value: n }) => _.jsxs(Ae, { direction: "row", spacing: 0.5, children: [_.jsx(ir, { fontSize: "small", sx: { color: "neutral600" }, children: r }), _.jsx(ke, { variant: "body2", color: "text.secondary", children: o }), _.jsx(ke, { variant: "body2", children: n })] }, o)) });
|
|
638
678
|
}
|
|
639
|
-
function
|
|
640
|
-
return
|
|
679
|
+
function gi({ Breadcrumbs: e, Subtitle: r, Metadata: o, Chips: n, ButtonGroup: i, Tabs: a }) {
|
|
680
|
+
return _.jsx("header", { children: _.jsxs(Ae, { direction: "column", spacing: 2, sx: {
|
|
641
681
|
borderBottom: 1,
|
|
642
682
|
borderColor: "divider",
|
|
643
683
|
px: 3,
|
|
644
684
|
py: 3,
|
|
645
|
-
...
|
|
646
|
-
}, children: [
|
|
685
|
+
...a && { pb: -3 }
|
|
686
|
+
}, children: [_.jsxs(Ae, { direction: "row", spacing: 2, justifyContent: "space-between", alignItems: "center", children: [_.jsxs(Ae, { direction: "row", spacing: 1, alignItems: "center", children: [e, n] }), i] }), o, r, a] }) });
|
|
647
687
|
}
|
|
648
|
-
function
|
|
649
|
-
return
|
|
688
|
+
function an({ label: e }) {
|
|
689
|
+
return _.jsx(ke, { "data-cy": "page-title", variant: "h5", component: "h1", sx: { wordBreak: "break-word", fontWeight: "600", color: "text.primary" }, children: e });
|
|
650
690
|
}
|
|
651
|
-
function
|
|
652
|
-
return
|
|
691
|
+
function sn({ breadcrumb: e, i: r }) {
|
|
692
|
+
return _.jsx(Zt, { underline: "hover", href: e.path, "data-cy": `breadcrumb-${r}`, variant: "h5", color: "text.disabled", children: e.label });
|
|
653
693
|
}
|
|
654
|
-
function
|
|
655
|
-
return
|
|
694
|
+
function yi({ breadcrumbs: e }) {
|
|
695
|
+
return _.jsx(Xt, { children: e == null ? void 0 : e.map((r, o) => o === e.length - 1 ? _.jsx(an, { label: r.label }, `breadcrumb-${o}`) : _.jsx(sn, { breadcrumb: r, i: o }, `breadcrumb-${o}`)) });
|
|
656
696
|
}
|
|
657
|
-
function
|
|
697
|
+
function mi({ primaryAction: e, secondaryAction: r, dropdownAction: o }) {
|
|
658
698
|
var d;
|
|
659
|
-
const [n,
|
|
660
|
-
|
|
699
|
+
const [n, i] = Kt(null), a = !!n, s = (p) => {
|
|
700
|
+
i(p.currentTarget);
|
|
661
701
|
}, f = () => {
|
|
662
|
-
|
|
702
|
+
i(null);
|
|
663
703
|
};
|
|
664
|
-
return
|
|
704
|
+
return _.jsxs(Ae, { direction: "row", spacing: 1, children: [o && _.jsxs(or, { children: [_.jsx(Er, { id: "action-dd", "aria-controls": a ? "action-menu" : void 0, "aria-haspopup": "true", "aria-expanded": a ? "true" : void 0, onClick: s, variant: "contained", color: "inherit", endIcon: _.jsx(ir, { children: "arrow_drop_down" }), children: o.label }), _.jsx(Qt, { id: "action-menu", anchorEl: n, open: a, onClose: f, MenuListProps: {
|
|
665
705
|
"aria-labelledby": "action-dd"
|
|
666
706
|
}, anchorOrigin: {
|
|
667
707
|
vertical: "bottom",
|
|
@@ -669,43 +709,49 @@ function ca({ primaryAction: e, secondaryAction: r, dropdownAction: o }) {
|
|
|
669
709
|
}, transformOrigin: {
|
|
670
710
|
vertical: "top",
|
|
671
711
|
horizontal: "right"
|
|
672
|
-
}, ...o.menuProps, children: (d = o.menuOptions) == null ? void 0 : d.map(({ label: p, onClick: g, menuItemProps: m }, l) =>
|
|
712
|
+
}, ...o.menuProps, children: (d = o.menuOptions) == null ? void 0 : d.map(({ label: p, onClick: g, menuItemProps: m }, l) => _.jsx(en, { onClick: () => {
|
|
673
713
|
g(), f();
|
|
674
|
-
}, ...m, children: p }, l)) })] }), r &&
|
|
714
|
+
}, ...m, children: p }, l)) })] }), r && _.jsx(Er, { variant: "contained", color: "inherit", ...r, children: r.label }), e && _.jsx(Er, { variant: "contained", ...e, sx: { whiteSpace: "nowrap" }, children: e.label })] });
|
|
675
715
|
}
|
|
676
|
-
function
|
|
677
|
-
return
|
|
716
|
+
function hi({ subtitle: e }) {
|
|
717
|
+
return _.jsx(ke, { variant: "body2", color: "text.secondary", children: e });
|
|
678
718
|
}
|
|
679
|
-
function
|
|
680
|
-
return
|
|
719
|
+
function bi({ label: e, Stepper: r, ButtonGroup: o }) {
|
|
720
|
+
return _.jsx("header", { children: _.jsxs(Ae, { direction: "row", spacing: 2, justifyContent: "space-between", alignItems: "center", sx: {
|
|
721
|
+
borderBottom: "1px solid divider",
|
|
722
|
+
p: 3
|
|
723
|
+
}, children: [_.jsx(ke, { "data-test-worflow-header-label": !0, variant: "subtitle1", component: "h1", sx: { fontWeight: "600", flexGrow: "1" }, children: e }), r && _.jsx(or, { sx: { flexGrow: "2" }, "data-test-worflow-header-stepper": !0, children: r }), o && _.jsx(or, { sx: { flexGrow: "1", justifyContent: "end", display: "flex" }, "data-test-worflow-header-button-group": !0, children: o })] }) });
|
|
724
|
+
}
|
|
725
|
+
function ae() {
|
|
726
|
+
return ae = Object.assign ? Object.assign.bind() : function(e) {
|
|
681
727
|
for (var r = 1; r < arguments.length; r++) {
|
|
682
728
|
var o = arguments[r];
|
|
683
729
|
for (var n in o)
|
|
684
730
|
Object.prototype.hasOwnProperty.call(o, n) && (e[n] = o[n]);
|
|
685
731
|
}
|
|
686
732
|
return e;
|
|
687
|
-
},
|
|
733
|
+
}, ae.apply(this, arguments);
|
|
688
734
|
}
|
|
689
|
-
function
|
|
735
|
+
function We(e) {
|
|
690
736
|
return e !== null && typeof e == "object" && e.constructor === Object;
|
|
691
737
|
}
|
|
692
|
-
function
|
|
693
|
-
if (!
|
|
738
|
+
function vt(e) {
|
|
739
|
+
if (!We(e))
|
|
694
740
|
return e;
|
|
695
741
|
const r = {};
|
|
696
742
|
return Object.keys(e).forEach((o) => {
|
|
697
|
-
r[o] =
|
|
743
|
+
r[o] = vt(e[o]);
|
|
698
744
|
}), r;
|
|
699
745
|
}
|
|
700
746
|
function Ce(e, r, o = {
|
|
701
747
|
clone: !0
|
|
702
748
|
}) {
|
|
703
|
-
const n = o.clone ?
|
|
704
|
-
return
|
|
705
|
-
|
|
749
|
+
const n = o.clone ? ae({}, e) : e;
|
|
750
|
+
return We(e) && We(r) && Object.keys(r).forEach((i) => {
|
|
751
|
+
i !== "__proto__" && (We(r[i]) && i in e && We(e[i]) ? n[i] = Ce(e[i], r[i], o) : o.clone ? n[i] = We(r[i]) ? vt(r[i]) : r[i] : n[i] = r[i]);
|
|
706
752
|
}), n;
|
|
707
753
|
}
|
|
708
|
-
var
|
|
754
|
+
var Pr = { exports: {} }, nr = { exports: {} }, L = {};
|
|
709
755
|
/** @license React v16.13.1
|
|
710
756
|
* react-is.production.min.js
|
|
711
757
|
*
|
|
@@ -714,23 +760,23 @@ var wr = { exports: {} }, nr = { exports: {} }, W = {};
|
|
|
714
760
|
* This source code is licensed under the MIT license found in the
|
|
715
761
|
* LICENSE file in the root directory of this source tree.
|
|
716
762
|
*/
|
|
717
|
-
var
|
|
718
|
-
function
|
|
719
|
-
if (
|
|
720
|
-
return
|
|
721
|
-
|
|
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,
|
|
763
|
+
var Xr;
|
|
764
|
+
function un() {
|
|
765
|
+
if (Xr)
|
|
766
|
+
return L;
|
|
767
|
+
Xr = 1;
|
|
768
|
+
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, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, f = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, g = 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, S = e ? Symbol.for("react.fundamental") : 60117, F = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
723
769
|
function H(v) {
|
|
724
770
|
if (typeof v == "object" && v !== null) {
|
|
725
|
-
var
|
|
726
|
-
switch (
|
|
771
|
+
var Te = v.$$typeof;
|
|
772
|
+
switch (Te) {
|
|
727
773
|
case r:
|
|
728
774
|
switch (v = v.type, v) {
|
|
729
775
|
case d:
|
|
730
776
|
case p:
|
|
731
777
|
case n:
|
|
732
|
-
case i:
|
|
733
778
|
case a:
|
|
779
|
+
case i:
|
|
734
780
|
case m:
|
|
735
781
|
return v;
|
|
736
782
|
default:
|
|
@@ -742,44 +788,44 @@ function tn() {
|
|
|
742
788
|
case s:
|
|
743
789
|
return v;
|
|
744
790
|
default:
|
|
745
|
-
return
|
|
791
|
+
return Te;
|
|
746
792
|
}
|
|
747
793
|
}
|
|
748
794
|
case o:
|
|
749
|
-
return
|
|
795
|
+
return Te;
|
|
750
796
|
}
|
|
751
797
|
}
|
|
752
798
|
}
|
|
753
799
|
function X(v) {
|
|
754
800
|
return H(v) === p;
|
|
755
801
|
}
|
|
756
|
-
return
|
|
802
|
+
return L.AsyncMode = d, L.ConcurrentMode = p, L.ContextConsumer = f, L.ContextProvider = s, L.Element = r, L.ForwardRef = g, L.Fragment = n, L.Lazy = A, L.Memo = E, L.Portal = o, L.Profiler = a, L.StrictMode = i, L.Suspense = m, L.isAsyncMode = function(v) {
|
|
757
803
|
return X(v) || H(v) === d;
|
|
758
|
-
},
|
|
804
|
+
}, L.isConcurrentMode = X, L.isContextConsumer = function(v) {
|
|
759
805
|
return H(v) === f;
|
|
760
|
-
},
|
|
806
|
+
}, L.isContextProvider = function(v) {
|
|
761
807
|
return H(v) === s;
|
|
762
|
-
},
|
|
808
|
+
}, L.isElement = function(v) {
|
|
763
809
|
return typeof v == "object" && v !== null && v.$$typeof === r;
|
|
764
|
-
},
|
|
810
|
+
}, L.isForwardRef = function(v) {
|
|
765
811
|
return H(v) === g;
|
|
766
|
-
},
|
|
812
|
+
}, L.isFragment = function(v) {
|
|
767
813
|
return H(v) === n;
|
|
768
|
-
},
|
|
814
|
+
}, L.isLazy = function(v) {
|
|
769
815
|
return H(v) === A;
|
|
770
|
-
},
|
|
816
|
+
}, L.isMemo = function(v) {
|
|
771
817
|
return H(v) === E;
|
|
772
|
-
},
|
|
818
|
+
}, L.isPortal = function(v) {
|
|
773
819
|
return H(v) === o;
|
|
774
|
-
},
|
|
775
|
-
return H(v) === i;
|
|
776
|
-
}, W.isStrictMode = function(v) {
|
|
820
|
+
}, L.isProfiler = function(v) {
|
|
777
821
|
return H(v) === a;
|
|
778
|
-
},
|
|
822
|
+
}, L.isStrictMode = function(v) {
|
|
823
|
+
return H(v) === i;
|
|
824
|
+
}, L.isSuspense = function(v) {
|
|
779
825
|
return H(v) === m;
|
|
780
|
-
},
|
|
781
|
-
return typeof v == "string" || typeof v == "function" || v === n || v === p || v ===
|
|
782
|
-
},
|
|
826
|
+
}, L.isValidElementType = function(v) {
|
|
827
|
+
return typeof v == "string" || typeof v == "function" || v === n || v === p || v === a || v === i || v === m || v === l || typeof v == "object" && v !== null && (v.$$typeof === A || v.$$typeof === E || v.$$typeof === s || v.$$typeof === f || v.$$typeof === g || v.$$typeof === S || v.$$typeof === F || v.$$typeof === V || v.$$typeof === b);
|
|
828
|
+
}, L.typeOf = H, L;
|
|
783
829
|
}
|
|
784
830
|
var U = {};
|
|
785
831
|
/** @license React v16.13.1
|
|
@@ -790,37 +836,37 @@ var U = {};
|
|
|
790
836
|
* This source code is licensed under the MIT license found in the
|
|
791
837
|
* LICENSE file in the root directory of this source tree.
|
|
792
838
|
*/
|
|
793
|
-
var
|
|
794
|
-
function
|
|
795
|
-
return
|
|
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,
|
|
839
|
+
var Zr;
|
|
840
|
+
function ln() {
|
|
841
|
+
return Zr || (Zr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
842
|
+
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, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, f = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, g = 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, S = e ? Symbol.for("react.fundamental") : 60117, F = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
797
843
|
function H(h) {
|
|
798
844
|
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 === p || h ===
|
|
845
|
+
h === n || h === p || h === a || h === i || h === m || h === l || typeof h == "object" && h !== null && (h.$$typeof === A || h.$$typeof === E || h.$$typeof === s || h.$$typeof === f || h.$$typeof === g || h.$$typeof === S || h.$$typeof === F || h.$$typeof === V || h.$$typeof === b);
|
|
800
846
|
}
|
|
801
847
|
function X(h) {
|
|
802
848
|
if (typeof h == "object" && h !== null) {
|
|
803
849
|
var he = h.$$typeof;
|
|
804
850
|
switch (he) {
|
|
805
851
|
case r:
|
|
806
|
-
var
|
|
807
|
-
switch (
|
|
852
|
+
var Be = h.type;
|
|
853
|
+
switch (Be) {
|
|
808
854
|
case d:
|
|
809
855
|
case p:
|
|
810
856
|
case n:
|
|
811
|
-
case i:
|
|
812
857
|
case a:
|
|
858
|
+
case i:
|
|
813
859
|
case m:
|
|
814
|
-
return
|
|
860
|
+
return Be;
|
|
815
861
|
default:
|
|
816
|
-
var
|
|
817
|
-
switch (
|
|
862
|
+
var Pe = Be && Be.$$typeof;
|
|
863
|
+
switch (Pe) {
|
|
818
864
|
case f:
|
|
819
865
|
case g:
|
|
820
866
|
case A:
|
|
821
867
|
case E:
|
|
822
868
|
case s:
|
|
823
|
-
return
|
|
869
|
+
return Pe;
|
|
824
870
|
default:
|
|
825
871
|
return he;
|
|
826
872
|
}
|
|
@@ -830,9 +876,9 @@ function nn() {
|
|
|
830
876
|
}
|
|
831
877
|
}
|
|
832
878
|
}
|
|
833
|
-
var v = d,
|
|
834
|
-
function
|
|
835
|
-
return
|
|
879
|
+
var v = d, Te = p, ze = f, Ge = s, je = r, Ve = g, Ie = n, Me = A, ge = E, fe = o, Oe = a, ye = i, ve = m, Se = !1;
|
|
880
|
+
function De(h) {
|
|
881
|
+
return Se || (Se = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), c(h) || X(h) === d;
|
|
836
882
|
}
|
|
837
883
|
function c(h) {
|
|
838
884
|
return X(h) === p;
|
|
@@ -840,7 +886,7 @@ function nn() {
|
|
|
840
886
|
function x(h) {
|
|
841
887
|
return X(h) === f;
|
|
842
888
|
}
|
|
843
|
-
function
|
|
889
|
+
function P(h) {
|
|
844
890
|
return X(h) === s;
|
|
845
891
|
}
|
|
846
892
|
function R(h) {
|
|
@@ -852,53 +898,53 @@ function nn() {
|
|
|
852
898
|
function M(h) {
|
|
853
899
|
return X(h) === n;
|
|
854
900
|
}
|
|
855
|
-
function
|
|
901
|
+
function w(h) {
|
|
856
902
|
return X(h) === A;
|
|
857
903
|
}
|
|
858
|
-
function
|
|
904
|
+
function C(h) {
|
|
859
905
|
return X(h) === E;
|
|
860
906
|
}
|
|
861
|
-
function
|
|
907
|
+
function k(h) {
|
|
862
908
|
return X(h) === o;
|
|
863
909
|
}
|
|
864
|
-
function
|
|
865
|
-
return X(h) ===
|
|
910
|
+
function N(h) {
|
|
911
|
+
return X(h) === a;
|
|
866
912
|
}
|
|
867
913
|
function $(h) {
|
|
868
|
-
return X(h) ===
|
|
914
|
+
return X(h) === i;
|
|
869
915
|
}
|
|
870
916
|
function se(h) {
|
|
871
917
|
return X(h) === m;
|
|
872
918
|
}
|
|
873
|
-
U.AsyncMode = v, U.ConcurrentMode =
|
|
919
|
+
U.AsyncMode = v, U.ConcurrentMode = Te, U.ContextConsumer = ze, U.ContextProvider = Ge, U.Element = je, U.ForwardRef = Ve, U.Fragment = Ie, U.Lazy = Me, U.Memo = ge, U.Portal = fe, U.Profiler = Oe, U.StrictMode = ye, U.Suspense = ve, U.isAsyncMode = De, U.isConcurrentMode = c, U.isContextConsumer = x, U.isContextProvider = P, U.isElement = R, U.isForwardRef = O, U.isFragment = M, U.isLazy = w, U.isMemo = C, U.isPortal = k, U.isProfiler = N, U.isStrictMode = $, U.isSuspense = se, U.isValidElementType = H, U.typeOf = X;
|
|
874
920
|
}()), U;
|
|
875
921
|
}
|
|
876
|
-
var
|
|
877
|
-
function
|
|
878
|
-
return
|
|
922
|
+
var Qr;
|
|
923
|
+
function xt() {
|
|
924
|
+
return Qr || (Qr = 1, process.env.NODE_ENV === "production" ? nr.exports = un() : nr.exports = ln()), nr.exports;
|
|
879
925
|
}
|
|
880
926
|
/*
|
|
881
927
|
object-assign
|
|
882
928
|
(c) Sindre Sorhus
|
|
883
929
|
@license MIT
|
|
884
930
|
*/
|
|
885
|
-
var
|
|
886
|
-
function
|
|
887
|
-
if (
|
|
888
|
-
return
|
|
889
|
-
|
|
931
|
+
var Ar, et;
|
|
932
|
+
function cn() {
|
|
933
|
+
if (et)
|
|
934
|
+
return Ar;
|
|
935
|
+
et = 1;
|
|
890
936
|
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable;
|
|
891
|
-
function n(
|
|
892
|
-
if (
|
|
937
|
+
function n(a) {
|
|
938
|
+
if (a == null)
|
|
893
939
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
894
|
-
return Object(
|
|
940
|
+
return Object(a);
|
|
895
941
|
}
|
|
896
|
-
function
|
|
942
|
+
function i() {
|
|
897
943
|
try {
|
|
898
944
|
if (!Object.assign)
|
|
899
945
|
return !1;
|
|
900
|
-
var
|
|
901
|
-
if (
|
|
946
|
+
var a = new String("abc");
|
|
947
|
+
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
|
|
902
948
|
return !1;
|
|
903
949
|
for (var s = {}, f = 0; f < 10; f++)
|
|
904
950
|
s["_" + String.fromCharCode(f)] = f;
|
|
@@ -915,8 +961,8 @@ function on() {
|
|
|
915
961
|
return !1;
|
|
916
962
|
}
|
|
917
963
|
}
|
|
918
|
-
return
|
|
919
|
-
for (var f, d = n(
|
|
964
|
+
return Ar = i() ? Object.assign : function(a, s) {
|
|
965
|
+
for (var f, d = n(a), p, g = 1; g < arguments.length; g++) {
|
|
920
966
|
f = Object(arguments[g]);
|
|
921
967
|
for (var m in f)
|
|
922
968
|
r.call(f, m) && (d[m] = f[m]);
|
|
@@ -927,31 +973,31 @@ function on() {
|
|
|
927
973
|
}
|
|
928
974
|
}
|
|
929
975
|
return d;
|
|
930
|
-
},
|
|
931
|
-
}
|
|
932
|
-
var Er, Qr;
|
|
933
|
-
function Sr() {
|
|
934
|
-
if (Qr)
|
|
935
|
-
return Er;
|
|
936
|
-
Qr = 1;
|
|
937
|
-
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
938
|
-
return Er = e, Er;
|
|
939
|
-
}
|
|
940
|
-
var Ar, et;
|
|
941
|
-
function vt() {
|
|
942
|
-
return et || (et = 1, Ar = Function.call.bind(Object.prototype.hasOwnProperty)), Ar;
|
|
976
|
+
}, Ar;
|
|
943
977
|
}
|
|
944
978
|
var Tr, rt;
|
|
945
|
-
function
|
|
979
|
+
function kr() {
|
|
946
980
|
if (rt)
|
|
947
981
|
return Tr;
|
|
948
982
|
rt = 1;
|
|
983
|
+
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
984
|
+
return Tr = e, Tr;
|
|
985
|
+
}
|
|
986
|
+
var Or, tt;
|
|
987
|
+
function Et() {
|
|
988
|
+
return tt || (tt = 1, Or = Function.call.bind(Object.prototype.hasOwnProperty)), Or;
|
|
989
|
+
}
|
|
990
|
+
var wr, nt;
|
|
991
|
+
function fn() {
|
|
992
|
+
if (nt)
|
|
993
|
+
return wr;
|
|
994
|
+
nt = 1;
|
|
949
995
|
var e = function() {
|
|
950
996
|
};
|
|
951
997
|
if (process.env.NODE_ENV !== "production") {
|
|
952
|
-
var r =
|
|
953
|
-
e = function(
|
|
954
|
-
var s = "Warning: " +
|
|
998
|
+
var r = kr(), o = {}, n = Et();
|
|
999
|
+
e = function(a) {
|
|
1000
|
+
var s = "Warning: " + a;
|
|
955
1001
|
typeof console < "u" && console.error(s);
|
|
956
1002
|
try {
|
|
957
1003
|
throw new Error(s);
|
|
@@ -959,19 +1005,19 @@ function an() {
|
|
|
959
1005
|
}
|
|
960
1006
|
};
|
|
961
1007
|
}
|
|
962
|
-
function a
|
|
1008
|
+
function i(a, s, f, d, p) {
|
|
963
1009
|
if (process.env.NODE_ENV !== "production") {
|
|
964
|
-
for (var g in
|
|
965
|
-
if (n(
|
|
1010
|
+
for (var g in a)
|
|
1011
|
+
if (n(a, g)) {
|
|
966
1012
|
var m;
|
|
967
1013
|
try {
|
|
968
|
-
if (typeof
|
|
1014
|
+
if (typeof a[g] != "function") {
|
|
969
1015
|
var l = Error(
|
|
970
|
-
(d || "React class") + ": " + f + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof
|
|
1016
|
+
(d || "React class") + ": " + f + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
971
1017
|
);
|
|
972
1018
|
throw l.name = "Invariant Violation", l;
|
|
973
1019
|
}
|
|
974
|
-
m =
|
|
1020
|
+
m = a[g](s, g, d, f, null, r);
|
|
975
1021
|
} catch (A) {
|
|
976
1022
|
m = A;
|
|
977
1023
|
}
|
|
@@ -987,18 +1033,18 @@ function an() {
|
|
|
987
1033
|
}
|
|
988
1034
|
}
|
|
989
1035
|
}
|
|
990
|
-
return
|
|
1036
|
+
return i.resetWarningCache = function() {
|
|
991
1037
|
process.env.NODE_ENV !== "production" && (o = {});
|
|
992
|
-
},
|
|
1038
|
+
}, wr = i, wr;
|
|
993
1039
|
}
|
|
994
|
-
var
|
|
995
|
-
function
|
|
996
|
-
if (
|
|
997
|
-
return
|
|
998
|
-
|
|
999
|
-
var e =
|
|
1040
|
+
var Cr, ot;
|
|
1041
|
+
function dn() {
|
|
1042
|
+
if (ot)
|
|
1043
|
+
return Cr;
|
|
1044
|
+
ot = 1;
|
|
1045
|
+
var e = xt(), r = cn(), o = kr(), n = Et(), i = fn(), a = function() {
|
|
1000
1046
|
};
|
|
1001
|
-
process.env.NODE_ENV !== "production" && (
|
|
1047
|
+
process.env.NODE_ENV !== "production" && (a = function(f) {
|
|
1002
1048
|
var d = "Warning: " + f;
|
|
1003
1049
|
typeof console < "u" && console.error(d);
|
|
1004
1050
|
try {
|
|
@@ -1009,7 +1055,7 @@ function sn() {
|
|
|
1009
1055
|
function s() {
|
|
1010
1056
|
return null;
|
|
1011
1057
|
}
|
|
1012
|
-
return
|
|
1058
|
+
return Cr = function(f, d) {
|
|
1013
1059
|
var p = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
|
|
1014
1060
|
function m(c) {
|
|
1015
1061
|
var x = c && (p && c[p] || c[g]);
|
|
@@ -1017,24 +1063,24 @@ function sn() {
|
|
|
1017
1063
|
return x;
|
|
1018
1064
|
}
|
|
1019
1065
|
var l = "<<anonymous>>", E = {
|
|
1020
|
-
array:
|
|
1021
|
-
bigint:
|
|
1022
|
-
bool:
|
|
1023
|
-
func:
|
|
1024
|
-
number:
|
|
1025
|
-
object:
|
|
1026
|
-
string:
|
|
1027
|
-
symbol:
|
|
1028
|
-
any:
|
|
1066
|
+
array: F("array"),
|
|
1067
|
+
bigint: F("bigint"),
|
|
1068
|
+
bool: F("boolean"),
|
|
1069
|
+
func: F("function"),
|
|
1070
|
+
number: F("number"),
|
|
1071
|
+
object: F("object"),
|
|
1072
|
+
string: F("string"),
|
|
1073
|
+
symbol: F("symbol"),
|
|
1074
|
+
any: V(),
|
|
1029
1075
|
arrayOf: H,
|
|
1030
1076
|
element: X(),
|
|
1031
1077
|
elementType: v(),
|
|
1032
|
-
instanceOf:
|
|
1033
|
-
node:
|
|
1034
|
-
objectOf:
|
|
1035
|
-
oneOf:
|
|
1036
|
-
oneOfType:
|
|
1037
|
-
shape:
|
|
1078
|
+
instanceOf: Te,
|
|
1079
|
+
node: Ve(),
|
|
1080
|
+
objectOf: Ge,
|
|
1081
|
+
oneOf: ze,
|
|
1082
|
+
oneOfType: je,
|
|
1083
|
+
shape: Me,
|
|
1038
1084
|
exact: ge
|
|
1039
1085
|
};
|
|
1040
1086
|
function A(c, x) {
|
|
@@ -1044,202 +1090,202 @@ function sn() {
|
|
|
1044
1090
|
this.message = c, this.data = x && typeof x == "object" ? x : {}, this.stack = "";
|
|
1045
1091
|
}
|
|
1046
1092
|
b.prototype = Error.prototype;
|
|
1047
|
-
function
|
|
1093
|
+
function S(c) {
|
|
1048
1094
|
if (process.env.NODE_ENV !== "production")
|
|
1049
|
-
var x = {},
|
|
1050
|
-
function R(M,
|
|
1051
|
-
if (
|
|
1095
|
+
var x = {}, P = 0;
|
|
1096
|
+
function R(M, w, C, k, N, $, se) {
|
|
1097
|
+
if (k = k || l, $ = $ || C, se !== o) {
|
|
1052
1098
|
if (d) {
|
|
1053
1099
|
var h = new Error(
|
|
1054
1100
|
"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
1101
|
);
|
|
1056
1102
|
throw h.name = "Invariant Violation", h;
|
|
1057
1103
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1058
|
-
var he =
|
|
1104
|
+
var he = k + ":" + C;
|
|
1059
1105
|
!x[he] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1060
|
-
|
|
1061
|
-
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" +
|
|
1062
|
-
), x[he] = !0,
|
|
1106
|
+
P < 3 && (a(
|
|
1107
|
+
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + k + "`. 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."
|
|
1108
|
+
), x[he] = !0, P++);
|
|
1063
1109
|
}
|
|
1064
1110
|
}
|
|
1065
|
-
return C
|
|
1111
|
+
return w[C] == null ? M ? w[C] === null ? new b("The " + N + " `" + $ + "` is marked as required " + ("in `" + k + "`, but its value is `null`.")) : new b("The " + N + " `" + $ + "` is marked as required in " + ("`" + k + "`, but its value is `undefined`.")) : null : c(w, C, k, N, $);
|
|
1066
1112
|
}
|
|
1067
1113
|
var O = R.bind(null, !1);
|
|
1068
1114
|
return O.isRequired = R.bind(null, !0), O;
|
|
1069
1115
|
}
|
|
1070
|
-
function
|
|
1071
|
-
function x(
|
|
1072
|
-
var
|
|
1073
|
-
if (
|
|
1074
|
-
var $ = ve(
|
|
1116
|
+
function F(c) {
|
|
1117
|
+
function x(P, R, O, M, w, C) {
|
|
1118
|
+
var k = P[R], N = ye(k);
|
|
1119
|
+
if (N !== c) {
|
|
1120
|
+
var $ = ve(k);
|
|
1075
1121
|
return new b(
|
|
1076
|
-
"Invalid " + M + " `" +
|
|
1122
|
+
"Invalid " + M + " `" + w + "` of type " + ("`" + $ + "` supplied to `" + O + "`, expected ") + ("`" + c + "`."),
|
|
1077
1123
|
{ expectedType: c }
|
|
1078
1124
|
);
|
|
1079
1125
|
}
|
|
1080
1126
|
return null;
|
|
1081
1127
|
}
|
|
1082
|
-
return
|
|
1128
|
+
return S(x);
|
|
1083
1129
|
}
|
|
1084
|
-
function
|
|
1085
|
-
return
|
|
1130
|
+
function V() {
|
|
1131
|
+
return S(s);
|
|
1086
1132
|
}
|
|
1087
1133
|
function H(c) {
|
|
1088
|
-
function x(
|
|
1134
|
+
function x(P, R, O, M, w) {
|
|
1089
1135
|
if (typeof c != "function")
|
|
1090
|
-
return new b("Property `" +
|
|
1091
|
-
var
|
|
1092
|
-
if (!Array.isArray(
|
|
1093
|
-
var
|
|
1094
|
-
return new b("Invalid " + M + " `" +
|
|
1136
|
+
return new b("Property `" + w + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
|
|
1137
|
+
var C = P[R];
|
|
1138
|
+
if (!Array.isArray(C)) {
|
|
1139
|
+
var k = ye(C);
|
|
1140
|
+
return new b("Invalid " + M + " `" + w + "` of type " + ("`" + k + "` supplied to `" + O + "`, expected an array."));
|
|
1095
1141
|
}
|
|
1096
|
-
for (var
|
|
1097
|
-
var $ = c(
|
|
1142
|
+
for (var N = 0; N < C.length; N++) {
|
|
1143
|
+
var $ = c(C, N, O, M, w + "[" + N + "]", o);
|
|
1098
1144
|
if ($ instanceof Error)
|
|
1099
1145
|
return $;
|
|
1100
1146
|
}
|
|
1101
1147
|
return null;
|
|
1102
1148
|
}
|
|
1103
|
-
return
|
|
1149
|
+
return S(x);
|
|
1104
1150
|
}
|
|
1105
1151
|
function X() {
|
|
1106
|
-
function c(x,
|
|
1107
|
-
var
|
|
1108
|
-
if (!f(
|
|
1109
|
-
var
|
|
1110
|
-
return new b("Invalid " + O + " `" + M + "` of type " + ("`" +
|
|
1152
|
+
function c(x, P, R, O, M) {
|
|
1153
|
+
var w = x[P];
|
|
1154
|
+
if (!f(w)) {
|
|
1155
|
+
var C = ye(w);
|
|
1156
|
+
return new b("Invalid " + O + " `" + M + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected a single ReactElement."));
|
|
1111
1157
|
}
|
|
1112
1158
|
return null;
|
|
1113
1159
|
}
|
|
1114
|
-
return
|
|
1160
|
+
return S(c);
|
|
1115
1161
|
}
|
|
1116
1162
|
function v() {
|
|
1117
|
-
function c(x,
|
|
1118
|
-
var
|
|
1119
|
-
if (!e.isValidElementType(
|
|
1120
|
-
var
|
|
1121
|
-
return new b("Invalid " + O + " `" + M + "` of type " + ("`" +
|
|
1163
|
+
function c(x, P, R, O, M) {
|
|
1164
|
+
var w = x[P];
|
|
1165
|
+
if (!e.isValidElementType(w)) {
|
|
1166
|
+
var C = ye(w);
|
|
1167
|
+
return new b("Invalid " + O + " `" + M + "` of type " + ("`" + C + "` supplied to `" + R + "`, expected a single ReactElement type."));
|
|
1122
1168
|
}
|
|
1123
1169
|
return null;
|
|
1124
1170
|
}
|
|
1125
|
-
return
|
|
1171
|
+
return S(c);
|
|
1126
1172
|
}
|
|
1127
|
-
function
|
|
1128
|
-
function x(
|
|
1129
|
-
if (!(
|
|
1130
|
-
var
|
|
1131
|
-
return new b("Invalid " + M + " `" +
|
|
1173
|
+
function Te(c) {
|
|
1174
|
+
function x(P, R, O, M, w) {
|
|
1175
|
+
if (!(P[R] instanceof c)) {
|
|
1176
|
+
var C = c.name || l, k = De(P[R]);
|
|
1177
|
+
return new b("Invalid " + M + " `" + w + "` of type " + ("`" + k + "` supplied to `" + O + "`, expected ") + ("instance of `" + C + "`."));
|
|
1132
1178
|
}
|
|
1133
1179
|
return null;
|
|
1134
1180
|
}
|
|
1135
|
-
return
|
|
1181
|
+
return S(x);
|
|
1136
1182
|
}
|
|
1137
|
-
function
|
|
1183
|
+
function ze(c) {
|
|
1138
1184
|
if (!Array.isArray(c))
|
|
1139
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ?
|
|
1185
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
1140
1186
|
"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
|
-
) :
|
|
1142
|
-
function x(
|
|
1143
|
-
for (var
|
|
1144
|
-
if (A(
|
|
1187
|
+
) : a("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
1188
|
+
function x(P, R, O, M, w) {
|
|
1189
|
+
for (var C = P[R], k = 0; k < c.length; k++)
|
|
1190
|
+
if (A(C, c[k]))
|
|
1145
1191
|
return null;
|
|
1146
|
-
var
|
|
1192
|
+
var N = JSON.stringify(c, function(se, h) {
|
|
1147
1193
|
var he = ve(h);
|
|
1148
1194
|
return he === "symbol" ? String(h) : h;
|
|
1149
1195
|
});
|
|
1150
|
-
return new b("Invalid " + M + " `" +
|
|
1196
|
+
return new b("Invalid " + M + " `" + w + "` of value `" + String(C) + "` " + ("supplied to `" + O + "`, expected one of " + N + "."));
|
|
1151
1197
|
}
|
|
1152
|
-
return
|
|
1198
|
+
return S(x);
|
|
1153
1199
|
}
|
|
1154
|
-
function
|
|
1155
|
-
function x(
|
|
1200
|
+
function Ge(c) {
|
|
1201
|
+
function x(P, R, O, M, w) {
|
|
1156
1202
|
if (typeof c != "function")
|
|
1157
|
-
return new b("Property `" +
|
|
1158
|
-
var
|
|
1159
|
-
if (
|
|
1160
|
-
return new b("Invalid " + M + " `" +
|
|
1161
|
-
for (var
|
|
1162
|
-
if (n(
|
|
1163
|
-
var $ = c(
|
|
1203
|
+
return new b("Property `" + w + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
|
|
1204
|
+
var C = P[R], k = ye(C);
|
|
1205
|
+
if (k !== "object")
|
|
1206
|
+
return new b("Invalid " + M + " `" + w + "` of type " + ("`" + k + "` supplied to `" + O + "`, expected an object."));
|
|
1207
|
+
for (var N in C)
|
|
1208
|
+
if (n(C, N)) {
|
|
1209
|
+
var $ = c(C, N, O, M, w + "." + N, o);
|
|
1164
1210
|
if ($ instanceof Error)
|
|
1165
1211
|
return $;
|
|
1166
1212
|
}
|
|
1167
1213
|
return null;
|
|
1168
1214
|
}
|
|
1169
|
-
return
|
|
1215
|
+
return S(x);
|
|
1170
1216
|
}
|
|
1171
|
-
function
|
|
1217
|
+
function je(c) {
|
|
1172
1218
|
if (!Array.isArray(c))
|
|
1173
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1219
|
+
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
1174
1220
|
for (var x = 0; x < c.length; x++) {
|
|
1175
|
-
var
|
|
1176
|
-
if (typeof
|
|
1177
|
-
return
|
|
1178
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
1221
|
+
var P = c[x];
|
|
1222
|
+
if (typeof P != "function")
|
|
1223
|
+
return a(
|
|
1224
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Se(P) + " at index " + x + "."
|
|
1179
1225
|
), s;
|
|
1180
1226
|
}
|
|
1181
|
-
function R(O, M,
|
|
1182
|
-
for (var
|
|
1183
|
-
var se = c[$], h = se(O, M,
|
|
1227
|
+
function R(O, M, w, C, k) {
|
|
1228
|
+
for (var N = [], $ = 0; $ < c.length; $++) {
|
|
1229
|
+
var se = c[$], h = se(O, M, w, C, k, o);
|
|
1184
1230
|
if (h == null)
|
|
1185
1231
|
return null;
|
|
1186
|
-
h.data && n(h.data, "expectedType") &&
|
|
1232
|
+
h.data && n(h.data, "expectedType") && N.push(h.data.expectedType);
|
|
1187
1233
|
}
|
|
1188
|
-
var he =
|
|
1189
|
-
return new b("Invalid " +
|
|
1234
|
+
var he = N.length > 0 ? ", expected one of type [" + N.join(", ") + "]" : "";
|
|
1235
|
+
return new b("Invalid " + C + " `" + k + "` supplied to " + ("`" + w + "`" + he + "."));
|
|
1190
1236
|
}
|
|
1191
|
-
return
|
|
1237
|
+
return S(R);
|
|
1192
1238
|
}
|
|
1193
|
-
function
|
|
1194
|
-
function c(x,
|
|
1195
|
-
return fe(x[
|
|
1239
|
+
function Ve() {
|
|
1240
|
+
function c(x, P, R, O, M) {
|
|
1241
|
+
return fe(x[P]) ? null : new b("Invalid " + O + " `" + M + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
|
|
1196
1242
|
}
|
|
1197
|
-
return
|
|
1243
|
+
return S(c);
|
|
1198
1244
|
}
|
|
1199
|
-
function
|
|
1245
|
+
function Ie(c, x, P, R, O) {
|
|
1200
1246
|
return new b(
|
|
1201
|
-
(c || "React class") + ": " + x + " type `" +
|
|
1247
|
+
(c || "React class") + ": " + x + " type `" + P + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
|
|
1202
1248
|
);
|
|
1203
1249
|
}
|
|
1204
|
-
function
|
|
1205
|
-
function x(
|
|
1206
|
-
var
|
|
1207
|
-
if (
|
|
1208
|
-
return new b("Invalid " + M + " `" +
|
|
1209
|
-
for (var
|
|
1210
|
-
var $ = c[
|
|
1250
|
+
function Me(c) {
|
|
1251
|
+
function x(P, R, O, M, w) {
|
|
1252
|
+
var C = P[R], k = ye(C);
|
|
1253
|
+
if (k !== "object")
|
|
1254
|
+
return new b("Invalid " + M + " `" + w + "` of type `" + k + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
1255
|
+
for (var N in c) {
|
|
1256
|
+
var $ = c[N];
|
|
1211
1257
|
if (typeof $ != "function")
|
|
1212
|
-
return
|
|
1213
|
-
var se = $(
|
|
1258
|
+
return Ie(O, M, w, N, ve($));
|
|
1259
|
+
var se = $(C, N, O, M, w + "." + N, o);
|
|
1214
1260
|
if (se)
|
|
1215
1261
|
return se;
|
|
1216
1262
|
}
|
|
1217
1263
|
return null;
|
|
1218
1264
|
}
|
|
1219
|
-
return
|
|
1265
|
+
return S(x);
|
|
1220
1266
|
}
|
|
1221
1267
|
function ge(c) {
|
|
1222
|
-
function x(
|
|
1223
|
-
var
|
|
1224
|
-
if (
|
|
1225
|
-
return new b("Invalid " + M + " `" +
|
|
1226
|
-
var
|
|
1227
|
-
for (var $ in
|
|
1268
|
+
function x(P, R, O, M, w) {
|
|
1269
|
+
var C = P[R], k = ye(C);
|
|
1270
|
+
if (k !== "object")
|
|
1271
|
+
return new b("Invalid " + M + " `" + w + "` of type `" + k + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
1272
|
+
var N = r({}, P[R], c);
|
|
1273
|
+
for (var $ in N) {
|
|
1228
1274
|
var se = c[$];
|
|
1229
1275
|
if (n(c, $) && typeof se != "function")
|
|
1230
|
-
return
|
|
1276
|
+
return Ie(O, M, w, $, ve(se));
|
|
1231
1277
|
if (!se)
|
|
1232
1278
|
return new b(
|
|
1233
|
-
"Invalid " + M + " `" +
|
|
1279
|
+
"Invalid " + M + " `" + w + "` key `" + $ + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(P[R], null, " ") + `
|
|
1234
1280
|
Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
1235
1281
|
);
|
|
1236
|
-
var h = se(
|
|
1282
|
+
var h = se(C, $, O, M, w + "." + $, o);
|
|
1237
1283
|
if (h)
|
|
1238
1284
|
return h;
|
|
1239
1285
|
}
|
|
1240
1286
|
return null;
|
|
1241
1287
|
}
|
|
1242
|
-
return
|
|
1288
|
+
return S(x);
|
|
1243
1289
|
}
|
|
1244
1290
|
function fe(c) {
|
|
1245
1291
|
switch (typeof c) {
|
|
@@ -1256,13 +1302,13 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1256
1302
|
return !0;
|
|
1257
1303
|
var x = m(c);
|
|
1258
1304
|
if (x) {
|
|
1259
|
-
var
|
|
1305
|
+
var P = x.call(c), R;
|
|
1260
1306
|
if (x !== c.entries) {
|
|
1261
|
-
for (; !(R =
|
|
1307
|
+
for (; !(R = P.next()).done; )
|
|
1262
1308
|
if (!fe(R.value))
|
|
1263
1309
|
return !1;
|
|
1264
1310
|
} else
|
|
1265
|
-
for (; !(R =
|
|
1311
|
+
for (; !(R = P.next()).done; ) {
|
|
1266
1312
|
var O = R.value;
|
|
1267
1313
|
if (O && !fe(O[1]))
|
|
1268
1314
|
return !1;
|
|
@@ -1274,12 +1320,12 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1274
1320
|
return !1;
|
|
1275
1321
|
}
|
|
1276
1322
|
}
|
|
1277
|
-
function
|
|
1323
|
+
function Oe(c, x) {
|
|
1278
1324
|
return c === "symbol" ? !0 : x ? x["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && x instanceof Symbol : !1;
|
|
1279
1325
|
}
|
|
1280
1326
|
function ye(c) {
|
|
1281
1327
|
var x = typeof c;
|
|
1282
|
-
return Array.isArray(c) ? "array" : c instanceof RegExp ? "object" :
|
|
1328
|
+
return Array.isArray(c) ? "array" : c instanceof RegExp ? "object" : Oe(x, c) ? "symbol" : x;
|
|
1283
1329
|
}
|
|
1284
1330
|
function ve(c) {
|
|
1285
1331
|
if (typeof c > "u" || c === null)
|
|
@@ -1293,7 +1339,7 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1293
1339
|
}
|
|
1294
1340
|
return x;
|
|
1295
1341
|
}
|
|
1296
|
-
function
|
|
1342
|
+
function Se(c) {
|
|
1297
1343
|
var x = ve(c);
|
|
1298
1344
|
switch (x) {
|
|
1299
1345
|
case "array":
|
|
@@ -1307,23 +1353,23 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1307
1353
|
return x;
|
|
1308
1354
|
}
|
|
1309
1355
|
}
|
|
1310
|
-
function
|
|
1356
|
+
function De(c) {
|
|
1311
1357
|
return !c.constructor || !c.constructor.name ? l : c.constructor.name;
|
|
1312
1358
|
}
|
|
1313
|
-
return E.checkPropTypes =
|
|
1314
|
-
},
|
|
1359
|
+
return E.checkPropTypes = i, E.resetWarningCache = i.resetWarningCache, E.PropTypes = E, E;
|
|
1360
|
+
}, Cr;
|
|
1315
1361
|
}
|
|
1316
|
-
var
|
|
1317
|
-
function
|
|
1318
|
-
if (
|
|
1319
|
-
return
|
|
1320
|
-
|
|
1321
|
-
var e =
|
|
1362
|
+
var _r, it;
|
|
1363
|
+
function pn() {
|
|
1364
|
+
if (it)
|
|
1365
|
+
return _r;
|
|
1366
|
+
it = 1;
|
|
1367
|
+
var e = kr();
|
|
1322
1368
|
function r() {
|
|
1323
1369
|
}
|
|
1324
1370
|
function o() {
|
|
1325
1371
|
}
|
|
1326
|
-
return o.resetWarningCache = r,
|
|
1372
|
+
return o.resetWarningCache = r, _r = function() {
|
|
1327
1373
|
function n(s, f, d, p, g, m) {
|
|
1328
1374
|
if (m !== e) {
|
|
1329
1375
|
var l = new Error(
|
|
@@ -1333,10 +1379,10 @@ function un() {
|
|
|
1333
1379
|
}
|
|
1334
1380
|
}
|
|
1335
1381
|
n.isRequired = n;
|
|
1336
|
-
function
|
|
1382
|
+
function i() {
|
|
1337
1383
|
return n;
|
|
1338
1384
|
}
|
|
1339
|
-
var
|
|
1385
|
+
var a = {
|
|
1340
1386
|
array: n,
|
|
1341
1387
|
bigint: n,
|
|
1342
1388
|
bool: n,
|
|
@@ -1346,42 +1392,42 @@ function un() {
|
|
|
1346
1392
|
string: n,
|
|
1347
1393
|
symbol: n,
|
|
1348
1394
|
any: n,
|
|
1349
|
-
arrayOf:
|
|
1395
|
+
arrayOf: i,
|
|
1350
1396
|
element: n,
|
|
1351
1397
|
elementType: n,
|
|
1352
|
-
instanceOf:
|
|
1398
|
+
instanceOf: i,
|
|
1353
1399
|
node: n,
|
|
1354
|
-
objectOf:
|
|
1355
|
-
oneOf:
|
|
1356
|
-
oneOfType:
|
|
1357
|
-
shape:
|
|
1358
|
-
exact:
|
|
1400
|
+
objectOf: i,
|
|
1401
|
+
oneOf: i,
|
|
1402
|
+
oneOfType: i,
|
|
1403
|
+
shape: i,
|
|
1404
|
+
exact: i,
|
|
1359
1405
|
checkPropTypes: o,
|
|
1360
1406
|
resetWarningCache: r
|
|
1361
1407
|
};
|
|
1362
|
-
return
|
|
1363
|
-
},
|
|
1408
|
+
return a.PropTypes = a, a;
|
|
1409
|
+
}, _r;
|
|
1364
1410
|
}
|
|
1365
1411
|
if (process.env.NODE_ENV !== "production") {
|
|
1366
|
-
var
|
|
1367
|
-
|
|
1412
|
+
var gn = xt(), yn = !0;
|
|
1413
|
+
Pr.exports = dn()(gn.isElement, yn);
|
|
1368
1414
|
} else
|
|
1369
|
-
|
|
1370
|
-
var
|
|
1371
|
-
const
|
|
1415
|
+
Pr.exports = pn()();
|
|
1416
|
+
var mn = Pr.exports;
|
|
1417
|
+
const Je = /* @__PURE__ */ rn(mn);
|
|
1372
1418
|
function Ue(e) {
|
|
1373
1419
|
let r = "https://mui.com/production-error/?code=" + e;
|
|
1374
1420
|
for (let o = 1; o < arguments.length; o += 1)
|
|
1375
1421
|
r += "&args[]=" + encodeURIComponent(arguments[o]);
|
|
1376
1422
|
return "Minified MUI error #" + e + "; visit " + r + " for the full message.";
|
|
1377
1423
|
}
|
|
1378
|
-
function
|
|
1424
|
+
function At(e) {
|
|
1379
1425
|
if (typeof e != "string")
|
|
1380
1426
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Ue(7));
|
|
1381
1427
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
1382
1428
|
}
|
|
1383
|
-
const
|
|
1384
|
-
let e =
|
|
1429
|
+
const at = (e) => e, hn = () => {
|
|
1430
|
+
let e = at;
|
|
1385
1431
|
return {
|
|
1386
1432
|
configure(r) {
|
|
1387
1433
|
e = r;
|
|
@@ -1390,10 +1436,10 @@ const ot = (e) => e, dn = () => {
|
|
|
1390
1436
|
return e(r);
|
|
1391
1437
|
},
|
|
1392
1438
|
reset() {
|
|
1393
|
-
e =
|
|
1439
|
+
e = at;
|
|
1394
1440
|
}
|
|
1395
1441
|
};
|
|
1396
|
-
},
|
|
1442
|
+
}, bn = hn(), vn = bn, xn = {
|
|
1397
1443
|
active: "active",
|
|
1398
1444
|
checked: "checked",
|
|
1399
1445
|
completed: "completed",
|
|
@@ -1407,28 +1453,28 @@ const ot = (e) => e, dn = () => {
|
|
|
1407
1453
|
required: "required",
|
|
1408
1454
|
selected: "selected"
|
|
1409
1455
|
};
|
|
1410
|
-
function
|
|
1411
|
-
const n =
|
|
1412
|
-
return n ? `${o}-${n}` : `${
|
|
1456
|
+
function En(e, r, o = "Mui") {
|
|
1457
|
+
const n = xn[r];
|
|
1458
|
+
return n ? `${o}-${n}` : `${vn.generate(e)}-${r}`;
|
|
1413
1459
|
}
|
|
1414
|
-
function
|
|
1460
|
+
function Ye(e, r) {
|
|
1415
1461
|
if (e == null)
|
|
1416
1462
|
return {};
|
|
1417
|
-
var o = {}, n = Object.keys(e),
|
|
1418
|
-
for (
|
|
1419
|
-
|
|
1463
|
+
var o = {}, n = Object.keys(e), i, a;
|
|
1464
|
+
for (a = 0; a < n.length; a++)
|
|
1465
|
+
i = n[a], !(r.indexOf(i) >= 0) && (o[i] = e[i]);
|
|
1420
1466
|
return o;
|
|
1421
1467
|
}
|
|
1422
|
-
const
|
|
1468
|
+
const An = ["values", "unit", "step"], Tn = (e) => {
|
|
1423
1469
|
const r = Object.keys(e).map((o) => ({
|
|
1424
1470
|
key: o,
|
|
1425
1471
|
val: e[o]
|
|
1426
1472
|
})) || [];
|
|
1427
|
-
return r.sort((o, n) => o.val - n.val), r.reduce((o, n) =>
|
|
1473
|
+
return r.sort((o, n) => o.val - n.val), r.reduce((o, n) => ae({}, o, {
|
|
1428
1474
|
[n.key]: n.val
|
|
1429
1475
|
}), {});
|
|
1430
1476
|
};
|
|
1431
|
-
function
|
|
1477
|
+
function On(e) {
|
|
1432
1478
|
const {
|
|
1433
1479
|
// The breakpoint **start** at this value.
|
|
1434
1480
|
// For instance with the first breakpoint xs: [xs, sm).
|
|
@@ -1446,7 +1492,7 @@ function vn(e) {
|
|
|
1446
1492
|
},
|
|
1447
1493
|
unit: o = "px",
|
|
1448
1494
|
step: n = 5
|
|
1449
|
-
} = e,
|
|
1495
|
+
} = e, i = Ye(e, An), a = Tn(r), s = Object.keys(a);
|
|
1450
1496
|
function f(l) {
|
|
1451
1497
|
return `@media (min-width:${typeof r[l] == "number" ? r[l] : l}${o})`;
|
|
1452
1498
|
}
|
|
@@ -1464,27 +1510,27 @@ function vn(e) {
|
|
|
1464
1510
|
const E = s.indexOf(l);
|
|
1465
1511
|
return E === 0 ? f(s[1]) : E === s.length - 1 ? d(s[E]) : p(l, s[s.indexOf(l) + 1]).replace("@media", "@media not all and");
|
|
1466
1512
|
}
|
|
1467
|
-
return
|
|
1513
|
+
return ae({
|
|
1468
1514
|
keys: s,
|
|
1469
|
-
values:
|
|
1515
|
+
values: a,
|
|
1470
1516
|
up: f,
|
|
1471
1517
|
down: d,
|
|
1472
1518
|
between: p,
|
|
1473
1519
|
only: g,
|
|
1474
1520
|
not: m,
|
|
1475
1521
|
unit: o
|
|
1476
|
-
},
|
|
1522
|
+
}, i);
|
|
1477
1523
|
}
|
|
1478
|
-
const
|
|
1524
|
+
const wn = {
|
|
1479
1525
|
borderRadius: 4
|
|
1480
|
-
},
|
|
1481
|
-
function
|
|
1526
|
+
}, Cn = wn, _n = process.env.NODE_ENV !== "production" ? Je.oneOfType([Je.number, Je.string, Je.object, Je.array]) : {}, Re = _n;
|
|
1527
|
+
function Xe(e, r) {
|
|
1482
1528
|
return r ? Ce(e, r, {
|
|
1483
1529
|
clone: !1
|
|
1484
1530
|
// No need to clone deep, it's way faster.
|
|
1485
1531
|
}) : e;
|
|
1486
1532
|
}
|
|
1487
|
-
const
|
|
1533
|
+
const $r = {
|
|
1488
1534
|
xs: 0,
|
|
1489
1535
|
// phone
|
|
1490
1536
|
sm: 600,
|
|
@@ -1495,23 +1541,23 @@ const Pr = {
|
|
|
1495
1541
|
// desktop
|
|
1496
1542
|
xl: 1536
|
|
1497
1543
|
// large screen
|
|
1498
|
-
},
|
|
1544
|
+
}, st = {
|
|
1499
1545
|
// Sorted ASC by size. That's important.
|
|
1500
1546
|
// It can't be configured as it's used statically for propTypes.
|
|
1501
1547
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
1502
|
-
up: (e) => `@media (min-width:${
|
|
1548
|
+
up: (e) => `@media (min-width:${$r[e]}px)`
|
|
1503
1549
|
};
|
|
1504
1550
|
function _e(e, r, o) {
|
|
1505
1551
|
const n = e.theme || {};
|
|
1506
1552
|
if (Array.isArray(r)) {
|
|
1507
|
-
const
|
|
1508
|
-
return r.reduce((s, f, d) => (s[
|
|
1553
|
+
const a = n.breakpoints || st;
|
|
1554
|
+
return r.reduce((s, f, d) => (s[a.up(a.keys[d])] = o(r[d]), s), {});
|
|
1509
1555
|
}
|
|
1510
1556
|
if (typeof r == "object") {
|
|
1511
|
-
const
|
|
1557
|
+
const a = n.breakpoints || st;
|
|
1512
1558
|
return Object.keys(r).reduce((s, f) => {
|
|
1513
|
-
if (Object.keys(
|
|
1514
|
-
const d =
|
|
1559
|
+
if (Object.keys(a.values || $r).indexOf(f) !== -1) {
|
|
1560
|
+
const d = a.up(f);
|
|
1515
1561
|
s[d] = o(r[f], f);
|
|
1516
1562
|
} else {
|
|
1517
1563
|
const d = f;
|
|
@@ -1522,92 +1568,92 @@ function _e(e, r, o) {
|
|
|
1522
1568
|
}
|
|
1523
1569
|
return o(r);
|
|
1524
1570
|
}
|
|
1525
|
-
function
|
|
1571
|
+
function Rn(e = {}) {
|
|
1526
1572
|
var r;
|
|
1527
|
-
return ((r = e.keys) == null ? void 0 : r.reduce((n,
|
|
1528
|
-
const
|
|
1529
|
-
return n[
|
|
1573
|
+
return ((r = e.keys) == null ? void 0 : r.reduce((n, i) => {
|
|
1574
|
+
const a = e.up(i);
|
|
1575
|
+
return n[a] = {}, n;
|
|
1530
1576
|
}, {})) || {};
|
|
1531
1577
|
}
|
|
1532
|
-
function
|
|
1578
|
+
function Sn(e, r) {
|
|
1533
1579
|
return e.reduce((o, n) => {
|
|
1534
|
-
const
|
|
1535
|
-
return (!
|
|
1580
|
+
const i = o[n];
|
|
1581
|
+
return (!i || Object.keys(i).length === 0) && delete o[n], o;
|
|
1536
1582
|
}, r);
|
|
1537
1583
|
}
|
|
1538
|
-
function
|
|
1584
|
+
function sr(e, r, o = !0) {
|
|
1539
1585
|
if (!r || typeof r != "string")
|
|
1540
1586
|
return null;
|
|
1541
1587
|
if (e && e.vars && o) {
|
|
1542
|
-
const n = `vars.${r}`.split(".").reduce((
|
|
1588
|
+
const n = `vars.${r}`.split(".").reduce((i, a) => i && i[a] ? i[a] : null, e);
|
|
1543
1589
|
if (n != null)
|
|
1544
1590
|
return n;
|
|
1545
1591
|
}
|
|
1546
|
-
return r.split(".").reduce((n,
|
|
1592
|
+
return r.split(".").reduce((n, i) => n && n[i] != null ? n[i] : null, e);
|
|
1547
1593
|
}
|
|
1548
|
-
function
|
|
1549
|
-
let
|
|
1550
|
-
return typeof e == "function" ?
|
|
1594
|
+
function ar(e, r, o, n = o) {
|
|
1595
|
+
let i;
|
|
1596
|
+
return typeof e == "function" ? i = e(o) : Array.isArray(e) ? i = e[o] || n : i = sr(e, o) || n, r && (i = r(i, n, e)), i;
|
|
1551
1597
|
}
|
|
1552
|
-
function
|
|
1598
|
+
function Y(e) {
|
|
1553
1599
|
const {
|
|
1554
1600
|
prop: r,
|
|
1555
1601
|
cssProperty: o = e.prop,
|
|
1556
1602
|
themeKey: n,
|
|
1557
|
-
transform:
|
|
1558
|
-
} = e,
|
|
1603
|
+
transform: i
|
|
1604
|
+
} = e, a = (s) => {
|
|
1559
1605
|
if (s[r] == null)
|
|
1560
1606
|
return null;
|
|
1561
|
-
const f = s[r], d = s.theme, p =
|
|
1607
|
+
const f = s[r], d = s.theme, p = sr(d, n) || {};
|
|
1562
1608
|
return _e(s, f, (m) => {
|
|
1563
|
-
let l =
|
|
1564
|
-
return m === l && typeof m == "string" && (l =
|
|
1609
|
+
let l = ar(p, i, m);
|
|
1610
|
+
return m === l && typeof m == "string" && (l = ar(p, i, `${r}${m === "default" ? "" : At(m)}`, m)), o === !1 ? l : {
|
|
1565
1611
|
[o]: l
|
|
1566
1612
|
};
|
|
1567
1613
|
});
|
|
1568
1614
|
};
|
|
1569
|
-
return
|
|
1615
|
+
return a.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1570
1616
|
[r]: Re
|
|
1571
|
-
} : {},
|
|
1617
|
+
} : {}, a.filterProps = [r], a;
|
|
1572
1618
|
}
|
|
1573
|
-
function
|
|
1619
|
+
function Pn(e) {
|
|
1574
1620
|
const r = {};
|
|
1575
1621
|
return (o) => (r[o] === void 0 && (r[o] = e(o)), r[o]);
|
|
1576
1622
|
}
|
|
1577
|
-
const
|
|
1623
|
+
const kn = {
|
|
1578
1624
|
m: "margin",
|
|
1579
1625
|
p: "padding"
|
|
1580
|
-
},
|
|
1626
|
+
}, $n = {
|
|
1581
1627
|
t: "Top",
|
|
1582
1628
|
r: "Right",
|
|
1583
1629
|
b: "Bottom",
|
|
1584
1630
|
l: "Left",
|
|
1585
1631
|
x: ["Left", "Right"],
|
|
1586
1632
|
y: ["Top", "Bottom"]
|
|
1587
|
-
},
|
|
1633
|
+
}, ut = {
|
|
1588
1634
|
marginX: "mx",
|
|
1589
1635
|
marginY: "my",
|
|
1590
1636
|
paddingX: "px",
|
|
1591
1637
|
paddingY: "py"
|
|
1592
|
-
},
|
|
1638
|
+
}, jn = Pn((e) => {
|
|
1593
1639
|
if (e.length > 2)
|
|
1594
|
-
if (
|
|
1595
|
-
e =
|
|
1640
|
+
if (ut[e])
|
|
1641
|
+
e = ut[e];
|
|
1596
1642
|
else
|
|
1597
1643
|
return [e];
|
|
1598
|
-
const [r, o] = e.split(""), n =
|
|
1599
|
-
return Array.isArray(
|
|
1600
|
-
}),
|
|
1644
|
+
const [r, o] = e.split(""), n = kn[r], i = $n[o] || "";
|
|
1645
|
+
return Array.isArray(i) ? i.map((a) => n + a) : [n + i];
|
|
1646
|
+
}), ur = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], lr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], In = [...ur, ...lr];
|
|
1601
1647
|
function Qe(e, r, o, n) {
|
|
1602
|
-
var
|
|
1603
|
-
const
|
|
1604
|
-
return typeof
|
|
1648
|
+
var i;
|
|
1649
|
+
const a = (i = sr(e, r, !1)) != null ? i : o;
|
|
1650
|
+
return typeof a == "number" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${s}.`), a * s) : Array.isArray(a) ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > a.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(a)}.`, `${s} > ${a.length - 1}, you need to add the missing values.`].join(`
|
|
1605
1651
|
`)) : console.error([`MUI: The \`theme.${r}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${r}\` as a number.`].join(`
|
|
1606
|
-
`))),
|
|
1652
|
+
`))), a[s]) : typeof a == "function" ? a : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${a}) is invalid.`, "It should be a number, an array or a function."].join(`
|
|
1607
1653
|
`)), () => {
|
|
1608
1654
|
});
|
|
1609
1655
|
}
|
|
1610
|
-
function
|
|
1656
|
+
function Tt(e) {
|
|
1611
1657
|
return Qe(e, "spacing", 8, "spacing");
|
|
1612
1658
|
}
|
|
1613
1659
|
function er(e, r) {
|
|
@@ -1616,86 +1662,86 @@ function er(e, r) {
|
|
|
1616
1662
|
const o = Math.abs(r), n = e(o);
|
|
1617
1663
|
return r >= 0 ? n : typeof n == "number" ? -n : `-${n}`;
|
|
1618
1664
|
}
|
|
1619
|
-
function
|
|
1620
|
-
return (o) => e.reduce((n,
|
|
1665
|
+
function Mn(e, r) {
|
|
1666
|
+
return (o) => e.reduce((n, i) => (n[i] = er(r, o), n), {});
|
|
1621
1667
|
}
|
|
1622
|
-
function
|
|
1668
|
+
function Dn(e, r, o, n) {
|
|
1623
1669
|
if (r.indexOf(o) === -1)
|
|
1624
1670
|
return null;
|
|
1625
|
-
const
|
|
1626
|
-
return _e(e, s,
|
|
1671
|
+
const i = jn(o), a = Mn(i, n), s = e[o];
|
|
1672
|
+
return _e(e, s, a);
|
|
1627
1673
|
}
|
|
1628
|
-
function
|
|
1629
|
-
const o =
|
|
1630
|
-
return Object.keys(e).map((n) =>
|
|
1674
|
+
function Ot(e, r) {
|
|
1675
|
+
const o = Tt(e.theme);
|
|
1676
|
+
return Object.keys(e).map((n) => Dn(e, r, n, o)).reduce(Xe, {});
|
|
1631
1677
|
}
|
|
1632
1678
|
function Z(e) {
|
|
1633
|
-
return
|
|
1679
|
+
return Ot(e, ur);
|
|
1634
1680
|
}
|
|
1635
|
-
Z.propTypes = process.env.NODE_ENV !== "production" ?
|
|
1636
|
-
Z.filterProps =
|
|
1681
|
+
Z.propTypes = process.env.NODE_ENV !== "production" ? ur.reduce((e, r) => (e[r] = Re, e), {}) : {};
|
|
1682
|
+
Z.filterProps = ur;
|
|
1637
1683
|
function Q(e) {
|
|
1638
|
-
return
|
|
1684
|
+
return Ot(e, lr);
|
|
1639
1685
|
}
|
|
1640
|
-
Q.propTypes = process.env.NODE_ENV !== "production" ?
|
|
1641
|
-
Q.filterProps =
|
|
1642
|
-
process.env.NODE_ENV !== "production" &&
|
|
1643
|
-
function
|
|
1686
|
+
Q.propTypes = process.env.NODE_ENV !== "production" ? lr.reduce((e, r) => (e[r] = Re, e), {}) : {};
|
|
1687
|
+
Q.filterProps = lr;
|
|
1688
|
+
process.env.NODE_ENV !== "production" && In.reduce((e, r) => (e[r] = Re, e), {});
|
|
1689
|
+
function Bn(e = 8) {
|
|
1644
1690
|
if (e.mui)
|
|
1645
1691
|
return e;
|
|
1646
|
-
const r =
|
|
1692
|
+
const r = Tt({
|
|
1647
1693
|
spacing: e
|
|
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((
|
|
1649
|
-
const s = r(
|
|
1694
|
+
}), 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((a) => {
|
|
1695
|
+
const s = r(a);
|
|
1650
1696
|
return typeof s == "number" ? `${s}px` : s;
|
|
1651
1697
|
}).join(" "));
|
|
1652
1698
|
return o.mui = !0, o;
|
|
1653
1699
|
}
|
|
1654
|
-
function
|
|
1655
|
-
const r = e.reduce((n,
|
|
1656
|
-
n[
|
|
1657
|
-
}), n), {}), o = (n) => Object.keys(n).reduce((
|
|
1658
|
-
return o.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n,
|
|
1700
|
+
function cr(...e) {
|
|
1701
|
+
const r = e.reduce((n, i) => (i.filterProps.forEach((a) => {
|
|
1702
|
+
n[a] = i;
|
|
1703
|
+
}), n), {}), o = (n) => Object.keys(n).reduce((i, a) => r[a] ? Xe(i, r[a](n)) : i, {});
|
|
1704
|
+
return o.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, i) => Object.assign(n, i.propTypes), {}) : {}, o.filterProps = e.reduce((n, i) => n.concat(i.filterProps), []), o;
|
|
1659
1705
|
}
|
|
1660
1706
|
function Ee(e) {
|
|
1661
1707
|
return typeof e != "number" ? e : `${e}px solid`;
|
|
1662
1708
|
}
|
|
1663
|
-
const
|
|
1709
|
+
const Nn = Y({
|
|
1664
1710
|
prop: "border",
|
|
1665
1711
|
themeKey: "borders",
|
|
1666
1712
|
transform: Ee
|
|
1667
|
-
}),
|
|
1713
|
+
}), Fn = Y({
|
|
1668
1714
|
prop: "borderTop",
|
|
1669
1715
|
themeKey: "borders",
|
|
1670
1716
|
transform: Ee
|
|
1671
|
-
}),
|
|
1717
|
+
}), Wn = Y({
|
|
1672
1718
|
prop: "borderRight",
|
|
1673
1719
|
themeKey: "borders",
|
|
1674
1720
|
transform: Ee
|
|
1675
|
-
}),
|
|
1721
|
+
}), Ln = Y({
|
|
1676
1722
|
prop: "borderBottom",
|
|
1677
1723
|
themeKey: "borders",
|
|
1678
1724
|
transform: Ee
|
|
1679
|
-
}),
|
|
1725
|
+
}), Un = Y({
|
|
1680
1726
|
prop: "borderLeft",
|
|
1681
1727
|
themeKey: "borders",
|
|
1682
1728
|
transform: Ee
|
|
1683
|
-
}),
|
|
1729
|
+
}), Yn = Y({
|
|
1684
1730
|
prop: "borderColor",
|
|
1685
1731
|
themeKey: "palette"
|
|
1686
|
-
}),
|
|
1732
|
+
}), zn = Y({
|
|
1687
1733
|
prop: "borderTopColor",
|
|
1688
1734
|
themeKey: "palette"
|
|
1689
|
-
}),
|
|
1735
|
+
}), Gn = Y({
|
|
1690
1736
|
prop: "borderRightColor",
|
|
1691
1737
|
themeKey: "palette"
|
|
1692
|
-
}),
|
|
1738
|
+
}), Vn = Y({
|
|
1693
1739
|
prop: "borderBottomColor",
|
|
1694
1740
|
themeKey: "palette"
|
|
1695
|
-
}),
|
|
1741
|
+
}), Kn = Y({
|
|
1696
1742
|
prop: "borderLeftColor",
|
|
1697
1743
|
themeKey: "palette"
|
|
1698
|
-
}),
|
|
1744
|
+
}), fr = (e) => {
|
|
1699
1745
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1700
1746
|
const r = Qe(e.theme, "shape.borderRadius", 4, "borderRadius"), o = (n) => ({
|
|
1701
1747
|
borderRadius: er(r, n)
|
|
@@ -1704,12 +1750,12 @@ const jn = L({
|
|
|
1704
1750
|
}
|
|
1705
1751
|
return null;
|
|
1706
1752
|
};
|
|
1707
|
-
|
|
1753
|
+
fr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1708
1754
|
borderRadius: Re
|
|
1709
1755
|
} : {};
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
const
|
|
1756
|
+
fr.filterProps = ["borderRadius"];
|
|
1757
|
+
cr(Nn, Fn, Wn, Ln, Un, Yn, zn, Gn, Vn, Kn, fr);
|
|
1758
|
+
const dr = (e) => {
|
|
1713
1759
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
1714
1760
|
const r = Qe(e.theme, "spacing", 8, "gap"), o = (n) => ({
|
|
1715
1761
|
gap: er(r, n)
|
|
@@ -1718,11 +1764,11 @@ const cr = (e) => {
|
|
|
1718
1764
|
}
|
|
1719
1765
|
return null;
|
|
1720
1766
|
};
|
|
1721
|
-
|
|
1767
|
+
dr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1722
1768
|
gap: Re
|
|
1723
1769
|
} : {};
|
|
1724
|
-
|
|
1725
|
-
const
|
|
1770
|
+
dr.filterProps = ["gap"];
|
|
1771
|
+
const pr = (e) => {
|
|
1726
1772
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
1727
1773
|
const r = Qe(e.theme, "spacing", 8, "columnGap"), o = (n) => ({
|
|
1728
1774
|
columnGap: er(r, n)
|
|
@@ -1731,11 +1777,11 @@ const fr = (e) => {
|
|
|
1731
1777
|
}
|
|
1732
1778
|
return null;
|
|
1733
1779
|
};
|
|
1734
|
-
|
|
1780
|
+
pr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1735
1781
|
columnGap: Re
|
|
1736
1782
|
} : {};
|
|
1737
|
-
|
|
1738
|
-
const
|
|
1783
|
+
pr.filterProps = ["columnGap"];
|
|
1784
|
+
const gr = (e) => {
|
|
1739
1785
|
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
1740
1786
|
const r = Qe(e.theme, "spacing", 8, "rowGap"), o = (n) => ({
|
|
1741
1787
|
rowGap: er(r, n)
|
|
@@ -1744,63 +1790,63 @@ const dr = (e) => {
|
|
|
1744
1790
|
}
|
|
1745
1791
|
return null;
|
|
1746
1792
|
};
|
|
1747
|
-
|
|
1793
|
+
gr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1748
1794
|
rowGap: Re
|
|
1749
1795
|
} : {};
|
|
1750
|
-
|
|
1751
|
-
const
|
|
1796
|
+
gr.filterProps = ["rowGap"];
|
|
1797
|
+
const qn = Y({
|
|
1752
1798
|
prop: "gridColumn"
|
|
1753
|
-
}),
|
|
1799
|
+
}), Hn = Y({
|
|
1754
1800
|
prop: "gridRow"
|
|
1755
|
-
}),
|
|
1801
|
+
}), Jn = Y({
|
|
1756
1802
|
prop: "gridAutoFlow"
|
|
1757
|
-
}),
|
|
1803
|
+
}), Xn = Y({
|
|
1758
1804
|
prop: "gridAutoColumns"
|
|
1759
|
-
}),
|
|
1805
|
+
}), Zn = Y({
|
|
1760
1806
|
prop: "gridAutoRows"
|
|
1761
|
-
}),
|
|
1807
|
+
}), Qn = Y({
|
|
1762
1808
|
prop: "gridTemplateColumns"
|
|
1763
|
-
}),
|
|
1809
|
+
}), eo = Y({
|
|
1764
1810
|
prop: "gridTemplateRows"
|
|
1765
|
-
}),
|
|
1811
|
+
}), ro = Y({
|
|
1766
1812
|
prop: "gridTemplateAreas"
|
|
1767
|
-
}),
|
|
1813
|
+
}), to = Y({
|
|
1768
1814
|
prop: "gridArea"
|
|
1769
1815
|
});
|
|
1770
|
-
|
|
1771
|
-
function
|
|
1816
|
+
cr(dr, pr, gr, qn, Hn, Jn, Xn, Zn, Qn, eo, ro, to);
|
|
1817
|
+
function Le(e, r) {
|
|
1772
1818
|
return r === "grey" ? r : e;
|
|
1773
1819
|
}
|
|
1774
|
-
const
|
|
1820
|
+
const no = Y({
|
|
1775
1821
|
prop: "color",
|
|
1776
1822
|
themeKey: "palette",
|
|
1777
|
-
transform:
|
|
1778
|
-
}),
|
|
1823
|
+
transform: Le
|
|
1824
|
+
}), oo = Y({
|
|
1779
1825
|
prop: "bgcolor",
|
|
1780
1826
|
cssProperty: "backgroundColor",
|
|
1781
1827
|
themeKey: "palette",
|
|
1782
|
-
transform:
|
|
1783
|
-
}),
|
|
1828
|
+
transform: Le
|
|
1829
|
+
}), io = Y({
|
|
1784
1830
|
prop: "backgroundColor",
|
|
1785
1831
|
themeKey: "palette",
|
|
1786
|
-
transform:
|
|
1832
|
+
transform: Le
|
|
1787
1833
|
});
|
|
1788
|
-
|
|
1834
|
+
cr(no, oo, io);
|
|
1789
1835
|
function me(e) {
|
|
1790
1836
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1791
1837
|
}
|
|
1792
|
-
const
|
|
1838
|
+
const ao = Y({
|
|
1793
1839
|
prop: "width",
|
|
1794
1840
|
transform: me
|
|
1795
|
-
}),
|
|
1841
|
+
}), jr = (e) => {
|
|
1796
1842
|
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
1797
1843
|
const r = (o) => {
|
|
1798
|
-
var n,
|
|
1799
|
-
const
|
|
1800
|
-
return
|
|
1801
|
-
maxWidth: `${
|
|
1844
|
+
var n, i;
|
|
1845
|
+
const a = ((n = e.theme) == null || (n = n.breakpoints) == null || (n = n.values) == null ? void 0 : n[o]) || $r[o];
|
|
1846
|
+
return a ? ((i = e.theme) == null || (i = i.breakpoints) == null ? void 0 : i.unit) !== "px" ? {
|
|
1847
|
+
maxWidth: `${a}${e.theme.breakpoints.unit}`
|
|
1802
1848
|
} : {
|
|
1803
|
-
maxWidth:
|
|
1849
|
+
maxWidth: a
|
|
1804
1850
|
} : {
|
|
1805
1851
|
maxWidth: me(o)
|
|
1806
1852
|
};
|
|
@@ -1809,35 +1855,35 @@ const ro = L({
|
|
|
1809
1855
|
}
|
|
1810
1856
|
return null;
|
|
1811
1857
|
};
|
|
1812
|
-
|
|
1813
|
-
const
|
|
1858
|
+
jr.filterProps = ["maxWidth"];
|
|
1859
|
+
const so = Y({
|
|
1814
1860
|
prop: "minWidth",
|
|
1815
1861
|
transform: me
|
|
1816
|
-
}),
|
|
1862
|
+
}), uo = Y({
|
|
1817
1863
|
prop: "height",
|
|
1818
1864
|
transform: me
|
|
1819
|
-
}),
|
|
1865
|
+
}), lo = Y({
|
|
1820
1866
|
prop: "maxHeight",
|
|
1821
1867
|
transform: me
|
|
1822
|
-
}),
|
|
1868
|
+
}), co = Y({
|
|
1823
1869
|
prop: "minHeight",
|
|
1824
1870
|
transform: me
|
|
1825
1871
|
});
|
|
1826
|
-
|
|
1872
|
+
Y({
|
|
1827
1873
|
prop: "size",
|
|
1828
1874
|
cssProperty: "width",
|
|
1829
1875
|
transform: me
|
|
1830
1876
|
});
|
|
1831
|
-
|
|
1877
|
+
Y({
|
|
1832
1878
|
prop: "size",
|
|
1833
1879
|
cssProperty: "height",
|
|
1834
1880
|
transform: me
|
|
1835
1881
|
});
|
|
1836
|
-
const
|
|
1882
|
+
const fo = Y({
|
|
1837
1883
|
prop: "boxSizing"
|
|
1838
1884
|
});
|
|
1839
|
-
|
|
1840
|
-
const
|
|
1885
|
+
cr(ao, jr, so, uo, lo, co, fo);
|
|
1886
|
+
const po = {
|
|
1841
1887
|
// borders
|
|
1842
1888
|
border: {
|
|
1843
1889
|
themeKey: "borders",
|
|
@@ -1876,21 +1922,21 @@ const so = {
|
|
|
1876
1922
|
},
|
|
1877
1923
|
borderRadius: {
|
|
1878
1924
|
themeKey: "shape.borderRadius",
|
|
1879
|
-
style:
|
|
1925
|
+
style: fr
|
|
1880
1926
|
},
|
|
1881
1927
|
// palette
|
|
1882
1928
|
color: {
|
|
1883
1929
|
themeKey: "palette",
|
|
1884
|
-
transform:
|
|
1930
|
+
transform: Le
|
|
1885
1931
|
},
|
|
1886
1932
|
bgcolor: {
|
|
1887
1933
|
themeKey: "palette",
|
|
1888
1934
|
cssProperty: "backgroundColor",
|
|
1889
|
-
transform:
|
|
1935
|
+
transform: Le
|
|
1890
1936
|
},
|
|
1891
1937
|
backgroundColor: {
|
|
1892
1938
|
themeKey: "palette",
|
|
1893
|
-
transform:
|
|
1939
|
+
transform: Le
|
|
1894
1940
|
},
|
|
1895
1941
|
// spacing
|
|
1896
1942
|
p: {
|
|
@@ -2043,13 +2089,13 @@ const so = {
|
|
|
2043
2089
|
justifySelf: {},
|
|
2044
2090
|
// grid
|
|
2045
2091
|
gap: {
|
|
2046
|
-
style:
|
|
2092
|
+
style: dr
|
|
2047
2093
|
},
|
|
2048
2094
|
rowGap: {
|
|
2049
|
-
style:
|
|
2095
|
+
style: gr
|
|
2050
2096
|
},
|
|
2051
2097
|
columnGap: {
|
|
2052
|
-
style:
|
|
2098
|
+
style: pr
|
|
2053
2099
|
},
|
|
2054
2100
|
gridColumn: {},
|
|
2055
2101
|
gridRow: {},
|
|
@@ -2078,7 +2124,7 @@ const so = {
|
|
|
2078
2124
|
transform: me
|
|
2079
2125
|
},
|
|
2080
2126
|
maxWidth: {
|
|
2081
|
-
style:
|
|
2127
|
+
style: jr
|
|
2082
2128
|
},
|
|
2083
2129
|
minWidth: {
|
|
2084
2130
|
transform: me
|
|
@@ -2114,20 +2160,20 @@ const so = {
|
|
|
2114
2160
|
cssProperty: !1,
|
|
2115
2161
|
themeKey: "typography"
|
|
2116
2162
|
}
|
|
2117
|
-
},
|
|
2118
|
-
function
|
|
2119
|
-
const r = e.reduce((n,
|
|
2163
|
+
}, Ir = po;
|
|
2164
|
+
function go(...e) {
|
|
2165
|
+
const r = e.reduce((n, i) => n.concat(Object.keys(i)), []), o = new Set(r);
|
|
2120
2166
|
return e.every((n) => o.size === Object.keys(n).length);
|
|
2121
2167
|
}
|
|
2122
|
-
function
|
|
2168
|
+
function yo(e, r) {
|
|
2123
2169
|
return typeof e == "function" ? e(r) : e;
|
|
2124
2170
|
}
|
|
2125
|
-
function
|
|
2126
|
-
function e(o, n,
|
|
2171
|
+
function mo() {
|
|
2172
|
+
function e(o, n, i, a) {
|
|
2127
2173
|
const s = {
|
|
2128
2174
|
[o]: n,
|
|
2129
|
-
theme:
|
|
2130
|
-
}, f =
|
|
2175
|
+
theme: i
|
|
2176
|
+
}, f = a[o];
|
|
2131
2177
|
if (!f)
|
|
2132
2178
|
return {
|
|
2133
2179
|
[o]: n
|
|
@@ -2144,10 +2190,10 @@ function co() {
|
|
|
2144
2190
|
return {
|
|
2145
2191
|
[o]: n
|
|
2146
2192
|
};
|
|
2147
|
-
const l =
|
|
2193
|
+
const l = sr(i, p) || {};
|
|
2148
2194
|
return m ? m(s) : _e(s, n, (A) => {
|
|
2149
|
-
let b =
|
|
2150
|
-
return A === b && typeof A == "string" && (b =
|
|
2195
|
+
let b = ar(l, g, A);
|
|
2196
|
+
return A === b && typeof A == "string" && (b = ar(l, g, `${o}${A === "default" ? "" : At(A)}`, A)), d === !1 ? b : {
|
|
2151
2197
|
[d]: b
|
|
2152
2198
|
};
|
|
2153
2199
|
});
|
|
@@ -2155,107 +2201,107 @@ function co() {
|
|
|
2155
2201
|
function r(o) {
|
|
2156
2202
|
var n;
|
|
2157
2203
|
const {
|
|
2158
|
-
sx:
|
|
2159
|
-
theme:
|
|
2204
|
+
sx: i,
|
|
2205
|
+
theme: a = {}
|
|
2160
2206
|
} = o || {};
|
|
2161
|
-
if (!
|
|
2207
|
+
if (!i)
|
|
2162
2208
|
return null;
|
|
2163
|
-
const s = (n =
|
|
2209
|
+
const s = (n = a.unstable_sxConfig) != null ? n : Ir;
|
|
2164
2210
|
function f(d) {
|
|
2165
2211
|
let p = d;
|
|
2166
2212
|
if (typeof d == "function")
|
|
2167
|
-
p = d(
|
|
2213
|
+
p = d(a);
|
|
2168
2214
|
else if (typeof d != "object")
|
|
2169
2215
|
return d;
|
|
2170
2216
|
if (!p)
|
|
2171
2217
|
return null;
|
|
2172
|
-
const g =
|
|
2218
|
+
const g = Rn(a.breakpoints), m = Object.keys(g);
|
|
2173
2219
|
let l = g;
|
|
2174
2220
|
return Object.keys(p).forEach((E) => {
|
|
2175
|
-
const A =
|
|
2221
|
+
const A = yo(p[E], a);
|
|
2176
2222
|
if (A != null)
|
|
2177
2223
|
if (typeof A == "object")
|
|
2178
2224
|
if (s[E])
|
|
2179
|
-
l =
|
|
2225
|
+
l = Xe(l, e(E, A, a, s));
|
|
2180
2226
|
else {
|
|
2181
2227
|
const b = _e({
|
|
2182
|
-
theme:
|
|
2183
|
-
}, A, (
|
|
2184
|
-
[E]:
|
|
2228
|
+
theme: a
|
|
2229
|
+
}, A, (S) => ({
|
|
2230
|
+
[E]: S
|
|
2185
2231
|
}));
|
|
2186
|
-
|
|
2232
|
+
go(b, A) ? l[E] = r({
|
|
2187
2233
|
sx: A,
|
|
2188
|
-
theme:
|
|
2189
|
-
}) : l =
|
|
2234
|
+
theme: a
|
|
2235
|
+
}) : l = Xe(l, b);
|
|
2190
2236
|
}
|
|
2191
2237
|
else
|
|
2192
|
-
l =
|
|
2193
|
-
}),
|
|
2238
|
+
l = Xe(l, e(E, A, a, s));
|
|
2239
|
+
}), Sn(m, l);
|
|
2194
2240
|
}
|
|
2195
|
-
return Array.isArray(
|
|
2241
|
+
return Array.isArray(i) ? i.map(f) : f(i);
|
|
2196
2242
|
}
|
|
2197
2243
|
return r;
|
|
2198
2244
|
}
|
|
2199
|
-
const
|
|
2200
|
-
|
|
2201
|
-
const
|
|
2202
|
-
function
|
|
2245
|
+
const wt = mo();
|
|
2246
|
+
wt.filterProps = ["sx"];
|
|
2247
|
+
const Ct = wt, ho = ["breakpoints", "palette", "spacing", "shape"];
|
|
2248
|
+
function bo(e = {}, ...r) {
|
|
2203
2249
|
const {
|
|
2204
2250
|
breakpoints: o = {},
|
|
2205
2251
|
palette: n = {},
|
|
2206
|
-
spacing:
|
|
2207
|
-
shape:
|
|
2208
|
-
} = e, s =
|
|
2252
|
+
spacing: i,
|
|
2253
|
+
shape: a = {}
|
|
2254
|
+
} = e, s = Ye(e, ho), f = On(o), d = Bn(i);
|
|
2209
2255
|
let p = Ce({
|
|
2210
2256
|
breakpoints: f,
|
|
2211
2257
|
direction: "ltr",
|
|
2212
2258
|
components: {},
|
|
2213
2259
|
// Inject component definitions.
|
|
2214
|
-
palette:
|
|
2260
|
+
palette: ae({
|
|
2215
2261
|
mode: "light"
|
|
2216
2262
|
}, n),
|
|
2217
2263
|
spacing: d,
|
|
2218
|
-
shape:
|
|
2264
|
+
shape: ae({}, Cn, a)
|
|
2219
2265
|
}, s);
|
|
2220
|
-
return p = r.reduce((g, m) => Ce(g, m), p), p.unstable_sxConfig =
|
|
2221
|
-
return
|
|
2266
|
+
return p = r.reduce((g, m) => Ce(g, m), p), p.unstable_sxConfig = ae({}, Ir, s == null ? void 0 : s.unstable_sxConfig), p.unstable_sx = function(m) {
|
|
2267
|
+
return Ct({
|
|
2222
2268
|
sx: m,
|
|
2223
2269
|
theme: this
|
|
2224
2270
|
});
|
|
2225
2271
|
}, p;
|
|
2226
2272
|
}
|
|
2227
|
-
function
|
|
2273
|
+
function Mr(e, r = 0, o = 1) {
|
|
2228
2274
|
return process.env.NODE_ENV !== "production" && (e < r || e > o) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${o}].`), Math.min(Math.max(r, e), o);
|
|
2229
2275
|
}
|
|
2230
|
-
function
|
|
2276
|
+
function vo(e) {
|
|
2231
2277
|
e = e.slice(1);
|
|
2232
2278
|
const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
2233
2279
|
let o = e.match(r);
|
|
2234
|
-
return o && o[0].length === 1 && (o = o.map((n) => n + n)), o ? `rgb${o.length === 4 ? "a" : ""}(${o.map((n,
|
|
2280
|
+
return o && o[0].length === 1 && (o = o.map((n) => n + n)), o ? `rgb${o.length === 4 ? "a" : ""}(${o.map((n, i) => i < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
2235
2281
|
}
|
|
2236
|
-
function
|
|
2282
|
+
function $e(e) {
|
|
2237
2283
|
if (e.type)
|
|
2238
2284
|
return e;
|
|
2239
2285
|
if (e.charAt(0) === "#")
|
|
2240
|
-
return
|
|
2286
|
+
return $e(vo(e));
|
|
2241
2287
|
const r = e.indexOf("("), o = e.substring(0, r);
|
|
2242
2288
|
if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(o) === -1)
|
|
2243
2289
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
2244
2290
|
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Ue(9, e));
|
|
2245
|
-
let n = e.substring(r + 1, e.length - 1),
|
|
2291
|
+
let n = e.substring(r + 1, e.length - 1), i;
|
|
2246
2292
|
if (o === "color") {
|
|
2247
|
-
if (n = n.split(" "),
|
|
2248
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${
|
|
2249
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Ue(10,
|
|
2293
|
+
if (n = n.split(" "), i = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(i) === -1)
|
|
2294
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${i}\` color space.
|
|
2295
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Ue(10, i));
|
|
2250
2296
|
} else
|
|
2251
2297
|
n = n.split(",");
|
|
2252
|
-
return n = n.map((
|
|
2298
|
+
return n = n.map((a) => parseFloat(a)), {
|
|
2253
2299
|
type: o,
|
|
2254
2300
|
values: n,
|
|
2255
|
-
colorSpace:
|
|
2301
|
+
colorSpace: i
|
|
2256
2302
|
};
|
|
2257
2303
|
}
|
|
2258
|
-
function
|
|
2304
|
+
function yr(e) {
|
|
2259
2305
|
const {
|
|
2260
2306
|
type: r,
|
|
2261
2307
|
colorSpace: o
|
|
@@ -2263,42 +2309,42 @@ function pr(e) {
|
|
|
2263
2309
|
let {
|
|
2264
2310
|
values: n
|
|
2265
2311
|
} = e;
|
|
2266
|
-
return r.indexOf("rgb") !== -1 ? n = n.map((
|
|
2312
|
+
return r.indexOf("rgb") !== -1 ? n = n.map((i, a) => a < 3 ? parseInt(i, 10) : i) : r.indexOf("hsl") !== -1 && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.indexOf("color") !== -1 ? n = `${o} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
|
|
2267
2313
|
}
|
|
2268
|
-
function
|
|
2269
|
-
e =
|
|
2314
|
+
function xo(e) {
|
|
2315
|
+
e = $e(e);
|
|
2270
2316
|
const {
|
|
2271
2317
|
values: r
|
|
2272
|
-
} = e, o = r[0], n = r[1] / 100,
|
|
2318
|
+
} = e, o = r[0], n = r[1] / 100, i = r[2] / 100, a = n * Math.min(i, 1 - i), s = (p, g = (p + o / 30) % 12) => i - a * Math.max(Math.min(g - 3, 9 - g, 1), -1);
|
|
2273
2319
|
let f = "rgb";
|
|
2274
2320
|
const d = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
|
|
2275
|
-
return e.type === "hsla" && (f += "a", d.push(r[3])),
|
|
2321
|
+
return e.type === "hsla" && (f += "a", d.push(r[3])), yr({
|
|
2276
2322
|
type: f,
|
|
2277
2323
|
values: d
|
|
2278
2324
|
});
|
|
2279
2325
|
}
|
|
2280
|
-
function
|
|
2281
|
-
e =
|
|
2282
|
-
let r = e.type === "hsl" || e.type === "hsla" ?
|
|
2326
|
+
function lt(e) {
|
|
2327
|
+
e = $e(e);
|
|
2328
|
+
let r = e.type === "hsl" || e.type === "hsla" ? $e(xo(e)).values : e.values;
|
|
2283
2329
|
return r = r.map((o) => (e.type !== "color" && (o /= 255), o <= 0.03928 ? o / 12.92 : ((o + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
|
|
2284
2330
|
}
|
|
2285
|
-
function
|
|
2286
|
-
const o =
|
|
2331
|
+
function ct(e, r) {
|
|
2332
|
+
const o = lt(e), n = lt(r);
|
|
2287
2333
|
return (Math.max(o, n) + 0.05) / (Math.min(o, n) + 0.05);
|
|
2288
2334
|
}
|
|
2289
2335
|
function pe(e, r) {
|
|
2290
|
-
return e =
|
|
2336
|
+
return e = $e(e), r = Mr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, yr(e);
|
|
2291
2337
|
}
|
|
2292
|
-
function
|
|
2293
|
-
if (e =
|
|
2338
|
+
function Eo(e, r) {
|
|
2339
|
+
if (e = $e(e), r = Mr(r), e.type.indexOf("hsl") !== -1)
|
|
2294
2340
|
e.values[2] *= 1 - r;
|
|
2295
2341
|
else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
|
|
2296
2342
|
for (let o = 0; o < 3; o += 1)
|
|
2297
2343
|
e.values[o] *= 1 - r;
|
|
2298
|
-
return
|
|
2344
|
+
return yr(e);
|
|
2299
2345
|
}
|
|
2300
|
-
function
|
|
2301
|
-
if (e =
|
|
2346
|
+
function Ao(e, r) {
|
|
2347
|
+
if (e = $e(e), r = Mr(r), e.type.indexOf("hsl") !== -1)
|
|
2302
2348
|
e.values[2] += (100 - e.values[2]) * r;
|
|
2303
2349
|
else if (e.type.indexOf("rgb") !== -1)
|
|
2304
2350
|
for (let o = 0; o < 3; o += 1)
|
|
@@ -2306,10 +2352,10 @@ function ho(e, r) {
|
|
|
2306
2352
|
else if (e.type.indexOf("color") !== -1)
|
|
2307
2353
|
for (let o = 0; o < 3; o += 1)
|
|
2308
2354
|
e.values[o] += (1 - e.values[o]) * r;
|
|
2309
|
-
return
|
|
2355
|
+
return yr(e);
|
|
2310
2356
|
}
|
|
2311
|
-
function
|
|
2312
|
-
return
|
|
2357
|
+
function To(e, r) {
|
|
2358
|
+
return ae({
|
|
2313
2359
|
toolbar: {
|
|
2314
2360
|
minHeight: 56,
|
|
2315
2361
|
[e.up("xs")]: {
|
|
@@ -2323,10 +2369,10 @@ function bo(e, r) {
|
|
|
2323
2369
|
}
|
|
2324
2370
|
}, r);
|
|
2325
2371
|
}
|
|
2326
|
-
const
|
|
2372
|
+
const Oo = {
|
|
2327
2373
|
black: "#000",
|
|
2328
2374
|
white: "#fff"
|
|
2329
|
-
}, Ze =
|
|
2375
|
+
}, Ze = Oo, wo = {
|
|
2330
2376
|
50: "#fafafa",
|
|
2331
2377
|
100: "#f5f5f5",
|
|
2332
2378
|
200: "#eeeeee",
|
|
@@ -2341,7 +2387,7 @@ const vo = {
|
|
|
2341
2387
|
A200: "#eeeeee",
|
|
2342
2388
|
A400: "#bdbdbd",
|
|
2343
2389
|
A700: "#616161"
|
|
2344
|
-
}, ne =
|
|
2390
|
+
}, ne = wo, Co = {
|
|
2345
2391
|
50: "#f3e5f5",
|
|
2346
2392
|
100: "#e1bee7",
|
|
2347
2393
|
200: "#ce93d8",
|
|
@@ -2356,7 +2402,7 @@ const vo = {
|
|
|
2356
2402
|
A200: "#e040fb",
|
|
2357
2403
|
A400: "#d500f9",
|
|
2358
2404
|
A700: "#aa00ff"
|
|
2359
|
-
},
|
|
2405
|
+
}, z = Co, _o = {
|
|
2360
2406
|
50: "#ffebee",
|
|
2361
2407
|
100: "#ffcdd2",
|
|
2362
2408
|
200: "#ef9a9a",
|
|
@@ -2371,7 +2417,7 @@ const vo = {
|
|
|
2371
2417
|
A200: "#ff5252",
|
|
2372
2418
|
A400: "#ff1744",
|
|
2373
2419
|
A700: "#d50000"
|
|
2374
|
-
}, q =
|
|
2420
|
+
}, q = _o, Ro = {
|
|
2375
2421
|
50: "#fff3e0",
|
|
2376
2422
|
100: "#ffe0b2",
|
|
2377
2423
|
200: "#ffcc80",
|
|
@@ -2386,7 +2432,7 @@ const vo = {
|
|
|
2386
2432
|
A200: "#ffab40",
|
|
2387
2433
|
A400: "#ff9100",
|
|
2388
2434
|
A700: "#ff6d00"
|
|
2389
|
-
},
|
|
2435
|
+
}, ie = Ro, So = {
|
|
2390
2436
|
50: "#e3f2fd",
|
|
2391
2437
|
100: "#bbdefb",
|
|
2392
2438
|
200: "#90caf9",
|
|
@@ -2401,7 +2447,7 @@ const vo = {
|
|
|
2401
2447
|
A200: "#448aff",
|
|
2402
2448
|
A400: "#2979ff",
|
|
2403
2449
|
A700: "#2962ff"
|
|
2404
|
-
}, re =
|
|
2450
|
+
}, re = So, Po = {
|
|
2405
2451
|
50: "#e1f5fe",
|
|
2406
2452
|
100: "#b3e5fc",
|
|
2407
2453
|
200: "#81d4fa",
|
|
@@ -2416,7 +2462,7 @@ const vo = {
|
|
|
2416
2462
|
A200: "#40c4ff",
|
|
2417
2463
|
A400: "#00b0ff",
|
|
2418
2464
|
A700: "#0091ea"
|
|
2419
|
-
}, J =
|
|
2465
|
+
}, J = Po, ko = {
|
|
2420
2466
|
50: "#e8f5e9",
|
|
2421
2467
|
100: "#c8e6c9",
|
|
2422
2468
|
200: "#a5d6a7",
|
|
@@ -2431,7 +2477,7 @@ const vo = {
|
|
|
2431
2477
|
A200: "#69f0ae",
|
|
2432
2478
|
A400: "#00e676",
|
|
2433
2479
|
A700: "#00c853"
|
|
2434
|
-
}, oe =
|
|
2480
|
+
}, oe = ko, $o = ["mode", "contrastThreshold", "tonalOffset"], ft = {
|
|
2435
2481
|
// The colors used to style the text.
|
|
2436
2482
|
text: {
|
|
2437
2483
|
// The most important text.
|
|
@@ -2468,7 +2514,7 @@ const vo = {
|
|
|
2468
2514
|
focusOpacity: 0.12,
|
|
2469
2515
|
activatedOpacity: 0.12
|
|
2470
2516
|
}
|
|
2471
|
-
},
|
|
2517
|
+
}, Rr = {
|
|
2472
2518
|
text: {
|
|
2473
2519
|
primary: Ze.white,
|
|
2474
2520
|
secondary: "rgba(255, 255, 255, 0.7)",
|
|
@@ -2494,11 +2540,11 @@ const vo = {
|
|
|
2494
2540
|
activatedOpacity: 0.24
|
|
2495
2541
|
}
|
|
2496
2542
|
};
|
|
2497
|
-
function
|
|
2498
|
-
const
|
|
2499
|
-
e[r] || (e.hasOwnProperty(o) ? e[r] = e[o] : r === "light" ? e.light =
|
|
2543
|
+
function dt(e, r, o, n) {
|
|
2544
|
+
const i = n.light || n, a = n.dark || n * 1.5;
|
|
2545
|
+
e[r] || (e.hasOwnProperty(o) ? e[r] = e[o] : r === "light" ? e.light = Ao(e.main, i) : r === "dark" && (e.dark = Eo(e.main, a)));
|
|
2500
2546
|
}
|
|
2501
|
-
function
|
|
2547
|
+
function jo(e = "light") {
|
|
2502
2548
|
return e === "dark" ? {
|
|
2503
2549
|
main: re[200],
|
|
2504
2550
|
light: re[50],
|
|
@@ -2509,18 +2555,18 @@ function wo(e = "light") {
|
|
|
2509
2555
|
dark: re[800]
|
|
2510
2556
|
};
|
|
2511
2557
|
}
|
|
2512
|
-
function
|
|
2558
|
+
function Io(e = "light") {
|
|
2513
2559
|
return e === "dark" ? {
|
|
2514
|
-
main:
|
|
2515
|
-
light:
|
|
2516
|
-
dark:
|
|
2560
|
+
main: z[200],
|
|
2561
|
+
light: z[50],
|
|
2562
|
+
dark: z[400]
|
|
2517
2563
|
} : {
|
|
2518
|
-
main:
|
|
2519
|
-
light:
|
|
2520
|
-
dark:
|
|
2564
|
+
main: z[500],
|
|
2565
|
+
light: z[300],
|
|
2566
|
+
dark: z[700]
|
|
2521
2567
|
};
|
|
2522
2568
|
}
|
|
2523
|
-
function
|
|
2569
|
+
function Mo(e = "light") {
|
|
2524
2570
|
return e === "dark" ? {
|
|
2525
2571
|
main: q[500],
|
|
2526
2572
|
light: q[300],
|
|
@@ -2531,7 +2577,7 @@ function Po(e = "light") {
|
|
|
2531
2577
|
dark: q[800]
|
|
2532
2578
|
};
|
|
2533
2579
|
}
|
|
2534
|
-
function
|
|
2580
|
+
function Do(e = "light") {
|
|
2535
2581
|
return e === "dark" ? {
|
|
2536
2582
|
main: J[400],
|
|
2537
2583
|
light: J[300],
|
|
@@ -2542,7 +2588,7 @@ function $o(e = "light") {
|
|
|
2542
2588
|
dark: J[900]
|
|
2543
2589
|
};
|
|
2544
2590
|
}
|
|
2545
|
-
function
|
|
2591
|
+
function Bo(e = "light") {
|
|
2546
2592
|
return e === "dark" ? {
|
|
2547
2593
|
main: oe[400],
|
|
2548
2594
|
light: oe[300],
|
|
@@ -2553,45 +2599,45 @@ function ko(e = "light") {
|
|
|
2553
2599
|
dark: oe[900]
|
|
2554
2600
|
};
|
|
2555
2601
|
}
|
|
2556
|
-
function
|
|
2602
|
+
function No(e = "light") {
|
|
2557
2603
|
return e === "dark" ? {
|
|
2558
|
-
main:
|
|
2559
|
-
light:
|
|
2560
|
-
dark:
|
|
2604
|
+
main: ie[400],
|
|
2605
|
+
light: ie[300],
|
|
2606
|
+
dark: ie[700]
|
|
2561
2607
|
} : {
|
|
2562
2608
|
main: "#ed6c02",
|
|
2563
2609
|
// closest to orange[800] that pass 3:1.
|
|
2564
|
-
light:
|
|
2565
|
-
dark:
|
|
2610
|
+
light: ie[500],
|
|
2611
|
+
dark: ie[900]
|
|
2566
2612
|
};
|
|
2567
2613
|
}
|
|
2568
|
-
function
|
|
2614
|
+
function Fo(e) {
|
|
2569
2615
|
const {
|
|
2570
2616
|
mode: r = "light",
|
|
2571
2617
|
contrastThreshold: o = 3,
|
|
2572
2618
|
tonalOffset: n = 0.2
|
|
2573
|
-
} = e,
|
|
2619
|
+
} = e, i = Ye(e, $o), a = e.primary || jo(r), s = e.secondary || Io(r), f = e.error || Mo(r), d = e.info || Do(r), p = e.success || Bo(r), g = e.warning || No(r);
|
|
2574
2620
|
function m(b) {
|
|
2575
|
-
const
|
|
2621
|
+
const S = ct(b, Rr.text.primary) >= o ? Rr.text.primary : ft.text.primary;
|
|
2576
2622
|
if (process.env.NODE_ENV !== "production") {
|
|
2577
|
-
const
|
|
2578
|
-
|
|
2623
|
+
const F = ct(b, S);
|
|
2624
|
+
F < 3 && console.error([`MUI: The contrast ratio of ${F}:1 for ${S} 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
2625
|
`));
|
|
2580
2626
|
}
|
|
2581
|
-
return
|
|
2627
|
+
return S;
|
|
2582
2628
|
}
|
|
2583
2629
|
const l = ({
|
|
2584
2630
|
color: b,
|
|
2585
|
-
name:
|
|
2586
|
-
mainShade:
|
|
2587
|
-
lightShade:
|
|
2631
|
+
name: S,
|
|
2632
|
+
mainShade: F = 500,
|
|
2633
|
+
lightShade: V = 300,
|
|
2588
2634
|
darkShade: H = 700
|
|
2589
2635
|
}) => {
|
|
2590
|
-
if (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 \`${
|
|
2636
|
+
if (b = ae({}, b), !b.main && b[F] && (b.main = b[F]), !b.hasOwnProperty("main"))
|
|
2637
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${S ? ` (${S})` : ""} provided to augmentColor(color) is invalid.
|
|
2638
|
+
The color object needs to have a \`main\` property or a \`${F}\` property.` : Ue(11, S ? ` (${S})` : "", F));
|
|
2593
2639
|
if (typeof b.main != "string")
|
|
2594
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
2640
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${S ? ` (${S})` : ""} provided to augmentColor(color) is invalid.
|
|
2595
2641
|
\`color.main\` should be a string, but \`${JSON.stringify(b.main)}\` was provided instead.
|
|
2596
2642
|
|
|
2597
2643
|
Did you intend to use one of the following approaches?
|
|
@@ -2604,21 +2650,21 @@ const theme1 = createTheme({ palette: {
|
|
|
2604
2650
|
|
|
2605
2651
|
const theme2 = createTheme({ palette: {
|
|
2606
2652
|
primary: { main: green[500] },
|
|
2607
|
-
} });` : Ue(12,
|
|
2608
|
-
return
|
|
2653
|
+
} });` : Ue(12, S ? ` (${S})` : "", JSON.stringify(b.main)));
|
|
2654
|
+
return dt(b, "light", V, n), dt(b, "dark", H, n), b.contrastText || (b.contrastText = m(b.main)), b;
|
|
2609
2655
|
}, E = {
|
|
2610
|
-
dark:
|
|
2611
|
-
light:
|
|
2656
|
+
dark: Rr,
|
|
2657
|
+
light: ft
|
|
2612
2658
|
};
|
|
2613
|
-
return process.env.NODE_ENV !== "production" && (E[r] || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), Ce(
|
|
2659
|
+
return process.env.NODE_ENV !== "production" && (E[r] || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), Ce(ae({
|
|
2614
2660
|
// A collection of common colors.
|
|
2615
|
-
common:
|
|
2661
|
+
common: ae({}, Ze),
|
|
2616
2662
|
// prevent mutable object.
|
|
2617
2663
|
// The palette mode, can be light or dark.
|
|
2618
2664
|
mode: r,
|
|
2619
2665
|
// The colors used to represent primary interface elements for a user.
|
|
2620
2666
|
primary: l({
|
|
2621
|
-
color:
|
|
2667
|
+
color: a,
|
|
2622
2668
|
name: "primary"
|
|
2623
2669
|
}),
|
|
2624
2670
|
// The colors used to represent secondary interface elements for a user.
|
|
@@ -2662,22 +2708,22 @@ const theme2 = createTheme({ palette: {
|
|
|
2662
2708
|
// two indexes within its tonal palette.
|
|
2663
2709
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
2664
2710
|
tonalOffset: n
|
|
2665
|
-
}, E[r]),
|
|
2711
|
+
}, E[r]), i);
|
|
2666
2712
|
}
|
|
2667
|
-
const
|
|
2668
|
-
function
|
|
2713
|
+
const Wo = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
2714
|
+
function Lo(e) {
|
|
2669
2715
|
return Math.round(e * 1e5) / 1e5;
|
|
2670
2716
|
}
|
|
2671
|
-
const
|
|
2717
|
+
const pt = {
|
|
2672
2718
|
textTransform: "uppercase"
|
|
2673
|
-
},
|
|
2674
|
-
function
|
|
2719
|
+
}, gt = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
2720
|
+
function Uo(e, r) {
|
|
2675
2721
|
const o = typeof r == "function" ? r(e) : r, {
|
|
2676
|
-
fontFamily: n =
|
|
2722
|
+
fontFamily: n = gt,
|
|
2677
2723
|
// The default font size of the Material Specification.
|
|
2678
|
-
fontSize:
|
|
2724
|
+
fontSize: i = 14,
|
|
2679
2725
|
// px
|
|
2680
|
-
fontWeightLight:
|
|
2726
|
+
fontWeightLight: a = 300,
|
|
2681
2727
|
fontWeightRegular: s = 400,
|
|
2682
2728
|
fontWeightMedium: f = 500,
|
|
2683
2729
|
fontWeightBold: d = 700,
|
|
@@ -2687,19 +2733,19 @@ function Bo(e, r) {
|
|
|
2687
2733
|
// Apply the CSS properties to all the variants.
|
|
2688
2734
|
allVariants: g,
|
|
2689
2735
|
pxToRem: m
|
|
2690
|
-
} = o, l =
|
|
2691
|
-
process.env.NODE_ENV !== "production" && (typeof
|
|
2692
|
-
const E =
|
|
2736
|
+
} = o, l = Ye(o, Wo);
|
|
2737
|
+
process.env.NODE_ENV !== "production" && (typeof i != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof p != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2738
|
+
const E = i / 14, A = m || ((F) => `${F / p * E}rem`), b = (F, V, H, X, v) => ae({
|
|
2693
2739
|
fontFamily: n,
|
|
2694
|
-
fontWeight:
|
|
2695
|
-
fontSize: A(
|
|
2740
|
+
fontWeight: F,
|
|
2741
|
+
fontSize: A(V),
|
|
2696
2742
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2697
2743
|
lineHeight: H
|
|
2698
|
-
}, n ===
|
|
2699
|
-
letterSpacing: `${
|
|
2700
|
-
} : {}, v, g),
|
|
2701
|
-
h1: b(
|
|
2702
|
-
h2: b(
|
|
2744
|
+
}, n === gt ? {
|
|
2745
|
+
letterSpacing: `${Lo(X / V)}em`
|
|
2746
|
+
} : {}, v, g), S = {
|
|
2747
|
+
h1: b(a, 96, 1.167, -1.5),
|
|
2748
|
+
h2: b(a, 60, 1.2, -0.5),
|
|
2703
2749
|
h3: b(s, 48, 1.167, 0),
|
|
2704
2750
|
h4: b(s, 34, 1.235, 0.25),
|
|
2705
2751
|
h5: b(s, 24, 1.334, 0),
|
|
@@ -2708,9 +2754,9 @@ function Bo(e, r) {
|
|
|
2708
2754
|
subtitle2: b(f, 14, 1.57, 0.1),
|
|
2709
2755
|
body1: b(s, 16, 1.5, 0.15),
|
|
2710
2756
|
body2: b(s, 14, 1.43, 0.15),
|
|
2711
|
-
button: b(f, 14, 1.75, 0.4,
|
|
2757
|
+
button: b(f, 14, 1.75, 0.4, pt),
|
|
2712
2758
|
caption: b(s, 12, 1.66, 0.4),
|
|
2713
|
-
overline: b(s, 12, 2.66, 1,
|
|
2759
|
+
overline: b(s, 12, 2.66, 1, pt),
|
|
2714
2760
|
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
2715
2761
|
inherit: {
|
|
2716
2762
|
fontFamily: "inherit",
|
|
@@ -2720,25 +2766,25 @@ function Bo(e, r) {
|
|
|
2720
2766
|
letterSpacing: "inherit"
|
|
2721
2767
|
}
|
|
2722
2768
|
};
|
|
2723
|
-
return Ce(
|
|
2769
|
+
return Ce(ae({
|
|
2724
2770
|
htmlFontSize: p,
|
|
2725
2771
|
pxToRem: A,
|
|
2726
2772
|
fontFamily: n,
|
|
2727
|
-
fontSize:
|
|
2728
|
-
fontWeightLight:
|
|
2773
|
+
fontSize: i,
|
|
2774
|
+
fontWeightLight: a,
|
|
2729
2775
|
fontWeightRegular: s,
|
|
2730
2776
|
fontWeightMedium: f,
|
|
2731
2777
|
fontWeightBold: d
|
|
2732
|
-
},
|
|
2778
|
+
}, S), l, {
|
|
2733
2779
|
clone: !1
|
|
2734
2780
|
// No need to clone deep
|
|
2735
2781
|
});
|
|
2736
2782
|
}
|
|
2737
|
-
const
|
|
2783
|
+
const Yo = 0.2, zo = 0.14, Go = 0.12;
|
|
2738
2784
|
function K(...e) {
|
|
2739
|
-
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${
|
|
2785
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Yo})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${zo})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Go})`].join(",");
|
|
2740
2786
|
}
|
|
2741
|
-
const
|
|
2787
|
+
const Vo = ["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)], Ko = Vo, qo = ["duration", "easing", "delay"], Ho = {
|
|
2742
2788
|
// This is the most common easing curve.
|
|
2743
2789
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2744
2790
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -2748,7 +2794,7 @@ const Uo = ["none", K(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), K(0, 3, 1, -2, 0, 2,
|
|
|
2748
2794
|
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2749
2795
|
// The sharp curve is used by objects that may return to the screen at any time.
|
|
2750
2796
|
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
2751
|
-
},
|
|
2797
|
+
}, Jo = {
|
|
2752
2798
|
shortest: 150,
|
|
2753
2799
|
shorter: 200,
|
|
2754
2800
|
short: 250,
|
|
@@ -2761,38 +2807,38 @@ const Uo = ["none", K(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), K(0, 3, 1, -2, 0, 2,
|
|
|
2761
2807
|
// recommended when something is leaving screen
|
|
2762
2808
|
leavingScreen: 195
|
|
2763
2809
|
};
|
|
2764
|
-
function
|
|
2810
|
+
function yt(e) {
|
|
2765
2811
|
return `${Math.round(e)}ms`;
|
|
2766
2812
|
}
|
|
2767
|
-
function
|
|
2813
|
+
function Xo(e) {
|
|
2768
2814
|
if (!e)
|
|
2769
2815
|
return 0;
|
|
2770
2816
|
const r = e / 36;
|
|
2771
2817
|
return Math.round((4 + 15 * r ** 0.25 + r / 5) * 10);
|
|
2772
2818
|
}
|
|
2773
|
-
function
|
|
2774
|
-
const r =
|
|
2775
|
-
return
|
|
2776
|
-
getAutoHeightDuration:
|
|
2777
|
-
create: (
|
|
2819
|
+
function Zo(e) {
|
|
2820
|
+
const r = ae({}, Ho, e.easing), o = ae({}, Jo, e.duration);
|
|
2821
|
+
return ae({
|
|
2822
|
+
getAutoHeightDuration: Xo,
|
|
2823
|
+
create: (i = ["all"], a = {}) => {
|
|
2778
2824
|
const {
|
|
2779
2825
|
duration: s = o.standard,
|
|
2780
2826
|
easing: f = r.easeInOut,
|
|
2781
2827
|
delay: d = 0
|
|
2782
|
-
} =
|
|
2828
|
+
} = a, p = Ye(a, qo);
|
|
2783
2829
|
if (process.env.NODE_ENV !== "production") {
|
|
2784
2830
|
const g = (l) => typeof l == "string", m = (l) => !isNaN(parseFloat(l));
|
|
2785
|
-
!g(
|
|
2831
|
+
!g(i) && !Array.isArray(i) && console.error('MUI: Argument "props" must be a string or Array.'), !m(s) && !g(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), g(f) || console.error('MUI: Argument "easing" must be a string.'), !m(d) && !g(d) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
2786
2832
|
`)), Object.keys(p).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(p).join(",")}].`);
|
|
2787
2833
|
}
|
|
2788
|
-
return (Array.isArray(
|
|
2834
|
+
return (Array.isArray(i) ? i : [i]).map((g) => `${g} ${typeof s == "string" ? s : yt(s)} ${f} ${typeof d == "string" ? d : yt(d)}`).join(",");
|
|
2789
2835
|
}
|
|
2790
2836
|
}, e, {
|
|
2791
2837
|
easing: r,
|
|
2792
2838
|
duration: o
|
|
2793
2839
|
});
|
|
2794
2840
|
}
|
|
2795
|
-
const
|
|
2841
|
+
const Qo = {
|
|
2796
2842
|
mobileStepper: 1e3,
|
|
2797
2843
|
fab: 1050,
|
|
2798
2844
|
speedDial: 1050,
|
|
@@ -2801,25 +2847,25 @@ const qo = {
|
|
|
2801
2847
|
modal: 1300,
|
|
2802
2848
|
snackbar: 1400,
|
|
2803
2849
|
tooltip: 1500
|
|
2804
|
-
},
|
|
2805
|
-
function
|
|
2850
|
+
}, ei = Qo, ri = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
2851
|
+
function ti(e = {}, ...r) {
|
|
2806
2852
|
const {
|
|
2807
2853
|
mixins: o = {},
|
|
2808
2854
|
palette: n = {},
|
|
2809
|
-
transitions:
|
|
2810
|
-
typography:
|
|
2811
|
-
} = e, s =
|
|
2855
|
+
transitions: i = {},
|
|
2856
|
+
typography: a = {}
|
|
2857
|
+
} = e, s = Ye(e, ri);
|
|
2812
2858
|
if (e.vars)
|
|
2813
2859
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : Ue(18));
|
|
2814
|
-
const f =
|
|
2860
|
+
const f = Fo(n), d = bo(e);
|
|
2815
2861
|
let p = Ce(d, {
|
|
2816
|
-
mixins:
|
|
2862
|
+
mixins: To(d.breakpoints, o),
|
|
2817
2863
|
palette: f,
|
|
2818
2864
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2819
|
-
shadows:
|
|
2820
|
-
typography:
|
|
2821
|
-
transitions:
|
|
2822
|
-
zIndex:
|
|
2865
|
+
shadows: Ko.slice(),
|
|
2866
|
+
typography: Uo(f, a),
|
|
2867
|
+
transitions: Zo(i),
|
|
2868
|
+
zIndex: ae({}, ei)
|
|
2823
2869
|
});
|
|
2824
2870
|
if (p = Ce(p, s), p = r.reduce((g, m) => Ce(g, m), p), process.env.NODE_ENV !== "production") {
|
|
2825
2871
|
const g = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], m = (l, E) => {
|
|
@@ -2828,10 +2874,10 @@ function Xo(e = {}, ...r) {
|
|
|
2828
2874
|
const b = l[A];
|
|
2829
2875
|
if (g.indexOf(A) !== -1 && Object.keys(b).length > 0) {
|
|
2830
2876
|
if (process.env.NODE_ENV !== "production") {
|
|
2831
|
-
const
|
|
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 '&.${
|
|
2877
|
+
const S = En("", A);
|
|
2878
|
+
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 '&.${S}' syntax:`, JSON.stringify({
|
|
2833
2879
|
root: {
|
|
2834
|
-
[`&.${
|
|
2880
|
+
[`&.${S}`]: b
|
|
2835
2881
|
}
|
|
2836
2882
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
2837
2883
|
`));
|
|
@@ -2845,14 +2891,14 @@ function Xo(e = {}, ...r) {
|
|
|
2845
2891
|
E && l.indexOf("Mui") === 0 && m(E, l);
|
|
2846
2892
|
});
|
|
2847
2893
|
}
|
|
2848
|
-
return p.unstable_sxConfig =
|
|
2849
|
-
return
|
|
2894
|
+
return p.unstable_sxConfig = ae({}, Ir, s == null ? void 0 : s.unstable_sxConfig), p.unstable_sx = function(m) {
|
|
2895
|
+
return Ct({
|
|
2850
2896
|
sx: m,
|
|
2851
2897
|
theme: this
|
|
2852
2898
|
});
|
|
2853
2899
|
}, p;
|
|
2854
2900
|
}
|
|
2855
|
-
const
|
|
2901
|
+
const ni = {
|
|
2856
2902
|
MuiStepper: {
|
|
2857
2903
|
styleOverrides: {
|
|
2858
2904
|
root: {
|
|
@@ -2917,7 +2963,7 @@ const Zo = {
|
|
|
2917
2963
|
})
|
|
2918
2964
|
}
|
|
2919
2965
|
}
|
|
2920
|
-
},
|
|
2966
|
+
}, oi = {
|
|
2921
2967
|
50: "#ede7f6",
|
|
2922
2968
|
100: "#d1c4e9",
|
|
2923
2969
|
200: "#b39ddb",
|
|
@@ -2932,7 +2978,7 @@ const Zo = {
|
|
|
2932
2978
|
A200: "#7c4dff",
|
|
2933
2979
|
A400: "#651fff",
|
|
2934
2980
|
A700: "#6200ea"
|
|
2935
|
-
}, ce =
|
|
2981
|
+
}, ce = oi, ii = {
|
|
2936
2982
|
50: "#e0f7fa",
|
|
2937
2983
|
100: "#b2ebf2",
|
|
2938
2984
|
200: "#80deea",
|
|
@@ -2947,7 +2993,7 @@ const Zo = {
|
|
|
2947
2993
|
A200: "#18ffff",
|
|
2948
2994
|
A400: "#00e5ff",
|
|
2949
2995
|
A700: "#00b8d4"
|
|
2950
|
-
}, de =
|
|
2996
|
+
}, de = ii, ai = {
|
|
2951
2997
|
50: "#f1f8e9",
|
|
2952
2998
|
100: "#dcedc8",
|
|
2953
2999
|
200: "#c5e1a5",
|
|
@@ -2962,7 +3008,7 @@ const Zo = {
|
|
|
2962
3008
|
A200: "#b2ff59",
|
|
2963
3009
|
A400: "#76ff03",
|
|
2964
3010
|
A700: "#64dd17"
|
|
2965
|
-
}, xe =
|
|
3011
|
+
}, xe = ai, si = {
|
|
2966
3012
|
50: "#fffde7",
|
|
2967
3013
|
100: "#fff9c4",
|
|
2968
3014
|
200: "#fff59d",
|
|
@@ -2977,7 +3023,7 @@ const Zo = {
|
|
|
2977
3023
|
A200: "#ffff00",
|
|
2978
3024
|
A400: "#ffea00",
|
|
2979
3025
|
A700: "#ffd600"
|
|
2980
|
-
}, ue =
|
|
3026
|
+
}, ue = si, I = {
|
|
2981
3027
|
blue600: "#1389F6",
|
|
2982
3028
|
blue700: "#287DFD",
|
|
2983
3029
|
blue800: "#285AE6",
|
|
@@ -2999,7 +3045,7 @@ const Zo = {
|
|
|
2999
3045
|
cyan1000: "#002329",
|
|
3000
3046
|
deepPurpleA800: "#500fc4",
|
|
3001
3047
|
deepPurple1000: "#16073E"
|
|
3002
|
-
},
|
|
3048
|
+
}, B = {
|
|
3003
3049
|
text: {
|
|
3004
3050
|
primary: ne[900],
|
|
3005
3051
|
secondary: ne[700],
|
|
@@ -3012,15 +3058,15 @@ const Zo = {
|
|
|
3012
3058
|
blue300: re[300],
|
|
3013
3059
|
blue400: re[400],
|
|
3014
3060
|
blue500: re[500],
|
|
3015
|
-
blue600:
|
|
3016
|
-
blue700:
|
|
3017
|
-
blue800:
|
|
3018
|
-
blue900:
|
|
3061
|
+
blue600: I.blue600,
|
|
3062
|
+
blue700: I.blue700,
|
|
3063
|
+
blue800: I.blue800,
|
|
3064
|
+
blue900: I.blue900,
|
|
3019
3065
|
blueA100: re.A100,
|
|
3020
3066
|
blueA200: re.A200,
|
|
3021
3067
|
blueA400: re.A400,
|
|
3022
3068
|
blueA700: re.A700,
|
|
3023
|
-
blue1000:
|
|
3069
|
+
blue1000: I.blue1000,
|
|
3024
3070
|
green50: oe[50],
|
|
3025
3071
|
green100: oe[100],
|
|
3026
3072
|
green200: oe[200],
|
|
@@ -3031,12 +3077,12 @@ const Zo = {
|
|
|
3031
3077
|
green700: oe[700],
|
|
3032
3078
|
green800: oe[800],
|
|
3033
3079
|
green900: oe[900],
|
|
3034
|
-
green1000:
|
|
3080
|
+
green1000: I.green1000,
|
|
3035
3081
|
greenA100: oe.A100,
|
|
3036
3082
|
greenA200: oe.A200,
|
|
3037
3083
|
greenA400: oe.A400,
|
|
3038
|
-
greenA700:
|
|
3039
|
-
greenA900:
|
|
3084
|
+
greenA700: I.greenA700,
|
|
3085
|
+
greenA900: I.greenA900,
|
|
3040
3086
|
lightBlue50: J[50],
|
|
3041
3087
|
lightBlue100: J[100],
|
|
3042
3088
|
lightBlue200: J[200],
|
|
@@ -3047,7 +3093,7 @@ const Zo = {
|
|
|
3047
3093
|
lightBlue700: J[700],
|
|
3048
3094
|
lightBlue800: J[800],
|
|
3049
3095
|
lightBlue900: J[900],
|
|
3050
|
-
lightBlue1000:
|
|
3096
|
+
lightBlue1000: I.lightBlue1000,
|
|
3051
3097
|
lightBlueA100: J.A100,
|
|
3052
3098
|
lightBlueA200: J.A200,
|
|
3053
3099
|
lightBlueA400: J.A400,
|
|
@@ -3062,7 +3108,7 @@ const Zo = {
|
|
|
3062
3108
|
lightGreen700: xe[700],
|
|
3063
3109
|
lightGreen800: xe[800],
|
|
3064
3110
|
lightGreen900: xe[900],
|
|
3065
|
-
neutral00:
|
|
3111
|
+
neutral00: I.neutral00,
|
|
3066
3112
|
neutral50: ne[50],
|
|
3067
3113
|
neutral100: ne[100],
|
|
3068
3114
|
neutral200: ne[200],
|
|
@@ -3073,40 +3119,40 @@ const Zo = {
|
|
|
3073
3119
|
neutral700: ne[700],
|
|
3074
3120
|
neutral800: ne[800],
|
|
3075
3121
|
neutral900: ne[900],
|
|
3076
|
-
neutralA100:
|
|
3077
|
-
neutralA200:
|
|
3078
|
-
neutralA400:
|
|
3079
|
-
neutralA700:
|
|
3080
|
-
orange50:
|
|
3081
|
-
orange100:
|
|
3082
|
-
orange200:
|
|
3083
|
-
orange300:
|
|
3084
|
-
orange400:
|
|
3085
|
-
orange500:
|
|
3086
|
-
orange600:
|
|
3087
|
-
orange700:
|
|
3088
|
-
orange800:
|
|
3089
|
-
orange900:
|
|
3090
|
-
orange1000:
|
|
3091
|
-
orangeA100:
|
|
3092
|
-
orangeA200:
|
|
3093
|
-
orangeA400:
|
|
3094
|
-
orangeA700:
|
|
3095
|
-
purple50:
|
|
3096
|
-
purple100:
|
|
3097
|
-
purple200:
|
|
3098
|
-
purple300:
|
|
3099
|
-
purple400:
|
|
3100
|
-
purple500:
|
|
3101
|
-
purple600:
|
|
3102
|
-
purple700:
|
|
3103
|
-
purple800:
|
|
3104
|
-
purple900:
|
|
3105
|
-
purple1000:
|
|
3106
|
-
purpleA100:
|
|
3107
|
-
purpleA200:
|
|
3108
|
-
purpleA400:
|
|
3109
|
-
purpleA700:
|
|
3122
|
+
neutralA100: I.neutralA100,
|
|
3123
|
+
neutralA200: I.neutralA200,
|
|
3124
|
+
neutralA400: I.neutralA400,
|
|
3125
|
+
neutralA700: I.neutralA700,
|
|
3126
|
+
orange50: ie[50],
|
|
3127
|
+
orange100: ie[100],
|
|
3128
|
+
orange200: ie[200],
|
|
3129
|
+
orange300: ie[300],
|
|
3130
|
+
orange400: ie[400],
|
|
3131
|
+
orange500: ie[500],
|
|
3132
|
+
orange600: ie[600],
|
|
3133
|
+
orange700: ie[700],
|
|
3134
|
+
orange800: ie[800],
|
|
3135
|
+
orange900: ie[900],
|
|
3136
|
+
orange1000: I.orange1000,
|
|
3137
|
+
orangeA100: ie.A100,
|
|
3138
|
+
orangeA200: ie.A200,
|
|
3139
|
+
orangeA400: ie.A400,
|
|
3140
|
+
orangeA700: ie.A700,
|
|
3141
|
+
purple50: z[50],
|
|
3142
|
+
purple100: z[100],
|
|
3143
|
+
purple200: z[200],
|
|
3144
|
+
purple300: z[300],
|
|
3145
|
+
purple400: z[400],
|
|
3146
|
+
purple500: z[500],
|
|
3147
|
+
purple600: z[600],
|
|
3148
|
+
purple700: z[700],
|
|
3149
|
+
purple800: z[800],
|
|
3150
|
+
purple900: z[900],
|
|
3151
|
+
purple1000: I.purple1000,
|
|
3152
|
+
purpleA100: z.A100,
|
|
3153
|
+
purpleA200: z.A200,
|
|
3154
|
+
purpleA400: z.A400,
|
|
3155
|
+
purpleA700: z.A700,
|
|
3110
3156
|
yellow50: ue[50],
|
|
3111
3157
|
yellow100: ue[100],
|
|
3112
3158
|
yellow200: ue[200],
|
|
@@ -3117,7 +3163,7 @@ const Zo = {
|
|
|
3117
3163
|
yellow700: ue[700],
|
|
3118
3164
|
yellow800: ue[800],
|
|
3119
3165
|
yellow900: ue[900],
|
|
3120
|
-
yellow1000:
|
|
3166
|
+
yellow1000: I.yellow1000,
|
|
3121
3167
|
yellowA100: ue.A100,
|
|
3122
3168
|
yellowA200: ue.A200,
|
|
3123
3169
|
yellowA400: ue.A400,
|
|
@@ -3132,7 +3178,7 @@ const Zo = {
|
|
|
3132
3178
|
red700: q[700],
|
|
3133
3179
|
red800: q[800],
|
|
3134
3180
|
red900: q[900],
|
|
3135
|
-
red1000:
|
|
3181
|
+
red1000: I.red1000,
|
|
3136
3182
|
redA100: q.A100,
|
|
3137
3183
|
redA200: q.A200,
|
|
3138
3184
|
redA400: q.A400,
|
|
@@ -3147,7 +3193,7 @@ const Zo = {
|
|
|
3147
3193
|
cyan700: de[700],
|
|
3148
3194
|
cyan800: de[800],
|
|
3149
3195
|
cyan900: de[900],
|
|
3150
|
-
cyan1000:
|
|
3196
|
+
cyan1000: I.cyan1000,
|
|
3151
3197
|
cyanA100: de.A100,
|
|
3152
3198
|
cyanA200: de.A200,
|
|
3153
3199
|
cyanA400: de.A400,
|
|
@@ -3162,63 +3208,63 @@ const Zo = {
|
|
|
3162
3208
|
deepPurple700: ce[700],
|
|
3163
3209
|
deepPurple800: ce[800],
|
|
3164
3210
|
deepPurple900: ce[900],
|
|
3165
|
-
deepPurple1000:
|
|
3211
|
+
deepPurple1000: I.deepPurple1000,
|
|
3166
3212
|
deepPurpleA100: ce.A100,
|
|
3167
3213
|
deepPurpleA200: ce.A200,
|
|
3168
3214
|
deepPurpleA400: ce.A400,
|
|
3169
3215
|
deepPurpleA700: ce.A700,
|
|
3170
|
-
deepPurpleA800:
|
|
3216
|
+
deepPurpleA800: I.deepPurpleA800,
|
|
3171
3217
|
primary: {
|
|
3172
3218
|
main: re.A700,
|
|
3173
|
-
dark:
|
|
3219
|
+
dark: I.blue800,
|
|
3174
3220
|
light: re.A200,
|
|
3175
|
-
contrastText:
|
|
3176
|
-
hover: pe(
|
|
3177
|
-
selected: pe(
|
|
3178
|
-
focus: pe(
|
|
3221
|
+
contrastText: I.neutral00,
|
|
3222
|
+
hover: pe(I.blue700, 0.04),
|
|
3223
|
+
selected: pe(I.blue700, 0.08),
|
|
3224
|
+
focus: pe(I.blue700, 0.12),
|
|
3179
3225
|
focusVisible: pe(re[700], 0.3),
|
|
3180
3226
|
outlinedBorder: re[200]
|
|
3181
3227
|
},
|
|
3182
3228
|
secondary: {
|
|
3183
|
-
main:
|
|
3184
|
-
dark:
|
|
3185
|
-
light:
|
|
3186
|
-
contrastText:
|
|
3187
|
-
hover: pe(
|
|
3188
|
-
selected: pe(
|
|
3189
|
-
focus: pe(
|
|
3190
|
-
focusVisible: pe(
|
|
3191
|
-
outlinedBorder:
|
|
3229
|
+
main: z.A700,
|
|
3230
|
+
dark: z[700],
|
|
3231
|
+
light: z.A400,
|
|
3232
|
+
contrastText: I.neutral00,
|
|
3233
|
+
hover: pe(z[500], 0.04),
|
|
3234
|
+
selected: pe(z[500], 0.08),
|
|
3235
|
+
focus: pe(z[500], 0.12),
|
|
3236
|
+
focusVisible: pe(z[500], 0.3),
|
|
3237
|
+
outlinedBorder: z[200]
|
|
3192
3238
|
},
|
|
3193
3239
|
error: {
|
|
3194
3240
|
main: q.A700,
|
|
3195
3241
|
dark: q[800],
|
|
3196
3242
|
light: q.A200,
|
|
3197
|
-
contrastText:
|
|
3243
|
+
contrastText: I.neutral00,
|
|
3198
3244
|
hover: pe(q[700], 0.04)
|
|
3199
3245
|
},
|
|
3200
3246
|
warning: {
|
|
3201
3247
|
main: ue[900],
|
|
3202
|
-
dark:
|
|
3248
|
+
dark: I.yellow1000,
|
|
3203
3249
|
light: ue[800],
|
|
3204
|
-
contrastText:
|
|
3250
|
+
contrastText: I.neutral00
|
|
3205
3251
|
},
|
|
3206
3252
|
info: {
|
|
3207
3253
|
main: J.A700,
|
|
3208
3254
|
dark: J[900],
|
|
3209
3255
|
light: J.A400,
|
|
3210
|
-
contrastText:
|
|
3256
|
+
contrastText: I.neutral00
|
|
3211
3257
|
},
|
|
3212
3258
|
ai: {
|
|
3213
3259
|
main: ce.A700,
|
|
3214
|
-
dark:
|
|
3215
|
-
contrastText:
|
|
3260
|
+
dark: I.deepPurpleA800,
|
|
3261
|
+
contrastText: I.neutral00
|
|
3216
3262
|
},
|
|
3217
3263
|
success: {
|
|
3218
|
-
main:
|
|
3264
|
+
main: I.greenA900,
|
|
3219
3265
|
dark: oe[700],
|
|
3220
|
-
light:
|
|
3221
|
-
contrastText:
|
|
3266
|
+
light: I.greenA700,
|
|
3267
|
+
contrastText: I.neutral00
|
|
3222
3268
|
},
|
|
3223
3269
|
action: {
|
|
3224
3270
|
active: ne[700],
|
|
@@ -3228,12 +3274,12 @@ const Zo = {
|
|
|
3228
3274
|
disabledBackground: ne[200],
|
|
3229
3275
|
disabled: ne[700]
|
|
3230
3276
|
}
|
|
3231
|
-
},
|
|
3277
|
+
}, mt = "0.15px", ui = "5.5px", vi = ti({
|
|
3232
3278
|
typography: {
|
|
3233
3279
|
fontFamily: ["Inter", "sans-serif"].join(",")
|
|
3234
3280
|
},
|
|
3235
3281
|
components: {
|
|
3236
|
-
...
|
|
3282
|
+
...ni,
|
|
3237
3283
|
MuiAutocomplete: {
|
|
3238
3284
|
defaultProps: {
|
|
3239
3285
|
ChipProps: {
|
|
@@ -3284,20 +3330,20 @@ const Zo = {
|
|
|
3284
3330
|
minWidth: "unset",
|
|
3285
3331
|
borderRadius: e.spacing(1),
|
|
3286
3332
|
"&:active,&.Mui-focusVisible,&:focus,&:focus-visible": {
|
|
3287
|
-
outline: `1px solid ${
|
|
3333
|
+
outline: `1px solid ${B.primary.light}`
|
|
3288
3334
|
},
|
|
3289
3335
|
"&.Mui-disabled": {
|
|
3290
|
-
backgroundColor:
|
|
3291
|
-
color:
|
|
3336
|
+
backgroundColor: B.neutral200,
|
|
3337
|
+
color: B.text.disabled
|
|
3292
3338
|
}
|
|
3293
3339
|
}),
|
|
3294
3340
|
containedPrimary: {
|
|
3295
|
-
backgroundColor:
|
|
3341
|
+
backgroundColor: B.primary.main
|
|
3296
3342
|
},
|
|
3297
3343
|
textPrimary: {
|
|
3298
|
-
color:
|
|
3344
|
+
color: B.primary.dark,
|
|
3299
3345
|
"&:hover": {
|
|
3300
|
-
backgroundColor:
|
|
3346
|
+
backgroundColor: B.primary.hover
|
|
3301
3347
|
},
|
|
3302
3348
|
"&:disabled": {
|
|
3303
3349
|
backgroundColor: "unset"
|
|
@@ -3305,36 +3351,36 @@ const Zo = {
|
|
|
3305
3351
|
},
|
|
3306
3352
|
textError: {
|
|
3307
3353
|
"&:hover": {
|
|
3308
|
-
backgroundColor:
|
|
3354
|
+
backgroundColor: B.error.hover
|
|
3309
3355
|
},
|
|
3310
3356
|
"&:active": {
|
|
3311
|
-
backgroundColor:
|
|
3357
|
+
backgroundColor: B.error.hover
|
|
3312
3358
|
},
|
|
3313
3359
|
"&:disabled": {
|
|
3314
3360
|
backgroundColor: "unset"
|
|
3315
3361
|
}
|
|
3316
3362
|
},
|
|
3317
3363
|
outlinedInherit: {
|
|
3318
|
-
borderColor: pe(
|
|
3364
|
+
borderColor: pe(B.neutral900, 0.03)
|
|
3319
3365
|
},
|
|
3320
3366
|
outlinedPrimary: {
|
|
3321
|
-
color:
|
|
3322
|
-
border: `0.5px solid ${
|
|
3367
|
+
color: B.primary.dark,
|
|
3368
|
+
border: `0.5px solid ${B.action.disabled}`,
|
|
3323
3369
|
"&:hover": {
|
|
3324
|
-
border: `0.5px solid ${
|
|
3370
|
+
border: `0.5px solid ${B.primary.outlinedBorder}`
|
|
3325
3371
|
},
|
|
3326
3372
|
"&:active": {
|
|
3327
|
-
backgroundColor:
|
|
3373
|
+
backgroundColor: B.primary.hover
|
|
3328
3374
|
},
|
|
3329
3375
|
"&:disabled": {
|
|
3330
3376
|
backgroundColor: "unset",
|
|
3331
|
-
border: `0.5px solid ${
|
|
3377
|
+
border: `0.5px solid ${B.neutral200}`
|
|
3332
3378
|
}
|
|
3333
3379
|
},
|
|
3334
3380
|
containedInherit: {
|
|
3335
|
-
backgroundColor:
|
|
3381
|
+
backgroundColor: B.neutral100,
|
|
3336
3382
|
"&:hover": {
|
|
3337
|
-
backgroundColor:
|
|
3383
|
+
backgroundColor: B.neutral200
|
|
3338
3384
|
}
|
|
3339
3385
|
}
|
|
3340
3386
|
}
|
|
@@ -3347,25 +3393,25 @@ const Zo = {
|
|
|
3347
3393
|
MuiChip: {
|
|
3348
3394
|
styleOverrides: {
|
|
3349
3395
|
filledPrimary: {
|
|
3350
|
-
backgroundColor:
|
|
3351
|
-
color:
|
|
3396
|
+
backgroundColor: B.blue50,
|
|
3397
|
+
color: B.blue1000,
|
|
3352
3398
|
".MuiChip-deleteIcon": {
|
|
3353
|
-
color:
|
|
3399
|
+
color: B.blue800,
|
|
3354
3400
|
"&:hover": {
|
|
3355
|
-
color:
|
|
3401
|
+
color: B.blue900
|
|
3356
3402
|
},
|
|
3357
3403
|
"&:active": {
|
|
3358
|
-
color:
|
|
3404
|
+
color: B.blue900
|
|
3359
3405
|
}
|
|
3360
3406
|
}
|
|
3361
3407
|
},
|
|
3362
3408
|
filledSuccess: {
|
|
3363
|
-
backgroundColor:
|
|
3364
|
-
color:
|
|
3409
|
+
backgroundColor: B.green50,
|
|
3410
|
+
color: B.green1000
|
|
3365
3411
|
},
|
|
3366
3412
|
filledError: {
|
|
3367
|
-
backgroundColor:
|
|
3368
|
-
color:
|
|
3413
|
+
backgroundColor: B.red50,
|
|
3414
|
+
color: B.blue1000
|
|
3369
3415
|
}
|
|
3370
3416
|
}
|
|
3371
3417
|
},
|
|
@@ -3374,7 +3420,7 @@ const Zo = {
|
|
|
3374
3420
|
root: {
|
|
3375
3421
|
border: "none",
|
|
3376
3422
|
".MuiDataGrid-toolbarContainer .MuiTextField-root": {
|
|
3377
|
-
backgroundColor:
|
|
3423
|
+
backgroundColor: B.neutral100,
|
|
3378
3424
|
padding: "8px",
|
|
3379
3425
|
borderRadius: "8px"
|
|
3380
3426
|
},
|
|
@@ -3383,12 +3429,12 @@ const Zo = {
|
|
|
3383
3429
|
color: "red"
|
|
3384
3430
|
},
|
|
3385
3431
|
".MuiDataGrid-toolbarContainer button": {
|
|
3386
|
-
backgroundColor:
|
|
3387
|
-
color:
|
|
3432
|
+
backgroundColor: B.neutral100,
|
|
3433
|
+
color: B.neutral900,
|
|
3388
3434
|
padding: "4px 10px"
|
|
3389
3435
|
},
|
|
3390
3436
|
".MuiDataGrid-toolbarContainer svg": {
|
|
3391
|
-
color:
|
|
3437
|
+
color: B.neutral700
|
|
3392
3438
|
},
|
|
3393
3439
|
".MuiDataGrid-cell:focus": {
|
|
3394
3440
|
outline: "none"
|
|
@@ -3402,7 +3448,7 @@ const Zo = {
|
|
|
3402
3448
|
MuiLink: {
|
|
3403
3449
|
styleOverrides: {
|
|
3404
3450
|
root: {
|
|
3405
|
-
color:
|
|
3451
|
+
color: B.primary.dark,
|
|
3406
3452
|
textDecoration: "none"
|
|
3407
3453
|
}
|
|
3408
3454
|
}
|
|
@@ -3413,12 +3459,12 @@ const Zo = {
|
|
|
3413
3459
|
},
|
|
3414
3460
|
styleOverrides: {
|
|
3415
3461
|
root: {
|
|
3416
|
-
backgroundColor:
|
|
3462
|
+
backgroundColor: B.neutral100,
|
|
3417
3463
|
".MuiInputBase-root": {
|
|
3418
|
-
backgroundColor:
|
|
3464
|
+
backgroundColor: B.neutral100
|
|
3419
3465
|
},
|
|
3420
3466
|
".MuiInputBase-input": {
|
|
3421
|
-
backgroundColor:
|
|
3467
|
+
backgroundColor: B.neutral100
|
|
3422
3468
|
}
|
|
3423
3469
|
}
|
|
3424
3470
|
}
|
|
@@ -3442,7 +3488,7 @@ const Zo = {
|
|
|
3442
3488
|
MuiFormControl: {
|
|
3443
3489
|
styleOverrides: {
|
|
3444
3490
|
root: {
|
|
3445
|
-
gap:
|
|
3491
|
+
gap: ui
|
|
3446
3492
|
}
|
|
3447
3493
|
}
|
|
3448
3494
|
},
|
|
@@ -3456,7 +3502,7 @@ const Zo = {
|
|
|
3456
3502
|
position: "revert",
|
|
3457
3503
|
fontSize: e.spacing(1.5),
|
|
3458
3504
|
lineHeight: e.spacing(1.5),
|
|
3459
|
-
letterSpacing:
|
|
3505
|
+
letterSpacing: mt,
|
|
3460
3506
|
color: e.palette.text.secondary,
|
|
3461
3507
|
"&.Mui-focused": {
|
|
3462
3508
|
color: e.palette.text.primary
|
|
@@ -3479,7 +3525,7 @@ const Zo = {
|
|
|
3479
3525
|
backgroundColor: e.palette.neutral100,
|
|
3480
3526
|
borderRadius: e.spacing(1),
|
|
3481
3527
|
lineHeight: e.spacing(3),
|
|
3482
|
-
letterSpacing:
|
|
3528
|
+
letterSpacing: mt,
|
|
3483
3529
|
border: "1px solid transparent",
|
|
3484
3530
|
"&::before": {
|
|
3485
3531
|
display: "none"
|
|
@@ -3510,15 +3556,17 @@ const Zo = {
|
|
|
3510
3556
|
}
|
|
3511
3557
|
}
|
|
3512
3558
|
},
|
|
3513
|
-
palette:
|
|
3559
|
+
palette: B
|
|
3514
3560
|
});
|
|
3515
3561
|
export {
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3562
|
+
fi as DemoComponent,
|
|
3563
|
+
pi as HeaderMetadata,
|
|
3564
|
+
hi as HeaderSubtitle,
|
|
3565
|
+
gi as InkPageHeader,
|
|
3566
|
+
di as InkPersistentFilterDrawer,
|
|
3567
|
+
bi as InkWorkflowHeader,
|
|
3568
|
+
yi as LinkBreadcrumbs,
|
|
3569
|
+
vi as MovableUITheme,
|
|
3570
|
+
mi as PageHeaderActionButtons
|
|
3523
3571
|
};
|
|
3524
3572
|
//# sourceMappingURL=index.mjs.map
|