@tracktor/design-system 2.7.4 → 2.7.5
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 -2
- package/dist/main.cjs +11 -11
- package/dist/main.js +313 -312
- package/dist/src/components/DataDisplay/FileViewer/FileViewer.d.ts +2 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -11,8 +11,8 @@ const ln = {
|
|
|
11
11
|
}, Jr = tr(ln), kr = (e, r) => e === "" || !r.length ? !1 : r.some((t) => e === t), cn = () => {
|
|
12
12
|
const { permissions: e, setPermissions: r, disabledPermissions: t } = Ee(Jr), i = ne(
|
|
13
13
|
(s, l) => {
|
|
14
|
-
const c = [...l || [], ...e || []].filter((
|
|
15
|
-
return c ? Array.isArray(s) ? s.some((
|
|
14
|
+
const c = [...l || [], ...e || []].filter((u) => !(t != null && t.includes(u)));
|
|
15
|
+
return c ? Array.isArray(s) ? s.some((u) => kr(u, c)) : kr(s, c) : !1;
|
|
16
16
|
},
|
|
17
17
|
[t, e]
|
|
18
18
|
);
|
|
@@ -47,9 +47,9 @@ function dn() {
|
|
|
47
47
|
if (Tr) return Ye;
|
|
48
48
|
Tr = 1;
|
|
49
49
|
var e = Xr, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
50
|
-
function l(d, c,
|
|
50
|
+
function l(d, c, u) {
|
|
51
51
|
var h, C = {}, x = null, b = null;
|
|
52
|
-
|
|
52
|
+
u !== void 0 && (x = "" + u), c.key !== void 0 && (x = "" + c.key), c.ref !== void 0 && (b = c.ref);
|
|
53
53
|
for (h in c) i.call(c, h) && !s.hasOwnProperty(h) && (C[h] = c[h]);
|
|
54
54
|
if (d && d.defaultProps) for (h in c = d.defaultProps, c) C[h] === void 0 && (C[h] = c[h]);
|
|
55
55
|
return { $$typeof: r, type: d, key: x, ref: b, props: C, _owner: a.current };
|
|
@@ -69,22 +69,22 @@ var Ue = {};
|
|
|
69
69
|
var Ar;
|
|
70
70
|
function pn() {
|
|
71
71
|
return Ar || (Ar = 1, process.env.NODE_ENV !== "production" && function() {
|
|
72
|
-
var e = Xr, 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"),
|
|
73
|
-
function
|
|
72
|
+
var e = Xr, 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"), u = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), E = Symbol.iterator, y = "@@iterator";
|
|
73
|
+
function f(o) {
|
|
74
74
|
if (o === null || typeof o != "object")
|
|
75
75
|
return null;
|
|
76
76
|
var g = E && o[E] || o[y];
|
|
77
77
|
return typeof g == "function" ? g : null;
|
|
78
78
|
}
|
|
79
79
|
var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
80
|
-
function
|
|
80
|
+
function S(o) {
|
|
81
81
|
{
|
|
82
82
|
for (var g = arguments.length, v = new Array(g > 1 ? g - 1 : 0), _ = 1; _ < g; _++)
|
|
83
83
|
v[_ - 1] = arguments[_];
|
|
84
|
-
|
|
84
|
+
M("error", o, v);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function M(o, g, v) {
|
|
88
88
|
{
|
|
89
89
|
var _ = w.ReactDebugCurrentFrame, D = _.getStackAddendum();
|
|
90
90
|
D !== "" && (g += "%s", v = v.concat([D]));
|
|
@@ -94,10 +94,10 @@ function pn() {
|
|
|
94
94
|
W.unshift("Warning: " + g), Function.prototype.apply.call(console[o], console, W);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var T = !1, p = !1, A = !1, k = !1, K = !1, j;
|
|
98
98
|
j = Symbol.for("react.module.reference");
|
|
99
99
|
function he(o) {
|
|
100
|
-
return !!(typeof o == "string" || typeof o == "function" || o === i || o === s || K || o === a || o ===
|
|
100
|
+
return !!(typeof o == "string" || typeof o == "function" || o === i || o === s || K || o === a || o === u || o === h || k || o === b || T || p || A || typeof o == "object" && o !== null && (o.$$typeof === x || o.$$typeof === C || 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.
|
|
@@ -116,7 +116,7 @@ function pn() {
|
|
|
116
116
|
function P(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;
|
|
@@ -129,7 +129,7 @@ function pn() {
|
|
|
129
129
|
return "Profiler";
|
|
130
130
|
case a:
|
|
131
131
|
return "StrictMode";
|
|
132
|
-
case
|
|
132
|
+
case u:
|
|
133
133
|
return "Suspense";
|
|
134
134
|
case h:
|
|
135
135
|
return "SuspenseList";
|
|
@@ -217,7 +217,7 @@ function pn() {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
|
-
ie < 0 &&
|
|
220
|
+
ie < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
var Be = w.ReactCurrentDispatcher, Ze;
|
|
@@ -325,7 +325,7 @@ function pn() {
|
|
|
325
325
|
if (typeof o == "string")
|
|
326
326
|
return ke(o);
|
|
327
327
|
switch (o) {
|
|
328
|
-
case
|
|
328
|
+
case u:
|
|
329
329
|
return ke("Suspense");
|
|
330
330
|
case h:
|
|
331
331
|
return ke("SuspenseList");
|
|
@@ -369,7 +369,7 @@ function pn() {
|
|
|
369
369
|
} catch (X) {
|
|
370
370
|
H = X;
|
|
371
371
|
}
|
|
372
|
-
H && !(H instanceof Error) && (d1(D),
|
|
372
|
+
H && !(H instanceof Error) && (d1(D), 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).", _ || "React class", v, L, typeof H), d1(null)), H instanceof Error && !(H.message in ur) && (ur[H.message] = !0, d1(D), S("Failed %s type: %s", v, H.message), d1(null));
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
}
|
|
@@ -395,7 +395,7 @@ function pn() {
|
|
|
395
395
|
}
|
|
396
396
|
function gr(o) {
|
|
397
397
|
if (mt(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.", vt(o)), hr(o);
|
|
399
399
|
}
|
|
400
400
|
var We = w.ReactCurrentOwner, wt = {
|
|
401
401
|
key: !0,
|
|
@@ -423,13 +423,13 @@ function pn() {
|
|
|
423
423
|
function St(o, g) {
|
|
424
424
|
if (typeof o.ref == "string" && We.current && g && We.current.stateNode !== g) {
|
|
425
425
|
var v = P(We.current.type);
|
|
426
|
-
L1[v] || (
|
|
426
|
+
L1[v] || (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', P(We.current.type), o.ref), L1[v] = !0);
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
429
|
function Rt(o, g) {
|
|
430
430
|
{
|
|
431
431
|
var v = function() {
|
|
432
|
-
Cr || (Cr = !0,
|
|
432
|
+
Cr || (Cr = !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)", g));
|
|
433
433
|
};
|
|
434
434
|
v.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
435
435
|
get: v,
|
|
@@ -440,7 +440,7 @@ function pn() {
|
|
|
440
440
|
function kt(o, g) {
|
|
441
441
|
{
|
|
442
442
|
var v = function() {
|
|
443
|
-
xr || (xr = !0,
|
|
443
|
+
xr || (xr = !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)", g));
|
|
444
444
|
};
|
|
445
445
|
v.isReactWarning = !0, Object.defineProperty(o, "ref", {
|
|
446
446
|
get: v,
|
|
@@ -546,7 +546,7 @@ Check the top-level render call using <` + v + ">.");
|
|
|
546
546
|
return;
|
|
547
547
|
vr[v] = !0;
|
|
548
548
|
var _ = "";
|
|
549
|
-
o && o._owner && o._owner !== O1.current && (_ = " It was passed a child from " + P(o._owner.type) + "."), _e(o),
|
|
549
|
+
o && o._owner && o._owner !== O1.current && (_ = " It was passed a child from " + P(o._owner.type) + "."), _e(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.', v, _), _e(null);
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
function wr(o, g) {
|
|
@@ -561,7 +561,7 @@ Check the top-level render call using <` + v + ">.");
|
|
|
561
561
|
else if (V1(o))
|
|
562
562
|
o._store && (o._store.validated = !0);
|
|
563
563
|
else if (o) {
|
|
564
|
-
var D =
|
|
564
|
+
var D = f(o);
|
|
565
565
|
if (typeof D == "function" && D !== o.entries)
|
|
566
566
|
for (var W = D.call(o), L; !(L = W.next()).done; )
|
|
567
567
|
V1(L.value) && mr(L.value, g);
|
|
@@ -588,9 +588,9 @@ Check the top-level render call using <` + v + ">.");
|
|
|
588
588
|
} else if (g.PropTypes !== void 0 && !P1) {
|
|
589
589
|
P1 = !0;
|
|
590
590
|
var D = P(g);
|
|
591
|
-
|
|
591
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", D || "Unknown");
|
|
592
592
|
}
|
|
593
|
-
typeof g.getDefaultProps == "function" && !g.getDefaultProps.isReactClassApproved &&
|
|
593
|
+
typeof g.getDefaultProps == "function" && !g.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
function Ht(o) {
|
|
@@ -598,11 +598,11 @@ Check the top-level render call using <` + v + ">.");
|
|
|
598
598
|
for (var g = Object.keys(o.props), v = 0; v < g.length; v++) {
|
|
599
599
|
var _ = g[v];
|
|
600
600
|
if (_ !== "children" && _ !== "key") {
|
|
601
|
-
_e(o),
|
|
601
|
+
_e(o), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), _e(null);
|
|
602
602
|
break;
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
|
-
o.ref !== null && (_e(o),
|
|
605
|
+
o.ref !== null && (_e(o), S("Invalid attribute `ref` supplied to `React.Fragment`."), _e(null));
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
608
|
var Er = {};
|
|
@@ -615,7 +615,7 @@ Check the top-level render call using <` + v + ">.");
|
|
|
615
615
|
var te = _t();
|
|
616
616
|
te ? H += te : H += yr();
|
|
617
617
|
var X;
|
|
618
|
-
o === null ? X = "null" : H1(o) ? X = "array" : o !== void 0 && o.$$typeof === r ? (X = "<" + (P(o.type) || "Unknown") + " />", H = " Did you accidentally export a JSX literal instead of a component?") : X = typeof o,
|
|
618
|
+
o === null ? X = "null" : H1(o) ? X = "array" : o !== void 0 && o.$$typeof === r ? (X = "<" + (P(o.type) || "Unknown") + " />", H = " Did you accidentally export a JSX literal instead of a component?") : X = 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", X, H);
|
|
619
619
|
}
|
|
620
620
|
var q = At(o, g, v, D, W);
|
|
621
621
|
if (q == null)
|
|
@@ -629,7 +629,7 @@ Check the top-level render call using <` + v + ">.");
|
|
|
629
629
|
wr(de[Fe], o);
|
|
630
630
|
Object.freeze && Object.freeze(de);
|
|
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
|
wr(de, o);
|
|
635
635
|
}
|
|
@@ -639,7 +639,7 @@ Check the top-level render call using <` + v + ">.");
|
|
|
639
639
|
}), $1 = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
640
640
|
if (!Er[Re + $1]) {
|
|
641
641
|
var $t = ae.length > 0 ? "{" + ae.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:
|
|
@@ -845,26 +845,26 @@ function An(e) {
|
|
|
845
845
|
return nt(C1("", null, null, null, [""], e = tt(e), 0, [0], e));
|
|
846
846
|
}
|
|
847
847
|
function C1(e, r, t, i, a, s, l, d, c) {
|
|
848
|
-
for (var
|
|
849
|
-
switch (E =
|
|
848
|
+
for (var u = 0, h = 0, C = l, x = 0, b = 0, E = 0, y = 1, f = 1, w = 1, S = 0, M = "", T = a, p = s, A = i, k = M; f; )
|
|
849
|
+
switch (E = S, S = le()) {
|
|
850
850
|
case 40:
|
|
851
|
-
if (E != 108 && Q(
|
|
852
|
-
Y1(
|
|
851
|
+
if (E != 108 && Q(k, C - 1) == 58) {
|
|
852
|
+
Y1(k += $(g1(S), "&", "&\f"), "&\f") != -1 && (w = -1);
|
|
853
853
|
break;
|
|
854
854
|
}
|
|
855
855
|
case 34:
|
|
856
856
|
case 39:
|
|
857
857
|
case 91:
|
|
858
|
-
|
|
858
|
+
k += g1(S);
|
|
859
859
|
break;
|
|
860
860
|
case 9:
|
|
861
861
|
case 10:
|
|
862
862
|
case 13:
|
|
863
863
|
case 32:
|
|
864
|
-
|
|
864
|
+
k += Sn(E);
|
|
865
865
|
break;
|
|
866
866
|
case 92:
|
|
867
|
-
|
|
867
|
+
k += Rn(h1() - 1, 7);
|
|
868
868
|
continue;
|
|
869
869
|
case 47:
|
|
870
870
|
switch (xe()) {
|
|
@@ -873,71 +873,71 @@ function C1(e, r, t, i, a, s, l, d, c) {
|
|
|
873
873
|
p1(_n(kn(le(), h1()), r, t), c);
|
|
874
874
|
break;
|
|
875
875
|
default:
|
|
876
|
-
|
|
876
|
+
k += "/";
|
|
877
877
|
}
|
|
878
878
|
break;
|
|
879
879
|
case 123 * y:
|
|
880
|
-
d[
|
|
880
|
+
d[u++] = ge(k) * w;
|
|
881
881
|
case 125 * y:
|
|
882
882
|
case 59:
|
|
883
883
|
case 0:
|
|
884
|
-
switch (
|
|
884
|
+
switch (S) {
|
|
885
885
|
case 0:
|
|
886
886
|
case 125:
|
|
887
|
-
|
|
887
|
+
f = 0;
|
|
888
888
|
case 59 + h:
|
|
889
|
-
w == -1 && (
|
|
889
|
+
w == -1 && (k = $(k, /\f/g, "")), b > 0 && ge(k) - C && p1(b > 32 ? Fr(k + ";", i, t, C - 1) : Fr($(k, " ", "") + ";", i, t, C - 2), c);
|
|
890
890
|
break;
|
|
891
891
|
case 59:
|
|
892
|
-
|
|
892
|
+
k += ";";
|
|
893
893
|
default:
|
|
894
|
-
if (p1(
|
|
894
|
+
if (p1(A = _r(k, r, t, u, h, a, d, M, T = [], p = [], C), s), S === 123)
|
|
895
895
|
if (h === 0)
|
|
896
|
-
C1(
|
|
896
|
+
C1(k, r, A, A, T, s, C, d, p);
|
|
897
897
|
else
|
|
898
|
-
switch (x === 99 && Q(
|
|
898
|
+
switch (x === 99 && Q(k, 3) === 110 ? 100 : x) {
|
|
899
899
|
case 100:
|
|
900
900
|
case 108:
|
|
901
901
|
case 109:
|
|
902
902
|
case 115:
|
|
903
|
-
C1(e,
|
|
903
|
+
C1(e, A, A, i && p1(_r(e, A, A, 0, 0, a, d, M, a, T = [], C), p), a, p, C, d, i ? T : p);
|
|
904
904
|
break;
|
|
905
905
|
default:
|
|
906
|
-
C1(
|
|
906
|
+
C1(k, A, A, A, [""], p, 0, d, p);
|
|
907
907
|
}
|
|
908
908
|
}
|
|
909
|
-
|
|
909
|
+
u = h = b = 0, y = w = 1, M = k = "", C = l;
|
|
910
910
|
break;
|
|
911
911
|
case 58:
|
|
912
|
-
C = 1 + ge(
|
|
912
|
+
C = 1 + ge(k), b = E;
|
|
913
913
|
default:
|
|
914
914
|
if (y < 1) {
|
|
915
|
-
if (
|
|
915
|
+
if (S == 123)
|
|
916
916
|
--y;
|
|
917
|
-
else if (
|
|
917
|
+
else if (S == 125 && y++ == 0 && Mn() == 125)
|
|
918
918
|
continue;
|
|
919
919
|
}
|
|
920
|
-
switch (
|
|
920
|
+
switch (k += R1(S), S * y) {
|
|
921
921
|
case 38:
|
|
922
|
-
w = h > 0 ? 1 : (
|
|
922
|
+
w = h > 0 ? 1 : (k += "\f", -1);
|
|
923
923
|
break;
|
|
924
924
|
case 44:
|
|
925
|
-
d[
|
|
925
|
+
d[u++] = (ge(k) - 1) * w, w = 1;
|
|
926
926
|
break;
|
|
927
927
|
case 64:
|
|
928
|
-
xe() === 45 && (
|
|
928
|
+
xe() === 45 && (k += g1(le())), x = xe(), h = C = ge(M = k += Tn(h1())), S++;
|
|
929
929
|
break;
|
|
930
930
|
case 45:
|
|
931
|
-
E === 45 && ge(
|
|
931
|
+
E === 45 && ge(k) == 2 && (y = 0);
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
return s;
|
|
935
935
|
}
|
|
936
|
-
function _r(e, r, t, i, a, s, l, d, c,
|
|
937
|
-
for (var C = a - 1, x = a === 0 ? s : [""], b = lr(x), E = 0, y = 0,
|
|
938
|
-
for (var w = 0,
|
|
939
|
-
(
|
|
940
|
-
return T1(e, r, t, a === 0 ? or : d, c,
|
|
936
|
+
function _r(e, r, t, i, a, s, l, d, c, u, h) {
|
|
937
|
+
for (var C = a - 1, x = a === 0 ? s : [""], b = lr(x), E = 0, y = 0, f = 0; E < i; ++E)
|
|
938
|
+
for (var w = 0, S = t1(e, C + 1, C = bn(y = l[E])), M = e; w < b; ++w)
|
|
939
|
+
(M = et(y > 0 ? x[w] + " " + S : $(S, /&\f/g, x[w]))) && (c[f++] = M);
|
|
940
|
+
return T1(e, r, t, a === 0 ? or : d, c, u, h);
|
|
941
941
|
}
|
|
942
942
|
function _n(e, r, t) {
|
|
943
943
|
return T1(e, r, t, Kr, R1(En()), t1(e, 2, -2), 0);
|
|
@@ -1019,9 +1019,9 @@ var On = function(r, t, i) {
|
|
|
1019
1019
|
if (i = i.parent, !i) return;
|
|
1020
1020
|
if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !Ir.get(i)) && !a) {
|
|
1021
1021
|
Ir.set(r, !0);
|
|
1022
|
-
for (var s = [], l = Vn(t, s), d = i.props, c = 0,
|
|
1023
|
-
for (var h = 0; h < d.length; h++,
|
|
1024
|
-
r.props[
|
|
1022
|
+
for (var s = [], l = Vn(t, s), d = i.props, c = 0, u = 0; c < l.length; c++)
|
|
1023
|
+
for (var h = 0; h < d.length; h++, u++)
|
|
1024
|
+
r.props[u] = s[c] ? l[c].replace(/&\f/g, d[h]) : d[h] + " " + l[c];
|
|
1025
1025
|
}
|
|
1026
1026
|
}
|
|
1027
1027
|
}, Dn = function(r) {
|
|
@@ -1177,8 +1177,8 @@ var Bn = function(r, t, i, a) {
|
|
|
1177
1177
|
if (t === "css") {
|
|
1178
1178
|
var i = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
1179
1179
|
Array.prototype.forEach.call(i, function(y) {
|
|
1180
|
-
var
|
|
1181
|
-
|
|
1180
|
+
var f = y.getAttribute("data-emotion");
|
|
1181
|
+
f.indexOf(" ") !== -1 && (document.head.appendChild(y), y.setAttribute("data-s", ""));
|
|
1182
1182
|
});
|
|
1183
1183
|
}
|
|
1184
1184
|
var a = r.stylisPlugins || Zn, s = {}, l, d = [];
|
|
@@ -1187,20 +1187,20 @@ var Bn = function(r, t, i, a) {
|
|
|
1187
1187
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
1188
1188
|
document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
|
|
1189
1189
|
function(y) {
|
|
1190
|
-
for (var
|
|
1191
|
-
s[
|
|
1190
|
+
for (var f = y.getAttribute("data-emotion").split(" "), w = 1; w < f.length; w++)
|
|
1191
|
+
s[f[w]] = !0;
|
|
1192
1192
|
d.push(y);
|
|
1193
1193
|
}
|
|
1194
1194
|
);
|
|
1195
|
-
var c,
|
|
1195
|
+
var c, u = [$n, Dn];
|
|
1196
1196
|
{
|
|
1197
1197
|
var h, C = [Fn, Hn(function(y) {
|
|
1198
1198
|
h.insert(y);
|
|
1199
|
-
})], x = In(
|
|
1200
|
-
return Le(An(
|
|
1199
|
+
})], x = In(u.concat(a, C)), b = function(f) {
|
|
1200
|
+
return Le(An(f), x);
|
|
1201
1201
|
};
|
|
1202
|
-
c = function(
|
|
1203
|
-
h =
|
|
1202
|
+
c = function(f, w, S, M) {
|
|
1203
|
+
h = S, b(f ? f + "{" + w.styles + "}" : w.styles), M && (E.inserted[w.name] = !0);
|
|
1204
1204
|
};
|
|
1205
1205
|
}
|
|
1206
1206
|
var E = {
|
|
@@ -1232,15 +1232,15 @@ var Hr;
|
|
|
1232
1232
|
function Nn() {
|
|
1233
1233
|
if (Hr) return B;
|
|
1234
1234
|
Hr = 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,
|
|
1236
|
-
function
|
|
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, u = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
1236
|
+
function M(p) {
|
|
1237
1237
|
if (typeof p == "object" && p !== null) {
|
|
1238
|
-
var
|
|
1239
|
-
switch (
|
|
1238
|
+
var A = p.$$typeof;
|
|
1239
|
+
switch (A) {
|
|
1240
1240
|
case r:
|
|
1241
1241
|
switch (p = p.type, p) {
|
|
1242
1242
|
case c:
|
|
1243
|
-
case
|
|
1243
|
+
case u:
|
|
1244
1244
|
case i:
|
|
1245
1245
|
case s:
|
|
1246
1246
|
case a:
|
|
@@ -1255,44 +1255,44 @@ function Nn() {
|
|
|
1255
1255
|
case l:
|
|
1256
1256
|
return p;
|
|
1257
1257
|
default:
|
|
1258
|
-
return
|
|
1258
|
+
return A;
|
|
1259
1259
|
}
|
|
1260
1260
|
}
|
|
1261
1261
|
case t:
|
|
1262
|
-
return
|
|
1262
|
+
return A;
|
|
1263
1263
|
}
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
|
-
function
|
|
1267
|
-
return
|
|
1266
|
+
function T(p) {
|
|
1267
|
+
return M(p) === u;
|
|
1268
1268
|
}
|
|
1269
|
-
return B.AsyncMode = c, B.ConcurrentMode =
|
|
1270
|
-
return
|
|
1271
|
-
}, B.isConcurrentMode =
|
|
1272
|
-
return
|
|
1269
|
+
return B.AsyncMode = c, B.ConcurrentMode = u, B.ContextConsumer = d, B.ContextProvider = l, B.Element = r, B.ForwardRef = h, B.Fragment = i, B.Lazy = E, B.Memo = b, B.Portal = t, B.Profiler = s, B.StrictMode = a, B.Suspense = C, B.isAsyncMode = function(p) {
|
|
1270
|
+
return T(p) || M(p) === c;
|
|
1271
|
+
}, B.isConcurrentMode = T, B.isContextConsumer = function(p) {
|
|
1272
|
+
return M(p) === d;
|
|
1273
1273
|
}, B.isContextProvider = function(p) {
|
|
1274
|
-
return
|
|
1274
|
+
return M(p) === l;
|
|
1275
1275
|
}, B.isElement = function(p) {
|
|
1276
1276
|
return typeof p == "object" && p !== null && p.$$typeof === r;
|
|
1277
1277
|
}, B.isForwardRef = function(p) {
|
|
1278
|
-
return
|
|
1278
|
+
return M(p) === h;
|
|
1279
1279
|
}, B.isFragment = function(p) {
|
|
1280
|
-
return
|
|
1280
|
+
return M(p) === i;
|
|
1281
1281
|
}, B.isLazy = function(p) {
|
|
1282
|
-
return
|
|
1282
|
+
return M(p) === E;
|
|
1283
1283
|
}, B.isMemo = function(p) {
|
|
1284
|
-
return
|
|
1284
|
+
return M(p) === b;
|
|
1285
1285
|
}, B.isPortal = function(p) {
|
|
1286
|
-
return
|
|
1286
|
+
return M(p) === t;
|
|
1287
1287
|
}, B.isProfiler = function(p) {
|
|
1288
|
-
return
|
|
1288
|
+
return M(p) === s;
|
|
1289
1289
|
}, B.isStrictMode = function(p) {
|
|
1290
|
-
return
|
|
1290
|
+
return M(p) === a;
|
|
1291
1291
|
}, B.isSuspense = function(p) {
|
|
1292
|
-
return
|
|
1292
|
+
return M(p) === C;
|
|
1293
1293
|
}, B.isValidElementType = function(p) {
|
|
1294
|
-
return typeof p == "string" || typeof p == "function" || p === i || p ===
|
|
1295
|
-
}, B.typeOf =
|
|
1294
|
+
return typeof p == "string" || typeof p == "function" || p === i || p === u || p === s || p === a || p === C || p === x || typeof p == "object" && p !== null && (p.$$typeof === E || p.$$typeof === b || p.$$typeof === l || p.$$typeof === d || p.$$typeof === h || p.$$typeof === f || p.$$typeof === w || p.$$typeof === S || p.$$typeof === y);
|
|
1295
|
+
}, B.typeOf = M, B;
|
|
1296
1296
|
}
|
|
1297
1297
|
var Z = {};
|
|
1298
1298
|
/** @license React v16.13.1
|
|
@@ -1306,12 +1306,12 @@ var Z = {};
|
|
|
1306
1306
|
var Lr;
|
|
1307
1307
|
function jn() {
|
|
1308
1308
|
return Lr || (Lr = 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,
|
|
1310
|
-
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, u = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
1310
|
+
function M(R) {
|
|
1311
1311
|
return typeof R == "string" || typeof R == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1312
|
-
R === i || R ===
|
|
1312
|
+
R === i || R === u || R === s || R === a || R === C || R === x || typeof R == "object" && R !== null && (R.$$typeof === E || R.$$typeof === b || R.$$typeof === l || R.$$typeof === d || R.$$typeof === h || R.$$typeof === f || R.$$typeof === w || R.$$typeof === S || R.$$typeof === y);
|
|
1313
1313
|
}
|
|
1314
|
-
function
|
|
1314
|
+
function T(R) {
|
|
1315
1315
|
if (typeof R == "object" && R !== null) {
|
|
1316
1316
|
var Ne = R.$$typeof;
|
|
1317
1317
|
switch (Ne) {
|
|
@@ -1319,7 +1319,7 @@ function jn() {
|
|
|
1319
1319
|
var Ae = R.type;
|
|
1320
1320
|
switch (Ae) {
|
|
1321
1321
|
case c:
|
|
1322
|
-
case
|
|
1322
|
+
case u:
|
|
1323
1323
|
case i:
|
|
1324
1324
|
case s:
|
|
1325
1325
|
case a:
|
|
@@ -1343,47 +1343,47 @@ function jn() {
|
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
|
-
var p = c,
|
|
1346
|
+
var p = c, A = u, k = d, K = l, j = r, he = h, N = i, O = E, P = b, Y = t, ie = s, ve = a, Me = C, $e = !1;
|
|
1347
1347
|
function o1(R) {
|
|
1348
|
-
return $e || ($e = !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.")), De(R) ||
|
|
1348
|
+
return $e || ($e = !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.")), De(R) || T(R) === c;
|
|
1349
1349
|
}
|
|
1350
1350
|
function De(R) {
|
|
1351
|
-
return
|
|
1351
|
+
return T(R) === u;
|
|
1352
1352
|
}
|
|
1353
1353
|
function s1(R) {
|
|
1354
|
-
return
|
|
1354
|
+
return T(R) === d;
|
|
1355
1355
|
}
|
|
1356
1356
|
function l1(R) {
|
|
1357
|
-
return
|
|
1357
|
+
return T(R) === l;
|
|
1358
1358
|
}
|
|
1359
1359
|
function c1(R) {
|
|
1360
1360
|
return typeof R == "object" && R !== null && R.$$typeof === r;
|
|
1361
1361
|
}
|
|
1362
1362
|
function _1(R) {
|
|
1363
|
-
return
|
|
1363
|
+
return T(R) === h;
|
|
1364
1364
|
}
|
|
1365
1365
|
function F1(R) {
|
|
1366
|
-
return
|
|
1366
|
+
return T(R) === i;
|
|
1367
1367
|
}
|
|
1368
1368
|
function Be(R) {
|
|
1369
|
-
return
|
|
1369
|
+
return T(R) === E;
|
|
1370
1370
|
}
|
|
1371
1371
|
function Ze(R) {
|
|
1372
|
-
return
|
|
1372
|
+
return T(R) === b;
|
|
1373
1373
|
}
|
|
1374
1374
|
function ke(R) {
|
|
1375
|
-
return
|
|
1375
|
+
return T(R) === t;
|
|
1376
1376
|
}
|
|
1377
1377
|
function ze(R) {
|
|
1378
|
-
return
|
|
1378
|
+
return T(R) === s;
|
|
1379
1379
|
}
|
|
1380
1380
|
function Te(R) {
|
|
1381
|
-
return
|
|
1381
|
+
return T(R) === a;
|
|
1382
1382
|
}
|
|
1383
1383
|
function I1(R) {
|
|
1384
|
-
return
|
|
1384
|
+
return T(R) === C;
|
|
1385
1385
|
}
|
|
1386
|
-
Z.AsyncMode = p, Z.ConcurrentMode =
|
|
1386
|
+
Z.AsyncMode = p, Z.ConcurrentMode = A, Z.ContextConsumer = k, Z.ContextProvider = K, Z.Element = j, Z.ForwardRef = he, Z.Fragment = N, Z.Lazy = O, Z.Memo = P, Z.Portal = Y, Z.Profiler = ie, Z.StrictMode = ve, Z.Suspense = Me, Z.isAsyncMode = o1, Z.isConcurrentMode = De, Z.isContextConsumer = s1, Z.isContextProvider = l1, Z.isElement = c1, Z.isForwardRef = _1, Z.isFragment = F1, Z.isLazy = Be, Z.isMemo = Ze, Z.isPortal = ke, Z.isProfiler = ze, Z.isStrictMode = Te, Z.isSuspense = I1, Z.isValidElementType = M, Z.typeOf = T;
|
|
1387
1387
|
}()), Z;
|
|
1388
1388
|
}
|
|
1389
1389
|
process.env.NODE_ENV === "production" ? G1.exports = Nn() : G1.exports = jn();
|
|
@@ -1555,8 +1555,8 @@ function i1(e, r, t) {
|
|
|
1555
1555
|
}
|
|
1556
1556
|
case "function": {
|
|
1557
1557
|
if (e !== void 0) {
|
|
1558
|
-
var c = Ce,
|
|
1559
|
-
return Ce = c, i1(e, r,
|
|
1558
|
+
var c = Ce, u = t(e);
|
|
1559
|
+
return Ce = c, i1(e, r, u);
|
|
1560
1560
|
}
|
|
1561
1561
|
break;
|
|
1562
1562
|
}
|
|
@@ -1582,15 +1582,15 @@ function ni(e, r, t) {
|
|
|
1582
1582
|
for (var c = 0; c < l.length; c++)
|
|
1583
1583
|
Or(l[c]) && (i += D1(s) + ":" + Pr(s, l[c]) + ";");
|
|
1584
1584
|
else {
|
|
1585
|
-
var
|
|
1585
|
+
var u = i1(e, r, l);
|
|
1586
1586
|
switch (s) {
|
|
1587
1587
|
case "animation":
|
|
1588
1588
|
case "animationName": {
|
|
1589
|
-
i += D1(s) + ":" +
|
|
1589
|
+
i += D1(s) + ":" + u + ";";
|
|
1590
1590
|
break;
|
|
1591
1591
|
}
|
|
1592
1592
|
default:
|
|
1593
|
-
i += s + "{" +
|
|
1593
|
+
i += s + "{" + u + "}";
|
|
1594
1594
|
}
|
|
1595
1595
|
}
|
|
1596
1596
|
}
|
|
@@ -1616,9 +1616,9 @@ function ii(e, r, t) {
|
|
|
1616
1616
|
a += c[d];
|
|
1617
1617
|
}
|
|
1618
1618
|
Vr.lastIndex = 0;
|
|
1619
|
-
for (var
|
|
1620
|
-
|
|
1621
|
-
var C = Jn(a) +
|
|
1619
|
+
for (var u = "", h; (h = Vr.exec(a)) !== null; )
|
|
1620
|
+
u += "-" + h[1];
|
|
1621
|
+
var C = Jn(a) + u;
|
|
1622
1622
|
return {
|
|
1623
1623
|
name: C,
|
|
1624
1624
|
styles: a,
|
|
@@ -1664,8 +1664,8 @@ var ci = function(r) {
|
|
|
1664
1664
|
var d = ii(s, void 0, ye.useContext(di));
|
|
1665
1665
|
l += r.key + "-" + d.name;
|
|
1666
1666
|
var c = {};
|
|
1667
|
-
for (var
|
|
1668
|
-
A1.call(e,
|
|
1667
|
+
for (var u in e)
|
|
1668
|
+
A1.call(e, u) && u !== "css" && u !== X1 && !li && (c[u] = e[u]);
|
|
1669
1669
|
return c.className = l, t && (c.ref = t), /* @__PURE__ */ ye.createElement(ye.Fragment, null, /* @__PURE__ */ ye.createElement(pi, {
|
|
1670
1670
|
cache: r,
|
|
1671
1671
|
serialized: d,
|
|
@@ -1705,8 +1705,8 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
1705
1705
|
variant: l,
|
|
1706
1706
|
width: d,
|
|
1707
1707
|
height: c,
|
|
1708
|
-
withoutText:
|
|
1709
|
-
}) =>
|
|
1708
|
+
withoutText: u
|
|
1709
|
+
}) => u ? {
|
|
1710
1710
|
height: $r,
|
|
1711
1711
|
width: $r
|
|
1712
1712
|
} : l === "default" ? {
|
|
@@ -1728,22 +1728,22 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
1728
1728
|
getSize: s,
|
|
1729
1729
|
getTextColor: r
|
|
1730
1730
|
};
|
|
1731
|
-
}, vi = ({ colorShape: e, shapeBackgroundColor: r, color: t, height: i, width: a, withoutText: s, mode: l, sx: d, variant: c = "default", component:
|
|
1732
|
-
const [C, x] = re(""), { palette: b } = ce(), { getTextColor: E, getImageModule: y, getSize:
|
|
1731
|
+
}, vi = ({ colorShape: e, shapeBackgroundColor: r, color: t, height: i, width: a, withoutText: s, mode: l, sx: d, variant: c = "default", component: u = "img" }, h) => {
|
|
1732
|
+
const [C, x] = re(""), { palette: b } = ce(), { getTextColor: E, getImageModule: y, getSize: f, getShapeColor: w, getShapeBackgroundColor: S } = yi(), { height: M, width: T } = f({ height: i, variant: c, width: a, withoutText: s }), p = E(t), A = w(e), k = S(r);
|
|
1733
1733
|
if (M1(() => {
|
|
1734
|
-
|
|
1734
|
+
u !== "svg" && (async () => {
|
|
1735
1735
|
const K = await y(c, l || b.mode, s);
|
|
1736
1736
|
x(K.default);
|
|
1737
1737
|
})();
|
|
1738
|
-
}, [
|
|
1738
|
+
}, [u, y, l, b.mode, c, s]), u === "img")
|
|
1739
1739
|
return C ? /* @__PURE__ */ n(
|
|
1740
1740
|
I,
|
|
1741
1741
|
{
|
|
1742
1742
|
component: "img",
|
|
1743
1743
|
src: C,
|
|
1744
1744
|
alt: "Tracktor",
|
|
1745
|
-
height:
|
|
1746
|
-
width:
|
|
1745
|
+
height: M,
|
|
1746
|
+
width: T,
|
|
1747
1747
|
ref: h,
|
|
1748
1748
|
sx: d
|
|
1749
1749
|
}
|
|
@@ -1755,16 +1755,16 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
1755
1755
|
sx: {
|
|
1756
1756
|
display: "inline-block",
|
|
1757
1757
|
fontSize: 0,
|
|
1758
|
-
height:
|
|
1759
|
-
maxHeight:
|
|
1760
|
-
maxWidth:
|
|
1761
|
-
width:
|
|
1758
|
+
height: M,
|
|
1759
|
+
maxHeight: M,
|
|
1760
|
+
maxWidth: T,
|
|
1761
|
+
width: T
|
|
1762
1762
|
}
|
|
1763
1763
|
}
|
|
1764
1764
|
);
|
|
1765
1765
|
if (s) {
|
|
1766
1766
|
const K = e || b.primary.main;
|
|
1767
|
-
return /* @__PURE__ */ m(I, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height:
|
|
1767
|
+
return /* @__PURE__ */ m(I, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: M, width: T, ...d }, children: [
|
|
1768
1768
|
/* @__PURE__ */ n("path", { d: "M17 0V15H32C32 6.71026 25.2897 0 17 0Z", fill: K }),
|
|
1769
1769
|
/* @__PURE__ */ n("path", { d: "M0 0V15H15C15 6.71026 8.27968 0 0 0Z", fill: K }),
|
|
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: K }),
|
|
@@ -1777,7 +1777,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
1777
1777
|
component: "svg",
|
|
1778
1778
|
viewBox: "0 0 147 44",
|
|
1779
1779
|
fill: "none",
|
|
1780
|
-
sx: { height:
|
|
1780
|
+
sx: { height: M, width: T, ...d },
|
|
1781
1781
|
ref: h,
|
|
1782
1782
|
children: [
|
|
1783
1783
|
/* @__PURE__ */ m("g", { clipPath: "url(#clip0_12018_69701)", children: [
|
|
@@ -1878,31 +1878,31 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
1878
1878
|
component: "svg",
|
|
1879
1879
|
viewBox: "0 0 195 24",
|
|
1880
1880
|
fill: "none",
|
|
1881
|
-
sx: { height:
|
|
1881
|
+
sx: { height: M, width: T, ...d },
|
|
1882
1882
|
ref: h,
|
|
1883
1883
|
children: [
|
|
1884
1884
|
/* @__PURE__ */ n(
|
|
1885
1885
|
"path",
|
|
1886
1886
|
{
|
|
1887
1887
|
d: "M0 3C0 1.34315 1.34315 0 3 0H21C22.6569 0 24 1.34315 24 3V21C24 22.6569 22.6569 24 21 24H3C1.34315 24 0 22.6569 0 21V3Z",
|
|
1888
|
-
fill:
|
|
1888
|
+
fill: k
|
|
1889
1889
|
}
|
|
1890
1890
|
),
|
|
1891
1891
|
/* @__PURE__ */ m("g", { clipPath: "url(#clip0_14141_226706)", children: [
|
|
1892
|
-
/* @__PURE__ */ n("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill:
|
|
1893
|
-
/* @__PURE__ */ n("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill:
|
|
1892
|
+
/* @__PURE__ */ n("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill: A }),
|
|
1893
|
+
/* @__PURE__ */ n("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill: A }),
|
|
1894
1894
|
/* @__PURE__ */ n(
|
|
1895
1895
|
"path",
|
|
1896
1896
|
{
|
|
1897
1897
|
d: "M11.6364 12.3619C11.6371 12.3619 11.6378 12.3619 11.6386 12.3619V20H4C4.00073 15.7816 7.41898 12.3619 11.6364 12.3619Z",
|
|
1898
|
-
fill:
|
|
1898
|
+
fill: A
|
|
1899
1899
|
}
|
|
1900
1900
|
),
|
|
1901
1901
|
/* @__PURE__ */ n(
|
|
1902
1902
|
"path",
|
|
1903
1903
|
{
|
|
1904
1904
|
d: "M19.9978 12.3619C19.9986 12.3619 19.9993 12.3619 20 12.3619V20H12.3615C12.3622 15.7816 15.7804 12.3619 19.9978 12.3619Z",
|
|
1905
|
-
fill:
|
|
1905
|
+
fill: A
|
|
1906
1906
|
}
|
|
1907
1907
|
)
|
|
1908
1908
|
] }),
|
|
@@ -1992,31 +1992,31 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
1992
1992
|
component: "svg",
|
|
1993
1993
|
viewBox: "0 0 105 24",
|
|
1994
1994
|
fill: "none",
|
|
1995
|
-
sx: { height:
|
|
1995
|
+
sx: { height: M, width: T, ...d },
|
|
1996
1996
|
ref: h,
|
|
1997
1997
|
children: [
|
|
1998
1998
|
/* @__PURE__ */ n(
|
|
1999
1999
|
"path",
|
|
2000
2000
|
{
|
|
2001
2001
|
d: "M0 3C0 1.34315 1.34315 0 3 0H21C22.6569 0 24 1.34315 24 3V21C24 22.6569 22.6569 24 21 24H3C1.34315 24 0 22.6569 0 21V3Z",
|
|
2002
|
-
fill:
|
|
2002
|
+
fill: k
|
|
2003
2003
|
}
|
|
2004
2004
|
),
|
|
2005
2005
|
/* @__PURE__ */ m("g", { clipPath: "url(#clip0_14141_226601)", children: [
|
|
2006
|
-
/* @__PURE__ */ n("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill:
|
|
2007
|
-
/* @__PURE__ */ n("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill:
|
|
2006
|
+
/* @__PURE__ */ n("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill: A }),
|
|
2007
|
+
/* @__PURE__ */ n("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill: A }),
|
|
2008
2008
|
/* @__PURE__ */ n(
|
|
2009
2009
|
"path",
|
|
2010
2010
|
{
|
|
2011
2011
|
d: "M11.6364 12.3619C11.6371 12.3619 11.6378 12.3619 11.6386 12.3619V20H4C4.00073 15.7816 7.41898 12.3619 11.6364 12.3619Z",
|
|
2012
|
-
fill:
|
|
2012
|
+
fill: A
|
|
2013
2013
|
}
|
|
2014
2014
|
),
|
|
2015
2015
|
/* @__PURE__ */ n(
|
|
2016
2016
|
"path",
|
|
2017
2017
|
{
|
|
2018
2018
|
d: "M19.9978 12.3619C19.9986 12.3619 19.9993 12.3619 20 12.3619V20H12.3615C12.3622 15.7816 15.7804 12.3619 19.9978 12.3619Z",
|
|
2019
|
-
fill:
|
|
2019
|
+
fill: A
|
|
2020
2020
|
}
|
|
2021
2021
|
)
|
|
2022
2022
|
] }),
|
|
@@ -2275,7 +2275,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2275
2275
|
isDrawerOpen: l,
|
|
2276
2276
|
sideBarWidth: d,
|
|
2277
2277
|
bottomLink: c,
|
|
2278
|
-
NavLink:
|
|
2278
|
+
NavLink: u,
|
|
2279
2279
|
Footer: h,
|
|
2280
2280
|
Search: C = r.Logo,
|
|
2281
2281
|
Logo: x = r.Logo
|
|
@@ -2324,7 +2324,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2324
2324
|
),
|
|
2325
2325
|
C && w && /* @__PURE__ */ n(I, { p: 2, children: C }),
|
|
2326
2326
|
/* @__PURE__ */ n(I, { flex: 1, children: e }),
|
|
2327
|
-
c && /* @__PURE__ */ n(I, { sx: Xe.bottomLink, children: /* @__PURE__ */ n(dr, { component:
|
|
2327
|
+
c && /* @__PURE__ */ n(I, { sx: Xe.bottomLink, children: /* @__PURE__ */ n(dr, { component: u, ...c, children: /* @__PURE__ */ m(z, { alignItems: "center", justifyContent: "center", spacing: 1, direction: "row", children: [
|
|
2328
2328
|
(c == null ? void 0 : c.icon) && /* @__PURE__ */ n(I, { component: "span", display: "flex", children: c == null ? void 0 : c.icon }),
|
|
2329
2329
|
(c == null ? void 0 : c.label) && /* @__PURE__ */ n(I, { component: "span", display: "flex", children: c == null ? void 0 : c.label })
|
|
2330
2330
|
] }) }) }),
|
|
@@ -2380,8 +2380,8 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2380
2380
|
if (S1(i))
|
|
2381
2381
|
return i;
|
|
2382
2382
|
if (i && typeof i == "object" && "label" in i) {
|
|
2383
|
-
const { count: s, url: l, label: d, icon: c, active:
|
|
2384
|
-
return /* @__PURE__ */ n(we, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ n(dr, { url: l, component: t, active:
|
|
2383
|
+
const { count: s, url: l, label: d, icon: c, active: u, disabled: h } = i, C = `${l}-${d}-${a}`;
|
|
2384
|
+
return /* @__PURE__ */ n(we, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ n(dr, { url: l, component: t, active: u, disabled: h, children: /* @__PURE__ */ m(z, { direction: "row", component: "span", spacing: 1.5, width: "100%", alignItems: "center", children: [
|
|
2385
2385
|
c && /* @__PURE__ */ n(I, { component: "span", display: "flex", alignItems: "center", children: c }),
|
|
2386
2386
|
/* @__PURE__ */ m(z, { direction: "row", justifyContent: "space-between", flex: 1, children: [
|
|
2387
2387
|
d,
|
|
@@ -2415,18 +2415,18 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2415
2415
|
enableSearchFocusShortcut: l,
|
|
2416
2416
|
disableResponsive: d,
|
|
2417
2417
|
hideSearchDesktop: c,
|
|
2418
|
-
bottomLink:
|
|
2418
|
+
bottomLink: u,
|
|
2419
2419
|
sideBarWidth: h = 260
|
|
2420
2420
|
}) => {
|
|
2421
|
-
const { breakpoints: C } = ce(), x = e1(C.down("sm")), b = e1(C.between("sm", "md")), [E, y] = re(ft.isDrawerOpen),
|
|
2421
|
+
const { breakpoints: C } = ce(), x = e1(C.down("sm")), b = e1(C.between("sm", "md")), [E, y] = re(ft.isDrawerOpen), f = ne(() => {
|
|
2422
2422
|
y(!1);
|
|
2423
2423
|
}, []), w = ne(() => {
|
|
2424
2424
|
y(!0);
|
|
2425
|
-
}, []),
|
|
2425
|
+
}, []), S = ir(
|
|
2426
2426
|
() => ({
|
|
2427
2427
|
AppBar: e,
|
|
2428
|
-
bottomLink:
|
|
2429
|
-
closeDrawerMenu:
|
|
2428
|
+
bottomLink: u,
|
|
2429
|
+
closeDrawerMenu: f,
|
|
2430
2430
|
disableResponsive: d,
|
|
2431
2431
|
enableSearchFocusShortcut: l,
|
|
2432
2432
|
Footer: a,
|
|
@@ -2442,7 +2442,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2442
2442
|
sideBarWidth: h
|
|
2443
2443
|
}),
|
|
2444
2444
|
[
|
|
2445
|
-
|
|
2445
|
+
f,
|
|
2446
2446
|
d,
|
|
2447
2447
|
E,
|
|
2448
2448
|
x,
|
|
@@ -2455,21 +2455,21 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2455
2455
|
l,
|
|
2456
2456
|
t,
|
|
2457
2457
|
c,
|
|
2458
|
-
|
|
2458
|
+
u,
|
|
2459
2459
|
e,
|
|
2460
2460
|
a
|
|
2461
2461
|
]
|
|
2462
2462
|
);
|
|
2463
|
-
return /* @__PURE__ */ n(Ve.Provider, { value:
|
|
2463
|
+
return /* @__PURE__ */ n(Ve.Provider, { value: S, children: /* @__PURE__ */ n(Ri, {}) });
|
|
2464
2464
|
}, va = qr(ki), Ti = "No data", Zr = {
|
|
2465
2465
|
large: 80,
|
|
2466
2466
|
medium: 50,
|
|
2467
2467
|
small: 40
|
|
2468
|
-
}, Ai = ({ children: e, ...r }, t) => /* @__PURE__ */ n(J1, { component: "li", ref: t, ...r, children: e }), _i = ue(Ai), Fi = ({ children: e, isEmpty: r, isLoading: t, emptyMessage: i, sx: a, height: s, onClick: l, size: d = "medium", ...c },
|
|
2468
|
+
}, Ai = ({ children: e, ...r }, t) => /* @__PURE__ */ n(J1, { component: "li", ref: t, ...r, children: e }), _i = ue(Ai), Fi = ({ children: e, isEmpty: r, isLoading: t, emptyMessage: i, sx: a, height: s, onClick: l, size: d = "medium", ...c }, u) => t ? /* @__PURE__ */ n(se, { width: "100%", variant: "rounded", height: s || Zr[d], sx: { marginBottom: 1 }, ref: u, component: "li" }) : r ? /* @__PURE__ */ n(we, { disablePadding: !0, children: /* @__PURE__ */ n(Q1, { severity: "info", sx: { width: "100%" }, ref: u, children: i || Ti }) }) : /* @__PURE__ */ n(
|
|
2469
2469
|
we,
|
|
2470
2470
|
{
|
|
2471
2471
|
component: _i,
|
|
2472
|
-
ref:
|
|
2472
|
+
ref: u,
|
|
2473
2473
|
onClick: l,
|
|
2474
2474
|
sx: {
|
|
2475
2475
|
alignItems: "center",
|
|
@@ -2491,7 +2491,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2491
2491
|
}
|
|
2492
2492
|
), ma = qr(ue(Fi)), Ii = ["warning", "info", "success", "error", "primary", "secondary"], Hi = (e) => Ii.includes(e), Li = ({ color: e, sx: r, variant: t = "filled", fontSize: i = "medium" }, a) => {
|
|
2493
2493
|
var h;
|
|
2494
|
-
const { palette: s } = ce(), l = s.mode === "dark" ? s.text.disabled : s.grey[400], d = e || l, c = Hi(e) ? (h = s == null ? void 0 : s[e]) == null ? void 0 : h.main : d,
|
|
2494
|
+
const { palette: s } = ce(), l = s.mode === "dark" ? s.text.disabled : s.grey[400], d = e || l, c = Hi(e) ? (h = s == null ? void 0 : s[e]) == null ? void 0 : h.main : d, u = fe(c, 0.2);
|
|
2495
2495
|
return /* @__PURE__ */ m(
|
|
2496
2496
|
be,
|
|
2497
2497
|
{
|
|
@@ -2504,7 +2504,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2504
2504
|
...r
|
|
2505
2505
|
},
|
|
2506
2506
|
children: [
|
|
2507
|
-
/* @__PURE__ */ n("circle", { cx: "8", cy: "8", r: "8", fill: t === "filled" ?
|
|
2507
|
+
/* @__PURE__ */ n("circle", { cx: "8", cy: "8", r: "8", fill: t === "filled" ? u : "transparent" }),
|
|
2508
2508
|
t === "filled" ? /* @__PURE__ */ n("circle", { cx: "8", cy: "8", r: "4", fill: c }) : /* @__PURE__ */ n("circle", { cx: "8", cy: "8", r: "4", stroke: c, strokeWidth: "2", fill: "transparent" })
|
|
2509
2509
|
]
|
|
2510
2510
|
}
|
|
@@ -2564,7 +2564,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2564
2564
|
loadingIndicator: l,
|
|
2565
2565
|
loadingPosition: d,
|
|
2566
2566
|
size: c,
|
|
2567
|
-
variant:
|
|
2567
|
+
variant: u,
|
|
2568
2568
|
startIcon: h,
|
|
2569
2569
|
endIcon: C,
|
|
2570
2570
|
...x
|
|
@@ -2575,8 +2575,8 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2575
2575
|
disabled: i || s,
|
|
2576
2576
|
ref: r,
|
|
2577
2577
|
size: c,
|
|
2578
|
-
variant:
|
|
2579
|
-
disableRipple: a ||
|
|
2578
|
+
variant: u,
|
|
2579
|
+
disableRipple: a || u === "link",
|
|
2580
2580
|
startIcon: s && h ? /* @__PURE__ */ n(E1, { position: "relative", size: c }) : h,
|
|
2581
2581
|
endIcon: s && C ? /* @__PURE__ */ n(E1, { position: "relative", size: c }) : C,
|
|
2582
2582
|
...x,
|
|
@@ -2597,7 +2597,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2597
2597
|
}, wa = ue(Vi), ht = ({ children: e, open: r, onClose: t, src: i, ...a }) => {
|
|
2598
2598
|
const [s, l] = re(!1), d = () => {
|
|
2599
2599
|
l(!0);
|
|
2600
|
-
}, c = (
|
|
2600
|
+
}, c = (u, h) => (u && (t == null || t(u, h), l(!1)), (C) => {
|
|
2601
2601
|
t == null || t(C, h), l(!1);
|
|
2602
2602
|
});
|
|
2603
2603
|
return /* @__PURE__ */ n(jt, { open: r, onClose: c, ...a, children: /* @__PURE__ */ m(pe, { children: [
|
|
@@ -2609,9 +2609,9 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2609
2609
|
onClick: c(void 0, "closeButton"),
|
|
2610
2610
|
sx: {
|
|
2611
2611
|
"&:hover": {
|
|
2612
|
-
background: ({ palette:
|
|
2612
|
+
background: ({ palette: u }) => u.augmentColor({ color: { main: u.background.default } }).light
|
|
2613
2613
|
},
|
|
2614
|
-
background: ({ palette:
|
|
2614
|
+
background: ({ palette: u }) => u.background.default,
|
|
2615
2615
|
fontSize: 35,
|
|
2616
2616
|
height: 30,
|
|
2617
2617
|
position: "absolute",
|
|
@@ -2651,7 +2651,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2651
2651
|
children: /* @__PURE__ */ n(cr, {})
|
|
2652
2652
|
}
|
|
2653
2653
|
), $i = ({ children: e, value: r, index: t, orientation: i, paddingY: a, paddingX: s, fullHeight: l, sx: d }, c) => {
|
|
2654
|
-
const
|
|
2654
|
+
const u = a || 3, h = s || i === "vertical" ? 3 : 0;
|
|
2655
2655
|
return r === t ? /* @__PURE__ */ n(
|
|
2656
2656
|
I,
|
|
2657
2657
|
{
|
|
@@ -2659,7 +2659,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2659
2659
|
role: "tabpanel",
|
|
2660
2660
|
hidden: r !== t,
|
|
2661
2661
|
id: `tabpanel-${t}`,
|
|
2662
|
-
paddingY:
|
|
2662
|
+
paddingY: u,
|
|
2663
2663
|
paddingX: h,
|
|
2664
2664
|
height: l ? "100%" : void 0,
|
|
2665
2665
|
sx: d,
|
|
@@ -2676,8 +2676,8 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2676
2676
|
const { w: i, h: a } = { h: Number(r), w: Number(e) };
|
|
2677
2677
|
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 };
|
|
2678
2678
|
}, zr = ({ width: e, height: r, sx: t }) => /* @__PURE__ */ n(se, { variant: "rounded", width: e, height: r, sx: t }), Ra = ({ src: e, isLoading: r, sx: t, width: i = 64, height: a = 64, alt: s = "Article" }) => {
|
|
2679
|
-
const [l, d] = re(), [c,
|
|
2680
|
-
|
|
2679
|
+
const [l, d] = re(), [c, u] = re(), { shape: h } = ce(), { borderRadius: C, padding: x } = Di(i, a, h), b = { borderRadius: C, flexShrink: 0 }, E = e && !l && !c, y = !e || c && !l || c && l, f = (w) => {
|
|
2680
|
+
u(void 0), d(w);
|
|
2681
2681
|
};
|
|
2682
2682
|
return r ? /* @__PURE__ */ n(zr, { width: i, height: a, sx: b }) : /* @__PURE__ */ m(pe, { children: [
|
|
2683
2683
|
E && /* @__PURE__ */ n(zr, { width: i, height: a, sx: b }),
|
|
@@ -2735,8 +2735,8 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2735
2735
|
width: i,
|
|
2736
2736
|
height: a,
|
|
2737
2737
|
sx: b,
|
|
2738
|
-
onError:
|
|
2739
|
-
onLoad:
|
|
2738
|
+
onError: u,
|
|
2739
|
+
onLoad: f,
|
|
2740
2740
|
display: y || !l ? "none" : "block"
|
|
2741
2741
|
}
|
|
2742
2742
|
)
|
|
@@ -2770,70 +2770,71 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2770
2770
|
}
|
|
2771
2771
|
}, Zi = ({
|
|
2772
2772
|
src: e,
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2773
|
+
srcThumb: r,
|
|
2774
|
+
fileName: t,
|
|
2775
|
+
width: i,
|
|
2776
|
+
height: a,
|
|
2777
|
+
sx: s,
|
|
2778
|
+
widthLightbox: l,
|
|
2779
|
+
heightLightbox: d,
|
|
2780
|
+
sxLightbox: c,
|
|
2781
|
+
disableLightbox: u,
|
|
2782
|
+
disableThumb: h,
|
|
2783
|
+
open: C,
|
|
2784
|
+
onClose: x
|
|
2784
2785
|
}) => {
|
|
2785
|
-
const [
|
|
2786
|
-
|
|
2787
|
-
},
|
|
2788
|
-
|
|
2786
|
+
const [b, E] = re(!1), [y, f] = re(!1), w = !(e != null && e.endsWith(".pdf")) && !e.startsWith("blob:"), S = /\.pdf$/i.test(e.toLowerCase()), M = ar(null), T = y ? Bi : r || e, p = () => {
|
|
2787
|
+
E(!b);
|
|
2788
|
+
}, A = ne(() => {
|
|
2789
|
+
f(!0);
|
|
2789
2790
|
}, []);
|
|
2790
2791
|
return M1(() => {
|
|
2791
|
-
const
|
|
2792
|
-
return
|
|
2793
|
-
|
|
2792
|
+
const k = M.current;
|
|
2793
|
+
return k == null || k.addEventListener("error", A), () => {
|
|
2794
|
+
k == null || k.removeEventListener("error", A);
|
|
2794
2795
|
};
|
|
2795
|
-
}, [
|
|
2796
|
-
!
|
|
2796
|
+
}, [A, M]), /* @__PURE__ */ m(pe, { children: [
|
|
2797
|
+
!h && /* @__PURE__ */ n(
|
|
2797
2798
|
I,
|
|
2798
2799
|
{
|
|
2799
2800
|
"data-test": "fileViewer",
|
|
2800
|
-
onClick:
|
|
2801
|
-
width:
|
|
2802
|
-
height:
|
|
2801
|
+
onClick: p,
|
|
2802
|
+
width: i,
|
|
2803
|
+
height: a,
|
|
2803
2804
|
sx: {
|
|
2804
2805
|
...qe.container,
|
|
2805
2806
|
":hover": {
|
|
2806
|
-
opacity:
|
|
2807
|
+
opacity: u ? 1 : 0.8
|
|
2807
2808
|
},
|
|
2808
|
-
cursor:
|
|
2809
|
+
cursor: u ? "default" : "pointer",
|
|
2809
2810
|
display: "block",
|
|
2810
|
-
...
|
|
2811
|
+
...s
|
|
2811
2812
|
},
|
|
2812
2813
|
children: /* @__PURE__ */ n(
|
|
2813
2814
|
I,
|
|
2814
2815
|
{
|
|
2815
|
-
component:
|
|
2816
|
+
component: w ? "img" : "iframe",
|
|
2816
2817
|
overflow: "hidden",
|
|
2817
|
-
height:
|
|
2818
|
+
height: w ? "100%" : "auto",
|
|
2818
2819
|
width: "100%",
|
|
2819
|
-
src:
|
|
2820
|
+
src: T,
|
|
2820
2821
|
ref: M,
|
|
2821
|
-
sx:
|
|
2822
|
+
sx: w ? qe.thumbImage : qe.thumbFile
|
|
2822
2823
|
},
|
|
2823
|
-
|
|
2824
|
+
T
|
|
2824
2825
|
)
|
|
2825
2826
|
}
|
|
2826
2827
|
),
|
|
2827
|
-
!
|
|
2828
|
+
!u && /* @__PURE__ */ n(ht, { open: C || b, onClose: x || p, src: e, title: t, children: /* @__PURE__ */ n(
|
|
2828
2829
|
I,
|
|
2829
2830
|
{
|
|
2830
|
-
component:
|
|
2831
|
+
component: S ? "iframe" : "img",
|
|
2831
2832
|
src: e,
|
|
2832
|
-
width:
|
|
2833
|
-
height:
|
|
2833
|
+
width: l,
|
|
2834
|
+
height: d,
|
|
2834
2835
|
sx: {
|
|
2835
|
-
...
|
|
2836
|
-
...
|
|
2836
|
+
...S ? qe.viewFile : qe.viewImage,
|
|
2837
|
+
...c
|
|
2837
2838
|
}
|
|
2838
2839
|
}
|
|
2839
2840
|
) })
|
|
@@ -2848,7 +2849,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2848
2849
|
tag: l,
|
|
2849
2850
|
collapseItems: d,
|
|
2850
2851
|
collapseDefaultOpen: c,
|
|
2851
|
-
Action:
|
|
2852
|
+
Action: u,
|
|
2852
2853
|
Icon: h,
|
|
2853
2854
|
Footer: C,
|
|
2854
2855
|
Collapse: x
|
|
@@ -2863,7 +2864,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2863
2864
|
Gr,
|
|
2864
2865
|
{
|
|
2865
2866
|
sx: {
|
|
2866
|
-
borderColor: ({ palette:
|
|
2867
|
+
borderColor: ({ palette: f }) => i ? f.secondary.main : f.divider,
|
|
2867
2868
|
borderStyle: i ? "solid" : "dashed",
|
|
2868
2869
|
height: "100%"
|
|
2869
2870
|
},
|
|
@@ -2897,7 +2898,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2897
2898
|
direction: "row",
|
|
2898
2899
|
alignItems: "center",
|
|
2899
2900
|
sx: { cursor: y ? "pointer" : "default" },
|
|
2900
|
-
onClick: () => E((
|
|
2901
|
+
onClick: () => E((f) => !f),
|
|
2901
2902
|
children: [
|
|
2902
2903
|
/* @__PURE__ */ n(
|
|
2903
2904
|
G,
|
|
@@ -2928,7 +2929,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2928
2929
|
l && /* @__PURE__ */ n(Qe, { color: (l == null ? void 0 : l.color) || "default", label: l == null ? void 0 : l.label, size: "xSmall", variant: "outlined" }),
|
|
2929
2930
|
r && /* @__PURE__ */ n(G, { variant: "body2", color: "textSecondary", children: r })
|
|
2930
2931
|
] }),
|
|
2931
|
-
|
|
2932
|
+
u && /* @__PURE__ */ n(
|
|
2932
2933
|
I,
|
|
2933
2934
|
{
|
|
2934
2935
|
className: "action",
|
|
@@ -2936,26 +2937,26 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2936
2937
|
opacity: s === "hover" ? 0 : 1,
|
|
2937
2938
|
transition: "opacity 0.15s"
|
|
2938
2939
|
},
|
|
2939
|
-
children:
|
|
2940
|
+
children: u
|
|
2940
2941
|
}
|
|
2941
2942
|
)
|
|
2942
2943
|
] }),
|
|
2943
2944
|
C,
|
|
2944
2945
|
x && /* @__PURE__ */ n(Sr, { in: b, children: x }),
|
|
2945
|
-
!!(d != null && d.length) && /* @__PURE__ */ n(Sr, { in: b, children: /* @__PURE__ */ n(z, { marginTop: 3, spacing: 3, children: d == null ? void 0 : d.map((
|
|
2946
|
-
var
|
|
2947
|
-
const
|
|
2946
|
+
!!(d != null && d.length) && /* @__PURE__ */ n(Sr, { in: b, children: /* @__PURE__ */ n(z, { marginTop: 3, spacing: 3, children: d == null ? void 0 : d.map((f, w) => {
|
|
2947
|
+
var T, p, A, k;
|
|
2948
|
+
const S = `${f.title}-${w}`, M = Array.isArray(f == null ? void 0 : f.file) ? f == null ? void 0 : f.file[0] : f == null ? void 0 : f.file;
|
|
2948
2949
|
return /* @__PURE__ */ m(z, { direction: "row", spacing: 1, minWidth: 0, children: [
|
|
2949
2950
|
/* @__PURE__ */ n(zi, { sx: { height: 18, paddingTop: 0.5, width: 18 } }),
|
|
2950
2951
|
/* @__PURE__ */ m(z, { minWidth: 0, children: [
|
|
2951
2952
|
/* @__PURE__ */ m(z, { direction: "row", alignItems: "center", spacing: 1, overflow: "hidden", children: [
|
|
2952
|
-
(
|
|
2953
|
+
(f == null ? void 0 : f.title) && /* @__PURE__ */ n(
|
|
2953
2954
|
Rr,
|
|
2954
2955
|
{
|
|
2955
|
-
title:
|
|
2956
|
+
title: f == null ? void 0 : f.title,
|
|
2956
2957
|
enterDelay: Nr,
|
|
2957
2958
|
sx: {
|
|
2958
|
-
...(
|
|
2959
|
+
...(f == null ? void 0 : f.onClick) && {
|
|
2959
2960
|
cursor: "pointer",
|
|
2960
2961
|
textDecoration: "underline"
|
|
2961
2962
|
}
|
|
@@ -2968,15 +2969,15 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2968
2969
|
textOverflow: "ellipsis",
|
|
2969
2970
|
overflow: "hidden",
|
|
2970
2971
|
minWidth: 0,
|
|
2971
|
-
onClick:
|
|
2972
|
-
children:
|
|
2972
|
+
onClick: f == null ? void 0 : f.onClick,
|
|
2973
|
+
children: f == null ? void 0 : f.title
|
|
2973
2974
|
}
|
|
2974
2975
|
)
|
|
2975
2976
|
}
|
|
2976
2977
|
),
|
|
2977
|
-
(
|
|
2978
|
+
(f == null ? void 0 : f.tag) && /* @__PURE__ */ n(Qe, { color: ((T = f == null ? void 0 : f.tag) == null ? void 0 : T.color) || "default", label: (p = f == null ? void 0 : f.tag) == null ? void 0 : p.label, size: "xSmall", variant: "outlined" })
|
|
2978
2979
|
] }),
|
|
2979
|
-
(
|
|
2980
|
+
(f == null ? void 0 : f.subtitle) && /* @__PURE__ */ n(Rr, { title: f == null ? void 0 : f.subtitle, enterDelay: Nr, children: /* @__PURE__ */ n(
|
|
2980
2981
|
G,
|
|
2981
2982
|
{
|
|
2982
2983
|
variant: "body2",
|
|
@@ -2985,14 +2986,14 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2985
2986
|
textOverflow: "ellipsis",
|
|
2986
2987
|
overflow: "hidden",
|
|
2987
2988
|
minWidth: 0,
|
|
2988
|
-
children:
|
|
2989
|
+
children: f == null ? void 0 : f.subtitle
|
|
2989
2990
|
}
|
|
2990
2991
|
) }),
|
|
2991
|
-
(
|
|
2992
|
-
|
|
2992
|
+
(f == null ? void 0 : f.file) && /* @__PURE__ */ m(z, { direction: "row", marginTop: 1, spacing: 0.5, children: [
|
|
2993
|
+
M && /* @__PURE__ */ n(
|
|
2993
2994
|
Zi,
|
|
2994
2995
|
{
|
|
2995
|
-
src:
|
|
2996
|
+
src: M,
|
|
2996
2997
|
sx: {
|
|
2997
2998
|
borderRadius: 0.5,
|
|
2998
2999
|
cursor: "pointer",
|
|
@@ -3001,7 +3002,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3001
3002
|
}
|
|
3002
3003
|
}
|
|
3003
3004
|
),
|
|
3004
|
-
Array.isArray(
|
|
3005
|
+
Array.isArray(f == null ? void 0 : f.file) && ((A = f == null ? void 0 : f.file) == null ? void 0 : A.length) > 1 && /* @__PURE__ */ n(
|
|
3005
3006
|
I,
|
|
3006
3007
|
{
|
|
3007
3008
|
sx: {
|
|
@@ -3013,12 +3014,12 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3013
3014
|
justifyContent: "center",
|
|
3014
3015
|
width: u1
|
|
3015
3016
|
},
|
|
3016
|
-
children: `${(((
|
|
3017
|
+
children: `${(((k = f == null ? void 0 : f.file) == null ? void 0 : k.length) || 0) - 1}+`
|
|
3017
3018
|
}
|
|
3018
3019
|
)
|
|
3019
3020
|
] })
|
|
3020
3021
|
] })
|
|
3021
|
-
] },
|
|
3022
|
+
] }, S);
|
|
3022
3023
|
}) }) })
|
|
3023
3024
|
]
|
|
3024
3025
|
}
|
|
@@ -3074,26 +3075,26 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3074
3075
|
] })
|
|
3075
3076
|
] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(B1, { sx: i, children: /* @__PURE__ */ n(Q1, { severity: "info", children: t }) }) : /* @__PURE__ */ m(pe, { children: [
|
|
3076
3077
|
/* @__PURE__ */ n(B1, { sx: i, "data-test": s, "data-testid": l, children: e == null ? void 0 : e.map(
|
|
3077
|
-
({ Action:
|
|
3078
|
-
const
|
|
3078
|
+
({ Action: u, Collapse: h, collapseItems: C, collapseDefaultOpen: x, subtitle: b, key: E, active: y, Footer: f, Icon: w, onClick: S, tag: M, title: T }, p) => {
|
|
3079
|
+
const A = `${E}-${p}-${T}`, k = p === e.length - 1;
|
|
3079
3080
|
return /* @__PURE__ */ n(
|
|
3080
3081
|
ji,
|
|
3081
3082
|
{
|
|
3082
|
-
Action:
|
|
3083
|
-
Footer:
|
|
3083
|
+
Action: u,
|
|
3084
|
+
Footer: f,
|
|
3084
3085
|
Collapse: h,
|
|
3085
3086
|
collapseDefaultOpen: x,
|
|
3086
3087
|
collapseItems: C,
|
|
3087
3088
|
active: y,
|
|
3088
|
-
title:
|
|
3089
|
+
title: T,
|
|
3089
3090
|
subtitle: b,
|
|
3090
3091
|
Icon: w,
|
|
3091
|
-
isLastElement:
|
|
3092
|
-
onClick:
|
|
3093
|
-
tag:
|
|
3092
|
+
isLastElement: k,
|
|
3093
|
+
onClick: S,
|
|
3094
|
+
tag: M,
|
|
3094
3095
|
variant: a
|
|
3095
3096
|
},
|
|
3096
|
-
|
|
3097
|
+
A
|
|
3097
3098
|
);
|
|
3098
3099
|
}
|
|
3099
3100
|
) }),
|
|
@@ -3396,7 +3397,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3396
3397
|
}
|
|
3397
3398
|
);
|
|
3398
3399
|
}, Ui = ({ sx: e, ...r }) => {
|
|
3399
|
-
var t, i, a, s, l, d, c,
|
|
3400
|
+
var t, i, a, s, l, d, c, u;
|
|
3400
3401
|
return /* @__PURE__ */ n(
|
|
3401
3402
|
er,
|
|
3402
3403
|
{
|
|
@@ -3409,13 +3410,13 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3409
3410
|
},
|
|
3410
3411
|
backgroundColor: (l = (s = F == null ? void 0 : F.palette) == null ? void 0 : s.grey) == null ? void 0 : l["100"],
|
|
3411
3412
|
borderColor: (d = F == null ? void 0 : F.palette) == null ? void 0 : d.divider,
|
|
3412
|
-
color: (
|
|
3413
|
+
color: (u = (c = F == null ? void 0 : F.palette) == null ? void 0 : c.text) == null ? void 0 : u.primary
|
|
3413
3414
|
},
|
|
3414
3415
|
...r
|
|
3415
3416
|
}
|
|
3416
3417
|
);
|
|
3417
3418
|
}, Gi = ue(({ sx: e, InputProps: r, type: t = "search", ...i }, a) => {
|
|
3418
|
-
var s, l, d, c,
|
|
3419
|
+
var s, l, d, c, u, h, C, x, b, E;
|
|
3419
3420
|
return /* @__PURE__ */ n(
|
|
3420
3421
|
K1,
|
|
3421
3422
|
{
|
|
@@ -3429,7 +3430,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3429
3430
|
borderColor: (l = (s = F == null ? void 0 : F.palette) == null ? void 0 : s.primary) == null ? void 0 : l.light
|
|
3430
3431
|
},
|
|
3431
3432
|
backgroundColor: (c = (d = F == null ? void 0 : F.palette) == null ? void 0 : d.grey) == null ? void 0 : c["50"],
|
|
3432
|
-
color: (h = (
|
|
3433
|
+
color: (h = (u = F == null ? void 0 : F.palette) == null ? void 0 : u.text) == null ? void 0 : h.primary
|
|
3433
3434
|
},
|
|
3434
3435
|
// Border
|
|
3435
3436
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
@@ -3484,13 +3485,13 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3484
3485
|
searchProps: l,
|
|
3485
3486
|
actionProps: d,
|
|
3486
3487
|
logoProps: c,
|
|
3487
|
-
children:
|
|
3488
|
+
children: u,
|
|
3488
3489
|
onClickBurger: h,
|
|
3489
3490
|
sx: C,
|
|
3490
3491
|
position: x = "static",
|
|
3491
3492
|
elevation: b = 0
|
|
3492
3493
|
}) => {
|
|
3493
|
-
const { breakpoints: E } = ce(), { closeMenu: y, isMenuOpen:
|
|
3494
|
+
const { breakpoints: E } = ce(), { closeMenu: y, isMenuOpen: f, anchorMenu: w, openMenu: S } = Xi(), { menuItems: M, ...T } = s || {}, p = e1(E.down("sm")), A = e1(E.between("sm", "md")), k = p || A, K = {
|
|
3494
3495
|
logoContainer: {
|
|
3495
3496
|
a: {
|
|
3496
3497
|
display: "flex"
|
|
@@ -3520,34 +3521,34 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3520
3521
|
paddingX: p ? 1 : 3,
|
|
3521
3522
|
...C
|
|
3522
3523
|
};
|
|
3523
|
-
return
|
|
3524
|
+
return u ? /* @__PURE__ */ n(Z1, { position: x, elevation: b, sx: K, children: u }) : /* @__PURE__ */ m(pe, { children: [
|
|
3524
3525
|
/* @__PURE__ */ n(Z1, { position: x, elevation: b, sx: K, children: /* @__PURE__ */ m(z, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
|
|
3525
|
-
|
|
3526
|
-
|
|
3526
|
+
k && /* @__PURE__ */ n(me, { onClick: h, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(ut, {}) }),
|
|
3527
|
+
k || i === null ? null : /* @__PURE__ */ n(I, { sx: K.logoContainer, children: i || /* @__PURE__ */ n(mi, { mode: "dark", ...c }) }),
|
|
3527
3528
|
/* @__PURE__ */ n(I, { sx: { alignItems: "center", display: "flex", flex: 1, justifyContent: "center" }, children: r === null ? null : r || /* @__PURE__ */ n(Gi, { ...l }) }),
|
|
3528
3529
|
/* @__PURE__ */ m(z, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
3529
3530
|
t === null ? null : t || /* @__PURE__ */ n(Ui, { ...d }),
|
|
3530
3531
|
e === null ? null : e || /* @__PURE__ */ n(
|
|
3531
3532
|
Yi,
|
|
3532
3533
|
{
|
|
3533
|
-
...
|
|
3534
|
+
...T,
|
|
3534
3535
|
sx: {
|
|
3535
|
-
cursor:
|
|
3536
|
+
cursor: M ? "pointer" : "default"
|
|
3536
3537
|
},
|
|
3537
3538
|
onClick: (j) => {
|
|
3538
3539
|
var he;
|
|
3539
|
-
|
|
3540
|
+
S(j), (he = s == null ? void 0 : s.onClick) == null || he.call(s, j);
|
|
3540
3541
|
}
|
|
3541
3542
|
}
|
|
3542
3543
|
)
|
|
3543
3544
|
] })
|
|
3544
3545
|
] }) }),
|
|
3545
|
-
|
|
3546
|
+
M && /* @__PURE__ */ n(qt, { sx: { zIndex: (j) => j.zIndex.drawer + 1 }, open: f, onClick: y, children: /* @__PURE__ */ n(
|
|
3546
3547
|
Ut,
|
|
3547
3548
|
{
|
|
3548
3549
|
id: qi,
|
|
3549
3550
|
anchorEl: w,
|
|
3550
|
-
open:
|
|
3551
|
+
open: f,
|
|
3551
3552
|
onClose: y,
|
|
3552
3553
|
onChange: y,
|
|
3553
3554
|
anchorOrigin: {
|
|
@@ -3561,11 +3562,11 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3561
3562
|
}
|
|
3562
3563
|
}
|
|
3563
3564
|
},
|
|
3564
|
-
children:
|
|
3565
|
+
children: M == null ? void 0 : M.map((j, he) => {
|
|
3565
3566
|
if (S1(j)) {
|
|
3566
3567
|
if (j.key)
|
|
3567
3568
|
return j;
|
|
3568
|
-
const N = `${
|
|
3569
|
+
const N = `${M}-${he}`;
|
|
3569
3570
|
return nr(j, { key: N });
|
|
3570
3571
|
}
|
|
3571
3572
|
if (j && typeof j == "object" && "url" in j) {
|
|
@@ -3641,20 +3642,20 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3641
3642
|
multiple: l,
|
|
3642
3643
|
id: d,
|
|
3643
3644
|
size: c,
|
|
3644
|
-
helperText:
|
|
3645
|
+
helperText: u,
|
|
3645
3646
|
fullWidth: h,
|
|
3646
3647
|
icon: C,
|
|
3647
3648
|
onChange: x,
|
|
3648
3649
|
label: b = "Click to upload",
|
|
3649
3650
|
variant: E = "vertical"
|
|
3650
3651
|
}) => {
|
|
3651
|
-
const { palette: y } = ce(),
|
|
3652
|
-
x == null || x(
|
|
3652
|
+
const { palette: y } = ce(), f = E === "vertical", w = d || r, S = ar(null), [M, T] = re(null), p = ra(M), A = (k) => {
|
|
3653
|
+
x == null || x(k), T(k.target.files);
|
|
3653
3654
|
};
|
|
3654
3655
|
return /* @__PURE__ */ m(
|
|
3655
3656
|
Jt,
|
|
3656
3657
|
{
|
|
3657
|
-
ref:
|
|
3658
|
+
ref: S,
|
|
3658
3659
|
htmlFor: w,
|
|
3659
3660
|
sx: {
|
|
3660
3661
|
"&:hover": {
|
|
@@ -3675,16 +3676,16 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3675
3676
|
{
|
|
3676
3677
|
alignItems: "center",
|
|
3677
3678
|
height: "100%",
|
|
3678
|
-
direction:
|
|
3679
|
-
justifyContent:
|
|
3680
|
-
textAlign:
|
|
3679
|
+
direction: f ? "column" : "row",
|
|
3680
|
+
justifyContent: f ? "center" : "flex-start",
|
|
3681
|
+
textAlign: f ? "center" : "left",
|
|
3681
3682
|
spacing: 0.5,
|
|
3682
3683
|
color: t ? "text.disabled" : "text.secondary",
|
|
3683
3684
|
children: [
|
|
3684
3685
|
C || /* @__PURE__ */ n(Qi, { sx: { height: 40, width: 40 } }),
|
|
3685
3686
|
p ? /* @__PURE__ */ m(pe, { children: [
|
|
3686
3687
|
/* @__PURE__ */ m(G, { variant: "body2", color: "textSecondary", children: [
|
|
3687
|
-
|
|
3688
|
+
M == null ? void 0 : M.length,
|
|
3688
3689
|
" ",
|
|
3689
3690
|
(s == null ? void 0 : s.files) || "Fichiers"
|
|
3690
3691
|
] }),
|
|
@@ -3693,7 +3694,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3693
3694
|
{
|
|
3694
3695
|
variant: "body2",
|
|
3695
3696
|
color: "primary",
|
|
3696
|
-
whiteSpace:
|
|
3697
|
+
whiteSpace: f ? "normal" : "nowrap",
|
|
3697
3698
|
textOverflow: "ellipsis",
|
|
3698
3699
|
overflow: "hidden",
|
|
3699
3700
|
children: p
|
|
@@ -3704,7 +3705,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3704
3705
|
" ",
|
|
3705
3706
|
i && "*"
|
|
3706
3707
|
] }),
|
|
3707
|
-
|
|
3708
|
+
u && /* @__PURE__ */ n(G, { color: a ? "error" : "textSecondary", variant: "body2", children: u })
|
|
3708
3709
|
]
|
|
3709
3710
|
}
|
|
3710
3711
|
),
|
|
@@ -3718,7 +3719,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3718
3719
|
multiple: l,
|
|
3719
3720
|
accept: e,
|
|
3720
3721
|
id: w,
|
|
3721
|
-
onChange:
|
|
3722
|
+
onChange: A,
|
|
3722
3723
|
style: {
|
|
3723
3724
|
// Hide the input element
|
|
3724
3725
|
// The input element is hidden
|
|
@@ -3764,7 +3765,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3764
3765
|
...Je.list,
|
|
3765
3766
|
...i && { width: "100%" }
|
|
3766
3767
|
},
|
|
3767
|
-
children: [...Array(d).keys()].map((
|
|
3768
|
+
children: [...Array(d).keys()].map((u) => /* @__PURE__ */ m(we, { sx: Je.listItem, children: [
|
|
3768
3769
|
/* @__PURE__ */ n(se, { width: 40, height: 40, sx: { marginRight: f1 }, variant: "rounded" }),
|
|
3769
3770
|
/* @__PURE__ */ n(
|
|
3770
3771
|
Ie,
|
|
@@ -3774,7 +3775,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3774
3775
|
sx: { marginY: 0 }
|
|
3775
3776
|
}
|
|
3776
3777
|
)
|
|
3777
|
-
] },
|
|
3778
|
+
] }, u))
|
|
3778
3779
|
}
|
|
3779
3780
|
) : /* @__PURE__ */ m(
|
|
3780
3781
|
y1,
|
|
@@ -3786,14 +3787,14 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3786
3787
|
},
|
|
3787
3788
|
children: [
|
|
3788
3789
|
t == null ? void 0 : t.map(
|
|
3789
|
-
({ id:
|
|
3790
|
+
({ id: u, title: h, subtitle: C, image: x, secondaryAction: b, chipLabel: E, chipColor: y, onClick: f, icon: w, Avatar: S }, M) => {
|
|
3790
3791
|
var p;
|
|
3791
|
-
const
|
|
3792
|
+
const T = u || `id-${M}-${h}`;
|
|
3792
3793
|
return /* @__PURE__ */ m(
|
|
3793
3794
|
we,
|
|
3794
3795
|
{
|
|
3795
3796
|
secondaryAction: b,
|
|
3796
|
-
onClick:
|
|
3797
|
+
onClick: f,
|
|
3797
3798
|
sx: {
|
|
3798
3799
|
...Je.listItem,
|
|
3799
3800
|
"& .MuiListItemSecondaryAction-root": {
|
|
@@ -3802,19 +3803,19 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3802
3803
|
justifyContent: "center",
|
|
3803
3804
|
opacity: s ? 1 : 0,
|
|
3804
3805
|
position: "static",
|
|
3805
|
-
right: ({ spacing:
|
|
3806
|
+
right: ({ spacing: A }) => A(0.5),
|
|
3806
3807
|
transform: "none"
|
|
3807
3808
|
},
|
|
3808
3809
|
"&:hover": {
|
|
3809
3810
|
"& .MuiListItemSecondaryAction-root": {
|
|
3810
3811
|
opacity: 1
|
|
3811
3812
|
},
|
|
3812
|
-
backgroundColor: ({ palette:
|
|
3813
|
+
backgroundColor: ({ palette: A }) => f || b ? A.action.hover : "transparent"
|
|
3813
3814
|
},
|
|
3814
|
-
cursor:
|
|
3815
|
+
cursor: f ? "pointer" : "default"
|
|
3815
3816
|
},
|
|
3816
3817
|
children: [
|
|
3817
|
-
|
|
3818
|
+
S ? /* @__PURE__ */ n(I, { marginRight: f1, children: S }) : /* @__PURE__ */ n(v1, { src: x || "", variant: "rounded", sx: { marginRight: f1 }, children: w || typeof h == "string" && ((p = h || "") == null ? void 0 : p.charAt(0).toUpperCase()) }),
|
|
3818
3819
|
/* @__PURE__ */ n(
|
|
3819
3820
|
Ie,
|
|
3820
3821
|
{
|
|
@@ -3834,7 +3835,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3834
3835
|
)
|
|
3835
3836
|
]
|
|
3836
3837
|
},
|
|
3837
|
-
|
|
3838
|
+
T
|
|
3838
3839
|
);
|
|
3839
3840
|
}
|
|
3840
3841
|
),
|
|
@@ -3845,7 +3846,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3845
3846
|
sx: {
|
|
3846
3847
|
...Je.listItem,
|
|
3847
3848
|
"&:hover": {
|
|
3848
|
-
backgroundColor: ({ palette:
|
|
3849
|
+
backgroundColor: ({ palette: u }) => u.action.hover
|
|
3849
3850
|
}
|
|
3850
3851
|
},
|
|
3851
3852
|
children: [
|
|
@@ -3887,8 +3888,8 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3887
3888
|
options: a,
|
|
3888
3889
|
value: s
|
|
3889
3890
|
}) => function(d) {
|
|
3890
|
-
const { children: c, ...
|
|
3891
|
-
return /* @__PURE__ */ m(rn, { ...
|
|
3891
|
+
const { children: c, ...u } = d, h = Array.isArray(s) ? (s == null ? void 0 : s.length) === (a == null ? void 0 : a.length) : !1, C = a == null ? void 0 : a.filter((x) => x == null ? void 0 : x.isHeader);
|
|
3892
|
+
return /* @__PURE__ */ m(rn, { ...u, children: [
|
|
3892
3893
|
(!e || !!C.length) && /* @__PURE__ */ m(pe, { children: [
|
|
3893
3894
|
/* @__PURE__ */ m(y1, { role: "listbox", children: [
|
|
3894
3895
|
!e && /* @__PURE__ */ n(
|
|
@@ -3928,21 +3929,21 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3928
3929
|
}
|
|
3929
3930
|
),
|
|
3930
3931
|
C == null ? void 0 : C.map((x, b) => {
|
|
3931
|
-
const E = `header-options-${x == null ? void 0 : x.id}-${b}`, y = Array.isArray(s) && s.some((
|
|
3932
|
+
const E = `header-options-${x == null ? void 0 : x.id}-${b}`, y = Array.isArray(s) && s.some((f) => JSON.stringify(f) === JSON.stringify(x));
|
|
3932
3933
|
return /* @__PURE__ */ n(
|
|
3933
3934
|
we,
|
|
3934
3935
|
{
|
|
3935
3936
|
disablePadding: !0,
|
|
3936
|
-
onClick: (
|
|
3937
|
+
onClick: (f) => {
|
|
3937
3938
|
if (y) {
|
|
3938
|
-
const w = Array.isArray(s) ? s == null ? void 0 : s.filter((
|
|
3939
|
-
i == null || i(
|
|
3939
|
+
const w = Array.isArray(s) ? s == null ? void 0 : s.filter((S) => JSON.stringify(S) !== JSON.stringify(x)) : [];
|
|
3940
|
+
i == null || i(f, w, "removeOption");
|
|
3940
3941
|
return;
|
|
3941
3942
|
}
|
|
3942
|
-
i == null || i(
|
|
3943
|
+
i == null || i(f, [...Array.isArray(s) ? s : [], x], "selectOption");
|
|
3943
3944
|
},
|
|
3944
|
-
onMouseDown: (
|
|
3945
|
-
|
|
3945
|
+
onMouseDown: (f) => {
|
|
3946
|
+
f.stopPropagation(), f.preventDefault();
|
|
3946
3947
|
},
|
|
3947
3948
|
children: /* @__PURE__ */ m(z1, { children: [
|
|
3948
3949
|
/* @__PURE__ */ n(N1, { checked: y }),
|
|
@@ -3967,26 +3968,26 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3967
3968
|
disableSelectAll: l,
|
|
3968
3969
|
value: d,
|
|
3969
3970
|
onFocus: c,
|
|
3970
|
-
onBlur:
|
|
3971
|
+
onBlur: u,
|
|
3971
3972
|
onInputChange: h,
|
|
3972
3973
|
inputValue: C,
|
|
3973
3974
|
disableClearable: x,
|
|
3974
3975
|
resetInputValueOnSelectOption: b,
|
|
3975
3976
|
size: E = "small",
|
|
3976
3977
|
disableCloseOnSelect: y = !0,
|
|
3977
|
-
multiple:
|
|
3978
|
+
multiple: f = !0,
|
|
3978
3979
|
...w
|
|
3979
|
-
},
|
|
3980
|
-
const { palette:
|
|
3980
|
+
}, S) => {
|
|
3981
|
+
const { palette: M } = ce(), [T, p] = re(!1), [A, k] = re(""), K = M.mode === "light" ? "default" : "primary", j = C || A;
|
|
3981
3982
|
return /* @__PURE__ */ n(
|
|
3982
3983
|
Qt,
|
|
3983
3984
|
{
|
|
3984
3985
|
value: d,
|
|
3985
3986
|
options: i,
|
|
3986
|
-
ref:
|
|
3987
|
+
ref: S,
|
|
3987
3988
|
size: E,
|
|
3988
3989
|
freeSolo: !1,
|
|
3989
|
-
multiple:
|
|
3990
|
+
multiple: f,
|
|
3990
3991
|
disableClearable: x,
|
|
3991
3992
|
onChange: (N, O, P, Y) => {
|
|
3992
3993
|
if (O === null) {
|
|
@@ -4000,13 +4001,13 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
4000
4001
|
inputValue: j,
|
|
4001
4002
|
PaperComponent: ia({ disableReset: s, disableSelectAll: l, localeText: a, onChange: e, options: i, value: d }),
|
|
4002
4003
|
onInputChange: (N, O, P) => {
|
|
4003
|
-
P === "reset" &&
|
|
4004
|
+
P === "reset" && T && !b || (C || k(O), h == null || h(N, O, P));
|
|
4004
4005
|
},
|
|
4005
4006
|
onFocus: (N) => {
|
|
4006
4007
|
p(!0), c == null || c(N);
|
|
4007
4008
|
},
|
|
4008
4009
|
onBlur: (N) => {
|
|
4009
|
-
p(!1),
|
|
4010
|
+
p(!1), u == null || u(N);
|
|
4010
4011
|
},
|
|
4011
4012
|
renderOption: (N, O, { selected: P }) => {
|
|
4012
4013
|
if (O != null && O.isHeader)
|
|
@@ -4033,7 +4034,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
4033
4034
|
renderInput: (N) => {
|
|
4034
4035
|
var Y, ie;
|
|
4035
4036
|
const O = () => {
|
|
4036
|
-
if (!(!
|
|
4037
|
+
if (!(!T && (Array.isArray(d) && d.length || !Array.isArray(d) && d)))
|
|
4037
4038
|
return t;
|
|
4038
4039
|
}, P = S1((Y = N.InputProps) == null ? void 0 : Y.endAdornment) ? (ie = N.InputProps) == null ? void 0 : ie.endAdornment : null;
|
|
4039
4040
|
return /* @__PURE__ */ n(
|
|
@@ -4042,7 +4043,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
4042
4043
|
...N,
|
|
4043
4044
|
InputProps: {
|
|
4044
4045
|
...N.InputProps,
|
|
4045
|
-
endAdornment:
|
|
4046
|
+
endAdornment: T ? /* @__PURE__ */ m(
|
|
4046
4047
|
b1,
|
|
4047
4048
|
{
|
|
4048
4049
|
position: "end",
|
|
@@ -4051,7 +4052,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
4051
4052
|
right: 9
|
|
4052
4053
|
},
|
|
4053
4054
|
children: [
|
|
4054
|
-
|
|
4055
|
+
T && j && !x && /* @__PURE__ */ n(me, { size: "small", onClick: () => k(""), children: /* @__PURE__ */ n(cr, {}) }),
|
|
4055
4056
|
P == null ? void 0 : P.props.children[1]
|
|
4056
4057
|
]
|
|
4057
4058
|
}
|
|
@@ -5014,13 +5015,13 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
5014
5015
|
font: d = Yr
|
|
5015
5016
|
}) => {
|
|
5016
5017
|
var x, b;
|
|
5017
|
-
const c = { ...Yr, ...d },
|
|
5018
|
+
const c = { ...Yr, ...d }, u = (c == null ? void 0 : c.googleFontName) || ((x = q1.typography.fontFamily) == null ? void 0 : x.split(",")[0]), h = (b = c == null ? void 0 : c.fontWeight) == null ? void 0 : b.join(";");
|
|
5018
5019
|
return /* @__PURE__ */ m(tn, { theme: (() => {
|
|
5019
|
-
var
|
|
5020
|
+
var f, w;
|
|
5020
5021
|
const E = typeof l == "object" ? l : {}, y = {
|
|
5021
5022
|
...s === "fr" && oa
|
|
5022
5023
|
};
|
|
5023
|
-
return l === "dark" || typeof l == "object" && "palette" in l && ((
|
|
5024
|
+
return l === "dark" || typeof l == "object" && "palette" in l && ((f = l == null ? void 0 : l.palette) == null ? void 0 : f.mode) === "dark" ? He(Ct, E, y) : l === "light" || typeof l == "object" && "palette" in l && ((w = l == null ? void 0 : l.palette) == null ? void 0 : w.mode) === "light" ? He(gt, E, y) : He(q1, E, y);
|
|
5024
5025
|
})(), children: [
|
|
5025
5026
|
/* @__PURE__ */ n(
|
|
5026
5027
|
Ke,
|
|
@@ -5036,7 +5037,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
5036
5037
|
Ke,
|
|
5037
5038
|
{
|
|
5038
5039
|
styles: m1`
|
|
5039
|
-
@import url("https://fonts.googleapis.com/css2?family=${
|
|
5040
|
+
@import url("https://fonts.googleapis.com/css2?family=${u}:wght@${h}&display=swap");
|
|
5040
5041
|
`
|
|
5041
5042
|
}
|
|
5042
5043
|
),
|
|
@@ -5082,8 +5083,8 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
5082
5083
|
severity: (c == null ? void 0 : c.severity) || "success",
|
|
5083
5084
|
variant: (c == null ? void 0 : c.variant) || "standard"
|
|
5084
5085
|
});
|
|
5085
|
-
}, []), l = ne((c,
|
|
5086
|
-
|
|
5086
|
+
}, []), l = ne((c, u) => {
|
|
5087
|
+
u !== "clickaway" && a((h) => ({ ...h, isOpen: !1 }));
|
|
5087
5088
|
}, []), d = ir(
|
|
5088
5089
|
() => ({
|
|
5089
5090
|
closeSnackbar: l,
|