@tracktor/design-system 3.3.2 → 3.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/dist/main.cjs +13 -13
- package/dist/main.js +416 -410
- package/dist/src/components/DataDisplay/Avatar/Avatar.d.ts +5 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useTheme as
|
|
1
|
+
import { useTheme as x1, Box as H, Skeleton as g1, Tab as Gt, Card as ir, GlobalStyles as ie, TextareaAutosize as Xt, InputAdornment as ae, IconButton as A1, SvgIcon as y1, TextField as Re, Toolbar as qt, Stack as B, AppBar as Ye, Typography as q, List as ve, ListItem as F1, Chip as oe, useMediaQuery as se, SwipeableDrawer as Jt, Alert as ar, alpha as m1, Button as or, CircularProgress as Kr, Modal as Kt, Fade as Qt, Divider as Qr, Collapse as Ar, Tooltip as kr, CardContent as en, Avatar as H1, Menu as rn, MenuItem as tn, ListItemIcon as nn, ListItemText as B1, Backdrop as an, responsiveFontSizes as sr, createTheme as Z1, getOverlayAlpha as Ue, css as we, CssBaseline as on, ThemeProvider as sn, InputLabel as ln, ListItemButton as Ge, Checkbox as Xe, ListItemAvatar as cn, Autocomplete as dn, Badge as un, Paper as et, Slide as pn, Snackbar as fn } from "@mui/material";
|
|
2
2
|
export * from "@mui/material";
|
|
3
3
|
import * as T1 from "react";
|
|
4
|
-
import rt, { createContext as Te, useContext as
|
|
4
|
+
import rt, { createContext as Te, useContext as k1, useCallback as u1, forwardRef as h1, useState as i1, useEffect as Ae, cloneElement as lr, isValidElement as ke, memo as tt, useMemo as _e, useRef as Ee, Children as hn } from "react";
|
|
5
5
|
import { createElement as gn } from "@emotion/react";
|
|
6
6
|
const Cn = {
|
|
7
7
|
disabledPermissions: void 0,
|
|
@@ -9,10 +9,10 @@ const Cn = {
|
|
|
9
9
|
setPermissions: () => {
|
|
10
10
|
}
|
|
11
11
|
}, nt = Te(Cn), _r = (e, r) => e === "" || !r.length ? !1 : r.some((t) => e === t), xn = () => {
|
|
12
|
-
const { permissions: e, setPermissions: r, disabledPermissions: t } =
|
|
12
|
+
const { permissions: e, setPermissions: r, disabledPermissions: t } = k1(nt), i = u1(
|
|
13
13
|
(o, l) => {
|
|
14
|
-
const
|
|
15
|
-
return
|
|
14
|
+
const d = [...l || [], ...e || []].filter((f) => !(t != null && t.includes(f)));
|
|
15
|
+
return d ? Array.isArray(o) ? o.some((f) => _r(f, d)) : _r(o, d) : !1;
|
|
16
16
|
},
|
|
17
17
|
[t, e]
|
|
18
18
|
);
|
|
@@ -28,7 +28,7 @@ const Cn = {
|
|
|
28
28
|
permissions: e,
|
|
29
29
|
setPermissions: r
|
|
30
30
|
};
|
|
31
|
-
},
|
|
31
|
+
}, _a = ({ children: e, fallback: r, name: t, additionalPermissions: i }) => {
|
|
32
32
|
const { hasPermission: a } = xn(), o = a(t, i);
|
|
33
33
|
return o ? e : !o && r ? r : null;
|
|
34
34
|
};
|
|
@@ -47,12 +47,12 @@ function bn() {
|
|
|
47
47
|
if (Fr) return K1;
|
|
48
48
|
Fr = 1;
|
|
49
49
|
var e = rt, 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, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
50
|
-
function l(
|
|
50
|
+
function l(c, d, f) {
|
|
51
51
|
var g, x = {}, y = null, h = null;
|
|
52
|
-
f !== void 0 && (y = "" + f),
|
|
53
|
-
for (g in
|
|
54
|
-
if (
|
|
55
|
-
return { $$typeof: r, type:
|
|
52
|
+
f !== void 0 && (y = "" + f), d.key !== void 0 && (y = "" + d.key), d.ref !== void 0 && (h = d.ref);
|
|
53
|
+
for (g in d) i.call(d, g) && !o.hasOwnProperty(g) && (x[g] = d[g]);
|
|
54
|
+
if (c && c.defaultProps) for (g in d = c.defaultProps, d) x[g] === void 0 && (x[g] = d[g]);
|
|
55
|
+
return { $$typeof: r, type: c, key: y, ref: h, props: x, _owner: a.current };
|
|
56
56
|
}
|
|
57
57
|
return K1.Fragment = t, K1.jsx = l, K1.jsxs = l, K1;
|
|
58
58
|
}
|
|
@@ -69,7 +69,7 @@ var Q1 = {};
|
|
|
69
69
|
var Ir;
|
|
70
70
|
function yn() {
|
|
71
71
|
return Ir || (Ir = 1, process.env.NODE_ENV !== "production" && function() {
|
|
72
|
-
var e = rt, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.provider"),
|
|
72
|
+
var e = rt, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), M = Symbol.iterator, b = "@@iterator";
|
|
73
73
|
function p(s) {
|
|
74
74
|
if (s === null || typeof s != "object")
|
|
75
75
|
return null;
|
|
@@ -94,10 +94,10 @@ function yn() {
|
|
|
94
94
|
U.unshift("Warning: " + C), Function.prototype.apply.call(console[s], console, U);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
var R = !1, u = !1, _ = !1,
|
|
97
|
+
var R = !1, u = !1, _ = !1, A = !1, j = !1, I;
|
|
98
98
|
I = Symbol.for("react.module.reference");
|
|
99
99
|
function Q(s) {
|
|
100
|
-
return !!(typeof s == "string" || typeof s == "function" || s === i || s === o || j || s === a || s === f || s === g ||
|
|
100
|
+
return !!(typeof s == "string" || typeof s == "function" || s === i || s === o || j || s === a || s === f || s === g || A || s === h || R || u || _ || typeof s == "object" && s !== null && (s.$$typeof === y || s.$$typeof === x || s.$$typeof === l || s.$$typeof === c || s.$$typeof === d || // 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.
|
|
@@ -136,13 +136,13 @@ function yn() {
|
|
|
136
136
|
}
|
|
137
137
|
if (typeof s == "object")
|
|
138
138
|
switch (s.$$typeof) {
|
|
139
|
-
case
|
|
139
|
+
case c:
|
|
140
140
|
var C = s;
|
|
141
141
|
return Y(C) + ".Consumer";
|
|
142
142
|
case l:
|
|
143
143
|
var v = s;
|
|
144
144
|
return Y(v._context) + ".Provider";
|
|
145
|
-
case
|
|
145
|
+
case d:
|
|
146
146
|
return X(s, s.render, "ForwardRef");
|
|
147
147
|
case x:
|
|
148
148
|
var F = s.displayName || null;
|
|
@@ -158,14 +158,14 @@ function yn() {
|
|
|
158
158
|
}
|
|
159
159
|
return null;
|
|
160
160
|
}
|
|
161
|
-
var K = Object.assign, o1 = 0, _1, Z,
|
|
161
|
+
var K = Object.assign, o1 = 0, _1, Z, k, G, r1, c1, R1;
|
|
162
162
|
function w1() {
|
|
163
163
|
}
|
|
164
164
|
w1.__reactDisabledLog = !0;
|
|
165
165
|
function Oe() {
|
|
166
166
|
{
|
|
167
167
|
if (o1 === 0) {
|
|
168
|
-
_1 = console.log, Z = console.info,
|
|
168
|
+
_1 = console.log, Z = console.info, k = console.warn, G = console.error, r1 = console.group, c1 = console.groupCollapsed, R1 = console.groupEnd;
|
|
169
169
|
var s = {
|
|
170
170
|
configurable: !0,
|
|
171
171
|
enumerable: !0,
|
|
@@ -201,7 +201,7 @@ function yn() {
|
|
|
201
201
|
value: Z
|
|
202
202
|
}),
|
|
203
203
|
warn: K({}, s, {
|
|
204
|
-
value:
|
|
204
|
+
value: k
|
|
205
205
|
}),
|
|
206
206
|
error: K({}, s, {
|
|
207
207
|
value: G
|
|
@@ -332,7 +332,7 @@ function yn() {
|
|
|
332
332
|
}
|
|
333
333
|
if (typeof s == "object")
|
|
334
334
|
switch (s.$$typeof) {
|
|
335
|
-
case
|
|
335
|
+
case d:
|
|
336
336
|
return X1(s.render);
|
|
337
337
|
case x:
|
|
338
338
|
return I1(s.type, C, v);
|
|
@@ -377,13 +377,13 @@ function yn() {
|
|
|
377
377
|
function Pe(s) {
|
|
378
378
|
return Tt(s);
|
|
379
379
|
}
|
|
380
|
-
function
|
|
380
|
+
function At(s) {
|
|
381
381
|
{
|
|
382
382
|
var C = typeof Symbol == "function" && Symbol.toStringTag, v = C && s[Symbol.toStringTag] || s.constructor.name || "Object";
|
|
383
383
|
return v;
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function kt(s) {
|
|
387
387
|
try {
|
|
388
388
|
return xr(s), !1;
|
|
389
389
|
} catch {
|
|
@@ -394,8 +394,8 @@ function yn() {
|
|
|
394
394
|
return "" + s;
|
|
395
395
|
}
|
|
396
396
|
function br(s) {
|
|
397
|
-
if (
|
|
398
|
-
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
397
|
+
if (kt(s))
|
|
398
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", At(s)), xr(s);
|
|
399
399
|
}
|
|
400
400
|
var J1 = m.ReactCurrentOwner, _t = {
|
|
401
401
|
key: !0,
|
|
@@ -576,7 +576,7 @@ Check the top-level render call using <` + v + ">.");
|
|
|
576
576
|
var v;
|
|
577
577
|
if (typeof C == "function")
|
|
578
578
|
v = C.propTypes;
|
|
579
|
-
else if (typeof C == "object" && (C.$$typeof ===
|
|
579
|
+
else if (typeof C == "object" && (C.$$typeof === d || // Note: Memo only checks outer props here.
|
|
580
580
|
// Inner props are checked in the reconciler.
|
|
581
581
|
C.$$typeof === x))
|
|
582
582
|
v = C.propTypes;
|
|
@@ -703,13 +703,13 @@ var En = /* @__PURE__ */ function() {
|
|
|
703
703
|
}), this.tags = [], this.ctr = 0;
|
|
704
704
|
}, e;
|
|
705
705
|
}(), s1 = "-ms-", Me = "-moz-", P = "-webkit-", it = "comm", cr = "rule", dr = "decl", Mn = "@import", at = "@keyframes", Sn = "@layer", Rn = Math.abs, Fe = String.fromCharCode, Tn = Object.assign;
|
|
706
|
-
function
|
|
706
|
+
function An(e, r) {
|
|
707
707
|
return a1(e, 0) ^ 45 ? (((r << 2 ^ a1(e, 0)) << 2 ^ a1(e, 1)) << 2 ^ a1(e, 2)) << 2 ^ a1(e, 3) : 0;
|
|
708
708
|
}
|
|
709
709
|
function ot(e) {
|
|
710
710
|
return e.trim();
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function kn(e, r) {
|
|
713
713
|
return (e = r.exec(e)) ? e[0] : e;
|
|
714
714
|
}
|
|
715
715
|
function D(e, r, t) {
|
|
@@ -749,7 +749,7 @@ function Fn() {
|
|
|
749
749
|
function In() {
|
|
750
750
|
return n1 = f1 > 0 ? a1(W1, --f1) : 0, N1--, n1 === 10 && (N1 = 1, Ie--), n1;
|
|
751
751
|
}
|
|
752
|
-
function
|
|
752
|
+
function C1() {
|
|
753
753
|
return n1 = f1 < st ? a1(W1, f1++) : 0, N1++, n1 === 10 && (N1 = 1, Ie++), n1;
|
|
754
754
|
}
|
|
755
755
|
function S1() {
|
|
@@ -804,16 +804,16 @@ function be(e) {
|
|
|
804
804
|
}
|
|
805
805
|
function Ln(e) {
|
|
806
806
|
for (; (n1 = S1()) && n1 < 33; )
|
|
807
|
-
|
|
807
|
+
C1();
|
|
808
808
|
return de(e) > 2 || de(n1) > 3 ? "" : " ";
|
|
809
809
|
}
|
|
810
810
|
function Hn(e, r) {
|
|
811
|
-
for (; --r &&
|
|
811
|
+
for (; --r && C1() && !(n1 < 48 || n1 > 102 || n1 > 57 && n1 < 65 || n1 > 70 && n1 < 97); )
|
|
812
812
|
;
|
|
813
|
-
return pe(e, xe() + (r < 6 && S1() == 32 &&
|
|
813
|
+
return pe(e, xe() + (r < 6 && S1() == 32 && C1() == 32));
|
|
814
814
|
}
|
|
815
815
|
function Ke(e) {
|
|
816
|
-
for (;
|
|
816
|
+
for (; C1(); )
|
|
817
817
|
switch (n1) {
|
|
818
818
|
case e:
|
|
819
819
|
return f1;
|
|
@@ -825,59 +825,59 @@ function Ke(e) {
|
|
|
825
825
|
e === 41 && Ke(e);
|
|
826
826
|
break;
|
|
827
827
|
case 92:
|
|
828
|
-
|
|
828
|
+
C1();
|
|
829
829
|
break;
|
|
830
830
|
}
|
|
831
831
|
return f1;
|
|
832
832
|
}
|
|
833
833
|
function On(e, r) {
|
|
834
|
-
for (;
|
|
834
|
+
for (; C1() && e + n1 !== 57; )
|
|
835
835
|
if (e + n1 === 84 && S1() === 47)
|
|
836
836
|
break;
|
|
837
|
-
return "/*" + pe(r, f1 - 1) + "*" + Fe(e === 47 ? e :
|
|
837
|
+
return "/*" + pe(r, f1 - 1) + "*" + Fe(e === 47 ? e : C1());
|
|
838
838
|
}
|
|
839
839
|
function Vn(e) {
|
|
840
840
|
for (; !de(S1()); )
|
|
841
|
-
|
|
841
|
+
C1();
|
|
842
842
|
return pe(e, f1);
|
|
843
843
|
}
|
|
844
844
|
function $n(e) {
|
|
845
845
|
return ct(ye("", null, null, null, [""], e = lt(e), 0, [0], e));
|
|
846
846
|
}
|
|
847
|
-
function ye(e, r, t, i, a, o, l,
|
|
848
|
-
for (var f = 0, g = 0, x = l, y = 0, h = 0, M = 0, b = 1, p = 1, m = 1, S = 0, w = "", R = a, u = o, _ = i,
|
|
849
|
-
switch (M = S, S =
|
|
847
|
+
function ye(e, r, t, i, a, o, l, c, d) {
|
|
848
|
+
for (var f = 0, g = 0, x = l, y = 0, h = 0, M = 0, b = 1, p = 1, m = 1, S = 0, w = "", R = a, u = o, _ = i, A = w; p; )
|
|
849
|
+
switch (M = S, S = C1()) {
|
|
850
850
|
case 40:
|
|
851
|
-
if (M != 108 && a1(
|
|
852
|
-
Je(
|
|
851
|
+
if (M != 108 && a1(A, x - 1) == 58) {
|
|
852
|
+
Je(A += D(be(S), "&", "&\f"), "&\f") != -1 && (m = -1);
|
|
853
853
|
break;
|
|
854
854
|
}
|
|
855
855
|
case 34:
|
|
856
856
|
case 39:
|
|
857
857
|
case 91:
|
|
858
|
-
|
|
858
|
+
A += be(S);
|
|
859
859
|
break;
|
|
860
860
|
case 9:
|
|
861
861
|
case 10:
|
|
862
862
|
case 13:
|
|
863
863
|
case 32:
|
|
864
|
-
|
|
864
|
+
A += Ln(M);
|
|
865
865
|
break;
|
|
866
866
|
case 92:
|
|
867
|
-
|
|
867
|
+
A += Hn(xe() - 1, 7);
|
|
868
868
|
continue;
|
|
869
869
|
case 47:
|
|
870
870
|
switch (S1()) {
|
|
871
871
|
case 42:
|
|
872
872
|
case 47:
|
|
873
|
-
he(Pn(On(
|
|
873
|
+
he(Pn(On(C1(), xe()), r, t), d);
|
|
874
874
|
break;
|
|
875
875
|
default:
|
|
876
|
-
|
|
876
|
+
A += "/";
|
|
877
877
|
}
|
|
878
878
|
break;
|
|
879
879
|
case 123 * b:
|
|
880
|
-
|
|
880
|
+
c[f++] = E1(A) * m;
|
|
881
881
|
case 125 * b:
|
|
882
882
|
case 59:
|
|
883
883
|
case 0:
|
|
@@ -886,30 +886,30 @@ function ye(e, r, t, i, a, o, l, d, c) {
|
|
|
886
886
|
case 125:
|
|
887
887
|
p = 0;
|
|
888
888
|
case 59 + g:
|
|
889
|
-
m == -1 && (
|
|
889
|
+
m == -1 && (A = D(A, /\f/g, "")), h > 0 && E1(A) - x && he(h > 32 ? Hr(A + ";", i, t, x - 1) : Hr(D(A, " ", "") + ";", i, t, x - 2), d);
|
|
890
890
|
break;
|
|
891
891
|
case 59:
|
|
892
|
-
|
|
892
|
+
A += ";";
|
|
893
893
|
default:
|
|
894
|
-
if (he(_ = Lr(
|
|
894
|
+
if (he(_ = Lr(A, r, t, f, g, a, c, w, R = [], u = [], x), o), S === 123)
|
|
895
895
|
if (g === 0)
|
|
896
|
-
ye(
|
|
896
|
+
ye(A, r, _, _, R, o, x, c, u);
|
|
897
897
|
else
|
|
898
|
-
switch (y === 99 && a1(
|
|
898
|
+
switch (y === 99 && a1(A, 3) === 110 ? 100 : y) {
|
|
899
899
|
case 100:
|
|
900
900
|
case 108:
|
|
901
901
|
case 109:
|
|
902
902
|
case 115:
|
|
903
|
-
ye(e, _, _, i && he(Lr(e, _, _, 0, 0, a,
|
|
903
|
+
ye(e, _, _, i && he(Lr(e, _, _, 0, 0, a, c, w, a, R = [], x), u), a, u, x, c, i ? R : u);
|
|
904
904
|
break;
|
|
905
905
|
default:
|
|
906
|
-
ye(
|
|
906
|
+
ye(A, _, _, _, [""], u, 0, c, u);
|
|
907
907
|
}
|
|
908
908
|
}
|
|
909
|
-
f = g = h = 0, b = m = 1, w =
|
|
909
|
+
f = g = h = 0, b = m = 1, w = A = "", x = l;
|
|
910
910
|
break;
|
|
911
911
|
case 58:
|
|
912
|
-
x = 1 + E1(
|
|
912
|
+
x = 1 + E1(A), h = M;
|
|
913
913
|
default:
|
|
914
914
|
if (b < 1) {
|
|
915
915
|
if (S == 123)
|
|
@@ -917,27 +917,27 @@ function ye(e, r, t, i, a, o, l, d, c) {
|
|
|
917
917
|
else if (S == 125 && b++ == 0 && In() == 125)
|
|
918
918
|
continue;
|
|
919
919
|
}
|
|
920
|
-
switch (
|
|
920
|
+
switch (A += Fe(S), S * b) {
|
|
921
921
|
case 38:
|
|
922
|
-
m = g > 0 ? 1 : (
|
|
922
|
+
m = g > 0 ? 1 : (A += "\f", -1);
|
|
923
923
|
break;
|
|
924
924
|
case 44:
|
|
925
|
-
|
|
925
|
+
c[f++] = (E1(A) - 1) * m, m = 1;
|
|
926
926
|
break;
|
|
927
927
|
case 64:
|
|
928
|
-
S1() === 45 && (
|
|
928
|
+
S1() === 45 && (A += be(C1())), y = S1(), g = x = E1(w = A += Vn(xe())), S++;
|
|
929
929
|
break;
|
|
930
930
|
case 45:
|
|
931
|
-
M === 45 && E1(
|
|
931
|
+
M === 45 && E1(A) == 2 && (b = 0);
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
return o;
|
|
935
935
|
}
|
|
936
|
-
function Lr(e, r, t, i, a, o, l,
|
|
936
|
+
function Lr(e, r, t, i, a, o, l, c, d, f, g) {
|
|
937
937
|
for (var x = a - 1, y = a === 0 ? o : [""], h = ur(y), M = 0, b = 0, p = 0; M < i; ++M)
|
|
938
938
|
for (var m = 0, S = ce(e, x + 1, x = Rn(b = l[M])), w = e; m < h; ++m)
|
|
939
|
-
(w = ot(b > 0 ? y[m] + " " + S : D(S, /&\f/g, y[m]))) && (
|
|
940
|
-
return Le(e, r, t, a === 0 ? cr :
|
|
939
|
+
(w = ot(b > 0 ? y[m] + " " + S : D(S, /&\f/g, y[m]))) && (d[p++] = w);
|
|
940
|
+
return Le(e, r, t, a === 0 ? cr : c, d, f, g);
|
|
941
941
|
}
|
|
942
942
|
function Pn(e, r, t) {
|
|
943
943
|
return Le(e, r, t, it, Fe(Fn()), ce(e, 2, -2), 0);
|
|
@@ -969,8 +969,8 @@ function Dn(e, r, t, i) {
|
|
|
969
969
|
function Bn(e) {
|
|
970
970
|
var r = ur(e);
|
|
971
971
|
return function(t, i, a, o) {
|
|
972
|
-
for (var l = "",
|
|
973
|
-
l += e[
|
|
972
|
+
for (var l = "", c = 0; c < r; c++)
|
|
973
|
+
l += e[c](t, i, a, o) || "";
|
|
974
974
|
return l;
|
|
975
975
|
};
|
|
976
976
|
}
|
|
@@ -987,7 +987,7 @@ function zn(e) {
|
|
|
987
987
|
}
|
|
988
988
|
var Nn = function(r, t, i) {
|
|
989
989
|
for (var a = 0, o = 0; a = o, o = S1(), a === 38 && o === 12 && (t[i] = 1), !de(o); )
|
|
990
|
-
|
|
990
|
+
C1();
|
|
991
991
|
return pe(r, f1);
|
|
992
992
|
}, Wn = function(r, t) {
|
|
993
993
|
var i = -1, a = 44;
|
|
@@ -1007,7 +1007,7 @@ var Nn = function(r, t, i) {
|
|
|
1007
1007
|
default:
|
|
1008
1008
|
r[i] += Fe(a);
|
|
1009
1009
|
}
|
|
1010
|
-
while (a =
|
|
1010
|
+
while (a = C1());
|
|
1011
1011
|
return r;
|
|
1012
1012
|
}, jn = function(r, t) {
|
|
1013
1013
|
return ct(Wn(lt(r), t));
|
|
@@ -1019,9 +1019,9 @@ var Nn = function(r, t, i) {
|
|
|
1019
1019
|
if (i = i.parent, !i) return;
|
|
1020
1020
|
if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !Or.get(i)) && !a) {
|
|
1021
1021
|
Or.set(r, !0);
|
|
1022
|
-
for (var o = [], l = jn(t, o),
|
|
1023
|
-
for (var g = 0; g <
|
|
1024
|
-
r.props[f] = o[
|
|
1022
|
+
for (var o = [], l = jn(t, o), c = i.props, d = 0, f = 0; d < l.length; d++)
|
|
1023
|
+
for (var g = 0; g < c.length; g++, f++)
|
|
1024
|
+
r.props[f] = o[d] ? l[d].replace(/&\f/g, c[g]) : c[g] + " " + l[d];
|
|
1025
1025
|
}
|
|
1026
1026
|
}
|
|
1027
1027
|
}, Un = function(r) {
|
|
@@ -1033,7 +1033,7 @@ var Nn = function(r, t, i) {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
};
|
|
1035
1035
|
function dt(e, r) {
|
|
1036
|
-
switch (
|
|
1036
|
+
switch (An(e, r)) {
|
|
1037
1037
|
case 5103:
|
|
1038
1038
|
return P + "print-" + e + e;
|
|
1039
1039
|
case 5737:
|
|
@@ -1154,7 +1154,7 @@ var Gn = function(r, t, i, a) {
|
|
|
1154
1154
|
})], a);
|
|
1155
1155
|
case cr:
|
|
1156
1156
|
if (r.length) return _n(r.props, function(o) {
|
|
1157
|
-
switch (
|
|
1157
|
+
switch (kn(o, /(::plac\w+|:read-\w+)/)) {
|
|
1158
1158
|
case ":read-only":
|
|
1159
1159
|
case ":read-write":
|
|
1160
1160
|
return z1([ee(r, {
|
|
@@ -1181,7 +1181,7 @@ var Gn = function(r, t, i, a) {
|
|
|
1181
1181
|
p.indexOf(" ") !== -1 && (document.head.appendChild(b), b.setAttribute("data-s", ""));
|
|
1182
1182
|
});
|
|
1183
1183
|
}
|
|
1184
|
-
var a = r.stylisPlugins || Xn, o = {}, l,
|
|
1184
|
+
var a = r.stylisPlugins || Xn, o = {}, l, c = [];
|
|
1185
1185
|
l = r.container || document.head, Array.prototype.forEach.call(
|
|
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
|
|
@@ -1189,17 +1189,17 @@ var Gn = function(r, t, i, a) {
|
|
|
1189
1189
|
function(b) {
|
|
1190
1190
|
for (var p = b.getAttribute("data-emotion").split(" "), m = 1; m < p.length; m++)
|
|
1191
1191
|
o[p[m]] = !0;
|
|
1192
|
-
|
|
1192
|
+
c.push(b);
|
|
1193
1193
|
}
|
|
1194
1194
|
);
|
|
1195
|
-
var
|
|
1195
|
+
var d, f = [Yn, Un];
|
|
1196
1196
|
{
|
|
1197
1197
|
var g, x = [Dn, Zn(function(b) {
|
|
1198
1198
|
g.insert(b);
|
|
1199
1199
|
})], y = Bn(f.concat(a, x)), h = function(p) {
|
|
1200
1200
|
return z1($n(p), y);
|
|
1201
1201
|
};
|
|
1202
|
-
|
|
1202
|
+
d = function(p, m, S, w) {
|
|
1203
1203
|
g = S, h(p ? p + "{" + m.styles + "}" : m.styles), w && (M.inserted[m.name] = !0);
|
|
1204
1204
|
};
|
|
1205
1205
|
}
|
|
@@ -1216,9 +1216,9 @@ var Gn = function(r, t, i, a) {
|
|
|
1216
1216
|
nonce: r.nonce,
|
|
1217
1217
|
inserted: o,
|
|
1218
1218
|
registered: {},
|
|
1219
|
-
insert:
|
|
1219
|
+
insert: d
|
|
1220
1220
|
};
|
|
1221
|
-
return M.sheet.hydrate(
|
|
1221
|
+
return M.sheet.hydrate(c), M;
|
|
1222
1222
|
}, Qe = { exports: {} }, N = {};
|
|
1223
1223
|
/** @license React v16.13.1
|
|
1224
1224
|
* react-is.production.min.js
|
|
@@ -1232,14 +1232,14 @@ var Vr;
|
|
|
1232
1232
|
function Jn() {
|
|
1233
1233
|
if (Vr) return N;
|
|
1234
1234
|
Vr = 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, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109,
|
|
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, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, p = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
1236
1236
|
function w(u) {
|
|
1237
1237
|
if (typeof u == "object" && u !== null) {
|
|
1238
1238
|
var _ = u.$$typeof;
|
|
1239
1239
|
switch (_) {
|
|
1240
1240
|
case r:
|
|
1241
1241
|
switch (u = u.type, u) {
|
|
1242
|
-
case
|
|
1242
|
+
case d:
|
|
1243
1243
|
case f:
|
|
1244
1244
|
case i:
|
|
1245
1245
|
case o:
|
|
@@ -1248,7 +1248,7 @@ function Jn() {
|
|
|
1248
1248
|
return u;
|
|
1249
1249
|
default:
|
|
1250
1250
|
switch (u = u && u.$$typeof, u) {
|
|
1251
|
-
case
|
|
1251
|
+
case c:
|
|
1252
1252
|
case g:
|
|
1253
1253
|
case M:
|
|
1254
1254
|
case h:
|
|
@@ -1266,10 +1266,10 @@ function Jn() {
|
|
|
1266
1266
|
function R(u) {
|
|
1267
1267
|
return w(u) === f;
|
|
1268
1268
|
}
|
|
1269
|
-
return N.AsyncMode =
|
|
1270
|
-
return R(u) || w(u) ===
|
|
1269
|
+
return N.AsyncMode = d, N.ConcurrentMode = f, N.ContextConsumer = c, N.ContextProvider = l, N.Element = r, N.ForwardRef = g, N.Fragment = i, N.Lazy = M, N.Memo = h, N.Portal = t, N.Profiler = o, N.StrictMode = a, N.Suspense = x, N.isAsyncMode = function(u) {
|
|
1270
|
+
return R(u) || w(u) === d;
|
|
1271
1271
|
}, N.isConcurrentMode = R, N.isContextConsumer = function(u) {
|
|
1272
|
-
return w(u) ===
|
|
1272
|
+
return w(u) === c;
|
|
1273
1273
|
}, N.isContextProvider = function(u) {
|
|
1274
1274
|
return w(u) === l;
|
|
1275
1275
|
}, N.isElement = function(u) {
|
|
@@ -1291,7 +1291,7 @@ function Jn() {
|
|
|
1291
1291
|
}, N.isSuspense = function(u) {
|
|
1292
1292
|
return w(u) === x;
|
|
1293
1293
|
}, N.isValidElementType = function(u) {
|
|
1294
|
-
return typeof u == "string" || typeof u == "function" || u === i || u === f || u === o || u === a || u === x || u === y || typeof u == "object" && u !== null && (u.$$typeof === M || u.$$typeof === h || u.$$typeof === l || u.$$typeof ===
|
|
1294
|
+
return typeof u == "string" || typeof u == "function" || u === i || u === f || u === o || u === a || u === x || u === y || typeof u == "object" && u !== null && (u.$$typeof === M || u.$$typeof === h || u.$$typeof === l || u.$$typeof === c || u.$$typeof === g || u.$$typeof === p || u.$$typeof === m || u.$$typeof === S || u.$$typeof === b);
|
|
1295
1295
|
}, N.typeOf = w, N;
|
|
1296
1296
|
}
|
|
1297
1297
|
var W = {};
|
|
@@ -1306,10 +1306,10 @@ var W = {};
|
|
|
1306
1306
|
var $r;
|
|
1307
1307
|
function Kn() {
|
|
1308
1308
|
return $r || ($r = 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, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109,
|
|
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, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, p = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
1310
1310
|
function w(T) {
|
|
1311
1311
|
return typeof T == "string" || typeof T == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1312
|
-
T === i || T === f || T === o || T === a || T === x || T === y || typeof T == "object" && T !== null && (T.$$typeof === M || T.$$typeof === h || T.$$typeof === l || T.$$typeof ===
|
|
1312
|
+
T === i || T === f || T === o || T === a || T === x || T === y || typeof T == "object" && T !== null && (T.$$typeof === M || T.$$typeof === h || T.$$typeof === l || T.$$typeof === c || T.$$typeof === g || T.$$typeof === p || T.$$typeof === m || T.$$typeof === S || T.$$typeof === b);
|
|
1313
1313
|
}
|
|
1314
1314
|
function R(T) {
|
|
1315
1315
|
if (typeof T == "object" && T !== null) {
|
|
@@ -1318,7 +1318,7 @@ function Kn() {
|
|
|
1318
1318
|
case r:
|
|
1319
1319
|
var $1 = T.type;
|
|
1320
1320
|
switch ($1) {
|
|
1321
|
-
case
|
|
1321
|
+
case d:
|
|
1322
1322
|
case f:
|
|
1323
1323
|
case i:
|
|
1324
1324
|
case o:
|
|
@@ -1328,7 +1328,7 @@ function Kn() {
|
|
|
1328
1328
|
default:
|
|
1329
1329
|
var I1 = $1 && $1.$$typeof;
|
|
1330
1330
|
switch (I1) {
|
|
1331
|
-
case
|
|
1331
|
+
case c:
|
|
1332
1332
|
case g:
|
|
1333
1333
|
case M:
|
|
1334
1334
|
case h:
|
|
@@ -1343,15 +1343,15 @@ function Kn() {
|
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
|
-
var u =
|
|
1346
|
+
var u = d, _ = f, A = c, j = l, I = r, Q = g, X = i, Y = M, $ = h, K = t, o1 = o, _1 = a, Z = x, k = !1;
|
|
1347
1347
|
function G(T) {
|
|
1348
|
-
return
|
|
1348
|
+
return k || (k = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), r1(T) || R(T) === d;
|
|
1349
1349
|
}
|
|
1350
1350
|
function r1(T) {
|
|
1351
1351
|
return R(T) === f;
|
|
1352
1352
|
}
|
|
1353
1353
|
function c1(T) {
|
|
1354
|
-
return R(T) ===
|
|
1354
|
+
return R(T) === c;
|
|
1355
1355
|
}
|
|
1356
1356
|
function R1(T) {
|
|
1357
1357
|
return R(T) === l;
|
|
@@ -1383,7 +1383,7 @@ function Kn() {
|
|
|
1383
1383
|
function $e(T) {
|
|
1384
1384
|
return R(T) === x;
|
|
1385
1385
|
}
|
|
1386
|
-
W.AsyncMode = u, W.ConcurrentMode = _, W.ContextConsumer =
|
|
1386
|
+
W.AsyncMode = u, W.ConcurrentMode = _, W.ContextConsumer = A, W.ContextProvider = j, W.Element = I, W.ForwardRef = Q, W.Fragment = X, W.Lazy = Y, W.Memo = $, W.Portal = K, W.Profiler = o1, W.StrictMode = _1, W.Suspense = Z, W.isAsyncMode = G, W.isConcurrentMode = r1, W.isContextConsumer = c1, W.isContextProvider = R1, W.isElement = w1, W.isForwardRef = Oe, W.isFragment = Ve, W.isLazy = Y1, W.isMemo = U1, W.isPortal = O1, W.isProfiler = G1, W.isStrictMode = V1, W.isSuspense = $e, W.isValidElementType = w, W.typeOf = R;
|
|
1387
1387
|
}()), W;
|
|
1388
1388
|
}
|
|
1389
1389
|
process.env.NODE_ENV === "production" ? Qe.exports = Jn() : Qe.exports = Kn();
|
|
@@ -1548,15 +1548,15 @@ function ue(e, r, t) {
|
|
|
1548
1548
|
styles: l.styles,
|
|
1549
1549
|
next: M1
|
|
1550
1550
|
}, l = l.next;
|
|
1551
|
-
var
|
|
1552
|
-
return
|
|
1551
|
+
var c = o.styles + ";";
|
|
1552
|
+
return c;
|
|
1553
1553
|
}
|
|
1554
1554
|
return ui(e, r, t);
|
|
1555
1555
|
}
|
|
1556
1556
|
case "function": {
|
|
1557
1557
|
if (e !== void 0) {
|
|
1558
|
-
var
|
|
1559
|
-
return M1 =
|
|
1558
|
+
var d = M1, f = t(e);
|
|
1559
|
+
return M1 = d, ue(e, r, f);
|
|
1560
1560
|
}
|
|
1561
1561
|
break;
|
|
1562
1562
|
}
|
|
@@ -1573,14 +1573,14 @@ function ui(e, r, t) {
|
|
|
1573
1573
|
for (var o in t) {
|
|
1574
1574
|
var l = t[o];
|
|
1575
1575
|
if (typeof l != "object") {
|
|
1576
|
-
var
|
|
1577
|
-
Pr(
|
|
1576
|
+
var c = l;
|
|
1577
|
+
Pr(c) && (i += We(o) + ":" + Dr(o, c) + ";");
|
|
1578
1578
|
} else {
|
|
1579
1579
|
if (o === "NO_COMPONENT_SELECTOR" && si)
|
|
1580
1580
|
throw new Error(di);
|
|
1581
1581
|
if (Array.isArray(l) && typeof l[0] == "string" && r == null)
|
|
1582
|
-
for (var
|
|
1583
|
-
Pr(l[
|
|
1582
|
+
for (var d = 0; d < l.length; d++)
|
|
1583
|
+
Pr(l[d]) && (i += We(o) + ":" + Dr(o, l[d]) + ";");
|
|
1584
1584
|
else {
|
|
1585
1585
|
var f = ue(e, r, l);
|
|
1586
1586
|
switch (o) {
|
|
@@ -1610,10 +1610,10 @@ function pi(e, r, t) {
|
|
|
1610
1610
|
var l = o;
|
|
1611
1611
|
a += l[0];
|
|
1612
1612
|
}
|
|
1613
|
-
for (var
|
|
1614
|
-
if (a += ue(t, r, e[
|
|
1615
|
-
var
|
|
1616
|
-
a += c
|
|
1613
|
+
for (var c = 1; c < e.length; c++)
|
|
1614
|
+
if (a += ue(t, r, e[c]), i) {
|
|
1615
|
+
var d = o;
|
|
1616
|
+
a += d[c];
|
|
1617
1617
|
}
|
|
1618
1618
|
Br.lastIndex = 0;
|
|
1619
1619
|
for (var f = "", g; (g = Br.exec(a)) !== null; )
|
|
@@ -1640,8 +1640,8 @@ var fi = function(r) {
|
|
|
1640
1640
|
);
|
|
1641
1641
|
gt.Provider;
|
|
1642
1642
|
var xi = function(r) {
|
|
1643
|
-
return /* @__PURE__ */
|
|
1644
|
-
var a =
|
|
1643
|
+
return /* @__PURE__ */ h1(function(t, i) {
|
|
1644
|
+
var a = k1(gt);
|
|
1645
1645
|
return r(t, a, i);
|
|
1646
1646
|
});
|
|
1647
1647
|
}, bi = /* @__PURE__ */ T1.createContext({}), He = {}.hasOwnProperty, er = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Ct = function(r, t) {
|
|
@@ -1661,16 +1661,16 @@ var xi = function(r) {
|
|
|
1661
1661
|
typeof i == "string" && r.registered[i] !== void 0 && (i = r.registered[i]);
|
|
1662
1662
|
var a = e[er], o = [i], l = "";
|
|
1663
1663
|
typeof e.className == "string" ? l = ni(r.registered, o, e.className) : e.className != null && (l = e.className + " ");
|
|
1664
|
-
var
|
|
1665
|
-
l += r.key + "-" +
|
|
1666
|
-
var
|
|
1664
|
+
var c = pi(o, void 0, T1.useContext(bi));
|
|
1665
|
+
l += r.key + "-" + c.name;
|
|
1666
|
+
var d = {};
|
|
1667
1667
|
for (var f in e)
|
|
1668
|
-
He.call(e, f) && f !== "css" && f !== er && !Ci && (
|
|
1669
|
-
return
|
|
1668
|
+
He.call(e, f) && f !== "css" && f !== er && !Ci && (d[f] = e[f]);
|
|
1669
|
+
return d.className = l, t && (d.ref = t), /* @__PURE__ */ T1.createElement(T1.Fragment, null, /* @__PURE__ */ T1.createElement(yi, {
|
|
1670
1670
|
cache: r,
|
|
1671
|
-
serialized:
|
|
1671
|
+
serialized: c,
|
|
1672
1672
|
isStringTag: typeof a == "string"
|
|
1673
|
-
}), /* @__PURE__ */ T1.createElement(a,
|
|
1673
|
+
}), /* @__PURE__ */ T1.createElement(a, d));
|
|
1674
1674
|
}
|
|
1675
1675
|
), xt = mi, v1 = le.Fragment;
|
|
1676
1676
|
function n(e, r, t) {
|
|
@@ -1680,7 +1680,7 @@ function E(e, r, t) {
|
|
|
1680
1680
|
return He.call(r, "css") ? le.jsxs(xt, Ct(e, r), t) : le.jsxs(e, r, t);
|
|
1681
1681
|
}
|
|
1682
1682
|
const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = () => {
|
|
1683
|
-
const { palette: e } =
|
|
1683
|
+
const { palette: e } = x1(), r = u1(
|
|
1684
1684
|
(l) => l === "white" ? "#fff" : l === "black" ? "#000" : l || e.text.primary,
|
|
1685
1685
|
[e.text.primary]
|
|
1686
1686
|
), t = u1(
|
|
@@ -1689,35 +1689,35 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
1689
1689
|
), i = u1(
|
|
1690
1690
|
(l) => l || e.text.primary,
|
|
1691
1691
|
[e.text.primary]
|
|
1692
|
-
), a = u1(async (l,
|
|
1693
|
-
if (
|
|
1692
|
+
), a = u1(async (l, c, d) => {
|
|
1693
|
+
if (d)
|
|
1694
1694
|
return import("./tracktor-logo-BZpNIZuZ.js");
|
|
1695
1695
|
switch (l) {
|
|
1696
1696
|
case "supplier":
|
|
1697
|
-
return
|
|
1697
|
+
return c === "dark" ? import("./tracktor-supplier-dark-Bk1J2ZPs.js") : import("./tracktor-supplier-light-Jhs_pVRR.js");
|
|
1698
1698
|
case "pricing":
|
|
1699
1699
|
return import("./tracktor-pricing-Dxr0_FrZ.js");
|
|
1700
1700
|
default:
|
|
1701
|
-
return
|
|
1701
|
+
return c === "dark" ? import("./tracktor-dark-CczqlSbH.js") : import("./tracktor-light-D8rOyXuS.js");
|
|
1702
1702
|
}
|
|
1703
1703
|
}, []), o = u1(
|
|
1704
1704
|
({
|
|
1705
1705
|
variant: l,
|
|
1706
|
-
width:
|
|
1707
|
-
height:
|
|
1706
|
+
width: c,
|
|
1707
|
+
height: d,
|
|
1708
1708
|
withoutText: f
|
|
1709
1709
|
}) => f ? {
|
|
1710
1710
|
height: Zr,
|
|
1711
1711
|
width: Zr
|
|
1712
1712
|
} : l === "default" ? {
|
|
1713
|
-
height:
|
|
1714
|
-
width:
|
|
1713
|
+
height: d || vi,
|
|
1714
|
+
width: c || wi
|
|
1715
1715
|
} : l === "supplier" ? {
|
|
1716
|
-
height:
|
|
1717
|
-
width:
|
|
1716
|
+
height: d || Ei,
|
|
1717
|
+
width: c || Mi
|
|
1718
1718
|
} : {
|
|
1719
|
-
height:
|
|
1720
|
-
width:
|
|
1719
|
+
height: d || Si,
|
|
1720
|
+
width: c || Ri
|
|
1721
1721
|
},
|
|
1722
1722
|
[]
|
|
1723
1723
|
);
|
|
@@ -1728,14 +1728,14 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
1728
1728
|
getSize: o,
|
|
1729
1729
|
getTextColor: r
|
|
1730
1730
|
};
|
|
1731
|
-
},
|
|
1732
|
-
const [x, y] = i1(""), { palette: h } =
|
|
1733
|
-
if (
|
|
1731
|
+
}, Ai = ({ colorShape: e, shapeBackgroundColor: r, color: t, height: i, width: a, withoutText: o, mode: l, sx: c, variant: d = "default", component: f = "img" }, g) => {
|
|
1732
|
+
const [x, y] = i1(""), { palette: h } = x1(), { getTextColor: M, getImageModule: b, getSize: p, getShapeColor: m, getShapeBackgroundColor: S } = Ti(), { height: w, width: R } = p({ height: i, variant: d, width: a, withoutText: o }), u = M(t), _ = m(e), A = S(r);
|
|
1733
|
+
if (Ae(() => {
|
|
1734
1734
|
f !== "svg" && (async () => {
|
|
1735
|
-
const j = await b(
|
|
1735
|
+
const j = await b(d, l || h.mode, o);
|
|
1736
1736
|
y(j.default);
|
|
1737
1737
|
})();
|
|
1738
|
-
}, [f, b, l, h.mode,
|
|
1738
|
+
}, [f, b, l, h.mode, d, o]), f === "img")
|
|
1739
1739
|
return x ? /* @__PURE__ */ n(
|
|
1740
1740
|
H,
|
|
1741
1741
|
{
|
|
@@ -1745,10 +1745,10 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
1745
1745
|
height: w,
|
|
1746
1746
|
width: R,
|
|
1747
1747
|
ref: g,
|
|
1748
|
-
sx:
|
|
1748
|
+
sx: c
|
|
1749
1749
|
}
|
|
1750
1750
|
) : /* @__PURE__ */ n(
|
|
1751
|
-
|
|
1751
|
+
g1,
|
|
1752
1752
|
{
|
|
1753
1753
|
variant: "rounded",
|
|
1754
1754
|
ref: g,
|
|
@@ -1764,20 +1764,20 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
1764
1764
|
);
|
|
1765
1765
|
if (o) {
|
|
1766
1766
|
const j = e || h.primary.main;
|
|
1767
|
-
return /* @__PURE__ */ E(H, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: w, width: R, ...
|
|
1767
|
+
return /* @__PURE__ */ E(H, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: w, width: R, ...c }, children: [
|
|
1768
1768
|
/* @__PURE__ */ n("path", { d: "M17 0V15H32C32 6.71026 25.2897 0 17 0Z", fill: j }),
|
|
1769
1769
|
/* @__PURE__ */ n("path", { d: "M0 0V15H15C15 6.71026 8.27968 0 0 0Z", fill: j }),
|
|
1770
1770
|
/* @__PURE__ */ n("path", { d: "M14.9955 16C14.9955 16 15.0056 16 14.9955 16V32H0C0 23.1576 6.71832 16 14.9955 16Z", fill: j }),
|
|
1771
1771
|
/* @__PURE__ */ n("path", { d: "M32 16V32H17C17 23.1576 23.7103 16 32 16Z", fill: j })
|
|
1772
1772
|
] });
|
|
1773
1773
|
}
|
|
1774
|
-
return
|
|
1774
|
+
return d === "pricing" ? /* @__PURE__ */ E(
|
|
1775
1775
|
H,
|
|
1776
1776
|
{
|
|
1777
1777
|
component: "svg",
|
|
1778
1778
|
viewBox: "0 0 147 44",
|
|
1779
1779
|
fill: "none",
|
|
1780
|
-
sx: { height: w, width: R, ...
|
|
1780
|
+
sx: { height: w, width: R, ...c },
|
|
1781
1781
|
ref: g,
|
|
1782
1782
|
children: [
|
|
1783
1783
|
/* @__PURE__ */ E("g", { clipPath: "url(#clip0_12018_69701)", children: [
|
|
@@ -1872,20 +1872,20 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
1872
1872
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_12018_69701", children: /* @__PURE__ */ n("rect", { width: "147", height: "44", fill: "white" }) }) })
|
|
1873
1873
|
]
|
|
1874
1874
|
}
|
|
1875
|
-
) :
|
|
1875
|
+
) : d === "supplier" ? /* @__PURE__ */ E(
|
|
1876
1876
|
H,
|
|
1877
1877
|
{
|
|
1878
1878
|
component: "svg",
|
|
1879
1879
|
viewBox: "0 0 195 24",
|
|
1880
1880
|
fill: "none",
|
|
1881
|
-
sx: { height: w, width: R, ...
|
|
1881
|
+
sx: { height: w, width: R, ...c },
|
|
1882
1882
|
ref: g,
|
|
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: A
|
|
1889
1889
|
}
|
|
1890
1890
|
),
|
|
1891
1891
|
/* @__PURE__ */ E("g", { clipPath: "url(#clip0_14141_226706)", children: [
|
|
@@ -1992,14 +1992,14 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
1992
1992
|
component: "svg",
|
|
1993
1993
|
viewBox: "0 0 105 24",
|
|
1994
1994
|
fill: "none",
|
|
1995
|
-
sx: { height: w, width: R, ...
|
|
1995
|
+
sx: { height: w, width: R, ...c },
|
|
1996
1996
|
ref: g,
|
|
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: A
|
|
2003
2003
|
}
|
|
2004
2004
|
),
|
|
2005
2005
|
/* @__PURE__ */ E("g", { clipPath: "url(#clip0_14141_226601)", children: [
|
|
@@ -2094,7 +2094,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2094
2094
|
]
|
|
2095
2095
|
}
|
|
2096
2096
|
);
|
|
2097
|
-
},
|
|
2097
|
+
}, ki = h1(Ai), Fa = ({ component: e = "a", ...r }) => /* @__PURE__ */ n(Gt, { component: e, onClick: (t) => t.preventDefault(), ...r }), _i = ({ children: e, sx: r, ...t }, i) => /* @__PURE__ */ n(
|
|
2098
2098
|
ir,
|
|
2099
2099
|
{
|
|
2100
2100
|
sx: {
|
|
@@ -2114,8 +2114,8 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2114
2114
|
...t,
|
|
2115
2115
|
children: e
|
|
2116
2116
|
}
|
|
2117
|
-
),
|
|
2118
|
-
const { palette: o, shape: l, spacing:
|
|
2117
|
+
), Ia = h1(_i), Fi = ({ className: e, style: r, minRows: t = 4, ...i }, a) => {
|
|
2118
|
+
const { palette: o, shape: l, spacing: c } = x1();
|
|
2119
2119
|
return /* @__PURE__ */ E(v1, { children: [
|
|
2120
2120
|
/* @__PURE__ */ n(
|
|
2121
2121
|
ie,
|
|
@@ -2141,17 +2141,17 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2141
2141
|
borderColor: o.mode === "dark" ? o.border.outline : o.grey[200],
|
|
2142
2142
|
borderRadius: l.borderRadius,
|
|
2143
2143
|
color: o.text.primary,
|
|
2144
|
-
marginTop:
|
|
2144
|
+
marginTop: c(1),
|
|
2145
2145
|
maxWidth: "100%",
|
|
2146
2146
|
minWidth: "100%",
|
|
2147
|
-
padding:
|
|
2147
|
+
padding: c(1),
|
|
2148
2148
|
...r
|
|
2149
2149
|
},
|
|
2150
2150
|
...i
|
|
2151
2151
|
}
|
|
2152
2152
|
)
|
|
2153
2153
|
] });
|
|
2154
|
-
},
|
|
2154
|
+
}, La = h1(Fi), Ha = ({ fullWidth: e, value: r, setValue: t, min: i = 1, max: a = 50, ...o }) => /* @__PURE__ */ n(
|
|
2155
2155
|
Re,
|
|
2156
2156
|
{
|
|
2157
2157
|
onChange: (x) => {
|
|
@@ -2160,11 +2160,11 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2160
2160
|
},
|
|
2161
2161
|
autoComplete: "off",
|
|
2162
2162
|
InputProps: {
|
|
2163
|
-
endAdornment: /* @__PURE__ */ n(ae, { position: "end", children: /* @__PURE__ */ n(
|
|
2163
|
+
endAdornment: /* @__PURE__ */ n(ae, { position: "end", children: /* @__PURE__ */ n(A1, { disabled: r === a, onClick: () => {
|
|
2164
2164
|
const x = Number(r) + 1;
|
|
2165
2165
|
t == null || t(x <= a ? x : Number(r));
|
|
2166
2166
|
}, size: "small", "aria-label": "increment", children: /* @__PURE__ */ n(y1, { viewBox: "0 0 24 24", children: /* @__PURE__ */ n("path", { d: "M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1z" }) }) }) }),
|
|
2167
|
-
startAdornment: /* @__PURE__ */ n(ae, { position: "start", children: /* @__PURE__ */ n(
|
|
2167
|
+
startAdornment: /* @__PURE__ */ n(ae, { position: "start", children: /* @__PURE__ */ n(A1, { onClick: () => {
|
|
2168
2168
|
const x = Number(r) - 1;
|
|
2169
2169
|
t == null || t(x >= i ? x : Number(r));
|
|
2170
2170
|
}, disabled: r === i || r === 0, size: "small", "aria-label": "decrement", children: /* @__PURE__ */ n(y1, { viewBox: "0 0 24 24", children: /* @__PURE__ */ n("path", { d: "M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1z" }) }) }) }),
|
|
@@ -2186,7 +2186,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2186
2186
|
d: "M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z"
|
|
2187
2187
|
}
|
|
2188
2188
|
) }), Ii = () => {
|
|
2189
|
-
const { openDrawerMenu: e, AppBar: r } =
|
|
2189
|
+
const { openDrawerMenu: e, AppBar: r } = k1(j1), { palette: t } = x1(), i = t.mode === "dark" ? t.background.default : t.primary.black, a = r && lr(r, { onClickBurger: e });
|
|
2190
2190
|
return r ? a : /* @__PURE__ */ n(
|
|
2191
2191
|
Ye,
|
|
2192
2192
|
{
|
|
@@ -2196,7 +2196,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2196
2196
|
background: i,
|
|
2197
2197
|
borderBottom: ({ palette: o }) => `1px solid ${o.mode === "dark" ? o.divider : i}`
|
|
2198
2198
|
},
|
|
2199
|
-
children: /* @__PURE__ */ n(qt, { component: B, direction: "row", spacing: 3, height: "100%", justifyContent: "space-between", children: /* @__PURE__ */ n(
|
|
2199
|
+
children: /* @__PURE__ */ n(qt, { component: B, direction: "row", spacing: 3, height: "100%", justifyContent: "space-between", children: /* @__PURE__ */ n(A1, { onClick: e, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(bt, {}) }) })
|
|
2200
2200
|
}
|
|
2201
2201
|
);
|
|
2202
2202
|
}, pr = ({ sx: e, color: r = "currentColor" }) => /* @__PURE__ */ n(
|
|
@@ -2211,8 +2211,8 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2211
2211
|
children: /* @__PURE__ */ n("path", { d: "M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z" })
|
|
2212
2212
|
}
|
|
2213
2213
|
), fr = ({ url: e, end: r, children: t, active: i, state: a, component: o, disabled: l }) => {
|
|
2214
|
-
const { closeDrawerMenu:
|
|
2215
|
-
return l ? /* @__PURE__ */ n(q, { component: "div", color: "text.disabled", "aria-disabled": "true", children: t }) : o ? /* @__PURE__ */ n(o, { onClick:
|
|
2214
|
+
const { closeDrawerMenu: c } = k1(j1);
|
|
2215
|
+
return l ? /* @__PURE__ */ n(q, { component: "div", color: "text.disabled", "aria-disabled": "true", children: t }) : o ? /* @__PURE__ */ n(o, { onClick: c, to: e || "#", end: r, state: a, children: t }) : /* @__PURE__ */ n(H, { component: "a", href: e, onClick: c, className: i ? "active" : void 0, "data-end": r, "data-state": a, children: t });
|
|
2216
2216
|
}, re = {
|
|
2217
2217
|
bottomLink: {
|
|
2218
2218
|
"& a": {
|
|
@@ -2274,13 +2274,13 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2274
2274
|
isMobile: a,
|
|
2275
2275
|
isTablet: o,
|
|
2276
2276
|
isDrawerOpen: l,
|
|
2277
|
-
sideBarWidth:
|
|
2278
|
-
bottomLink:
|
|
2277
|
+
sideBarWidth: c,
|
|
2278
|
+
bottomLink: d,
|
|
2279
2279
|
NavLink: f,
|
|
2280
2280
|
Footer: g,
|
|
2281
2281
|
Search: x = r.Logo,
|
|
2282
2282
|
Logo: y = r.Logo
|
|
2283
|
-
} =
|
|
2283
|
+
} = k1(j1), { palette: h } = x1(), M = h.mode === "dark" ? h.background.default : h.primary.black, b = a && l ? "none" : `solid 1px ${h.divider}`, m = t ? !(!a && !o) : !0;
|
|
2284
2284
|
return /* @__PURE__ */ E(
|
|
2285
2285
|
H,
|
|
2286
2286
|
{
|
|
@@ -2288,7 +2288,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2288
2288
|
...re.container,
|
|
2289
2289
|
borderRight: b,
|
|
2290
2290
|
overflowX: "auto",
|
|
2291
|
-
width: a ? "100%" :
|
|
2291
|
+
width: a ? "100%" : c || "auto"
|
|
2292
2292
|
},
|
|
2293
2293
|
component: "aside",
|
|
2294
2294
|
children: [
|
|
@@ -2319,15 +2319,15 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2319
2319
|
children: y
|
|
2320
2320
|
}
|
|
2321
2321
|
),
|
|
2322
|
-
a && /* @__PURE__ */ n(
|
|
2322
|
+
a && /* @__PURE__ */ n(A1, { onClick: i, children: /* @__PURE__ */ n(pr, { color: h.getContrastText(M) }) })
|
|
2323
2323
|
]
|
|
2324
2324
|
}
|
|
2325
2325
|
),
|
|
2326
2326
|
x && m && /* @__PURE__ */ n(H, { p: 2, children: x }),
|
|
2327
2327
|
/* @__PURE__ */ n(H, { flex: 1, children: e }),
|
|
2328
|
-
|
|
2329
|
-
(
|
|
2330
|
-
(
|
|
2328
|
+
d && /* @__PURE__ */ n(H, { sx: re.bottomLink, children: /* @__PURE__ */ n(fr, { component: f, ...d, children: /* @__PURE__ */ E(B, { alignItems: "center", justifyContent: "center", spacing: 1, direction: "row", children: [
|
|
2329
|
+
(d == null ? void 0 : d.icon) && /* @__PURE__ */ n(H, { component: "span", display: "flex", children: d == null ? void 0 : d.icon }),
|
|
2330
|
+
(d == null ? void 0 : d.label) && /* @__PURE__ */ n(H, { component: "span", display: "flex", children: d == null ? void 0 : d.label })
|
|
2331
2331
|
] }) }) }),
|
|
2332
2332
|
g
|
|
2333
2333
|
]
|
|
@@ -2376,19 +2376,19 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2376
2376
|
mt: 3
|
|
2377
2377
|
}
|
|
2378
2378
|
}, Nr = ({ items: e, ...r }) => {
|
|
2379
|
-
const { NavLink: t = r.NavLink, isMobile: i } =
|
|
2379
|
+
const { NavLink: t = r.NavLink, isMobile: i } = k1(j1);
|
|
2380
2380
|
return /* @__PURE__ */ n(H, { px: 2, component: "nav", children: /* @__PURE__ */ n(ve, { sx: { ...Li.list }, children: e == null ? void 0 : e.filter((a) => {
|
|
2381
2381
|
const o = !(a && typeof a == "object" && "hideOnMobile" in a && i && a.hideOnMobile), l = !(a && typeof a == "object" && "hasAccess" in a && !a.hasAccess);
|
|
2382
2382
|
return o && l;
|
|
2383
2383
|
}).map((a, o) => {
|
|
2384
|
-
if (
|
|
2384
|
+
if (ke(a))
|
|
2385
2385
|
return a;
|
|
2386
2386
|
if (a && typeof a == "object" && "label" in a) {
|
|
2387
|
-
const { count: l, url:
|
|
2388
|
-
return /* @__PURE__ */ n(F1, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ n(fr, { url:
|
|
2387
|
+
const { count: l, url: c, label: d, icon: f, active: g, disabled: x } = a, y = `${c}-${d}-${o}`;
|
|
2388
|
+
return /* @__PURE__ */ n(F1, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ n(fr, { url: c, component: t, active: g, disabled: x, children: /* @__PURE__ */ E(B, { direction: "row", component: "span", spacing: 1.5, width: "100%", alignItems: "center", children: [
|
|
2389
2389
|
f && /* @__PURE__ */ n(H, { component: "span", display: "flex", alignItems: "center", children: f }),
|
|
2390
2390
|
/* @__PURE__ */ E(B, { direction: "row", justifyContent: "space-between", flex: 1, children: [
|
|
2391
|
-
|
|
2391
|
+
d,
|
|
2392
2392
|
l && /* @__PURE__ */ n(oe, { color: "warning", size: "small", label: l, variant: "rounded" })
|
|
2393
2393
|
] })
|
|
2394
2394
|
] }) }) }, y);
|
|
@@ -2404,10 +2404,10 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2404
2404
|
openDrawerMenu: () => {
|
|
2405
2405
|
}
|
|
2406
2406
|
}, j1 = Te(yt), Hi = () => {
|
|
2407
|
-
const { items: e, disableResponsive: r, isMobile: t, isTablet: i, isDrawerOpen: a, closeDrawerMenu: o, sideBarWidth: l, openDrawerMenu:
|
|
2407
|
+
const { items: e, disableResponsive: r, isMobile: t, isTablet: i, isDrawerOpen: a, closeDrawerMenu: o, sideBarWidth: l, openDrawerMenu: c } = k1(j1);
|
|
2408
2408
|
return (t || i) && !r ? /* @__PURE__ */ E(v1, { children: [
|
|
2409
2409
|
/* @__PURE__ */ n(Ii, {}),
|
|
2410
|
-
/* @__PURE__ */ n(Jt, { anchor: "left", open: a, onClose: o, onOpen:
|
|
2410
|
+
/* @__PURE__ */ n(Jt, { anchor: "left", open: a, onClose: o, onOpen: c, children: /* @__PURE__ */ n(zr, { children: /* @__PURE__ */ n(Nr, { items: e }) }) })
|
|
2411
2411
|
] }) : /* @__PURE__ */ n(zr, { width: l, children: /* @__PURE__ */ n(Nr, { items: e }) });
|
|
2412
2412
|
}, Oi = ({
|
|
2413
2413
|
AppBar: e,
|
|
@@ -2417,12 +2417,12 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2417
2417
|
Footer: a,
|
|
2418
2418
|
items: o,
|
|
2419
2419
|
enableSearchFocusShortcut: l,
|
|
2420
|
-
disableResponsive:
|
|
2421
|
-
hideSearchDesktop:
|
|
2420
|
+
disableResponsive: c,
|
|
2421
|
+
hideSearchDesktop: d,
|
|
2422
2422
|
bottomLink: f,
|
|
2423
2423
|
sideBarWidth: g = 260
|
|
2424
2424
|
}) => {
|
|
2425
|
-
const { breakpoints: x } =
|
|
2425
|
+
const { breakpoints: x } = x1(), y = se(x.down("sm")), h = se(x.between("sm", "md")), [M, b] = i1(yt.isDrawerOpen), p = u1(() => {
|
|
2426
2426
|
b(!1);
|
|
2427
2427
|
}, []), m = u1(() => {
|
|
2428
2428
|
b(!0);
|
|
@@ -2431,10 +2431,10 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2431
2431
|
AppBar: e,
|
|
2432
2432
|
bottomLink: f,
|
|
2433
2433
|
closeDrawerMenu: p,
|
|
2434
|
-
disableResponsive:
|
|
2434
|
+
disableResponsive: c,
|
|
2435
2435
|
enableSearchFocusShortcut: l,
|
|
2436
2436
|
Footer: a,
|
|
2437
|
-
hideSearchDesktop:
|
|
2437
|
+
hideSearchDesktop: d,
|
|
2438
2438
|
isDrawerOpen: M,
|
|
2439
2439
|
isMobile: y,
|
|
2440
2440
|
isTablet: h,
|
|
@@ -2447,7 +2447,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2447
2447
|
}),
|
|
2448
2448
|
[
|
|
2449
2449
|
p,
|
|
2450
|
-
|
|
2450
|
+
c,
|
|
2451
2451
|
M,
|
|
2452
2452
|
y,
|
|
2453
2453
|
h,
|
|
@@ -2458,18 +2458,18 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2458
2458
|
r,
|
|
2459
2459
|
l,
|
|
2460
2460
|
t,
|
|
2461
|
-
|
|
2461
|
+
d,
|
|
2462
2462
|
f,
|
|
2463
2463
|
e,
|
|
2464
2464
|
a
|
|
2465
2465
|
]
|
|
2466
2466
|
);
|
|
2467
2467
|
return /* @__PURE__ */ n(j1.Provider, { value: S, children: /* @__PURE__ */ n(Hi, {}) });
|
|
2468
|
-
},
|
|
2468
|
+
}, Oa = tt(Oi), Vi = "No data", Wr = {
|
|
2469
2469
|
large: 80,
|
|
2470
2470
|
medium: 50,
|
|
2471
2471
|
small: 40
|
|
2472
|
-
}, $i = ({ children: e, ...r }, t) => /* @__PURE__ */ n(ir, { component: "li", ref: t, ...r, children: e }), Pi =
|
|
2472
|
+
}, $i = ({ children: e, ...r }, t) => /* @__PURE__ */ n(ir, { component: "li", ref: t, ...r, children: e }), Pi = h1($i), Di = ({ children: e, isEmpty: r, isLoading: t, emptyMessage: i, sx: a, height: o, onClick: l, size: c = "medium", ...d }, f) => t ? /* @__PURE__ */ n(g1, { width: "100%", variant: "rounded", height: o || Wr[c], sx: { marginBottom: 1 }, ref: f, component: "li" }) : r ? /* @__PURE__ */ n(F1, { disablePadding: !0, children: /* @__PURE__ */ n(ar, { severity: "info", sx: { width: "100%" }, ref: f, children: i || Vi }) }) : /* @__PURE__ */ n(
|
|
2473
2473
|
F1,
|
|
2474
2474
|
{
|
|
2475
2475
|
component: Pi,
|
|
@@ -2478,7 +2478,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2478
2478
|
sx: {
|
|
2479
2479
|
alignItems: "center",
|
|
2480
2480
|
display: "flex",
|
|
2481
|
-
height: o || Wr[
|
|
2481
|
+
height: o || Wr[c],
|
|
2482
2482
|
marginBottom: 1,
|
|
2483
2483
|
px: 2,
|
|
2484
2484
|
width: "100%",
|
|
@@ -2490,12 +2490,12 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2490
2490
|
},
|
|
2491
2491
|
...a
|
|
2492
2492
|
},
|
|
2493
|
-
...
|
|
2493
|
+
...d,
|
|
2494
2494
|
children: /* @__PURE__ */ n(H, { flex: "auto", minWidth: 0, children: e })
|
|
2495
2495
|
}
|
|
2496
|
-
),
|
|
2496
|
+
), Va = tt(h1(Di)), Bi = ["warning", "info", "success", "error", "primary", "secondary"], Zi = (e) => Bi.includes(e), zi = ({ color: e, sx: r, variant: t = "filled", fontSize: i = "medium" }, a) => {
|
|
2497
2497
|
var g;
|
|
2498
|
-
const { palette: o } =
|
|
2498
|
+
const { palette: o } = x1(), l = o.mode === "dark" ? o.text.disabled : o.grey[400], c = e || l, d = Zi(e) ? (g = o == null ? void 0 : o[e]) == null ? void 0 : g.main : c, f = m1(d, 0.2);
|
|
2499
2499
|
return /* @__PURE__ */ E(
|
|
2500
2500
|
y1,
|
|
2501
2501
|
{
|
|
@@ -2509,11 +2509,11 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2509
2509
|
},
|
|
2510
2510
|
children: [
|
|
2511
2511
|
/* @__PURE__ */ n("circle", { cx: "8", cy: "8", r: "8", fill: t === "filled" ? f : "transparent" }),
|
|
2512
|
-
t === "filled" ? /* @__PURE__ */ n("circle", { cx: "8", cy: "8", r: "4", fill:
|
|
2512
|
+
t === "filled" ? /* @__PURE__ */ n("circle", { cx: "8", cy: "8", r: "4", fill: d }) : /* @__PURE__ */ n("circle", { cx: "8", cy: "8", r: "4", stroke: d, strokeWidth: "2", fill: "transparent" })
|
|
2513
2513
|
]
|
|
2514
2514
|
}
|
|
2515
2515
|
);
|
|
2516
|
-
}, me =
|
|
2516
|
+
}, me = h1(zi), Ni = {
|
|
2517
2517
|
large: 17,
|
|
2518
2518
|
medium: 16,
|
|
2519
2519
|
small: 15
|
|
@@ -2547,11 +2547,11 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2547
2547
|
startIcon: o,
|
|
2548
2548
|
endIcon: l
|
|
2549
2549
|
}) => {
|
|
2550
|
-
const
|
|
2550
|
+
const c = o || l;
|
|
2551
2551
|
return r && i ? /* @__PURE__ */ E(B, { direction: i === "start" ? "row" : "row-reverse", alignItems: "center", children: [
|
|
2552
2552
|
/* @__PURE__ */ n(Se, { size: a, position: "relative", loadingPosition: i }),
|
|
2553
2553
|
/* @__PURE__ */ n(H, { component: "span", children: e })
|
|
2554
|
-
] }) : r && !t && !
|
|
2554
|
+
] }) : r && !t && !c ? /* @__PURE__ */ E(v1, { children: [
|
|
2555
2555
|
r && !t && /* @__PURE__ */ n(Se, { size: a }),
|
|
2556
2556
|
/* @__PURE__ */ n(H, { component: "span", sx: { opacity: 0 }, children: e })
|
|
2557
2557
|
] }) : r && t ? /* @__PURE__ */ E(v1, { children: [
|
|
@@ -2566,8 +2566,8 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2566
2566
|
disableRipple: a,
|
|
2567
2567
|
isLoading: o,
|
|
2568
2568
|
loadingIndicator: l,
|
|
2569
|
-
loadingPosition:
|
|
2570
|
-
size:
|
|
2569
|
+
loadingPosition: c,
|
|
2570
|
+
size: d,
|
|
2571
2571
|
variant: f,
|
|
2572
2572
|
startIcon: g,
|
|
2573
2573
|
endIcon: x,
|
|
@@ -2578,19 +2578,19 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2578
2578
|
{
|
|
2579
2579
|
disabled: i || o,
|
|
2580
2580
|
ref: r,
|
|
2581
|
-
size:
|
|
2581
|
+
size: d,
|
|
2582
2582
|
variant: f,
|
|
2583
2583
|
disableRipple: a || f === "link",
|
|
2584
|
-
startIcon: o && g ? /* @__PURE__ */ n(Se, { position: "relative", size:
|
|
2585
|
-
endIcon: o && x ? /* @__PURE__ */ n(Se, { position: "relative", size:
|
|
2584
|
+
startIcon: o && g ? /* @__PURE__ */ n(Se, { position: "relative", size: d }) : g,
|
|
2585
|
+
endIcon: o && x ? /* @__PURE__ */ n(Se, { position: "relative", size: d }) : x,
|
|
2586
2586
|
...y,
|
|
2587
2587
|
children: /* @__PURE__ */ n(
|
|
2588
2588
|
Wi,
|
|
2589
2589
|
{
|
|
2590
2590
|
isLoading: o,
|
|
2591
2591
|
loadingIndicator: l,
|
|
2592
|
-
loadingPosition:
|
|
2593
|
-
size:
|
|
2592
|
+
loadingPosition: c,
|
|
2593
|
+
size: d,
|
|
2594
2594
|
startIcon: g,
|
|
2595
2595
|
endIcon: x,
|
|
2596
2596
|
children: t
|
|
@@ -2598,19 +2598,19 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2598
2598
|
)
|
|
2599
2599
|
}
|
|
2600
2600
|
);
|
|
2601
|
-
},
|
|
2602
|
-
const [o, l] = i1(!1),
|
|
2601
|
+
}, $a = h1(ji), mt = ({ children: e, open: r, onClose: t, src: i, ...a }) => {
|
|
2602
|
+
const [o, l] = i1(!1), c = () => {
|
|
2603
2603
|
l(!0);
|
|
2604
|
-
},
|
|
2604
|
+
}, d = (f, g) => (f && (t == null || t(f, g), l(!1)), (x) => {
|
|
2605
2605
|
t == null || t(x, g), l(!1);
|
|
2606
2606
|
});
|
|
2607
|
-
return /* @__PURE__ */ n(Kt, { open: r, onClose:
|
|
2607
|
+
return /* @__PURE__ */ n(Kt, { open: r, onClose: d, ...a, children: /* @__PURE__ */ E(H, { sx: { "&:focus": { outline: "none" }, inset: 0, position: "absolute" }, children: [
|
|
2608
2608
|
/* @__PURE__ */ n(
|
|
2609
|
-
|
|
2609
|
+
A1,
|
|
2610
2610
|
{
|
|
2611
2611
|
size: "small",
|
|
2612
2612
|
"aria-label": "close",
|
|
2613
|
-
onClick:
|
|
2613
|
+
onClick: d(void 0, "closeButton"),
|
|
2614
2614
|
sx: {
|
|
2615
2615
|
"&:hover": {
|
|
2616
2616
|
background: ({ palette: f }) => f.augmentColor({ color: { main: f.background.default } }).light
|
|
@@ -2639,12 +2639,12 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2639
2639
|
transform: "translate(-50%, -50%)",
|
|
2640
2640
|
width: { lg: "auto", md: "90%", sm: "80%", xs: "100%" }
|
|
2641
2641
|
},
|
|
2642
|
-
children: e || /* @__PURE__ */ n(Qt, { in: r && o, children: /* @__PURE__ */ n(H, { component: "img", src: i, width: "100%", onLoad:
|
|
2642
|
+
children: e || /* @__PURE__ */ n(Qt, { in: r && o, children: /* @__PURE__ */ n(H, { component: "img", src: i, width: "100%", onLoad: c }) })
|
|
2643
2643
|
}
|
|
2644
2644
|
)
|
|
2645
2645
|
] }) });
|
|
2646
|
-
},
|
|
2647
|
-
|
|
2646
|
+
}, Pa = ({ onClick: e }) => /* @__PURE__ */ n(
|
|
2647
|
+
A1,
|
|
2648
2648
|
{
|
|
2649
2649
|
"aria-label": "close",
|
|
2650
2650
|
onClick: e,
|
|
@@ -2655,34 +2655,34 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2655
2655
|
},
|
|
2656
2656
|
children: /* @__PURE__ */ n(pr, {})
|
|
2657
2657
|
}
|
|
2658
|
-
), Yi = ({ children: e, value: r, index: t, orientation: i, paddingY: a, paddingX: o, fullHeight: l, sx:
|
|
2658
|
+
), Yi = ({ children: e, value: r, index: t, orientation: i, paddingY: a, paddingX: o, fullHeight: l, sx: c }, d) => {
|
|
2659
2659
|
const f = a || 3, g = o || i === "vertical" ? 3 : 0;
|
|
2660
2660
|
return r === t ? /* @__PURE__ */ n(
|
|
2661
2661
|
H,
|
|
2662
2662
|
{
|
|
2663
|
-
ref:
|
|
2663
|
+
ref: d,
|
|
2664
2664
|
role: "tabpanel",
|
|
2665
2665
|
hidden: r !== t,
|
|
2666
2666
|
id: `tabpanel-${t}`,
|
|
2667
2667
|
paddingY: f,
|
|
2668
2668
|
paddingX: g,
|
|
2669
2669
|
height: l ? "100%" : void 0,
|
|
2670
|
-
sx:
|
|
2670
|
+
sx: c,
|
|
2671
2671
|
children: e
|
|
2672
2672
|
}
|
|
2673
2673
|
) : null;
|
|
2674
|
-
},
|
|
2674
|
+
}, Da = h1(Yi), Ba = ({
|
|
2675
2675
|
isLoading: e,
|
|
2676
2676
|
children: r,
|
|
2677
2677
|
emptyText: t,
|
|
2678
2678
|
typographyProps: i = { color: "text.secondary", variant: "body2" },
|
|
2679
2679
|
skeletonProps: a
|
|
2680
|
-
}) => e ? /* @__PURE__ */ n(q, { ...i, children: /* @__PURE__ */ n(
|
|
2680
|
+
}) => e ? /* @__PURE__ */ n(q, { ...i, children: /* @__PURE__ */ n(g1, { ...a }) }) : r ? /* @__PURE__ */ n(q, { ...i, children: r }) : /* @__PURE__ */ n(q, { ...i, color: "text.disabled", children: t }), Ui = (e, r, t) => {
|
|
2681
2681
|
const { w: i, h: a } = { h: Number(r), w: Number(e) };
|
|
2682
2682
|
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 };
|
|
2683
|
-
}, jr = ({ width: e, height: r, sx: t }) => /* @__PURE__ */ n(
|
|
2684
|
-
const [l,
|
|
2685
|
-
f(void 0),
|
|
2683
|
+
}, jr = ({ width: e, height: r, sx: t }) => /* @__PURE__ */ n(g1, { variant: "rounded", width: e, height: r, sx: t }), Za = ({ src: e, isLoading: r, sx: t, width: i = 64, height: a = 64, alt: o = "Article" }) => {
|
|
2684
|
+
const [l, c] = i1(), [d, f] = i1(), { shape: g } = x1(), { borderRadius: x, padding: y } = Ui(i, a, g), h = { borderRadius: x, flexShrink: 0 }, M = e && !l && !d, b = !e || d && !l || d && l, p = (m) => {
|
|
2685
|
+
f(void 0), c(m);
|
|
2686
2686
|
};
|
|
2687
2687
|
return r ? /* @__PURE__ */ n(jr, { width: i, height: a, sx: h }) : /* @__PURE__ */ E(v1, { children: [
|
|
2688
2688
|
M && /* @__PURE__ */ n(jr, { width: i, height: a, sx: h }),
|
|
@@ -2787,8 +2787,8 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2787
2787
|
width: a,
|
|
2788
2788
|
height: o,
|
|
2789
2789
|
sx: l,
|
|
2790
|
-
widthLightbox:
|
|
2791
|
-
heightLightbox:
|
|
2790
|
+
widthLightbox: c,
|
|
2791
|
+
heightLightbox: d,
|
|
2792
2792
|
sxLightbox: f,
|
|
2793
2793
|
disableLightbox: g,
|
|
2794
2794
|
disableThumb: x,
|
|
@@ -2797,19 +2797,19 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2797
2797
|
onClickThumb: M,
|
|
2798
2798
|
variant: b
|
|
2799
2799
|
}) => {
|
|
2800
|
-
const [p, m] = i1(!1), [S, w] = i1(!1), R = e == null ? void 0 : e.toLowerCase(), u = !(R != null && R.endsWith(".pdf")) && !(R != null && R.startsWith("blob:")), _ = R == null ? void 0 : R.endsWith(".pdf"),
|
|
2800
|
+
const [p, m] = i1(!1), [S, w] = i1(!1), R = e == null ? void 0 : e.toLowerCase(), u = !(R != null && R.endsWith(".pdf")) && !(R != null && R.startsWith("blob:")), _ = R == null ? void 0 : R.endsWith(".pdf"), A = Ee(null), j = S ? Gi : r || e, I = g ? 1 : 0.8, Q = () => {
|
|
2801
2801
|
m(($) => !$);
|
|
2802
2802
|
}, X = () => {
|
|
2803
2803
|
m(!1), h == null || h();
|
|
2804
2804
|
}, Y = u1(() => {
|
|
2805
2805
|
w(!0);
|
|
2806
2806
|
}, []);
|
|
2807
|
-
return
|
|
2808
|
-
const $ =
|
|
2807
|
+
return Ae(() => {
|
|
2808
|
+
const $ = A.current;
|
|
2809
2809
|
return $ == null || $.addEventListener("error", Y), () => {
|
|
2810
2810
|
$ == null || $.removeEventListener("error", Y);
|
|
2811
2811
|
};
|
|
2812
|
-
}, [Y,
|
|
2812
|
+
}, [Y, A]), /* @__PURE__ */ E(v1, { children: [
|
|
2813
2813
|
!x && !i && /* @__PURE__ */ n(
|
|
2814
2814
|
H,
|
|
2815
2815
|
{
|
|
@@ -2836,7 +2836,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2836
2836
|
height: u ? "100%" : "auto",
|
|
2837
2837
|
width: "100%",
|
|
2838
2838
|
src: j || void 0,
|
|
2839
|
-
ref:
|
|
2839
|
+
ref: A,
|
|
2840
2840
|
sx: ge.thumb
|
|
2841
2841
|
},
|
|
2842
2842
|
j
|
|
@@ -2848,8 +2848,8 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2848
2848
|
{
|
|
2849
2849
|
component: _ ? "iframe" : "img",
|
|
2850
2850
|
src: e || r || void 0,
|
|
2851
|
-
width:
|
|
2852
|
-
height:
|
|
2851
|
+
width: c,
|
|
2852
|
+
height: d,
|
|
2853
2853
|
sx: {
|
|
2854
2854
|
..._ ? ge.viewFile : ge.viewImage,
|
|
2855
2855
|
...f
|
|
@@ -2876,17 +2876,17 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2876
2876
|
onClick: a,
|
|
2877
2877
|
variant: o,
|
|
2878
2878
|
tag: l,
|
|
2879
|
-
collapseItems:
|
|
2880
|
-
collapseDefaultOpen:
|
|
2879
|
+
collapseItems: c,
|
|
2880
|
+
collapseDefaultOpen: d,
|
|
2881
2881
|
Action: f,
|
|
2882
2882
|
Icon: g,
|
|
2883
2883
|
Footer: x,
|
|
2884
2884
|
Collapse: y
|
|
2885
2885
|
}) => {
|
|
2886
|
-
const [h, M] = i1(!1), b = y || !!(
|
|
2887
|
-
return
|
|
2888
|
-
|
|
2889
|
-
}, [
|
|
2886
|
+
const [h, M] = i1(!1), b = y || !!(c != null && c.length);
|
|
2887
|
+
return Ae(() => {
|
|
2888
|
+
d && M(!0);
|
|
2889
|
+
}, [d]), /* @__PURE__ */ E(B, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
|
|
2890
2890
|
/* @__PURE__ */ n(H, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ n(B, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */ E(v1, { children: [
|
|
2891
2891
|
g || /* @__PURE__ */ n(me, { color: i ? "secondary" : "primary" }),
|
|
2892
2892
|
/* @__PURE__ */ n(H, { sx: { flex: 1 }, children: !t && /* @__PURE__ */ n(
|
|
@@ -2971,16 +2971,16 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
2971
2971
|
)
|
|
2972
2972
|
] }),
|
|
2973
2973
|
x,
|
|
2974
|
-
y && /* @__PURE__ */ n(
|
|
2975
|
-
!!(
|
|
2976
|
-
var R, u, _,
|
|
2974
|
+
y && /* @__PURE__ */ n(Ar, { in: h, children: y }),
|
|
2975
|
+
!!(c != null && c.length) && /* @__PURE__ */ n(Ar, { in: h, children: /* @__PURE__ */ n(B, { marginTop: 3, spacing: 3, children: c == null ? void 0 : c.map((p, m) => {
|
|
2976
|
+
var R, u, _, A;
|
|
2977
2977
|
const S = `${p.title}-${m}`, w = Array.isArray(p == null ? void 0 : p.file) ? p == null ? void 0 : p.file[0] : p == null ? void 0 : p.file;
|
|
2978
2978
|
return /* @__PURE__ */ E(B, { direction: "row", spacing: 1, minWidth: 0, children: [
|
|
2979
2979
|
/* @__PURE__ */ n(Xi, { sx: { height: 18, paddingTop: 0.5, width: 18 } }),
|
|
2980
2980
|
/* @__PURE__ */ E(B, { minWidth: 0, children: [
|
|
2981
2981
|
/* @__PURE__ */ E(B, { direction: "row", alignItems: "center", spacing: 1, overflow: "hidden", children: [
|
|
2982
2982
|
(p == null ? void 0 : p.title) && /* @__PURE__ */ n(
|
|
2983
|
-
|
|
2983
|
+
kr,
|
|
2984
2984
|
{
|
|
2985
2985
|
title: p == null ? void 0 : p.title,
|
|
2986
2986
|
enterDelay: Yr,
|
|
@@ -3006,7 +3006,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3006
3006
|
),
|
|
3007
3007
|
(p == null ? void 0 : p.tag) && /* @__PURE__ */ n(oe, { color: ((R = p == null ? void 0 : p.tag) == null ? void 0 : R.color) || "default", label: (u = p == null ? void 0 : p.tag) == null ? void 0 : u.label, size: "xSmall", variant: "outlined" })
|
|
3008
3008
|
] }),
|
|
3009
|
-
(p == null ? void 0 : p.subtitle) && /* @__PURE__ */ n(
|
|
3009
|
+
(p == null ? void 0 : p.subtitle) && /* @__PURE__ */ n(kr, { title: p == null ? void 0 : p.subtitle, enterDelay: Yr, children: /* @__PURE__ */ n(
|
|
3010
3010
|
q,
|
|
3011
3011
|
{
|
|
3012
3012
|
variant: "body2",
|
|
@@ -3043,7 +3043,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3043
3043
|
justifyContent: "center",
|
|
3044
3044
|
width: Ce
|
|
3045
3045
|
},
|
|
3046
|
-
children: `${(((
|
|
3046
|
+
children: `${(((A = p == null ? void 0 : p.file) == null ? void 0 : A.length) || 0) - 1}+`
|
|
3047
3047
|
}
|
|
3048
3048
|
)
|
|
3049
3049
|
] })
|
|
@@ -3070,7 +3070,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3070
3070
|
},
|
|
3071
3071
|
children: /* @__PURE__ */ n(en, { children: e })
|
|
3072
3072
|
}
|
|
3073
|
-
),
|
|
3073
|
+
), za = ({
|
|
3074
3074
|
items: e,
|
|
3075
3075
|
isLoading: r,
|
|
3076
3076
|
emptyMessage: t,
|
|
@@ -3079,33 +3079,33 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3079
3079
|
"data-test": o,
|
|
3080
3080
|
"data-testid": l
|
|
3081
3081
|
}) => {
|
|
3082
|
-
const [
|
|
3082
|
+
const [c, d] = i1("");
|
|
3083
3083
|
return r ? /* @__PURE__ */ n(je, { sx: i, "data-test": o, "data-testid": l, children: /* @__PURE__ */ E(B, { spacing: 3, children: [
|
|
3084
3084
|
/* @__PURE__ */ E(B, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
|
|
3085
3085
|
/* @__PURE__ */ n(me, {}),
|
|
3086
3086
|
/* @__PURE__ */ E(B, { children: [
|
|
3087
|
-
/* @__PURE__ */ n(q, { children: /* @__PURE__ */ n(
|
|
3088
|
-
/* @__PURE__ */ n(q, { variant: "body2", children: /* @__PURE__ */ n(
|
|
3087
|
+
/* @__PURE__ */ n(q, { children: /* @__PURE__ */ n(g1, { width: 100 }) }),
|
|
3088
|
+
/* @__PURE__ */ n(q, { variant: "body2", children: /* @__PURE__ */ n(g1, { width: 130 }) })
|
|
3089
3089
|
] })
|
|
3090
3090
|
] }),
|
|
3091
3091
|
/* @__PURE__ */ E(B, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
|
|
3092
3092
|
/* @__PURE__ */ n(me, {}),
|
|
3093
3093
|
/* @__PURE__ */ E(B, { children: [
|
|
3094
|
-
/* @__PURE__ */ n(q, { children: /* @__PURE__ */ n(
|
|
3095
|
-
/* @__PURE__ */ n(q, { variant: "body2", children: /* @__PURE__ */ n(
|
|
3094
|
+
/* @__PURE__ */ n(q, { children: /* @__PURE__ */ n(g1, { width: 150 }) }),
|
|
3095
|
+
/* @__PURE__ */ n(q, { variant: "body2", children: /* @__PURE__ */ n(g1, { width: 100, height: 20 }) })
|
|
3096
3096
|
] })
|
|
3097
3097
|
] }),
|
|
3098
3098
|
/* @__PURE__ */ E(B, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
|
|
3099
3099
|
/* @__PURE__ */ n(me, {}),
|
|
3100
3100
|
/* @__PURE__ */ E(B, { children: [
|
|
3101
|
-
/* @__PURE__ */ n(q, { children: /* @__PURE__ */ n(
|
|
3102
|
-
/* @__PURE__ */ n(q, { variant: "body2", children: /* @__PURE__ */ n(
|
|
3101
|
+
/* @__PURE__ */ n(q, { children: /* @__PURE__ */ n(g1, { width: 80 }) }),
|
|
3102
|
+
/* @__PURE__ */ n(q, { variant: "body2", children: /* @__PURE__ */ n(g1, { width: 110, height: 20 }) })
|
|
3103
3103
|
] })
|
|
3104
3104
|
] })
|
|
3105
3105
|
] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(je, { sx: i, children: /* @__PURE__ */ n(ar, { severity: "info", children: t }) }) : /* @__PURE__ */ E(v1, { children: [
|
|
3106
3106
|
/* @__PURE__ */ n(je, { sx: i, "data-test": o, "data-testid": l, children: e == null ? void 0 : e.map(
|
|
3107
3107
|
({ Action: f, Collapse: g, collapseItems: x, collapseDefaultOpen: y, subtitle: h, key: M, active: b, Footer: p, Icon: m, onClick: S, tag: w, title: R }, u) => {
|
|
3108
|
-
const _ = `${M}-${u}-${R}`,
|
|
3108
|
+
const _ = `${M}-${u}-${R}`, A = u === e.length - 1;
|
|
3109
3109
|
return /* @__PURE__ */ n(
|
|
3110
3110
|
Ji,
|
|
3111
3111
|
{
|
|
@@ -3118,7 +3118,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3118
3118
|
title: R,
|
|
3119
3119
|
subtitle: h,
|
|
3120
3120
|
Icon: m,
|
|
3121
|
-
isLastElement:
|
|
3121
|
+
isLastElement: A,
|
|
3122
3122
|
onClick: S,
|
|
3123
3123
|
tag: w,
|
|
3124
3124
|
variant: a
|
|
@@ -3127,10 +3127,10 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3127
3127
|
);
|
|
3128
3128
|
}
|
|
3129
3129
|
) }),
|
|
3130
|
-
/* @__PURE__ */ n(mt, { open: !!
|
|
3130
|
+
/* @__PURE__ */ n(mt, { open: !!c, onClose: () => d(""), src: c })
|
|
3131
3131
|
] });
|
|
3132
|
-
},
|
|
3133
|
-
const { breakpoints: i } =
|
|
3132
|
+
}, Na = ({ Main: e, Sidebar: r, AppBar: t }) => {
|
|
3133
|
+
const { breakpoints: i } = x1(), a = Ee(null), o = se(i.down("md")), l = r && lr(r, { AppBar: t });
|
|
3134
3134
|
return /* @__PURE__ */ E(B, { height: "100%", children: [
|
|
3135
3135
|
!o && t,
|
|
3136
3136
|
/* @__PURE__ */ E(B, { height: "100%", direction: o ? "column" : "row", minHeight: 0, children: [
|
|
@@ -3409,7 +3409,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3409
3409
|
}
|
|
3410
3410
|
}
|
|
3411
3411
|
}, Qi = ({ sx: e, ...r }) => {
|
|
3412
|
-
var t, i, a, o, l,
|
|
3412
|
+
var t, i, a, o, l, c;
|
|
3413
3413
|
return /* @__PURE__ */ n(
|
|
3414
3414
|
H1,
|
|
3415
3415
|
{
|
|
@@ -3419,14 +3419,14 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3419
3419
|
color: (i = (t = L == null ? void 0 : L.palette) == null ? void 0 : t.text) == null ? void 0 : i.disabled
|
|
3420
3420
|
},
|
|
3421
3421
|
backgroundColor: (o = (a = L == null ? void 0 : L.palette) == null ? void 0 : a.grey) == null ? void 0 : o[100],
|
|
3422
|
-
color: (
|
|
3422
|
+
color: (c = (l = L == null ? void 0 : L.palette) == null ? void 0 : l.text) == null ? void 0 : c.primary,
|
|
3423
3423
|
...e
|
|
3424
3424
|
},
|
|
3425
3425
|
...r
|
|
3426
3426
|
}
|
|
3427
3427
|
);
|
|
3428
3428
|
}, Ur = ({ sx: e, ...r }) => {
|
|
3429
|
-
var t, i, a, o, l,
|
|
3429
|
+
var t, i, a, o, l, c, d, f;
|
|
3430
3430
|
return /* @__PURE__ */ n(
|
|
3431
3431
|
or,
|
|
3432
3432
|
{
|
|
@@ -3438,15 +3438,15 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3438
3438
|
borderColor: (a = L == null ? void 0 : L.palette) == null ? void 0 : a.primary.main
|
|
3439
3439
|
},
|
|
3440
3440
|
backgroundColor: (l = (o = L == null ? void 0 : L.palette) == null ? void 0 : o.grey) == null ? void 0 : l["100"],
|
|
3441
|
-
borderColor: (
|
|
3442
|
-
color: (f = (
|
|
3441
|
+
borderColor: (c = L == null ? void 0 : L.palette) == null ? void 0 : c.divider,
|
|
3442
|
+
color: (f = (d = L == null ? void 0 : L.palette) == null ? void 0 : d.text) == null ? void 0 : f.primary,
|
|
3443
3443
|
...e
|
|
3444
3444
|
},
|
|
3445
3445
|
...r
|
|
3446
3446
|
}
|
|
3447
3447
|
);
|
|
3448
|
-
}, ea =
|
|
3449
|
-
var o, l,
|
|
3448
|
+
}, ea = h1(({ sx: e, slotProps: r, type: t = "search", ...i }, a) => {
|
|
3449
|
+
var o, l, c, d, f, g, x, y, h, M;
|
|
3450
3450
|
return /* @__PURE__ */ n(
|
|
3451
3451
|
Re,
|
|
3452
3452
|
{
|
|
@@ -3459,7 +3459,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3459
3459
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
3460
3460
|
borderColor: (l = (o = L == null ? void 0 : L.palette) == null ? void 0 : o.primary) == null ? void 0 : l.light
|
|
3461
3461
|
},
|
|
3462
|
-
backgroundColor: (
|
|
3462
|
+
backgroundColor: (d = (c = L == null ? void 0 : L.palette) == null ? void 0 : c.grey) == null ? void 0 : d["50"],
|
|
3463
3463
|
color: (g = (f = L == null ? void 0 : L.palette) == null ? void 0 : f.text) == null ? void 0 : g.primary
|
|
3464
3464
|
},
|
|
3465
3465
|
// Border
|
|
@@ -3513,7 +3513,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3513
3513
|
isMenuOpen: t,
|
|
3514
3514
|
openMenu: a
|
|
3515
3515
|
};
|
|
3516
|
-
}, ta = "appBarAvatarMenu",
|
|
3516
|
+
}, ta = "appBarAvatarMenu", Wa = ({
|
|
3517
3517
|
Avatar: e,
|
|
3518
3518
|
Search: r,
|
|
3519
3519
|
Action: t,
|
|
@@ -3521,15 +3521,15 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3521
3521
|
NavLink: a,
|
|
3522
3522
|
avatarProps: o,
|
|
3523
3523
|
searchProps: l,
|
|
3524
|
-
actionProps:
|
|
3525
|
-
logoProps:
|
|
3524
|
+
actionProps: c,
|
|
3525
|
+
logoProps: d,
|
|
3526
3526
|
children: f,
|
|
3527
3527
|
onClickBurger: g,
|
|
3528
3528
|
sx: x,
|
|
3529
3529
|
position: y = "static",
|
|
3530
3530
|
elevation: h = 0
|
|
3531
3531
|
}) => {
|
|
3532
|
-
const { breakpoints: M } =
|
|
3532
|
+
const { breakpoints: M } = x1(), { closeMenu: b, isMenuOpen: p, anchorMenu: m, openMenu: S } = ra(), { menuItems: w, ...R } = o || {}, u = se(M.down("sm")), _ = se(M.between("sm", "md")), A = u || _, j = {
|
|
3533
3533
|
logoContainer: {
|
|
3534
3534
|
a: {
|
|
3535
3535
|
display: "flex"
|
|
@@ -3561,14 +3561,14 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3561
3561
|
};
|
|
3562
3562
|
return f ? /* @__PURE__ */ n(Ye, { position: y, elevation: h, sx: j, children: f }) : /* @__PURE__ */ E(v1, { children: [
|
|
3563
3563
|
/* @__PURE__ */ n(Ye, { position: y, elevation: h, sx: j, children: /* @__PURE__ */ E(B, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
|
|
3564
|
-
|
|
3565
|
-
|
|
3564
|
+
A && /* @__PURE__ */ n(A1, { onClick: g, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(bt, {}) }),
|
|
3565
|
+
A || i === null ? null : /* @__PURE__ */ n(H, { sx: j.logoContainer, children: i || /* @__PURE__ */ n(ki, { mode: "dark", ...d }) }),
|
|
3566
3566
|
/* @__PURE__ */ E(B, { alignItems: "center", direction: "row", justifyContent: u ? "flex-end" : "center", spacing: 1, flex: 1, children: [
|
|
3567
|
-
u && (t === null ? null : t || /* @__PURE__ */ n(Ur, { ...
|
|
3567
|
+
u && (t === null ? null : t || /* @__PURE__ */ n(Ur, { ...c })),
|
|
3568
3568
|
r === null ? null : r || /* @__PURE__ */ n(ea, { ...l })
|
|
3569
3569
|
] }),
|
|
3570
3570
|
/* @__PURE__ */ E(B, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
3571
|
-
!u && (t === null ? null : t || /* @__PURE__ */ n(Ur, { ...
|
|
3571
|
+
!u && (t === null ? null : t || /* @__PURE__ */ n(Ur, { ...c })),
|
|
3572
3572
|
e === null ? null : e || /* @__PURE__ */ n(
|
|
3573
3573
|
Qi,
|
|
3574
3574
|
{
|
|
@@ -3604,7 +3604,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3604
3604
|
}
|
|
3605
3605
|
},
|
|
3606
3606
|
children: w == null ? void 0 : w.map((I, Q) => {
|
|
3607
|
-
if (
|
|
3607
|
+
if (ke(I)) {
|
|
3608
3608
|
if (I.key)
|
|
3609
3609
|
return I;
|
|
3610
3610
|
const X = `${w}-${Q}`;
|
|
@@ -3623,7 +3623,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3623
3623
|
) })
|
|
3624
3624
|
] });
|
|
3625
3625
|
}, na = ({ sx: e, fontSize: r, color: t = "currentColor" }) => /* @__PURE__ */ n(y1, { width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: r, sx: e, children: /* @__PURE__ */ n("rect", { x: "1", y: "1", width: "6", height: "6", rx: "3", fill: t }) }), ia = ({ dot: e, color: r, variant: t, ...i }, a) => {
|
|
3626
|
-
const { palette: o } =
|
|
3626
|
+
const { palette: o } = x1(), l = {
|
|
3627
3627
|
default: o.text.secondary,
|
|
3628
3628
|
error: o.error.main,
|
|
3629
3629
|
info: o.info.main,
|
|
@@ -3653,7 +3653,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3653
3653
|
...i
|
|
3654
3654
|
}
|
|
3655
3655
|
);
|
|
3656
|
-
},
|
|
3656
|
+
}, ja = h1(ia), aa = ({ fontSize: e, sx: r, color: t = "currentColor" }) => /* @__PURE__ */ E(y1, { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: e, sx: r, children: [
|
|
3657
3657
|
/* @__PURE__ */ n("g", { clipPath: "url(#clip0_12914_201806)", children: /* @__PURE__ */ n(
|
|
3658
3658
|
"path",
|
|
3659
3659
|
{
|
|
@@ -3713,7 +3713,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
3713
3713
|
}, Gr = {
|
|
3714
3714
|
root: ({ theme: e, ownerState: r }) => {
|
|
3715
3715
|
const t = hn.toArray(r.children), i = t[t.length - 1];
|
|
3716
|
-
if (
|
|
3716
|
+
if (ke(i)) {
|
|
3717
3717
|
if (i.props.variant === "contained" || i.props.variant === "outlined")
|
|
3718
3718
|
return {
|
|
3719
3719
|
padding: e.spacing(3)
|
|
@@ -4567,7 +4567,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4567
4567
|
letterSpacing: -0.3
|
|
4568
4568
|
}
|
|
4569
4569
|
})
|
|
4570
|
-
}, tr = sr(Z1(hr)), vt = sr(Z1(hr, Ki)), wt = sr(Z1(hr, L)),
|
|
4570
|
+
}, tr = sr(Z1(hr)), vt = sr(Z1(hr, Ki)), wt = sr(Z1(hr, L)), Ya = {
|
|
4571
4571
|
commonTheme: tr,
|
|
4572
4572
|
darkTheme: wt,
|
|
4573
4573
|
lightTheme: vt
|
|
@@ -4621,7 +4621,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4621
4621
|
}
|
|
4622
4622
|
`
|
|
4623
4623
|
}
|
|
4624
|
-
),
|
|
4624
|
+
), Ua = ({
|
|
4625
4625
|
children: e,
|
|
4626
4626
|
enableColorScheme: r,
|
|
4627
4627
|
includeCssBaseline: t = !0,
|
|
@@ -4629,10 +4629,10 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4629
4629
|
fullHeight: a = !0,
|
|
4630
4630
|
theme: o,
|
|
4631
4631
|
language: l = "en",
|
|
4632
|
-
font:
|
|
4632
|
+
font: c = Xr
|
|
4633
4633
|
}) => {
|
|
4634
4634
|
var h, M;
|
|
4635
|
-
const
|
|
4635
|
+
const d = { ...Xr, ...c }, f = (d == null ? void 0 : d.googleFontName) || ((h = tr.typography.fontFamily) == null ? void 0 : h.split(",")[0]), g = (M = d == null ? void 0 : d.fontWeight) == null ? void 0 : M.join(";"), x = _e(() => ({ language: l }), [l]), y = () => {
|
|
4636
4636
|
var m, S;
|
|
4637
4637
|
const b = typeof o == "object" ? o : {}, p = {
|
|
4638
4638
|
...l === "fr" && oa
|
|
@@ -4650,7 +4650,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4650
4650
|
`
|
|
4651
4651
|
}
|
|
4652
4652
|
),
|
|
4653
|
-
|
|
4653
|
+
d.import && /* @__PURE__ */ n(
|
|
4654
4654
|
ie,
|
|
4655
4655
|
{
|
|
4656
4656
|
styles: we`
|
|
@@ -4677,7 +4677,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4677
4677
|
en: ua,
|
|
4678
4678
|
fr: pa
|
|
4679
4679
|
}, Mt = () => {
|
|
4680
|
-
const { language: e } =
|
|
4680
|
+
const { language: e } = k1(Et);
|
|
4681
4681
|
return {
|
|
4682
4682
|
t: (t) => fa[e][t]
|
|
4683
4683
|
};
|
|
@@ -4692,7 +4692,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4692
4692
|
return a.length > 10 && r ? `${a.substring(0, 10)}(...).${o}` : a;
|
|
4693
4693
|
}).join(" • ");
|
|
4694
4694
|
return e.length > qr ? `${i} + ${e.length - qr}` : i;
|
|
4695
|
-
},
|
|
4695
|
+
}, Ga = ({
|
|
4696
4696
|
accept: e,
|
|
4697
4697
|
name: r,
|
|
4698
4698
|
disabled: t,
|
|
@@ -4700,8 +4700,8 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4700
4700
|
error: a,
|
|
4701
4701
|
localeText: o,
|
|
4702
4702
|
multiple: l,
|
|
4703
|
-
id:
|
|
4704
|
-
size:
|
|
4703
|
+
id: c,
|
|
4704
|
+
size: d,
|
|
4705
4705
|
helperText: f,
|
|
4706
4706
|
fullWidth: g,
|
|
4707
4707
|
icon: x,
|
|
@@ -4709,7 +4709,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4709
4709
|
label: h,
|
|
4710
4710
|
variant: M = "vertical"
|
|
4711
4711
|
}) => {
|
|
4712
|
-
const { t: b } = Mt(), { palette: p } =
|
|
4712
|
+
const { t: b } = Mt(), { palette: p } = x1(), m = M === "vertical", S = c || r, w = Ee(null), R = Ee(null), [u, _] = i1(null), A = ga(u), j = (X) => {
|
|
4713
4713
|
y == null || y(X), _(X.target.files);
|
|
4714
4714
|
};
|
|
4715
4715
|
return /* @__PURE__ */ E(
|
|
@@ -4735,7 +4735,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4735
4735
|
border: `1px dashed ${a ? p.error.main : p.divider}`,
|
|
4736
4736
|
borderRadius: 1,
|
|
4737
4737
|
cursor: "pointer",
|
|
4738
|
-
height: ha(
|
|
4738
|
+
height: ha(d, M),
|
|
4739
4739
|
maxWidth: g ? "100%" : 400,
|
|
4740
4740
|
padding: 2,
|
|
4741
4741
|
position: "relative",
|
|
@@ -4754,7 +4754,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4754
4754
|
color: t ? "text.disabled" : "text.secondary",
|
|
4755
4755
|
children: [
|
|
4756
4756
|
x || /* @__PURE__ */ n(aa, { sx: { height: 40, width: 40 } }),
|
|
4757
|
-
|
|
4757
|
+
A ? /* @__PURE__ */ E(v1, { children: [
|
|
4758
4758
|
/* @__PURE__ */ E(q, { variant: "body2", color: "textSecondary", children: [
|
|
4759
4759
|
u == null ? void 0 : u.length,
|
|
4760
4760
|
" ",
|
|
@@ -4768,7 +4768,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4768
4768
|
whiteSpace: m ? "normal" : "nowrap",
|
|
4769
4769
|
textOverflow: "ellipsis",
|
|
4770
4770
|
overflow: "hidden",
|
|
4771
|
-
children:
|
|
4771
|
+
children: A
|
|
4772
4772
|
}
|
|
4773
4773
|
)
|
|
4774
4774
|
] }) : /* @__PURE__ */ E(q, { variant: "subtitle1", color: t ? "text.disabled" : "primary", children: [
|
|
@@ -4816,7 +4816,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4816
4816
|
borderRadius: 1,
|
|
4817
4817
|
padding: 0.5
|
|
4818
4818
|
}
|
|
4819
|
-
},
|
|
4819
|
+
}, Xa = ({
|
|
4820
4820
|
Empty: e,
|
|
4821
4821
|
action: r,
|
|
4822
4822
|
items: t,
|
|
@@ -4824,8 +4824,8 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4824
4824
|
sx: a,
|
|
4825
4825
|
alwaysDisplaySecondaryAction: o,
|
|
4826
4826
|
isLoading: l,
|
|
4827
|
-
disableLightbox:
|
|
4828
|
-
numberLoadingItems:
|
|
4827
|
+
disableLightbox: c,
|
|
4828
|
+
numberLoadingItems: d = 3
|
|
4829
4829
|
}) => {
|
|
4830
4830
|
var x;
|
|
4831
4831
|
const [f, g] = i1("");
|
|
@@ -4836,13 +4836,13 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4836
4836
|
...ne.list,
|
|
4837
4837
|
...i && { width: "100%" }
|
|
4838
4838
|
},
|
|
4839
|
-
children: [...Array(
|
|
4840
|
-
/* @__PURE__ */ n(
|
|
4839
|
+
children: [...Array(d).keys()].map((y) => /* @__PURE__ */ E(F1, { sx: ne.listItem, children: [
|
|
4840
|
+
/* @__PURE__ */ n(g1, { width: 40, height: 40, sx: { marginRight: te }, variant: "rounded" }),
|
|
4841
4841
|
/* @__PURE__ */ n(
|
|
4842
4842
|
B1,
|
|
4843
4843
|
{
|
|
4844
|
-
primary: /* @__PURE__ */ n(q, { variant: "h6", children: /* @__PURE__ */ n(
|
|
4845
|
-
secondary: /* @__PURE__ */ n(
|
|
4844
|
+
primary: /* @__PURE__ */ n(q, { variant: "h6", children: /* @__PURE__ */ n(g1, { width: 90 }) }),
|
|
4845
|
+
secondary: /* @__PURE__ */ n(g1, { width: 70 }),
|
|
4846
4846
|
sx: { marginY: 0 }
|
|
4847
4847
|
}
|
|
4848
4848
|
)
|
|
@@ -4858,9 +4858,9 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4858
4858
|
},
|
|
4859
4859
|
children: [
|
|
4860
4860
|
t == null ? void 0 : t.map(
|
|
4861
|
-
({ id: y, title: h, subtitle: M, image: b, thumbnail: p, secondaryAction: m, chipLabel: S, chipColor: w, onClick: R, icon: u, Avatar: _ },
|
|
4861
|
+
({ id: y, title: h, subtitle: M, image: b, thumbnail: p, secondaryAction: m, chipLabel: S, chipColor: w, onClick: R, icon: u, Avatar: _ }, A) => {
|
|
4862
4862
|
var G, r1, c1, R1;
|
|
4863
|
-
const j = `key-${
|
|
4863
|
+
const j = `key-${A}-${h}-${y}`, I = (G = b == null ? void 0 : b.toLowerCase()) == null ? void 0 : G.endsWith(".pdf"), Q = (r1 = b == null ? void 0 : b.toLowerCase()) == null ? void 0 : r1.startsWith("http"), X = (c1 = p == null ? void 0 : p.toLowerCase()) == null ? void 0 : c1.startsWith("http"), Y = R ? "none" : void 0, $ = c || !!u || !Q, K = !!R || !!(!R && !c && (p || b)), o1 = f === j, k = (X ? p : "") || (Q ? b : "") || "";
|
|
4864
4864
|
return /* @__PURE__ */ E(
|
|
4865
4865
|
F1,
|
|
4866
4866
|
{
|
|
@@ -4897,7 +4897,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4897
4897
|
width: 40,
|
|
4898
4898
|
height: 40,
|
|
4899
4899
|
sx: { borderRadius: 1, marginRight: te },
|
|
4900
|
-
disableLightbox:
|
|
4900
|
+
disableLightbox: c,
|
|
4901
4901
|
open: o1,
|
|
4902
4902
|
onClose: () => g("")
|
|
4903
4903
|
}
|
|
@@ -4911,7 +4911,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4911
4911
|
disableLightbox: $,
|
|
4912
4912
|
open: o1,
|
|
4913
4913
|
onClose: () => g(""),
|
|
4914
|
-
children: /* @__PURE__ */ n(H1, { src:
|
|
4914
|
+
children: /* @__PURE__ */ n(H1, { src: k, variant: "rounded", sx: { marginRight: te }, children: u || typeof h == "string" && ((R1 = h || "") == null ? void 0 : R1.charAt(0).toUpperCase()) })
|
|
4915
4915
|
}
|
|
4916
4916
|
),
|
|
4917
4917
|
/* @__PURE__ */ n(
|
|
@@ -4986,13 +4986,13 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
4986
4986
|
onChange: a,
|
|
4987
4987
|
loading: o,
|
|
4988
4988
|
options: l,
|
|
4989
|
-
value:
|
|
4990
|
-
multiple:
|
|
4989
|
+
value: c,
|
|
4990
|
+
multiple: d,
|
|
4991
4991
|
...f
|
|
4992
4992
|
}) => {
|
|
4993
|
-
const { t: g } = Mt(), x = Array.isArray(
|
|
4993
|
+
const { t: g } = Mt(), x = Array.isArray(c) ? (c == null ? void 0 : c.length) === (l == null ? void 0 : l.length) : !1, y = l == null ? void 0 : l.filter((h) => h == null ? void 0 : h.isHeader);
|
|
4994
4994
|
return /* @__PURE__ */ E(et, { ...f, children: [
|
|
4995
|
-
|
|
4995
|
+
d && !o && (!r || !!(y != null && y.length)) && /* @__PURE__ */ E(v1, { children: [
|
|
4996
4996
|
/* @__PURE__ */ E(ve, { role: "listbox", children: [
|
|
4997
4997
|
!r && /* @__PURE__ */ n(
|
|
4998
4998
|
F1,
|
|
@@ -5031,7 +5031,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5031
5031
|
}
|
|
5032
5032
|
),
|
|
5033
5033
|
y == null ? void 0 : y.map((h, M) => {
|
|
5034
|
-
const b = `header-options-${h == null ? void 0 : h.id}-${M}`, p = Array.isArray(
|
|
5034
|
+
const b = `header-options-${h == null ? void 0 : h.id}-${M}`, p = Array.isArray(c) && c.some(
|
|
5035
5035
|
(m) => JSON.stringify(m) === JSON.stringify(h) || m && typeof m == "object" && "id" in m && (m == null ? void 0 : m.id) === (h == null ? void 0 : h.id)
|
|
5036
5036
|
);
|
|
5037
5037
|
return /* @__PURE__ */ n(
|
|
@@ -5040,13 +5040,13 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5040
5040
|
disablePadding: !0,
|
|
5041
5041
|
onMouseDown: (m) => {
|
|
5042
5042
|
if (m.stopPropagation(), m.preventDefault(), p) {
|
|
5043
|
-
const S = Array.isArray(
|
|
5043
|
+
const S = Array.isArray(c) ? c == null ? void 0 : c.filter(
|
|
5044
5044
|
(w) => !(JSON.stringify(w) === JSON.stringify(h) || w && typeof w == "object" && "id" in w && (w == null ? void 0 : w.id) === (h == null ? void 0 : h.id))
|
|
5045
5045
|
) : [];
|
|
5046
5046
|
a == null || a(m, S, "removeOption");
|
|
5047
5047
|
return;
|
|
5048
5048
|
}
|
|
5049
|
-
a == null || a(m, [...Array.isArray(
|
|
5049
|
+
a == null || a(m, [...Array.isArray(c) ? c : [], h], "selectOption");
|
|
5050
5050
|
},
|
|
5051
5051
|
children: /* @__PURE__ */ E(Ge, { disableRipple: !0, children: [
|
|
5052
5052
|
/* @__PURE__ */ n(Xe, { disableRipple: !0, checked: p, sx: nr }),
|
|
@@ -5069,8 +5069,8 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5069
5069
|
disableReset: a,
|
|
5070
5070
|
disableSelectAll: o,
|
|
5071
5071
|
value: l,
|
|
5072
|
-
onFocus:
|
|
5073
|
-
onBlur:
|
|
5072
|
+
onFocus: c,
|
|
5073
|
+
onBlur: d,
|
|
5074
5074
|
open: f,
|
|
5075
5075
|
onInputChange: g,
|
|
5076
5076
|
inputValue: x,
|
|
@@ -5085,8 +5085,8 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5085
5085
|
options: R = [],
|
|
5086
5086
|
slotProps: u,
|
|
5087
5087
|
..._
|
|
5088
|
-
},
|
|
5089
|
-
const { palette: j } =
|
|
5088
|
+
}, A) => {
|
|
5089
|
+
const { palette: j } = x1(), [I, Q] = i1(!1), [X, Y] = i1(""), $ = j.mode === "light" ? "default" : "primary", K = x || X;
|
|
5090
5090
|
return /* @__PURE__ */ n(
|
|
5091
5091
|
dn,
|
|
5092
5092
|
{
|
|
@@ -5096,15 +5096,15 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5096
5096
|
value: w ? l || [] : l || null,
|
|
5097
5097
|
loading: h,
|
|
5098
5098
|
options: R,
|
|
5099
|
-
ref:
|
|
5099
|
+
ref: A,
|
|
5100
5100
|
size: m,
|
|
5101
5101
|
disableCloseOnSelect: S,
|
|
5102
|
-
onChange: (Z,
|
|
5103
|
-
if (
|
|
5102
|
+
onChange: (Z, k, G, r1) => {
|
|
5103
|
+
if (k === null) {
|
|
5104
5104
|
e == null || e(Z, w ? [] : null, G, r1);
|
|
5105
5105
|
return;
|
|
5106
5106
|
}
|
|
5107
|
-
e == null || e(Z,
|
|
5107
|
+
e == null || e(Z, k, G, r1), (!S || !w) && Q(!1);
|
|
5108
5108
|
},
|
|
5109
5109
|
getLimitTagsText: xa($),
|
|
5110
5110
|
inputValue: K,
|
|
@@ -5127,21 +5127,21 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5127
5127
|
...u == null ? void 0 : u.paper
|
|
5128
5128
|
}
|
|
5129
5129
|
},
|
|
5130
|
-
onInputChange: (Z,
|
|
5131
|
-
G === "reset" && I && !M || G === "selectOption" && !M || G === "removeOption" && !M || (x || Y(
|
|
5130
|
+
onInputChange: (Z, k, G) => {
|
|
5131
|
+
G === "reset" && I && !M || G === "selectOption" && !M || G === "removeOption" && !M || (x || Y(k), g == null || g(Z, k, G));
|
|
5132
5132
|
},
|
|
5133
5133
|
onFocus: (Z) => {
|
|
5134
|
-
Q(!0),
|
|
5134
|
+
Q(!0), c == null || c(Z);
|
|
5135
5135
|
},
|
|
5136
5136
|
onBlur: (Z) => {
|
|
5137
|
-
Q(!1),
|
|
5137
|
+
Q(!1), d == null || d(Z);
|
|
5138
5138
|
},
|
|
5139
|
-
renderOption: b || ((Z,
|
|
5139
|
+
renderOption: b || ((Z, k, { selected: G }) => {
|
|
5140
5140
|
var c1;
|
|
5141
|
-
if (h ||
|
|
5141
|
+
if (h || k != null && k.isHeader)
|
|
5142
5142
|
return null;
|
|
5143
|
-
const r1 = `${
|
|
5144
|
-
return /* @__PURE__ */ gn(F1, { ...Z, key: r1 }, !r && /* @__PURE__ */ n(Xe, { disableRipple: !0, checked: G, sx: nr }), (
|
|
5143
|
+
const r1 = `${k == null ? void 0 : k.id}-${Z == null ? void 0 : Z.key}`;
|
|
5144
|
+
return /* @__PURE__ */ gn(F1, { ...Z, key: r1 }, !r && /* @__PURE__ */ n(Xe, { disableRipple: !0, checked: G, sx: nr }), (k == null ? void 0 : k.image) && /* @__PURE__ */ n(
|
|
5145
5145
|
cn,
|
|
5146
5146
|
{
|
|
5147
5147
|
sx: {
|
|
@@ -5150,21 +5150,21 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5150
5150
|
minWidth: "auto",
|
|
5151
5151
|
width: 24
|
|
5152
5152
|
},
|
|
5153
|
-
children: /* @__PURE__ */ n(H1, { variant: "rounded", src:
|
|
5153
|
+
children: /* @__PURE__ */ n(H1, { variant: "rounded", src: k == null ? void 0 : k.image, sx: { height: 24, width: 24 }, children: (k == null ? void 0 : k.image) === "letter" && typeof (k == null ? void 0 : k.label) == "string" && ((c1 = k == null ? void 0 : k.label) == null ? void 0 : c1.charAt(0).toUpperCase()) })
|
|
5154
5154
|
}
|
|
5155
|
-
), typeof (
|
|
5155
|
+
), typeof (k == null ? void 0 : k.label) == "string" ? /* @__PURE__ */ n(q, { variant: "body2", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", title: k == null ? void 0 : k.label, children: k.label }) : k == null ? void 0 : k.label);
|
|
5156
5156
|
}),
|
|
5157
|
-
renderTags: p || ((Z,
|
|
5158
|
-
const { key: R1 } =
|
|
5157
|
+
renderTags: p || ((Z, k, G) => Array.isArray(Z) ? Z.map((r1, c1) => {
|
|
5158
|
+
const { key: R1 } = k({ index: c1 });
|
|
5159
5159
|
return G != null && G.focused ? null : /* @__PURE__ */ n(q, { marginX: 1, whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: r1 == null ? void 0 : r1.label }, R1);
|
|
5160
5160
|
}) : null),
|
|
5161
5161
|
..._,
|
|
5162
5162
|
renderInput: (Z) => {
|
|
5163
5163
|
var r1, c1;
|
|
5164
|
-
const
|
|
5164
|
+
const k = () => {
|
|
5165
5165
|
if (!(!I && (Array.isArray(l) && l.length || !Array.isArray(l) && l)))
|
|
5166
5166
|
return t;
|
|
5167
|
-
}, G =
|
|
5167
|
+
}, G = ke((r1 = Z.InputProps) == null ? void 0 : r1.endAdornment) ? (c1 = Z.InputProps) == null ? void 0 : c1.endAdornment : null;
|
|
5168
5168
|
return /* @__PURE__ */ n(
|
|
5169
5169
|
Re,
|
|
5170
5170
|
{
|
|
@@ -5187,20 +5187,20 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5187
5187
|
right: 9
|
|
5188
5188
|
},
|
|
5189
5189
|
children: [
|
|
5190
|
-
I && K && !y && /* @__PURE__ */ n(
|
|
5190
|
+
I && K && !y && /* @__PURE__ */ n(A1, { size: "small", onClick: () => Y(""), sx: { marginRight: "-3px" }, children: /* @__PURE__ */ n(pr, { sx: { fontSize: J(20) } }) }),
|
|
5191
5191
|
G == null ? void 0 : G.props.children[1]
|
|
5192
5192
|
]
|
|
5193
5193
|
}
|
|
5194
5194
|
) : G
|
|
5195
5195
|
}
|
|
5196
5196
|
},
|
|
5197
|
-
placeholder:
|
|
5197
|
+
placeholder: k()
|
|
5198
5198
|
}
|
|
5199
5199
|
);
|
|
5200
5200
|
}
|
|
5201
5201
|
}
|
|
5202
5202
|
);
|
|
5203
|
-
},
|
|
5203
|
+
}, qa = h1(ya), ma = ({
|
|
5204
5204
|
in: e,
|
|
5205
5205
|
children: r,
|
|
5206
5206
|
sx: t,
|
|
@@ -5208,9 +5208,9 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5208
5208
|
direction: a,
|
|
5209
5209
|
position: o = "fixed",
|
|
5210
5210
|
mountOnEnter: l = !0,
|
|
5211
|
-
unmountOnExit:
|
|
5212
|
-
...
|
|
5213
|
-
}, f) => /* @__PURE__ */ n(pn, { mountOnEnter: l, unmountOnExit:
|
|
5211
|
+
unmountOnExit: c = !0,
|
|
5212
|
+
...d
|
|
5213
|
+
}, f) => /* @__PURE__ */ n(pn, { mountOnEnter: l, unmountOnExit: c, in: e === void 0 ? !0 : e, direction: "up", children: /* @__PURE__ */ n(
|
|
5214
5214
|
et,
|
|
5215
5215
|
{
|
|
5216
5216
|
square: !0,
|
|
@@ -5236,10 +5236,10 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5236
5236
|
},
|
|
5237
5237
|
...t
|
|
5238
5238
|
},
|
|
5239
|
-
...
|
|
5239
|
+
...d,
|
|
5240
5240
|
children: r
|
|
5241
5241
|
}
|
|
5242
|
-
) }),
|
|
5242
|
+
) }), Ja = h1(ma), va = ({ sx: e, fontSize: r, color: t = "currentColor" }) => /* @__PURE__ */ n(y1, { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: r, sx: e, children: /* @__PURE__ */ n(
|
|
5243
5243
|
"path",
|
|
5244
5244
|
{
|
|
5245
5245
|
d: "M12 4.5C7 4.5 2.73 7.61 1 12C2.73 16.39 7 19.5 12 19.5C17 19.5 21.27 16.39 23 12C21.27 7.61 17 4.5 12 4.5ZM12 17C9.24 17 7 14.76 7 12C7 9.24 9.24 7 12 7C14.76 7 17 9.24 17 12C17 14.76 14.76 17 12 17ZM12 9C10.34 9 9 10.34 9 12C9 13.66 10.34 15 12 15C13.66 15 15 13.66 15 12C15 10.34 13.66 9 12 9Z",
|
|
@@ -5251,13 +5251,13 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5251
5251
|
d: "M19.7231 21.1385L15.8308 17.2577C15.3884 17.4539 14.8394 17.6266 14.1836 17.776C13.5279 17.9253 12.8 18 12 18C9.81665 18 7.83139 17.4035 6.0442 16.2106C4.25702 15.0176 2.93459 13.4474 2.0769 11.5C2.46535 10.6167 2.97753 9.78943 3.61343 9.01828C4.24933 8.24713 4.92818 7.60001 5.64998 7.07693L2.8615 4.27693L3.5692 3.56923L20.4308 20.4308L19.7231 21.1385ZM12 15.1539C12.2346 15.1539 12.492 15.1263 12.7721 15.0712C13.0522 15.016 13.2711 14.9442 13.4288 14.8558L8.6442 10.0712C8.55574 10.2545 8.48395 10.483 8.42883 10.7567C8.3737 11.0304 8.34613 11.2782 8.34613 11.5C8.34613 12.5192 8.7003 13.383 9.40863 14.0914C10.117 14.7997 10.9807 15.1539 12 15.1539ZM18.6077 15.7192L15.5096 12.6462C15.5493 12.5039 15.5833 12.3349 15.6115 12.1394C15.6397 11.9439 15.6538 11.7308 15.6538 11.5C15.6538 10.4808 15.2997 9.61699 14.5913 8.90865C13.883 8.20032 13.0192 7.84615 12 7.84615C11.7692 7.84615 11.5625 7.86346 11.3798 7.89808C11.1971 7.9327 11.0282 7.98462 10.8731 8.05385L8.4192 5.61923C8.99997 5.4 9.591 5.24198 10.1923 5.14518C10.7936 5.0484 11.3961 5 12 5C14.1705 5 16.1558 5.59648 17.9558 6.78943C19.7558 7.98238 21.0782 9.55257 21.9231 11.5C21.5654 12.3039 21.1125 13.0593 20.5644 13.7664C20.0163 14.4734 19.3641 15.1244 18.6077 15.7192ZM14.6942 11.85L11.675 8.85C12.0904 8.76667 12.4939 8.79455 12.8856 8.93365C13.2772 9.07275 13.6147 9.2859 13.8981 9.57308C14.1942 9.86026 14.4144 10.2029 14.5586 10.601C14.7029 10.999 14.7481 11.4154 14.6942 11.85Z",
|
|
5252
5252
|
fill: t
|
|
5253
5253
|
}
|
|
5254
|
-
) }),
|
|
5254
|
+
) }), Ka = ({ slotProps: e, ...r }) => {
|
|
5255
5255
|
const [t, i] = i1(!1), a = () => {
|
|
5256
|
-
i((
|
|
5257
|
-
}, o = (
|
|
5258
|
-
|
|
5259
|
-
}, l = (
|
|
5260
|
-
|
|
5256
|
+
i((c) => !c);
|
|
5257
|
+
}, o = (c) => {
|
|
5258
|
+
c.preventDefault();
|
|
5259
|
+
}, l = (c) => {
|
|
5260
|
+
c.preventDefault();
|
|
5261
5261
|
};
|
|
5262
5262
|
return /* @__PURE__ */ n(
|
|
5263
5263
|
Re,
|
|
@@ -5268,7 +5268,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5268
5268
|
input: {
|
|
5269
5269
|
...e == null ? void 0 : e.input,
|
|
5270
5270
|
endAdornment: /* @__PURE__ */ n(ae, { position: "end", children: /* @__PURE__ */ n(
|
|
5271
|
-
|
|
5271
|
+
A1,
|
|
5272
5272
|
{
|
|
5273
5273
|
"aria-label": t ? "hide the password" : "display the password",
|
|
5274
5274
|
onClick: a,
|
|
@@ -5319,49 +5319,55 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5319
5319
|
height: l1.medium.secondary,
|
|
5320
5320
|
width: l1.medium.secondary
|
|
5321
5321
|
};
|
|
5322
|
-
},
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
/* @__PURE__ */
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
...
|
|
5332
|
-
|
|
5322
|
+
}, Sa = h1(
|
|
5323
|
+
({ secondarySrc: e, secondaryAvatarProps: r, size: t, ...i }, a) => {
|
|
5324
|
+
if (e) {
|
|
5325
|
+
const { height: o, width: l } = Ma(i.sx, t);
|
|
5326
|
+
return /* @__PURE__ */ E(H, { sx: { display: "flex", position: "relative" }, children: [
|
|
5327
|
+
/* @__PURE__ */ n(
|
|
5328
|
+
H1,
|
|
5329
|
+
{
|
|
5330
|
+
ref: a,
|
|
5331
|
+
...i,
|
|
5332
|
+
sx: {
|
|
5333
|
+
...t && { height: l1[t].primary, width: l1[t].primary },
|
|
5334
|
+
...i.sx
|
|
5335
|
+
}
|
|
5333
5336
|
}
|
|
5337
|
+
),
|
|
5338
|
+
/* @__PURE__ */ n(
|
|
5339
|
+
H1,
|
|
5340
|
+
{
|
|
5341
|
+
src: e,
|
|
5342
|
+
sx: {
|
|
5343
|
+
bottom: -(o / 3),
|
|
5344
|
+
height: o,
|
|
5345
|
+
outline: ({ palette: c }) => `2px solid ${c.common.white}`,
|
|
5346
|
+
position: "absolute",
|
|
5347
|
+
right: -(l / 3),
|
|
5348
|
+
width: l,
|
|
5349
|
+
...r == null ? void 0 : r.sx
|
|
5350
|
+
},
|
|
5351
|
+
...r
|
|
5352
|
+
}
|
|
5353
|
+
)
|
|
5354
|
+
] });
|
|
5355
|
+
}
|
|
5356
|
+
return /* @__PURE__ */ n(
|
|
5357
|
+
H1,
|
|
5358
|
+
{
|
|
5359
|
+
ref: a,
|
|
5360
|
+
...i,
|
|
5361
|
+
sx: {
|
|
5362
|
+
...t && { height: l1[t].primary, width: l1[t].primary },
|
|
5363
|
+
...i.sx
|
|
5334
5364
|
}
|
|
5335
|
-
),
|
|
5336
|
-
/* @__PURE__ */ n(
|
|
5337
|
-
H1,
|
|
5338
|
-
{
|
|
5339
|
-
src: e,
|
|
5340
|
-
sx: {
|
|
5341
|
-
bottom: -(a / 3),
|
|
5342
|
-
height: a,
|
|
5343
|
-
outline: ({ palette: l }) => `2px solid ${l.common.white}`,
|
|
5344
|
-
position: "absolute",
|
|
5345
|
-
right: -(o / 3),
|
|
5346
|
-
width: o,
|
|
5347
|
-
...r == null ? void 0 : r.sx
|
|
5348
|
-
},
|
|
5349
|
-
...r
|
|
5350
|
-
}
|
|
5351
|
-
)
|
|
5352
|
-
] });
|
|
5353
|
-
}
|
|
5354
|
-
return /* @__PURE__ */ n(
|
|
5355
|
-
H1,
|
|
5356
|
-
{
|
|
5357
|
-
...i,
|
|
5358
|
-
sx: {
|
|
5359
|
-
...t && { height: l1[t].primary, width: l1[t].primary },
|
|
5360
|
-
...i.sx
|
|
5361
5365
|
}
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5366
|
+
);
|
|
5367
|
+
}
|
|
5368
|
+
);
|
|
5369
|
+
Sa.displayName = "Avatar";
|
|
5370
|
+
const Qa = ({ children: e, permissions: r, disabledPermissions: t }) => {
|
|
5365
5371
|
const [i, a] = i1(), o = _e(
|
|
5366
5372
|
() => ({
|
|
5367
5373
|
disabledPermissions: t,
|
|
@@ -5370,10 +5376,10 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5370
5376
|
}),
|
|
5371
5377
|
[t, i]
|
|
5372
5378
|
);
|
|
5373
|
-
return
|
|
5379
|
+
return Ae(() => {
|
|
5374
5380
|
a(r);
|
|
5375
5381
|
}, [r]), /* @__PURE__ */ n(nt.Provider, { value: o, children: e });
|
|
5376
|
-
},
|
|
5382
|
+
}, Ra = {
|
|
5377
5383
|
component: void 0,
|
|
5378
5384
|
isOpen: !1,
|
|
5379
5385
|
message: "",
|
|
@@ -5390,17 +5396,17 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5390
5396
|
autoHideDuration: r = 5e3,
|
|
5391
5397
|
anchorOrigin: t = { horizontal: "center", vertical: "bottom" }
|
|
5392
5398
|
}) => {
|
|
5393
|
-
const [i, a] = i1(
|
|
5399
|
+
const [i, a] = i1(Ra), o = u1((d) => {
|
|
5394
5400
|
a({
|
|
5395
|
-
component:
|
|
5401
|
+
component: d == null ? void 0 : d.component,
|
|
5396
5402
|
isOpen: !0,
|
|
5397
|
-
message: (
|
|
5398
|
-
severity: (
|
|
5399
|
-
variant: (
|
|
5403
|
+
message: (d == null ? void 0 : d.message) || "",
|
|
5404
|
+
severity: (d == null ? void 0 : d.severity) || "success",
|
|
5405
|
+
variant: (d == null ? void 0 : d.variant) || "standard"
|
|
5400
5406
|
});
|
|
5401
|
-
}, []), l = u1((
|
|
5407
|
+
}, []), l = u1((d, f) => {
|
|
5402
5408
|
f !== "clickaway" && a((g) => ({ ...g, isOpen: !1 }));
|
|
5403
|
-
}, []),
|
|
5409
|
+
}, []), c = _e(
|
|
5404
5410
|
() => ({
|
|
5405
5411
|
closeSnackbar: l,
|
|
5406
5412
|
isOpen: i.isOpen,
|
|
@@ -5408,7 +5414,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5408
5414
|
}),
|
|
5409
5415
|
[l, o, i.isOpen]
|
|
5410
5416
|
);
|
|
5411
|
-
return /* @__PURE__ */ E(St.Provider, { value:
|
|
5417
|
+
return /* @__PURE__ */ E(St.Provider, { value: c, children: [
|
|
5412
5418
|
/* @__PURE__ */ n(
|
|
5413
5419
|
fn,
|
|
5414
5420
|
{
|
|
@@ -5423,7 +5429,7 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5423
5429
|
e
|
|
5424
5430
|
] });
|
|
5425
5431
|
}, ro = () => {
|
|
5426
|
-
const e =
|
|
5432
|
+
const e = k1(St), { isOpen: r, closeSnackbar: t, openSnackbar: i } = e;
|
|
5427
5433
|
if (e === void 0)
|
|
5428
5434
|
throw new Error("SnackbarProvider must be used within a useSnackBar hook");
|
|
5429
5435
|
return {
|
|
@@ -5442,44 +5448,44 @@ const Zr = 32, vi = 24, wi = 105, Ei = 24, Mi = 195, Si = 44, Ri = 147, Ti = ()
|
|
|
5442
5448
|
}, no = (e) => `linear-gradient(${m1("#fff", +Ue(e))}, ${m1("#fff", +Ue(e))})`;
|
|
5443
5449
|
export {
|
|
5444
5450
|
Ur as ActionAppBar,
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5451
|
+
Wa as AppBar,
|
|
5452
|
+
Za as ArticleImage,
|
|
5453
|
+
qa as AutocompleteFilter,
|
|
5454
|
+
Sa as Avatar,
|
|
5449
5455
|
Qi as AvatarAppBar,
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5456
|
+
Na as Backoffice,
|
|
5457
|
+
Ja as BottomFixedPaper,
|
|
5458
|
+
$a as Button,
|
|
5459
|
+
Ia as CardModal,
|
|
5460
|
+
ja as Chip,
|
|
5461
|
+
Pa as DialogCloseIcon,
|
|
5462
|
+
Ga as File,
|
|
5457
5463
|
rr as FileViewer,
|
|
5458
|
-
|
|
5464
|
+
_a as HasPermission,
|
|
5459
5465
|
mt as Lightbox,
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
+
Fa as LinkTab,
|
|
5467
|
+
Xa as ListAvatar,
|
|
5468
|
+
Xa as ListAvatars,
|
|
5469
|
+
Va as ListItemCard,
|
|
5470
|
+
ki as Logo,
|
|
5471
|
+
Oa as NavigationMenu,
|
|
5466
5472
|
j1 as NavigationMenuContext,
|
|
5467
5473
|
Qa as PermissionProvider,
|
|
5468
|
-
|
|
5474
|
+
Ha as QuantityField,
|
|
5469
5475
|
St as SnackbarContext,
|
|
5470
5476
|
eo as SnackbarProvider,
|
|
5471
5477
|
me as StatusIcon,
|
|
5472
|
-
|
|
5473
|
-
|
|
5478
|
+
Da as TabPanel,
|
|
5479
|
+
La as TextArea,
|
|
5474
5480
|
ea as TextFieldAppBar,
|
|
5475
|
-
|
|
5481
|
+
Ka as TextFieldPassword,
|
|
5476
5482
|
Et as ThemeContext,
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5483
|
+
Ua as ThemeProvider,
|
|
5484
|
+
za as TimeLine,
|
|
5485
|
+
Ba as TypographySkeleton,
|
|
5480
5486
|
no as getBackgroundImageElevation,
|
|
5481
5487
|
J as pxToRem,
|
|
5482
|
-
|
|
5488
|
+
Ya as theme,
|
|
5483
5489
|
ra as useMenu,
|
|
5484
5490
|
xn as usePermission,
|
|
5485
5491
|
ro as useSnackbar,
|