@tracktor/design-system 2.7.13 → 2.7.14
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 +8 -8
- package/dist/main.js +235 -232
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -48,11 +48,11 @@ function un() {
|
|
|
48
48
|
kr = 1;
|
|
49
49
|
var e = qr, 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
50
|
function l(d, c, u) {
|
|
51
|
-
var h, x = {},
|
|
52
|
-
u !== void 0 && (
|
|
51
|
+
var h, x = {}, E = null, g = null;
|
|
52
|
+
u !== void 0 && (E = "" + u), c.key !== void 0 && (E = "" + c.key), c.ref !== void 0 && (g = c.ref);
|
|
53
53
|
for (h in c) i.call(c, h) && !s.hasOwnProperty(h) && (x[h] = c[h]);
|
|
54
54
|
if (d && d.defaultProps) for (h in c = d.defaultProps, c) x[h] === void 0 && (x[h] = c[h]);
|
|
55
|
-
return { $$typeof: r, type: d, key:
|
|
55
|
+
return { $$typeof: r, type: d, key: E, ref: g, props: x, _owner: a.current };
|
|
56
56
|
}
|
|
57
57
|
return Ye.Fragment = t, Ye.jsx = l, Ye.jsxs = l, Ye;
|
|
58
58
|
}
|
|
@@ -69,24 +69,24 @@ var Ue = {};
|
|
|
69
69
|
var Tr;
|
|
70
70
|
function fn() {
|
|
71
71
|
return Tr || (Tr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
72
|
-
var e = qr, 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"), x = Symbol.for("react.memo"),
|
|
72
|
+
var e = qr, 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"), x = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), S = Symbol.iterator, y = "@@iterator";
|
|
73
73
|
function f(o) {
|
|
74
74
|
if (o === null || typeof o != "object")
|
|
75
75
|
return null;
|
|
76
|
-
var C = S && o[S] || o[
|
|
76
|
+
var C = S && o[S] || o[y];
|
|
77
77
|
return typeof C == "function" ? C : null;
|
|
78
78
|
}
|
|
79
|
-
var
|
|
79
|
+
var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
80
80
|
function M(o) {
|
|
81
81
|
{
|
|
82
82
|
for (var C = arguments.length, m = new Array(C > 1 ? C - 1 : 0), _ = 1; _ < C; _++)
|
|
83
83
|
m[_ - 1] = arguments[_];
|
|
84
|
-
|
|
84
|
+
v("error", o, m);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function v(o, C, m) {
|
|
88
88
|
{
|
|
89
|
-
var _ =
|
|
89
|
+
var _ = b.ReactDebugCurrentFrame, $ = _.getStackAddendum();
|
|
90
90
|
$ !== "" && (C += "%s", m = m.concat([$]));
|
|
91
91
|
var W = m.map(function(O) {
|
|
92
92
|
return String(O);
|
|
@@ -97,7 +97,7 @@ function fn() {
|
|
|
97
97
|
var k = !1, p = !1, T = !1, A = !1, q = !1, j;
|
|
98
98
|
j = Symbol.for("react.module.reference");
|
|
99
99
|
function oe(o) {
|
|
100
|
-
return !!(typeof o == "string" || typeof o == "function" || o === i || o === s || q || o === a || o === u || o === h || A || o ===
|
|
100
|
+
return !!(typeof o == "string" || typeof o == "function" || o === i || o === s || q || o === a || o === u || o === h || A || o === g || k || p || T || typeof o == "object" && o !== null && (o.$$typeof === E || 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.
|
|
@@ -147,7 +147,7 @@ function fn() {
|
|
|
147
147
|
case x:
|
|
148
148
|
var _ = o.displayName || null;
|
|
149
149
|
return _ !== null ? _ : F(o.type) || "Memo";
|
|
150
|
-
case
|
|
150
|
+
case E: {
|
|
151
151
|
var $ = o, W = $._payload, O = $._init;
|
|
152
152
|
try {
|
|
153
153
|
return F(O(W));
|
|
@@ -220,7 +220,7 @@ function fn() {
|
|
|
220
220
|
G < 0 && M("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
var Be =
|
|
223
|
+
var Be = b.ReactCurrentDispatcher, Ze;
|
|
224
224
|
function Ae(o, C, m) {
|
|
225
225
|
{
|
|
226
226
|
if (Ze === void 0)
|
|
@@ -336,7 +336,7 @@ function fn() {
|
|
|
336
336
|
return Ne(o.render);
|
|
337
337
|
case x:
|
|
338
338
|
return Se(o.type, C, m);
|
|
339
|
-
case
|
|
339
|
+
case E: {
|
|
340
340
|
var _ = o, $ = _._payload, W = _._init;
|
|
341
341
|
try {
|
|
342
342
|
return Se(W($), C, m);
|
|
@@ -346,7 +346,7 @@ function fn() {
|
|
|
346
346
|
}
|
|
347
347
|
return "";
|
|
348
348
|
}
|
|
349
|
-
var je = Object.prototype.hasOwnProperty, ur = {}, fr =
|
|
349
|
+
var je = Object.prototype.hasOwnProperty, ur = {}, fr = b.ReactDebugCurrentFrame;
|
|
350
350
|
function d1(o) {
|
|
351
351
|
if (o) {
|
|
352
352
|
var C = o._owner, m = Se(o.type, o._source, C ? C.type : null);
|
|
@@ -397,7 +397,7 @@ function fn() {
|
|
|
397
397
|
if (Et(o))
|
|
398
398
|
return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", wt(o)), hr(o);
|
|
399
399
|
}
|
|
400
|
-
var We =
|
|
400
|
+
var We = b.ReactCurrentOwner, Mt = {
|
|
401
401
|
key: !0,
|
|
402
402
|
ref: !0,
|
|
403
403
|
__self: !0,
|
|
@@ -495,7 +495,7 @@ function fn() {
|
|
|
495
495
|
return _t(o, L, te, $, _, We.current, O);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
-
var V1 =
|
|
498
|
+
var V1 = b.ReactCurrentOwner, br = b.ReactDebugCurrentFrame;
|
|
499
499
|
function _e(o) {
|
|
500
500
|
if (o) {
|
|
501
501
|
var C = o._owner, m = Se(o.type, o._source, C ? C.type : null);
|
|
@@ -845,11 +845,11 @@ function In(e) {
|
|
|
845
845
|
return it(C1("", null, null, null, [""], e = nt(e), 0, [0], e));
|
|
846
846
|
}
|
|
847
847
|
function C1(e, r, t, i, a, s, l, d, c) {
|
|
848
|
-
for (var u = 0, h = 0, x = l,
|
|
848
|
+
for (var u = 0, h = 0, x = l, E = 0, g = 0, S = 0, y = 1, f = 1, b = 1, M = 0, v = "", k = a, p = s, T = i, A = v; f; )
|
|
849
849
|
switch (S = M, M = le()) {
|
|
850
850
|
case 40:
|
|
851
851
|
if (S != 108 && Q(A, x - 1) == 58) {
|
|
852
|
-
G1(A += V(g1(M), "&", "&\f"), "&\f") != -1 && (
|
|
852
|
+
G1(A += V(g1(M), "&", "&\f"), "&\f") != -1 && (b = -1);
|
|
853
853
|
break;
|
|
854
854
|
}
|
|
855
855
|
case 34:
|
|
@@ -876,9 +876,9 @@ function C1(e, r, t, i, a, s, l, d, c) {
|
|
|
876
876
|
A += "/";
|
|
877
877
|
}
|
|
878
878
|
break;
|
|
879
|
-
case 123 *
|
|
880
|
-
d[u++] = ge(A) *
|
|
881
|
-
case 125 *
|
|
879
|
+
case 123 * y:
|
|
880
|
+
d[u++] = ge(A) * b;
|
|
881
|
+
case 125 * y:
|
|
882
882
|
case 59:
|
|
883
883
|
case 0:
|
|
884
884
|
switch (M) {
|
|
@@ -886,57 +886,57 @@ function C1(e, r, t, i, a, s, l, d, c) {
|
|
|
886
886
|
case 125:
|
|
887
887
|
f = 0;
|
|
888
888
|
case 59 + h:
|
|
889
|
-
|
|
889
|
+
b == -1 && (A = V(A, /\f/g, "")), g > 0 && ge(A) - x && p1(g > 32 ? Ir(A + ";", i, t, x - 1) : Ir(V(A, " ", "") + ";", i, t, x - 2), c);
|
|
890
890
|
break;
|
|
891
891
|
case 59:
|
|
892
892
|
A += ";";
|
|
893
893
|
default:
|
|
894
|
-
if (p1(T = _r(A, r, t, u, h, a, d,
|
|
894
|
+
if (p1(T = _r(A, r, t, u, h, a, d, v, k = [], p = [], x), s), M === 123)
|
|
895
895
|
if (h === 0)
|
|
896
896
|
C1(A, r, T, T, k, s, x, d, p);
|
|
897
897
|
else
|
|
898
|
-
switch (
|
|
898
|
+
switch (E === 99 && Q(A, 3) === 110 ? 100 : E) {
|
|
899
899
|
case 100:
|
|
900
900
|
case 108:
|
|
901
901
|
case 109:
|
|
902
902
|
case 115:
|
|
903
|
-
C1(e, T, T, i && p1(_r(e, T, T, 0, 0, a, d,
|
|
903
|
+
C1(e, T, T, i && p1(_r(e, T, T, 0, 0, a, d, v, a, k = [], x), p), a, p, x, d, i ? k : p);
|
|
904
904
|
break;
|
|
905
905
|
default:
|
|
906
906
|
C1(A, T, T, T, [""], p, 0, d, p);
|
|
907
907
|
}
|
|
908
908
|
}
|
|
909
|
-
u = h =
|
|
909
|
+
u = h = g = 0, y = b = 1, v = A = "", x = l;
|
|
910
910
|
break;
|
|
911
911
|
case 58:
|
|
912
|
-
x = 1 + ge(A),
|
|
912
|
+
x = 1 + ge(A), g = S;
|
|
913
913
|
default:
|
|
914
|
-
if (
|
|
914
|
+
if (y < 1) {
|
|
915
915
|
if (M == 123)
|
|
916
|
-
--
|
|
917
|
-
else if (M == 125 &&
|
|
916
|
+
--y;
|
|
917
|
+
else if (M == 125 && y++ == 0 && Rn() == 125)
|
|
918
918
|
continue;
|
|
919
919
|
}
|
|
920
|
-
switch (A += k1(M), M *
|
|
920
|
+
switch (A += k1(M), M * y) {
|
|
921
921
|
case 38:
|
|
922
|
-
|
|
922
|
+
b = h > 0 ? 1 : (A += "\f", -1);
|
|
923
923
|
break;
|
|
924
924
|
case 44:
|
|
925
|
-
d[u++] = (ge(A) - 1) *
|
|
925
|
+
d[u++] = (ge(A) - 1) * b, b = 1;
|
|
926
926
|
break;
|
|
927
927
|
case 64:
|
|
928
|
-
xe() === 45 && (A += g1(le())),
|
|
928
|
+
xe() === 45 && (A += g1(le())), E = xe(), h = x = ge(v = A += _n(h1())), M++;
|
|
929
929
|
break;
|
|
930
930
|
case 45:
|
|
931
|
-
S === 45 && ge(A) == 2 && (
|
|
931
|
+
S === 45 && ge(A) == 2 && (y = 0);
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
return s;
|
|
935
935
|
}
|
|
936
936
|
function _r(e, r, t, i, a, s, l, d, c, u, h) {
|
|
937
|
-
for (var x = a - 1,
|
|
938
|
-
for (var
|
|
939
|
-
(
|
|
937
|
+
for (var x = a - 1, E = a === 0 ? s : [""], g = lr(E), S = 0, y = 0, f = 0; S < i; ++S)
|
|
938
|
+
for (var b = 0, M = t1(e, x + 1, x = mn(y = l[S])), v = e; b < g; ++b)
|
|
939
|
+
(v = rt(y > 0 ? E[b] + " " + M : V(M, /&\f/g, E[b]))) && (c[f++] = v);
|
|
940
940
|
return _1(e, r, t, a === 0 ? or : d, c, u, h);
|
|
941
941
|
}
|
|
942
942
|
function Fn(e, r, t) {
|
|
@@ -1176,9 +1176,9 @@ var zn = function(r, t, i, a) {
|
|
|
1176
1176
|
var t = r.key;
|
|
1177
1177
|
if (t === "css") {
|
|
1178
1178
|
var i = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
1179
|
-
Array.prototype.forEach.call(i, function(
|
|
1180
|
-
var f =
|
|
1181
|
-
f.indexOf(" ") !== -1 && (document.head.appendChild(
|
|
1179
|
+
Array.prototype.forEach.call(i, function(y) {
|
|
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 || Nn, s = {}, l, d = [];
|
|
@@ -1186,21 +1186,21 @@ var zn = function(r, t, i, a) {
|
|
|
1186
1186
|
// this means we will ignore elements which don't have a space in them which
|
|
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
|
-
function(
|
|
1190
|
-
for (var f =
|
|
1191
|
-
s[f[
|
|
1192
|
-
d.push(
|
|
1189
|
+
function(y) {
|
|
1190
|
+
for (var f = y.getAttribute("data-emotion").split(" "), b = 1; b < f.length; b++)
|
|
1191
|
+
s[f[b]] = !0;
|
|
1192
|
+
d.push(y);
|
|
1193
1193
|
}
|
|
1194
1194
|
);
|
|
1195
1195
|
var c, u = [Bn, Zn];
|
|
1196
1196
|
{
|
|
1197
|
-
var h, x = [Hn, On(function(
|
|
1198
|
-
h.insert(
|
|
1199
|
-
})],
|
|
1200
|
-
return Le(In(f),
|
|
1197
|
+
var h, x = [Hn, On(function(y) {
|
|
1198
|
+
h.insert(y);
|
|
1199
|
+
})], E = Ln(u.concat(a, x)), g = function(f) {
|
|
1200
|
+
return Le(In(f), E);
|
|
1201
1201
|
};
|
|
1202
|
-
c = function(f,
|
|
1203
|
-
h = M,
|
|
1202
|
+
c = function(f, b, M, v) {
|
|
1203
|
+
h = M, g(f ? f + "{" + b.styles + "}" : b.styles), v && (S.inserted[b.name] = !0);
|
|
1204
1204
|
};
|
|
1205
1205
|
}
|
|
1206
1206
|
var S = {
|
|
@@ -1232,8 +1232,8 @@ var Hr;
|
|
|
1232
1232
|
function Wn() {
|
|
1233
1233
|
if (Hr) return D;
|
|
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, u = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113,
|
|
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, x = e ? Symbol.for("react.suspense") : 60113, E = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, S = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
1236
|
+
function v(p) {
|
|
1237
1237
|
if (typeof p == "object" && p !== null) {
|
|
1238
1238
|
var T = p.$$typeof;
|
|
1239
1239
|
switch (T) {
|
|
@@ -1251,7 +1251,7 @@ function Wn() {
|
|
|
1251
1251
|
case d:
|
|
1252
1252
|
case h:
|
|
1253
1253
|
case S:
|
|
1254
|
-
case
|
|
1254
|
+
case g:
|
|
1255
1255
|
case l:
|
|
1256
1256
|
return p;
|
|
1257
1257
|
default:
|
|
@@ -1264,35 +1264,35 @@ function Wn() {
|
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
1266
|
function k(p) {
|
|
1267
|
-
return
|
|
1267
|
+
return v(p) === u;
|
|
1268
1268
|
}
|
|
1269
|
-
return D.AsyncMode = c, D.ConcurrentMode = u, D.ContextConsumer = d, D.ContextProvider = l, D.Element = r, D.ForwardRef = h, D.Fragment = i, D.Lazy = S, D.Memo =
|
|
1270
|
-
return k(p) ||
|
|
1269
|
+
return D.AsyncMode = c, D.ConcurrentMode = u, D.ContextConsumer = d, D.ContextProvider = l, D.Element = r, D.ForwardRef = h, D.Fragment = i, D.Lazy = S, D.Memo = g, D.Portal = t, D.Profiler = s, D.StrictMode = a, D.Suspense = x, D.isAsyncMode = function(p) {
|
|
1270
|
+
return k(p) || v(p) === c;
|
|
1271
1271
|
}, D.isConcurrentMode = k, D.isContextConsumer = function(p) {
|
|
1272
|
-
return
|
|
1272
|
+
return v(p) === d;
|
|
1273
1273
|
}, D.isContextProvider = function(p) {
|
|
1274
|
-
return
|
|
1274
|
+
return v(p) === l;
|
|
1275
1275
|
}, D.isElement = function(p) {
|
|
1276
1276
|
return typeof p == "object" && p !== null && p.$$typeof === r;
|
|
1277
1277
|
}, D.isForwardRef = function(p) {
|
|
1278
|
-
return
|
|
1278
|
+
return v(p) === h;
|
|
1279
1279
|
}, D.isFragment = function(p) {
|
|
1280
|
-
return
|
|
1280
|
+
return v(p) === i;
|
|
1281
1281
|
}, D.isLazy = function(p) {
|
|
1282
|
-
return
|
|
1282
|
+
return v(p) === S;
|
|
1283
1283
|
}, D.isMemo = function(p) {
|
|
1284
|
-
return
|
|
1284
|
+
return v(p) === g;
|
|
1285
1285
|
}, D.isPortal = function(p) {
|
|
1286
|
-
return
|
|
1286
|
+
return v(p) === t;
|
|
1287
1287
|
}, D.isProfiler = function(p) {
|
|
1288
|
-
return
|
|
1288
|
+
return v(p) === s;
|
|
1289
1289
|
}, D.isStrictMode = function(p) {
|
|
1290
|
-
return
|
|
1290
|
+
return v(p) === a;
|
|
1291
1291
|
}, D.isSuspense = function(p) {
|
|
1292
|
-
return
|
|
1292
|
+
return v(p) === x;
|
|
1293
1293
|
}, D.isValidElementType = function(p) {
|
|
1294
|
-
return typeof p == "string" || typeof p == "function" || p === i || p === u || p === s || p === a || p === x || p ===
|
|
1295
|
-
}, D.typeOf =
|
|
1294
|
+
return typeof p == "string" || typeof p == "function" || p === i || p === u || p === s || p === a || p === x || p === E || typeof p == "object" && p !== null && (p.$$typeof === S || p.$$typeof === g || p.$$typeof === l || p.$$typeof === d || p.$$typeof === h || p.$$typeof === f || p.$$typeof === b || p.$$typeof === M || p.$$typeof === y);
|
|
1295
|
+
}, D.typeOf = v, D;
|
|
1296
1296
|
}
|
|
1297
1297
|
var B = {};
|
|
1298
1298
|
/** @license React v16.13.1
|
|
@@ -1306,10 +1306,10 @@ var B = {};
|
|
|
1306
1306
|
var Lr;
|
|
1307
1307
|
function Yn() {
|
|
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, u = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113,
|
|
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, x = e ? Symbol.for("react.suspense") : 60113, E = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, S = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
1310
|
+
function v(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 === u || R === s || R === a || R === x || R ===
|
|
1312
|
+
R === i || R === u || R === s || R === a || R === x || R === E || typeof R == "object" && R !== null && (R.$$typeof === S || R.$$typeof === g || R.$$typeof === l || R.$$typeof === d || R.$$typeof === h || R.$$typeof === f || R.$$typeof === b || R.$$typeof === M || R.$$typeof === y);
|
|
1313
1313
|
}
|
|
1314
1314
|
function k(R) {
|
|
1315
1315
|
if (typeof R == "object" && R !== null) {
|
|
@@ -1331,7 +1331,7 @@ function Yn() {
|
|
|
1331
1331
|
case d:
|
|
1332
1332
|
case h:
|
|
1333
1333
|
case S:
|
|
1334
|
-
case
|
|
1334
|
+
case g:
|
|
1335
1335
|
case l:
|
|
1336
1336
|
return Se;
|
|
1337
1337
|
default:
|
|
@@ -1343,7 +1343,7 @@ function Yn() {
|
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
|
-
var p = c, T = u, A = d, q = l, j = r, oe = h, ye = i, z = S, F =
|
|
1346
|
+
var p = c, T = u, A = d, q = l, j = r, oe = h, ye = i, z = S, F = g, N = t, G = s, fe = a, me = x, $e = !1;
|
|
1347
1347
|
function o1(R) {
|
|
1348
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) || k(R) === c;
|
|
1349
1349
|
}
|
|
@@ -1369,7 +1369,7 @@ function Yn() {
|
|
|
1369
1369
|
return k(R) === S;
|
|
1370
1370
|
}
|
|
1371
1371
|
function Ze(R) {
|
|
1372
|
-
return k(R) ===
|
|
1372
|
+
return k(R) === g;
|
|
1373
1373
|
}
|
|
1374
1374
|
function Ae(R) {
|
|
1375
1375
|
return k(R) === t;
|
|
@@ -1383,7 +1383,7 @@ function Yn() {
|
|
|
1383
1383
|
function L1(R) {
|
|
1384
1384
|
return k(R) === x;
|
|
1385
1385
|
}
|
|
1386
|
-
B.AsyncMode = p, B.ConcurrentMode = T, B.ContextConsumer = A, B.ContextProvider = q, B.Element = j, B.ForwardRef = oe, B.Fragment = ye, B.Lazy = z, B.Memo = F, B.Portal = N, B.Profiler = G, B.StrictMode = fe, B.Suspense = me, B.isAsyncMode = o1, B.isConcurrentMode = De, B.isContextConsumer = s1, B.isContextProvider = l1, B.isElement = c1, B.isForwardRef = F1, B.isFragment = H1, B.isLazy = Be, B.isMemo = Ze, B.isPortal = Ae, B.isProfiler = ze, B.isStrictMode = ke, B.isSuspense = L1, B.isValidElementType =
|
|
1386
|
+
B.AsyncMode = p, B.ConcurrentMode = T, B.ContextConsumer = A, B.ContextProvider = q, B.Element = j, B.ForwardRef = oe, B.Fragment = ye, B.Lazy = z, B.Memo = F, B.Portal = N, B.Profiler = G, B.StrictMode = fe, B.Suspense = me, B.isAsyncMode = o1, B.isConcurrentMode = De, B.isContextConsumer = s1, B.isContextProvider = l1, B.isElement = c1, B.isForwardRef = F1, B.isFragment = H1, B.isLazy = Be, B.isMemo = Ze, B.isPortal = Ae, B.isProfiler = ze, B.isStrictMode = ke, B.isSuspense = L1, B.isValidElementType = v, B.typeOf = k;
|
|
1387
1387
|
}()), B;
|
|
1388
1388
|
}
|
|
1389
1389
|
process.env.NODE_ENV === "production" ? q1.exports = Wn() : q1.exports = Yn();
|
|
@@ -1729,20 +1729,20 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
1729
1729
|
getTextColor: r
|
|
1730
1730
|
};
|
|
1731
1731
|
}, wi = ({ 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 [x,
|
|
1732
|
+
const [x, E] = re(""), { palette: g } = ce(), { getTextColor: S, getImageModule: y, getSize: f, getShapeColor: b, getShapeBackgroundColor: M } = vi(), { height: v, width: k } = f({ height: i, variant: c, width: a, withoutText: s }), p = S(t), T = b(e), A = M(r);
|
|
1733
1733
|
if (S1(() => {
|
|
1734
1734
|
u !== "svg" && (async () => {
|
|
1735
|
-
const q = await
|
|
1736
|
-
|
|
1735
|
+
const q = await y(c, l || g.mode, s);
|
|
1736
|
+
E(q.default);
|
|
1737
1737
|
})();
|
|
1738
|
-
}, [u,
|
|
1738
|
+
}, [u, y, l, g.mode, c, s]), u === "img")
|
|
1739
1739
|
return x ? /* @__PURE__ */ n(
|
|
1740
1740
|
H,
|
|
1741
1741
|
{
|
|
1742
1742
|
component: "img",
|
|
1743
1743
|
src: x,
|
|
1744
1744
|
alt: "Tracktor",
|
|
1745
|
-
height:
|
|
1745
|
+
height: v,
|
|
1746
1746
|
width: k,
|
|
1747
1747
|
ref: h,
|
|
1748
1748
|
sx: d
|
|
@@ -1755,16 +1755,16 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
1755
1755
|
sx: {
|
|
1756
1756
|
display: "inline-block",
|
|
1757
1757
|
fontSize: 0,
|
|
1758
|
-
height:
|
|
1759
|
-
maxHeight:
|
|
1758
|
+
height: v,
|
|
1759
|
+
maxHeight: v,
|
|
1760
1760
|
maxWidth: k,
|
|
1761
1761
|
width: k
|
|
1762
1762
|
}
|
|
1763
1763
|
}
|
|
1764
1764
|
);
|
|
1765
1765
|
if (s) {
|
|
1766
|
-
const q = e ||
|
|
1767
|
-
return /* @__PURE__ */ w(H, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height:
|
|
1766
|
+
const q = e || g.primary.main;
|
|
1767
|
+
return /* @__PURE__ */ w(H, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: v, width: k, ...d }, children: [
|
|
1768
1768
|
/* @__PURE__ */ n("path", { d: "M17 0V15H32C32 6.71026 25.2897 0 17 0Z", fill: q }),
|
|
1769
1769
|
/* @__PURE__ */ n("path", { d: "M0 0V15H15C15 6.71026 8.27968 0 0 0Z", fill: q }),
|
|
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: q }),
|
|
@@ -1777,7 +1777,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
1777
1777
|
component: "svg",
|
|
1778
1778
|
viewBox: "0 0 147 44",
|
|
1779
1779
|
fill: "none",
|
|
1780
|
-
sx: { height:
|
|
1780
|
+
sx: { height: v, width: k, ...d },
|
|
1781
1781
|
ref: h,
|
|
1782
1782
|
children: [
|
|
1783
1783
|
/* @__PURE__ */ w("g", { clipPath: "url(#clip0_12018_69701)", children: [
|
|
@@ -1878,7 +1878,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
1878
1878
|
component: "svg",
|
|
1879
1879
|
viewBox: "0 0 195 24",
|
|
1880
1880
|
fill: "none",
|
|
1881
|
-
sx: { height:
|
|
1881
|
+
sx: { height: v, width: k, ...d },
|
|
1882
1882
|
ref: h,
|
|
1883
1883
|
children: [
|
|
1884
1884
|
/* @__PURE__ */ n(
|
|
@@ -1980,7 +1980,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
1980
1980
|
"path",
|
|
1981
1981
|
{
|
|
1982
1982
|
d: "M118.652 9.636V10.524H115.016V13.344H117.968V14.232H115.016V18H113.924V9.636H118.652ZM124.163 18.084C123.387 18.084 122.679 17.904 122.039 17.544C121.399 17.176 120.891 16.668 120.515 16.02C120.147 15.364 119.963 14.628 119.963 13.812C119.963 12.996 120.147 12.264 120.515 11.616C120.891 10.96 121.399 10.452 122.039 10.092C122.679 9.724 123.387 9.54 124.163 9.54C124.947 9.54 125.659 9.724 126.299 10.092C126.939 10.452 127.443 10.956 127.811 11.604C128.179 12.252 128.363 12.988 128.363 13.812C128.363 14.636 128.179 15.372 127.811 16.02C127.443 16.668 126.939 17.176 126.299 17.544C125.659 17.904 124.947 18.084 124.163 18.084ZM124.163 17.136C124.747 17.136 125.271 17 125.735 16.728C126.207 16.456 126.575 16.068 126.839 15.564C127.111 15.06 127.247 14.476 127.247 13.812C127.247 13.14 127.111 12.556 126.839 12.06C126.575 11.556 126.211 11.168 125.747 10.896C125.283 10.624 124.755 10.488 124.163 10.488C123.571 10.488 123.043 10.624 122.579 10.896C122.115 11.168 121.747 11.556 121.475 12.06C121.211 12.556 121.079 13.14 121.079 13.812C121.079 14.476 121.211 15.06 121.475 15.564C121.747 16.068 122.115 16.456 122.579 16.728C123.051 17 123.579 17.136 124.163 17.136ZM131.272 9.636V14.928C131.272 15.672 131.452 16.224 131.812 16.584C132.18 16.944 132.688 17.124 133.336 17.124C133.976 17.124 134.476 16.944 134.836 16.584C135.204 16.224 135.388 15.672 135.388 14.928V9.636H136.48V14.916C136.48 15.612 136.34 16.2 136.06 16.68C135.78 17.152 135.4 17.504 134.92 17.736C134.448 17.968 133.916 18.084 133.324 18.084C132.732 18.084 132.196 17.968 131.716 17.736C131.244 17.504 130.868 17.152 130.588 16.68C130.316 16.2 130.18 15.612 130.18 14.916V9.636H131.272ZM143.106 18L141.114 14.58H139.794V18H138.702V9.636H141.402C142.034 9.636 142.566 9.744 142.998 9.96C143.438 10.176 143.766 10.468 143.982 10.836C144.198 11.204 144.306 11.624 144.306 12.096C144.306 12.672 144.138 13.18 143.802 13.62C143.474 14.06 142.978 14.352 142.314 14.496L144.414 18H143.106ZM139.794 13.704H141.402C141.994 13.704 142.438 13.56 142.734 13.272C143.03 12.976 143.178 12.584 143.178 12.096C143.178 11.6 143.03 11.216 142.734 10.944C142.446 10.672 142.002 10.536 141.402 10.536H139.794V13.704ZM152.979 18H151.887L147.495 11.34V18H146.403V9.624H147.495L151.887 16.272V9.624H152.979V18ZM156.332 9.636V18H155.24V9.636H156.332ZM161.246 18.084C160.694 18.084 160.198 17.988 159.758 17.796C159.326 17.596 158.986 17.324 158.738 16.98C158.49 16.628 158.362 16.224 158.354 15.768H159.518C159.558 16.16 159.718 16.492 159.998 16.764C160.286 17.028 160.702 17.16 161.246 17.16C161.766 17.16 162.174 17.032 162.47 16.776C162.774 16.512 162.926 16.176 162.926 15.768C162.926 15.448 162.838 15.188 162.662 14.988C162.486 14.788 162.266 14.636 162.002 14.532C161.738 14.428 161.382 14.316 160.934 14.196C160.382 14.052 159.938 13.908 159.602 13.764C159.274 13.62 158.99 13.396 158.75 13.092C158.518 12.78 158.402 12.364 158.402 11.844C158.402 11.388 158.518 10.984 158.75 10.632C158.982 10.28 159.306 10.008 159.722 9.816C160.146 9.624 160.63 9.528 161.174 9.528C161.958 9.528 162.598 9.724 163.094 10.116C163.598 10.508 163.882 11.028 163.946 11.676H162.746C162.706 11.356 162.538 11.076 162.242 10.836C161.946 10.588 161.554 10.464 161.066 10.464C160.61 10.464 160.238 10.584 159.95 10.824C159.662 11.056 159.518 11.384 159.518 11.808C159.518 12.112 159.602 12.36 159.77 12.552C159.946 12.744 160.158 12.892 160.406 12.996C160.662 13.092 161.018 13.204 161.474 13.332C162.026 13.484 162.47 13.636 162.806 13.788C163.142 13.932 163.43 14.16 163.67 14.472C163.91 14.776 164.03 15.192 164.03 15.72C164.03 16.128 163.922 16.512 163.706 16.872C163.49 17.232 163.17 17.524 162.746 17.748C162.322 17.972 161.822 18.084 161.246 18.084ZM168.688 18.084C168.136 18.084 167.64 17.988 167.2 17.796C166.768 17.596 166.428 17.324 166.18 16.98C165.932 16.628 165.804 16.224 165.796 15.768H166.96C167 16.16 167.16 16.492 167.44 16.764C167.728 17.028 168.144 17.16 168.688 17.16C169.208 17.16 169.616 17.032 169.912 16.776C170.216 16.512 170.368 16.176 170.368 15.768C170.368 15.448 170.28 15.188 170.104 14.988C169.928 14.788 169.708 14.636 169.444 14.532C169.18 14.428 168.824 14.316 168.376 14.196C167.824 14.052 167.38 13.908 167.044 13.764C166.716 13.62 166.432 13.396 166.192 13.092C165.96 12.78 165.844 12.364 165.844 11.844C165.844 11.388 165.96 10.984 166.192 10.632C166.424 10.28 166.748 10.008 167.164 9.816C167.588 9.624 168.072 9.528 168.616 9.528C169.4 9.528 170.04 9.724 170.536 10.116C171.04 10.508 171.324 11.028 171.388 11.676H170.188C170.148 11.356 169.98 11.076 169.684 10.836C169.388 10.588 168.996 10.464 168.508 10.464C168.052 10.464 167.68 10.584 167.392 10.824C167.104 11.056 166.96 11.384 166.96 11.808C166.96 12.112 167.044 12.36 167.212 12.552C167.388 12.744 167.6 12.892 167.848 12.996C168.104 13.092 168.46 13.204 168.916 13.332C169.468 13.484 169.912 13.636 170.248 13.788C170.584 13.932 170.872 14.16 171.112 14.472C171.352 14.776 171.472 15.192 171.472 15.72C171.472 16.128 171.364 16.512 171.148 16.872C170.932 17.232 170.612 17.524 170.188 17.748C169.764 17.972 169.264 18.084 168.688 18.084ZM174.571 10.524V13.32H177.619V14.22H174.571V17.1H177.979V18H173.479V9.624H177.979V10.524H174.571ZM181.1 9.636V14.928C181.1 15.672 181.28 16.224 181.64 16.584C182.008 16.944 182.516 17.124 183.164 17.124C183.804 17.124 184.304 16.944 184.664 16.584C185.032 16.224 185.216 15.672 185.216 14.928V9.636H186.308V14.916C186.308 15.612 186.168 16.2 185.888 16.68C185.608 17.152 185.228 17.504 184.748 17.736C184.276 17.968 183.744 18.084 183.152 18.084C182.56 18.084 182.024 17.968 181.544 17.736C181.072 17.504 180.696 17.152 180.416 16.68C180.144 16.2 180.008 15.612 180.008 14.916V9.636H181.1ZM192.933 18L190.941 14.58H189.621V18H188.529V9.636H191.229C191.861 9.636 192.393 9.744 192.825 9.96C193.265 10.176 193.593 10.468 193.809 10.836C194.025 11.204 194.133 11.624 194.133 12.096C194.133 12.672 193.965 13.18 193.629 13.62C193.301 14.06 192.805 14.352 192.141 14.496L194.241 18H192.933ZM189.621 13.704H191.229C191.821 13.704 192.265 13.56 192.561 13.272C192.857 12.976 193.005 12.584 193.005 12.096C193.005 11.6 192.857 11.216 192.561 10.944C192.273 10.672 191.829 10.536 191.229 10.536H189.621V13.704Z",
|
|
1983
|
-
fill:
|
|
1983
|
+
fill: g.text.secondary
|
|
1984
1984
|
}
|
|
1985
1985
|
),
|
|
1986
1986
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_14141_226706", children: /* @__PURE__ */ n("rect", { width: "16", height: "16", fill: "white", transform: "translate(4 4)" }) }) })
|
|
@@ -1992,7 +1992,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
1992
1992
|
component: "svg",
|
|
1993
1993
|
viewBox: "0 0 105 24",
|
|
1994
1994
|
fill: "none",
|
|
1995
|
-
sx: { height:
|
|
1995
|
+
sx: { height: v, width: k, ...d },
|
|
1996
1996
|
ref: h,
|
|
1997
1997
|
children: [
|
|
1998
1998
|
/* @__PURE__ */ n(
|
|
@@ -2155,8 +2155,8 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2155
2155
|
er,
|
|
2156
2156
|
{
|
|
2157
2157
|
onChange: (x) => {
|
|
2158
|
-
const { target:
|
|
2159
|
-
|
|
2158
|
+
const { target: E } = x, g = +E.value;
|
|
2159
|
+
g <= a && g >= i && (t == null || t(g));
|
|
2160
2160
|
},
|
|
2161
2161
|
autoComplete: "off",
|
|
2162
2162
|
InputProps: {
|
|
@@ -2278,20 +2278,20 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2278
2278
|
NavLink: u,
|
|
2279
2279
|
Footer: h,
|
|
2280
2280
|
Search: x = r.Logo,
|
|
2281
|
-
Logo:
|
|
2282
|
-
} = we(Ve), { palette:
|
|
2281
|
+
Logo: E = r.Logo
|
|
2282
|
+
} = we(Ve), { palette: g } = ce(), S = g.mode === "dark" ? g.background.default : g.primary.black, y = a && l ? "none" : `solid 1px ${g.divider}`, b = t ? !(!a && !s) : !0;
|
|
2283
2283
|
return /* @__PURE__ */ w(
|
|
2284
2284
|
H,
|
|
2285
2285
|
{
|
|
2286
2286
|
sx: {
|
|
2287
2287
|
...Xe.container,
|
|
2288
|
-
borderRight:
|
|
2288
|
+
borderRight: y,
|
|
2289
2289
|
overflowX: "auto",
|
|
2290
2290
|
width: a ? "100%" : d || "auto"
|
|
2291
2291
|
},
|
|
2292
2292
|
component: "aside",
|
|
2293
2293
|
children: [
|
|
2294
|
-
|
|
2294
|
+
E && /* @__PURE__ */ w(
|
|
2295
2295
|
Z,
|
|
2296
2296
|
{
|
|
2297
2297
|
sx: {
|
|
@@ -2315,14 +2315,14 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2315
2315
|
}
|
|
2316
2316
|
}
|
|
2317
2317
|
},
|
|
2318
|
-
children:
|
|
2318
|
+
children: E
|
|
2319
2319
|
}
|
|
2320
2320
|
),
|
|
2321
|
-
a && /* @__PURE__ */ n(Ee, { onClick: i, children: /* @__PURE__ */ n(cr, { color:
|
|
2321
|
+
a && /* @__PURE__ */ n(Ee, { onClick: i, children: /* @__PURE__ */ n(cr, { color: g.getContrastText(S) }) })
|
|
2322
2322
|
]
|
|
2323
2323
|
}
|
|
2324
2324
|
),
|
|
2325
|
-
x &&
|
|
2325
|
+
x && b && /* @__PURE__ */ n(H, { p: 2, children: x }),
|
|
2326
2326
|
/* @__PURE__ */ n(H, { flex: 1, children: e }),
|
|
2327
2327
|
c && /* @__PURE__ */ n(H, { sx: Xe.bottomLink, children: /* @__PURE__ */ n(dr, { component: u, ...c, children: /* @__PURE__ */ w(Z, { alignItems: "center", justifyContent: "center", spacing: 1, direction: "row", children: [
|
|
2328
2328
|
(c == null ? void 0 : c.icon) && /* @__PURE__ */ n(H, { component: "span", display: "flex", children: c == null ? void 0 : c.icon }),
|
|
@@ -2418,10 +2418,10 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2418
2418
|
bottomLink: u,
|
|
2419
2419
|
sideBarWidth: h = 260
|
|
2420
2420
|
}) => {
|
|
2421
|
-
const { breakpoints: x } = ce(),
|
|
2422
|
-
|
|
2423
|
-
}, []),
|
|
2424
|
-
|
|
2421
|
+
const { breakpoints: x } = ce(), E = e1(x.down("sm")), g = e1(x.between("sm", "md")), [S, y] = re(ht.isDrawerOpen), f = ne(() => {
|
|
2422
|
+
y(!1);
|
|
2423
|
+
}, []), b = ne(() => {
|
|
2424
|
+
y(!0);
|
|
2425
2425
|
}, []), M = A1(
|
|
2426
2426
|
() => ({
|
|
2427
2427
|
AppBar: e,
|
|
@@ -2432,12 +2432,12 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2432
2432
|
Footer: a,
|
|
2433
2433
|
hideSearchDesktop: c,
|
|
2434
2434
|
isDrawerOpen: S,
|
|
2435
|
-
isMobile:
|
|
2436
|
-
isTablet:
|
|
2435
|
+
isMobile: E,
|
|
2436
|
+
isTablet: g,
|
|
2437
2437
|
items: s,
|
|
2438
2438
|
Logo: i,
|
|
2439
2439
|
NavLink: r,
|
|
2440
|
-
openDrawerMenu:
|
|
2440
|
+
openDrawerMenu: b,
|
|
2441
2441
|
Search: t,
|
|
2442
2442
|
sideBarWidth: h
|
|
2443
2443
|
}),
|
|
@@ -2445,10 +2445,10 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2445
2445
|
f,
|
|
2446
2446
|
d,
|
|
2447
2447
|
S,
|
|
2448
|
-
v,
|
|
2449
|
-
b,
|
|
2450
|
-
s,
|
|
2451
2448
|
E,
|
|
2449
|
+
g,
|
|
2450
|
+
s,
|
|
2451
|
+
b,
|
|
2452
2452
|
h,
|
|
2453
2453
|
i,
|
|
2454
2454
|
r,
|
|
@@ -2567,7 +2567,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2567
2567
|
variant: u,
|
|
2568
2568
|
startIcon: h,
|
|
2569
2569
|
endIcon: x,
|
|
2570
|
-
...
|
|
2570
|
+
...E
|
|
2571
2571
|
} = e;
|
|
2572
2572
|
return /* @__PURE__ */ n(
|
|
2573
2573
|
tr,
|
|
@@ -2579,7 +2579,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2579
2579
|
disableRipple: a || u === "link",
|
|
2580
2580
|
startIcon: s && h ? /* @__PURE__ */ n(E1, { position: "relative", size: c }) : h,
|
|
2581
2581
|
endIcon: s && x ? /* @__PURE__ */ n(E1, { position: "relative", size: c }) : x,
|
|
2582
|
-
...
|
|
2582
|
+
...E,
|
|
2583
2583
|
children: /* @__PURE__ */ n(
|
|
2584
2584
|
$i,
|
|
2585
2585
|
{
|
|
@@ -2676,12 +2676,12 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
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 }), ka = ({ src: e, isLoading: r, sx: t, width: i = 64, height: a = 64, alt: s = "Article" }) => {
|
|
2679
|
-
const [l, d] = re(), [c, u] = re(), { shape: h } = ce(), { borderRadius: x, padding:
|
|
2680
|
-
u(void 0), d(
|
|
2679
|
+
const [l, d] = re(), [c, u] = re(), { shape: h } = ce(), { borderRadius: x, padding: E } = Zi(i, a, h), g = { borderRadius: x, flexShrink: 0 }, S = e && !l && !c, y = !e || c && !l || c && l, f = (b) => {
|
|
2680
|
+
u(void 0), d(b);
|
|
2681
2681
|
};
|
|
2682
|
-
return r ? /* @__PURE__ */ n(zr, { width: i, height: a, sx:
|
|
2683
|
-
S && /* @__PURE__ */ n(zr, { width: i, height: a, sx:
|
|
2684
|
-
|
|
2682
|
+
return r ? /* @__PURE__ */ n(zr, { width: i, height: a, sx: g }) : /* @__PURE__ */ w(pe, { children: [
|
|
2683
|
+
S && /* @__PURE__ */ n(zr, { width: i, height: a, sx: g }),
|
|
2684
|
+
y && /* @__PURE__ */ n(
|
|
2685
2685
|
Z,
|
|
2686
2686
|
{
|
|
2687
2687
|
justifyContent: "center",
|
|
@@ -2689,9 +2689,9 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2689
2689
|
width: i,
|
|
2690
2690
|
height: a,
|
|
2691
2691
|
sx: {
|
|
2692
|
-
background: ({ palette:
|
|
2693
|
-
padding:
|
|
2694
|
-
...
|
|
2692
|
+
background: ({ palette: b }) => b.background.paper,
|
|
2693
|
+
padding: E,
|
|
2694
|
+
...g,
|
|
2695
2695
|
...t
|
|
2696
2696
|
},
|
|
2697
2697
|
children: /* @__PURE__ */ w("svg", { width: "100%", height: "100%", viewBox: "0 0 39 38", fill: "none", children: [
|
|
@@ -2734,10 +2734,10 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2734
2734
|
alt: s,
|
|
2735
2735
|
width: i,
|
|
2736
2736
|
height: a,
|
|
2737
|
-
sx:
|
|
2737
|
+
sx: g,
|
|
2738
2738
|
onError: u,
|
|
2739
2739
|
onLoad: f,
|
|
2740
|
-
display:
|
|
2740
|
+
display: y || !l ? "none" : "block"
|
|
2741
2741
|
}
|
|
2742
2742
|
)
|
|
2743
2743
|
] });
|
|
@@ -2781,19 +2781,19 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2781
2781
|
disableLightbox: u,
|
|
2782
2782
|
disableThumb: h,
|
|
2783
2783
|
open: x,
|
|
2784
|
-
onClose:
|
|
2784
|
+
onClose: E
|
|
2785
2785
|
}) => {
|
|
2786
|
-
const [
|
|
2787
|
-
S(!
|
|
2786
|
+
const [g, S] = re(!1), [y, f] = re(!1), b = !(e != null && e.endsWith(".pdf")) && !e.startsWith("blob:"), M = /\.pdf$/i.test(e.toLowerCase()), v = ar(null), k = y ? zi : r || e, p = () => {
|
|
2787
|
+
S(!g);
|
|
2788
2788
|
}, T = ne(() => {
|
|
2789
2789
|
f(!0);
|
|
2790
2790
|
}, []);
|
|
2791
2791
|
return S1(() => {
|
|
2792
|
-
const A =
|
|
2792
|
+
const A = v.current;
|
|
2793
2793
|
return A == null || A.addEventListener("error", T), () => {
|
|
2794
2794
|
A == null || A.removeEventListener("error", T);
|
|
2795
2795
|
};
|
|
2796
|
-
}, [T,
|
|
2796
|
+
}, [T, v]), /* @__PURE__ */ w(pe, { children: [
|
|
2797
2797
|
!h && /* @__PURE__ */ n(
|
|
2798
2798
|
H,
|
|
2799
2799
|
{
|
|
@@ -2813,19 +2813,19 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2813
2813
|
children: /* @__PURE__ */ n(
|
|
2814
2814
|
H,
|
|
2815
2815
|
{
|
|
2816
|
-
component:
|
|
2816
|
+
component: b ? "img" : "iframe",
|
|
2817
2817
|
overflow: "hidden",
|
|
2818
|
-
height:
|
|
2818
|
+
height: b ? "100%" : "auto",
|
|
2819
2819
|
width: "100%",
|
|
2820
2820
|
src: k,
|
|
2821
|
-
ref:
|
|
2822
|
-
sx:
|
|
2821
|
+
ref: v,
|
|
2822
|
+
sx: b ? qe.thumbImage : qe.thumbFile
|
|
2823
2823
|
},
|
|
2824
2824
|
k
|
|
2825
2825
|
)
|
|
2826
2826
|
}
|
|
2827
2827
|
),
|
|
2828
|
-
!u && /* @__PURE__ */ n(gt, { open: x ||
|
|
2828
|
+
!u && /* @__PURE__ */ n(gt, { open: x || g, onClose: E || p, src: e, title: t, children: /* @__PURE__ */ n(
|
|
2829
2829
|
H,
|
|
2830
2830
|
{
|
|
2831
2831
|
component: M ? "iframe" : "img",
|
|
@@ -2852,9 +2852,9 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2852
2852
|
Action: u,
|
|
2853
2853
|
Icon: h,
|
|
2854
2854
|
Footer: x,
|
|
2855
|
-
Collapse:
|
|
2855
|
+
Collapse: E
|
|
2856
2856
|
}) => {
|
|
2857
|
-
const [
|
|
2857
|
+
const [g, S] = re(!1), y = E || !!(d != null && d.length);
|
|
2858
2858
|
return S1(() => {
|
|
2859
2859
|
c && S(!0);
|
|
2860
2860
|
}, [c]), /* @__PURE__ */ w(Z, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
|
|
@@ -2897,7 +2897,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2897
2897
|
{
|
|
2898
2898
|
direction: "row",
|
|
2899
2899
|
alignItems: "center",
|
|
2900
|
-
sx: { cursor:
|
|
2900
|
+
sx: { cursor: y ? "pointer" : "default" },
|
|
2901
2901
|
onClick: () => S((f) => !f),
|
|
2902
2902
|
children: [
|
|
2903
2903
|
/* @__PURE__ */ n(
|
|
@@ -2907,18 +2907,18 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2907
2907
|
onClick: a,
|
|
2908
2908
|
variant: "h6",
|
|
2909
2909
|
sx: {
|
|
2910
|
-
cursor:
|
|
2910
|
+
cursor: y || a ? "pointer" : "default",
|
|
2911
2911
|
marginRight: 1,
|
|
2912
2912
|
textDecoration: a ? "underline" : "none"
|
|
2913
2913
|
},
|
|
2914
2914
|
children: e
|
|
2915
2915
|
}
|
|
2916
2916
|
),
|
|
2917
|
-
|
|
2917
|
+
y && /* @__PURE__ */ n(
|
|
2918
2918
|
Wi,
|
|
2919
2919
|
{
|
|
2920
2920
|
sx: {
|
|
2921
|
-
transform:
|
|
2921
|
+
transform: g ? "rotate(180deg)" : "rotate(0deg)",
|
|
2922
2922
|
transition: "transform 0.3s"
|
|
2923
2923
|
}
|
|
2924
2924
|
}
|
|
@@ -2942,10 +2942,10 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2942
2942
|
)
|
|
2943
2943
|
] }),
|
|
2944
2944
|
x,
|
|
2945
|
-
|
|
2946
|
-
!!(d != null && d.length) && /* @__PURE__ */ n(Sr, { in:
|
|
2945
|
+
E && /* @__PURE__ */ n(Sr, { in: g, children: E }),
|
|
2946
|
+
!!(d != null && d.length) && /* @__PURE__ */ n(Sr, { in: g, children: /* @__PURE__ */ n(Z, { marginTop: 3, spacing: 3, children: d == null ? void 0 : d.map((f, b) => {
|
|
2947
2947
|
var k, p, T, A;
|
|
2948
|
-
const M = `${f.title}-${
|
|
2948
|
+
const M = `${f.title}-${b}`, v = Array.isArray(f == null ? void 0 : f.file) ? f == null ? void 0 : f.file[0] : f == null ? void 0 : f.file;
|
|
2949
2949
|
return /* @__PURE__ */ w(Z, { direction: "row", spacing: 1, minWidth: 0, children: [
|
|
2950
2950
|
/* @__PURE__ */ n(ji, { sx: { height: 18, paddingTop: 0.5, width: 18 } }),
|
|
2951
2951
|
/* @__PURE__ */ w(Z, { minWidth: 0, children: [
|
|
@@ -2990,10 +2990,10 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
2990
2990
|
}
|
|
2991
2991
|
) }),
|
|
2992
2992
|
(f == null ? void 0 : f.file) && /* @__PURE__ */ w(Z, { direction: "row", marginTop: 1, spacing: 0.5, children: [
|
|
2993
|
-
|
|
2993
|
+
v && /* @__PURE__ */ n(
|
|
2994
2994
|
Ni,
|
|
2995
2995
|
{
|
|
2996
|
-
src:
|
|
2996
|
+
src: v,
|
|
2997
2997
|
sx: {
|
|
2998
2998
|
borderRadius: 0.5,
|
|
2999
2999
|
cursor: "pointer",
|
|
@@ -3075,7 +3075,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
3075
3075
|
] })
|
|
3076
3076
|
] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(z1, { sx: i, children: /* @__PURE__ */ n(rr, { severity: "info", children: t }) }) : /* @__PURE__ */ w(pe, { children: [
|
|
3077
3077
|
/* @__PURE__ */ n(z1, { sx: i, "data-test": s, "data-testid": l, children: e == null ? void 0 : e.map(
|
|
3078
|
-
({ Action: u, Collapse: h, collapseItems: x, collapseDefaultOpen:
|
|
3078
|
+
({ Action: u, Collapse: h, collapseItems: x, collapseDefaultOpen: E, subtitle: g, key: S, active: y, Footer: f, Icon: b, onClick: M, tag: v, title: k }, p) => {
|
|
3079
3079
|
const T = `${S}-${p}-${k}`, A = p === e.length - 1;
|
|
3080
3080
|
return /* @__PURE__ */ n(
|
|
3081
3081
|
Yi,
|
|
@@ -3083,15 +3083,15 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
3083
3083
|
Action: u,
|
|
3084
3084
|
Footer: f,
|
|
3085
3085
|
Collapse: h,
|
|
3086
|
-
collapseDefaultOpen:
|
|
3086
|
+
collapseDefaultOpen: E,
|
|
3087
3087
|
collapseItems: x,
|
|
3088
|
-
active:
|
|
3088
|
+
active: y,
|
|
3089
3089
|
title: k,
|
|
3090
|
-
subtitle:
|
|
3091
|
-
Icon:
|
|
3090
|
+
subtitle: g,
|
|
3091
|
+
Icon: b,
|
|
3092
3092
|
isLastElement: A,
|
|
3093
3093
|
onClick: M,
|
|
3094
|
-
tag:
|
|
3094
|
+
tag: v,
|
|
3095
3095
|
variant: a
|
|
3096
3096
|
},
|
|
3097
3097
|
T
|
|
@@ -3416,7 +3416,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
3416
3416
|
}
|
|
3417
3417
|
);
|
|
3418
3418
|
}, qi = ue(({ sx: e, InputProps: r, type: t = "search", ...i }, a) => {
|
|
3419
|
-
var s, l, d, c, u, h, x,
|
|
3419
|
+
var s, l, d, c, u, h, x, E, g, S;
|
|
3420
3420
|
return /* @__PURE__ */ n(
|
|
3421
3421
|
er,
|
|
3422
3422
|
{
|
|
@@ -3434,16 +3434,16 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
3434
3434
|
},
|
|
3435
3435
|
// Border
|
|
3436
3436
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
3437
|
-
borderColor: he((
|
|
3437
|
+
borderColor: he((E = (x = I == null ? void 0 : I.palette) == null ? void 0 : x.border) == null ? void 0 : E.outline, 0.23)
|
|
3438
3438
|
},
|
|
3439
3439
|
// Border focus
|
|
3440
3440
|
"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
3441
|
-
borderColor: (S = (
|
|
3441
|
+
borderColor: (S = (g = I == null ? void 0 : I.palette) == null ? void 0 : g.primary) == null ? void 0 : S.main
|
|
3442
3442
|
},
|
|
3443
3443
|
maxWidth: 400,
|
|
3444
3444
|
...e,
|
|
3445
3445
|
"input[type='search']::-webkit-search-cancel-button": {
|
|
3446
|
-
filter: ({ palette:
|
|
3446
|
+
filter: ({ palette: y }) => (y == null ? void 0 : y.mode) === "light" ? "invert(1)" : "invert(0)"
|
|
3447
3447
|
}
|
|
3448
3448
|
},
|
|
3449
3449
|
InputProps: {
|
|
@@ -3488,10 +3488,10 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
3488
3488
|
children: u,
|
|
3489
3489
|
onClickBurger: h,
|
|
3490
3490
|
sx: x,
|
|
3491
|
-
position:
|
|
3492
|
-
elevation:
|
|
3491
|
+
position: E = "static",
|
|
3492
|
+
elevation: g = 0
|
|
3493
3493
|
}) => {
|
|
3494
|
-
const { breakpoints: S } = ce(), { closeMenu:
|
|
3494
|
+
const { breakpoints: S } = ce(), { closeMenu: y, isMenuOpen: f, anchorMenu: b, openMenu: M } = Ji(), { menuItems: v, ...k } = s || {}, p = e1(S.down("sm")), T = e1(S.between("sm", "md")), A = p || T, q = {
|
|
3495
3495
|
logoContainer: {
|
|
3496
3496
|
a: {
|
|
3497
3497
|
display: "flex"
|
|
@@ -3521,8 +3521,8 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
3521
3521
|
paddingX: p ? 1 : 3,
|
|
3522
3522
|
...x
|
|
3523
3523
|
};
|
|
3524
|
-
return u ? /* @__PURE__ */ n(N1, { position:
|
|
3525
|
-
/* @__PURE__ */ n(N1, { position:
|
|
3524
|
+
return u ? /* @__PURE__ */ n(N1, { position: E, elevation: g, sx: q, children: u }) : /* @__PURE__ */ w(pe, { children: [
|
|
3525
|
+
/* @__PURE__ */ n(N1, { position: E, elevation: g, sx: q, children: /* @__PURE__ */ w(Z, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
|
|
3526
3526
|
A && /* @__PURE__ */ n(Ee, { onClick: h, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(ft, {}) }),
|
|
3527
3527
|
A || i === null ? null : /* @__PURE__ */ n(H, { sx: q.logoContainer, children: i || /* @__PURE__ */ n(Ei, { mode: "dark", ...c }) }),
|
|
3528
3528
|
/* @__PURE__ */ n(H, { sx: { alignItems: "center", display: "flex", flex: 1, justifyContent: "center" }, children: r === null ? null : r || /* @__PURE__ */ n(qi, { ...l }) }),
|
|
@@ -3533,7 +3533,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
3533
3533
|
{
|
|
3534
3534
|
...k,
|
|
3535
3535
|
sx: {
|
|
3536
|
-
cursor:
|
|
3536
|
+
cursor: v ? "pointer" : "default"
|
|
3537
3537
|
},
|
|
3538
3538
|
onClick: (j) => {
|
|
3539
3539
|
var oe;
|
|
@@ -3543,14 +3543,14 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
3543
3543
|
)
|
|
3544
3544
|
] })
|
|
3545
3545
|
] }) }),
|
|
3546
|
-
|
|
3546
|
+
v && /* @__PURE__ */ n(Kt, { sx: { zIndex: (j) => j.zIndex.drawer + 1 }, open: f, onClick: y, children: /* @__PURE__ */ n(
|
|
3547
3547
|
Xt,
|
|
3548
3548
|
{
|
|
3549
3549
|
id: Ki,
|
|
3550
|
-
anchorEl:
|
|
3550
|
+
anchorEl: b,
|
|
3551
3551
|
open: f,
|
|
3552
|
-
onClose:
|
|
3553
|
-
onChange:
|
|
3552
|
+
onClose: y,
|
|
3553
|
+
onChange: y,
|
|
3554
3554
|
anchorOrigin: {
|
|
3555
3555
|
horizontal: "right",
|
|
3556
3556
|
vertical: "bottom"
|
|
@@ -3562,16 +3562,16 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
3562
3562
|
}
|
|
3563
3563
|
}
|
|
3564
3564
|
},
|
|
3565
|
-
children:
|
|
3565
|
+
children: v == null ? void 0 : v.map((j, oe) => {
|
|
3566
3566
|
if (R1(j)) {
|
|
3567
3567
|
if (j.key)
|
|
3568
3568
|
return j;
|
|
3569
|
-
const ye = `${
|
|
3569
|
+
const ye = `${v}-${oe}`;
|
|
3570
3570
|
return ir(j, { key: ye });
|
|
3571
3571
|
}
|
|
3572
3572
|
if (j && typeof j == "object" && "url" in j) {
|
|
3573
3573
|
const { url: ye, label: z, icon: F, active: N, end: G, state: fe } = j, me = `${ye}-${z}-${oe}`;
|
|
3574
|
-
return /* @__PURE__ */ n(qt, { sx: q.menuItem, onClick:
|
|
3574
|
+
return /* @__PURE__ */ n(qt, { sx: q.menuItem, onClick: y, children: /* @__PURE__ */ w(dr, { url: ye, component: a, active: N, end: G, state: fe, children: [
|
|
3575
3575
|
F && /* @__PURE__ */ n(Jt, { children: F }),
|
|
3576
3576
|
z && /* @__PURE__ */ n(Fe, { children: z })
|
|
3577
3577
|
] }, me) }, me);
|
|
@@ -3645,23 +3645,23 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
3645
3645
|
helperText: u,
|
|
3646
3646
|
fullWidth: h,
|
|
3647
3647
|
icon: x,
|
|
3648
|
-
onChange:
|
|
3649
|
-
label:
|
|
3648
|
+
onChange: E,
|
|
3649
|
+
label: g = "Click to upload",
|
|
3650
3650
|
variant: S = "vertical"
|
|
3651
3651
|
}) => {
|
|
3652
|
-
const { palette:
|
|
3653
|
-
|
|
3652
|
+
const { palette: y } = ce(), f = S === "vertical", b = d || r, M = ar(null), [v, k] = re(null), p = na(v), T = (A) => {
|
|
3653
|
+
E == null || E(A), k(A.target.files);
|
|
3654
3654
|
};
|
|
3655
3655
|
return /* @__PURE__ */ w(
|
|
3656
3656
|
Qt,
|
|
3657
3657
|
{
|
|
3658
3658
|
ref: M,
|
|
3659
|
-
htmlFor:
|
|
3659
|
+
htmlFor: b,
|
|
3660
3660
|
sx: {
|
|
3661
3661
|
"&:hover": {
|
|
3662
|
-
borderColor:
|
|
3662
|
+
borderColor: y.primary.main
|
|
3663
3663
|
},
|
|
3664
|
-
border: `1px dashed ${a ?
|
|
3664
|
+
border: `1px dashed ${a ? y.error.main : y.divider}`,
|
|
3665
3665
|
borderRadius: 1,
|
|
3666
3666
|
cursor: "pointer",
|
|
3667
3667
|
height: ta(c, S),
|
|
@@ -3685,7 +3685,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
3685
3685
|
x || /* @__PURE__ */ n(ra, { sx: { height: 40, width: 40 } }),
|
|
3686
3686
|
p ? /* @__PURE__ */ w(pe, { children: [
|
|
3687
3687
|
/* @__PURE__ */ w(U, { variant: "body2", color: "textSecondary", children: [
|
|
3688
|
-
|
|
3688
|
+
v == null ? void 0 : v.length,
|
|
3689
3689
|
" ",
|
|
3690
3690
|
(s == null ? void 0 : s.files) || "Fichiers"
|
|
3691
3691
|
] }),
|
|
@@ -3701,7 +3701,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
3701
3701
|
}
|
|
3702
3702
|
)
|
|
3703
3703
|
] }) : /* @__PURE__ */ w(U, { variant: "subtitle1", color: t ? "text.disabled" : "primary", children: [
|
|
3704
|
-
|
|
3704
|
+
g,
|
|
3705
3705
|
" ",
|
|
3706
3706
|
i && "*"
|
|
3707
3707
|
] }),
|
|
@@ -3718,7 +3718,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
3718
3718
|
name: r,
|
|
3719
3719
|
multiple: l,
|
|
3720
3720
|
accept: e,
|
|
3721
|
-
id:
|
|
3721
|
+
id: b,
|
|
3722
3722
|
onChange: T,
|
|
3723
3723
|
style: {
|
|
3724
3724
|
// Hide the input element
|
|
@@ -3787,13 +3787,13 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
3787
3787
|
},
|
|
3788
3788
|
children: [
|
|
3789
3789
|
t == null ? void 0 : t.map(
|
|
3790
|
-
({ id: u, title: h, subtitle: x, image:
|
|
3790
|
+
({ id: u, title: h, subtitle: x, image: E, secondaryAction: g, chipLabel: S, chipColor: y, onClick: f, icon: b, Avatar: M }, v) => {
|
|
3791
3791
|
var p;
|
|
3792
|
-
const k = u || `id-${
|
|
3792
|
+
const k = u || `id-${v}-${h}`;
|
|
3793
3793
|
return /* @__PURE__ */ w(
|
|
3794
3794
|
Me,
|
|
3795
3795
|
{
|
|
3796
|
-
secondaryAction:
|
|
3796
|
+
secondaryAction: g,
|
|
3797
3797
|
onClick: f,
|
|
3798
3798
|
sx: {
|
|
3799
3799
|
...Je.listItem,
|
|
@@ -3810,18 +3810,18 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
3810
3810
|
"& .MuiListItemSecondaryAction-root": {
|
|
3811
3811
|
opacity: 1
|
|
3812
3812
|
},
|
|
3813
|
-
backgroundColor: ({ palette: T }) => f ||
|
|
3813
|
+
backgroundColor: ({ palette: T }) => f || g ? T.action.hover : "transparent"
|
|
3814
3814
|
},
|
|
3815
3815
|
cursor: f ? "pointer" : "default"
|
|
3816
3816
|
},
|
|
3817
3817
|
children: [
|
|
3818
|
-
M ? /* @__PURE__ */ n(H, { marginRight: f1, children: M }) : /* @__PURE__ */ n(m1, { src:
|
|
3818
|
+
M ? /* @__PURE__ */ n(H, { marginRight: f1, children: M }) : /* @__PURE__ */ n(m1, { src: E || "", variant: "rounded", sx: { marginRight: f1 }, children: b || typeof h == "string" && ((p = h || "") == null ? void 0 : p.charAt(0).toUpperCase()) }),
|
|
3819
3819
|
/* @__PURE__ */ n(
|
|
3820
3820
|
Fe,
|
|
3821
3821
|
{
|
|
3822
3822
|
primary: /* @__PURE__ */ w(Z, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
3823
3823
|
h && /* @__PURE__ */ n(U, { variant: "h6", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: h }),
|
|
3824
|
-
S && /* @__PURE__ */ n(Qe, { label: S, variant: "rounded", size: "xSmall", color: ia(
|
|
3824
|
+
S && /* @__PURE__ */ n(Qe, { label: S, variant: "rounded", size: "xSmall", color: ia(y) ? y : "default" })
|
|
3825
3825
|
] }),
|
|
3826
3826
|
secondary: x,
|
|
3827
3827
|
primaryTypographyProps: {
|
|
@@ -4815,15 +4815,15 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
4815
4815
|
theme: l,
|
|
4816
4816
|
font: d = Yr
|
|
4817
4817
|
}) => {
|
|
4818
|
-
var
|
|
4819
|
-
const c = { ...Yr, ...d }, u = (c == null ? void 0 : c.googleFontName) || ((
|
|
4820
|
-
var
|
|
4821
|
-
const
|
|
4818
|
+
var g, S;
|
|
4819
|
+
const c = { ...Yr, ...d }, u = (c == null ? void 0 : c.googleFontName) || ((g = K1.typography.fontFamily) == null ? void 0 : g.split(",")[0]), h = (S = c == null ? void 0 : c.fontWeight) == null ? void 0 : S.join(";"), x = A1(() => ({ language: s }), [s]), E = () => {
|
|
4820
|
+
var b, M;
|
|
4821
|
+
const y = typeof l == "object" ? l : {}, f = {
|
|
4822
4822
|
...s === "fr" && aa
|
|
4823
4823
|
};
|
|
4824
|
-
return l === "dark" || typeof l == "object" && "palette" in l && ((
|
|
4824
|
+
return l === "dark" || typeof l == "object" && "palette" in l && ((b = l == null ? void 0 : l.palette) == null ? void 0 : b.mode) === "dark" ? He(xt, y, f) : l === "light" || typeof l == "object" && "palette" in l && ((M = l == null ? void 0 : l.palette) == null ? void 0 : M.mode) === "light" ? He(Ct, y, f) : He(K1, y, f);
|
|
4825
4825
|
};
|
|
4826
|
-
return /* @__PURE__ */ n(bt.Provider, { value: x, children: /* @__PURE__ */ w(rn, { theme:
|
|
4826
|
+
return /* @__PURE__ */ n(bt.Provider, { value: x, children: /* @__PURE__ */ w(rn, { theme: E(), children: [
|
|
4827
4827
|
/* @__PURE__ */ n(
|
|
4828
4828
|
Ke,
|
|
4829
4829
|
{
|
|
@@ -4872,33 +4872,35 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
4872
4872
|
}
|
|
4873
4873
|
);
|
|
4874
4874
|
}, pa = ({
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4875
|
+
children: e,
|
|
4876
|
+
disableSelectAll: r,
|
|
4877
|
+
localeText: t,
|
|
4878
|
+
disableReset: i,
|
|
4879
|
+
onChange: a,
|
|
4880
|
+
options: s,
|
|
4881
|
+
value: l,
|
|
4882
|
+
...d
|
|
4883
|
+
}) => {
|
|
4884
|
+
const { language: c } = we(bt), u = Array.isArray(l) ? (l == null ? void 0 : l.length) === (s == null ? void 0 : s.length) : !1, h = s == null ? void 0 : s.filter((g) => g == null ? void 0 : g.isHeader), x = (t == null ? void 0 : t.selectAll) || Ur[c || "en"].selectAll, E = (t == null ? void 0 : t.reset) || Ur[c || "en"].reset;
|
|
4885
|
+
return /* @__PURE__ */ w(on, { ...d, children: [
|
|
4886
|
+
(!r || !!(h != null && h.length)) && /* @__PURE__ */ w(pe, { children: [
|
|
4885
4887
|
/* @__PURE__ */ w(y1, { role: "listbox", children: [
|
|
4886
|
-
!
|
|
4888
|
+
!r && /* @__PURE__ */ n(
|
|
4887
4889
|
Me,
|
|
4888
4890
|
{
|
|
4889
4891
|
disablePadding: !0,
|
|
4890
4892
|
role: "option",
|
|
4891
4893
|
onMouseDown: (g) => {
|
|
4892
|
-
if (g.stopPropagation(), g.preventDefault(),
|
|
4893
|
-
|
|
4894
|
+
if (g.stopPropagation(), g.preventDefault(), u) {
|
|
4895
|
+
a == null || a(g, [], "removeOption");
|
|
4894
4896
|
return;
|
|
4895
4897
|
}
|
|
4896
|
-
|
|
4898
|
+
a == null || a(g, s || [], "selectOption");
|
|
4897
4899
|
},
|
|
4898
|
-
children: /* @__PURE__ */ w(j1, { children: [
|
|
4899
|
-
/* @__PURE__ */ n(Y1, { id: "select-all-checkbox", checked:
|
|
4900
|
-
/* @__PURE__ */ n(Fe, { primary:
|
|
4901
|
-
!
|
|
4900
|
+
children: /* @__PURE__ */ w(j1, { disableRipple: !0, children: [
|
|
4901
|
+
/* @__PURE__ */ n(Y1, { id: "select-all-checkbox", checked: u }),
|
|
4902
|
+
/* @__PURE__ */ n(Fe, { primary: x }),
|
|
4903
|
+
!i && /* @__PURE__ */ n(
|
|
4902
4904
|
tr,
|
|
4903
4905
|
{
|
|
4904
4906
|
variant: "link",
|
|
@@ -4908,47 +4910,47 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
4908
4910
|
textDecoration: "none"
|
|
4909
4911
|
},
|
|
4910
4912
|
onClick: (g) => {
|
|
4911
|
-
|
|
4913
|
+
a == null || a(g, [], "removeOption");
|
|
4912
4914
|
},
|
|
4913
4915
|
onMouseDown: (g) => {
|
|
4914
4916
|
g.stopPropagation(), g.preventDefault();
|
|
4915
4917
|
},
|
|
4916
|
-
children:
|
|
4918
|
+
children: E
|
|
4917
4919
|
}
|
|
4918
4920
|
)
|
|
4919
4921
|
] })
|
|
4920
4922
|
}
|
|
4921
4923
|
),
|
|
4922
|
-
|
|
4923
|
-
const
|
|
4924
|
-
(
|
|
4924
|
+
h == null ? void 0 : h.map((g, S) => {
|
|
4925
|
+
const y = `header-options-${g == null ? void 0 : g.id}-${S}`, f = Array.isArray(l) && l.some(
|
|
4926
|
+
(b) => JSON.stringify(b) === JSON.stringify(g) || b && typeof b == "object" && "id" in b && (b == null ? void 0 : b.id) === (g == null ? void 0 : g.id)
|
|
4925
4927
|
);
|
|
4926
4928
|
return /* @__PURE__ */ n(
|
|
4927
4929
|
Me,
|
|
4928
4930
|
{
|
|
4929
4931
|
disablePadding: !0,
|
|
4930
|
-
onMouseDown: (
|
|
4931
|
-
if (
|
|
4932
|
-
const
|
|
4933
|
-
(
|
|
4932
|
+
onMouseDown: (b) => {
|
|
4933
|
+
if (b.stopPropagation(), b.preventDefault(), f) {
|
|
4934
|
+
const M = Array.isArray(l) ? l == null ? void 0 : l.filter(
|
|
4935
|
+
(v) => !(JSON.stringify(v) === JSON.stringify(g) || v && typeof v == "object" && "id" in v && (v == null ? void 0 : v.id) === (g == null ? void 0 : g.id))
|
|
4934
4936
|
) : [];
|
|
4935
|
-
|
|
4937
|
+
a == null || a(b, M, "removeOption");
|
|
4936
4938
|
return;
|
|
4937
4939
|
}
|
|
4938
|
-
|
|
4940
|
+
a == null || a(b, [...Array.isArray(l) ? l : [], g], "selectOption");
|
|
4939
4941
|
},
|
|
4940
|
-
children: /* @__PURE__ */ w(j1, { children: [
|
|
4941
|
-
/* @__PURE__ */ n(Y1, { checked:
|
|
4942
|
+
children: /* @__PURE__ */ w(j1, { disableRipple: !0, children: [
|
|
4943
|
+
/* @__PURE__ */ n(Y1, { checked: f }),
|
|
4942
4944
|
/* @__PURE__ */ n(Fe, { primary: g == null ? void 0 : g.label })
|
|
4943
4945
|
] })
|
|
4944
4946
|
},
|
|
4945
|
-
|
|
4947
|
+
y
|
|
4946
4948
|
);
|
|
4947
4949
|
})
|
|
4948
4950
|
] }),
|
|
4949
4951
|
/* @__PURE__ */ n(Xr, {})
|
|
4950
4952
|
] }),
|
|
4951
|
-
|
|
4953
|
+
e
|
|
4952
4954
|
] });
|
|
4953
4955
|
}, ua = ({
|
|
4954
4956
|
onChange: e,
|
|
@@ -4963,26 +4965,26 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
4963
4965
|
onBlur: u,
|
|
4964
4966
|
onInputChange: h,
|
|
4965
4967
|
inputValue: x,
|
|
4966
|
-
disableClearable:
|
|
4967
|
-
loading:
|
|
4968
|
+
disableClearable: E,
|
|
4969
|
+
loading: g,
|
|
4968
4970
|
resetInputValueOnSelectOption: S,
|
|
4969
|
-
size:
|
|
4971
|
+
size: y = "small",
|
|
4970
4972
|
disableCloseOnSelect: f = !0,
|
|
4971
|
-
multiple:
|
|
4973
|
+
multiple: b = !0,
|
|
4972
4974
|
...M
|
|
4973
|
-
},
|
|
4975
|
+
}, v) => {
|
|
4974
4976
|
const { palette: k } = ce(), [p, T] = re(!1), [A, q] = re(""), j = k.mode === "light" ? "default" : "primary", oe = x || A;
|
|
4975
4977
|
return /* @__PURE__ */ n(
|
|
4976
4978
|
nn,
|
|
4977
4979
|
{
|
|
4978
4980
|
value: d,
|
|
4979
|
-
loading:
|
|
4981
|
+
loading: g,
|
|
4980
4982
|
options: i || [],
|
|
4981
|
-
ref:
|
|
4982
|
-
size:
|
|
4983
|
+
ref: v,
|
|
4984
|
+
size: y,
|
|
4983
4985
|
freeSolo: !1,
|
|
4984
|
-
multiple:
|
|
4985
|
-
disableClearable:
|
|
4986
|
+
multiple: b,
|
|
4987
|
+
disableClearable: E,
|
|
4986
4988
|
onChange: (z, F, N, G) => {
|
|
4987
4989
|
if (F === null) {
|
|
4988
4990
|
e == null || e(z, [], N, G);
|
|
@@ -4993,7 +4995,8 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
4993
4995
|
disableCloseOnSelect: f,
|
|
4994
4996
|
getLimitTagsText: da(j),
|
|
4995
4997
|
inputValue: oe,
|
|
4996
|
-
|
|
4998
|
+
slotProps: { paper: { disableReset: s, disableSelectAll: l, localeText: a, onChange: e, options: i, value: d } },
|
|
4999
|
+
PaperComponent: g ? void 0 : pa,
|
|
4997
5000
|
open: p,
|
|
4998
5001
|
onOpen: () => T(!0),
|
|
4999
5002
|
onInputChange: (z, F, N) => {
|
|
@@ -5006,7 +5009,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
5006
5009
|
T(!1), u == null || u(z);
|
|
5007
5010
|
},
|
|
5008
5011
|
renderOption: (z, F, { selected: N }) => {
|
|
5009
|
-
if (
|
|
5012
|
+
if (g || F != null && F.isHeader)
|
|
5010
5013
|
return null;
|
|
5011
5014
|
const G = `${F == null ? void 0 : F.id}-${z == null ? void 0 : z.key}`;
|
|
5012
5015
|
return /* @__PURE__ */ cn(Me, { ...z, key: G }, !r && /* @__PURE__ */ n(Y1, { checked: N }), (F == null ? void 0 : F.image) && /* @__PURE__ */ n(
|
|
@@ -5054,7 +5057,7 @@ const $r = 32, gi = 24, Ci = 105, xi = 24, bi = 195, yi = 44, mi = 147, vi = ()
|
|
|
5054
5057
|
right: 9
|
|
5055
5058
|
},
|
|
5056
5059
|
children: [
|
|
5057
|
-
p && oe && !
|
|
5060
|
+
p && oe && !E && /* @__PURE__ */ n(Ee, { size: "small", onClick: () => q(""), children: /* @__PURE__ */ n(cr, {}) }),
|
|
5058
5061
|
N == null ? void 0 : N.props.children[1]
|
|
5059
5062
|
]
|
|
5060
5063
|
}
|