@tracktor/design-system 3.10.0 → 3.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/dist/main.cjs +11 -11
- package/dist/main.js +270 -256
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useTheme as be, Box as H, Skeleton as Ce, Tab as Jt, Card as or, GlobalStyles as i1, TextareaAutosize as Qt, InputAdornment as a1, IconButton as
|
|
1
|
+
import { useTheme as be, Box as H, Skeleton as Ce, Tab as Jt, Card as or, GlobalStyles as i1, TextareaAutosize as Qt, InputAdornment as a1, IconButton as Te, SvgIcon as we, TextField as R1, Toolbar as en, Stack as j, AppBar as U1, Typography as X, List as m1, ListItem as Le, Chip as o1, useMediaQuery as s1, SwipeableDrawer as rn, Alert as sr, alpha as Ee, Button as lr, CircularProgress as rt, Modal as tn, Fade as nn, Avatar as He, Divider as tt, Collapse as Lr, Tooltip as Ir, CardContent as an, Menu as on, MenuItem as sn, ListItemIcon as ln, ListItemText as Be, Backdrop as nt, responsiveFontSizes as cr, createTheme as Ze, getOverlayAlpha as G1, css as w1, CssBaseline as cn, ThemeProvider as dn, InputLabel as pn, ListItemButton as X1, Checkbox as q1, ListItemAvatar as un, Autocomplete as fn, Badge as hn, Paper as dr, Slide as gn, Popper as Cn, DialogContent as xn, DialogActions as bn, Dialog as yn, DialogContentText as vn, Snackbar as mn } from "@mui/material";
|
|
2
2
|
export * from "@mui/material";
|
|
3
|
-
import * as
|
|
4
|
-
import it, { createContext as k1, useContext as _e, useCallback as pe, forwardRef as ue, useState as ie, useEffect as
|
|
3
|
+
import * as Ae from "react";
|
|
4
|
+
import it, { createContext as k1, useContext as _e, useCallback as pe, forwardRef as ue, useState as ie, useEffect as A1, cloneElement as pr, isValidElement as T1, memo as at, useMemo as _1, useRef as E1, Children as wn, useImperativeHandle as En } from "react";
|
|
5
5
|
import { createElement as Mn } from "@emotion/react";
|
|
6
6
|
const Sn = {
|
|
7
7
|
disabledPermissions: void 0,
|
|
@@ -73,7 +73,7 @@ var Qe = {};
|
|
|
73
73
|
* LICENSE file in the root directory of this source tree.
|
|
74
74
|
*/
|
|
75
75
|
var Hr;
|
|
76
|
-
function
|
|
76
|
+
function An() {
|
|
77
77
|
return Hr || (Hr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
78
78
|
var e = it, 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"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), R = Symbol.iterator, y = "@@iterator";
|
|
79
79
|
function h(s) {
|
|
@@ -82,7 +82,7 @@ function Tn() {
|
|
|
82
82
|
var C = R && s[R] || s[y];
|
|
83
83
|
return typeof C == "function" ? C : null;
|
|
84
84
|
}
|
|
85
|
-
var
|
|
85
|
+
var m = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
86
86
|
function S(s) {
|
|
87
87
|
{
|
|
88
88
|
for (var C = arguments.length, E = new Array(C > 1 ? C - 1 : 0), L = 1; L < C; L++)
|
|
@@ -92,7 +92,7 @@ function Tn() {
|
|
|
92
92
|
}
|
|
93
93
|
function v(s, C, E) {
|
|
94
94
|
{
|
|
95
|
-
var L =
|
|
95
|
+
var L = m.ReactDebugCurrentFrame, z = L.getStackAddendum();
|
|
96
96
|
z !== "" && (C += "%s", E = E.concat([z]));
|
|
97
97
|
var G = E.map(function(V) {
|
|
98
98
|
return String(V);
|
|
@@ -100,10 +100,10 @@ function Tn() {
|
|
|
100
100
|
G.unshift("Warning: " + C), Function.prototype.apply.call(console[s], console, G);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
var M = !1, p = !1, _ = !1,
|
|
103
|
+
var M = !1, p = !1, _ = !1, A = !1, $ = !1, I;
|
|
104
104
|
I = Symbol.for("react.module.reference");
|
|
105
105
|
function K(s) {
|
|
106
|
-
return !!(typeof s == "string" || typeof s == "function" || s === i || s === o || $ || s === a || s === u || s === f ||
|
|
106
|
+
return !!(typeof s == "string" || typeof s == "function" || s === i || s === o || $ || s === a || s === u || s === f || A || s === g || M || p || _ || typeof s == "object" && s !== null && (s.$$typeof === b || s.$$typeof === x || s.$$typeof === l || s.$$typeof === c || s.$$typeof === d || // This needs to include all possible module reference object
|
|
107
107
|
// types supported by any Flight configuration anywhere since
|
|
108
108
|
// we don't know which Flight build this will end up being used
|
|
109
109
|
// with.
|
|
@@ -164,14 +164,14 @@ function Tn() {
|
|
|
164
164
|
}
|
|
165
165
|
return null;
|
|
166
166
|
}
|
|
167
|
-
var Z = Object.assign, q = 0, ye, ve, D,
|
|
167
|
+
var Z = Object.assign, q = 0, ye, ve, D, T, U, te, ce;
|
|
168
168
|
function fe() {
|
|
169
169
|
}
|
|
170
170
|
fe.__reactDisabledLog = !0;
|
|
171
171
|
function O1() {
|
|
172
172
|
{
|
|
173
173
|
if (q === 0) {
|
|
174
|
-
ye = console.log, ve = console.info, D = console.warn,
|
|
174
|
+
ye = console.log, ve = console.info, D = console.warn, T = console.error, U = console.group, te = console.groupCollapsed, ce = console.groupEnd;
|
|
175
175
|
var s = {
|
|
176
176
|
configurable: !0,
|
|
177
177
|
enumerable: !0,
|
|
@@ -210,7 +210,7 @@ function Tn() {
|
|
|
210
210
|
value: D
|
|
211
211
|
}),
|
|
212
212
|
error: Z({}, s, {
|
|
213
|
-
value:
|
|
213
|
+
value: T
|
|
214
214
|
}),
|
|
215
215
|
group: Z({}, s, {
|
|
216
216
|
value: U
|
|
@@ -226,7 +226,7 @@ function Tn() {
|
|
|
226
226
|
q < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
var Ye =
|
|
229
|
+
var Ye = m.ReactCurrentDispatcher, Ue;
|
|
230
230
|
function Oe(s, C, E) {
|
|
231
231
|
{
|
|
232
232
|
if (Ue === void 0)
|
|
@@ -352,7 +352,7 @@ function Tn() {
|
|
|
352
352
|
}
|
|
353
353
|
return "";
|
|
354
354
|
}
|
|
355
|
-
var qe = Object.prototype.hasOwnProperty, br = {}, yr =
|
|
355
|
+
var qe = Object.prototype.hasOwnProperty, br = {}, yr = m.ReactDebugCurrentFrame;
|
|
356
356
|
function f1(s) {
|
|
357
357
|
if (s) {
|
|
358
358
|
var C = s._owner, E = Ie(s.type, s._source, C ? C.type : null);
|
|
@@ -403,7 +403,7 @@ function Tn() {
|
|
|
403
403
|
if (Ft(s))
|
|
404
404
|
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", It(s)), vr(s);
|
|
405
405
|
}
|
|
406
|
-
var Ke =
|
|
406
|
+
var Ke = m.ReactCurrentOwner, Ht = {
|
|
407
407
|
key: !0,
|
|
408
408
|
ref: !0,
|
|
409
409
|
__self: !0,
|
|
@@ -501,7 +501,7 @@ function Tn() {
|
|
|
501
501
|
return Bt(s, O, de, z, L, Ke.current, V);
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
|
-
var B1 =
|
|
504
|
+
var B1 = m.ReactCurrentOwner, Mr = m.ReactDebugCurrentFrame;
|
|
505
505
|
function De(s) {
|
|
506
506
|
if (s) {
|
|
507
507
|
var C = s._owner, E = Ie(s.type, s._source, C ? C.type : null);
|
|
@@ -555,7 +555,7 @@ Check the top-level render call using <` + E + ">.");
|
|
|
555
555
|
s && s._owner && s._owner !== B1.current && (L = " It was passed a child from " + Y(s._owner.type) + "."), De(s), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', E, L), De(null);
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function Ar(s, C) {
|
|
559
559
|
{
|
|
560
560
|
if (typeof s != "object")
|
|
561
561
|
return;
|
|
@@ -611,7 +611,7 @@ Check the top-level render call using <` + E + ">.");
|
|
|
611
611
|
s.ref !== null && (De(s), S("Invalid attribute `ref` supplied to `React.Fragment`."), De(null));
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
var
|
|
614
|
+
var Tr = {};
|
|
615
615
|
function _r(s, C, E, L, z, G) {
|
|
616
616
|
{
|
|
617
617
|
var V = K(s);
|
|
@@ -632,25 +632,25 @@ Check the top-level render call using <` + E + ">.");
|
|
|
632
632
|
if (L)
|
|
633
633
|
if (D1(me)) {
|
|
634
634
|
for (var Pe = 0; Pe < me.length; Pe++)
|
|
635
|
-
|
|
635
|
+
Ar(me[Pe], s);
|
|
636
636
|
Object.freeze && Object.freeze(me);
|
|
637
637
|
} else
|
|
638
638
|
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
639
639
|
else
|
|
640
|
-
|
|
640
|
+
Ar(me, s);
|
|
641
641
|
}
|
|
642
642
|
if (qe.call(C, "key")) {
|
|
643
643
|
var Fe = Y(s), he = Object.keys(C).filter(function(Kt) {
|
|
644
644
|
return Kt !== "key";
|
|
645
645
|
}), N1 = he.length > 0 ? "{key: someKey, " + he.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
646
|
-
if (!
|
|
646
|
+
if (!Tr[Fe + N1]) {
|
|
647
647
|
var qt = he.length > 0 ? "{" + he.join(": ..., ") + ": ...}" : "{}";
|
|
648
648
|
S(`A props object containing a "key" prop is being spread into JSX:
|
|
649
649
|
let props = %s;
|
|
650
650
|
<%s {...props} />
|
|
651
651
|
React keys must be passed directly to JSX without using spread:
|
|
652
652
|
let props = %s;
|
|
653
|
-
<%s key={someKey} {...props} />`, N1, Fe, qt, Fe),
|
|
653
|
+
<%s key={someKey} {...props} />`, N1, Fe, qt, Fe), Tr[Fe + N1] = !0;
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
656
|
return s === i ? jt(ee) : Wt(ee), ee;
|
|
@@ -666,8 +666,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
666
666
|
Qe.Fragment = i, Qe.jsx = Gt, Qe.jsxs = Xt;
|
|
667
667
|
}()), Qe;
|
|
668
668
|
}
|
|
669
|
-
process.env.NODE_ENV === "production" ? J1.exports = kn() : J1.exports =
|
|
670
|
-
var l1 = J1.exports,
|
|
669
|
+
process.env.NODE_ENV === "production" ? J1.exports = kn() : J1.exports = An();
|
|
670
|
+
var l1 = J1.exports, Tn = !1;
|
|
671
671
|
function _n(e) {
|
|
672
672
|
if (e.sheet)
|
|
673
673
|
return e.sheet;
|
|
@@ -685,7 +685,7 @@ var In = /* @__PURE__ */ function() {
|
|
|
685
685
|
this._insertTag = function(a) {
|
|
686
686
|
var o;
|
|
687
687
|
i.tags.length === 0 ? i.insertionPoint ? o = i.insertionPoint.nextSibling : i.prepend ? o = i.container.firstChild : o = i.before : o = i.tags[i.tags.length - 1].nextSibling, i.container.insertBefore(a, o), i.tags.push(a);
|
|
688
|
-
}, this.isSpeedy = t.speedy === void 0 ? !
|
|
688
|
+
}, this.isSpeedy = t.speedy === void 0 ? !Tn : t.speedy, this.tags = [], this.ctr = 0, this.nonce = t.nonce, this.key = t.key, this.container = t.container, this.prepend = t.prepend, this.insertionPoint = t.insertionPoint, this.before = null;
|
|
689
689
|
}
|
|
690
690
|
var r = e.prototype;
|
|
691
691
|
return r.hydrate = function(i) {
|
|
@@ -851,26 +851,26 @@ function Yn(e) {
|
|
|
851
851
|
return ut(y1("", null, null, null, [""], e = pt(e), 0, [0], e));
|
|
852
852
|
}
|
|
853
853
|
function y1(e, r, t, i, a, o, l, c, d) {
|
|
854
|
-
for (var u = 0, f = 0, x = l, b = 0, g = 0, R = 0, y = 1, h = 1,
|
|
854
|
+
for (var u = 0, f = 0, x = l, b = 0, g = 0, R = 0, y = 1, h = 1, m = 1, S = 0, v = "", M = a, p = o, _ = i, A = v; h; )
|
|
855
855
|
switch (R = S, S = xe()) {
|
|
856
856
|
case 40:
|
|
857
|
-
if (R != 108 && ae(
|
|
858
|
-
Q1(
|
|
857
|
+
if (R != 108 && ae(A, x - 1) == 58) {
|
|
858
|
+
Q1(A += B(b1(S), "&", "&\f"), "&\f") != -1 && (m = -1);
|
|
859
859
|
break;
|
|
860
860
|
}
|
|
861
861
|
case 34:
|
|
862
862
|
case 39:
|
|
863
863
|
case 91:
|
|
864
|
-
|
|
864
|
+
A += b1(S);
|
|
865
865
|
break;
|
|
866
866
|
case 9:
|
|
867
867
|
case 10:
|
|
868
868
|
case 13:
|
|
869
869
|
case 32:
|
|
870
|
-
|
|
870
|
+
A += zn(R);
|
|
871
871
|
break;
|
|
872
872
|
case 92:
|
|
873
|
-
|
|
873
|
+
A += Nn(x1() - 1, 7);
|
|
874
874
|
continue;
|
|
875
875
|
case 47:
|
|
876
876
|
switch (ke()) {
|
|
@@ -879,11 +879,11 @@ function y1(e, r, t, i, a, o, l, c, d) {
|
|
|
879
879
|
h1(Un(Wn(xe(), x1()), r, t), d);
|
|
880
880
|
break;
|
|
881
881
|
default:
|
|
882
|
-
|
|
882
|
+
A += "/";
|
|
883
883
|
}
|
|
884
884
|
break;
|
|
885
885
|
case 123 * y:
|
|
886
|
-
c[u++] = Se(
|
|
886
|
+
c[u++] = Se(A) * m;
|
|
887
887
|
case 125 * y:
|
|
888
888
|
case 59:
|
|
889
889
|
case 0:
|
|
@@ -892,16 +892,16 @@ function y1(e, r, t, i, a, o, l, c, d) {
|
|
|
892
892
|
case 125:
|
|
893
893
|
h = 0;
|
|
894
894
|
case 59 + f:
|
|
895
|
-
|
|
895
|
+
m == -1 && (A = B(A, /\f/g, "")), g > 0 && Se(A) - x && h1(g > 32 ? Vr(A + ";", i, t, x - 1) : Vr(B(A, " ", "") + ";", i, t, x - 2), d);
|
|
896
896
|
break;
|
|
897
897
|
case 59:
|
|
898
|
-
|
|
898
|
+
A += ";";
|
|
899
899
|
default:
|
|
900
|
-
if (h1(_ = Or(
|
|
900
|
+
if (h1(_ = Or(A, r, t, u, f, a, c, v, M = [], p = [], x), o), S === 123)
|
|
901
901
|
if (f === 0)
|
|
902
|
-
y1(
|
|
902
|
+
y1(A, r, _, _, M, o, x, c, p);
|
|
903
903
|
else
|
|
904
|
-
switch (b === 99 && ae(
|
|
904
|
+
switch (b === 99 && ae(A, 3) === 110 ? 100 : b) {
|
|
905
905
|
case 100:
|
|
906
906
|
case 108:
|
|
907
907
|
case 109:
|
|
@@ -909,13 +909,13 @@ function y1(e, r, t, i, a, o, l, c, d) {
|
|
|
909
909
|
y1(e, _, _, i && h1(Or(e, _, _, 0, 0, a, c, v, a, M = [], x), p), a, p, x, c, i ? M : p);
|
|
910
910
|
break;
|
|
911
911
|
default:
|
|
912
|
-
y1(
|
|
912
|
+
y1(A, _, _, _, [""], p, 0, c, p);
|
|
913
913
|
}
|
|
914
914
|
}
|
|
915
|
-
u = f = g = 0, y =
|
|
915
|
+
u = f = g = 0, y = m = 1, v = A = "", x = l;
|
|
916
916
|
break;
|
|
917
917
|
case 58:
|
|
918
|
-
x = 1 + Se(
|
|
918
|
+
x = 1 + Se(A), g = R;
|
|
919
919
|
default:
|
|
920
920
|
if (y < 1) {
|
|
921
921
|
if (S == 123)
|
|
@@ -923,26 +923,26 @@ function y1(e, r, t, i, a, o, l, c, d) {
|
|
|
923
923
|
else if (S == 125 && y++ == 0 && Zn() == 125)
|
|
924
924
|
continue;
|
|
925
925
|
}
|
|
926
|
-
switch (
|
|
926
|
+
switch (A += L1(S), S * y) {
|
|
927
927
|
case 38:
|
|
928
|
-
|
|
928
|
+
m = f > 0 ? 1 : (A += "\f", -1);
|
|
929
929
|
break;
|
|
930
930
|
case 44:
|
|
931
|
-
c[u++] = (Se(
|
|
931
|
+
c[u++] = (Se(A) - 1) * m, m = 1;
|
|
932
932
|
break;
|
|
933
933
|
case 64:
|
|
934
|
-
ke() === 45 && (
|
|
934
|
+
ke() === 45 && (A += b1(xe())), b = ke(), f = x = Se(v = A += jn(x1())), S++;
|
|
935
935
|
break;
|
|
936
936
|
case 45:
|
|
937
|
-
R === 45 && Se(
|
|
937
|
+
R === 45 && Se(A) == 2 && (y = 0);
|
|
938
938
|
}
|
|
939
939
|
}
|
|
940
940
|
return o;
|
|
941
941
|
}
|
|
942
942
|
function Or(e, r, t, i, a, o, l, c, d, u, f) {
|
|
943
943
|
for (var x = a - 1, b = a === 0 ? o : [""], g = hr(b), R = 0, y = 0, h = 0; R < i; ++R)
|
|
944
|
-
for (var
|
|
945
|
-
(v = ct(y > 0 ? b[
|
|
944
|
+
for (var m = 0, S = c1(e, x + 1, x = On(y = l[R])), v = e; m < g; ++m)
|
|
945
|
+
(v = ct(y > 0 ? b[m] + " " + S : B(S, /&\f/g, b[m]))) && (d[h++] = v);
|
|
946
946
|
return F1(e, r, t, a === 0 ? ur : c, d, u, f);
|
|
947
947
|
}
|
|
948
948
|
function Un(e, r, t) {
|
|
@@ -1193,8 +1193,8 @@ var ni = function(r, t, i, a) {
|
|
|
1193
1193
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
1194
1194
|
document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
|
|
1195
1195
|
function(y) {
|
|
1196
|
-
for (var h = y.getAttribute("data-emotion").split(" "),
|
|
1197
|
-
o[h[
|
|
1196
|
+
for (var h = y.getAttribute("data-emotion").split(" "), m = 1; m < h.length; m++)
|
|
1197
|
+
o[h[m]] = !0;
|
|
1198
1198
|
c.push(y);
|
|
1199
1199
|
}
|
|
1200
1200
|
);
|
|
@@ -1205,8 +1205,8 @@ var ni = function(r, t, i, a) {
|
|
|
1205
1205
|
})], b = Xn(u.concat(a, x)), g = function(h) {
|
|
1206
1206
|
return ze(Yn(h), b);
|
|
1207
1207
|
};
|
|
1208
|
-
d = function(h,
|
|
1209
|
-
f = S, g(h ? h + "{" +
|
|
1208
|
+
d = function(h, m, S, v) {
|
|
1209
|
+
f = S, g(h ? h + "{" + m.styles + "}" : m.styles), v && (R.inserted[m.name] = !0);
|
|
1210
1210
|
};
|
|
1211
1211
|
}
|
|
1212
1212
|
var R = {
|
|
@@ -1238,7 +1238,7 @@ var Dr;
|
|
|
1238
1238
|
function oi() {
|
|
1239
1239
|
if (Dr) return N;
|
|
1240
1240
|
Dr = 1;
|
|
1241
|
-
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, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, R = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117,
|
|
1241
|
+
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, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, R = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
1242
1242
|
function v(p) {
|
|
1243
1243
|
if (typeof p == "object" && p !== null) {
|
|
1244
1244
|
var _ = p.$$typeof;
|
|
@@ -1297,7 +1297,7 @@ function oi() {
|
|
|
1297
1297
|
}, N.isSuspense = function(p) {
|
|
1298
1298
|
return v(p) === x;
|
|
1299
1299
|
}, N.isValidElementType = function(p) {
|
|
1300
|
-
return typeof p == "string" || typeof p == "function" || p === i || p === u || p === o || p === a || p === x || p === b || typeof p == "object" && p !== null && (p.$$typeof === R || p.$$typeof === g || p.$$typeof === l || p.$$typeof === c || p.$$typeof === f || p.$$typeof === h || p.$$typeof ===
|
|
1300
|
+
return typeof p == "string" || typeof p == "function" || p === i || p === u || p === o || p === a || p === x || p === b || typeof p == "object" && p !== null && (p.$$typeof === R || p.$$typeof === g || p.$$typeof === l || p.$$typeof === c || p.$$typeof === f || p.$$typeof === h || p.$$typeof === m || p.$$typeof === S || p.$$typeof === y);
|
|
1301
1301
|
}, N.typeOf = v, N;
|
|
1302
1302
|
}
|
|
1303
1303
|
var W = {};
|
|
@@ -1312,10 +1312,10 @@ var W = {};
|
|
|
1312
1312
|
var Pr;
|
|
1313
1313
|
function si() {
|
|
1314
1314
|
return Pr || (Pr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1315
|
-
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, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, R = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117,
|
|
1315
|
+
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, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, R = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, m = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
1316
1316
|
function v(k) {
|
|
1317
1317
|
return typeof k == "string" || typeof k == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1318
|
-
k === i || k === u || k === o || k === a || k === x || k === b || typeof k == "object" && k !== null && (k.$$typeof === R || k.$$typeof === g || k.$$typeof === l || k.$$typeof === c || k.$$typeof === f || k.$$typeof === h || k.$$typeof ===
|
|
1318
|
+
k === i || k === u || k === o || k === a || k === x || k === b || typeof k == "object" && k !== null && (k.$$typeof === R || k.$$typeof === g || k.$$typeof === l || k.$$typeof === c || k.$$typeof === f || k.$$typeof === h || k.$$typeof === m || k.$$typeof === S || k.$$typeof === y);
|
|
1319
1319
|
}
|
|
1320
1320
|
function M(k) {
|
|
1321
1321
|
if (typeof k == "object" && k !== null) {
|
|
@@ -1349,8 +1349,8 @@ function si() {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
1351
|
}
|
|
1352
|
-
var p = d, _ = u,
|
|
1353
|
-
function
|
|
1352
|
+
var p = d, _ = u, A = c, $ = l, I = r, K = f, oe = i, ne = R, Y = g, Z = t, q = o, ye = a, ve = x, D = !1;
|
|
1353
|
+
function T(k) {
|
|
1354
1354
|
return D || (D = !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.")), U(k) || M(k) === d;
|
|
1355
1355
|
}
|
|
1356
1356
|
function U(k) {
|
|
@@ -1389,7 +1389,7 @@ function si() {
|
|
|
1389
1389
|
function $1(k) {
|
|
1390
1390
|
return M(k) === x;
|
|
1391
1391
|
}
|
|
1392
|
-
W.AsyncMode = p, W.ConcurrentMode = _, W.ContextConsumer =
|
|
1392
|
+
W.AsyncMode = p, W.ConcurrentMode = _, W.ContextConsumer = A, W.ContextProvider = $, W.Element = I, W.ForwardRef = K, W.Fragment = oe, W.Lazy = ne, W.Memo = Y, W.Portal = Z, W.Profiler = q, W.StrictMode = ye, W.Suspense = ve, W.isAsyncMode = T, W.isConcurrentMode = U, W.isContextConsumer = te, W.isContextProvider = ce, W.isElement = fe, W.isForwardRef = O1, W.isFragment = V1, W.isLazy = Ye, W.isMemo = Ue, W.isPortal = Oe, W.isProfiler = Ge, W.isStrictMode = Ve, W.isSuspense = $1, W.isValidElementType = v, W.typeOf = M;
|
|
1393
1393
|
}()), W;
|
|
1394
1394
|
}
|
|
1395
1395
|
process.env.NODE_ENV === "production" ? rr.exports = oi() : rr.exports = si();
|
|
@@ -1633,7 +1633,7 @@ function mi(e, r, t) {
|
|
|
1633
1633
|
}
|
|
1634
1634
|
var wi = function(r) {
|
|
1635
1635
|
return r();
|
|
1636
|
-
}, Ei =
|
|
1636
|
+
}, Ei = Ae.useInsertionEffect ? Ae.useInsertionEffect : !1, Mi = Ei || wi, Si = !1, bt = /* @__PURE__ */ Ae.createContext(
|
|
1637
1637
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1638
1638
|
// because this module is primarily intended for the browser and node
|
|
1639
1639
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -1650,39 +1650,39 @@ var Ri = function(r) {
|
|
|
1650
1650
|
var a = _e(bt);
|
|
1651
1651
|
return r(t, a, i);
|
|
1652
1652
|
});
|
|
1653
|
-
}, ki = /* @__PURE__ */
|
|
1653
|
+
}, ki = /* @__PURE__ */ Ae.createContext({}), H1 = {}.hasOwnProperty, tr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", yt = function(r, t) {
|
|
1654
1654
|
var i = {};
|
|
1655
1655
|
for (var a in t)
|
|
1656
1656
|
H1.call(t, a) && (i[a] = t[a]);
|
|
1657
1657
|
return i[tr] = r, i;
|
|
1658
|
-
},
|
|
1658
|
+
}, Ai = function(r) {
|
|
1659
1659
|
var t = r.cache, i = r.serialized, a = r.isStringTag;
|
|
1660
1660
|
return Ct(t, i, a), Mi(function() {
|
|
1661
1661
|
return fi(t, i, a);
|
|
1662
1662
|
}), null;
|
|
1663
|
-
},
|
|
1663
|
+
}, Ti = /* @__PURE__ */ Ri(
|
|
1664
1664
|
/* <any, any> */
|
|
1665
1665
|
function(e, r, t) {
|
|
1666
1666
|
var i = e.css;
|
|
1667
1667
|
typeof i == "string" && r.registered[i] !== void 0 && (i = r.registered[i]);
|
|
1668
1668
|
var a = e[tr], o = [i], l = "";
|
|
1669
1669
|
typeof e.className == "string" ? l = ui(r.registered, o, e.className) : e.className != null && (l = e.className + " ");
|
|
1670
|
-
var c = mi(o, void 0,
|
|
1670
|
+
var c = mi(o, void 0, Ae.useContext(ki));
|
|
1671
1671
|
l += r.key + "-" + c.name;
|
|
1672
1672
|
var d = {};
|
|
1673
1673
|
for (var u in e)
|
|
1674
1674
|
H1.call(e, u) && u !== "css" && u !== tr && !Si && (d[u] = e[u]);
|
|
1675
|
-
return d.className = l, t && (d.ref = t), /* @__PURE__ */
|
|
1675
|
+
return d.className = l, t && (d.ref = t), /* @__PURE__ */ Ae.createElement(Ae.Fragment, null, /* @__PURE__ */ Ae.createElement(Ai, {
|
|
1676
1676
|
cache: r,
|
|
1677
1677
|
serialized: c,
|
|
1678
1678
|
isStringTag: typeof a == "string"
|
|
1679
|
-
}), /* @__PURE__ */
|
|
1679
|
+
}), /* @__PURE__ */ Ae.createElement(a, d));
|
|
1680
1680
|
}
|
|
1681
|
-
), vt =
|
|
1681
|
+
), vt = Ti, Me = l1.Fragment;
|
|
1682
1682
|
function n(e, r, t) {
|
|
1683
1683
|
return H1.call(r, "css") ? l1.jsx(vt, yt(e, r), t) : l1.jsx(e, r, t);
|
|
1684
1684
|
}
|
|
1685
|
-
function
|
|
1685
|
+
function w(e, r, t) {
|
|
1686
1686
|
return H1.call(r, "css") ? l1.jsxs(vt, yt(e, r), t) : l1.jsxs(e, r, t);
|
|
1687
1687
|
}
|
|
1688
1688
|
const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = () => {
|
|
@@ -1735,8 +1735,8 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
1735
1735
|
getTextColor: r
|
|
1736
1736
|
};
|
|
1737
1737
|
}, $i = ({ colorShape: e, shapeBackgroundColor: r, color: t, height: i, width: a, withoutText: o, mode: l, sx: c, variant: d = "default", component: u = "img" }, f) => {
|
|
1738
|
-
const [x, b] = ie(""), { palette: g } = be(), { getTextColor: R, getImageModule: y, getSize: h, getShapeColor:
|
|
1739
|
-
if (
|
|
1738
|
+
const [x, b] = ie(""), { palette: g } = be(), { getTextColor: R, getImageModule: y, getSize: h, getShapeColor: m, getShapeBackgroundColor: S } = Vi(), { height: v, width: M } = h({ height: i, variant: d, width: a, withoutText: o }), p = R(t), _ = m(e), A = S(r);
|
|
1739
|
+
if (A1(() => {
|
|
1740
1740
|
u !== "svg" && (async () => {
|
|
1741
1741
|
const $ = await y(d, l || g.mode, o);
|
|
1742
1742
|
b($.default);
|
|
@@ -1770,14 +1770,14 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
1770
1770
|
);
|
|
1771
1771
|
if (o) {
|
|
1772
1772
|
const $ = e || g.primary.main;
|
|
1773
|
-
return /* @__PURE__ */
|
|
1773
|
+
return /* @__PURE__ */ w(H, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: v, width: M, ...c }, children: [
|
|
1774
1774
|
/* @__PURE__ */ n("path", { d: "M17 0V15H32C32 6.71026 25.2897 0 17 0Z", fill: $ }),
|
|
1775
1775
|
/* @__PURE__ */ n("path", { d: "M0 0V15H15C15 6.71026 8.27968 0 0 0Z", fill: $ }),
|
|
1776
1776
|
/* @__PURE__ */ n("path", { d: "M14.9955 16C14.9955 16 15.0056 16 14.9955 16V32H0C0 23.1576 6.71832 16 14.9955 16Z", fill: $ }),
|
|
1777
1777
|
/* @__PURE__ */ n("path", { d: "M32 16V32H17C17 23.1576 23.7103 16 32 16Z", fill: $ })
|
|
1778
1778
|
] });
|
|
1779
1779
|
}
|
|
1780
|
-
return d === "pricing" ? /* @__PURE__ */
|
|
1780
|
+
return d === "pricing" ? /* @__PURE__ */ w(
|
|
1781
1781
|
H,
|
|
1782
1782
|
{
|
|
1783
1783
|
component: "svg",
|
|
@@ -1786,7 +1786,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
1786
1786
|
sx: { height: v, width: M, ...c },
|
|
1787
1787
|
ref: f,
|
|
1788
1788
|
children: [
|
|
1789
|
-
/* @__PURE__ */
|
|
1789
|
+
/* @__PURE__ */ w("g", { clipPath: "url(#clip0_12018_69701)", children: [
|
|
1790
1790
|
/* @__PURE__ */ n(
|
|
1791
1791
|
"path",
|
|
1792
1792
|
{
|
|
@@ -1878,7 +1878,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
1878
1878
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_12018_69701", children: /* @__PURE__ */ n("rect", { width: "147", height: "44", fill: "white" }) }) })
|
|
1879
1879
|
]
|
|
1880
1880
|
}
|
|
1881
|
-
) : d === "supplier" ? /* @__PURE__ */
|
|
1881
|
+
) : d === "supplier" ? /* @__PURE__ */ w(
|
|
1882
1882
|
H,
|
|
1883
1883
|
{
|
|
1884
1884
|
component: "svg",
|
|
@@ -1891,10 +1891,10 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
1891
1891
|
"path",
|
|
1892
1892
|
{
|
|
1893
1893
|
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",
|
|
1894
|
-
fill:
|
|
1894
|
+
fill: A
|
|
1895
1895
|
}
|
|
1896
1896
|
),
|
|
1897
|
-
/* @__PURE__ */
|
|
1897
|
+
/* @__PURE__ */ w("g", { clipPath: "url(#clip0_14141_226706)", children: [
|
|
1898
1898
|
/* @__PURE__ */ n("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill: _ }),
|
|
1899
1899
|
/* @__PURE__ */ n("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill: _ }),
|
|
1900
1900
|
/* @__PURE__ */ n(
|
|
@@ -1992,7 +1992,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
1992
1992
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_14141_226706", children: /* @__PURE__ */ n("rect", { width: "16", height: "16", fill: "white", transform: "translate(4 4)" }) }) })
|
|
1993
1993
|
]
|
|
1994
1994
|
}
|
|
1995
|
-
) : /* @__PURE__ */
|
|
1995
|
+
) : /* @__PURE__ */ w(
|
|
1996
1996
|
H,
|
|
1997
1997
|
{
|
|
1998
1998
|
component: "svg",
|
|
@@ -2005,10 +2005,10 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2005
2005
|
"path",
|
|
2006
2006
|
{
|
|
2007
2007
|
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",
|
|
2008
|
-
fill:
|
|
2008
|
+
fill: A
|
|
2009
2009
|
}
|
|
2010
2010
|
),
|
|
2011
|
-
/* @__PURE__ */
|
|
2011
|
+
/* @__PURE__ */ w("g", { clipPath: "url(#clip0_14141_226601)", children: [
|
|
2012
2012
|
/* @__PURE__ */ n("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill: _ }),
|
|
2013
2013
|
/* @__PURE__ */ n("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill: _ }),
|
|
2014
2014
|
/* @__PURE__ */ n(
|
|
@@ -2122,7 +2122,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2122
2122
|
}
|
|
2123
2123
|
), Na = ue(Pi), Bi = ({ className: e, style: r, minRows: t = 4, ...i }, a) => {
|
|
2124
2124
|
const { palette: o, shape: l, spacing: c } = be();
|
|
2125
|
-
return /* @__PURE__ */
|
|
2125
|
+
return /* @__PURE__ */ w(Me, { children: [
|
|
2126
2126
|
/* @__PURE__ */ n(
|
|
2127
2127
|
i1,
|
|
2128
2128
|
{
|
|
@@ -2166,11 +2166,11 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2166
2166
|
},
|
|
2167
2167
|
autoComplete: "off",
|
|
2168
2168
|
InputProps: {
|
|
2169
|
-
endAdornment: /* @__PURE__ */ n(a1, { position: "end", children: /* @__PURE__ */ n(
|
|
2169
|
+
endAdornment: /* @__PURE__ */ n(a1, { position: "end", children: /* @__PURE__ */ n(Te, { disabled: r === a, onClick: () => {
|
|
2170
2170
|
const x = Number(r) + 1;
|
|
2171
2171
|
t == null || t(x <= a ? x : Number(r));
|
|
2172
2172
|
}, size: "small", "aria-label": "increment", children: /* @__PURE__ */ n(we, { 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" }) }) }) }),
|
|
2173
|
-
startAdornment: /* @__PURE__ */ n(a1, { position: "start", children: /* @__PURE__ */ n(
|
|
2173
|
+
startAdornment: /* @__PURE__ */ n(a1, { position: "start", children: /* @__PURE__ */ n(Te, { onClick: () => {
|
|
2174
2174
|
const x = Number(r) - 1;
|
|
2175
2175
|
t == null || t(x >= i ? x : Number(r));
|
|
2176
2176
|
}, disabled: r === i || r === 0, size: "small", "aria-label": "decrement", children: /* @__PURE__ */ n(we, { 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" }) }) }) }),
|
|
@@ -2202,7 +2202,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2202
2202
|
background: i,
|
|
2203
2203
|
borderBottom: ({ palette: o }) => `1px solid ${o.mode === "dark" ? o.divider : i}`
|
|
2204
2204
|
},
|
|
2205
|
-
children: /* @__PURE__ */ n(en, { component: j, direction: "row", spacing: 3, height: "100%", justifyContent: "space-between", children: /* @__PURE__ */ n(
|
|
2205
|
+
children: /* @__PURE__ */ n(en, { component: j, direction: "row", spacing: 3, height: "100%", justifyContent: "space-between", children: /* @__PURE__ */ n(Te, { onClick: e, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(mt, {}) }) })
|
|
2206
2206
|
}
|
|
2207
2207
|
);
|
|
2208
2208
|
}, gr = ({ sx: e, color: r = "currentColor" }) => /* @__PURE__ */ n(
|
|
@@ -2286,8 +2286,8 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2286
2286
|
Footer: f,
|
|
2287
2287
|
Search: x = r.Logo,
|
|
2288
2288
|
Logo: b = r.Logo
|
|
2289
|
-
} = _e(je), { palette: g } = be(), R = g.mode === "dark" ? g.background.default : g.primary.black, y = a && l ? "none" : `solid 1px ${g.divider}`,
|
|
2290
|
-
return /* @__PURE__ */
|
|
2289
|
+
} = _e(je), { palette: g } = be(), R = g.mode === "dark" ? g.background.default : g.primary.black, y = a && l ? "none" : `solid 1px ${g.divider}`, m = t ? !(!a && !o) : !0;
|
|
2290
|
+
return /* @__PURE__ */ w(
|
|
2291
2291
|
H,
|
|
2292
2292
|
{
|
|
2293
2293
|
sx: {
|
|
@@ -2298,7 +2298,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2298
2298
|
},
|
|
2299
2299
|
component: "aside",
|
|
2300
2300
|
children: [
|
|
2301
|
-
b && /* @__PURE__ */
|
|
2301
|
+
b && /* @__PURE__ */ w(
|
|
2302
2302
|
j,
|
|
2303
2303
|
{
|
|
2304
2304
|
sx: {
|
|
@@ -2325,13 +2325,13 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2325
2325
|
children: b
|
|
2326
2326
|
}
|
|
2327
2327
|
),
|
|
2328
|
-
a && /* @__PURE__ */ n(
|
|
2328
|
+
a && /* @__PURE__ */ n(Te, { onClick: i, children: /* @__PURE__ */ n(gr, { color: g.getContrastText(R) }) })
|
|
2329
2329
|
]
|
|
2330
2330
|
}
|
|
2331
2331
|
),
|
|
2332
|
-
x &&
|
|
2332
|
+
x && m && /* @__PURE__ */ n(H, { p: 2, children: x }),
|
|
2333
2333
|
/* @__PURE__ */ n(H, { flex: 1, children: e }),
|
|
2334
|
-
d && /* @__PURE__ */ n(H, { sx: r1.bottomLink, children: /* @__PURE__ */ n(Cr, { component: u, ...d, children: /* @__PURE__ */
|
|
2334
|
+
d && /* @__PURE__ */ n(H, { sx: r1.bottomLink, children: /* @__PURE__ */ n(Cr, { component: u, ...d, children: /* @__PURE__ */ w(j, { alignItems: "center", justifyContent: "center", spacing: 1, direction: "row", children: [
|
|
2335
2335
|
(d == null ? void 0 : d.icon) && /* @__PURE__ */ n(H, { component: "span", display: "flex", children: d == null ? void 0 : d.icon }),
|
|
2336
2336
|
(d == null ? void 0 : d.label) && /* @__PURE__ */ n(H, { component: "span", display: "flex", children: d == null ? void 0 : d.label })
|
|
2337
2337
|
] }) }) }),
|
|
@@ -2387,13 +2387,13 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2387
2387
|
const o = !(a && typeof a == "object" && "hideOnMobile" in a && i && a.hideOnMobile), l = !(a && typeof a == "object" && "hasAccess" in a && !a.hasAccess);
|
|
2388
2388
|
return o && l;
|
|
2389
2389
|
}).map((a, o) => {
|
|
2390
|
-
if (
|
|
2390
|
+
if (T1(a))
|
|
2391
2391
|
return a;
|
|
2392
2392
|
if (a && typeof a == "object" && "label" in a) {
|
|
2393
2393
|
const { count: l, url: c, label: d, icon: u, active: f, disabled: x } = a, b = `${c}-${d}-${o}`;
|
|
2394
|
-
return /* @__PURE__ */ n(Le, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ n(Cr, { url: c, component: t, active: f, disabled: x, children: /* @__PURE__ */
|
|
2394
|
+
return /* @__PURE__ */ n(Le, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ n(Cr, { url: c, component: t, active: f, disabled: x, children: /* @__PURE__ */ w(j, { direction: "row", component: "span", spacing: 1.5, width: "100%", alignItems: "center", children: [
|
|
2395
2395
|
u && /* @__PURE__ */ n(H, { component: "span", display: "flex", alignItems: "center", children: u }),
|
|
2396
|
-
/* @__PURE__ */
|
|
2396
|
+
/* @__PURE__ */ w(j, { direction: "row", justifyContent: "space-between", flex: 1, children: [
|
|
2397
2397
|
d,
|
|
2398
2398
|
l && /* @__PURE__ */ n(o1, { color: "warning", size: "small", label: l, variant: "rounded" })
|
|
2399
2399
|
] })
|
|
@@ -2411,7 +2411,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2411
2411
|
}
|
|
2412
2412
|
}, je = k1(wt), Ni = () => {
|
|
2413
2413
|
const { items: e, disableResponsive: r, isMobile: t, isTablet: i, isDrawerOpen: a, closeDrawerMenu: o, sideBarWidth: l, openDrawerMenu: c } = _e(je);
|
|
2414
|
-
return (t || i) && !r ? /* @__PURE__ */
|
|
2414
|
+
return (t || i) && !r ? /* @__PURE__ */ w(Me, { children: [
|
|
2415
2415
|
/* @__PURE__ */ n(Zi, {}),
|
|
2416
2416
|
/* @__PURE__ */ n(rn, { anchor: "left", open: a, onClose: o, onOpen: c, children: /* @__PURE__ */ n(Wr, { children: /* @__PURE__ */ n(jr, { items: e }) }) })
|
|
2417
2417
|
] }) : /* @__PURE__ */ n(Wr, { width: l, children: /* @__PURE__ */ n(jr, { items: e }) });
|
|
@@ -2430,7 +2430,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2430
2430
|
}) => {
|
|
2431
2431
|
const { breakpoints: x } = be(), b = s1(x.down("sm")), g = s1(x.between("sm", "md")), [R, y] = ie(wt.isDrawerOpen), h = pe(() => {
|
|
2432
2432
|
y(!1);
|
|
2433
|
-
}, []),
|
|
2433
|
+
}, []), m = pe(() => {
|
|
2434
2434
|
y(!0);
|
|
2435
2435
|
}, []), S = _1(
|
|
2436
2436
|
() => ({
|
|
@@ -2447,7 +2447,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2447
2447
|
items: o,
|
|
2448
2448
|
Logo: i,
|
|
2449
2449
|
NavLink: r,
|
|
2450
|
-
openDrawerMenu:
|
|
2450
|
+
openDrawerMenu: m,
|
|
2451
2451
|
Search: t,
|
|
2452
2452
|
sideBarWidth: f
|
|
2453
2453
|
}),
|
|
@@ -2458,7 +2458,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2458
2458
|
b,
|
|
2459
2459
|
g,
|
|
2460
2460
|
o,
|
|
2461
|
-
|
|
2461
|
+
m,
|
|
2462
2462
|
f,
|
|
2463
2463
|
i,
|
|
2464
2464
|
r,
|
|
@@ -2502,7 +2502,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2502
2502
|
), Ua = at(ue(Gi)), Xi = ["warning", "info", "success", "error", "primary", "secondary"], qi = (e) => Xi.includes(e), Ki = ({ color: e, sx: r, variant: t = "filled", fontSize: i = "medium" }, a) => {
|
|
2503
2503
|
var f;
|
|
2504
2504
|
const { palette: o } = be(), l = o.mode === "dark" ? o.text.disabled : o.grey[400], c = e || l, d = qi(e) ? (f = o == null ? void 0 : o[e]) == null ? void 0 : f.main : c, u = Ee(d, 0.2);
|
|
2505
|
-
return /* @__PURE__ */
|
|
2505
|
+
return /* @__PURE__ */ w(
|
|
2506
2506
|
we,
|
|
2507
2507
|
{
|
|
2508
2508
|
viewBox: "0 0 16 16",
|
|
@@ -2554,13 +2554,13 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2554
2554
|
endIcon: l
|
|
2555
2555
|
}) => {
|
|
2556
2556
|
const c = o || l;
|
|
2557
|
-
return r && i ? /* @__PURE__ */
|
|
2557
|
+
return r && i ? /* @__PURE__ */ w(j, { direction: i === "start" ? "row" : "row-reverse", alignItems: "center", children: [
|
|
2558
2558
|
/* @__PURE__ */ n(S1, { size: a, position: "relative", loadingPosition: i }),
|
|
2559
2559
|
/* @__PURE__ */ n(H, { component: "span", children: e })
|
|
2560
|
-
] }) : r && !t && !c ? /* @__PURE__ */
|
|
2560
|
+
] }) : r && !t && !c ? /* @__PURE__ */ w(Me, { children: [
|
|
2561
2561
|
r && !t && /* @__PURE__ */ n(S1, { size: a }),
|
|
2562
2562
|
/* @__PURE__ */ n(H, { component: "span", sx: { opacity: 0 }, children: e })
|
|
2563
|
-
] }) : r && t ? /* @__PURE__ */
|
|
2563
|
+
] }) : r && t ? /* @__PURE__ */ w(Me, { children: [
|
|
2564
2564
|
" ",
|
|
2565
2565
|
t,
|
|
2566
2566
|
" "
|
|
@@ -2610,9 +2610,9 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2610
2610
|
}, d = (u, f) => (u && (t == null || t(u, f), l(!1)), (x) => {
|
|
2611
2611
|
t == null || t(x, f), l(!1);
|
|
2612
2612
|
});
|
|
2613
|
-
return /* @__PURE__ */ n(tn, { open: r, onClose: d, ...a, children: /* @__PURE__ */
|
|
2613
|
+
return /* @__PURE__ */ n(tn, { open: r, onClose: d, ...a, children: /* @__PURE__ */ w(H, { sx: { "&:focus": { outline: "none" }, inset: 0, position: "absolute" }, children: [
|
|
2614
2614
|
/* @__PURE__ */ n(
|
|
2615
|
-
|
|
2615
|
+
Te,
|
|
2616
2616
|
{
|
|
2617
2617
|
size: "small",
|
|
2618
2618
|
"aria-label": "close",
|
|
@@ -2650,7 +2650,7 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2650
2650
|
)
|
|
2651
2651
|
] }) });
|
|
2652
2652
|
}, ra = ({ onClick: e }) => /* @__PURE__ */ n(
|
|
2653
|
-
|
|
2653
|
+
Te,
|
|
2654
2654
|
{
|
|
2655
2655
|
"aria-label": "close",
|
|
2656
2656
|
onClick: e,
|
|
@@ -2722,36 +2722,50 @@ const Nr = 32, _i = 24, Li = 105, Ii = 24, Fi = 195, Hi = 44, Oi = 147, Vi = ()
|
|
|
2722
2722
|
}, Mt = ue(
|
|
2723
2723
|
({ secondarySrc: e, secondaryAvatarProps: r, size: t, ...i }, a) => {
|
|
2724
2724
|
if (e || r) {
|
|
2725
|
-
const { height: o, width: l } = ia(i.sx, t);
|
|
2726
|
-
return /* @__PURE__ */
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
{
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2725
|
+
const { height: o, width: l } = ia(i == null ? void 0 : i.sx, t), { sx: c, ...d } = r || {};
|
|
2726
|
+
return /* @__PURE__ */ w(
|
|
2727
|
+
H,
|
|
2728
|
+
{
|
|
2729
|
+
sx: {
|
|
2730
|
+
display: "flex",
|
|
2731
|
+
height: o,
|
|
2732
|
+
position: "relative",
|
|
2733
|
+
width: l
|
|
2734
|
+
},
|
|
2735
|
+
children: [
|
|
2736
|
+
/* @__PURE__ */ n(
|
|
2737
|
+
He,
|
|
2738
|
+
{
|
|
2739
|
+
ref: a,
|
|
2740
|
+
...i,
|
|
2741
|
+
sx: {
|
|
2742
|
+
...t && {
|
|
2743
|
+
height: le[t].primary,
|
|
2744
|
+
width: le[t].primary
|
|
2745
|
+
},
|
|
2746
|
+
...i.sx
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
),
|
|
2750
|
+
/* @__PURE__ */ n(
|
|
2751
|
+
He,
|
|
2752
|
+
{
|
|
2753
|
+
src: e,
|
|
2754
|
+
sx: {
|
|
2755
|
+
height: o,
|
|
2756
|
+
left: "70%",
|
|
2757
|
+
outline: ({ palette: u }) => `2px solid ${u.common.white}`,
|
|
2758
|
+
position: "absolute",
|
|
2759
|
+
top: "70%",
|
|
2760
|
+
width: l,
|
|
2761
|
+
...c
|
|
2762
|
+
},
|
|
2763
|
+
...d
|
|
2764
|
+
}
|
|
2765
|
+
)
|
|
2766
|
+
]
|
|
2767
|
+
}
|
|
2768
|
+
);
|
|
2755
2769
|
}
|
|
2756
2770
|
return /* @__PURE__ */ n(
|
|
2757
2771
|
He,
|
|
@@ -2780,8 +2794,8 @@ const aa = (e, r, t) => {
|
|
|
2780
2794
|
height: l = 64,
|
|
2781
2795
|
alt: c = "Article"
|
|
2782
2796
|
}) => {
|
|
2783
|
-
const [d, u] = ie(), [f, x] = ie(), { shape: b } = be(), { borderRadius: g, padding: R } = aa(o, l, b), y = { borderRadius: g, flexShrink: 0 }, h = e && !d && !f,
|
|
2784
|
-
return /* @__PURE__ */ n(Me, { children: /* @__PURE__ */
|
|
2797
|
+
const [d, u] = ie(), [f, x] = ie(), { shape: b } = be(), { borderRadius: g, padding: R } = aa(o, l, b), y = { borderRadius: g, flexShrink: 0 }, h = e && !d && !f, m = !e || f && !d || f && d;
|
|
2798
|
+
return /* @__PURE__ */ n(Me, { children: /* @__PURE__ */ w(
|
|
2785
2799
|
Mt,
|
|
2786
2800
|
{
|
|
2787
2801
|
src: e,
|
|
@@ -2794,15 +2808,15 @@ const aa = (e, r, t) => {
|
|
|
2794
2808
|
},
|
|
2795
2809
|
sx: {
|
|
2796
2810
|
...y,
|
|
2797
|
-
background: ({ palette: v }) => v.background.paper,
|
|
2811
|
+
background: ({ palette: v }) => m ? v.background.paper : void 0,
|
|
2798
2812
|
height: l,
|
|
2799
|
-
padding:
|
|
2813
|
+
padding: m ? R : 0,
|
|
2800
2814
|
width: o,
|
|
2801
2815
|
...a
|
|
2802
2816
|
},
|
|
2803
2817
|
children: [
|
|
2804
2818
|
(r || h) && /* @__PURE__ */ n(oa, { width: o, height: l, sx: y }),
|
|
2805
|
-
|
|
2819
|
+
m && /* @__PURE__ */ w("svg", { width: "100%", height: "100%", viewBox: "0 0 39 38", fill: "none", children: [
|
|
2806
2820
|
/* @__PURE__ */ n(
|
|
2807
2821
|
"path",
|
|
2808
2822
|
{
|
|
@@ -2891,19 +2905,19 @@ const aa = (e, r, t) => {
|
|
|
2891
2905
|
onClickThumb: R,
|
|
2892
2906
|
variant: y
|
|
2893
2907
|
}) => {
|
|
2894
|
-
const [h,
|
|
2895
|
-
|
|
2908
|
+
const [h, m] = ie(!1), [S, v] = ie(!1), M = e == null ? void 0 : e.toLowerCase(), p = !(M != null && M.endsWith(".pdf")) && !(M != null && M.startsWith("blob:")), _ = M == null ? void 0 : M.endsWith(".pdf"), A = E1(null), $ = S ? sa : r || e, I = f ? 1 : 0.8, K = () => {
|
|
2909
|
+
m((Y) => !Y);
|
|
2896
2910
|
}, oe = () => {
|
|
2897
|
-
|
|
2911
|
+
m(!1), g == null || g();
|
|
2898
2912
|
}, ne = pe(() => {
|
|
2899
2913
|
v(!0);
|
|
2900
2914
|
}, []);
|
|
2901
|
-
return
|
|
2902
|
-
const Y =
|
|
2915
|
+
return A1(() => {
|
|
2916
|
+
const Y = A.current;
|
|
2903
2917
|
return Y == null || Y.addEventListener("error", ne), () => {
|
|
2904
2918
|
Y == null || Y.removeEventListener("error", ne);
|
|
2905
2919
|
};
|
|
2906
|
-
}, [ne,
|
|
2920
|
+
}, [ne, A]), /* @__PURE__ */ w(Me, { children: [
|
|
2907
2921
|
!x && !i && /* @__PURE__ */ n(
|
|
2908
2922
|
H,
|
|
2909
2923
|
{
|
|
@@ -2930,7 +2944,7 @@ const aa = (e, r, t) => {
|
|
|
2930
2944
|
height: p ? "100%" : "auto",
|
|
2931
2945
|
width: "100%",
|
|
2932
2946
|
src: $ || void 0,
|
|
2933
|
-
ref:
|
|
2947
|
+
ref: A,
|
|
2934
2948
|
sx: g1.thumb
|
|
2935
2949
|
},
|
|
2936
2950
|
$
|
|
@@ -2978,10 +2992,10 @@ const aa = (e, r, t) => {
|
|
|
2978
2992
|
Collapse: b
|
|
2979
2993
|
}) => {
|
|
2980
2994
|
const [g, R] = ie(!1), y = b || !!(c != null && c.length);
|
|
2981
|
-
return
|
|
2995
|
+
return A1(() => {
|
|
2982
2996
|
d && R(!0);
|
|
2983
|
-
}, [d]), /* @__PURE__ */
|
|
2984
|
-
/* @__PURE__ */ n(H, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ n(j, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */
|
|
2997
|
+
}, [d]), /* @__PURE__ */ w(j, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
|
|
2998
|
+
/* @__PURE__ */ n(H, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ n(j, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */ w(Me, { children: [
|
|
2985
2999
|
f || /* @__PURE__ */ n(v1, { color: i ? "secondary" : "primary" }),
|
|
2986
3000
|
/* @__PURE__ */ n(H, { sx: { flex: 1 }, children: !t && /* @__PURE__ */ n(
|
|
2987
3001
|
tt,
|
|
@@ -2996,7 +3010,7 @@ const aa = (e, r, t) => {
|
|
|
2996
3010
|
}
|
|
2997
3011
|
) })
|
|
2998
3012
|
] }) }) }),
|
|
2999
|
-
/* @__PURE__ */
|
|
3013
|
+
/* @__PURE__ */ w(
|
|
3000
3014
|
j,
|
|
3001
3015
|
{
|
|
3002
3016
|
flex: 1,
|
|
@@ -3013,9 +3027,9 @@ const aa = (e, r, t) => {
|
|
|
3013
3027
|
padding: 1.5
|
|
3014
3028
|
},
|
|
3015
3029
|
children: [
|
|
3016
|
-
/* @__PURE__ */
|
|
3017
|
-
/* @__PURE__ */
|
|
3018
|
-
/* @__PURE__ */
|
|
3030
|
+
/* @__PURE__ */ w(j, { spacing: 1, justifyContent: "space-between", direction: "row", children: [
|
|
3031
|
+
/* @__PURE__ */ w(H, { children: [
|
|
3032
|
+
/* @__PURE__ */ w(
|
|
3019
3033
|
j,
|
|
3020
3034
|
{
|
|
3021
3035
|
direction: "row",
|
|
@@ -3066,13 +3080,13 @@ const aa = (e, r, t) => {
|
|
|
3066
3080
|
] }),
|
|
3067
3081
|
x,
|
|
3068
3082
|
b && /* @__PURE__ */ n(Lr, { in: g, children: b }),
|
|
3069
|
-
!!(c != null && c.length) && /* @__PURE__ */ n(Lr, { in: g, children: /* @__PURE__ */ n(j, { marginTop: 3, spacing: 3, children: c == null ? void 0 : c.map((h,
|
|
3070
|
-
var M, p, _,
|
|
3071
|
-
const S = `${h.title}-${
|
|
3072
|
-
return /* @__PURE__ */
|
|
3083
|
+
!!(c != null && c.length) && /* @__PURE__ */ n(Lr, { in: g, children: /* @__PURE__ */ n(j, { marginTop: 3, spacing: 3, children: c == null ? void 0 : c.map((h, m) => {
|
|
3084
|
+
var M, p, _, A;
|
|
3085
|
+
const S = `${h.title}-${m}`, v = Array.isArray(h == null ? void 0 : h.file) ? h == null ? void 0 : h.file[0] : h == null ? void 0 : h.file;
|
|
3086
|
+
return /* @__PURE__ */ w(j, { direction: "row", spacing: 1, minWidth: 0, children: [
|
|
3073
3087
|
/* @__PURE__ */ n(la, { sx: { height: 18, paddingTop: 0.5, width: 18 } }),
|
|
3074
|
-
/* @__PURE__ */
|
|
3075
|
-
/* @__PURE__ */
|
|
3088
|
+
/* @__PURE__ */ w(j, { minWidth: 0, children: [
|
|
3089
|
+
/* @__PURE__ */ w(j, { direction: "row", alignItems: "center", spacing: 1, overflow: "hidden", children: [
|
|
3076
3090
|
(h == null ? void 0 : h.title) && /* @__PURE__ */ n(
|
|
3077
3091
|
Ir,
|
|
3078
3092
|
{
|
|
@@ -3112,7 +3126,7 @@ const aa = (e, r, t) => {
|
|
|
3112
3126
|
children: h == null ? void 0 : h.subtitle
|
|
3113
3127
|
}
|
|
3114
3128
|
) }),
|
|
3115
|
-
(h == null ? void 0 : h.file) && /* @__PURE__ */
|
|
3129
|
+
(h == null ? void 0 : h.file) && /* @__PURE__ */ w(j, { direction: "row", marginTop: 1, spacing: 0.5, children: [
|
|
3116
3130
|
v && /* @__PURE__ */ n(
|
|
3117
3131
|
nr,
|
|
3118
3132
|
{
|
|
@@ -3137,7 +3151,7 @@ const aa = (e, r, t) => {
|
|
|
3137
3151
|
justifyContent: "center",
|
|
3138
3152
|
width: C1
|
|
3139
3153
|
},
|
|
3140
|
-
children: `${(((
|
|
3154
|
+
children: `${(((A = h == null ? void 0 : h.file) == null ? void 0 : A.length) || 0) - 1}+`
|
|
3141
3155
|
}
|
|
3142
3156
|
)
|
|
3143
3157
|
] })
|
|
@@ -3174,32 +3188,32 @@ const aa = (e, r, t) => {
|
|
|
3174
3188
|
"data-testid": l
|
|
3175
3189
|
}) => {
|
|
3176
3190
|
const [c, d] = ie("");
|
|
3177
|
-
return r ? /* @__PURE__ */ n(Y1, { sx: i, "data-test": o, "data-testid": l, children: /* @__PURE__ */
|
|
3178
|
-
/* @__PURE__ */
|
|
3191
|
+
return r ? /* @__PURE__ */ n(Y1, { sx: i, "data-test": o, "data-testid": l, children: /* @__PURE__ */ w(j, { spacing: 3, children: [
|
|
3192
|
+
/* @__PURE__ */ w(j, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
|
|
3179
3193
|
/* @__PURE__ */ n(v1, {}),
|
|
3180
|
-
/* @__PURE__ */
|
|
3194
|
+
/* @__PURE__ */ w(j, { children: [
|
|
3181
3195
|
/* @__PURE__ */ n(X, { children: /* @__PURE__ */ n(Ce, { width: 100 }) }),
|
|
3182
3196
|
/* @__PURE__ */ n(X, { variant: "body2", children: /* @__PURE__ */ n(Ce, { width: 130 }) })
|
|
3183
3197
|
] })
|
|
3184
3198
|
] }),
|
|
3185
|
-
/* @__PURE__ */
|
|
3199
|
+
/* @__PURE__ */ w(j, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
|
|
3186
3200
|
/* @__PURE__ */ n(v1, {}),
|
|
3187
|
-
/* @__PURE__ */
|
|
3201
|
+
/* @__PURE__ */ w(j, { children: [
|
|
3188
3202
|
/* @__PURE__ */ n(X, { children: /* @__PURE__ */ n(Ce, { width: 150 }) }),
|
|
3189
3203
|
/* @__PURE__ */ n(X, { variant: "body2", children: /* @__PURE__ */ n(Ce, { width: 100, height: 20 }) })
|
|
3190
3204
|
] })
|
|
3191
3205
|
] }),
|
|
3192
|
-
/* @__PURE__ */
|
|
3206
|
+
/* @__PURE__ */ w(j, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
|
|
3193
3207
|
/* @__PURE__ */ n(v1, {}),
|
|
3194
|
-
/* @__PURE__ */
|
|
3208
|
+
/* @__PURE__ */ w(j, { children: [
|
|
3195
3209
|
/* @__PURE__ */ n(X, { children: /* @__PURE__ */ n(Ce, { width: 80 }) }),
|
|
3196
3210
|
/* @__PURE__ */ n(X, { variant: "body2", children: /* @__PURE__ */ n(Ce, { width: 110, height: 20 }) })
|
|
3197
3211
|
] })
|
|
3198
3212
|
] })
|
|
3199
|
-
] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(Y1, { sx: i, children: /* @__PURE__ */ n(sr, { severity: "info", children: t }) }) : /* @__PURE__ */
|
|
3213
|
+
] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(Y1, { sx: i, children: /* @__PURE__ */ n(sr, { severity: "info", children: t }) }) : /* @__PURE__ */ w(Me, { children: [
|
|
3200
3214
|
/* @__PURE__ */ n(Y1, { sx: i, "data-test": o, "data-testid": l, children: e == null ? void 0 : e.map(
|
|
3201
|
-
({ Action: u, Collapse: f, collapseItems: x, collapseDefaultOpen: b, subtitle: g, key: R, active: y, Footer: h, Icon:
|
|
3202
|
-
const _ = `${R}-${p}-${M}`,
|
|
3215
|
+
({ Action: u, Collapse: f, collapseItems: x, collapseDefaultOpen: b, subtitle: g, key: R, active: y, Footer: h, Icon: m, onClick: S, tag: v, title: M }, p) => {
|
|
3216
|
+
const _ = `${R}-${p}-${M}`, A = p === e.length - 1;
|
|
3203
3217
|
return /* @__PURE__ */ n(
|
|
3204
3218
|
da,
|
|
3205
3219
|
{
|
|
@@ -3211,8 +3225,8 @@ const aa = (e, r, t) => {
|
|
|
3211
3225
|
active: y,
|
|
3212
3226
|
title: M,
|
|
3213
3227
|
subtitle: g,
|
|
3214
|
-
Icon:
|
|
3215
|
-
isLastElement:
|
|
3228
|
+
Icon: m,
|
|
3229
|
+
isLastElement: A,
|
|
3216
3230
|
onClick: S,
|
|
3217
3231
|
tag: v,
|
|
3218
3232
|
variant: a
|
|
@@ -3225,9 +3239,9 @@ const aa = (e, r, t) => {
|
|
|
3225
3239
|
] });
|
|
3226
3240
|
}, Ja = ({ Main: e, Sidebar: r, AppBar: t }) => {
|
|
3227
3241
|
const { breakpoints: i } = be(), a = E1(null), o = s1(i.down("md")), l = r && pr(r, { AppBar: t });
|
|
3228
|
-
return /* @__PURE__ */
|
|
3242
|
+
return /* @__PURE__ */ w(j, { height: "100%", children: [
|
|
3229
3243
|
!o && t,
|
|
3230
|
-
/* @__PURE__ */
|
|
3244
|
+
/* @__PURE__ */ w(j, { height: "100%", direction: o ? "column" : "row", minHeight: 0, children: [
|
|
3231
3245
|
l,
|
|
3232
3246
|
/* @__PURE__ */ n(
|
|
3233
3247
|
H,
|
|
@@ -3574,8 +3588,8 @@ const aa = (e, r, t) => {
|
|
|
3574
3588
|
...r,
|
|
3575
3589
|
input: {
|
|
3576
3590
|
autoComplete: "off",
|
|
3577
|
-
startAdornment: t === "search" && /* @__PURE__ */ n(a1, { position: "start", children: /* @__PURE__ */ n(we, { focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: /* @__PURE__ */
|
|
3578
|
-
/* @__PURE__ */
|
|
3591
|
+
startAdornment: t === "search" && /* @__PURE__ */ n(a1, { position: "start", children: /* @__PURE__ */ n(we, { focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: /* @__PURE__ */ w("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3592
|
+
/* @__PURE__ */ w("g", { clipPath: "url(#clip0_14432_13952)", children: [
|
|
3579
3593
|
/* @__PURE__ */ n(
|
|
3580
3594
|
"path",
|
|
3581
3595
|
{
|
|
@@ -3623,7 +3637,7 @@ const aa = (e, r, t) => {
|
|
|
3623
3637
|
position: b = "static",
|
|
3624
3638
|
elevation: g = 0
|
|
3625
3639
|
}) => {
|
|
3626
|
-
const { breakpoints: R } = be(), { closeMenu: y, isMenuOpen: h, anchorMenu:
|
|
3640
|
+
const { breakpoints: R } = be(), { closeMenu: y, isMenuOpen: h, anchorMenu: m, openMenu: S } = ha(), { menuItems: v, ...M } = o || {}, p = s1(R.down("sm")), _ = s1(R.between("sm", "md")), A = p || _, $ = {
|
|
3627
3641
|
logoContainer: {
|
|
3628
3642
|
a: {
|
|
3629
3643
|
display: "flex"
|
|
@@ -3653,15 +3667,15 @@ const aa = (e, r, t) => {
|
|
|
3653
3667
|
paddingX: p ? 1 : 3,
|
|
3654
3668
|
...x
|
|
3655
3669
|
};
|
|
3656
|
-
return u ? /* @__PURE__ */ n(U1, { position: b, elevation: g, sx: $, children: u }) : /* @__PURE__ */
|
|
3657
|
-
/* @__PURE__ */ n(U1, { position: b, elevation: g, sx: $, children: /* @__PURE__ */
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
/* @__PURE__ */
|
|
3670
|
+
return u ? /* @__PURE__ */ n(U1, { position: b, elevation: g, sx: $, children: u }) : /* @__PURE__ */ w(Me, { children: [
|
|
3671
|
+
/* @__PURE__ */ n(U1, { position: b, elevation: g, sx: $, children: /* @__PURE__ */ w(j, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
|
|
3672
|
+
A && /* @__PURE__ */ n(Te, { onClick: f, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(mt, {}) }),
|
|
3673
|
+
A || i === null ? null : /* @__PURE__ */ n(H, { sx: $.logoContainer, children: i || /* @__PURE__ */ n(Di, { mode: "dark", ...d }) }),
|
|
3674
|
+
/* @__PURE__ */ w(j, { alignItems: "center", direction: "row", justifyContent: p ? "flex-end" : "center", spacing: 1, flex: 1, children: [
|
|
3661
3675
|
p && (t === null ? null : t || /* @__PURE__ */ n(qr, { ...c })),
|
|
3662
3676
|
r === null ? null : r || /* @__PURE__ */ n(fa, { ...l })
|
|
3663
3677
|
] }),
|
|
3664
|
-
/* @__PURE__ */
|
|
3678
|
+
/* @__PURE__ */ w(j, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
3665
3679
|
!p && (t === null ? null : t || /* @__PURE__ */ n(qr, { ...c })),
|
|
3666
3680
|
e === null ? null : e || /* @__PURE__ */ n(
|
|
3667
3681
|
ua,
|
|
@@ -3682,7 +3696,7 @@ const aa = (e, r, t) => {
|
|
|
3682
3696
|
on,
|
|
3683
3697
|
{
|
|
3684
3698
|
id: ga,
|
|
3685
|
-
anchorEl:
|
|
3699
|
+
anchorEl: m,
|
|
3686
3700
|
open: h,
|
|
3687
3701
|
onClose: y,
|
|
3688
3702
|
onChange: y,
|
|
@@ -3698,7 +3712,7 @@ const aa = (e, r, t) => {
|
|
|
3698
3712
|
}
|
|
3699
3713
|
},
|
|
3700
3714
|
children: v == null ? void 0 : v.map((I, K) => {
|
|
3701
|
-
if (
|
|
3715
|
+
if (T1(I)) {
|
|
3702
3716
|
if (I.key)
|
|
3703
3717
|
return I;
|
|
3704
3718
|
const oe = `${v}-${K}`;
|
|
@@ -3706,7 +3720,7 @@ const aa = (e, r, t) => {
|
|
|
3706
3720
|
}
|
|
3707
3721
|
if (I && typeof I == "object" && "url" in I) {
|
|
3708
3722
|
const { url: oe, label: ne, icon: Y, active: Z, end: q, state: ye } = I, ve = `${oe}-${ne}-${K}`;
|
|
3709
|
-
return /* @__PURE__ */ n(sn, { sx: $.menuItem, onClick: y, children: /* @__PURE__ */
|
|
3723
|
+
return /* @__PURE__ */ n(sn, { sx: $.menuItem, onClick: y, children: /* @__PURE__ */ w(Cr, { url: oe, component: a, active: Z, end: q, state: ye, children: [
|
|
3710
3724
|
Y && /* @__PURE__ */ n(ln, { children: Y }),
|
|
3711
3725
|
ne && /* @__PURE__ */ n(Be, { children: ne })
|
|
3712
3726
|
] }, ve) }, ve);
|
|
@@ -3751,7 +3765,7 @@ const aa = (e, r, t) => {
|
|
|
3751
3765
|
...o
|
|
3752
3766
|
}
|
|
3753
3767
|
);
|
|
3754
|
-
}, eo = ue(xa), ba = ({ fontSize: e, sx: r, color: t = "currentColor" }) => /* @__PURE__ */
|
|
3768
|
+
}, eo = ue(xa), ba = ({ fontSize: e, sx: r, color: t = "currentColor" }) => /* @__PURE__ */ w(we, { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: e, sx: r, children: [
|
|
3755
3769
|
/* @__PURE__ */ n("g", { clipPath: "url(#clip0_12914_201806)", children: /* @__PURE__ */ n(
|
|
3756
3770
|
"path",
|
|
3757
3771
|
{
|
|
@@ -3811,7 +3825,7 @@ const aa = (e, r, t) => {
|
|
|
3811
3825
|
}, Kr = {
|
|
3812
3826
|
root: ({ theme: e, ownerState: r }) => {
|
|
3813
3827
|
const t = wn.toArray(r.children), i = t[t.length - 1];
|
|
3814
|
-
if (
|
|
3828
|
+
if (T1(i)) {
|
|
3815
3829
|
if (i.props.variant === "contained" || i.props.variant === "outlined")
|
|
3816
3830
|
return {
|
|
3817
3831
|
padding: e.spacing(3)
|
|
@@ -4765,13 +4779,13 @@ const aa = (e, r, t) => {
|
|
|
4765
4779
|
}) => {
|
|
4766
4780
|
var g, R;
|
|
4767
4781
|
const d = { ...Jr, ...c }, u = (d == null ? void 0 : d.googleFontName) || ((g = ir.typography.fontFamily) == null ? void 0 : g.split(",")[0]), f = (R = d == null ? void 0 : d.fontWeight) == null ? void 0 : R.join(";"), x = _1(() => ({ language: l }), [l]), b = () => {
|
|
4768
|
-
var
|
|
4782
|
+
var m, S;
|
|
4769
4783
|
const y = typeof o == "object" ? o : {}, h = {
|
|
4770
4784
|
...l === "fr" && ya
|
|
4771
4785
|
};
|
|
4772
|
-
return o === "dark" || typeof o == "object" && "palette" in o && ((
|
|
4786
|
+
return o === "dark" || typeof o == "object" && "palette" in o && ((m = o == null ? void 0 : o.palette) == null ? void 0 : m.mode) === "dark" ? Ze(Rt, y, h) : o === "light" || typeof o == "object" && "palette" in o && ((S = o == null ? void 0 : o.palette) == null ? void 0 : S.mode) === "light" ? Ze(St, y, h) : Ze(ir, y, h);
|
|
4773
4787
|
};
|
|
4774
|
-
return /* @__PURE__ */ n(kt.Provider, { value: x, children: /* @__PURE__ */
|
|
4788
|
+
return /* @__PURE__ */ n(kt.Provider, { value: x, children: /* @__PURE__ */ w(dn, { theme: b(), children: [
|
|
4775
4789
|
/* @__PURE__ */ n(
|
|
4776
4790
|
i1,
|
|
4777
4791
|
{
|
|
@@ -4808,7 +4822,7 @@ const aa = (e, r, t) => {
|
|
|
4808
4822
|
}, Ra = {
|
|
4809
4823
|
en: Ma,
|
|
4810
4824
|
fr: Sa
|
|
4811
|
-
},
|
|
4825
|
+
}, At = () => {
|
|
4812
4826
|
const { language: e } = _e(kt);
|
|
4813
4827
|
return {
|
|
4814
4828
|
t: (t) => Ra[e][t]
|
|
@@ -4816,7 +4830,7 @@ const aa = (e, r, t) => {
|
|
|
4816
4830
|
}, Qr = 5, ka = (e, r) => {
|
|
4817
4831
|
const t = r === "vertical";
|
|
4818
4832
|
return e === "small" ? t ? 130 : 60 : t ? 150 : 80;
|
|
4819
|
-
},
|
|
4833
|
+
}, Aa = (e) => {
|
|
4820
4834
|
if (!e)
|
|
4821
4835
|
return "";
|
|
4822
4836
|
const r = e.length > 1, i = [...e || []].slice(0, 5).map(({ name: a }) => {
|
|
@@ -4843,13 +4857,13 @@ const aa = (e, r, t) => {
|
|
|
4843
4857
|
pattern: R,
|
|
4844
4858
|
title: y,
|
|
4845
4859
|
variant: h = "vertical"
|
|
4846
|
-
},
|
|
4847
|
-
const { t: S } =
|
|
4848
|
-
En(
|
|
4860
|
+
}, m) => {
|
|
4861
|
+
const { t: S } = At(), { palette: v } = be(), M = h === "vertical", p = c || r, _ = E1(null), A = E1(null), [$, I] = ie(null), K = Aa($);
|
|
4862
|
+
En(m, () => A.current);
|
|
4849
4863
|
const oe = (Z) => {
|
|
4850
4864
|
b == null || b(Z), I(Z.target.files);
|
|
4851
4865
|
};
|
|
4852
|
-
return /* @__PURE__ */
|
|
4866
|
+
return /* @__PURE__ */ w(
|
|
4853
4867
|
pn,
|
|
4854
4868
|
{
|
|
4855
4869
|
ref: _,
|
|
@@ -4859,7 +4873,7 @@ const aa = (e, r, t) => {
|
|
|
4859
4873
|
},
|
|
4860
4874
|
onDrop: (Z) => {
|
|
4861
4875
|
if (Z.preventDefault(), Z.dataTransfer.files.length > 0) {
|
|
4862
|
-
const q =
|
|
4876
|
+
const q = A.current, ye = Z.dataTransfer.files;
|
|
4863
4877
|
I(ye);
|
|
4864
4878
|
const ve = new DataTransfer();
|
|
4865
4879
|
Array.from(ye).forEach((D) => ve.items.add(D)), q && (q.files = ve.files), q == null || q.focus(), q == null || q.blur(), b == null || b({ ...Z, target: q }), Z.dataTransfer.clearData();
|
|
@@ -4879,7 +4893,7 @@ const aa = (e, r, t) => {
|
|
|
4879
4893
|
width: "100%"
|
|
4880
4894
|
},
|
|
4881
4895
|
children: [
|
|
4882
|
-
/* @__PURE__ */
|
|
4896
|
+
/* @__PURE__ */ w(
|
|
4883
4897
|
j,
|
|
4884
4898
|
{
|
|
4885
4899
|
alignItems: "center",
|
|
@@ -4891,8 +4905,8 @@ const aa = (e, r, t) => {
|
|
|
4891
4905
|
color: t ? "text.disabled" : "text.secondary",
|
|
4892
4906
|
children: [
|
|
4893
4907
|
x || /* @__PURE__ */ n(ba, { sx: { height: 40, width: 40 } }),
|
|
4894
|
-
K ? /* @__PURE__ */
|
|
4895
|
-
/* @__PURE__ */
|
|
4908
|
+
K ? /* @__PURE__ */ w(Me, { children: [
|
|
4909
|
+
/* @__PURE__ */ w(X, { variant: "body2", color: "textSecondary", children: [
|
|
4896
4910
|
$ == null ? void 0 : $.length,
|
|
4897
4911
|
" ",
|
|
4898
4912
|
(o == null ? void 0 : o.files) || S("files")
|
|
@@ -4908,7 +4922,7 @@ const aa = (e, r, t) => {
|
|
|
4908
4922
|
children: K
|
|
4909
4923
|
}
|
|
4910
4924
|
)
|
|
4911
|
-
] }) : /* @__PURE__ */
|
|
4925
|
+
] }) : /* @__PURE__ */ w(X, { variant: "subtitle1", color: t ? "text.disabled" : "primary", children: [
|
|
4912
4926
|
g || S("clickToUpload"),
|
|
4913
4927
|
" ",
|
|
4914
4928
|
i && "*"
|
|
@@ -4921,7 +4935,7 @@ const aa = (e, r, t) => {
|
|
|
4921
4935
|
"input",
|
|
4922
4936
|
{
|
|
4923
4937
|
id: p,
|
|
4924
|
-
ref:
|
|
4938
|
+
ref: A,
|
|
4925
4939
|
type: "file",
|
|
4926
4940
|
title: y,
|
|
4927
4941
|
disabled: t,
|
|
@@ -4946,7 +4960,7 @@ const aa = (e, r, t) => {
|
|
|
4946
4960
|
}
|
|
4947
4961
|
);
|
|
4948
4962
|
}
|
|
4949
|
-
), t1 = 1,
|
|
4963
|
+
), t1 = 1, Ta = (e) => typeof e == "string", n1 = {
|
|
4950
4964
|
list: {
|
|
4951
4965
|
marginLeft: ({ spacing: e }) => `-${e(0.5)} !important`,
|
|
4952
4966
|
marginRight: ({ spacing: e }) => `-${e(0.5)} !important`,
|
|
@@ -4976,7 +4990,7 @@ const aa = (e, r, t) => {
|
|
|
4976
4990
|
...n1.list,
|
|
4977
4991
|
...i && { width: "100%" }
|
|
4978
4992
|
},
|
|
4979
|
-
children: [...Array(d).keys()].map((b) => /* @__PURE__ */
|
|
4993
|
+
children: [...Array(d).keys()].map((b) => /* @__PURE__ */ w(Le, { sx: n1.listItem, children: [
|
|
4980
4994
|
/* @__PURE__ */ n(Ce, { width: 40, height: 40, sx: { marginRight: t1 }, variant: "rounded" }),
|
|
4981
4995
|
/* @__PURE__ */ n(
|
|
4982
4996
|
Be,
|
|
@@ -4988,7 +5002,7 @@ const aa = (e, r, t) => {
|
|
|
4988
5002
|
)
|
|
4989
5003
|
] }, b))
|
|
4990
5004
|
}
|
|
4991
|
-
) : /* @__PURE__ */
|
|
5005
|
+
) : /* @__PURE__ */ w(
|
|
4992
5006
|
m1,
|
|
4993
5007
|
{
|
|
4994
5008
|
sx: {
|
|
@@ -4998,13 +5012,13 @@ const aa = (e, r, t) => {
|
|
|
4998
5012
|
},
|
|
4999
5013
|
children: [
|
|
5000
5014
|
t == null ? void 0 : t.map(
|
|
5001
|
-
({ id: b, title: g, subtitle: R, image: y, thumbnail: h, secondaryAction:
|
|
5002
|
-
var
|
|
5003
|
-
const $ = `key-${
|
|
5004
|
-
return /* @__PURE__ */
|
|
5015
|
+
({ id: b, title: g, subtitle: R, image: y, thumbnail: h, secondaryAction: m, chipLabel: S, chipColor: v, onClick: M, icon: p, Avatar: _ }, A) => {
|
|
5016
|
+
var T, U, te, ce;
|
|
5017
|
+
const $ = `key-${A}-${g}-${b}`, I = (T = y == null ? void 0 : y.toLowerCase()) == null ? void 0 : T.endsWith(".pdf"), K = (U = y == null ? void 0 : y.toLowerCase()) == null ? void 0 : U.startsWith("http"), oe = (te = h == null ? void 0 : h.toLowerCase()) == null ? void 0 : te.startsWith("http"), ne = M ? "none" : void 0, Y = c || !!p || !K, Z = !!M || !!(!M && !c && (h || y)), q = u === $, D = (oe ? h : "") || (K ? y : "") || "";
|
|
5018
|
+
return /* @__PURE__ */ w(
|
|
5005
5019
|
Le,
|
|
5006
5020
|
{
|
|
5007
|
-
secondaryAction:
|
|
5021
|
+
secondaryAction: m,
|
|
5008
5022
|
onClick: (fe) => {
|
|
5009
5023
|
M == null || M(fe), Z && !q && !M && f($);
|
|
5010
5024
|
},
|
|
@@ -5057,9 +5071,9 @@ const aa = (e, r, t) => {
|
|
|
5057
5071
|
/* @__PURE__ */ n(
|
|
5058
5072
|
Be,
|
|
5059
5073
|
{
|
|
5060
|
-
primary: /* @__PURE__ */
|
|
5074
|
+
primary: /* @__PURE__ */ w(j, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
5061
5075
|
g && /* @__PURE__ */ n(X, { variant: "h6", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: g }),
|
|
5062
|
-
S && /* @__PURE__ */ n(o1, { label: S, variant: "rounded", size: "xSmall", color:
|
|
5076
|
+
S && /* @__PURE__ */ n(o1, { label: S, variant: "rounded", size: "xSmall", color: Ta(v) ? v : "default" })
|
|
5063
5077
|
] }),
|
|
5064
5078
|
secondary: R,
|
|
5065
5079
|
primaryTypographyProps: {
|
|
@@ -5077,7 +5091,7 @@ const aa = (e, r, t) => {
|
|
|
5077
5091
|
);
|
|
5078
5092
|
}
|
|
5079
5093
|
),
|
|
5080
|
-
r && /* @__PURE__ */
|
|
5094
|
+
r && /* @__PURE__ */ w(
|
|
5081
5095
|
X1,
|
|
5082
5096
|
{
|
|
5083
5097
|
onClick: r == null ? void 0 : r.onClick,
|
|
@@ -5130,10 +5144,10 @@ const aa = (e, r, t) => {
|
|
|
5130
5144
|
multiple: d,
|
|
5131
5145
|
...u
|
|
5132
5146
|
}) => {
|
|
5133
|
-
const { t: f } =
|
|
5134
|
-
return /* @__PURE__ */
|
|
5135
|
-
d && !o && (!r || !!(b != null && b.length)) && /* @__PURE__ */
|
|
5136
|
-
/* @__PURE__ */
|
|
5147
|
+
const { t: f } = At(), x = Array.isArray(c) ? (c == null ? void 0 : c.length) === (l == null ? void 0 : l.length) : !1, b = l == null ? void 0 : l.filter((g) => g == null ? void 0 : g.isHeader);
|
|
5148
|
+
return /* @__PURE__ */ w(dr, { ...u, children: [
|
|
5149
|
+
d && !o && (!r || !!(b != null && b.length)) && /* @__PURE__ */ w(Me, { children: [
|
|
5150
|
+
/* @__PURE__ */ w(m1, { role: "listbox", children: [
|
|
5137
5151
|
!r && /* @__PURE__ */ n(
|
|
5138
5152
|
Le,
|
|
5139
5153
|
{
|
|
@@ -5146,7 +5160,7 @@ const aa = (e, r, t) => {
|
|
|
5146
5160
|
}
|
|
5147
5161
|
a == null || a(g, l || [], "selectOption");
|
|
5148
5162
|
},
|
|
5149
|
-
children: /* @__PURE__ */
|
|
5163
|
+
children: /* @__PURE__ */ w(X1, { disableRipple: !0, children: [
|
|
5150
5164
|
/* @__PURE__ */ n(q1, { disableRipple: !0, id: "select-all-checkbox", checked: x, sx: ar }),
|
|
5151
5165
|
/* @__PURE__ */ n(Be, { primary: (t == null ? void 0 : t.selectAll) || f("selectAll"), primaryTypographyProps: { variant: "body2" } }),
|
|
5152
5166
|
!i && /* @__PURE__ */ n(
|
|
@@ -5172,23 +5186,23 @@ const aa = (e, r, t) => {
|
|
|
5172
5186
|
),
|
|
5173
5187
|
b == null ? void 0 : b.map((g, R) => {
|
|
5174
5188
|
const y = `header-options-${g == null ? void 0 : g.id}-${R}`, h = Array.isArray(c) && c.some(
|
|
5175
|
-
(
|
|
5189
|
+
(m) => JSON.stringify(m) === JSON.stringify(g) || m && typeof m == "object" && "id" in m && (m == null ? void 0 : m.id) === (g == null ? void 0 : g.id)
|
|
5176
5190
|
);
|
|
5177
5191
|
return /* @__PURE__ */ n(
|
|
5178
5192
|
Le,
|
|
5179
5193
|
{
|
|
5180
5194
|
disablePadding: !0,
|
|
5181
|
-
onMouseDown: (
|
|
5182
|
-
if (
|
|
5195
|
+
onMouseDown: (m) => {
|
|
5196
|
+
if (m.stopPropagation(), m.preventDefault(), h) {
|
|
5183
5197
|
const S = Array.isArray(c) ? c == null ? void 0 : c.filter(
|
|
5184
5198
|
(v) => !(JSON.stringify(v) === JSON.stringify(g) || v && typeof v == "object" && "id" in v && (v == null ? void 0 : v.id) === (g == null ? void 0 : g.id))
|
|
5185
5199
|
) : [];
|
|
5186
|
-
a == null || a(
|
|
5200
|
+
a == null || a(m, S, "removeOption");
|
|
5187
5201
|
return;
|
|
5188
5202
|
}
|
|
5189
|
-
a == null || a(
|
|
5203
|
+
a == null || a(m, [...Array.isArray(c) ? c : [], g], "selectOption");
|
|
5190
5204
|
},
|
|
5191
|
-
children: /* @__PURE__ */
|
|
5205
|
+
children: /* @__PURE__ */ w(X1, { disableRipple: !0, children: [
|
|
5192
5206
|
/* @__PURE__ */ n(q1, { disableRipple: !0, checked: h, sx: ar }),
|
|
5193
5207
|
/* @__PURE__ */ n(Be, { primary: g == null ? void 0 : g.label })
|
|
5194
5208
|
] })
|
|
@@ -5219,13 +5233,13 @@ const aa = (e, r, t) => {
|
|
|
5219
5233
|
resetInputValueOnSelectOption: R,
|
|
5220
5234
|
renderOption: y,
|
|
5221
5235
|
renderTags: h,
|
|
5222
|
-
size:
|
|
5236
|
+
size: m = "small",
|
|
5223
5237
|
disableCloseOnSelect: S = !0,
|
|
5224
5238
|
multiple: v = !0,
|
|
5225
5239
|
options: M = [],
|
|
5226
5240
|
slotProps: p,
|
|
5227
5241
|
..._
|
|
5228
|
-
},
|
|
5242
|
+
}, A) => {
|
|
5229
5243
|
const { palette: $ } = be(), [I, K] = ie(!1), [oe, ne] = ie(""), Y = $.mode === "light" ? "default" : "primary", Z = x || oe, ye = v ? l ? Array.isArray(l) ? l : [l] : [] : l || null;
|
|
5230
5244
|
return /* @__PURE__ */ n(
|
|
5231
5245
|
fn,
|
|
@@ -5236,15 +5250,15 @@ const aa = (e, r, t) => {
|
|
|
5236
5250
|
value: ye,
|
|
5237
5251
|
loading: g,
|
|
5238
5252
|
options: M,
|
|
5239
|
-
ref:
|
|
5240
|
-
size:
|
|
5253
|
+
ref: A,
|
|
5254
|
+
size: m,
|
|
5241
5255
|
disableCloseOnSelect: S,
|
|
5242
|
-
onChange: (D,
|
|
5243
|
-
if (
|
|
5256
|
+
onChange: (D, T, U, te) => {
|
|
5257
|
+
if (T === null) {
|
|
5244
5258
|
e == null || e(D, v ? [] : null, U, te);
|
|
5245
5259
|
return;
|
|
5246
5260
|
}
|
|
5247
|
-
e == null || e(D,
|
|
5261
|
+
e == null || e(D, T, U, te), (!S || !v) && K(!1);
|
|
5248
5262
|
},
|
|
5249
5263
|
getLimitTagsText: _a(Y),
|
|
5250
5264
|
inputValue: Z,
|
|
@@ -5267,8 +5281,8 @@ const aa = (e, r, t) => {
|
|
|
5267
5281
|
...p == null ? void 0 : p.paper
|
|
5268
5282
|
}
|
|
5269
5283
|
},
|
|
5270
|
-
onInputChange: (D,
|
|
5271
|
-
U === "reset" && I && !R || U === "selectOption" && !R || U === "removeOption" && !R || (x || ne(
|
|
5284
|
+
onInputChange: (D, T, U) => {
|
|
5285
|
+
U === "reset" && I && !R || U === "selectOption" && !R || U === "removeOption" && !R || (x || ne(T), f == null || f(D, T, U));
|
|
5272
5286
|
},
|
|
5273
5287
|
onFocus: (D) => {
|
|
5274
5288
|
K(!0), c == null || c(D);
|
|
@@ -5276,12 +5290,12 @@ const aa = (e, r, t) => {
|
|
|
5276
5290
|
onBlur: (D) => {
|
|
5277
5291
|
K(!1), d == null || d(D);
|
|
5278
5292
|
},
|
|
5279
|
-
renderOption: y || ((D,
|
|
5293
|
+
renderOption: y || ((D, T, { selected: U }) => {
|
|
5280
5294
|
var ce;
|
|
5281
|
-
if (g ||
|
|
5295
|
+
if (g || T != null && T.isHeader)
|
|
5282
5296
|
return null;
|
|
5283
|
-
const te = `${
|
|
5284
|
-
return /* @__PURE__ */ Mn(Le, { ...D, key: te }, !r && /* @__PURE__ */ n(q1, { disableRipple: !0, checked: U, sx: ar }), (
|
|
5297
|
+
const te = `${T == null ? void 0 : T.id}-${D == null ? void 0 : D.key}`;
|
|
5298
|
+
return /* @__PURE__ */ Mn(Le, { ...D, key: te }, !r && /* @__PURE__ */ n(q1, { disableRipple: !0, checked: U, sx: ar }), (T == null ? void 0 : T.image) && /* @__PURE__ */ n(
|
|
5285
5299
|
un,
|
|
5286
5300
|
{
|
|
5287
5301
|
sx: {
|
|
@@ -5290,21 +5304,21 @@ const aa = (e, r, t) => {
|
|
|
5290
5304
|
minWidth: "auto",
|
|
5291
5305
|
width: 24
|
|
5292
5306
|
},
|
|
5293
|
-
children: /* @__PURE__ */ n(He, { variant: "rounded", src:
|
|
5307
|
+
children: /* @__PURE__ */ n(He, { variant: "rounded", src: T == null ? void 0 : T.image, sx: { height: 24, width: 24 }, children: (T == null ? void 0 : T.image) === "letter" && typeof (T == null ? void 0 : T.label) == "string" && ((ce = T == null ? void 0 : T.label) == null ? void 0 : ce.charAt(0).toUpperCase()) })
|
|
5294
5308
|
}
|
|
5295
|
-
), typeof (
|
|
5309
|
+
), typeof (T == null ? void 0 : T.label) == "string" ? /* @__PURE__ */ n(X, { variant: "body2", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", title: T == null ? void 0 : T.label, children: T.label }) : T == null ? void 0 : T.label);
|
|
5296
5310
|
}),
|
|
5297
|
-
renderTags: h || ((D,
|
|
5298
|
-
const { key: fe } =
|
|
5311
|
+
renderTags: h || ((D, T, U) => Array.isArray(D) ? D.map((te, ce) => {
|
|
5312
|
+
const { key: fe } = T({ index: ce });
|
|
5299
5313
|
return U != null && U.focused ? null : /* @__PURE__ */ n(X, { marginX: 1, whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: te == null ? void 0 : te.label }, fe);
|
|
5300
5314
|
}) : null),
|
|
5301
5315
|
..._,
|
|
5302
5316
|
renderInput: (D) => {
|
|
5303
5317
|
var te, ce;
|
|
5304
|
-
const
|
|
5318
|
+
const T = () => {
|
|
5305
5319
|
if (!(!I && (Array.isArray(l) && l.length || !Array.isArray(l) && l)))
|
|
5306
5320
|
return t;
|
|
5307
|
-
}, U =
|
|
5321
|
+
}, U = T1((te = D.InputProps) == null ? void 0 : te.endAdornment) ? (ce = D.InputProps) == null ? void 0 : ce.endAdornment : null;
|
|
5308
5322
|
return /* @__PURE__ */ n(
|
|
5309
5323
|
R1,
|
|
5310
5324
|
{
|
|
@@ -5318,7 +5332,7 @@ const aa = (e, r, t) => {
|
|
|
5318
5332
|
slotProps: {
|
|
5319
5333
|
input: {
|
|
5320
5334
|
...D.InputProps,
|
|
5321
|
-
endAdornment: I ? /* @__PURE__ */
|
|
5335
|
+
endAdornment: I ? /* @__PURE__ */ w(
|
|
5322
5336
|
a1,
|
|
5323
5337
|
{
|
|
5324
5338
|
position: "end",
|
|
@@ -5328,7 +5342,7 @@ const aa = (e, r, t) => {
|
|
|
5328
5342
|
},
|
|
5329
5343
|
children: [
|
|
5330
5344
|
I && Z && !b && /* @__PURE__ */ n(
|
|
5331
|
-
|
|
5345
|
+
Te,
|
|
5332
5346
|
{
|
|
5333
5347
|
size: "small",
|
|
5334
5348
|
onClick: (fe) => {
|
|
@@ -5344,7 +5358,7 @@ const aa = (e, r, t) => {
|
|
|
5344
5358
|
) : U
|
|
5345
5359
|
}
|
|
5346
5360
|
},
|
|
5347
|
-
placeholder:
|
|
5361
|
+
placeholder: T()
|
|
5348
5362
|
}
|
|
5349
5363
|
);
|
|
5350
5364
|
}
|
|
@@ -5418,7 +5432,7 @@ const aa = (e, r, t) => {
|
|
|
5418
5432
|
input: {
|
|
5419
5433
|
...e == null ? void 0 : e.input,
|
|
5420
5434
|
endAdornment: /* @__PURE__ */ n(a1, { position: "end", children: /* @__PURE__ */ n(
|
|
5421
|
-
|
|
5435
|
+
Te,
|
|
5422
5436
|
{
|
|
5423
5437
|
"aria-label": t ? "hide the password" : "display the password",
|
|
5424
5438
|
onClick: a,
|
|
@@ -5490,7 +5504,7 @@ const aa = (e, r, t) => {
|
|
|
5490
5504
|
maxWidth: l = "xs",
|
|
5491
5505
|
onClose: c,
|
|
5492
5506
|
...d
|
|
5493
|
-
}) => /* @__PURE__ */
|
|
5507
|
+
}) => /* @__PURE__ */ w(
|
|
5494
5508
|
yn,
|
|
5495
5509
|
{
|
|
5496
5510
|
maxWidth: l,
|
|
@@ -5503,7 +5517,7 @@ const aa = (e, r, t) => {
|
|
|
5503
5517
|
}
|
|
5504
5518
|
},
|
|
5505
5519
|
children: [
|
|
5506
|
-
/* @__PURE__ */
|
|
5520
|
+
/* @__PURE__ */ w(
|
|
5507
5521
|
xn,
|
|
5508
5522
|
{
|
|
5509
5523
|
sx: {
|
|
@@ -5533,7 +5547,7 @@ const aa = (e, r, t) => {
|
|
|
5533
5547
|
width: et,
|
|
5534
5548
|
...Va
|
|
5535
5549
|
},
|
|
5536
|
-
children: /* @__PURE__ */
|
|
5550
|
+
children: /* @__PURE__ */ w("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5537
5551
|
/* @__PURE__ */ n(
|
|
5538
5552
|
"path",
|
|
5539
5553
|
{
|
|
@@ -5550,7 +5564,7 @@ const aa = (e, r, t) => {
|
|
|
5550
5564
|
]
|
|
5551
5565
|
}
|
|
5552
5566
|
),
|
|
5553
|
-
(t || i) && /* @__PURE__ */
|
|
5567
|
+
(t || i) && /* @__PURE__ */ w(bn, { children: [
|
|
5554
5568
|
i && /* @__PURE__ */ n(Ur, { variant: "outlined", size: "small", isLoading: i == null ? void 0 : i.loading, onClick: i == null ? void 0 : i.onClick, sx: { flex: 1 }, children: i == null ? void 0 : i.text }),
|
|
5555
5569
|
t && /* @__PURE__ */ n(
|
|
5556
5570
|
Ur,
|
|
@@ -5575,7 +5589,7 @@ const aa = (e, r, t) => {
|
|
|
5575
5589
|
}),
|
|
5576
5590
|
[t, i]
|
|
5577
5591
|
);
|
|
5578
|
-
return
|
|
5592
|
+
return A1(() => {
|
|
5579
5593
|
a(r);
|
|
5580
5594
|
}, [r]), /* @__PURE__ */ n(ot.Provider, { value: o, children: e });
|
|
5581
5595
|
}, $a = {
|
|
@@ -5584,7 +5598,7 @@ const aa = (e, r, t) => {
|
|
|
5584
5598
|
message: "",
|
|
5585
5599
|
severity: "success",
|
|
5586
5600
|
variant: "standard"
|
|
5587
|
-
},
|
|
5601
|
+
}, Tt = k1({
|
|
5588
5602
|
closeSnackbar: () => {
|
|
5589
5603
|
},
|
|
5590
5604
|
isOpen: !1,
|
|
@@ -5613,7 +5627,7 @@ const aa = (e, r, t) => {
|
|
|
5613
5627
|
}),
|
|
5614
5628
|
[l, o, i.isOpen]
|
|
5615
5629
|
);
|
|
5616
|
-
return /* @__PURE__ */
|
|
5630
|
+
return /* @__PURE__ */ w(Tt.Provider, { value: c, children: [
|
|
5617
5631
|
/* @__PURE__ */ n(
|
|
5618
5632
|
mn,
|
|
5619
5633
|
{
|
|
@@ -5628,7 +5642,7 @@ const aa = (e, r, t) => {
|
|
|
5628
5642
|
e
|
|
5629
5643
|
] });
|
|
5630
5644
|
}, fo = () => {
|
|
5631
|
-
const e = _e(
|
|
5645
|
+
const e = _e(Tt), { isOpen: r, closeSnackbar: t, openSnackbar: i } = e;
|
|
5632
5646
|
if (e === void 0)
|
|
5633
5647
|
throw new Error("SnackbarProvider must be used within a useSnackBar hook");
|
|
5634
5648
|
return {
|
|
@@ -5674,7 +5688,7 @@ export {
|
|
|
5674
5688
|
je as NavigationMenuContext,
|
|
5675
5689
|
po as PermissionProvider,
|
|
5676
5690
|
ja as QuantityField,
|
|
5677
|
-
|
|
5691
|
+
Tt as SnackbarContext,
|
|
5678
5692
|
uo as SnackbarProvider,
|
|
5679
5693
|
v1 as StatusIcon,
|
|
5680
5694
|
Ga as TabPanel,
|