@tracktor/design-system 3.0.10 → 3.0.11
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/CHANGELOG.md +2 -3
- package/dist/main.cjs +8 -8
- package/dist/main.js +232 -232
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -69,15 +69,15 @@ var Je = {};
|
|
|
69
69
|
var I1;
|
|
70
70
|
function gn() {
|
|
71
71
|
return I1 || (I1 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
72
|
-
var e = J1, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), d = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"),
|
|
72
|
+
var e = J1, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), d = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), M = Symbol.iterator, b = "@@iterator";
|
|
73
73
|
function u(o) {
|
|
74
74
|
if (o === null || typeof o != "object")
|
|
75
75
|
return null;
|
|
76
|
-
var C =
|
|
76
|
+
var C = M && o[M] || o[b];
|
|
77
77
|
return typeof C == "function" ? C : null;
|
|
78
78
|
}
|
|
79
79
|
var y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
80
|
-
function
|
|
80
|
+
function S(o) {
|
|
81
81
|
{
|
|
82
82
|
for (var C = arguments.length, m = new Array(C > 1 ? C - 1 : 0), I = 1; I < C; I++)
|
|
83
83
|
m[I - 1] = arguments[I];
|
|
@@ -88,22 +88,22 @@ function gn() {
|
|
|
88
88
|
{
|
|
89
89
|
var I = y.ReactDebugCurrentFrame, Z = I.getStackAddendum();
|
|
90
90
|
Z !== "" && (C += "%s", m = m.concat([Z]));
|
|
91
|
-
var U = m.map(function(
|
|
92
|
-
return String(
|
|
91
|
+
var U = m.map(function(P) {
|
|
92
|
+
return String(P);
|
|
93
93
|
});
|
|
94
94
|
U.unshift("Warning: " + C), Function.prototype.apply.call(console[o], console, U);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var R = !1, p = !1, _ = !1, A = !1, j = !1, F;
|
|
98
98
|
F = Symbol.for("react.module.reference");
|
|
99
99
|
function Q(o) {
|
|
100
|
-
return !!(typeof o == "string" || typeof o == "function" || o === i || o === s || j || o === a || o === f || o === g || A || o === h ||
|
|
100
|
+
return !!(typeof o == "string" || typeof o == "function" || o === i || o === s || j || o === a || o === f || o === g || A || o === h || R || p || _ || typeof o == "object" && o !== null && (o.$$typeof === v || o.$$typeof === x || o.$$typeof === l || o.$$typeof === d || o.$$typeof === c || // This needs to include all possible module reference object
|
|
101
101
|
// types supported by any Flight configuration anywhere since
|
|
102
102
|
// we don't know which Flight build this will end up being used
|
|
103
103
|
// with.
|
|
104
104
|
o.$$typeof === F || o.getModuleId !== void 0));
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function X(o, C, m) {
|
|
107
107
|
var I = o.displayName;
|
|
108
108
|
if (I)
|
|
109
109
|
return I;
|
|
@@ -113,10 +113,10 @@ function gn() {
|
|
|
113
113
|
function Y(o) {
|
|
114
114
|
return o.displayName || "Context";
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function V(o) {
|
|
117
117
|
if (o == null)
|
|
118
118
|
return null;
|
|
119
|
-
if (typeof o.tag == "number" &&
|
|
119
|
+
if (typeof o.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
|
|
120
120
|
return o.displayName || o.name || null;
|
|
121
121
|
if (typeof o == "string")
|
|
122
122
|
return o;
|
|
@@ -143,14 +143,14 @@ function gn() {
|
|
|
143
143
|
var m = o;
|
|
144
144
|
return Y(m._context) + ".Provider";
|
|
145
145
|
case c:
|
|
146
|
-
return
|
|
146
|
+
return X(o, o.render, "ForwardRef");
|
|
147
147
|
case x:
|
|
148
148
|
var I = o.displayName || null;
|
|
149
|
-
return I !== null ? I :
|
|
149
|
+
return I !== null ? I : V(o.type) || "Memo";
|
|
150
150
|
case v: {
|
|
151
|
-
var Z = o, U = Z._payload,
|
|
151
|
+
var Z = o, U = Z._payload, P = Z._init;
|
|
152
152
|
try {
|
|
153
|
-
return P(
|
|
153
|
+
return V(P(U));
|
|
154
154
|
} catch {
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
@@ -158,14 +158,14 @@ function gn() {
|
|
|
158
158
|
}
|
|
159
159
|
return null;
|
|
160
160
|
}
|
|
161
|
-
var K = Object.assign, oe = 0, Ae, B, k,
|
|
161
|
+
var K = Object.assign, oe = 0, Ae, B, k, G, re, le, Se;
|
|
162
162
|
function ve() {
|
|
163
163
|
}
|
|
164
164
|
ve.__reactDisabledLog = !0;
|
|
165
165
|
function Hr() {
|
|
166
166
|
{
|
|
167
167
|
if (oe === 0) {
|
|
168
|
-
Ae = console.log, B = console.info, k = console.warn,
|
|
168
|
+
Ae = console.log, B = console.info, k = console.warn, G = console.error, re = console.group, le = console.groupCollapsed, Se = console.groupEnd;
|
|
169
169
|
var o = {
|
|
170
170
|
configurable: !0,
|
|
171
171
|
enumerable: !0,
|
|
@@ -204,7 +204,7 @@ function gn() {
|
|
|
204
204
|
value: k
|
|
205
205
|
}),
|
|
206
206
|
error: K({}, o, {
|
|
207
|
-
value:
|
|
207
|
+
value: G
|
|
208
208
|
}),
|
|
209
209
|
group: K({}, o, {
|
|
210
210
|
value: re
|
|
@@ -217,7 +217,7 @@ function gn() {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
|
-
oe < 0 &&
|
|
220
|
+
oe < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
var We = y.ReactCurrentDispatcher, je;
|
|
@@ -255,27 +255,27 @@ function gn() {
|
|
|
255
255
|
U = We.current, We.current = null, Hr();
|
|
256
256
|
try {
|
|
257
257
|
if (C) {
|
|
258
|
-
var
|
|
258
|
+
var P = function() {
|
|
259
259
|
throw Error();
|
|
260
260
|
};
|
|
261
|
-
if (Object.defineProperty(
|
|
261
|
+
if (Object.defineProperty(P.prototype, "props", {
|
|
262
262
|
set: function() {
|
|
263
263
|
throw Error();
|
|
264
264
|
}
|
|
265
265
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
266
266
|
try {
|
|
267
|
-
Reflect.construct(
|
|
267
|
+
Reflect.construct(P, []);
|
|
268
268
|
} catch (pe) {
|
|
269
269
|
I = pe;
|
|
270
270
|
}
|
|
271
|
-
Reflect.construct(o, [],
|
|
271
|
+
Reflect.construct(o, [], P);
|
|
272
272
|
} else {
|
|
273
273
|
try {
|
|
274
|
-
|
|
274
|
+
P.call();
|
|
275
275
|
} catch (pe) {
|
|
276
276
|
I = pe;
|
|
277
277
|
}
|
|
278
|
-
o.call(
|
|
278
|
+
o.call(P.prototype);
|
|
279
279
|
}
|
|
280
280
|
} else {
|
|
281
281
|
try {
|
|
@@ -307,7 +307,7 @@ function gn() {
|
|
|
307
307
|
} finally {
|
|
308
308
|
Ye = !1, We.current = U, Lr(), Error.prepareStackTrace = Z;
|
|
309
309
|
}
|
|
310
|
-
var
|
|
310
|
+
var Ve = o ? o.displayName || o.name : "", Fe = Ve ? He(Ve) : "";
|
|
311
311
|
return typeof o == "function" && Le.set(o, Fe), Fe;
|
|
312
312
|
}
|
|
313
313
|
function Ue(o, C, m) {
|
|
@@ -357,24 +357,24 @@ function gn() {
|
|
|
357
357
|
function wt(o, C, m, I, Z) {
|
|
358
358
|
{
|
|
359
359
|
var U = Function.call.bind(Ge);
|
|
360
|
-
for (var
|
|
361
|
-
if (U(o,
|
|
360
|
+
for (var P in o)
|
|
361
|
+
if (U(o, P)) {
|
|
362
362
|
var O = void 0;
|
|
363
363
|
try {
|
|
364
|
-
if (typeof o[
|
|
365
|
-
var ce = Error((I || "React class") + ": " + m + " type `" +
|
|
364
|
+
if (typeof o[P] != "function") {
|
|
365
|
+
var ce = Error((I || "React class") + ": " + m + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
366
366
|
throw ce.name = "Invariant Violation", ce;
|
|
367
367
|
}
|
|
368
|
-
O = o[
|
|
368
|
+
O = o[P](C, P, I, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
369
369
|
} catch (ee) {
|
|
370
370
|
O = ee;
|
|
371
371
|
}
|
|
372
|
-
O && !(O instanceof Error) && (dr(Z),
|
|
372
|
+
O && !(O instanceof Error) && (dr(Z), S("%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).", I || "React class", m, P, typeof O), dr(null)), O instanceof Error && !(O.message in h1) && (h1[O.message] = !0, dr(Z), S("Failed %s type: %s", m, O.message), dr(null));
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
var Et = Array.isArray;
|
|
377
|
-
function
|
|
377
|
+
function Pr(o) {
|
|
378
378
|
return Et(o);
|
|
379
379
|
}
|
|
380
380
|
function Mt(o) {
|
|
@@ -395,15 +395,15 @@ function gn() {
|
|
|
395
395
|
}
|
|
396
396
|
function x1(o) {
|
|
397
397
|
if (St(o))
|
|
398
|
-
return
|
|
398
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Mt(o)), C1(o);
|
|
399
399
|
}
|
|
400
400
|
var Xe = y.ReactCurrentOwner, Rt = {
|
|
401
401
|
key: !0,
|
|
402
402
|
ref: !0,
|
|
403
403
|
__self: !0,
|
|
404
404
|
__source: !0
|
|
405
|
-
}, b1, y1,
|
|
406
|
-
|
|
405
|
+
}, b1, y1, Vr;
|
|
406
|
+
Vr = {};
|
|
407
407
|
function Tt(o) {
|
|
408
408
|
if (Ge.call(o, "ref")) {
|
|
409
409
|
var C = Object.getOwnPropertyDescriptor(o, "ref").get;
|
|
@@ -422,14 +422,14 @@ function gn() {
|
|
|
422
422
|
}
|
|
423
423
|
function kt(o, C) {
|
|
424
424
|
if (typeof o.ref == "string" && Xe.current && C && Xe.current.stateNode !== C) {
|
|
425
|
-
var m =
|
|
426
|
-
|
|
425
|
+
var m = V(Xe.current.type);
|
|
426
|
+
Vr[m] || (S('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', V(Xe.current.type), o.ref), Vr[m] = !0);
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
429
|
function _t(o, C) {
|
|
430
430
|
{
|
|
431
431
|
var m = function() {
|
|
432
|
-
b1 || (b1 = !0,
|
|
432
|
+
b1 || (b1 = !0, S("%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)", C));
|
|
433
433
|
};
|
|
434
434
|
m.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
435
435
|
get: m,
|
|
@@ -440,7 +440,7 @@ function gn() {
|
|
|
440
440
|
function It(o, C) {
|
|
441
441
|
{
|
|
442
442
|
var m = function() {
|
|
443
|
-
y1 || (y1 = !0,
|
|
443
|
+
y1 || (y1 = !0, S("%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)", C));
|
|
444
444
|
};
|
|
445
445
|
m.isReactWarning = !0, Object.defineProperty(o, "ref", {
|
|
446
446
|
get: m,
|
|
@@ -448,7 +448,7 @@ function gn() {
|
|
|
448
448
|
});
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
-
var Ft = function(o, C, m, I, Z, U,
|
|
451
|
+
var Ft = function(o, C, m, I, Z, U, P) {
|
|
452
452
|
var O = {
|
|
453
453
|
// This tag allows us to uniquely identify this as a React Element
|
|
454
454
|
$$typeof: r,
|
|
@@ -456,7 +456,7 @@ function gn() {
|
|
|
456
456
|
type: o,
|
|
457
457
|
key: C,
|
|
458
458
|
ref: m,
|
|
459
|
-
props:
|
|
459
|
+
props: P,
|
|
460
460
|
// Record the component responsible for creating this element.
|
|
461
461
|
_owner: U
|
|
462
462
|
};
|
|
@@ -479,24 +479,24 @@ function gn() {
|
|
|
479
479
|
};
|
|
480
480
|
function Ht(o, C, m, I, Z) {
|
|
481
481
|
{
|
|
482
|
-
var U,
|
|
482
|
+
var U, P = {}, O = null, ce = null;
|
|
483
483
|
m !== void 0 && (x1(m), O = "" + m), At(C) && (x1(C.key), O = "" + C.key), Tt(C) && (ce = C.ref, kt(C, Z));
|
|
484
484
|
for (U in C)
|
|
485
|
-
Ge.call(C, U) && !Rt.hasOwnProperty(U) && (
|
|
485
|
+
Ge.call(C, U) && !Rt.hasOwnProperty(U) && (P[U] = C[U]);
|
|
486
486
|
if (o && o.defaultProps) {
|
|
487
487
|
var ee = o.defaultProps;
|
|
488
488
|
for (U in ee)
|
|
489
|
-
|
|
489
|
+
P[U] === void 0 && (P[U] = ee[U]);
|
|
490
490
|
}
|
|
491
491
|
if (O || ce) {
|
|
492
492
|
var te = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
493
|
-
O && _t(
|
|
493
|
+
O && _t(P, te), ce && It(P, te);
|
|
494
494
|
}
|
|
495
|
-
return Ft(o, O, ce, Z, I, Xe.current,
|
|
495
|
+
return Ft(o, O, ce, Z, I, Xe.current, P);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
var $r = y.ReactCurrentOwner, v1 = y.ReactDebugCurrentFrame;
|
|
499
|
-
function
|
|
499
|
+
function Pe(o) {
|
|
500
500
|
if (o) {
|
|
501
501
|
var C = o._owner, m = Ie(o.type, o._source, C ? C.type : null);
|
|
502
502
|
v1.setExtraStackFrame(m);
|
|
@@ -511,7 +511,7 @@ function gn() {
|
|
|
511
511
|
function m1() {
|
|
512
512
|
{
|
|
513
513
|
if ($r.current) {
|
|
514
|
-
var o =
|
|
514
|
+
var o = V($r.current.type);
|
|
515
515
|
if (o)
|
|
516
516
|
return `
|
|
517
517
|
|
|
@@ -546,14 +546,14 @@ Check the top-level render call using <` + m + ">.");
|
|
|
546
546
|
return;
|
|
547
547
|
w1[m] = !0;
|
|
548
548
|
var I = "";
|
|
549
|
-
o && o._owner && o._owner !== $r.current && (I = " It was passed a child from " +
|
|
549
|
+
o && o._owner && o._owner !== $r.current && (I = " It was passed a child from " + V(o._owner.type) + "."), Pe(o), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, I), Pe(null);
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
function M1(o, C) {
|
|
553
553
|
{
|
|
554
554
|
if (typeof o != "object")
|
|
555
555
|
return;
|
|
556
|
-
if (
|
|
556
|
+
if (Pr(o))
|
|
557
557
|
for (var m = 0; m < o.length; m++) {
|
|
558
558
|
var I = o[m];
|
|
559
559
|
Br(I) && E1(I, C);
|
|
@@ -563,12 +563,12 @@ Check the top-level render call using <` + m + ">.");
|
|
|
563
563
|
else if (o) {
|
|
564
564
|
var Z = u(o);
|
|
565
565
|
if (typeof Z == "function" && Z !== o.entries)
|
|
566
|
-
for (var U = Z.call(o),
|
|
567
|
-
Br(
|
|
566
|
+
for (var U = Z.call(o), P; !(P = U.next()).done; )
|
|
567
|
+
Br(P.value) && E1(P.value, C);
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
-
function
|
|
571
|
+
function Pt(o) {
|
|
572
572
|
{
|
|
573
573
|
var C = o.type;
|
|
574
574
|
if (C == null || typeof C == "string")
|
|
@@ -583,63 +583,63 @@ Check the top-level render call using <` + m + ">.");
|
|
|
583
583
|
else
|
|
584
584
|
return;
|
|
585
585
|
if (m) {
|
|
586
|
-
var I =
|
|
586
|
+
var I = V(C);
|
|
587
587
|
wt(m, o.props, "prop", I, o);
|
|
588
588
|
} else if (C.PropTypes !== void 0 && !Dr) {
|
|
589
589
|
Dr = !0;
|
|
590
|
-
var Z =
|
|
591
|
-
|
|
590
|
+
var Z = V(C);
|
|
591
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Z || "Unknown");
|
|
592
592
|
}
|
|
593
|
-
typeof C.getDefaultProps == "function" && !C.getDefaultProps.isReactClassApproved &&
|
|
593
|
+
typeof C.getDefaultProps == "function" && !C.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
function
|
|
596
|
+
function Vt(o) {
|
|
597
597
|
{
|
|
598
598
|
for (var C = Object.keys(o.props), m = 0; m < C.length; m++) {
|
|
599
599
|
var I = C[m];
|
|
600
600
|
if (I !== "children" && I !== "key") {
|
|
601
|
-
|
|
601
|
+
Pe(o), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", I), Pe(null);
|
|
602
602
|
break;
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
|
-
o.ref !== null && (
|
|
605
|
+
o.ref !== null && (Pe(o), S("Invalid attribute `ref` supplied to `React.Fragment`."), Pe(null));
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
608
|
var S1 = {};
|
|
609
609
|
function R1(o, C, m, I, Z, U) {
|
|
610
610
|
{
|
|
611
|
-
var
|
|
612
|
-
if (!
|
|
611
|
+
var P = Q(o);
|
|
612
|
+
if (!P) {
|
|
613
613
|
var O = "";
|
|
614
614
|
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (O += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
615
615
|
var ce = Lt();
|
|
616
616
|
ce ? O += ce : O += m1();
|
|
617
617
|
var ee;
|
|
618
|
-
o === null ? ee = "null" :
|
|
618
|
+
o === null ? ee = "null" : Pr(o) ? ee = "array" : o !== void 0 && o.$$typeof === r ? (ee = "<" + (V(o.type) || "Unknown") + " />", O = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof o, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, O);
|
|
619
619
|
}
|
|
620
620
|
var te = Ht(o, C, m, Z, U);
|
|
621
621
|
if (te == null)
|
|
622
622
|
return te;
|
|
623
|
-
if (
|
|
623
|
+
if (P) {
|
|
624
624
|
var Ce = C.children;
|
|
625
625
|
if (Ce !== void 0)
|
|
626
626
|
if (I)
|
|
627
|
-
if (
|
|
628
|
-
for (var
|
|
629
|
-
M1(Ce[
|
|
627
|
+
if (Pr(Ce)) {
|
|
628
|
+
for (var Ve = 0; Ve < Ce.length; Ve++)
|
|
629
|
+
M1(Ce[Ve], o);
|
|
630
630
|
Object.freeze && Object.freeze(Ce);
|
|
631
631
|
} else
|
|
632
|
-
|
|
632
|
+
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
633
633
|
else
|
|
634
634
|
M1(Ce, o);
|
|
635
635
|
}
|
|
636
636
|
if (Ge.call(C, "key")) {
|
|
637
|
-
var Fe =
|
|
637
|
+
var Fe = V(o), pe = Object.keys(C).filter(function(Nt) {
|
|
638
638
|
return Nt !== "key";
|
|
639
639
|
}), Zr = pe.length > 0 ? "{key: someKey, " + pe.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
640
640
|
if (!S1[Fe + Zr]) {
|
|
641
641
|
var zt = pe.length > 0 ? "{" + pe.join(": ..., ") + ": ...}" : "{}";
|
|
642
|
-
|
|
642
|
+
S(`A props object containing a "key" prop is being spread into JSX:
|
|
643
643
|
let props = %s;
|
|
644
644
|
<%s {...props} />
|
|
645
645
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -647,7 +647,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
647
647
|
<%s key={someKey} {...props} />`, Zr, Fe, zt, Fe), S1[Fe + Zr] = !0;
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
|
-
return o === i ?
|
|
650
|
+
return o === i ? Vt(te) : Pt(te), te;
|
|
651
651
|
}
|
|
652
652
|
}
|
|
653
653
|
function $t(o, C, m) {
|
|
@@ -845,23 +845,23 @@ function Hn(e) {
|
|
|
845
845
|
return at(Cr("", null, null, null, [""], e = it(e), 0, [0], e));
|
|
846
846
|
}
|
|
847
847
|
function Cr(e, r, t, i, a, s, l, d, c) {
|
|
848
|
-
for (var f = 0, g = 0, x = l, v = 0, h = 0,
|
|
849
|
-
switch (
|
|
848
|
+
for (var f = 0, g = 0, x = l, v = 0, h = 0, M = 0, b = 1, u = 1, y = 1, S = 0, w = "", R = a, p = s, _ = i, A = w; u; )
|
|
849
|
+
switch (M = S, S = he()) {
|
|
850
850
|
case 40:
|
|
851
|
-
if (
|
|
852
|
-
Xr(A += D(gr(
|
|
851
|
+
if (M != 108 && ie(A, x - 1) == 58) {
|
|
852
|
+
Xr(A += D(gr(S), "&", "&\f"), "&\f") != -1 && (y = -1);
|
|
853
853
|
break;
|
|
854
854
|
}
|
|
855
855
|
case 34:
|
|
856
856
|
case 39:
|
|
857
857
|
case 91:
|
|
858
|
-
A += gr(
|
|
858
|
+
A += gr(S);
|
|
859
859
|
break;
|
|
860
860
|
case 9:
|
|
861
861
|
case 10:
|
|
862
862
|
case 13:
|
|
863
863
|
case 32:
|
|
864
|
-
A += kn(
|
|
864
|
+
A += kn(M);
|
|
865
865
|
break;
|
|
866
866
|
case 92:
|
|
867
867
|
A += _n(hr() - 1, 7);
|
|
@@ -881,7 +881,7 @@ function Cr(e, r, t, i, a, s, l, d, c) {
|
|
|
881
881
|
case 125 * b:
|
|
882
882
|
case 59:
|
|
883
883
|
case 0:
|
|
884
|
-
switch (
|
|
884
|
+
switch (S) {
|
|
885
885
|
case 0:
|
|
886
886
|
case 125:
|
|
887
887
|
u = 0;
|
|
@@ -891,16 +891,16 @@ function Cr(e, r, t, i, a, s, l, d, c) {
|
|
|
891
891
|
case 59:
|
|
892
892
|
A += ";";
|
|
893
893
|
default:
|
|
894
|
-
if (pr(_ = F1(A, r, t, f, g, a, d, w,
|
|
894
|
+
if (pr(_ = F1(A, r, t, f, g, a, d, w, R = [], p = [], x), s), S === 123)
|
|
895
895
|
if (g === 0)
|
|
896
|
-
Cr(A, r, _, _,
|
|
896
|
+
Cr(A, r, _, _, R, s, x, d, p);
|
|
897
897
|
else
|
|
898
898
|
switch (v === 99 && ie(A, 3) === 110 ? 100 : v) {
|
|
899
899
|
case 100:
|
|
900
900
|
case 108:
|
|
901
901
|
case 109:
|
|
902
902
|
case 115:
|
|
903
|
-
Cr(e, _, _, i && pr(F1(e, _, _, 0, 0, a, d, w, a,
|
|
903
|
+
Cr(e, _, _, i && pr(F1(e, _, _, 0, 0, a, d, w, a, R = [], x), p), a, p, x, d, i ? R : p);
|
|
904
904
|
break;
|
|
905
905
|
default:
|
|
906
906
|
Cr(A, _, _, _, [""], p, 0, d, p);
|
|
@@ -909,15 +909,15 @@ function Cr(e, r, t, i, a, s, l, d, c) {
|
|
|
909
909
|
f = g = h = 0, b = y = 1, w = A = "", x = l;
|
|
910
910
|
break;
|
|
911
911
|
case 58:
|
|
912
|
-
x = 1 + me(A), h =
|
|
912
|
+
x = 1 + me(A), h = M;
|
|
913
913
|
default:
|
|
914
914
|
if (b < 1) {
|
|
915
|
-
if (
|
|
915
|
+
if (S == 123)
|
|
916
916
|
--b;
|
|
917
|
-
else if (
|
|
917
|
+
else if (S == 125 && b++ == 0 && An() == 125)
|
|
918
918
|
continue;
|
|
919
919
|
}
|
|
920
|
-
switch (A += kr(
|
|
920
|
+
switch (A += kr(S), S * b) {
|
|
921
921
|
case 38:
|
|
922
922
|
y = g > 0 ? 1 : (A += "\f", -1);
|
|
923
923
|
break;
|
|
@@ -925,18 +925,18 @@ function Cr(e, r, t, i, a, s, l, d, c) {
|
|
|
925
925
|
d[f++] = (me(A) - 1) * y, y = 1;
|
|
926
926
|
break;
|
|
927
927
|
case 64:
|
|
928
|
-
Ee() === 45 && (A += gr(he())), v = Ee(), g = x = me(w = A += Fn(hr())),
|
|
928
|
+
Ee() === 45 && (A += gr(he())), v = Ee(), g = x = me(w = A += Fn(hr())), S++;
|
|
929
929
|
break;
|
|
930
930
|
case 45:
|
|
931
|
-
|
|
931
|
+
M === 45 && me(A) == 2 && (b = 0);
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
return s;
|
|
935
935
|
}
|
|
936
936
|
function F1(e, r, t, i, a, s, l, d, c, f, g) {
|
|
937
|
-
for (var x = a - 1, v = a === 0 ? s : [""], h = d1(v),
|
|
938
|
-
for (var y = 0,
|
|
939
|
-
(w = tt(b > 0 ? v[y] + " " +
|
|
937
|
+
for (var x = a - 1, v = a === 0 ? s : [""], h = d1(v), M = 0, b = 0, u = 0; M < i; ++M)
|
|
938
|
+
for (var y = 0, S = or(e, x + 1, x = wn(b = l[M])), w = e; y < h; ++y)
|
|
939
|
+
(w = tt(b > 0 ? v[y] + " " + S : D(S, /&\f/g, v[y]))) && (c[u++] = w);
|
|
940
940
|
return Ir(e, r, t, a === 0 ? l1 : d, c, f, g);
|
|
941
941
|
}
|
|
942
942
|
function Ln(e, r, t) {
|
|
@@ -966,7 +966,7 @@ function On(e, r, t, i) {
|
|
|
966
966
|
}
|
|
967
967
|
return me(t = Be(e.children, i)) ? e.return = e.value + "{" + t + "}" : "";
|
|
968
968
|
}
|
|
969
|
-
function
|
|
969
|
+
function Pn(e) {
|
|
970
970
|
var r = d1(e);
|
|
971
971
|
return function(t, i, a, s) {
|
|
972
972
|
for (var l = "", d = 0; d < r; d++)
|
|
@@ -974,7 +974,7 @@ function Vn(e) {
|
|
|
974
974
|
return l;
|
|
975
975
|
};
|
|
976
976
|
}
|
|
977
|
-
function
|
|
977
|
+
function Vn(e) {
|
|
978
978
|
return function(r) {
|
|
979
979
|
r.root || (r = r.return) && e(r);
|
|
980
980
|
};
|
|
@@ -1194,16 +1194,16 @@ var Wn = function(r, t, i, a) {
|
|
|
1194
1194
|
);
|
|
1195
1195
|
var c, f = [zn, Nn];
|
|
1196
1196
|
{
|
|
1197
|
-
var g, x = [On,
|
|
1197
|
+
var g, x = [On, Vn(function(b) {
|
|
1198
1198
|
g.insert(b);
|
|
1199
|
-
})], v =
|
|
1199
|
+
})], v = Pn(f.concat(a, x)), h = function(u) {
|
|
1200
1200
|
return Be(Hn(u), v);
|
|
1201
1201
|
};
|
|
1202
|
-
c = function(u, y,
|
|
1203
|
-
g =
|
|
1202
|
+
c = function(u, y, S, w) {
|
|
1203
|
+
g = S, h(u ? u + "{" + y.styles + "}" : y.styles), w && (M.inserted[y.name] = !0);
|
|
1204
1204
|
};
|
|
1205
1205
|
}
|
|
1206
|
-
var
|
|
1206
|
+
var M = {
|
|
1207
1207
|
key: t,
|
|
1208
1208
|
sheet: new yn({
|
|
1209
1209
|
key: t,
|
|
@@ -1218,7 +1218,7 @@ var Wn = function(r, t, i, a) {
|
|
|
1218
1218
|
registered: {},
|
|
1219
1219
|
insert: c
|
|
1220
1220
|
};
|
|
1221
|
-
return
|
|
1221
|
+
return M.sheet.hydrate(d), M;
|
|
1222
1222
|
}, Jr = { exports: {} }, z = {};
|
|
1223
1223
|
/** @license React v16.13.1
|
|
1224
1224
|
* react-is.production.min.js
|
|
@@ -1232,7 +1232,7 @@ var O1;
|
|
|
1232
1232
|
function Un() {
|
|
1233
1233
|
if (O1) return z;
|
|
1234
1234
|
O1 = 1;
|
|
1235
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115,
|
|
1235
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
1236
1236
|
function w(p) {
|
|
1237
1237
|
if (typeof p == "object" && p !== null) {
|
|
1238
1238
|
var _ = p.$$typeof;
|
|
@@ -1250,7 +1250,7 @@ function Un() {
|
|
|
1250
1250
|
switch (p = p && p.$$typeof, p) {
|
|
1251
1251
|
case d:
|
|
1252
1252
|
case g:
|
|
1253
|
-
case
|
|
1253
|
+
case M:
|
|
1254
1254
|
case h:
|
|
1255
1255
|
case l:
|
|
1256
1256
|
return p;
|
|
@@ -1263,12 +1263,12 @@ function Un() {
|
|
|
1263
1263
|
}
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
|
-
function
|
|
1266
|
+
function R(p) {
|
|
1267
1267
|
return w(p) === f;
|
|
1268
1268
|
}
|
|
1269
|
-
return z.AsyncMode = c, z.ConcurrentMode = f, z.ContextConsumer = d, z.ContextProvider = l, z.Element = r, z.ForwardRef = g, z.Fragment = i, z.Lazy =
|
|
1270
|
-
return
|
|
1271
|
-
}, z.isConcurrentMode =
|
|
1269
|
+
return z.AsyncMode = c, z.ConcurrentMode = f, z.ContextConsumer = d, z.ContextProvider = l, z.Element = r, z.ForwardRef = g, z.Fragment = i, z.Lazy = M, z.Memo = h, z.Portal = t, z.Profiler = s, z.StrictMode = a, z.Suspense = x, z.isAsyncMode = function(p) {
|
|
1270
|
+
return R(p) || w(p) === c;
|
|
1271
|
+
}, z.isConcurrentMode = R, z.isContextConsumer = function(p) {
|
|
1272
1272
|
return w(p) === d;
|
|
1273
1273
|
}, z.isContextProvider = function(p) {
|
|
1274
1274
|
return w(p) === l;
|
|
@@ -1279,7 +1279,7 @@ function Un() {
|
|
|
1279
1279
|
}, z.isFragment = function(p) {
|
|
1280
1280
|
return w(p) === i;
|
|
1281
1281
|
}, z.isLazy = function(p) {
|
|
1282
|
-
return w(p) ===
|
|
1282
|
+
return w(p) === M;
|
|
1283
1283
|
}, z.isMemo = function(p) {
|
|
1284
1284
|
return w(p) === h;
|
|
1285
1285
|
}, z.isPortal = function(p) {
|
|
@@ -1291,7 +1291,7 @@ function Un() {
|
|
|
1291
1291
|
}, z.isSuspense = function(p) {
|
|
1292
1292
|
return w(p) === x;
|
|
1293
1293
|
}, z.isValidElementType = function(p) {
|
|
1294
|
-
return typeof p == "string" || typeof p == "function" || p === i || p === f || p === s || p === a || p === x || p === v || typeof p == "object" && p !== null && (p.$$typeof ===
|
|
1294
|
+
return typeof p == "string" || typeof p == "function" || p === i || p === f || p === s || p === a || p === x || p === v || typeof p == "object" && p !== null && (p.$$typeof === M || p.$$typeof === h || p.$$typeof === l || p.$$typeof === d || p.$$typeof === g || p.$$typeof === u || p.$$typeof === y || p.$$typeof === S || p.$$typeof === b);
|
|
1295
1295
|
}, z.typeOf = w, z;
|
|
1296
1296
|
}
|
|
1297
1297
|
var N = {};
|
|
@@ -1303,15 +1303,15 @@ var N = {};
|
|
|
1303
1303
|
* This source code is licensed under the MIT license found in the
|
|
1304
1304
|
* LICENSE file in the root directory of this source tree.
|
|
1305
1305
|
*/
|
|
1306
|
-
var
|
|
1306
|
+
var P1;
|
|
1307
1307
|
function Gn() {
|
|
1308
|
-
return
|
|
1309
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115,
|
|
1308
|
+
return P1 || (P1 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1309
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
1310
1310
|
function w(T) {
|
|
1311
1311
|
return typeof T == "string" || typeof T == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1312
|
-
T === i || T === f || T === s || T === a || T === x || T === v || typeof T == "object" && T !== null && (T.$$typeof ===
|
|
1312
|
+
T === i || T === f || T === s || T === a || T === x || T === v || typeof T == "object" && T !== null && (T.$$typeof === M || T.$$typeof === h || T.$$typeof === l || T.$$typeof === d || T.$$typeof === g || T.$$typeof === u || T.$$typeof === y || T.$$typeof === S || T.$$typeof === b);
|
|
1313
1313
|
}
|
|
1314
|
-
function
|
|
1314
|
+
function R(T) {
|
|
1315
1315
|
if (typeof T == "object" && T !== null) {
|
|
1316
1316
|
var Ue = T.$$typeof;
|
|
1317
1317
|
switch (Ue) {
|
|
@@ -1330,7 +1330,7 @@ function Gn() {
|
|
|
1330
1330
|
switch (Ie) {
|
|
1331
1331
|
case d:
|
|
1332
1332
|
case g:
|
|
1333
|
-
case
|
|
1333
|
+
case M:
|
|
1334
1334
|
case h:
|
|
1335
1335
|
case l:
|
|
1336
1336
|
return Ie;
|
|
@@ -1343,47 +1343,47 @@ function Gn() {
|
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
|
-
var p = c, _ = f, A = d, j = l, F = r, Q = g,
|
|
1347
|
-
function
|
|
1348
|
-
return k || (k = !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.")), re(T) ||
|
|
1346
|
+
var p = c, _ = f, A = d, j = l, F = r, Q = g, X = i, Y = M, V = h, K = t, oe = s, Ae = a, B = x, k = !1;
|
|
1347
|
+
function G(T) {
|
|
1348
|
+
return k || (k = !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.")), re(T) || R(T) === c;
|
|
1349
1349
|
}
|
|
1350
1350
|
function re(T) {
|
|
1351
|
-
return
|
|
1351
|
+
return R(T) === f;
|
|
1352
1352
|
}
|
|
1353
1353
|
function le(T) {
|
|
1354
|
-
return
|
|
1354
|
+
return R(T) === d;
|
|
1355
1355
|
}
|
|
1356
1356
|
function Se(T) {
|
|
1357
|
-
return
|
|
1357
|
+
return R(T) === l;
|
|
1358
1358
|
}
|
|
1359
1359
|
function ve(T) {
|
|
1360
1360
|
return typeof T == "object" && T !== null && T.$$typeof === r;
|
|
1361
1361
|
}
|
|
1362
1362
|
function Hr(T) {
|
|
1363
|
-
return
|
|
1363
|
+
return R(T) === g;
|
|
1364
1364
|
}
|
|
1365
1365
|
function Lr(T) {
|
|
1366
|
-
return
|
|
1366
|
+
return R(T) === i;
|
|
1367
1367
|
}
|
|
1368
1368
|
function We(T) {
|
|
1369
|
-
return
|
|
1369
|
+
return R(T) === M;
|
|
1370
1370
|
}
|
|
1371
1371
|
function je(T) {
|
|
1372
|
-
return
|
|
1372
|
+
return R(T) === h;
|
|
1373
1373
|
}
|
|
1374
1374
|
function He(T) {
|
|
1375
|
-
return
|
|
1375
|
+
return R(T) === t;
|
|
1376
1376
|
}
|
|
1377
1377
|
function Ye(T) {
|
|
1378
|
-
return
|
|
1378
|
+
return R(T) === s;
|
|
1379
1379
|
}
|
|
1380
1380
|
function Le(T) {
|
|
1381
|
-
return
|
|
1381
|
+
return R(T) === a;
|
|
1382
1382
|
}
|
|
1383
1383
|
function Or(T) {
|
|
1384
|
-
return
|
|
1384
|
+
return R(T) === x;
|
|
1385
1385
|
}
|
|
1386
|
-
N.AsyncMode = p, N.ConcurrentMode = _, N.ContextConsumer = A, N.ContextProvider = j, N.Element = F, N.ForwardRef = Q, N.Fragment =
|
|
1386
|
+
N.AsyncMode = p, N.ConcurrentMode = _, N.ContextConsumer = A, N.ContextProvider = j, N.Element = F, N.ForwardRef = Q, N.Fragment = X, N.Lazy = Y, N.Memo = V, N.Portal = K, N.Profiler = oe, N.StrictMode = Ae, N.Suspense = B, N.isAsyncMode = G, N.isConcurrentMode = re, N.isContextConsumer = le, N.isContextProvider = Se, N.isElement = ve, N.isForwardRef = Hr, N.isFragment = Lr, N.isLazy = We, N.isMemo = je, N.isPortal = He, N.isProfiler = Ye, N.isStrictMode = Le, N.isSuspense = Or, N.isValidElementType = w, N.typeOf = R;
|
|
1387
1387
|
}()), N;
|
|
1388
1388
|
}
|
|
1389
1389
|
process.env.NODE_ENV === "production" ? Jr.exports = Un() : Jr.exports = Gn();
|
|
@@ -1502,7 +1502,7 @@ var ti = {
|
|
|
1502
1502
|
strokeWidth: 1
|
|
1503
1503
|
}, ni = !1, ii = /[A-Z]|^ms/g, ai = /_EMO_([^_]+?)_([^]*?)_EMO_/g, dt = function(r) {
|
|
1504
1504
|
return r.charCodeAt(1) === 45;
|
|
1505
|
-
},
|
|
1505
|
+
}, V1 = function(r) {
|
|
1506
1506
|
return r != null && typeof r != "boolean";
|
|
1507
1507
|
}, zr = /* @__PURE__ */ $n(function(e) {
|
|
1508
1508
|
return dt(e) ? e : e.replace(ii, "-$&").toLowerCase();
|
|
@@ -1574,13 +1574,13 @@ function si(e, r, t) {
|
|
|
1574
1574
|
var l = t[s];
|
|
1575
1575
|
if (typeof l != "object") {
|
|
1576
1576
|
var d = l;
|
|
1577
|
-
|
|
1577
|
+
V1(d) && (i += zr(s) + ":" + $1(s, d) + ";");
|
|
1578
1578
|
} else {
|
|
1579
1579
|
if (s === "NO_COMPONENT_SELECTOR" && ni)
|
|
1580
1580
|
throw new Error(oi);
|
|
1581
1581
|
if (Array.isArray(l) && typeof l[0] == "string" && r == null)
|
|
1582
1582
|
for (var c = 0; c < l.length; c++)
|
|
1583
|
-
|
|
1583
|
+
V1(l[c]) && (i += zr(s) + ":" + $1(s, l[c]) + ";");
|
|
1584
1584
|
else {
|
|
1585
1585
|
var f = lr(e, r, l);
|
|
1586
1586
|
switch (s) {
|
|
@@ -1729,7 +1729,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
1729
1729
|
getTextColor: r
|
|
1730
1730
|
};
|
|
1731
1731
|
}, Mi = ({ colorShape: e, shapeBackgroundColor: r, color: t, height: i, width: a, withoutText: s, mode: l, sx: d, variant: c = "default", component: f = "img" }, g) => {
|
|
1732
|
-
const [x, v] = ae(""), { palette: h } = ge(), { getTextColor:
|
|
1732
|
+
const [x, v] = ae(""), { palette: h } = ge(), { getTextColor: M, getImageModule: b, getSize: u, getShapeColor: y, getShapeBackgroundColor: S } = Ei(), { height: w, width: R } = u({ height: i, variant: c, width: a, withoutText: s }), p = M(t), _ = y(e), A = S(r);
|
|
1733
1733
|
if (Rr(() => {
|
|
1734
1734
|
f !== "svg" && (async () => {
|
|
1735
1735
|
const j = await b(c, l || h.mode, s);
|
|
@@ -1743,7 +1743,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
1743
1743
|
src: x,
|
|
1744
1744
|
alt: "Tracktor",
|
|
1745
1745
|
height: w,
|
|
1746
|
-
width:
|
|
1746
|
+
width: R,
|
|
1747
1747
|
ref: g,
|
|
1748
1748
|
sx: d
|
|
1749
1749
|
}
|
|
@@ -1757,14 +1757,14 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
1757
1757
|
fontSize: 0,
|
|
1758
1758
|
height: w,
|
|
1759
1759
|
maxHeight: w,
|
|
1760
|
-
maxWidth:
|
|
1761
|
-
width:
|
|
1760
|
+
maxWidth: R,
|
|
1761
|
+
width: R
|
|
1762
1762
|
}
|
|
1763
1763
|
}
|
|
1764
1764
|
);
|
|
1765
1765
|
if (s) {
|
|
1766
1766
|
const j = e || h.primary.main;
|
|
1767
|
-
return /* @__PURE__ */ E(L, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: w, width:
|
|
1767
|
+
return /* @__PURE__ */ E(L, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: w, width: R, ...d }, children: [
|
|
1768
1768
|
/* @__PURE__ */ n("path", { d: "M17 0V15H32C32 6.71026 25.2897 0 17 0Z", fill: j }),
|
|
1769
1769
|
/* @__PURE__ */ n("path", { d: "M0 0V15H15C15 6.71026 8.27968 0 0 0Z", fill: j }),
|
|
1770
1770
|
/* @__PURE__ */ n("path", { d: "M14.9955 16C14.9955 16 15.0056 16 14.9955 16V32H0C0 23.1576 6.71832 16 14.9955 16Z", fill: j }),
|
|
@@ -1777,7 +1777,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
1777
1777
|
component: "svg",
|
|
1778
1778
|
viewBox: "0 0 147 44",
|
|
1779
1779
|
fill: "none",
|
|
1780
|
-
sx: { height: w, width:
|
|
1780
|
+
sx: { height: w, width: R, ...d },
|
|
1781
1781
|
ref: g,
|
|
1782
1782
|
children: [
|
|
1783
1783
|
/* @__PURE__ */ E("g", { clipPath: "url(#clip0_12018_69701)", children: [
|
|
@@ -1878,7 +1878,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
1878
1878
|
component: "svg",
|
|
1879
1879
|
viewBox: "0 0 195 24",
|
|
1880
1880
|
fill: "none",
|
|
1881
|
-
sx: { height: w, width:
|
|
1881
|
+
sx: { height: w, width: R, ...d },
|
|
1882
1882
|
ref: g,
|
|
1883
1883
|
children: [
|
|
1884
1884
|
/* @__PURE__ */ n(
|
|
@@ -1992,7 +1992,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
1992
1992
|
component: "svg",
|
|
1993
1993
|
viewBox: "0 0 105 24",
|
|
1994
1994
|
fill: "none",
|
|
1995
|
-
sx: { height: w, width:
|
|
1995
|
+
sx: { height: w, width: R, ...d },
|
|
1996
1996
|
ref: g,
|
|
1997
1997
|
children: [
|
|
1998
1998
|
/* @__PURE__ */ n(
|
|
@@ -2280,7 +2280,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
2280
2280
|
Footer: g,
|
|
2281
2281
|
Search: x = r.Logo,
|
|
2282
2282
|
Logo: v = r.Logo
|
|
2283
|
-
} = Te(Ne), { palette: h } = ge(),
|
|
2283
|
+
} = Te(Ne), { palette: h } = ge(), M = h.mode === "dark" ? h.background.default : h.primary.black, b = a && l ? "none" : `solid 1px ${h.divider}`, y = t ? !(!a && !s) : !0;
|
|
2284
2284
|
return /* @__PURE__ */ E(
|
|
2285
2285
|
L,
|
|
2286
2286
|
{
|
|
@@ -2319,7 +2319,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
2319
2319
|
children: v
|
|
2320
2320
|
}
|
|
2321
2321
|
),
|
|
2322
|
-
a && /* @__PURE__ */ n(ke, { onClick: i, children: /* @__PURE__ */ n(p1, { color: h.getContrastText(
|
|
2322
|
+
a && /* @__PURE__ */ n(ke, { onClick: i, children: /* @__PURE__ */ n(p1, { color: h.getContrastText(M) }) })
|
|
2323
2323
|
]
|
|
2324
2324
|
}
|
|
2325
2325
|
),
|
|
@@ -2419,11 +2419,11 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
2419
2419
|
bottomLink: f,
|
|
2420
2420
|
sideBarWidth: g = 260
|
|
2421
2421
|
}) => {
|
|
2422
|
-
const { breakpoints: x } = ge(), v = ir(x.down("sm")), h = ir(x.between("sm", "md")), [
|
|
2422
|
+
const { breakpoints: x } = ge(), v = ir(x.down("sm")), h = ir(x.between("sm", "md")), [M, b] = ae(gt.isDrawerOpen), u = de(() => {
|
|
2423
2423
|
b(!1);
|
|
2424
2424
|
}, []), y = de(() => {
|
|
2425
2425
|
b(!0);
|
|
2426
|
-
}, []),
|
|
2426
|
+
}, []), S = Ar(
|
|
2427
2427
|
() => ({
|
|
2428
2428
|
AppBar: e,
|
|
2429
2429
|
bottomLink: f,
|
|
@@ -2432,7 +2432,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
2432
2432
|
enableSearchFocusShortcut: l,
|
|
2433
2433
|
Footer: a,
|
|
2434
2434
|
hideSearchDesktop: c,
|
|
2435
|
-
isDrawerOpen:
|
|
2435
|
+
isDrawerOpen: M,
|
|
2436
2436
|
isMobile: v,
|
|
2437
2437
|
isTablet: h,
|
|
2438
2438
|
items: s,
|
|
@@ -2445,7 +2445,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
2445
2445
|
[
|
|
2446
2446
|
u,
|
|
2447
2447
|
d,
|
|
2448
|
-
|
|
2448
|
+
M,
|
|
2449
2449
|
v,
|
|
2450
2450
|
h,
|
|
2451
2451
|
s,
|
|
@@ -2461,7 +2461,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
2461
2461
|
a
|
|
2462
2462
|
]
|
|
2463
2463
|
);
|
|
2464
|
-
return /* @__PURE__ */ n(Ne.Provider, { value:
|
|
2464
|
+
return /* @__PURE__ */ n(Ne.Provider, { value: S, children: /* @__PURE__ */ n(_i, {}) });
|
|
2465
2465
|
}, Ra = K1(Ii), Fi = "No data", N1 = {
|
|
2466
2466
|
large: 80,
|
|
2467
2467
|
medium: 50,
|
|
@@ -2490,9 +2490,9 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
2490
2490
|
...c,
|
|
2491
2491
|
children: /* @__PURE__ */ n(L, { flex: "auto", minWidth: 0, children: e })
|
|
2492
2492
|
}
|
|
2493
|
-
), Ta = K1(be(Oi)),
|
|
2493
|
+
), Ta = K1(be(Oi)), Pi = ["warning", "info", "success", "error", "primary", "secondary"], Vi = (e) => Pi.includes(e), $i = ({ color: e, sx: r, variant: t = "filled", fontSize: i = "medium" }, a) => {
|
|
2494
2494
|
var g;
|
|
2495
|
-
const { palette: s } = ge(), l = s.mode === "dark" ? s.text.disabled : s.grey[400], d = e || l, c =
|
|
2495
|
+
const { palette: s } = ge(), l = s.mode === "dark" ? s.text.disabled : s.grey[400], d = e || l, c = Vi(e) ? (g = s == null ? void 0 : s[e]) == null ? void 0 : g.main : d, f = ye(c, 0.2);
|
|
2496
2496
|
return /* @__PURE__ */ E(
|
|
2497
2497
|
Me,
|
|
2498
2498
|
{
|
|
@@ -2677,11 +2677,11 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
2677
2677
|
const { w: i, h: a } = { h: Number(r), w: Number(e) };
|
|
2678
2678
|
return i < 25 || a < 25 ? { borderRadius: `${t.borderRadiusS}px`, padding: 0.5 } : i < 50 || a < 50 ? { borderRadius: `${t.borderRadius}px`, padding: 1 } : { borderRadius: `${t.borderRadiusL}px`, padding: 1.5 };
|
|
2679
2679
|
}, W1 = ({ width: e, height: r, sx: t }) => /* @__PURE__ */ n(fe, { variant: "rounded", width: e, height: r, sx: t }), Fa = ({ src: e, isLoading: r, sx: t, width: i = 64, height: a = 64, alt: s = "Article" }) => {
|
|
2680
|
-
const [l, d] = ae(), [c, f] = ae(), { shape: g } = ge(), { borderRadius: x, padding: v } = Ni(i, a, g), h = { borderRadius: x, flexShrink: 0 },
|
|
2680
|
+
const [l, d] = ae(), [c, f] = ae(), { shape: g } = ge(), { borderRadius: x, padding: v } = Ni(i, a, g), h = { borderRadius: x, flexShrink: 0 }, M = e && !l && !c, b = !e || c && !l || c && l, u = (y) => {
|
|
2681
2681
|
f(void 0), d(y);
|
|
2682
2682
|
};
|
|
2683
2683
|
return r ? /* @__PURE__ */ n(W1, { width: i, height: a, sx: h }) : /* @__PURE__ */ E(xe, { children: [
|
|
2684
|
-
|
|
2684
|
+
M && /* @__PURE__ */ n(W1, { width: i, height: a, sx: h }),
|
|
2685
2685
|
b && /* @__PURE__ */ n(
|
|
2686
2686
|
W,
|
|
2687
2687
|
{
|
|
@@ -2789,20 +2789,20 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
2789
2789
|
disableThumb: x,
|
|
2790
2790
|
open: v,
|
|
2791
2791
|
onClose: h,
|
|
2792
|
-
onClickThumb:
|
|
2792
|
+
onClickThumb: M,
|
|
2793
2793
|
variant: b
|
|
2794
2794
|
}) => {
|
|
2795
|
-
const [u, y] = ae(!1), [
|
|
2796
|
-
y((
|
|
2797
|
-
},
|
|
2795
|
+
const [u, y] = ae(!1), [S, w] = ae(!1), R = e == null ? void 0 : e.toLowerCase(), p = !(R != null && R.endsWith(".pdf")) && !(R != null && R.startsWith("blob:")), _ = R == null ? void 0 : R.endsWith(".pdf"), A = wr(null), j = S ? Wi : r || e, F = g ? 1 : 0.8, Q = () => {
|
|
2796
|
+
y((V) => !V);
|
|
2797
|
+
}, X = () => {
|
|
2798
2798
|
y(!1), h == null || h();
|
|
2799
2799
|
}, Y = de(() => {
|
|
2800
2800
|
w(!0);
|
|
2801
2801
|
}, []);
|
|
2802
2802
|
return Rr(() => {
|
|
2803
|
-
const
|
|
2804
|
-
return
|
|
2805
|
-
|
|
2803
|
+
const V = A.current;
|
|
2804
|
+
return V == null || V.addEventListener("error", Y), () => {
|
|
2805
|
+
V == null || V.removeEventListener("error", Y);
|
|
2806
2806
|
};
|
|
2807
2807
|
}, [Y, A]), /* @__PURE__ */ E(xe, { children: [
|
|
2808
2808
|
!x && !i && /* @__PURE__ */ n(
|
|
@@ -2810,7 +2810,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
2810
2810
|
{
|
|
2811
2811
|
"data-test": "fileViewer",
|
|
2812
2812
|
onClick: () => {
|
|
2813
|
-
|
|
2813
|
+
M == null || M(), Q();
|
|
2814
2814
|
},
|
|
2815
2815
|
width: a,
|
|
2816
2816
|
height: s,
|
|
@@ -2838,7 +2838,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
2838
2838
|
)
|
|
2839
2839
|
}
|
|
2840
2840
|
),
|
|
2841
|
-
!g && e && /* @__PURE__ */ n(Ct, { open: v !== void 0 ? v : u, onClose:
|
|
2841
|
+
!g && e && /* @__PURE__ */ n(Ct, { open: v !== void 0 ? v : u, onClose: X, src: e, title: t, children: /* @__PURE__ */ n(
|
|
2842
2842
|
L,
|
|
2843
2843
|
{
|
|
2844
2844
|
component: _ ? "iframe" : "img",
|
|
@@ -2878,9 +2878,9 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
2878
2878
|
Footer: x,
|
|
2879
2879
|
Collapse: v
|
|
2880
2880
|
}) => {
|
|
2881
|
-
const [h,
|
|
2881
|
+
const [h, M] = ae(!1), b = v || !!(d != null && d.length);
|
|
2882
2882
|
return Rr(() => {
|
|
2883
|
-
c &&
|
|
2883
|
+
c && M(!0);
|
|
2884
2884
|
}, [c]), /* @__PURE__ */ E(W, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
|
|
2885
2885
|
/* @__PURE__ */ n(L, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ n(W, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */ E(xe, { children: [
|
|
2886
2886
|
g || /* @__PURE__ */ n(xr, { color: i ? "secondary" : "primary" }),
|
|
@@ -2922,7 +2922,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
2922
2922
|
direction: "row",
|
|
2923
2923
|
alignItems: "center",
|
|
2924
2924
|
sx: { cursor: b ? "pointer" : "default" },
|
|
2925
|
-
onClick: () =>
|
|
2925
|
+
onClick: () => M((u) => !u),
|
|
2926
2926
|
children: [
|
|
2927
2927
|
/* @__PURE__ */ n(
|
|
2928
2928
|
q,
|
|
@@ -2968,8 +2968,8 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
2968
2968
|
x,
|
|
2969
2969
|
v && /* @__PURE__ */ n(T1, { in: h, children: v }),
|
|
2970
2970
|
!!(d != null && d.length) && /* @__PURE__ */ n(T1, { in: h, children: /* @__PURE__ */ n(W, { marginTop: 3, spacing: 3, children: d == null ? void 0 : d.map((u, y) => {
|
|
2971
|
-
var
|
|
2972
|
-
const
|
|
2971
|
+
var R, p, _, A;
|
|
2972
|
+
const S = `${u.title}-${y}`, w = Array.isArray(u == null ? void 0 : u.file) ? u == null ? void 0 : u.file[0] : u == null ? void 0 : u.file;
|
|
2973
2973
|
return /* @__PURE__ */ E(W, { direction: "row", spacing: 1, minWidth: 0, children: [
|
|
2974
2974
|
/* @__PURE__ */ n(ji, { sx: { height: 18, paddingTop: 0.5, width: 18 } }),
|
|
2975
2975
|
/* @__PURE__ */ E(W, { minWidth: 0, children: [
|
|
@@ -2999,7 +2999,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
2999
2999
|
)
|
|
3000
3000
|
}
|
|
3001
3001
|
),
|
|
3002
|
-
(u == null ? void 0 : u.tag) && /* @__PURE__ */ n(nr, { color: ((
|
|
3002
|
+
(u == null ? void 0 : u.tag) && /* @__PURE__ */ n(nr, { color: ((R = u == null ? void 0 : u.tag) == null ? void 0 : R.color) || "default", label: (p = u == null ? void 0 : u.tag) == null ? void 0 : p.label, size: "xSmall", variant: "outlined" })
|
|
3003
3003
|
] }),
|
|
3004
3004
|
(u == null ? void 0 : u.subtitle) && /* @__PURE__ */ n(A1, { title: u == null ? void 0 : u.subtitle, enterDelay: j1, children: /* @__PURE__ */ n(
|
|
3005
3005
|
q,
|
|
@@ -3043,7 +3043,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
3043
3043
|
)
|
|
3044
3044
|
] })
|
|
3045
3045
|
] })
|
|
3046
|
-
] },
|
|
3046
|
+
] }, S);
|
|
3047
3047
|
}) }) })
|
|
3048
3048
|
]
|
|
3049
3049
|
}
|
|
@@ -3099,8 +3099,8 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
3099
3099
|
] })
|
|
3100
3100
|
] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(Nr, { sx: i, children: /* @__PURE__ */ n(i1, { severity: "info", children: t }) }) : /* @__PURE__ */ E(xe, { children: [
|
|
3101
3101
|
/* @__PURE__ */ n(Nr, { sx: i, "data-test": s, "data-testid": l, children: e == null ? void 0 : e.map(
|
|
3102
|
-
({ Action: f, Collapse: g, collapseItems: x, collapseDefaultOpen: v, subtitle: h, key:
|
|
3103
|
-
const _ = `${
|
|
3102
|
+
({ Action: f, Collapse: g, collapseItems: x, collapseDefaultOpen: v, subtitle: h, key: M, active: b, Footer: u, Icon: y, onClick: S, tag: w, title: R }, p) => {
|
|
3103
|
+
const _ = `${M}-${p}-${R}`, A = p === e.length - 1;
|
|
3104
3104
|
return /* @__PURE__ */ n(
|
|
3105
3105
|
Ui,
|
|
3106
3106
|
{
|
|
@@ -3110,11 +3110,11 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
3110
3110
|
collapseDefaultOpen: v,
|
|
3111
3111
|
collapseItems: x,
|
|
3112
3112
|
active: b,
|
|
3113
|
-
title:
|
|
3113
|
+
title: R,
|
|
3114
3114
|
subtitle: h,
|
|
3115
3115
|
Icon: y,
|
|
3116
3116
|
isLastElement: A,
|
|
3117
|
-
onClick:
|
|
3117
|
+
onClick: S,
|
|
3118
3118
|
tag: w,
|
|
3119
3119
|
variant: a
|
|
3120
3120
|
},
|
|
@@ -3440,7 +3440,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
3440
3440
|
}
|
|
3441
3441
|
);
|
|
3442
3442
|
}, Ji = be(({ sx: e, InputProps: r, type: t = "search", ...i }, a) => {
|
|
3443
|
-
var s, l, d, c, f, g, x, v, h,
|
|
3443
|
+
var s, l, d, c, f, g, x, v, h, M;
|
|
3444
3444
|
return /* @__PURE__ */ n(
|
|
3445
3445
|
n1,
|
|
3446
3446
|
{
|
|
@@ -3462,7 +3462,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
3462
3462
|
},
|
|
3463
3463
|
// Border focus
|
|
3464
3464
|
"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
3465
|
-
borderColor: (
|
|
3465
|
+
borderColor: (M = (h = H == null ? void 0 : H.palette) == null ? void 0 : h.primary) == null ? void 0 : M.main
|
|
3466
3466
|
},
|
|
3467
3467
|
maxWidth: 400,
|
|
3468
3468
|
...e,
|
|
@@ -3520,7 +3520,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
3520
3520
|
position: v = "static",
|
|
3521
3521
|
elevation: h = 0
|
|
3522
3522
|
}) => {
|
|
3523
|
-
const { breakpoints:
|
|
3523
|
+
const { breakpoints: M } = ge(), { closeMenu: b, isMenuOpen: u, anchorMenu: y, openMenu: S } = Ki(), { menuItems: w, ...R } = s || {}, p = ir(M.down("sm")), _ = ir(M.between("sm", "md")), A = p || _, j = {
|
|
3524
3524
|
logoContainer: {
|
|
3525
3525
|
a: {
|
|
3526
3526
|
display: "flex"
|
|
@@ -3560,13 +3560,13 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
3560
3560
|
e === null ? null : e || /* @__PURE__ */ n(
|
|
3561
3561
|
Xi,
|
|
3562
3562
|
{
|
|
3563
|
-
...
|
|
3563
|
+
...R,
|
|
3564
3564
|
sx: {
|
|
3565
3565
|
cursor: w ? "pointer" : "default"
|
|
3566
3566
|
},
|
|
3567
3567
|
onClick: (F) => {
|
|
3568
3568
|
var Q;
|
|
3569
|
-
|
|
3569
|
+
S(F), (Q = s == null ? void 0 : s.onClick) == null || Q.call(s, F);
|
|
3570
3570
|
}
|
|
3571
3571
|
}
|
|
3572
3572
|
)
|
|
@@ -3595,13 +3595,13 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
3595
3595
|
if (Tr(F)) {
|
|
3596
3596
|
if (F.key)
|
|
3597
3597
|
return F;
|
|
3598
|
-
const
|
|
3599
|
-
return s1(F, { key:
|
|
3598
|
+
const X = `${w}-${Q}`;
|
|
3599
|
+
return s1(F, { key: X });
|
|
3600
3600
|
}
|
|
3601
3601
|
if (F && typeof F == "object" && "url" in F) {
|
|
3602
|
-
const { url:
|
|
3603
|
-
return /* @__PURE__ */ n(Kt, { sx: j.menuItem, onClick: b, children: /* @__PURE__ */ E(u1, { url:
|
|
3604
|
-
|
|
3602
|
+
const { url: X, label: Y, icon: V, active: K, end: oe, state: Ae } = F, B = `${X}-${Y}-${Q}`;
|
|
3603
|
+
return /* @__PURE__ */ n(Kt, { sx: j.menuItem, onClick: b, children: /* @__PURE__ */ E(u1, { url: X, component: a, active: K, end: oe, state: Ae, children: [
|
|
3604
|
+
V && /* @__PURE__ */ n(Qt, { children: V }),
|
|
3605
3605
|
Y && /* @__PURE__ */ n($e, { children: Y })
|
|
3606
3606
|
] }, B) }, B);
|
|
3607
3607
|
}
|
|
@@ -3641,7 +3641,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
3641
3641
|
...i
|
|
3642
3642
|
}
|
|
3643
3643
|
);
|
|
3644
|
-
},
|
|
3644
|
+
}, Pa = be(ra), ta = ({ fontSize: e, sx: r, color: t = "currentColor" }) => /* @__PURE__ */ E(Me, { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: e, sx: r, children: [
|
|
3645
3645
|
/* @__PURE__ */ n("g", { clipPath: "url(#clip0_12914_201806)", children: /* @__PURE__ */ n(
|
|
3646
3646
|
"path",
|
|
3647
3647
|
{
|
|
@@ -4538,7 +4538,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
4538
4538
|
letterSpacing: -0.3
|
|
4539
4539
|
}
|
|
4540
4540
|
})
|
|
4541
|
-
}, e1 = o1(De(f1)), xt = o1(De(f1, Gi)), bt = o1(De(f1, H)),
|
|
4541
|
+
}, e1 = o1(De(f1)), xt = o1(De(f1, Gi)), bt = o1(De(f1, H)), Va = {
|
|
4542
4542
|
commonTheme: e1,
|
|
4543
4543
|
darkTheme: bt,
|
|
4544
4544
|
lightTheme: xt
|
|
@@ -4602,13 +4602,13 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
4602
4602
|
language: l = "en",
|
|
4603
4603
|
font: d = U1
|
|
4604
4604
|
}) => {
|
|
4605
|
-
var h,
|
|
4606
|
-
const c = { ...U1, ...d }, f = (c == null ? void 0 : c.googleFontName) || ((h = e1.typography.fontFamily) == null ? void 0 : h.split(",")[0]), g = (
|
|
4607
|
-
var y,
|
|
4605
|
+
var h, M;
|
|
4606
|
+
const c = { ...U1, ...d }, f = (c == null ? void 0 : c.googleFontName) || ((h = e1.typography.fontFamily) == null ? void 0 : h.split(",")[0]), g = (M = c == null ? void 0 : c.fontWeight) == null ? void 0 : M.join(";"), x = Ar(() => ({ language: l }), [l]), v = () => {
|
|
4607
|
+
var y, S;
|
|
4608
4608
|
const b = typeof s == "object" ? s : {}, u = {
|
|
4609
4609
|
...l === "fr" && na
|
|
4610
4610
|
};
|
|
4611
|
-
return s === "dark" || typeof s == "object" && "palette" in s && ((y = s == null ? void 0 : s.palette) == null ? void 0 : y.mode) === "dark" ? De(bt, b, u) : s === "light" || typeof s == "object" && "palette" in s && ((
|
|
4611
|
+
return s === "dark" || typeof s == "object" && "palette" in s && ((y = s == null ? void 0 : s.palette) == null ? void 0 : y.mode) === "dark" ? De(bt, b, u) : s === "light" || typeof s == "object" && "palette" in s && ((S = s == null ? void 0 : s.palette) == null ? void 0 : S.mode) === "light" ? De(xt, b, u) : De(e1, b, u);
|
|
4612
4612
|
};
|
|
4613
4613
|
return /* @__PURE__ */ n(yt.Provider, { value: x, children: /* @__PURE__ */ E(tn, { theme: v(), children: [
|
|
4614
4614
|
/* @__PURE__ */ n(
|
|
@@ -4678,25 +4678,25 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
4678
4678
|
icon: x,
|
|
4679
4679
|
onChange: v,
|
|
4680
4680
|
label: h,
|
|
4681
|
-
variant:
|
|
4681
|
+
variant: M = "vertical"
|
|
4682
4682
|
}) => {
|
|
4683
|
-
const { t: b } = vt(), { palette: u } = ge(), y =
|
|
4684
|
-
v == null || v(
|
|
4683
|
+
const { t: b } = vt(), { palette: u } = ge(), y = M === "vertical", S = d || r, w = wr(null), R = wr(null), [p, _] = ae(null), A = ua(p), j = (X) => {
|
|
4684
|
+
v == null || v(X), _(X.target.files);
|
|
4685
4685
|
};
|
|
4686
4686
|
return /* @__PURE__ */ E(
|
|
4687
4687
|
nn,
|
|
4688
4688
|
{
|
|
4689
4689
|
ref: w,
|
|
4690
|
-
htmlFor:
|
|
4691
|
-
onDragOver: (
|
|
4692
|
-
|
|
4690
|
+
htmlFor: S,
|
|
4691
|
+
onDragOver: (X) => {
|
|
4692
|
+
X.preventDefault();
|
|
4693
4693
|
},
|
|
4694
|
-
onDrop: (
|
|
4695
|
-
if (
|
|
4696
|
-
const Y =
|
|
4697
|
-
_(
|
|
4694
|
+
onDrop: (X) => {
|
|
4695
|
+
if (X.preventDefault(), X.dataTransfer.files.length > 0) {
|
|
4696
|
+
const Y = R.current, V = X.dataTransfer.files;
|
|
4697
|
+
_(V);
|
|
4698
4698
|
const K = new DataTransfer();
|
|
4699
|
-
Array.from(
|
|
4699
|
+
Array.from(V).forEach((oe) => K.items.add(oe)), Y && (Y.files = K.files), Y == null || Y.focus(), Y == null || Y.blur(), v == null || v({ ...X, target: Y }), X.dataTransfer.clearData();
|
|
4700
4700
|
}
|
|
4701
4701
|
},
|
|
4702
4702
|
sx: {
|
|
@@ -4706,7 +4706,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
4706
4706
|
border: `1px dashed ${a ? u.error.main : u.divider}`,
|
|
4707
4707
|
borderRadius: 1,
|
|
4708
4708
|
cursor: "pointer",
|
|
4709
|
-
height: pa(c,
|
|
4709
|
+
height: pa(c, M),
|
|
4710
4710
|
maxWidth: g ? "100%" : 400,
|
|
4711
4711
|
padding: 2,
|
|
4712
4712
|
position: "relative",
|
|
@@ -4754,14 +4754,14 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
4754
4754
|
/* @__PURE__ */ n(
|
|
4755
4755
|
"input",
|
|
4756
4756
|
{
|
|
4757
|
-
ref:
|
|
4757
|
+
ref: R,
|
|
4758
4758
|
type: "file",
|
|
4759
4759
|
disabled: t,
|
|
4760
4760
|
required: i,
|
|
4761
4761
|
name: r,
|
|
4762
4762
|
multiple: l,
|
|
4763
4763
|
accept: e,
|
|
4764
|
-
id:
|
|
4764
|
+
id: S,
|
|
4765
4765
|
onChange: j,
|
|
4766
4766
|
style: {
|
|
4767
4767
|
left: "50%",
|
|
@@ -4829,15 +4829,15 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
4829
4829
|
},
|
|
4830
4830
|
children: [
|
|
4831
4831
|
t == null ? void 0 : t.map(
|
|
4832
|
-
({ id: v, title: h, subtitle:
|
|
4833
|
-
var
|
|
4834
|
-
const j = `key-${A}-${h}-${v}`, F = (
|
|
4832
|
+
({ id: v, title: h, subtitle: M, image: b, thumbnail: u, secondaryAction: y, chipLabel: S, chipColor: w, onClick: R, icon: p, Avatar: _ }, A) => {
|
|
4833
|
+
var G, re, le, Se;
|
|
4834
|
+
const j = `key-${A}-${h}-${v}`, F = (G = b == null ? void 0 : b.toLowerCase()) == null ? void 0 : G.endsWith(".pdf"), Q = (re = b == null ? void 0 : b.toLowerCase()) == null ? void 0 : re.startsWith("http"), X = (le = u == null ? void 0 : u.toLowerCase()) == null ? void 0 : le.startsWith("http"), Y = R ? "none" : void 0, V = d || !!p || !Q, K = !!R || !!(!R && !d && (u || b)), oe = f === j, k = (X ? u : "") || (Q ? b : "") || "";
|
|
4835
4835
|
return /* @__PURE__ */ E(
|
|
4836
4836
|
_e,
|
|
4837
4837
|
{
|
|
4838
4838
|
secondaryAction: y,
|
|
4839
4839
|
onClick: (ve) => {
|
|
4840
|
-
|
|
4840
|
+
R == null || R(ve), K && !oe && !R && g(j);
|
|
4841
4841
|
},
|
|
4842
4842
|
sx: {
|
|
4843
4843
|
...rr.listItem,
|
|
@@ -4879,7 +4879,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
4879
4879
|
disableThumb: !0,
|
|
4880
4880
|
src: b,
|
|
4881
4881
|
srcThumb: u,
|
|
4882
|
-
disableLightbox:
|
|
4882
|
+
disableLightbox: V,
|
|
4883
4883
|
open: oe,
|
|
4884
4884
|
onClose: () => g(""),
|
|
4885
4885
|
children: /* @__PURE__ */ n(vr, { src: k, variant: "rounded", sx: { marginRight: er }, children: p || typeof h == "string" && ((Se = h || "") == null ? void 0 : Se.charAt(0).toUpperCase()) })
|
|
@@ -4890,9 +4890,9 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
4890
4890
|
{
|
|
4891
4891
|
primary: /* @__PURE__ */ E(W, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
4892
4892
|
h && /* @__PURE__ */ n(q, { variant: "h6", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: h }),
|
|
4893
|
-
|
|
4893
|
+
S && /* @__PURE__ */ n(nr, { label: S, variant: "rounded", size: "xSmall", color: fa(w) ? w : "default" })
|
|
4894
4894
|
] }),
|
|
4895
|
-
secondary:
|
|
4895
|
+
secondary: M,
|
|
4896
4896
|
primaryTypographyProps: {
|
|
4897
4897
|
component: "div"
|
|
4898
4898
|
},
|
|
@@ -5001,8 +5001,8 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
5001
5001
|
] })
|
|
5002
5002
|
}
|
|
5003
5003
|
),
|
|
5004
|
-
v == null ? void 0 : v.map((h,
|
|
5005
|
-
const b = `header-options-${h == null ? void 0 : h.id}-${
|
|
5004
|
+
v == null ? void 0 : v.map((h, M) => {
|
|
5005
|
+
const b = `header-options-${h == null ? void 0 : h.id}-${M}`, u = Array.isArray(d) && d.some(
|
|
5006
5006
|
(y) => JSON.stringify(y) === JSON.stringify(h) || y && typeof y == "object" && "id" in y && (y == null ? void 0 : y.id) === (h == null ? void 0 : h.id)
|
|
5007
5007
|
);
|
|
5008
5008
|
return /* @__PURE__ */ n(
|
|
@@ -5011,10 +5011,10 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
5011
5011
|
disablePadding: !0,
|
|
5012
5012
|
onMouseDown: (y) => {
|
|
5013
5013
|
if (y.stopPropagation(), y.preventDefault(), u) {
|
|
5014
|
-
const
|
|
5014
|
+
const S = Array.isArray(d) ? d == null ? void 0 : d.filter(
|
|
5015
5015
|
(w) => !(JSON.stringify(w) === JSON.stringify(h) || w && typeof w == "object" && "id" in w && (w == null ? void 0 : w.id) === (h == null ? void 0 : h.id))
|
|
5016
5016
|
) : [];
|
|
5017
|
-
a == null || a(y,
|
|
5017
|
+
a == null || a(y, S, "removeOption");
|
|
5018
5018
|
return;
|
|
5019
5019
|
}
|
|
5020
5020
|
a == null || a(y, [...Array.isArray(d) ? d : [], h], "selectOption");
|
|
@@ -5047,17 +5047,17 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
5047
5047
|
inputValue: x,
|
|
5048
5048
|
disableClearable: v,
|
|
5049
5049
|
loading: h,
|
|
5050
|
-
resetInputValueOnSelectOption:
|
|
5050
|
+
resetInputValueOnSelectOption: M,
|
|
5051
5051
|
renderOption: b,
|
|
5052
5052
|
renderTags: u,
|
|
5053
5053
|
size: y = "small",
|
|
5054
|
-
disableCloseOnSelect:
|
|
5054
|
+
disableCloseOnSelect: S = !0,
|
|
5055
5055
|
multiple: w = !0,
|
|
5056
|
-
options:
|
|
5056
|
+
options: R = [],
|
|
5057
5057
|
slotProps: p,
|
|
5058
5058
|
..._
|
|
5059
5059
|
}, A) => {
|
|
5060
|
-
const { palette: j } = ge(), [F, Q] = ae(!1), [
|
|
5060
|
+
const { palette: j } = ge(), [F, Q] = ae(!1), [X, Y] = ae(""), V = j.mode === "light" ? "default" : "primary", K = x || X;
|
|
5061
5061
|
return /* @__PURE__ */ n(
|
|
5062
5062
|
on,
|
|
5063
5063
|
{
|
|
@@ -5066,18 +5066,18 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
5066
5066
|
disableClearable: v,
|
|
5067
5067
|
value: w ? l || [] : l || null,
|
|
5068
5068
|
loading: h,
|
|
5069
|
-
options:
|
|
5069
|
+
options: R,
|
|
5070
5070
|
ref: A,
|
|
5071
5071
|
size: y,
|
|
5072
|
-
disableCloseOnSelect:
|
|
5073
|
-
onChange: (B, k,
|
|
5072
|
+
disableCloseOnSelect: S,
|
|
5073
|
+
onChange: (B, k, G, re) => {
|
|
5074
5074
|
if (k === null) {
|
|
5075
|
-
e == null || e(B, w ? [] : null,
|
|
5075
|
+
e == null || e(B, w ? [] : null, G, re);
|
|
5076
5076
|
return;
|
|
5077
5077
|
}
|
|
5078
|
-
e == null || e(B, k,
|
|
5078
|
+
e == null || e(B, k, G, re), (!S || !w) && Q(!1);
|
|
5079
5079
|
},
|
|
5080
|
-
getLimitTagsText: ha(
|
|
5080
|
+
getLimitTagsText: ha(V),
|
|
5081
5081
|
inputValue: K,
|
|
5082
5082
|
open: f || F,
|
|
5083
5083
|
onOpen: () => Q(!0),
|
|
@@ -5093,13 +5093,13 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
5093
5093
|
localeText: i,
|
|
5094
5094
|
multiple: w,
|
|
5095
5095
|
onChange: e,
|
|
5096
|
-
options:
|
|
5096
|
+
options: R,
|
|
5097
5097
|
value: l,
|
|
5098
5098
|
...p == null ? void 0 : p.paper
|
|
5099
5099
|
}
|
|
5100
5100
|
},
|
|
5101
|
-
onInputChange: (B, k,
|
|
5102
|
-
|
|
5101
|
+
onInputChange: (B, k, G) => {
|
|
5102
|
+
G === "reset" && F && !M || G === "selectOption" && !M || G === "removeOption" && !M || (x || Y(k), g == null || g(B, k, G));
|
|
5103
5103
|
},
|
|
5104
5104
|
onFocus: (B) => {
|
|
5105
5105
|
Q(!0), d == null || d(B);
|
|
@@ -5107,12 +5107,12 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
5107
5107
|
onBlur: (B) => {
|
|
5108
5108
|
Q(!1), c == null || c(B);
|
|
5109
5109
|
},
|
|
5110
|
-
renderOption: b || ((B, k, { selected:
|
|
5110
|
+
renderOption: b || ((B, k, { selected: G }) => {
|
|
5111
5111
|
var le;
|
|
5112
5112
|
if (h || k != null && k.isHeader)
|
|
5113
5113
|
return null;
|
|
5114
5114
|
const re = `${k == null ? void 0 : k.id}-${B == null ? void 0 : B.key}`;
|
|
5115
|
-
return /* @__PURE__ */ pn(_e, { ...B, key: re }, !r && /* @__PURE__ */ n(Ur, { disableRipple: !0, checked:
|
|
5115
|
+
return /* @__PURE__ */ pn(_e, { ...B, key: re }, !r && /* @__PURE__ */ n(Ur, { disableRipple: !0, checked: G, sx: r1 }), (k == null ? void 0 : k.image) && /* @__PURE__ */ n(
|
|
5116
5116
|
an,
|
|
5117
5117
|
{
|
|
5118
5118
|
sx: {
|
|
@@ -5125,9 +5125,9 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
5125
5125
|
}
|
|
5126
5126
|
), typeof (k == null ? void 0 : k.label) == "string" ? /* @__PURE__ */ n(q, { variant: "body2", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", title: k == null ? void 0 : k.label, children: k.label }) : k == null ? void 0 : k.label);
|
|
5127
5127
|
}),
|
|
5128
|
-
renderTags: u || ((B, k,
|
|
5128
|
+
renderTags: u || ((B, k, G) => Array.isArray(B) ? B.map((re, le) => {
|
|
5129
5129
|
const { key: Se } = k({ index: le });
|
|
5130
|
-
return
|
|
5130
|
+
return G != null && G.focused ? null : /* @__PURE__ */ n(q, { marginX: 1, whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: re == null ? void 0 : re.label }, Se);
|
|
5131
5131
|
}) : null),
|
|
5132
5132
|
..._,
|
|
5133
5133
|
renderInput: (B) => {
|
|
@@ -5135,7 +5135,7 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
5135
5135
|
const k = () => {
|
|
5136
5136
|
if (!(!F && (Array.isArray(l) && l.length || !Array.isArray(l) && l)))
|
|
5137
5137
|
return t;
|
|
5138
|
-
},
|
|
5138
|
+
}, G = Tr((re = B.InputProps) == null ? void 0 : re.endAdornment) ? (le = B.InputProps) == null ? void 0 : le.endAdornment : null;
|
|
5139
5139
|
return /* @__PURE__ */ n(
|
|
5140
5140
|
n1,
|
|
5141
5141
|
{
|
|
@@ -5159,10 +5159,10 @@ const B1 = 32, xi = 24, bi = 105, yi = 24, vi = 195, mi = 44, wi = 147, Ei = ()
|
|
|
5159
5159
|
},
|
|
5160
5160
|
children: [
|
|
5161
5161
|
F && K && !v && /* @__PURE__ */ n(ke, { size: "small", onClick: () => Y(""), sx: { marginRight: "-3px" }, children: /* @__PURE__ */ n(p1, { sx: { fontSize: J(20) } }) }),
|
|
5162
|
-
|
|
5162
|
+
G == null ? void 0 : G.props.children[1]
|
|
5163
5163
|
]
|
|
5164
5164
|
}
|
|
5165
|
-
) :
|
|
5165
|
+
) : G
|
|
5166
5166
|
}
|
|
5167
5167
|
},
|
|
5168
5168
|
placeholder: k()
|
|
@@ -5259,7 +5259,7 @@ export {
|
|
|
5259
5259
|
La as Backoffice,
|
|
5260
5260
|
Aa as Button,
|
|
5261
5261
|
Ea as CardModal,
|
|
5262
|
-
|
|
5262
|
+
Pa as Chip,
|
|
5263
5263
|
ka as DialogCloseIcon,
|
|
5264
5264
|
Da as File,
|
|
5265
5265
|
Qr as FileViewer,
|
|
@@ -5286,7 +5286,7 @@ export {
|
|
|
5286
5286
|
Ia as TypographySkeleton,
|
|
5287
5287
|
Ya as getBackgroundImageElevation,
|
|
5288
5288
|
J as pxToRem,
|
|
5289
|
-
|
|
5289
|
+
Va as theme,
|
|
5290
5290
|
Ki as useMenu,
|
|
5291
5291
|
fn as usePermission,
|
|
5292
5292
|
Wa as useSnackbar,
|