@tracktor/design-system 2.7.10 → 2.7.12
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 +7 -7
- package/dist/main.js +328 -329
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useTheme as ce, Box as H, Skeleton as se, Tab as Bt, Card as J1, GlobalStyles as Ke, TextareaAutosize as Zt, InputAdornment as b1, IconButton as we, SvgIcon as be, TextField as K1, Toolbar as zt, Stack as Z, AppBar as Z1, Typography as U, List as y1, ListItem as Ee, Chip as Qe, useMediaQuery as e1, SwipeableDrawer as Nt, Alert as Q1, alpha as he, Button as er, CircularProgress as Ur, Modal as jt, Fade as Wt, Divider as Gr, Collapse as Sr, Tooltip as Rr, CardContent as Yt, Avatar as
|
|
1
|
+
import { useTheme as ce, Box as H, Skeleton as se, Tab as Bt, Card as J1, GlobalStyles as Ke, TextareaAutosize as Zt, InputAdornment as b1, IconButton as we, SvgIcon as be, TextField as K1, Toolbar as zt, Stack as Z, AppBar as Z1, Typography as U, List as y1, ListItem as Ee, Chip as Qe, useMediaQuery as e1, SwipeableDrawer as Nt, Alert as Q1, alpha as he, Button as er, CircularProgress as Ur, Modal as jt, Fade as Wt, Divider as Gr, Collapse as Sr, Tooltip as Rr, CardContent as Yt, Avatar as m1, Menu as Ut, MenuItem as Gt, ListItemIcon as Xt, ListItemText as Fe, Backdrop as qt, InputLabel as Jt, ListItemButton as z1, Checkbox as N1, ListItemAvatar as Kt, Autocomplete as Qt, Badge as en, Paper as rn, responsiveFontSizes as rr, createTheme as He, getOverlayAlpha as j1, css as v1, ThemeProvider as tn, CssBaseline as nn, Snackbar as an } from "@mui/material";
|
|
2
2
|
export * from "@mui/material";
|
|
3
|
-
import * as
|
|
3
|
+
import * as ve from "react";
|
|
4
4
|
import Xr, { createContext as tr, useContext as Me, useCallback as ne, forwardRef as ue, useState as re, useEffect as M1, cloneElement as nr, isValidElement as S1, memo as qr, useMemo as ir, useRef as ar, Children as on } from "react";
|
|
5
5
|
import { createElement as sn } from "@emotion/react";
|
|
6
6
|
const ln = {
|
|
@@ -69,26 +69,26 @@ var Ue = {};
|
|
|
69
69
|
var Ar;
|
|
70
70
|
function pn() {
|
|
71
71
|
return Ar || (Ar = 1, process.env.NODE_ENV !== "production" && function() {
|
|
72
|
-
var e = Xr, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), d = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"),
|
|
72
|
+
var e = Xr, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), d = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), M = Symbol.iterator, y = "@@iterator";
|
|
73
73
|
function u(o) {
|
|
74
74
|
if (o === null || typeof o != "object")
|
|
75
75
|
return null;
|
|
76
|
-
var g =
|
|
76
|
+
var g = M && o[M] || o[y];
|
|
77
77
|
return typeof g == "function" ? g : null;
|
|
78
78
|
}
|
|
79
|
-
var
|
|
80
|
-
function
|
|
79
|
+
var E = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
80
|
+
function w(o) {
|
|
81
81
|
{
|
|
82
|
-
for (var g = arguments.length,
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
for (var g = arguments.length, m = new Array(g > 1 ? g - 1 : 0), _ = 1; _ < g; _++)
|
|
83
|
+
m[_ - 1] = arguments[_];
|
|
84
|
+
S("error", o, m);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function S(o, g, m) {
|
|
88
88
|
{
|
|
89
|
-
var _ =
|
|
90
|
-
$ !== "" && (g += "%s",
|
|
91
|
-
var W =
|
|
89
|
+
var _ = E.ReactDebugCurrentFrame, $ = _.getStackAddendum();
|
|
90
|
+
$ !== "" && (g += "%s", m = m.concat([$]));
|
|
91
|
+
var W = m.map(function(O) {
|
|
92
92
|
return String(O);
|
|
93
93
|
});
|
|
94
94
|
W.unshift("Warning: " + g), Function.prototype.apply.call(console[o], console, W);
|
|
@@ -103,12 +103,12 @@ function pn() {
|
|
|
103
103
|
// with.
|
|
104
104
|
o.$$typeof === j || o.getModuleId !== void 0));
|
|
105
105
|
}
|
|
106
|
-
function ye(o, g,
|
|
106
|
+
function ye(o, g, m) {
|
|
107
107
|
var _ = o.displayName;
|
|
108
108
|
if (_)
|
|
109
109
|
return _;
|
|
110
110
|
var $ = g.displayName || g.name || "";
|
|
111
|
-
return $ !== "" ?
|
|
111
|
+
return $ !== "" ? m + "(" + $ + ")" : m;
|
|
112
112
|
}
|
|
113
113
|
function z(o) {
|
|
114
114
|
return o.displayName || "Context";
|
|
@@ -116,7 +116,7 @@ function pn() {
|
|
|
116
116
|
function F(o) {
|
|
117
117
|
if (o == null)
|
|
118
118
|
return null;
|
|
119
|
-
if (typeof o.tag == "number" &&
|
|
119
|
+
if (typeof o.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
|
|
120
120
|
return o.displayName || o.name || null;
|
|
121
121
|
if (typeof o == "string")
|
|
122
122
|
return o;
|
|
@@ -140,8 +140,8 @@ function pn() {
|
|
|
140
140
|
var g = o;
|
|
141
141
|
return z(g) + ".Consumer";
|
|
142
142
|
case l:
|
|
143
|
-
var
|
|
144
|
-
return z(
|
|
143
|
+
var m = o;
|
|
144
|
+
return z(m._context) + ".Provider";
|
|
145
145
|
case c:
|
|
146
146
|
return ye(o, o.render, "ForwardRef");
|
|
147
147
|
case C:
|
|
@@ -158,14 +158,14 @@ function pn() {
|
|
|
158
158
|
}
|
|
159
159
|
return null;
|
|
160
160
|
}
|
|
161
|
-
var N = Object.assign, G = 0, fe,
|
|
161
|
+
var N = Object.assign, G = 0, fe, me, $e, o1, De, s1, l1;
|
|
162
162
|
function c1() {
|
|
163
163
|
}
|
|
164
164
|
c1.__reactDisabledLog = !0;
|
|
165
165
|
function _1() {
|
|
166
166
|
{
|
|
167
167
|
if (G === 0) {
|
|
168
|
-
fe = console.log,
|
|
168
|
+
fe = console.log, me = console.info, $e = console.warn, o1 = console.error, De = console.group, s1 = console.groupCollapsed, l1 = console.groupEnd;
|
|
169
169
|
var o = {
|
|
170
170
|
configurable: !0,
|
|
171
171
|
enumerable: !0,
|
|
@@ -198,7 +198,7 @@ function pn() {
|
|
|
198
198
|
value: fe
|
|
199
199
|
}),
|
|
200
200
|
info: N({}, o, {
|
|
201
|
-
value:
|
|
201
|
+
value: me
|
|
202
202
|
}),
|
|
203
203
|
warn: N({}, o, {
|
|
204
204
|
value: $e
|
|
@@ -217,11 +217,11 @@ function pn() {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
|
-
G < 0 &&
|
|
220
|
+
G < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
var Be =
|
|
224
|
-
function ke(o, g,
|
|
223
|
+
var Be = E.ReactCurrentDispatcher, Ze;
|
|
224
|
+
function ke(o, g, m) {
|
|
225
225
|
{
|
|
226
226
|
if (Ze === void 0)
|
|
227
227
|
try {
|
|
@@ -243,9 +243,9 @@ function pn() {
|
|
|
243
243
|
if (!o || ze)
|
|
244
244
|
return "";
|
|
245
245
|
{
|
|
246
|
-
var
|
|
247
|
-
if (
|
|
248
|
-
return
|
|
246
|
+
var m = Te.get(o);
|
|
247
|
+
if (m !== void 0)
|
|
248
|
+
return m;
|
|
249
249
|
}
|
|
250
250
|
var _;
|
|
251
251
|
ze = !0;
|
|
@@ -310,14 +310,14 @@ function pn() {
|
|
|
310
310
|
var Ie = o ? o.displayName || o.name : "", Re = Ie ? ke(Ie) : "";
|
|
311
311
|
return typeof o == "function" && Te.set(o, Re), Re;
|
|
312
312
|
}
|
|
313
|
-
function Ne(o, g,
|
|
313
|
+
function Ne(o, g, m) {
|
|
314
314
|
return R(o, !1);
|
|
315
315
|
}
|
|
316
316
|
function Ae(o) {
|
|
317
317
|
var g = o.prototype;
|
|
318
318
|
return !!(g && g.isReactComponent);
|
|
319
319
|
}
|
|
320
|
-
function Se(o, g,
|
|
320
|
+
function Se(o, g, m) {
|
|
321
321
|
if (o == null)
|
|
322
322
|
return "";
|
|
323
323
|
if (typeof o == "function")
|
|
@@ -335,26 +335,26 @@ function pn() {
|
|
|
335
335
|
case c:
|
|
336
336
|
return Ne(o.render);
|
|
337
337
|
case C:
|
|
338
|
-
return Se(o.type, g,
|
|
338
|
+
return Se(o.type, g, m);
|
|
339
339
|
case x: {
|
|
340
340
|
var _ = o, $ = _._payload, W = _._init;
|
|
341
341
|
try {
|
|
342
|
-
return Se(W($), g,
|
|
342
|
+
return Se(W($), g, m);
|
|
343
343
|
} catch {
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
return "";
|
|
348
348
|
}
|
|
349
|
-
var je = Object.prototype.hasOwnProperty, ur = {}, fr =
|
|
349
|
+
var je = Object.prototype.hasOwnProperty, ur = {}, fr = E.ReactDebugCurrentFrame;
|
|
350
350
|
function d1(o) {
|
|
351
351
|
if (o) {
|
|
352
|
-
var g = o._owner,
|
|
353
|
-
fr.setExtraStackFrame(
|
|
352
|
+
var g = o._owner, m = Se(o.type, o._source, g ? g.type : null);
|
|
353
|
+
fr.setExtraStackFrame(m);
|
|
354
354
|
} else
|
|
355
355
|
fr.setExtraStackFrame(null);
|
|
356
356
|
}
|
|
357
|
-
function bt(o, g,
|
|
357
|
+
function bt(o, g, m, _, $) {
|
|
358
358
|
{
|
|
359
359
|
var W = Function.call.bind(je);
|
|
360
360
|
for (var O in o)
|
|
@@ -362,14 +362,14 @@ function pn() {
|
|
|
362
362
|
var L = void 0;
|
|
363
363
|
try {
|
|
364
364
|
if (typeof o[O] != "function") {
|
|
365
|
-
var te = Error((_ || "React class") + ": " +
|
|
365
|
+
var te = Error((_ || "React class") + ": " + m + " type `" + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[O] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
366
366
|
throw te.name = "Invariant Violation", te;
|
|
367
367
|
}
|
|
368
|
-
L = o[O](g, O, _,
|
|
368
|
+
L = o[O](g, O, _, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
369
369
|
} catch (X) {
|
|
370
370
|
L = X;
|
|
371
371
|
}
|
|
372
|
-
L && !(L instanceof Error) && (d1($),
|
|
372
|
+
L && !(L instanceof Error) && (d1($), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", _ || "React class", m, O, typeof L), d1(null)), L instanceof Error && !(L.message in ur) && (ur[L.message] = !0, d1($), w("Failed %s type: %s", m, L.message), d1(null));
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
}
|
|
@@ -377,13 +377,13 @@ function pn() {
|
|
|
377
377
|
function H1(o) {
|
|
378
378
|
return yt(o);
|
|
379
379
|
}
|
|
380
|
-
function
|
|
380
|
+
function mt(o) {
|
|
381
381
|
{
|
|
382
|
-
var g = typeof Symbol == "function" && Symbol.toStringTag,
|
|
383
|
-
return
|
|
382
|
+
var g = typeof Symbol == "function" && Symbol.toStringTag, m = g && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
383
|
+
return m;
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function vt(o) {
|
|
387
387
|
try {
|
|
388
388
|
return hr(o), !1;
|
|
389
389
|
} catch {
|
|
@@ -394,10 +394,10 @@ function pn() {
|
|
|
394
394
|
return "" + o;
|
|
395
395
|
}
|
|
396
396
|
function gr(o) {
|
|
397
|
-
if (
|
|
398
|
-
return
|
|
397
|
+
if (vt(o))
|
|
398
|
+
return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", mt(o)), hr(o);
|
|
399
399
|
}
|
|
400
|
-
var We =
|
|
400
|
+
var We = E.ReactCurrentOwner, wt = {
|
|
401
401
|
key: !0,
|
|
402
402
|
ref: !0,
|
|
403
403
|
__self: !0,
|
|
@@ -422,40 +422,40 @@ function pn() {
|
|
|
422
422
|
}
|
|
423
423
|
function St(o, g) {
|
|
424
424
|
if (typeof o.ref == "string" && We.current && g && We.current.stateNode !== g) {
|
|
425
|
-
var
|
|
426
|
-
L1[
|
|
425
|
+
var m = F(We.current.type);
|
|
426
|
+
L1[m] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', F(We.current.type), o.ref), L1[m] = !0);
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
429
|
function Rt(o, g) {
|
|
430
430
|
{
|
|
431
|
-
var
|
|
432
|
-
Cr || (Cr = !0,
|
|
431
|
+
var m = function() {
|
|
432
|
+
Cr || (Cr = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", g));
|
|
433
433
|
};
|
|
434
|
-
|
|
435
|
-
get:
|
|
434
|
+
m.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
435
|
+
get: m,
|
|
436
436
|
configurable: !0
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
440
|
function kt(o, g) {
|
|
441
441
|
{
|
|
442
|
-
var
|
|
443
|
-
xr || (xr = !0,
|
|
442
|
+
var m = function() {
|
|
443
|
+
xr || (xr = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", g));
|
|
444
444
|
};
|
|
445
|
-
|
|
446
|
-
get:
|
|
445
|
+
m.isReactWarning = !0, Object.defineProperty(o, "ref", {
|
|
446
|
+
get: m,
|
|
447
447
|
configurable: !0
|
|
448
448
|
});
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
-
var Tt = function(o, g,
|
|
451
|
+
var Tt = function(o, g, m, _, $, W, O) {
|
|
452
452
|
var L = {
|
|
453
453
|
// This tag allows us to uniquely identify this as a React Element
|
|
454
454
|
$$typeof: r,
|
|
455
455
|
// Built-in properties that belong on the element
|
|
456
456
|
type: o,
|
|
457
457
|
key: g,
|
|
458
|
-
ref:
|
|
458
|
+
ref: m,
|
|
459
459
|
props: O,
|
|
460
460
|
// Record the component responsible for creating this element.
|
|
461
461
|
_owner: W
|
|
@@ -477,10 +477,10 @@ function pn() {
|
|
|
477
477
|
value: $
|
|
478
478
|
}), Object.freeze && (Object.freeze(L.props), Object.freeze(L)), L;
|
|
479
479
|
};
|
|
480
|
-
function At(o, g,
|
|
480
|
+
function At(o, g, m, _, $) {
|
|
481
481
|
{
|
|
482
482
|
var W, O = {}, L = null, te = null;
|
|
483
|
-
|
|
483
|
+
m !== void 0 && (gr(m), L = "" + m), Mt(g) && (gr(g.key), L = "" + g.key), Et(g) && (te = g.ref, St(g, $));
|
|
484
484
|
for (W in g)
|
|
485
485
|
je.call(g, W) && !wt.hasOwnProperty(W) && (O[W] = g[W]);
|
|
486
486
|
if (o && o.defaultProps) {
|
|
@@ -495,11 +495,11 @@ function pn() {
|
|
|
495
495
|
return Tt(o, L, te, $, _, We.current, O);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
|
-
var O1 =
|
|
498
|
+
var O1 = E.ReactCurrentOwner, br = E.ReactDebugCurrentFrame;
|
|
499
499
|
function _e(o) {
|
|
500
500
|
if (o) {
|
|
501
|
-
var g = o._owner,
|
|
502
|
-
br.setExtraStackFrame(
|
|
501
|
+
var g = o._owner, m = Se(o.type, o._source, g ? g.type : null);
|
|
502
|
+
br.setExtraStackFrame(m);
|
|
503
503
|
} else
|
|
504
504
|
br.setExtraStackFrame(null);
|
|
505
505
|
}
|
|
@@ -523,30 +523,30 @@ Check the render method of \`` + o + "`.";
|
|
|
523
523
|
function _t(o) {
|
|
524
524
|
return "";
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var mr = {};
|
|
527
527
|
function It(o) {
|
|
528
528
|
{
|
|
529
529
|
var g = yr();
|
|
530
530
|
if (!g) {
|
|
531
|
-
var
|
|
532
|
-
|
|
531
|
+
var m = typeof o == "string" ? o : o.displayName || o.name;
|
|
532
|
+
m && (g = `
|
|
533
533
|
|
|
534
|
-
Check the top-level render call using <` +
|
|
534
|
+
Check the top-level render call using <` + m + ">.");
|
|
535
535
|
}
|
|
536
536
|
return g;
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function vr(o, g) {
|
|
540
540
|
{
|
|
541
541
|
if (!o._store || o._store.validated || o.key != null)
|
|
542
542
|
return;
|
|
543
543
|
o._store.validated = !0;
|
|
544
|
-
var
|
|
545
|
-
if (
|
|
544
|
+
var m = It(g);
|
|
545
|
+
if (mr[m])
|
|
546
546
|
return;
|
|
547
|
-
|
|
547
|
+
mr[m] = !0;
|
|
548
548
|
var _ = "";
|
|
549
|
-
o && o._owner && o._owner !== O1.current && (_ = " It was passed a child from " + F(o._owner.type) + "."), _e(o),
|
|
549
|
+
o && o._owner && o._owner !== O1.current && (_ = " It was passed a child from " + F(o._owner.type) + "."), _e(o), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, _), _e(null);
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
function wr(o, g) {
|
|
@@ -554,9 +554,9 @@ Check the top-level render call using <` + v + ">.");
|
|
|
554
554
|
if (typeof o != "object")
|
|
555
555
|
return;
|
|
556
556
|
if (H1(o))
|
|
557
|
-
for (var
|
|
558
|
-
var _ = o[
|
|
559
|
-
V1(_) &&
|
|
557
|
+
for (var m = 0; m < o.length; m++) {
|
|
558
|
+
var _ = o[m];
|
|
559
|
+
V1(_) && vr(_, g);
|
|
560
560
|
}
|
|
561
561
|
else if (V1(o))
|
|
562
562
|
o._store && (o._store.validated = !0);
|
|
@@ -564,7 +564,7 @@ Check the top-level render call using <` + v + ">.");
|
|
|
564
564
|
var $ = u(o);
|
|
565
565
|
if (typeof $ == "function" && $ !== o.entries)
|
|
566
566
|
for (var W = $.call(o), O; !(O = W.next()).done; )
|
|
567
|
-
V1(O.value) &&
|
|
567
|
+
V1(O.value) && vr(O.value, g);
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
}
|
|
@@ -573,40 +573,40 @@ Check the top-level render call using <` + v + ">.");
|
|
|
573
573
|
var g = o.type;
|
|
574
574
|
if (g == null || typeof g == "string")
|
|
575
575
|
return;
|
|
576
|
-
var
|
|
576
|
+
var m;
|
|
577
577
|
if (typeof g == "function")
|
|
578
|
-
|
|
578
|
+
m = g.propTypes;
|
|
579
579
|
else if (typeof g == "object" && (g.$$typeof === c || // Note: Memo only checks outer props here.
|
|
580
580
|
// Inner props are checked in the reconciler.
|
|
581
581
|
g.$$typeof === C))
|
|
582
|
-
|
|
582
|
+
m = g.propTypes;
|
|
583
583
|
else
|
|
584
584
|
return;
|
|
585
|
-
if (
|
|
585
|
+
if (m) {
|
|
586
586
|
var _ = F(g);
|
|
587
|
-
bt(
|
|
587
|
+
bt(m, o.props, "prop", _, o);
|
|
588
588
|
} else if (g.PropTypes !== void 0 && !P1) {
|
|
589
589
|
P1 = !0;
|
|
590
590
|
var $ = F(g);
|
|
591
|
-
|
|
591
|
+
w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $ || "Unknown");
|
|
592
592
|
}
|
|
593
|
-
typeof g.getDefaultProps == "function" && !g.getDefaultProps.isReactClassApproved &&
|
|
593
|
+
typeof g.getDefaultProps == "function" && !g.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
function Ht(o) {
|
|
597
597
|
{
|
|
598
|
-
for (var g = Object.keys(o.props),
|
|
599
|
-
var _ = g[
|
|
598
|
+
for (var g = Object.keys(o.props), m = 0; m < g.length; m++) {
|
|
599
|
+
var _ = g[m];
|
|
600
600
|
if (_ !== "children" && _ !== "key") {
|
|
601
|
-
_e(o),
|
|
601
|
+
_e(o), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), _e(null);
|
|
602
602
|
break;
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
|
-
o.ref !== null && (_e(o),
|
|
605
|
+
o.ref !== null && (_e(o), w("Invalid attribute `ref` supplied to `React.Fragment`."), _e(null));
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
608
|
var Er = {};
|
|
609
|
-
function Mr(o, g,
|
|
609
|
+
function Mr(o, g, m, _, $, W) {
|
|
610
610
|
{
|
|
611
611
|
var O = oe(o);
|
|
612
612
|
if (!O) {
|
|
@@ -615,9 +615,9 @@ Check the top-level render call using <` + v + ">.");
|
|
|
615
615
|
var te = _t();
|
|
616
616
|
te ? L += te : L += yr();
|
|
617
617
|
var X;
|
|
618
|
-
o === null ? X = "null" : H1(o) ? X = "array" : o !== void 0 && o.$$typeof === r ? (X = "<" + (F(o.type) || "Unknown") + " />", L = " Did you accidentally export a JSX literal instead of a component?") : X = typeof o,
|
|
618
|
+
o === null ? X = "null" : H1(o) ? X = "array" : o !== void 0 && o.$$typeof === r ? (X = "<" + (F(o.type) || "Unknown") + " />", L = " Did you accidentally export a JSX literal instead of a component?") : X = typeof o, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", X, L);
|
|
619
619
|
}
|
|
620
|
-
var J = At(o, g,
|
|
620
|
+
var J = At(o, g, m, $, W);
|
|
621
621
|
if (J == null)
|
|
622
622
|
return J;
|
|
623
623
|
if (O) {
|
|
@@ -629,7 +629,7 @@ Check the top-level render call using <` + v + ">.");
|
|
|
629
629
|
wr(de[Ie], o);
|
|
630
630
|
Object.freeze && Object.freeze(de);
|
|
631
631
|
} else
|
|
632
|
-
|
|
632
|
+
w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
633
633
|
else
|
|
634
634
|
wr(de, o);
|
|
635
635
|
}
|
|
@@ -639,7 +639,7 @@ Check the top-level render call using <` + v + ">.");
|
|
|
639
639
|
}), $1 = ie.length > 0 ? "{key: someKey, " + ie.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
640
640
|
if (!Er[Re + $1]) {
|
|
641
641
|
var $t = ie.length > 0 ? "{" + ie.join(": ..., ") + ": ...}" : "{}";
|
|
642
|
-
|
|
642
|
+
w(`A props object containing a "key" prop is being spread into JSX:
|
|
643
643
|
let props = %s;
|
|
644
644
|
<%s {...props} />
|
|
645
645
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -650,11 +650,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
650
650
|
return o === i ? Ht(J) : Ft(J), J;
|
|
651
651
|
}
|
|
652
652
|
}
|
|
653
|
-
function Lt(o, g,
|
|
654
|
-
return Mr(o, g,
|
|
653
|
+
function Lt(o, g, m) {
|
|
654
|
+
return Mr(o, g, m, !0);
|
|
655
655
|
}
|
|
656
|
-
function Ot(o, g,
|
|
657
|
-
return Mr(o, g,
|
|
656
|
+
function Ot(o, g, m) {
|
|
657
|
+
return Mr(o, g, m, !1);
|
|
658
658
|
}
|
|
659
659
|
var Pt = Ot, Vt = Lt;
|
|
660
660
|
Ue.Fragment = i, Ue.jsx = Pt, Ue.jsxs = Vt;
|
|
@@ -703,13 +703,13 @@ var gn = /* @__PURE__ */ function() {
|
|
|
703
703
|
}), this.tags = [], this.ctr = 0;
|
|
704
704
|
}, e;
|
|
705
705
|
}(), ee = "-ms-", w1 = "-moz-", P = "-webkit-", Kr = "comm", or = "rule", sr = "decl", Cn = "@import", Qr = "@keyframes", xn = "@layer", bn = Math.abs, R1 = String.fromCharCode, yn = Object.assign;
|
|
706
|
-
function
|
|
706
|
+
function mn(e, r) {
|
|
707
707
|
return Q(e, 0) ^ 45 ? (((r << 2 ^ Q(e, 0)) << 2 ^ Q(e, 1)) << 2 ^ Q(e, 2)) << 2 ^ Q(e, 3) : 0;
|
|
708
708
|
}
|
|
709
709
|
function et(e) {
|
|
710
710
|
return e.trim();
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function vn(e, r) {
|
|
713
713
|
return (e = r.exec(e)) ? e[0] : e;
|
|
714
714
|
}
|
|
715
715
|
function V(e, r, t) {
|
|
@@ -845,23 +845,23 @@ function An(e) {
|
|
|
845
845
|
return nt(C1("", null, null, null, [""], e = tt(e), 0, [0], e));
|
|
846
846
|
}
|
|
847
847
|
function C1(e, r, t, i, a, s, l, d, c) {
|
|
848
|
-
for (var f = 0, h = 0, C = l, x = 0, b = 0,
|
|
849
|
-
switch (
|
|
848
|
+
for (var f = 0, h = 0, C = l, x = 0, b = 0, M = 0, y = 1, u = 1, E = 1, w = 0, S = "", T = a, p = s, A = i, k = S; u; )
|
|
849
|
+
switch (M = w, w = le()) {
|
|
850
850
|
case 40:
|
|
851
|
-
if (
|
|
852
|
-
Y1(k += V(g1(
|
|
851
|
+
if (M != 108 && Q(k, C - 1) == 58) {
|
|
852
|
+
Y1(k += V(g1(w), "&", "&\f"), "&\f") != -1 && (E = -1);
|
|
853
853
|
break;
|
|
854
854
|
}
|
|
855
855
|
case 34:
|
|
856
856
|
case 39:
|
|
857
857
|
case 91:
|
|
858
|
-
k += g1(
|
|
858
|
+
k += g1(w);
|
|
859
859
|
break;
|
|
860
860
|
case 9:
|
|
861
861
|
case 10:
|
|
862
862
|
case 13:
|
|
863
863
|
case 32:
|
|
864
|
-
k += Sn(
|
|
864
|
+
k += Sn(M);
|
|
865
865
|
break;
|
|
866
866
|
case 92:
|
|
867
867
|
k += Rn(h1() - 1, 7);
|
|
@@ -877,21 +877,21 @@ function C1(e, r, t, i, a, s, l, d, c) {
|
|
|
877
877
|
}
|
|
878
878
|
break;
|
|
879
879
|
case 123 * y:
|
|
880
|
-
d[f++] = ge(k) *
|
|
880
|
+
d[f++] = ge(k) * E;
|
|
881
881
|
case 125 * y:
|
|
882
882
|
case 59:
|
|
883
883
|
case 0:
|
|
884
|
-
switch (
|
|
884
|
+
switch (w) {
|
|
885
885
|
case 0:
|
|
886
886
|
case 125:
|
|
887
887
|
u = 0;
|
|
888
888
|
case 59 + h:
|
|
889
|
-
|
|
889
|
+
E == -1 && (k = V(k, /\f/g, "")), b > 0 && ge(k) - C && p1(b > 32 ? Ir(k + ";", i, t, C - 1) : Ir(V(k, " ", "") + ";", i, t, C - 2), c);
|
|
890
890
|
break;
|
|
891
891
|
case 59:
|
|
892
892
|
k += ";";
|
|
893
893
|
default:
|
|
894
|
-
if (p1(A = _r(k, r, t, f, h, a, d,
|
|
894
|
+
if (p1(A = _r(k, r, t, f, h, a, d, S, T = [], p = [], C), s), w === 123)
|
|
895
895
|
if (h === 0)
|
|
896
896
|
C1(k, r, A, A, T, s, C, d, p);
|
|
897
897
|
else
|
|
@@ -900,43 +900,43 @@ function C1(e, r, t, i, a, s, l, d, c) {
|
|
|
900
900
|
case 108:
|
|
901
901
|
case 109:
|
|
902
902
|
case 115:
|
|
903
|
-
C1(e, A, A, i && p1(_r(e, A, A, 0, 0, a, d,
|
|
903
|
+
C1(e, A, A, i && p1(_r(e, A, A, 0, 0, a, d, S, a, T = [], C), p), a, p, C, d, i ? T : p);
|
|
904
904
|
break;
|
|
905
905
|
default:
|
|
906
906
|
C1(k, A, A, A, [""], p, 0, d, p);
|
|
907
907
|
}
|
|
908
908
|
}
|
|
909
|
-
f = h = b = 0, y =
|
|
909
|
+
f = h = b = 0, y = E = 1, S = k = "", C = l;
|
|
910
910
|
break;
|
|
911
911
|
case 58:
|
|
912
|
-
C = 1 + ge(k), b =
|
|
912
|
+
C = 1 + ge(k), b = M;
|
|
913
913
|
default:
|
|
914
914
|
if (y < 1) {
|
|
915
|
-
if (
|
|
915
|
+
if (w == 123)
|
|
916
916
|
--y;
|
|
917
|
-
else if (
|
|
917
|
+
else if (w == 125 && y++ == 0 && Mn() == 125)
|
|
918
918
|
continue;
|
|
919
919
|
}
|
|
920
|
-
switch (k += R1(
|
|
920
|
+
switch (k += R1(w), w * y) {
|
|
921
921
|
case 38:
|
|
922
|
-
|
|
922
|
+
E = h > 0 ? 1 : (k += "\f", -1);
|
|
923
923
|
break;
|
|
924
924
|
case 44:
|
|
925
|
-
d[f++] = (ge(k) - 1) *
|
|
925
|
+
d[f++] = (ge(k) - 1) * E, E = 1;
|
|
926
926
|
break;
|
|
927
927
|
case 64:
|
|
928
|
-
xe() === 45 && (k += g1(le())), x = xe(), h = C = ge(
|
|
928
|
+
xe() === 45 && (k += g1(le())), x = xe(), h = C = ge(S = k += Tn(h1())), w++;
|
|
929
929
|
break;
|
|
930
930
|
case 45:
|
|
931
|
-
|
|
931
|
+
M === 45 && ge(k) == 2 && (y = 0);
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
return s;
|
|
935
935
|
}
|
|
936
936
|
function _r(e, r, t, i, a, s, l, d, c, f, h) {
|
|
937
|
-
for (var C = a - 1, x = a === 0 ? s : [""], b = lr(x),
|
|
938
|
-
for (var
|
|
939
|
-
(
|
|
937
|
+
for (var C = a - 1, x = a === 0 ? s : [""], b = lr(x), M = 0, y = 0, u = 0; M < i; ++M)
|
|
938
|
+
for (var E = 0, w = t1(e, C + 1, C = bn(y = l[M])), S = e; E < b; ++E)
|
|
939
|
+
(S = et(y > 0 ? x[E] + " " + w : V(w, /&\f/g, x[E]))) && (c[u++] = S);
|
|
940
940
|
return T1(e, r, t, a === 0 ? or : d, c, f, h);
|
|
941
941
|
}
|
|
942
942
|
function _n(e, r, t) {
|
|
@@ -1033,7 +1033,7 @@ var On = function(r, t, i) {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
};
|
|
1035
1035
|
function it(e, r) {
|
|
1036
|
-
switch (
|
|
1036
|
+
switch (mn(e, r)) {
|
|
1037
1037
|
case 5103:
|
|
1038
1038
|
return P + "print-" + e + e;
|
|
1039
1039
|
case 5737:
|
|
@@ -1154,7 +1154,7 @@ var Bn = function(r, t, i, a) {
|
|
|
1154
1154
|
})], a);
|
|
1155
1155
|
case or:
|
|
1156
1156
|
if (r.length) return wn(r.props, function(s) {
|
|
1157
|
-
switch (
|
|
1157
|
+
switch (vn(s, /(::plac\w+|:read-\w+)/)) {
|
|
1158
1158
|
case ":read-only":
|
|
1159
1159
|
case ":read-write":
|
|
1160
1160
|
return Le([Ge(r, {
|
|
@@ -1187,8 +1187,8 @@ var Bn = function(r, t, i, a) {
|
|
|
1187
1187
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
1188
1188
|
document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
|
|
1189
1189
|
function(y) {
|
|
1190
|
-
for (var u = y.getAttribute("data-emotion").split(" "),
|
|
1191
|
-
s[u[
|
|
1190
|
+
for (var u = y.getAttribute("data-emotion").split(" "), E = 1; E < u.length; E++)
|
|
1191
|
+
s[u[E]] = !0;
|
|
1192
1192
|
d.push(y);
|
|
1193
1193
|
}
|
|
1194
1194
|
);
|
|
@@ -1199,11 +1199,11 @@ var Bn = function(r, t, i, a) {
|
|
|
1199
1199
|
})], x = Fn(f.concat(a, C)), b = function(u) {
|
|
1200
1200
|
return Le(An(u), x);
|
|
1201
1201
|
};
|
|
1202
|
-
c = function(u, w, S
|
|
1203
|
-
h =
|
|
1202
|
+
c = function(u, E, w, S) {
|
|
1203
|
+
h = w, b(u ? u + "{" + E.styles + "}" : E.styles), S && (M.inserted[E.name] = !0);
|
|
1204
1204
|
};
|
|
1205
1205
|
}
|
|
1206
|
-
var
|
|
1206
|
+
var M = {
|
|
1207
1207
|
key: t,
|
|
1208
1208
|
sheet: new gn({
|
|
1209
1209
|
key: t,
|
|
@@ -1218,7 +1218,7 @@ var Bn = function(r, t, i, a) {
|
|
|
1218
1218
|
registered: {},
|
|
1219
1219
|
insert: c
|
|
1220
1220
|
};
|
|
1221
|
-
return
|
|
1221
|
+
return M.sheet.hydrate(d), M;
|
|
1222
1222
|
}, G1 = { exports: {} }, D = {};
|
|
1223
1223
|
/** @license React v16.13.1
|
|
1224
1224
|
* react-is.production.min.js
|
|
@@ -1232,8 +1232,8 @@ var Hr;
|
|
|
1232
1232
|
function Nn() {
|
|
1233
1233
|
if (Hr) return D;
|
|
1234
1234
|
Hr = 1;
|
|
1235
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115,
|
|
1236
|
-
function
|
|
1235
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119;
|
|
1236
|
+
function S(p) {
|
|
1237
1237
|
if (typeof p == "object" && p !== null) {
|
|
1238
1238
|
var A = p.$$typeof;
|
|
1239
1239
|
switch (A) {
|
|
@@ -1250,7 +1250,7 @@ function Nn() {
|
|
|
1250
1250
|
switch (p = p && p.$$typeof, p) {
|
|
1251
1251
|
case d:
|
|
1252
1252
|
case h:
|
|
1253
|
-
case
|
|
1253
|
+
case M:
|
|
1254
1254
|
case b:
|
|
1255
1255
|
case l:
|
|
1256
1256
|
return p;
|
|
@@ -1264,35 +1264,35 @@ function Nn() {
|
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
1266
|
function T(p) {
|
|
1267
|
-
return
|
|
1267
|
+
return S(p) === f;
|
|
1268
1268
|
}
|
|
1269
|
-
return D.AsyncMode = c, D.ConcurrentMode = f, D.ContextConsumer = d, D.ContextProvider = l, D.Element = r, D.ForwardRef = h, D.Fragment = i, D.Lazy =
|
|
1270
|
-
return T(p) ||
|
|
1269
|
+
return D.AsyncMode = c, D.ConcurrentMode = f, D.ContextConsumer = d, D.ContextProvider = l, D.Element = r, D.ForwardRef = h, D.Fragment = i, D.Lazy = M, D.Memo = b, D.Portal = t, D.Profiler = s, D.StrictMode = a, D.Suspense = C, D.isAsyncMode = function(p) {
|
|
1270
|
+
return T(p) || S(p) === c;
|
|
1271
1271
|
}, D.isConcurrentMode = T, D.isContextConsumer = function(p) {
|
|
1272
|
-
return
|
|
1272
|
+
return S(p) === d;
|
|
1273
1273
|
}, D.isContextProvider = function(p) {
|
|
1274
|
-
return
|
|
1274
|
+
return S(p) === l;
|
|
1275
1275
|
}, D.isElement = function(p) {
|
|
1276
1276
|
return typeof p == "object" && p !== null && p.$$typeof === r;
|
|
1277
1277
|
}, D.isForwardRef = function(p) {
|
|
1278
|
-
return
|
|
1278
|
+
return S(p) === h;
|
|
1279
1279
|
}, D.isFragment = function(p) {
|
|
1280
|
-
return
|
|
1280
|
+
return S(p) === i;
|
|
1281
1281
|
}, D.isLazy = function(p) {
|
|
1282
|
-
return
|
|
1282
|
+
return S(p) === M;
|
|
1283
1283
|
}, D.isMemo = function(p) {
|
|
1284
|
-
return
|
|
1284
|
+
return S(p) === b;
|
|
1285
1285
|
}, D.isPortal = function(p) {
|
|
1286
|
-
return
|
|
1286
|
+
return S(p) === t;
|
|
1287
1287
|
}, D.isProfiler = function(p) {
|
|
1288
|
-
return
|
|
1288
|
+
return S(p) === s;
|
|
1289
1289
|
}, D.isStrictMode = function(p) {
|
|
1290
|
-
return
|
|
1290
|
+
return S(p) === a;
|
|
1291
1291
|
}, D.isSuspense = function(p) {
|
|
1292
|
-
return
|
|
1292
|
+
return S(p) === C;
|
|
1293
1293
|
}, D.isValidElementType = function(p) {
|
|
1294
|
-
return typeof p == "string" || typeof p == "function" || p === i || p === f || p === s || p === a || p === C || p === x || typeof p == "object" && p !== null && (p.$$typeof ===
|
|
1295
|
-
}, D.typeOf =
|
|
1294
|
+
return typeof p == "string" || typeof p == "function" || p === i || p === f || p === s || p === a || p === C || p === x || typeof p == "object" && p !== null && (p.$$typeof === M || p.$$typeof === b || p.$$typeof === l || p.$$typeof === d || p.$$typeof === h || p.$$typeof === u || p.$$typeof === E || p.$$typeof === w || p.$$typeof === y);
|
|
1295
|
+
}, D.typeOf = S, D;
|
|
1296
1296
|
}
|
|
1297
1297
|
var B = {};
|
|
1298
1298
|
/** @license React v16.13.1
|
|
@@ -1306,10 +1306,10 @@ var B = {};
|
|
|
1306
1306
|
var Lr;
|
|
1307
1307
|
function jn() {
|
|
1308
1308
|
return Lr || (Lr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1309
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115,
|
|
1310
|
-
function
|
|
1309
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, d = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, C = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119;
|
|
1310
|
+
function S(R) {
|
|
1311
1311
|
return typeof R == "string" || typeof R == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1312
|
-
R === i || R === f || R === s || R === a || R === C || R === x || typeof R == "object" && R !== null && (R.$$typeof ===
|
|
1312
|
+
R === i || R === f || R === s || R === a || R === C || R === x || typeof R == "object" && R !== null && (R.$$typeof === M || R.$$typeof === b || R.$$typeof === l || R.$$typeof === d || R.$$typeof === h || R.$$typeof === u || R.$$typeof === E || R.$$typeof === w || R.$$typeof === y);
|
|
1313
1313
|
}
|
|
1314
1314
|
function T(R) {
|
|
1315
1315
|
if (typeof R == "object" && R !== null) {
|
|
@@ -1330,7 +1330,7 @@ function jn() {
|
|
|
1330
1330
|
switch (Se) {
|
|
1331
1331
|
case d:
|
|
1332
1332
|
case h:
|
|
1333
|
-
case
|
|
1333
|
+
case M:
|
|
1334
1334
|
case b:
|
|
1335
1335
|
case l:
|
|
1336
1336
|
return Se;
|
|
@@ -1343,7 +1343,7 @@ function jn() {
|
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
|
-
var p = c, A = f, k = d, q = l, j = r, oe = h, ye = i, z =
|
|
1346
|
+
var p = c, A = f, k = d, q = l, j = r, oe = h, ye = i, z = M, F = b, N = t, G = s, fe = a, me = C, $e = !1;
|
|
1347
1347
|
function o1(R) {
|
|
1348
1348
|
return $e || ($e = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), De(R) || T(R) === c;
|
|
1349
1349
|
}
|
|
@@ -1366,7 +1366,7 @@ function jn() {
|
|
|
1366
1366
|
return T(R) === i;
|
|
1367
1367
|
}
|
|
1368
1368
|
function Be(R) {
|
|
1369
|
-
return T(R) ===
|
|
1369
|
+
return T(R) === M;
|
|
1370
1370
|
}
|
|
1371
1371
|
function Ze(R) {
|
|
1372
1372
|
return T(R) === b;
|
|
@@ -1383,7 +1383,7 @@ function jn() {
|
|
|
1383
1383
|
function F1(R) {
|
|
1384
1384
|
return T(R) === C;
|
|
1385
1385
|
}
|
|
1386
|
-
B.AsyncMode = p, B.ConcurrentMode = A, B.ContextConsumer = k, B.ContextProvider = q, B.Element = j, B.ForwardRef = oe, B.Fragment = ye, B.Lazy = z, B.Memo = F, B.Portal = N, B.Profiler = G, B.StrictMode = fe, B.Suspense =
|
|
1386
|
+
B.AsyncMode = p, B.ConcurrentMode = A, B.ContextConsumer = k, B.ContextProvider = q, B.Element = j, B.ForwardRef = oe, B.Fragment = ye, B.Lazy = z, B.Memo = F, B.Portal = N, B.Profiler = G, B.StrictMode = fe, B.Suspense = me, B.isAsyncMode = o1, B.isConcurrentMode = De, B.isContextConsumer = s1, B.isContextProvider = l1, B.isElement = c1, B.isForwardRef = _1, B.isFragment = I1, B.isLazy = Be, B.isMemo = Ze, B.isPortal = ke, B.isProfiler = ze, B.isStrictMode = Te, B.isSuspense = F1, B.isValidElementType = S, B.typeOf = T;
|
|
1387
1387
|
}()), B;
|
|
1388
1388
|
}
|
|
1389
1389
|
process.env.NODE_ENV === "production" ? G1.exports = Nn() : G1.exports = jn();
|
|
@@ -1627,7 +1627,7 @@ function ii(e, r, t) {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
var ai = function(r) {
|
|
1629
1629
|
return r();
|
|
1630
|
-
}, oi =
|
|
1630
|
+
}, oi = ve.useInsertionEffect ? ve.useInsertionEffect : !1, si = oi || ai, li = !1, ct = /* @__PURE__ */ ve.createContext(
|
|
1631
1631
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1632
1632
|
// because this module is primarily intended for the browser and node
|
|
1633
1633
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -1644,7 +1644,7 @@ var ci = function(r) {
|
|
|
1644
1644
|
var a = Me(ct);
|
|
1645
1645
|
return r(t, a, i);
|
|
1646
1646
|
});
|
|
1647
|
-
}, di = /* @__PURE__ */
|
|
1647
|
+
}, di = /* @__PURE__ */ ve.createContext({}), A1 = {}.hasOwnProperty, X1 = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", dt = function(r, t) {
|
|
1648
1648
|
var i = {};
|
|
1649
1649
|
for (var a in t)
|
|
1650
1650
|
A1.call(t, a) && (i[a] = t[a]);
|
|
@@ -1661,22 +1661,22 @@ var ci = function(r) {
|
|
|
1661
1661
|
typeof i == "string" && r.registered[i] !== void 0 && (i = r.registered[i]);
|
|
1662
1662
|
var a = e[X1], s = [i], l = "";
|
|
1663
1663
|
typeof e.className == "string" ? l = Xn(r.registered, s, e.className) : e.className != null && (l = e.className + " ");
|
|
1664
|
-
var d = ii(s, void 0,
|
|
1664
|
+
var d = ii(s, void 0, ve.useContext(di));
|
|
1665
1665
|
l += r.key + "-" + d.name;
|
|
1666
1666
|
var c = {};
|
|
1667
1667
|
for (var f in e)
|
|
1668
1668
|
A1.call(e, f) && f !== "css" && f !== X1 && !li && (c[f] = e[f]);
|
|
1669
|
-
return c.className = l, t && (c.ref = t), /* @__PURE__ */
|
|
1669
|
+
return c.className = l, t && (c.ref = t), /* @__PURE__ */ ve.createElement(ve.Fragment, null, /* @__PURE__ */ ve.createElement(pi, {
|
|
1670
1670
|
cache: r,
|
|
1671
1671
|
serialized: d,
|
|
1672
1672
|
isStringTag: typeof a == "string"
|
|
1673
|
-
}), /* @__PURE__ */
|
|
1673
|
+
}), /* @__PURE__ */ ve.createElement(a, c));
|
|
1674
1674
|
}
|
|
1675
1675
|
), pt = ui, pe = r1.Fragment;
|
|
1676
1676
|
function n(e, r, t) {
|
|
1677
1677
|
return A1.call(r, "css") ? r1.jsx(pt, dt(e, r), t) : r1.jsx(e, r, t);
|
|
1678
1678
|
}
|
|
1679
|
-
function
|
|
1679
|
+
function v(e, r, t) {
|
|
1680
1680
|
return A1.call(r, "css") ? r1.jsxs(pt, dt(e, r), t) : r1.jsxs(e, r, t);
|
|
1681
1681
|
}
|
|
1682
1682
|
const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = () => {
|
|
@@ -1728,8 +1728,8 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
1728
1728
|
getSize: s,
|
|
1729
1729
|
getTextColor: r
|
|
1730
1730
|
};
|
|
1731
|
-
},
|
|
1732
|
-
const [C, x] = re(""), { palette: b } = ce(), { getTextColor:
|
|
1731
|
+
}, mi = ({ colorShape: e, shapeBackgroundColor: r, color: t, height: i, width: a, withoutText: s, mode: l, sx: d, variant: c = "default", component: f = "img" }, h) => {
|
|
1732
|
+
const [C, x] = re(""), { palette: b } = ce(), { getTextColor: M, getImageModule: y, getSize: u, getShapeColor: E, getShapeBackgroundColor: w } = yi(), { height: S, width: T } = u({ height: i, variant: c, width: a, withoutText: s }), p = M(t), A = E(e), k = w(r);
|
|
1733
1733
|
if (M1(() => {
|
|
1734
1734
|
f !== "svg" && (async () => {
|
|
1735
1735
|
const q = await y(c, l || b.mode, s);
|
|
@@ -1742,7 +1742,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
1742
1742
|
component: "img",
|
|
1743
1743
|
src: C,
|
|
1744
1744
|
alt: "Tracktor",
|
|
1745
|
-
height:
|
|
1745
|
+
height: S,
|
|
1746
1746
|
width: T,
|
|
1747
1747
|
ref: h,
|
|
1748
1748
|
sx: d
|
|
@@ -1755,8 +1755,8 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
1755
1755
|
sx: {
|
|
1756
1756
|
display: "inline-block",
|
|
1757
1757
|
fontSize: 0,
|
|
1758
|
-
height:
|
|
1759
|
-
maxHeight:
|
|
1758
|
+
height: S,
|
|
1759
|
+
maxHeight: S,
|
|
1760
1760
|
maxWidth: T,
|
|
1761
1761
|
width: T
|
|
1762
1762
|
}
|
|
@@ -1764,23 +1764,23 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
1764
1764
|
);
|
|
1765
1765
|
if (s) {
|
|
1766
1766
|
const q = e || b.primary.main;
|
|
1767
|
-
return /* @__PURE__ */
|
|
1767
|
+
return /* @__PURE__ */ v(H, { component: "svg", viewBox: "0 0 32 32", fill: "none", sx: { height: S, width: T, ...d }, children: [
|
|
1768
1768
|
/* @__PURE__ */ n("path", { d: "M17 0V15H32C32 6.71026 25.2897 0 17 0Z", fill: q }),
|
|
1769
1769
|
/* @__PURE__ */ n("path", { d: "M0 0V15H15C15 6.71026 8.27968 0 0 0Z", fill: q }),
|
|
1770
1770
|
/* @__PURE__ */ n("path", { d: "M14.9955 16C14.9955 16 15.0056 16 14.9955 16V32H0C0 23.1576 6.71832 16 14.9955 16Z", fill: q }),
|
|
1771
1771
|
/* @__PURE__ */ n("path", { d: "M32 16V32H17C17 23.1576 23.7103 16 32 16Z", fill: q })
|
|
1772
1772
|
] });
|
|
1773
1773
|
}
|
|
1774
|
-
return c === "pricing" ? /* @__PURE__ */
|
|
1774
|
+
return c === "pricing" ? /* @__PURE__ */ v(
|
|
1775
1775
|
H,
|
|
1776
1776
|
{
|
|
1777
1777
|
component: "svg",
|
|
1778
1778
|
viewBox: "0 0 147 44",
|
|
1779
1779
|
fill: "none",
|
|
1780
|
-
sx: { height:
|
|
1780
|
+
sx: { height: S, width: T, ...d },
|
|
1781
1781
|
ref: h,
|
|
1782
1782
|
children: [
|
|
1783
|
-
/* @__PURE__ */
|
|
1783
|
+
/* @__PURE__ */ v("g", { clipPath: "url(#clip0_12018_69701)", children: [
|
|
1784
1784
|
/* @__PURE__ */ n(
|
|
1785
1785
|
"path",
|
|
1786
1786
|
{
|
|
@@ -1872,13 +1872,13 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
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
|
-
) : c === "supplier" ? /* @__PURE__ */
|
|
1875
|
+
) : c === "supplier" ? /* @__PURE__ */ v(
|
|
1876
1876
|
H,
|
|
1877
1877
|
{
|
|
1878
1878
|
component: "svg",
|
|
1879
1879
|
viewBox: "0 0 195 24",
|
|
1880
1880
|
fill: "none",
|
|
1881
|
-
sx: { height:
|
|
1881
|
+
sx: { height: S, width: T, ...d },
|
|
1882
1882
|
ref: h,
|
|
1883
1883
|
children: [
|
|
1884
1884
|
/* @__PURE__ */ n(
|
|
@@ -1888,7 +1888,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
1888
1888
|
fill: k
|
|
1889
1889
|
}
|
|
1890
1890
|
),
|
|
1891
|
-
/* @__PURE__ */
|
|
1891
|
+
/* @__PURE__ */ v("g", { clipPath: "url(#clip0_14141_226706)", children: [
|
|
1892
1892
|
/* @__PURE__ */ n("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill: A }),
|
|
1893
1893
|
/* @__PURE__ */ n("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill: A }),
|
|
1894
1894
|
/* @__PURE__ */ n(
|
|
@@ -1986,13 +1986,13 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
1986
1986
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_14141_226706", children: /* @__PURE__ */ n("rect", { width: "16", height: "16", fill: "white", transform: "translate(4 4)" }) }) })
|
|
1987
1987
|
]
|
|
1988
1988
|
}
|
|
1989
|
-
) : /* @__PURE__ */
|
|
1989
|
+
) : /* @__PURE__ */ v(
|
|
1990
1990
|
H,
|
|
1991
1991
|
{
|
|
1992
1992
|
component: "svg",
|
|
1993
1993
|
viewBox: "0 0 105 24",
|
|
1994
1994
|
fill: "none",
|
|
1995
|
-
sx: { height:
|
|
1995
|
+
sx: { height: S, width: T, ...d },
|
|
1996
1996
|
ref: h,
|
|
1997
1997
|
children: [
|
|
1998
1998
|
/* @__PURE__ */ n(
|
|
@@ -2002,7 +2002,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2002
2002
|
fill: k
|
|
2003
2003
|
}
|
|
2004
2004
|
),
|
|
2005
|
-
/* @__PURE__ */
|
|
2005
|
+
/* @__PURE__ */ v("g", { clipPath: "url(#clip0_14141_226601)", children: [
|
|
2006
2006
|
/* @__PURE__ */ n("path", { d: "M12.3637 4C12.3629 4 12.3622 4 12.3615 4V11.6381H20C19.9993 7.41966 16.5811 4 12.3637 4Z", fill: A }),
|
|
2007
2007
|
/* @__PURE__ */ n("path", { d: "M4.0022 4C4.00147 4 4.00073 4 4 4V11.6381H11.6386C11.6378 7.41966 8.2196 4 4.0022 4Z", fill: A }),
|
|
2008
2008
|
/* @__PURE__ */ n(
|
|
@@ -2094,7 +2094,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2094
2094
|
]
|
|
2095
2095
|
}
|
|
2096
2096
|
);
|
|
2097
|
-
},
|
|
2097
|
+
}, vi = ue(mi), Ca = ({ component: e = "a", ...r }) => /* @__PURE__ */ n(Bt, { component: e, onClick: (t) => t.preventDefault(), ...r }), wi = ({ children: e, sx: r, ...t }, i) => /* @__PURE__ */ n(
|
|
2098
2098
|
J1,
|
|
2099
2099
|
{
|
|
2100
2100
|
sx: {
|
|
@@ -2116,7 +2116,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2116
2116
|
}
|
|
2117
2117
|
), xa = ue(wi), Ei = ({ className: e, style: r, minRows: t = 4, ...i }, a) => {
|
|
2118
2118
|
const { palette: s, shape: l, spacing: d } = ce();
|
|
2119
|
-
return /* @__PURE__ */
|
|
2119
|
+
return /* @__PURE__ */ v(pe, { children: [
|
|
2120
2120
|
/* @__PURE__ */ n(
|
|
2121
2121
|
Ke,
|
|
2122
2122
|
{
|
|
@@ -2279,8 +2279,8 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2279
2279
|
Footer: h,
|
|
2280
2280
|
Search: C = r.Logo,
|
|
2281
2281
|
Logo: x = r.Logo
|
|
2282
|
-
} = Me(Ve), { palette: b } = ce(),
|
|
2283
|
-
return /* @__PURE__ */
|
|
2282
|
+
} = Me(Ve), { palette: b } = ce(), M = b.mode === "dark" ? b.background.default : b.primary.black, y = a && l ? "none" : `solid 1px ${b.divider}`, E = t ? !(!a && !s) : !0;
|
|
2283
|
+
return /* @__PURE__ */ v(
|
|
2284
2284
|
H,
|
|
2285
2285
|
{
|
|
2286
2286
|
sx: {
|
|
@@ -2291,7 +2291,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2291
2291
|
},
|
|
2292
2292
|
component: "aside",
|
|
2293
2293
|
children: [
|
|
2294
|
-
x && /* @__PURE__ */
|
|
2294
|
+
x && /* @__PURE__ */ v(
|
|
2295
2295
|
Z,
|
|
2296
2296
|
{
|
|
2297
2297
|
sx: {
|
|
@@ -2318,13 +2318,13 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2318
2318
|
children: x
|
|
2319
2319
|
}
|
|
2320
2320
|
),
|
|
2321
|
-
a && /* @__PURE__ */ n(we, { onClick: i, children: /* @__PURE__ */ n(cr, { color: b.getContrastText(
|
|
2321
|
+
a && /* @__PURE__ */ n(we, { onClick: i, children: /* @__PURE__ */ n(cr, { color: b.getContrastText(M) }) })
|
|
2322
2322
|
]
|
|
2323
2323
|
}
|
|
2324
2324
|
),
|
|
2325
|
-
C &&
|
|
2325
|
+
C && E && /* @__PURE__ */ n(H, { p: 2, children: C }),
|
|
2326
2326
|
/* @__PURE__ */ n(H, { flex: 1, children: e }),
|
|
2327
|
-
c && /* @__PURE__ */ n(H, { sx: Xe.bottomLink, children: /* @__PURE__ */ n(dr, { component: f, ...c, children: /* @__PURE__ */
|
|
2327
|
+
c && /* @__PURE__ */ n(H, { sx: Xe.bottomLink, children: /* @__PURE__ */ n(dr, { component: f, ...c, children: /* @__PURE__ */ v(Z, { alignItems: "center", justifyContent: "center", spacing: 1, direction: "row", children: [
|
|
2328
2328
|
(c == null ? void 0 : c.icon) && /* @__PURE__ */ n(H, { component: "span", display: "flex", children: c == null ? void 0 : c.icon }),
|
|
2329
2329
|
(c == null ? void 0 : c.label) && /* @__PURE__ */ n(H, { component: "span", display: "flex", children: c == null ? void 0 : c.label })
|
|
2330
2330
|
] }) }) }),
|
|
@@ -2381,9 +2381,9 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2381
2381
|
return i;
|
|
2382
2382
|
if (i && typeof i == "object" && "label" in i) {
|
|
2383
2383
|
const { count: s, url: l, label: d, icon: c, active: f, disabled: h } = i, C = `${l}-${d}-${a}`;
|
|
2384
|
-
return /* @__PURE__ */ n(Ee, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ n(dr, { url: l, component: t, active: f, disabled: h, children: /* @__PURE__ */
|
|
2384
|
+
return /* @__PURE__ */ n(Ee, { disableGutters: !0, sx: { paddingY: 0.5 }, children: /* @__PURE__ */ n(dr, { url: l, component: t, active: f, disabled: h, children: /* @__PURE__ */ v(Z, { direction: "row", component: "span", spacing: 1.5, width: "100%", alignItems: "center", children: [
|
|
2385
2385
|
c && /* @__PURE__ */ n(H, { component: "span", display: "flex", alignItems: "center", children: c }),
|
|
2386
|
-
/* @__PURE__ */
|
|
2386
|
+
/* @__PURE__ */ v(Z, { direction: "row", justifyContent: "space-between", flex: 1, children: [
|
|
2387
2387
|
d,
|
|
2388
2388
|
s && /* @__PURE__ */ n(Qe, { color: "warning", size: "small", label: s, variant: "rounded" })
|
|
2389
2389
|
] })
|
|
@@ -2401,7 +2401,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2401
2401
|
}
|
|
2402
2402
|
}, Ve = tr(ft), Ri = () => {
|
|
2403
2403
|
const { items: e, disableResponsive: r, isMobile: t, isTablet: i, isDrawerOpen: a, closeDrawerMenu: s, sideBarWidth: l, openDrawerMenu: d } = Me(Ve);
|
|
2404
|
-
return (t || i) && !r ? /* @__PURE__ */
|
|
2404
|
+
return (t || i) && !r ? /* @__PURE__ */ v(pe, { children: [
|
|
2405
2405
|
/* @__PURE__ */ n(Mi, {}),
|
|
2406
2406
|
/* @__PURE__ */ n(Nt, { anchor: "left", open: a, onClose: s, onOpen: d, children: /* @__PURE__ */ n(Dr, { children: /* @__PURE__ */ n(Br, { items: e }) }) })
|
|
2407
2407
|
] }) : /* @__PURE__ */ n(Dr, { width: l, children: /* @__PURE__ */ n(Br, { items: e }) });
|
|
@@ -2418,11 +2418,11 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2418
2418
|
bottomLink: f,
|
|
2419
2419
|
sideBarWidth: h = 260
|
|
2420
2420
|
}) => {
|
|
2421
|
-
const { breakpoints: C } = ce(), x = e1(C.down("sm")), b = e1(C.between("sm", "md")), [
|
|
2421
|
+
const { breakpoints: C } = ce(), x = e1(C.down("sm")), b = e1(C.between("sm", "md")), [M, y] = re(ft.isDrawerOpen), u = ne(() => {
|
|
2422
2422
|
y(!1);
|
|
2423
|
-
}, []),
|
|
2423
|
+
}, []), E = ne(() => {
|
|
2424
2424
|
y(!0);
|
|
2425
|
-
}, []),
|
|
2425
|
+
}, []), w = ir(
|
|
2426
2426
|
() => ({
|
|
2427
2427
|
AppBar: e,
|
|
2428
2428
|
bottomLink: f,
|
|
@@ -2431,24 +2431,24 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2431
2431
|
enableSearchFocusShortcut: l,
|
|
2432
2432
|
Footer: a,
|
|
2433
2433
|
hideSearchDesktop: c,
|
|
2434
|
-
isDrawerOpen:
|
|
2434
|
+
isDrawerOpen: M,
|
|
2435
2435
|
isMobile: x,
|
|
2436
2436
|
isTablet: b,
|
|
2437
2437
|
items: s,
|
|
2438
2438
|
Logo: i,
|
|
2439
2439
|
NavLink: r,
|
|
2440
|
-
openDrawerMenu:
|
|
2440
|
+
openDrawerMenu: E,
|
|
2441
2441
|
Search: t,
|
|
2442
2442
|
sideBarWidth: h
|
|
2443
2443
|
}),
|
|
2444
2444
|
[
|
|
2445
2445
|
u,
|
|
2446
2446
|
d,
|
|
2447
|
-
|
|
2447
|
+
M,
|
|
2448
2448
|
x,
|
|
2449
2449
|
b,
|
|
2450
2450
|
s,
|
|
2451
|
-
|
|
2451
|
+
E,
|
|
2452
2452
|
h,
|
|
2453
2453
|
i,
|
|
2454
2454
|
r,
|
|
@@ -2460,8 +2460,8 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2460
2460
|
a
|
|
2461
2461
|
]
|
|
2462
2462
|
);
|
|
2463
|
-
return /* @__PURE__ */ n(Ve.Provider, { value:
|
|
2464
|
-
},
|
|
2463
|
+
return /* @__PURE__ */ n(Ve.Provider, { value: w, children: /* @__PURE__ */ n(Ri, {}) });
|
|
2464
|
+
}, ma = qr(ki), Ti = "No data", Zr = {
|
|
2465
2465
|
large: 80,
|
|
2466
2466
|
medium: 50,
|
|
2467
2467
|
small: 40
|
|
@@ -2489,10 +2489,10 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2489
2489
|
...c,
|
|
2490
2490
|
children: /* @__PURE__ */ n(H, { flex: "auto", minWidth: 0, children: e })
|
|
2491
2491
|
}
|
|
2492
|
-
),
|
|
2492
|
+
), va = qr(ue(Ii)), Fi = ["warning", "info", "success", "error", "primary", "secondary"], Hi = (e) => Fi.includes(e), Li = ({ color: e, sx: r, variant: t = "filled", fontSize: i = "medium" }, a) => {
|
|
2493
2493
|
var h;
|
|
2494
2494
|
const { palette: s } = ce(), l = s.mode === "dark" ? s.text.disabled : s.grey[400], d = e || l, c = Hi(e) ? (h = s == null ? void 0 : s[e]) == null ? void 0 : h.main : d, f = he(c, 0.2);
|
|
2495
|
-
return /* @__PURE__ */
|
|
2495
|
+
return /* @__PURE__ */ v(
|
|
2496
2496
|
be,
|
|
2497
2497
|
{
|
|
2498
2498
|
viewBox: "0 0 16 16",
|
|
@@ -2544,13 +2544,13 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2544
2544
|
endIcon: l
|
|
2545
2545
|
}) => {
|
|
2546
2546
|
const d = s || l;
|
|
2547
|
-
return r && i ? /* @__PURE__ */
|
|
2547
|
+
return r && i ? /* @__PURE__ */ v(Z, { direction: i === "start" ? "row" : "row-reverse", alignItems: "center", children: [
|
|
2548
2548
|
/* @__PURE__ */ n(E1, { size: a, position: "relative", loadingPosition: i }),
|
|
2549
2549
|
/* @__PURE__ */ n(H, { component: "span", children: e })
|
|
2550
|
-
] }) : r && !t && !d ? /* @__PURE__ */
|
|
2550
|
+
] }) : r && !t && !d ? /* @__PURE__ */ v(pe, { children: [
|
|
2551
2551
|
r && !t && /* @__PURE__ */ n(E1, { size: a }),
|
|
2552
2552
|
/* @__PURE__ */ n(H, { component: "span", sx: { opacity: 0 }, children: e })
|
|
2553
|
-
] }) : r && t ? /* @__PURE__ */
|
|
2553
|
+
] }) : r && t ? /* @__PURE__ */ v(pe, { children: [
|
|
2554
2554
|
" ",
|
|
2555
2555
|
t,
|
|
2556
2556
|
" "
|
|
@@ -2600,7 +2600,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2600
2600
|
}, c = (f, h) => (f && (t == null || t(f, h), l(!1)), (C) => {
|
|
2601
2601
|
t == null || t(C, h), l(!1);
|
|
2602
2602
|
});
|
|
2603
|
-
return /* @__PURE__ */ n(jt, { open: r, onClose: c, ...a, children: /* @__PURE__ */
|
|
2603
|
+
return /* @__PURE__ */ n(jt, { open: r, onClose: c, ...a, children: /* @__PURE__ */ v(pe, { children: [
|
|
2604
2604
|
/* @__PURE__ */ n(
|
|
2605
2605
|
we,
|
|
2606
2606
|
{
|
|
@@ -2676,11 +2676,11 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2676
2676
|
const { w: i, h: a } = { h: Number(r), w: Number(e) };
|
|
2677
2677
|
return i < 25 || a < 25 ? { borderRadius: `${t.borderRadiusS}px`, padding: 0.5 } : i < 50 || a < 50 ? { borderRadius: `${t.borderRadius}px`, padding: 1 } : { borderRadius: `${t.borderRadiusL}px`, padding: 1.5 };
|
|
2678
2678
|
}, zr = ({ width: e, height: r, sx: t }) => /* @__PURE__ */ n(se, { variant: "rounded", width: e, height: r, sx: t }), Ra = ({ src: e, isLoading: r, sx: t, width: i = 64, height: a = 64, alt: s = "Article" }) => {
|
|
2679
|
-
const [l, d] = re(), [c, f] = re(), { shape: h } = ce(), { borderRadius: C, padding: x } = Di(i, a, h), b = { borderRadius: C, flexShrink: 0 },
|
|
2680
|
-
f(void 0), d(
|
|
2679
|
+
const [l, d] = re(), [c, f] = re(), { shape: h } = ce(), { borderRadius: C, padding: x } = Di(i, a, h), b = { borderRadius: C, flexShrink: 0 }, M = e && !l && !c, y = !e || c && !l || c && l, u = (E) => {
|
|
2680
|
+
f(void 0), d(E);
|
|
2681
2681
|
};
|
|
2682
|
-
return r ? /* @__PURE__ */ n(zr, { width: i, height: a, sx: b }) : /* @__PURE__ */
|
|
2683
|
-
|
|
2682
|
+
return r ? /* @__PURE__ */ n(zr, { width: i, height: a, sx: b }) : /* @__PURE__ */ v(pe, { children: [
|
|
2683
|
+
M && /* @__PURE__ */ n(zr, { width: i, height: a, sx: b }),
|
|
2684
2684
|
y && /* @__PURE__ */ n(
|
|
2685
2685
|
Z,
|
|
2686
2686
|
{
|
|
@@ -2689,12 +2689,12 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2689
2689
|
width: i,
|
|
2690
2690
|
height: a,
|
|
2691
2691
|
sx: {
|
|
2692
|
-
background: ({ palette:
|
|
2692
|
+
background: ({ palette: E }) => E.background.paper,
|
|
2693
2693
|
padding: x,
|
|
2694
2694
|
...b,
|
|
2695
2695
|
...t
|
|
2696
2696
|
},
|
|
2697
|
-
children: /* @__PURE__ */
|
|
2697
|
+
children: /* @__PURE__ */ v("svg", { width: "100%", height: "100%", viewBox: "0 0 39 38", fill: "none", children: [
|
|
2698
2698
|
/* @__PURE__ */ n(
|
|
2699
2699
|
"path",
|
|
2700
2700
|
{
|
|
@@ -2783,17 +2783,17 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2783
2783
|
open: C,
|
|
2784
2784
|
onClose: x
|
|
2785
2785
|
}) => {
|
|
2786
|
-
const [b,
|
|
2787
|
-
|
|
2786
|
+
const [b, M] = re(!1), [y, u] = re(!1), E = !(e != null && e.endsWith(".pdf")) && !e.startsWith("blob:"), w = /\.pdf$/i.test(e.toLowerCase()), S = ar(null), T = y ? Bi : r || e, p = () => {
|
|
2787
|
+
M(!b);
|
|
2788
2788
|
}, A = ne(() => {
|
|
2789
2789
|
u(!0);
|
|
2790
2790
|
}, []);
|
|
2791
2791
|
return M1(() => {
|
|
2792
|
-
const k =
|
|
2792
|
+
const k = S.current;
|
|
2793
2793
|
return k == null || k.addEventListener("error", A), () => {
|
|
2794
2794
|
k == null || k.removeEventListener("error", A);
|
|
2795
2795
|
};
|
|
2796
|
-
}, [A,
|
|
2796
|
+
}, [A, S]), /* @__PURE__ */ v(pe, { children: [
|
|
2797
2797
|
!h && /* @__PURE__ */ n(
|
|
2798
2798
|
H,
|
|
2799
2799
|
{
|
|
@@ -2813,13 +2813,13 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2813
2813
|
children: /* @__PURE__ */ n(
|
|
2814
2814
|
H,
|
|
2815
2815
|
{
|
|
2816
|
-
component:
|
|
2816
|
+
component: E ? "img" : "iframe",
|
|
2817
2817
|
overflow: "hidden",
|
|
2818
|
-
height:
|
|
2818
|
+
height: E ? "100%" : "auto",
|
|
2819
2819
|
width: "100%",
|
|
2820
2820
|
src: T,
|
|
2821
|
-
ref:
|
|
2822
|
-
sx:
|
|
2821
|
+
ref: S,
|
|
2822
|
+
sx: E ? qe.thumbImage : qe.thumbFile
|
|
2823
2823
|
},
|
|
2824
2824
|
T
|
|
2825
2825
|
)
|
|
@@ -2828,12 +2828,12 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2828
2828
|
!f && /* @__PURE__ */ n(ht, { open: C || b, onClose: x || p, src: e, title: t, children: /* @__PURE__ */ n(
|
|
2829
2829
|
H,
|
|
2830
2830
|
{
|
|
2831
|
-
component:
|
|
2831
|
+
component: w ? "iframe" : "img",
|
|
2832
2832
|
src: e,
|
|
2833
2833
|
width: l,
|
|
2834
2834
|
height: d,
|
|
2835
2835
|
sx: {
|
|
2836
|
-
...
|
|
2836
|
+
...w ? qe.viewFile : qe.viewImage,
|
|
2837
2837
|
...c
|
|
2838
2838
|
}
|
|
2839
2839
|
}
|
|
@@ -2854,11 +2854,11 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2854
2854
|
Footer: C,
|
|
2855
2855
|
Collapse: x
|
|
2856
2856
|
}) => {
|
|
2857
|
-
const [b,
|
|
2857
|
+
const [b, M] = re(!1), y = x || !!(d != null && d.length);
|
|
2858
2858
|
return M1(() => {
|
|
2859
|
-
c &&
|
|
2860
|
-
}, [c]), /* @__PURE__ */
|
|
2861
|
-
/* @__PURE__ */ n(H, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ n(Z, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */
|
|
2859
|
+
c && M(!0);
|
|
2860
|
+
}, [c]), /* @__PURE__ */ v(Z, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
|
|
2861
|
+
/* @__PURE__ */ n(H, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ n(Z, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */ v(pe, { children: [
|
|
2862
2862
|
h || /* @__PURE__ */ n(x1, { color: i ? "secondary" : "primary" }),
|
|
2863
2863
|
/* @__PURE__ */ n(H, { sx: { flex: 1 }, children: !t && /* @__PURE__ */ n(
|
|
2864
2864
|
Gr,
|
|
@@ -2873,7 +2873,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2873
2873
|
}
|
|
2874
2874
|
) })
|
|
2875
2875
|
] }) }) }),
|
|
2876
|
-
/* @__PURE__ */
|
|
2876
|
+
/* @__PURE__ */ v(
|
|
2877
2877
|
Z,
|
|
2878
2878
|
{
|
|
2879
2879
|
flex: 1,
|
|
@@ -2890,15 +2890,15 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2890
2890
|
padding: 1.5
|
|
2891
2891
|
},
|
|
2892
2892
|
children: [
|
|
2893
|
-
/* @__PURE__ */
|
|
2894
|
-
/* @__PURE__ */
|
|
2895
|
-
/* @__PURE__ */
|
|
2893
|
+
/* @__PURE__ */ v(Z, { spacing: 1, justifyContent: "space-between", direction: "row", children: [
|
|
2894
|
+
/* @__PURE__ */ v(H, { children: [
|
|
2895
|
+
/* @__PURE__ */ v(
|
|
2896
2896
|
Z,
|
|
2897
2897
|
{
|
|
2898
2898
|
direction: "row",
|
|
2899
2899
|
alignItems: "center",
|
|
2900
2900
|
sx: { cursor: y ? "pointer" : "default" },
|
|
2901
|
-
onClick: () =>
|
|
2901
|
+
onClick: () => M((u) => !u),
|
|
2902
2902
|
children: [
|
|
2903
2903
|
/* @__PURE__ */ n(
|
|
2904
2904
|
U,
|
|
@@ -2943,13 +2943,13 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2943
2943
|
] }),
|
|
2944
2944
|
C,
|
|
2945
2945
|
x && /* @__PURE__ */ n(Sr, { in: b, children: x }),
|
|
2946
|
-
!!(d != null && d.length) && /* @__PURE__ */ n(Sr, { in: b, children: /* @__PURE__ */ n(Z, { marginTop: 3, spacing: 3, children: d == null ? void 0 : d.map((u,
|
|
2946
|
+
!!(d != null && d.length) && /* @__PURE__ */ n(Sr, { in: b, children: /* @__PURE__ */ n(Z, { marginTop: 3, spacing: 3, children: d == null ? void 0 : d.map((u, E) => {
|
|
2947
2947
|
var T, p, A, k;
|
|
2948
|
-
const
|
|
2949
|
-
return /* @__PURE__ */
|
|
2948
|
+
const w = `${u.title}-${E}`, S = Array.isArray(u == null ? void 0 : u.file) ? u == null ? void 0 : u.file[0] : u == null ? void 0 : u.file;
|
|
2949
|
+
return /* @__PURE__ */ v(Z, { direction: "row", spacing: 1, minWidth: 0, children: [
|
|
2950
2950
|
/* @__PURE__ */ n(zi, { sx: { height: 18, paddingTop: 0.5, width: 18 } }),
|
|
2951
|
-
/* @__PURE__ */
|
|
2952
|
-
/* @__PURE__ */
|
|
2951
|
+
/* @__PURE__ */ v(Z, { minWidth: 0, children: [
|
|
2952
|
+
/* @__PURE__ */ v(Z, { direction: "row", alignItems: "center", spacing: 1, overflow: "hidden", children: [
|
|
2953
2953
|
(u == null ? void 0 : u.title) && /* @__PURE__ */ n(
|
|
2954
2954
|
Rr,
|
|
2955
2955
|
{
|
|
@@ -2989,11 +2989,11 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
2989
2989
|
children: u == null ? void 0 : u.subtitle
|
|
2990
2990
|
}
|
|
2991
2991
|
) }),
|
|
2992
|
-
(u == null ? void 0 : u.file) && /* @__PURE__ */
|
|
2993
|
-
|
|
2992
|
+
(u == null ? void 0 : u.file) && /* @__PURE__ */ v(Z, { direction: "row", marginTop: 1, spacing: 0.5, children: [
|
|
2993
|
+
S && /* @__PURE__ */ n(
|
|
2994
2994
|
Zi,
|
|
2995
2995
|
{
|
|
2996
|
-
src:
|
|
2996
|
+
src: S,
|
|
2997
2997
|
sx: {
|
|
2998
2998
|
borderRadius: 0.5,
|
|
2999
2999
|
cursor: "pointer",
|
|
@@ -3019,7 +3019,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3019
3019
|
)
|
|
3020
3020
|
] })
|
|
3021
3021
|
] })
|
|
3022
|
-
] },
|
|
3022
|
+
] }, w);
|
|
3023
3023
|
}) }) })
|
|
3024
3024
|
]
|
|
3025
3025
|
}
|
|
@@ -3051,32 +3051,32 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3051
3051
|
"data-testid": l
|
|
3052
3052
|
}) => {
|
|
3053
3053
|
const [d, c] = re("");
|
|
3054
|
-
return r ? /* @__PURE__ */ n(B1, { sx: i, "data-test": s, "data-testid": l, children: /* @__PURE__ */
|
|
3055
|
-
/* @__PURE__ */
|
|
3054
|
+
return r ? /* @__PURE__ */ n(B1, { sx: i, "data-test": s, "data-testid": l, children: /* @__PURE__ */ v(Z, { spacing: 3, children: [
|
|
3055
|
+
/* @__PURE__ */ v(Z, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
|
|
3056
3056
|
/* @__PURE__ */ n(x1, {}),
|
|
3057
|
-
/* @__PURE__ */
|
|
3057
|
+
/* @__PURE__ */ v(Z, { children: [
|
|
3058
3058
|
/* @__PURE__ */ n(U, { children: /* @__PURE__ */ n(se, { width: 100 }) }),
|
|
3059
3059
|
/* @__PURE__ */ n(U, { variant: "body2", children: /* @__PURE__ */ n(se, { width: 130 }) })
|
|
3060
3060
|
] })
|
|
3061
3061
|
] }),
|
|
3062
|
-
/* @__PURE__ */
|
|
3062
|
+
/* @__PURE__ */ v(Z, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
|
|
3063
3063
|
/* @__PURE__ */ n(x1, {}),
|
|
3064
|
-
/* @__PURE__ */
|
|
3064
|
+
/* @__PURE__ */ v(Z, { children: [
|
|
3065
3065
|
/* @__PURE__ */ n(U, { children: /* @__PURE__ */ n(se, { width: 150 }) }),
|
|
3066
3066
|
/* @__PURE__ */ n(U, { variant: "body2", children: /* @__PURE__ */ n(se, { width: 100, height: 20 }) })
|
|
3067
3067
|
] })
|
|
3068
3068
|
] }),
|
|
3069
|
-
/* @__PURE__ */
|
|
3069
|
+
/* @__PURE__ */ v(Z, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
|
|
3070
3070
|
/* @__PURE__ */ n(x1, {}),
|
|
3071
|
-
/* @__PURE__ */
|
|
3071
|
+
/* @__PURE__ */ v(Z, { children: [
|
|
3072
3072
|
/* @__PURE__ */ n(U, { children: /* @__PURE__ */ n(se, { width: 80 }) }),
|
|
3073
3073
|
/* @__PURE__ */ n(U, { variant: "body2", children: /* @__PURE__ */ n(se, { width: 110, height: 20 }) })
|
|
3074
3074
|
] })
|
|
3075
3075
|
] })
|
|
3076
|
-
] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(B1, { sx: i, children: /* @__PURE__ */ n(Q1, { severity: "info", children: t }) }) : /* @__PURE__ */
|
|
3076
|
+
] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(B1, { sx: i, children: /* @__PURE__ */ n(Q1, { severity: "info", children: t }) }) : /* @__PURE__ */ v(pe, { children: [
|
|
3077
3077
|
/* @__PURE__ */ n(B1, { sx: i, "data-test": s, "data-testid": l, children: e == null ? void 0 : e.map(
|
|
3078
|
-
({ Action: f, Collapse: h, collapseItems: C, collapseDefaultOpen: x, subtitle: b, key:
|
|
3079
|
-
const A = `${
|
|
3078
|
+
({ Action: f, Collapse: h, collapseItems: C, collapseDefaultOpen: x, subtitle: b, key: M, active: y, Footer: u, Icon: E, onClick: w, tag: S, title: T }, p) => {
|
|
3079
|
+
const A = `${M}-${p}-${T}`, k = p === e.length - 1;
|
|
3080
3080
|
return /* @__PURE__ */ n(
|
|
3081
3081
|
ji,
|
|
3082
3082
|
{
|
|
@@ -3088,10 +3088,10 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3088
3088
|
active: y,
|
|
3089
3089
|
title: T,
|
|
3090
3090
|
subtitle: b,
|
|
3091
|
-
Icon:
|
|
3091
|
+
Icon: E,
|
|
3092
3092
|
isLastElement: k,
|
|
3093
|
-
onClick:
|
|
3094
|
-
tag:
|
|
3093
|
+
onClick: w,
|
|
3094
|
+
tag: S,
|
|
3095
3095
|
variant: a
|
|
3096
3096
|
},
|
|
3097
3097
|
A
|
|
@@ -3102,9 +3102,9 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3102
3102
|
] });
|
|
3103
3103
|
}, Ta = ({ Main: e, Sidebar: r, AppBar: t }) => {
|
|
3104
3104
|
const { breakpoints: i } = ce(), a = ar(null), s = e1(i.down("md")), l = r && nr(r, { AppBar: t });
|
|
3105
|
-
return /* @__PURE__ */
|
|
3105
|
+
return /* @__PURE__ */ v(Z, { height: "100%", children: [
|
|
3106
3106
|
!s && t,
|
|
3107
|
-
/* @__PURE__ */
|
|
3107
|
+
/* @__PURE__ */ v(Z, { height: "100%", direction: s ? "column" : "row", minHeight: 0, children: [
|
|
3108
3108
|
l,
|
|
3109
3109
|
/* @__PURE__ */ n(
|
|
3110
3110
|
H,
|
|
@@ -3382,7 +3382,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3382
3382
|
}, Yi = ({ sx: e, ...r }) => {
|
|
3383
3383
|
var t, i, a, s, l, d;
|
|
3384
3384
|
return /* @__PURE__ */ n(
|
|
3385
|
-
|
|
3385
|
+
m1,
|
|
3386
3386
|
{
|
|
3387
3387
|
variant: "rounded",
|
|
3388
3388
|
sx: {
|
|
@@ -3416,7 +3416,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3416
3416
|
}
|
|
3417
3417
|
);
|
|
3418
3418
|
}, Gi = ue(({ sx: e, InputProps: r, type: t = "search", ...i }, a) => {
|
|
3419
|
-
var s, l, d, c, f, h, C, x, b,
|
|
3419
|
+
var s, l, d, c, f, h, C, x, b, M;
|
|
3420
3420
|
return /* @__PURE__ */ n(
|
|
3421
3421
|
K1,
|
|
3422
3422
|
{
|
|
@@ -3438,7 +3438,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3438
3438
|
},
|
|
3439
3439
|
// Border focus
|
|
3440
3440
|
"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
3441
|
-
borderColor: (
|
|
3441
|
+
borderColor: (M = (b = I == null ? void 0 : I.palette) == null ? void 0 : b.primary) == null ? void 0 : M.main
|
|
3442
3442
|
},
|
|
3443
3443
|
maxWidth: 400,
|
|
3444
3444
|
...e,
|
|
@@ -3448,8 +3448,8 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3448
3448
|
},
|
|
3449
3449
|
InputProps: {
|
|
3450
3450
|
autoComplete: "off",
|
|
3451
|
-
startAdornment: t === "search" && /* @__PURE__ */ n(b1, { position: "start", children: /* @__PURE__ */ n(be, { focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: /* @__PURE__ */
|
|
3452
|
-
/* @__PURE__ */
|
|
3451
|
+
startAdornment: t === "search" && /* @__PURE__ */ n(b1, { position: "start", children: /* @__PURE__ */ n(be, { focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: /* @__PURE__ */ v("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3452
|
+
/* @__PURE__ */ v("g", { clipPath: "url(#clip0_14432_13952)", children: [
|
|
3453
3453
|
/* @__PURE__ */ n(
|
|
3454
3454
|
"path",
|
|
3455
3455
|
{
|
|
@@ -3491,7 +3491,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3491
3491
|
position: x = "static",
|
|
3492
3492
|
elevation: b = 0
|
|
3493
3493
|
}) => {
|
|
3494
|
-
const { breakpoints:
|
|
3494
|
+
const { breakpoints: M } = ce(), { closeMenu: y, isMenuOpen: u, anchorMenu: E, openMenu: w } = Xi(), { menuItems: S, ...T } = s || {}, p = e1(M.down("sm")), A = e1(M.between("sm", "md")), k = p || A, q = {
|
|
3495
3495
|
logoContainer: {
|
|
3496
3496
|
a: {
|
|
3497
3497
|
display: "flex"
|
|
@@ -3521,33 +3521,33 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3521
3521
|
paddingX: p ? 1 : 3,
|
|
3522
3522
|
...C
|
|
3523
3523
|
};
|
|
3524
|
-
return f ? /* @__PURE__ */ n(Z1, { position: x, elevation: b, sx: q, children: f }) : /* @__PURE__ */
|
|
3525
|
-
/* @__PURE__ */ n(Z1, { position: x, elevation: b, sx: q, children: /* @__PURE__ */
|
|
3524
|
+
return f ? /* @__PURE__ */ n(Z1, { position: x, elevation: b, sx: q, children: f }) : /* @__PURE__ */ v(pe, { children: [
|
|
3525
|
+
/* @__PURE__ */ n(Z1, { position: x, elevation: b, sx: q, children: /* @__PURE__ */ v(Z, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
|
|
3526
3526
|
k && /* @__PURE__ */ n(we, { onClick: h, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(ut, {}) }),
|
|
3527
|
-
k || i === null ? null : /* @__PURE__ */ n(H, { sx: q.logoContainer, children: i || /* @__PURE__ */ n(
|
|
3527
|
+
k || i === null ? null : /* @__PURE__ */ n(H, { sx: q.logoContainer, children: i || /* @__PURE__ */ n(vi, { mode: "dark", ...c }) }),
|
|
3528
3528
|
/* @__PURE__ */ n(H, { sx: { alignItems: "center", display: "flex", flex: 1, justifyContent: "center" }, children: r === null ? null : r || /* @__PURE__ */ n(Gi, { ...l }) }),
|
|
3529
|
-
/* @__PURE__ */
|
|
3529
|
+
/* @__PURE__ */ v(Z, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
3530
3530
|
t === null ? null : t || /* @__PURE__ */ n(Ui, { ...d }),
|
|
3531
3531
|
e === null ? null : e || /* @__PURE__ */ n(
|
|
3532
3532
|
Yi,
|
|
3533
3533
|
{
|
|
3534
3534
|
...T,
|
|
3535
3535
|
sx: {
|
|
3536
|
-
cursor:
|
|
3536
|
+
cursor: S ? "pointer" : "default"
|
|
3537
3537
|
},
|
|
3538
3538
|
onClick: (j) => {
|
|
3539
3539
|
var oe;
|
|
3540
|
-
|
|
3540
|
+
w(j), (oe = s == null ? void 0 : s.onClick) == null || oe.call(s, j);
|
|
3541
3541
|
}
|
|
3542
3542
|
}
|
|
3543
3543
|
)
|
|
3544
3544
|
] })
|
|
3545
3545
|
] }) }),
|
|
3546
|
-
|
|
3546
|
+
S && /* @__PURE__ */ n(qt, { sx: { zIndex: (j) => j.zIndex.drawer + 1 }, open: u, onClick: y, children: /* @__PURE__ */ n(
|
|
3547
3547
|
Ut,
|
|
3548
3548
|
{
|
|
3549
3549
|
id: qi,
|
|
3550
|
-
anchorEl:
|
|
3550
|
+
anchorEl: E,
|
|
3551
3551
|
open: u,
|
|
3552
3552
|
onClose: y,
|
|
3553
3553
|
onChange: y,
|
|
@@ -3562,19 +3562,19 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3562
3562
|
}
|
|
3563
3563
|
}
|
|
3564
3564
|
},
|
|
3565
|
-
children:
|
|
3565
|
+
children: S == null ? void 0 : S.map((j, oe) => {
|
|
3566
3566
|
if (S1(j)) {
|
|
3567
3567
|
if (j.key)
|
|
3568
3568
|
return j;
|
|
3569
|
-
const ye = `${
|
|
3569
|
+
const ye = `${S}-${oe}`;
|
|
3570
3570
|
return nr(j, { key: ye });
|
|
3571
3571
|
}
|
|
3572
3572
|
if (j && typeof j == "object" && "url" in j) {
|
|
3573
|
-
const { url: ye, label: z, icon: F, active: N, end: G, state: fe } = j,
|
|
3574
|
-
return /* @__PURE__ */ n(Gt, { sx: q.menuItem, onClick: y, children: /* @__PURE__ */
|
|
3573
|
+
const { url: ye, label: z, icon: F, active: N, end: G, state: fe } = j, me = `${ye}-${z}-${oe}`;
|
|
3574
|
+
return /* @__PURE__ */ n(Gt, { sx: q.menuItem, onClick: y, children: /* @__PURE__ */ v(dr, { url: ye, component: a, active: N, end: G, state: fe, children: [
|
|
3575
3575
|
F && /* @__PURE__ */ n(Xt, { children: F }),
|
|
3576
3576
|
z && /* @__PURE__ */ n(Fe, { children: z })
|
|
3577
|
-
] },
|
|
3577
|
+
] }, me) }, me);
|
|
3578
3578
|
}
|
|
3579
3579
|
return null;
|
|
3580
3580
|
})
|
|
@@ -3612,7 +3612,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3612
3612
|
...i
|
|
3613
3613
|
}
|
|
3614
3614
|
);
|
|
3615
|
-
}, _a = ue(Ki), Qi = ({ fontSize: e, sx: r, color: t = "currentColor" }) => /* @__PURE__ */
|
|
3615
|
+
}, _a = ue(Ki), Qi = ({ fontSize: e, sx: r, color: t = "currentColor" }) => /* @__PURE__ */ v(be, { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", fontSize: e, sx: r, children: [
|
|
3616
3616
|
/* @__PURE__ */ n("g", { clipPath: "url(#clip0_12914_201806)", children: /* @__PURE__ */ n(
|
|
3617
3617
|
"path",
|
|
3618
3618
|
{
|
|
@@ -3647,16 +3647,16 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3647
3647
|
icon: C,
|
|
3648
3648
|
onChange: x,
|
|
3649
3649
|
label: b = "Click to upload",
|
|
3650
|
-
variant:
|
|
3650
|
+
variant: M = "vertical"
|
|
3651
3651
|
}) => {
|
|
3652
|
-
const { palette: y } = ce(), u =
|
|
3652
|
+
const { palette: y } = ce(), u = M === "vertical", E = d || r, w = ar(null), [S, T] = re(null), p = ra(S), A = (k) => {
|
|
3653
3653
|
x == null || x(k), T(k.target.files);
|
|
3654
3654
|
};
|
|
3655
|
-
return /* @__PURE__ */
|
|
3655
|
+
return /* @__PURE__ */ v(
|
|
3656
3656
|
Jt,
|
|
3657
3657
|
{
|
|
3658
|
-
ref:
|
|
3659
|
-
htmlFor:
|
|
3658
|
+
ref: w,
|
|
3659
|
+
htmlFor: E,
|
|
3660
3660
|
sx: {
|
|
3661
3661
|
"&:hover": {
|
|
3662
3662
|
borderColor: y.primary.main
|
|
@@ -3664,14 +3664,14 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3664
3664
|
border: `1px dashed ${a ? y.error.main : y.divider}`,
|
|
3665
3665
|
borderRadius: 1,
|
|
3666
3666
|
cursor: "pointer",
|
|
3667
|
-
height: ea(c,
|
|
3667
|
+
height: ea(c, M),
|
|
3668
3668
|
maxWidth: h ? "100%" : 400,
|
|
3669
3669
|
padding: 2,
|
|
3670
3670
|
position: "relative",
|
|
3671
3671
|
width: "100%"
|
|
3672
3672
|
},
|
|
3673
3673
|
children: [
|
|
3674
|
-
/* @__PURE__ */
|
|
3674
|
+
/* @__PURE__ */ v(
|
|
3675
3675
|
Z,
|
|
3676
3676
|
{
|
|
3677
3677
|
alignItems: "center",
|
|
@@ -3683,9 +3683,9 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3683
3683
|
color: t ? "text.disabled" : "text.secondary",
|
|
3684
3684
|
children: [
|
|
3685
3685
|
C || /* @__PURE__ */ n(Qi, { sx: { height: 40, width: 40 } }),
|
|
3686
|
-
p ? /* @__PURE__ */
|
|
3687
|
-
/* @__PURE__ */
|
|
3688
|
-
|
|
3686
|
+
p ? /* @__PURE__ */ v(pe, { children: [
|
|
3687
|
+
/* @__PURE__ */ v(U, { variant: "body2", color: "textSecondary", children: [
|
|
3688
|
+
S == null ? void 0 : S.length,
|
|
3689
3689
|
" ",
|
|
3690
3690
|
(s == null ? void 0 : s.files) || "Fichiers"
|
|
3691
3691
|
] }),
|
|
@@ -3700,7 +3700,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3700
3700
|
children: p
|
|
3701
3701
|
}
|
|
3702
3702
|
)
|
|
3703
|
-
] }) : /* @__PURE__ */
|
|
3703
|
+
] }) : /* @__PURE__ */ v(U, { variant: "subtitle1", color: t ? "text.disabled" : "primary", children: [
|
|
3704
3704
|
b,
|
|
3705
3705
|
" ",
|
|
3706
3706
|
i && "*"
|
|
@@ -3718,7 +3718,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3718
3718
|
name: r,
|
|
3719
3719
|
multiple: l,
|
|
3720
3720
|
accept: e,
|
|
3721
|
-
id:
|
|
3721
|
+
id: E,
|
|
3722
3722
|
onChange: A,
|
|
3723
3723
|
style: {
|
|
3724
3724
|
// Hide the input element
|
|
@@ -3765,7 +3765,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3765
3765
|
...Je.list,
|
|
3766
3766
|
...i && { width: "100%" }
|
|
3767
3767
|
},
|
|
3768
|
-
children: [...Array(d).keys()].map((f) => /* @__PURE__ */
|
|
3768
|
+
children: [...Array(d).keys()].map((f) => /* @__PURE__ */ v(Ee, { sx: Je.listItem, children: [
|
|
3769
3769
|
/* @__PURE__ */ n(se, { width: 40, height: 40, sx: { marginRight: f1 }, variant: "rounded" }),
|
|
3770
3770
|
/* @__PURE__ */ n(
|
|
3771
3771
|
Fe,
|
|
@@ -3777,7 +3777,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3777
3777
|
)
|
|
3778
3778
|
] }, f))
|
|
3779
3779
|
}
|
|
3780
|
-
) : /* @__PURE__ */
|
|
3780
|
+
) : /* @__PURE__ */ v(
|
|
3781
3781
|
y1,
|
|
3782
3782
|
{
|
|
3783
3783
|
sx: {
|
|
@@ -3787,10 +3787,10 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3787
3787
|
},
|
|
3788
3788
|
children: [
|
|
3789
3789
|
t == null ? void 0 : t.map(
|
|
3790
|
-
({ id: f, title: h, subtitle: C, image: x, secondaryAction: b, chipLabel:
|
|
3790
|
+
({ id: f, title: h, subtitle: C, image: x, secondaryAction: b, chipLabel: M, chipColor: y, onClick: u, icon: E, Avatar: w }, S) => {
|
|
3791
3791
|
var p;
|
|
3792
|
-
const T = f || `id-${
|
|
3793
|
-
return /* @__PURE__ */
|
|
3792
|
+
const T = f || `id-${S}-${h}`;
|
|
3793
|
+
return /* @__PURE__ */ v(
|
|
3794
3794
|
Ee,
|
|
3795
3795
|
{
|
|
3796
3796
|
secondaryAction: b,
|
|
@@ -3815,13 +3815,13 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3815
3815
|
cursor: u ? "pointer" : "default"
|
|
3816
3816
|
},
|
|
3817
3817
|
children: [
|
|
3818
|
-
|
|
3818
|
+
w ? /* @__PURE__ */ n(H, { marginRight: f1, children: w }) : /* @__PURE__ */ n(m1, { src: x || "", variant: "rounded", sx: { marginRight: f1 }, children: E || typeof h == "string" && ((p = h || "") == null ? void 0 : p.charAt(0).toUpperCase()) }),
|
|
3819
3819
|
/* @__PURE__ */ n(
|
|
3820
3820
|
Fe,
|
|
3821
3821
|
{
|
|
3822
|
-
primary: /* @__PURE__ */
|
|
3822
|
+
primary: /* @__PURE__ */ v(Z, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
3823
3823
|
h && /* @__PURE__ */ n(U, { variant: "h6", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: h }),
|
|
3824
|
-
|
|
3824
|
+
M && /* @__PURE__ */ n(Qe, { label: M, variant: "rounded", size: "xSmall", color: ta(y) ? y : "default" })
|
|
3825
3825
|
] }),
|
|
3826
3826
|
secondary: C,
|
|
3827
3827
|
primaryTypographyProps: {
|
|
@@ -3839,7 +3839,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3839
3839
|
);
|
|
3840
3840
|
}
|
|
3841
3841
|
),
|
|
3842
|
-
r && /* @__PURE__ */
|
|
3842
|
+
r && /* @__PURE__ */ v(
|
|
3843
3843
|
z1,
|
|
3844
3844
|
{
|
|
3845
3845
|
onClick: r == null ? void 0 : r.onClick,
|
|
@@ -3850,7 +3850,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3850
3850
|
}
|
|
3851
3851
|
},
|
|
3852
3852
|
children: [
|
|
3853
|
-
/* @__PURE__ */ n(
|
|
3853
|
+
/* @__PURE__ */ n(m1, { src: (r == null ? void 0 : r.image) || "", variant: "rounded", sx: { marginRight: f1 }, children: (r == null ? void 0 : r.icon) || ((c = r == null ? void 0 : r.title) == null ? void 0 : c.charAt(0).toUpperCase()) }),
|
|
3854
3854
|
/* @__PURE__ */ n(
|
|
3855
3855
|
Fe,
|
|
3856
3856
|
{
|
|
@@ -3889,9 +3889,9 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3889
3889
|
value: s
|
|
3890
3890
|
}) => function(d) {
|
|
3891
3891
|
const { children: c, ...f } = d, h = Array.isArray(s) ? (s == null ? void 0 : s.length) === (a == null ? void 0 : a.length) : !1, C = a == null ? void 0 : a.filter((x) => x == null ? void 0 : x.isHeader);
|
|
3892
|
-
return /* @__PURE__ */
|
|
3893
|
-
(!e || !!(C != null && C.length)) && /* @__PURE__ */
|
|
3894
|
-
/* @__PURE__ */
|
|
3892
|
+
return /* @__PURE__ */ v(rn, { ...f, children: [
|
|
3893
|
+
(!e || !!(C != null && C.length)) && /* @__PURE__ */ v(pe, { children: [
|
|
3894
|
+
/* @__PURE__ */ v(y1, { role: "listbox", children: [
|
|
3895
3895
|
!e && /* @__PURE__ */ n(
|
|
3896
3896
|
Ee,
|
|
3897
3897
|
{
|
|
@@ -3904,7 +3904,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3904
3904
|
}
|
|
3905
3905
|
i == null || i(x, a || [], "selectOption");
|
|
3906
3906
|
},
|
|
3907
|
-
children: /* @__PURE__ */
|
|
3907
|
+
children: /* @__PURE__ */ v(z1, { children: [
|
|
3908
3908
|
/* @__PURE__ */ n(N1, { id: "select-all-checkbox", checked: h }),
|
|
3909
3909
|
/* @__PURE__ */ n(Fe, { primary: (r == null ? void 0 : r.selectAll) || "Select all" }),
|
|
3910
3910
|
!t && /* @__PURE__ */ n(
|
|
@@ -3929,30 +3929,29 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3929
3929
|
}
|
|
3930
3930
|
),
|
|
3931
3931
|
C == null ? void 0 : C.map((x, b) => {
|
|
3932
|
-
const
|
|
3932
|
+
const M = `header-options-${x == null ? void 0 : x.id}-${b}`, y = Array.isArray(s) && s.some(
|
|
3933
3933
|
(u) => JSON.stringify(u) === JSON.stringify(x) || u && typeof u == "object" && "id" in u && (u == null ? void 0 : u.id) === (x == null ? void 0 : x.id)
|
|
3934
3934
|
);
|
|
3935
3935
|
return /* @__PURE__ */ n(
|
|
3936
3936
|
Ee,
|
|
3937
3937
|
{
|
|
3938
3938
|
disablePadding: !0,
|
|
3939
|
-
|
|
3940
|
-
if (y) {
|
|
3941
|
-
const
|
|
3942
|
-
|
|
3939
|
+
onMouseDown: (u) => {
|
|
3940
|
+
if (u.stopPropagation(), u.preventDefault(), y) {
|
|
3941
|
+
const E = Array.isArray(s) ? s == null ? void 0 : s.filter(
|
|
3942
|
+
(w) => !(JSON.stringify(w) === JSON.stringify(x) || w && typeof w == "object" && "id" in w && (w == null ? void 0 : w.id) === (x == null ? void 0 : x.id))
|
|
3943
|
+
) : [];
|
|
3944
|
+
i == null || i(u, E, "removeOption");
|
|
3943
3945
|
return;
|
|
3944
3946
|
}
|
|
3945
3947
|
i == null || i(u, [...Array.isArray(s) ? s : [], x], "selectOption");
|
|
3946
3948
|
},
|
|
3947
|
-
|
|
3948
|
-
u.stopPropagation(), u.preventDefault();
|
|
3949
|
-
},
|
|
3950
|
-
children: /* @__PURE__ */ m(z1, { children: [
|
|
3949
|
+
children: /* @__PURE__ */ v(z1, { children: [
|
|
3951
3950
|
/* @__PURE__ */ n(N1, { checked: y }),
|
|
3952
3951
|
/* @__PURE__ */ n(Fe, { primary: x == null ? void 0 : x.label })
|
|
3953
3952
|
] })
|
|
3954
3953
|
},
|
|
3955
|
-
|
|
3954
|
+
M
|
|
3956
3955
|
);
|
|
3957
3956
|
})
|
|
3958
3957
|
] }),
|
|
@@ -3975,12 +3974,12 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3975
3974
|
inputValue: C,
|
|
3976
3975
|
disableClearable: x,
|
|
3977
3976
|
loading: b,
|
|
3978
|
-
resetInputValueOnSelectOption:
|
|
3977
|
+
resetInputValueOnSelectOption: M,
|
|
3979
3978
|
size: y = "small",
|
|
3980
3979
|
disableCloseOnSelect: u = !0,
|
|
3981
|
-
multiple:
|
|
3982
|
-
...
|
|
3983
|
-
},
|
|
3980
|
+
multiple: E = !0,
|
|
3981
|
+
...w
|
|
3982
|
+
}, S) => {
|
|
3984
3983
|
const { palette: T } = ce(), [p, A] = re(!1), [k, q] = re(""), j = T.mode === "light" ? "default" : "primary", oe = C || k;
|
|
3985
3984
|
return /* @__PURE__ */ n(
|
|
3986
3985
|
Qt,
|
|
@@ -3988,10 +3987,10 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
3988
3987
|
value: d,
|
|
3989
3988
|
loading: b,
|
|
3990
3989
|
options: i || [],
|
|
3991
|
-
ref:
|
|
3990
|
+
ref: S,
|
|
3992
3991
|
size: y,
|
|
3993
3992
|
freeSolo: !1,
|
|
3994
|
-
multiple:
|
|
3993
|
+
multiple: E,
|
|
3995
3994
|
disableClearable: x,
|
|
3996
3995
|
onChange: (z, F, N, G) => {
|
|
3997
3996
|
if (F === null) {
|
|
@@ -4007,7 +4006,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
4007
4006
|
open: p,
|
|
4008
4007
|
onOpen: () => A(!0),
|
|
4009
4008
|
onInputChange: (z, F, N) => {
|
|
4010
|
-
N === "reset" && p && !
|
|
4009
|
+
N === "reset" && p && !M || (C || q(F), h == null || h(z, F, N));
|
|
4011
4010
|
},
|
|
4012
4011
|
onFocus: (z) => {
|
|
4013
4012
|
A(!0), c == null || c(z);
|
|
@@ -4028,15 +4027,15 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
4028
4027
|
minWidth: "auto",
|
|
4029
4028
|
width: 24
|
|
4030
4029
|
},
|
|
4031
|
-
children: /* @__PURE__ */ n(
|
|
4030
|
+
children: /* @__PURE__ */ n(m1, { variant: "rounded", src: F == null ? void 0 : F.image, sx: { height: 24, width: 24 } })
|
|
4032
4031
|
}
|
|
4033
4032
|
), F.label);
|
|
4034
4033
|
},
|
|
4035
4034
|
renderTags: (z, F, N) => z.map((G, fe) => {
|
|
4036
|
-
const { key:
|
|
4037
|
-
return N != null && N.focused ? null : /* @__PURE__ */ n(U, { marginX: 1, whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: G == null ? void 0 : G.label },
|
|
4035
|
+
const { key: me } = F({ index: fe });
|
|
4036
|
+
return N != null && N.focused ? null : /* @__PURE__ */ n(U, { marginX: 1, whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: G == null ? void 0 : G.label }, me);
|
|
4038
4037
|
}),
|
|
4039
|
-
...
|
|
4038
|
+
...w,
|
|
4040
4039
|
renderInput: (z) => {
|
|
4041
4040
|
var G, fe;
|
|
4042
4041
|
const F = () => {
|
|
@@ -4055,7 +4054,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
4055
4054
|
...z,
|
|
4056
4055
|
InputProps: {
|
|
4057
4056
|
...z.InputProps,
|
|
4058
|
-
endAdornment: p ? /* @__PURE__ */
|
|
4057
|
+
endAdornment: p ? /* @__PURE__ */ v(
|
|
4059
4058
|
b1,
|
|
4060
4059
|
{
|
|
4061
4060
|
position: "end",
|
|
@@ -4974,7 +4973,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
4974
4973
|
}, ca = ({ theme: e }) => /* @__PURE__ */ n(
|
|
4975
4974
|
Ke,
|
|
4976
4975
|
{
|
|
4977
|
-
styles:
|
|
4976
|
+
styles: v1`
|
|
4978
4977
|
* {
|
|
4979
4978
|
scrollbar-color: ${e === "dark" ? "rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05)" : "rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05)"};
|
|
4980
4979
|
scrollbar-width: thin;
|
|
@@ -5008,7 +5007,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
5008
5007
|
), da = () => /* @__PURE__ */ n(
|
|
5009
5008
|
Ke,
|
|
5010
5009
|
{
|
|
5011
|
-
styles:
|
|
5010
|
+
styles: v1`
|
|
5012
5011
|
html,
|
|
5013
5012
|
body,
|
|
5014
5013
|
#root {
|
|
@@ -5028,17 +5027,17 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
5028
5027
|
}) => {
|
|
5029
5028
|
var x, b;
|
|
5030
5029
|
const c = { ...Yr, ...d }, f = (c == null ? void 0 : c.googleFontName) || ((x = q1.typography.fontFamily) == null ? void 0 : x.split(",")[0]), h = (b = c == null ? void 0 : c.fontWeight) == null ? void 0 : b.join(";");
|
|
5031
|
-
return /* @__PURE__ */
|
|
5032
|
-
var u,
|
|
5033
|
-
const
|
|
5030
|
+
return /* @__PURE__ */ v(tn, { theme: (() => {
|
|
5031
|
+
var u, E;
|
|
5032
|
+
const M = typeof l == "object" ? l : {}, y = {
|
|
5034
5033
|
...s === "fr" && oa
|
|
5035
5034
|
};
|
|
5036
|
-
return l === "dark" || typeof l == "object" && "palette" in l && ((u = l == null ? void 0 : l.palette) == null ? void 0 : u.mode) === "dark" ? He(Ct,
|
|
5035
|
+
return l === "dark" || typeof l == "object" && "palette" in l && ((u = l == null ? void 0 : l.palette) == null ? void 0 : u.mode) === "dark" ? He(Ct, M, y) : l === "light" || typeof l == "object" && "palette" in l && ((E = l == null ? void 0 : l.palette) == null ? void 0 : E.mode) === "light" ? He(gt, M, y) : He(q1, M, y);
|
|
5037
5036
|
})(), children: [
|
|
5038
5037
|
/* @__PURE__ */ n(
|
|
5039
5038
|
Ke,
|
|
5040
5039
|
{
|
|
5041
|
-
styles:
|
|
5040
|
+
styles: v1`
|
|
5042
5041
|
::-webkit-calendar-picker-indicator {
|
|
5043
5042
|
filter: invert(${l === "dark" ? 1 : 0});
|
|
5044
5043
|
}
|
|
@@ -5048,7 +5047,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
5048
5047
|
c.import && /* @__PURE__ */ n(
|
|
5049
5048
|
Ke,
|
|
5050
5049
|
{
|
|
5051
|
-
styles:
|
|
5050
|
+
styles: v1`
|
|
5052
5051
|
@import url("https://fonts.googleapis.com/css2?family=${f}:wght@${h}&display=swap");
|
|
5053
5052
|
`
|
|
5054
5053
|
}
|
|
@@ -5105,7 +5104,7 @@ const $r = 32, fi = 24, hi = 105, gi = 24, Ci = 195, xi = 44, bi = 147, yi = ()
|
|
|
5105
5104
|
}),
|
|
5106
5105
|
[l, s, i.isOpen]
|
|
5107
5106
|
);
|
|
5108
|
-
return /* @__PURE__ */
|
|
5107
|
+
return /* @__PURE__ */ v(xt.Provider, { value: d, children: [
|
|
5109
5108
|
/* @__PURE__ */ n(
|
|
5110
5109
|
an,
|
|
5111
5110
|
{
|
|
@@ -5148,9 +5147,9 @@ export {
|
|
|
5148
5147
|
Ca as LinkTab,
|
|
5149
5148
|
Fa as ListAvatar,
|
|
5150
5149
|
Fa as ListAvatars,
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5150
|
+
va as ListItemCard,
|
|
5151
|
+
vi as Logo,
|
|
5152
|
+
ma as NavigationMenu,
|
|
5154
5153
|
Ve as NavigationMenuContext,
|
|
5155
5154
|
Pa as PermissionProvider,
|
|
5156
5155
|
ya as QuantityField,
|