fastapi-rtk 0.0.90 → 0.0.91
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/dist/fastapi-rtk.es.js +1010 -1009
- package/dist/fastapi-rtk.umd.js +32 -32
- package/package.json +1 -1
package/dist/fastapi-rtk.es.js
CHANGED
|
@@ -2,13 +2,13 @@ var qu = Object.defineProperty;
|
|
|
2
2
|
var Ku = (e, t, r) => t in e ? qu(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var gi = (e, t, r) => Ku(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
4
|
import * as qe from "react";
|
|
5
|
-
import Xe, { useState as ne, useRef as Ju, useCallback as ge, useEffect as ye, useMemo as re, useReducer as Xu, createContext as ml, useContext as Ln, forwardRef as It, createElement as
|
|
5
|
+
import Xe, { useState as ne, useRef as Ju, useCallback as ge, useEffect as ye, useMemo as re, useReducer as Xu, createContext as ml, useContext as Ln, forwardRef as It, createElement as xo, memo as zn, isValidElement as gl, cloneElement as Gr, Fragment as yl } from "react";
|
|
6
6
|
import { createSearchParams as Zu, useNavigate as Qu } from "react-router-dom";
|
|
7
|
-
import { useDidUpdate as pr, useSetState as ef, useHover as tf, randomId as fn, useInViewport as rf, useDebouncedValue as
|
|
8
|
-
import { Modal as yr, Group as ut, Text as ke, Button as kt, useProps as be, Tooltip as Re, ActionIcon as ze, PasswordInput as bl, TextInput as
|
|
7
|
+
import { useDidUpdate as pr, useSetState as ef, useHover as tf, randomId as fn, useInViewport as rf, useDebouncedValue as bs, useDisclosure as nf, upperFirst as of, useElementSize as yi } from "@mantine/hooks";
|
|
8
|
+
import { Modal as yr, Group as ut, Text as ke, Button as kt, useProps as be, Tooltip as Re, ActionIcon as ze, PasswordInput as bl, TextInput as vs, JsonInput as sf, InputWrapper as vl, Checkbox as Qr, MultiSelect as xl, Select as Kt, Box as Ne, Stack as Yt, ScrollArea as en, LoadingOverlay as af, Tabs as tr, Paper as Ho, Grid as je, Flex as tn, useStyles as xs, Table as Fe, Skeleton as lf, Indicator as Bn, useMantineTheme as _l, Divider as Yr, Pagination as cf, useCombobox as uf, Pill as bi, Combobox as rr, PillsInput as vi, Popover as fr, CloseButton as On, Loader as Un, Center as _n, NumberInput as Go, Title as ff, Menu as ht, Input as df, Highlight as dn, ThemeIcon as Tl, SegmentedControl as pf, UnstyledButton as hf } from "@mantine/core";
|
|
9
9
|
import { useForm as Vn, useField as mf } from "@mantine/form";
|
|
10
10
|
import { DateInput as hr, DateTimePicker as Sl } from "@mantine/dates";
|
|
11
|
-
import { getAjv as gf, rankWith as De, isNumberControl as wl, isIntegerControl as El, isStringControl as Cl, isBooleanControl as Al, isDateControl as Ol, isDateTimeControl as $l, isEnumControl as jl, createDefaultValue as yf, Resolve as bf, encode as xi, Paths as kl, formatErrorMessage as vf, errorsAt as xf, or as _f, isObjectArrayControl as Tf, isPrimitiveArrayControl as Sf, and as _i, uiTypeIs as
|
|
11
|
+
import { getAjv as gf, rankWith as De, isNumberControl as wl, isIntegerControl as El, isStringControl as Cl, isBooleanControl as Al, isDateControl as Ol, isDateTimeControl as $l, isEnumControl as jl, createDefaultValue as yf, Resolve as bf, encode as xi, Paths as kl, formatErrorMessage as vf, errorsAt as xf, or as _f, isObjectArrayControl as Tf, isPrimitiveArrayControl as Sf, and as _i, uiTypeIs as _s, schemaMatches as wf, hasType as Ef, schemaSubPathMatches as Cf, resolveSchema as Af, isLabelable as Of } from "@jsonforms/core";
|
|
12
12
|
import { JsonFormsDispatch as $f, useJsonForms as Pl, withJsonFormsCellProps as rn, withJsonFormsControlProps as Jt, withJsonFormsEnumProps as Il, withTranslateProps as Rl, DispatchCell as Ti, withJsonFormsArrayLayoutProps as jf, withJsonFormsMultiEnumProps as kf, withJsonFormsLabelProps as Pf, withJsonFormsLayoutProps as Dl } from "@jsonforms/react";
|
|
13
13
|
import { withEmotionCache as If, ThemeContext as Rf } from "@emotion/react";
|
|
14
14
|
import { MRT_ToggleGlobalFilterButton as Df, MRT_ToggleFiltersButton as Mf, MRT_ShowHideColumnsButton as Nf, MRT_ToggleDensePaddingButton as Ff, MRT_ToggleFullScreenButton as Lf, useMantineReactTable as zf, MantineReactTable as Bf } from "mantine-react-table";
|
|
@@ -16,7 +16,7 @@ var pn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
16
16
|
function Lt(e) {
|
|
17
17
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
18
18
|
}
|
|
19
|
-
var
|
|
19
|
+
var Yo = { exports: {} }, jr = {};
|
|
20
20
|
/**
|
|
21
21
|
* @license React
|
|
22
22
|
* react-jsx-runtime.production.js
|
|
@@ -64,14 +64,14 @@ function Vf() {
|
|
|
64
64
|
function e(v) {
|
|
65
65
|
if (v == null) return null;
|
|
66
66
|
if (typeof v == "function")
|
|
67
|
-
return v.$$typeof ===
|
|
67
|
+
return v.$$typeof === K ? null : v.displayName || v.name || null;
|
|
68
68
|
if (typeof v == "string") return v;
|
|
69
69
|
switch (v) {
|
|
70
|
-
case
|
|
70
|
+
case A:
|
|
71
71
|
return "Fragment";
|
|
72
72
|
case _:
|
|
73
73
|
return "Portal";
|
|
74
|
-
case
|
|
74
|
+
case U:
|
|
75
75
|
return "Profiler";
|
|
76
76
|
case R:
|
|
77
77
|
return "StrictMode";
|
|
@@ -86,9 +86,9 @@ function Vf() {
|
|
|
86
86
|
), v.$$typeof) {
|
|
87
87
|
case m:
|
|
88
88
|
return (v.displayName || "Context") + ".Provider";
|
|
89
|
-
case
|
|
89
|
+
case J:
|
|
90
90
|
return (v._context.displayName || "Context") + ".Consumer";
|
|
91
|
-
case
|
|
91
|
+
case C:
|
|
92
92
|
var B = v.render;
|
|
93
93
|
return v = v.displayName, v || (v = B.displayName || B.name || "", v = v !== "" ? "ForwardRef(" + v + ")" : "ForwardRef"), v;
|
|
94
94
|
case Q:
|
|
@@ -289,7 +289,7 @@ function Vf() {
|
|
|
289
289
|
}
|
|
290
290
|
if (typeof v == "object")
|
|
291
291
|
switch (v.$$typeof) {
|
|
292
|
-
case
|
|
292
|
+
case C:
|
|
293
293
|
return v = a(v.render, !1), v;
|
|
294
294
|
case Q:
|
|
295
295
|
return c(v.type);
|
|
@@ -353,8 +353,8 @@ function Vf() {
|
|
|
353
353
|
value: null
|
|
354
354
|
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
|
|
355
355
|
}
|
|
356
|
-
function
|
|
357
|
-
if (typeof v == "string" || typeof v == "function" || v ===
|
|
356
|
+
function y(v, B, L, se, we, ue) {
|
|
357
|
+
if (typeof v == "string" || typeof v == "function" || v === A || v === U || v === R || v === D || v === q || v === ce || typeof v == "object" && v !== null && (v.$$typeof === ae || v.$$typeof === Q || v.$$typeof === m || v.$$typeof === J || v.$$typeof === C || v.$$typeof === H || v.getModuleId !== void 0)) {
|
|
358
358
|
var Z = B.children;
|
|
359
359
|
if (Z !== void 0)
|
|
360
360
|
if (se)
|
|
@@ -406,19 +406,19 @@ React keys must be passed directly to JSX without using spread:
|
|
|
406
406
|
if (N(v))
|
|
407
407
|
for (var L = 0; L < v.length; L++) {
|
|
408
408
|
var se = v[L];
|
|
409
|
-
|
|
409
|
+
g(se) && T(se, B);
|
|
410
410
|
}
|
|
411
|
-
else if (
|
|
411
|
+
else if (g(v))
|
|
412
412
|
v._store && (v._store.validated = 1);
|
|
413
413
|
else if (v === null || typeof v != "object" ? L = null : (L = z && v[z] || v["@@iterator"], L = typeof L == "function" ? L : null), typeof L == "function" && L !== v.entries && (L = L.call(v), L !== v))
|
|
414
414
|
for (; !(v = L.next()).done; )
|
|
415
|
-
|
|
415
|
+
g(v.value) && T(v.value, B);
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function g(v) {
|
|
419
419
|
return typeof v == "object" && v !== null && v.$$typeof === E;
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function T(v, B) {
|
|
422
422
|
if (v._store && !v._store.validated && v.key == null && (v._store.validated = 1, B = j(B), !Ar[B])) {
|
|
423
423
|
Ar[B] = !0;
|
|
424
424
|
var L = "";
|
|
@@ -442,18 +442,18 @@ Check the render method of \`` + L + "`."), B || (v = e(v)) && (B = `
|
|
|
442
442
|
|
|
443
443
|
Check the top-level render call using <` + v + ">."), B;
|
|
444
444
|
}
|
|
445
|
-
var
|
|
445
|
+
var O = Xe, E = Symbol.for("react.transitional.element"), _ = Symbol.for("react.portal"), A = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), U = Symbol.for("react.profiler"), J = Symbol.for("react.consumer"), m = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), q = Symbol.for("react.suspense_list"), Q = Symbol.for("react.memo"), ae = Symbol.for("react.lazy"), ce = Symbol.for("react.offscreen"), z = Symbol.iterator, K = Symbol.for("react.client.reference"), ee = O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, w = Object.prototype.hasOwnProperty, $ = Object.assign, H = Symbol.for("react.client.reference"), N = Array.isArray, W = 0, F, Y, I, X, oe, te, Ee;
|
|
446
446
|
n.__reactDisabledLog = !0;
|
|
447
447
|
var P, Pe, M = !1, Ze = new (typeof WeakMap == "function" ? WeakMap : Map)(), yt = Symbol.for("react.client.reference"), at, Ut = {}, Vt = {}, Ar = {};
|
|
448
|
-
kr.Fragment =
|
|
449
|
-
return
|
|
448
|
+
kr.Fragment = A, kr.jsx = function(v, B, L, se, we) {
|
|
449
|
+
return y(v, B, L, !1, se, we);
|
|
450
450
|
}, kr.jsxs = function(v, B, L, se, we) {
|
|
451
|
-
return
|
|
451
|
+
return y(v, B, L, !0, se, we);
|
|
452
452
|
};
|
|
453
453
|
}()), kr;
|
|
454
454
|
}
|
|
455
|
-
process.env.NODE_ENV === "production" ?
|
|
456
|
-
var l =
|
|
455
|
+
process.env.NODE_ENV === "production" ? Yo.exports = Uf() : Yo.exports = Vf();
|
|
456
|
+
var l = Yo.exports;
|
|
457
457
|
function Ke({ path: e, method: t, body: r = void 0, queryParams: n = void 0 }) {
|
|
458
458
|
const o = Object.entries(n || {}).reduce((a, [c, u]) => ((Array.isArray(u) || typeof u == "object") && (u = JSON.stringify(u)), a[c] = u, a), {}), s = new Zu(o);
|
|
459
459
|
e = e + "?" + s;
|
|
@@ -492,20 +492,20 @@ function $e(...e) {
|
|
|
492
492
|
const t = Array.from(Array.isArray(e[0]) ? e[0] : e);
|
|
493
493
|
return Wf(t);
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function Ts(e, { autoInvoke: t = !0, initialLoading: r = !1, clearDataOnRefetch: n = !1, ...o } = {}) {
|
|
496
496
|
const [s, i] = ne(null), [a, c] = ne(r), [u, d] = ne(null), f = Ju(null), p = ge(() => {
|
|
497
497
|
if (e)
|
|
498
|
-
return n && i(null), d(null), f.current && f.current.abort(), f.current = new AbortController(), c(!0), fetch(e, { signal: f.current.signal, ...o }).then(async (
|
|
499
|
-
const b = await
|
|
500
|
-
if (!
|
|
501
|
-
const
|
|
502
|
-
throw new Error(
|
|
498
|
+
return n && i(null), d(null), f.current && f.current.abort(), f.current = new AbortController(), c(!0), fetch(e, { signal: f.current.signal, ...o }).then(async (y) => {
|
|
499
|
+
const b = await y.json();
|
|
500
|
+
if (!y.ok) {
|
|
501
|
+
const g = typeof b.detail == "string" ? b.detail : JSON.stringify(b.detail, null, 2);
|
|
502
|
+
throw new Error(g);
|
|
503
503
|
}
|
|
504
504
|
return i(b), c(!1), b;
|
|
505
|
-
}).catch((
|
|
505
|
+
}).catch((y) => (y && y.name !== "AbortError" && (d(y), c(!1)), y));
|
|
506
506
|
}, [e]), h = ge(() => {
|
|
507
|
-
var
|
|
508
|
-
f.current && ((
|
|
507
|
+
var y;
|
|
508
|
+
f.current && ((y = f.current) == null || y.abort(""), c(!1));
|
|
509
509
|
}, []);
|
|
510
510
|
return ye(() => (t && p(), () => {
|
|
511
511
|
f.current && f.current.abort("");
|
|
@@ -515,7 +515,7 @@ function Hf({ path: e, autoInvoke: t = !0, initialLoading: r = !0 }) {
|
|
|
515
515
|
const { fetchPath: n, options: o } = re(
|
|
516
516
|
() => Ke({ path: $e(e, "auth/user"), method: "GET" }),
|
|
517
517
|
[e]
|
|
518
|
-
), { data: s, loading: i, refetch: a, error: c } =
|
|
518
|
+
), { data: s, loading: i, refetch: a, error: c } = Ts(n, { autoInvoke: t, initialLoading: r, ...o });
|
|
519
519
|
return { user: s, loading: i, refetch: a, error: c };
|
|
520
520
|
}
|
|
521
521
|
function Gf({ path: e, queryParams: t, autoInvoke: r = !0, clearDataOnRefetch: n = !1 }) {
|
|
@@ -526,12 +526,12 @@ function Gf({ path: e, queryParams: t, autoInvoke: r = !0, clearDataOnRefetch: n
|
|
|
526
526
|
queryParams: t
|
|
527
527
|
}),
|
|
528
528
|
[e, t]
|
|
529
|
-
), { data: i, loading: a, refetch: c, error: u } =
|
|
529
|
+
), { data: i, loading: a, refetch: c, error: u } = Ts(o, { autoInvoke: r, clearDataOnRefetch: n, ...s });
|
|
530
530
|
return { data: re(() => {
|
|
531
531
|
if (!i) return null;
|
|
532
532
|
const f = i.result.map((p, h) => {
|
|
533
|
-
const
|
|
534
|
-
return { ...p, id:
|
|
533
|
+
const y = i.ids[h];
|
|
534
|
+
return { ...p, id: y };
|
|
535
535
|
});
|
|
536
536
|
return { ...i, result: f };
|
|
537
537
|
}, [i]), loading: a, refetch: c, error: u };
|
|
@@ -613,12 +613,12 @@ Xt.prototype.get = function(e) {
|
|
|
613
613
|
Xt.prototype.set = function(e, t) {
|
|
614
614
|
return this._size >= this._maxSize && this.clear(), e in this._values || this._size++, this._values[e] = t;
|
|
615
615
|
};
|
|
616
|
-
var Zf = /[^.^\]^[]+|(?=\[\]|\.\.)/g, Ml = /^\d+$/, Qf = /^\d/, ed = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g, td = /^\s*(['"]?)(.*?)(\1)\s*$/,
|
|
616
|
+
var Zf = /[^.^\]^[]+|(?=\[\]|\.\.)/g, Ml = /^\d+$/, Qf = /^\d/, ed = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g, td = /^\s*(['"]?)(.*?)(\1)\s*$/, Ss = 512, Ci = new Xt(Ss), Ai = new Xt(Ss), Oi = new Xt(Ss), Gt = {
|
|
617
617
|
Cache: Xt,
|
|
618
|
-
split:
|
|
619
|
-
normalizePath:
|
|
618
|
+
split: qo,
|
|
619
|
+
normalizePath: _o,
|
|
620
620
|
setter: function(e) {
|
|
621
|
-
var t =
|
|
621
|
+
var t = _o(e);
|
|
622
622
|
return Ai.get(e) || Ai.set(e, function(n, o) {
|
|
623
623
|
for (var s = 0, i = t.length, a = n; s < i - 1; ) {
|
|
624
624
|
var c = t[s];
|
|
@@ -630,7 +630,7 @@ var Zf = /[^.^\]^[]+|(?=\[\]|\.\.)/g, Ml = /^\d+$/, Qf = /^\d/, ed = /[~`!#$%\^&
|
|
|
630
630
|
});
|
|
631
631
|
},
|
|
632
632
|
getter: function(e, t) {
|
|
633
|
-
var r =
|
|
633
|
+
var r = _o(e);
|
|
634
634
|
return Oi.get(e) || Oi.set(e, function(o) {
|
|
635
635
|
for (var s = 0, i = r.length; s < i; )
|
|
636
636
|
if (o != null || !t) o = o[r[s++]];
|
|
@@ -640,30 +640,30 @@ var Zf = /[^.^\]^[]+|(?=\[\]|\.\.)/g, Ml = /^\d+$/, Qf = /^\d/, ed = /[~`!#$%\^&
|
|
|
640
640
|
},
|
|
641
641
|
join: function(e) {
|
|
642
642
|
return e.reduce(function(t, r) {
|
|
643
|
-
return t + (
|
|
643
|
+
return t + (ws(r) || Ml.test(r) ? "[" + r + "]" : (t ? "." : "") + r);
|
|
644
644
|
}, "");
|
|
645
645
|
},
|
|
646
646
|
forEach: function(e, t, r) {
|
|
647
|
-
rd(Array.isArray(e) ? e :
|
|
647
|
+
rd(Array.isArray(e) ? e : qo(e), t, r);
|
|
648
648
|
}
|
|
649
649
|
};
|
|
650
|
-
function
|
|
650
|
+
function _o(e) {
|
|
651
651
|
return Ci.get(e) || Ci.set(
|
|
652
652
|
e,
|
|
653
|
-
|
|
653
|
+
qo(e).map(function(t) {
|
|
654
654
|
return t.replace(td, "$2");
|
|
655
655
|
})
|
|
656
656
|
);
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function qo(e) {
|
|
659
659
|
return e.match(Zf) || [""];
|
|
660
660
|
}
|
|
661
661
|
function rd(e, t, r) {
|
|
662
662
|
var n = e.length, o, s, i, a;
|
|
663
663
|
for (s = 0; s < n; s++)
|
|
664
|
-
o = e[s], o && (sd(o) && (o = '"' + o + '"'), a =
|
|
664
|
+
o = e[s], o && (sd(o) && (o = '"' + o + '"'), a = ws(o), i = !a && /^\d+$/.test(o), t.call(r, o, a, i, s, e));
|
|
665
665
|
}
|
|
666
|
-
function
|
|
666
|
+
function ws(e) {
|
|
667
667
|
return typeof e == "string" && e && ["'", '"'].indexOf(e.charAt(0)) !== -1;
|
|
668
668
|
}
|
|
669
669
|
function nd(e) {
|
|
@@ -673,13 +673,13 @@ function od(e) {
|
|
|
673
673
|
return ed.test(e);
|
|
674
674
|
}
|
|
675
675
|
function sd(e) {
|
|
676
|
-
return !
|
|
676
|
+
return !ws(e) && (nd(e) || od(e));
|
|
677
677
|
}
|
|
678
|
-
const id = /[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g, Wn = (e) => e.match(id) || [], Hn = (e) => e[0].toUpperCase() + e.slice(1),
|
|
678
|
+
const id = /[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g, Wn = (e) => e.match(id) || [], Hn = (e) => e[0].toUpperCase() + e.slice(1), Es = (e, t) => Wn(e).join(t).toLowerCase(), Nl = (e) => Wn(e).reduce(
|
|
679
679
|
(t, r) => `${t}${t ? r[0].toUpperCase() + r.slice(1).toLowerCase() : r.toLowerCase()}`,
|
|
680
680
|
""
|
|
681
|
-
), ad = (e) => Hn(Nl(e)), ld = (e) =>
|
|
682
|
-
var
|
|
681
|
+
), ad = (e) => Hn(Nl(e)), ld = (e) => Es(e, "_"), cd = (e) => Es(e, "-"), ud = (e) => Hn(Es(e, " ")), fd = (e) => Wn(e).map(Hn).join(" ");
|
|
682
|
+
var To = {
|
|
683
683
|
words: Wn,
|
|
684
684
|
upperFirst: Hn,
|
|
685
685
|
camelCase: Nl,
|
|
@@ -688,11 +688,11 @@ var _o = {
|
|
|
688
688
|
kebabCase: cd,
|
|
689
689
|
sentenceCase: ud,
|
|
690
690
|
titleCase: fd
|
|
691
|
-
},
|
|
692
|
-
|
|
691
|
+
}, Cs = { exports: {} };
|
|
692
|
+
Cs.exports = function(e) {
|
|
693
693
|
return Fl(dd(e), e);
|
|
694
694
|
};
|
|
695
|
-
|
|
695
|
+
Cs.exports.array = Fl;
|
|
696
696
|
function Fl(e, t) {
|
|
697
697
|
var r = e.length, n = new Array(r), o = {}, s = r, i = pd(t), a = hd(e);
|
|
698
698
|
for (t.forEach(function(u) {
|
|
@@ -719,8 +719,8 @@ function Fl(e, t) {
|
|
|
719
719
|
if (h = Array.from(h), d = h.length) {
|
|
720
720
|
f.add(u);
|
|
721
721
|
do {
|
|
722
|
-
var
|
|
723
|
-
c(
|
|
722
|
+
var y = h[--d];
|
|
723
|
+
c(y, a.get(y), f);
|
|
724
724
|
} while (d);
|
|
725
725
|
f.delete(u);
|
|
726
726
|
}
|
|
@@ -747,7 +747,7 @@ function hd(e) {
|
|
|
747
747
|
t.set(e[r], r);
|
|
748
748
|
return t;
|
|
749
749
|
}
|
|
750
|
-
var md =
|
|
750
|
+
var md = Cs.exports;
|
|
751
751
|
const gd = /* @__PURE__ */ Lt(md), yd = Object.prototype.toString, bd = Error.prototype.toString, vd = RegExp.prototype.toString, xd = typeof Symbol < "u" ? Symbol.prototype.toString : () => "", _d = /^Symbol\((.*)\)(.*)$/;
|
|
752
752
|
function Td(e) {
|
|
753
753
|
return e != +e ? "NaN" : e === 0 && 1 / e < 0 ? "-0" : "" + e;
|
|
@@ -847,10 +847,10 @@ let St = {
|
|
|
847
847
|
positive: "${path} must be a positive number",
|
|
848
848
|
negative: "${path} must be a negative number",
|
|
849
849
|
integer: "${path} must be an integer"
|
|
850
|
-
},
|
|
850
|
+
}, Ko = {
|
|
851
851
|
min: "${path} field must be later than ${min}",
|
|
852
852
|
max: "${path} field must be at earlier than ${max}"
|
|
853
|
-
},
|
|
853
|
+
}, Jo = {
|
|
854
854
|
isValue: "${path} field must be ${value}"
|
|
855
855
|
}, Tn = {
|
|
856
856
|
noUnknown: "${path} field has unspecified keys: ${unknown}",
|
|
@@ -877,10 +877,10 @@ var Wl = Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
|
877
877
|
mixed: St,
|
|
878
878
|
string: tt,
|
|
879
879
|
number: Dt,
|
|
880
|
-
date:
|
|
880
|
+
date: Ko,
|
|
881
881
|
object: Tn,
|
|
882
882
|
array: Sn,
|
|
883
|
-
boolean:
|
|
883
|
+
boolean: Jo,
|
|
884
884
|
tuple: Vl
|
|
885
885
|
});
|
|
886
886
|
const Zt = (e) => e && e.__isYupSchema__;
|
|
@@ -976,63 +976,63 @@ function nr(e) {
|
|
|
976
976
|
skipAbsent: h
|
|
977
977
|
} = e;
|
|
978
978
|
let {
|
|
979
|
-
parent:
|
|
979
|
+
parent: y,
|
|
980
980
|
context: b,
|
|
981
|
-
abortEarly:
|
|
982
|
-
disableStackTrace:
|
|
981
|
+
abortEarly: g = i.spec.abortEarly,
|
|
982
|
+
disableStackTrace: T = i.spec.disableStackTrace
|
|
983
983
|
} = o;
|
|
984
|
-
function j(
|
|
985
|
-
return zt.isRef(
|
|
984
|
+
function j(C) {
|
|
985
|
+
return zt.isRef(C) ? C.getValue(r, y, b) : C;
|
|
986
986
|
}
|
|
987
|
-
function C
|
|
987
|
+
function O(C = {}) {
|
|
988
988
|
const D = Object.assign({
|
|
989
989
|
value: r,
|
|
990
990
|
originalValue: s,
|
|
991
991
|
label: i.spec.label,
|
|
992
|
-
path:
|
|
992
|
+
path: C.path || n,
|
|
993
993
|
spec: i.spec,
|
|
994
|
-
disableStackTrace:
|
|
995
|
-
}, f,
|
|
994
|
+
disableStackTrace: C.disableStackTrace || T
|
|
995
|
+
}, f, C.params);
|
|
996
996
|
for (const Q of Object.keys(D)) D[Q] = j(D[Q]);
|
|
997
|
-
const q = new We(We.formatError(
|
|
997
|
+
const q = new We(We.formatError(C.message || p, D), r, D.path, C.type || u, D.disableStackTrace);
|
|
998
998
|
return q.params = D, q;
|
|
999
999
|
}
|
|
1000
|
-
const E =
|
|
1000
|
+
const E = g ? a : c;
|
|
1001
1001
|
let _ = {
|
|
1002
1002
|
path: n,
|
|
1003
|
-
parent:
|
|
1003
|
+
parent: y,
|
|
1004
1004
|
type: u,
|
|
1005
1005
|
from: o.from,
|
|
1006
|
-
createError:
|
|
1006
|
+
createError: O,
|
|
1007
1007
|
resolve: j,
|
|
1008
1008
|
options: o,
|
|
1009
1009
|
originalValue: s,
|
|
1010
1010
|
schema: i
|
|
1011
1011
|
};
|
|
1012
|
-
const
|
|
1013
|
-
We.isError(
|
|
1014
|
-
}, R = (
|
|
1015
|
-
We.isError(
|
|
1012
|
+
const A = (C) => {
|
|
1013
|
+
We.isError(C) ? E(C) : C ? c(null) : E(O());
|
|
1014
|
+
}, R = (C) => {
|
|
1015
|
+
We.isError(C) ? E(C) : a(C);
|
|
1016
1016
|
};
|
|
1017
1017
|
if (h && mt(r))
|
|
1018
|
-
return
|
|
1019
|
-
let
|
|
1018
|
+
return A(!0);
|
|
1019
|
+
let J;
|
|
1020
1020
|
try {
|
|
1021
1021
|
var m;
|
|
1022
|
-
if (
|
|
1022
|
+
if (J = d.call(_, r, _), typeof ((m = J) == null ? void 0 : m.then) == "function") {
|
|
1023
1023
|
if (o.sync)
|
|
1024
1024
|
throw new Error(`Validation test of type: "${_.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);
|
|
1025
|
-
return Promise.resolve(
|
|
1025
|
+
return Promise.resolve(J).then(A, R);
|
|
1026
1026
|
}
|
|
1027
|
-
} catch (
|
|
1028
|
-
R(
|
|
1027
|
+
} catch (C) {
|
|
1028
|
+
R(C);
|
|
1029
1029
|
return;
|
|
1030
1030
|
}
|
|
1031
|
-
|
|
1031
|
+
A(J);
|
|
1032
1032
|
}
|
|
1033
1033
|
return t.OPTIONS = e, t;
|
|
1034
1034
|
}
|
|
1035
|
-
function
|
|
1035
|
+
function As(e, t, r, n = r) {
|
|
1036
1036
|
let o, s, i;
|
|
1037
1037
|
return t ? (Gt.forEach(t, (a, c, u) => {
|
|
1038
1038
|
let d = c ? a.slice(1, a.length - 1) : a;
|
|
@@ -1064,7 +1064,7 @@ function Cs(e, t, r, n = r) {
|
|
|
1064
1064
|
};
|
|
1065
1065
|
}
|
|
1066
1066
|
function Ed(e, t, r, n) {
|
|
1067
|
-
return
|
|
1067
|
+
return As(e, t, r, n).schema;
|
|
1068
1068
|
}
|
|
1069
1069
|
class jn extends Set {
|
|
1070
1070
|
describe() {
|
|
@@ -1254,7 +1254,7 @@ attempted value: ${i}
|
|
|
1254
1254
|
o || (o = !0, n(b, i));
|
|
1255
1255
|
}, p = s.length, h = [];
|
|
1256
1256
|
if (!p) return f([]);
|
|
1257
|
-
let
|
|
1257
|
+
let y = {
|
|
1258
1258
|
value: i,
|
|
1259
1259
|
originalValue: a,
|
|
1260
1260
|
path: c,
|
|
@@ -1262,8 +1262,8 @@ attempted value: ${i}
|
|
|
1262
1262
|
schema: this
|
|
1263
1263
|
};
|
|
1264
1264
|
for (let b = 0; b < s.length; b++) {
|
|
1265
|
-
const
|
|
1266
|
-
y
|
|
1265
|
+
const g = s[b];
|
|
1266
|
+
g(y, d, function(j) {
|
|
1267
1267
|
j && (Array.isArray(j) ? h.push(...j) : h.push(j)), --p <= 0 && f(h);
|
|
1268
1268
|
});
|
|
1269
1269
|
}
|
|
@@ -1527,7 +1527,7 @@ for (const e of ["validate", "validateSync"]) He.prototype[`${e}At`] = function(
|
|
|
1527
1527
|
parent: o,
|
|
1528
1528
|
parentPath: s,
|
|
1529
1529
|
schema: i
|
|
1530
|
-
} =
|
|
1530
|
+
} = As(this, t, r, n.context);
|
|
1531
1531
|
return i[e](o && o[s], Object.assign({}, n, {
|
|
1532
1532
|
parent: o,
|
|
1533
1533
|
path: t
|
|
@@ -1537,9 +1537,9 @@ for (const e of ["equals", "is"]) He.prototype[e] = He.prototype.oneOf;
|
|
|
1537
1537
|
for (const e of ["not", "nope"]) He.prototype[e] = He.prototype.notOneOf;
|
|
1538
1538
|
const Cd = () => !0;
|
|
1539
1539
|
function kn(e) {
|
|
1540
|
-
return new
|
|
1540
|
+
return new Os(e);
|
|
1541
1541
|
}
|
|
1542
|
-
class
|
|
1542
|
+
class Os extends He {
|
|
1543
1543
|
constructor(t) {
|
|
1544
1544
|
super(typeof t == "function" ? {
|
|
1545
1545
|
type: "mixed",
|
|
@@ -1550,11 +1550,11 @@ class As extends He {
|
|
|
1550
1550
|
}, t));
|
|
1551
1551
|
}
|
|
1552
1552
|
}
|
|
1553
|
-
kn.prototype =
|
|
1554
|
-
function
|
|
1555
|
-
return new
|
|
1553
|
+
kn.prototype = Os.prototype;
|
|
1554
|
+
function Xo() {
|
|
1555
|
+
return new $s();
|
|
1556
1556
|
}
|
|
1557
|
-
class
|
|
1557
|
+
class $s extends He {
|
|
1558
1558
|
constructor() {
|
|
1559
1559
|
super({
|
|
1560
1560
|
type: "boolean",
|
|
@@ -1571,7 +1571,7 @@ class Os extends He {
|
|
|
1571
1571
|
});
|
|
1572
1572
|
});
|
|
1573
1573
|
}
|
|
1574
|
-
isTrue(t =
|
|
1574
|
+
isTrue(t = Jo.isValue) {
|
|
1575
1575
|
return this.test({
|
|
1576
1576
|
message: t,
|
|
1577
1577
|
name: "is-value",
|
|
@@ -1584,7 +1584,7 @@ class Os extends He {
|
|
|
1584
1584
|
}
|
|
1585
1585
|
});
|
|
1586
1586
|
}
|
|
1587
|
-
isFalse(t =
|
|
1587
|
+
isFalse(t = Jo.isValue) {
|
|
1588
1588
|
return this.test({
|
|
1589
1589
|
message: t,
|
|
1590
1590
|
name: "is-value",
|
|
@@ -1622,17 +1622,17 @@ class Os extends He {
|
|
|
1622
1622
|
return super.strip(t);
|
|
1623
1623
|
}
|
|
1624
1624
|
}
|
|
1625
|
-
|
|
1625
|
+
Xo.prototype = $s.prototype;
|
|
1626
1626
|
const Ad = /^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;
|
|
1627
1627
|
function Od(e) {
|
|
1628
|
-
const t =
|
|
1628
|
+
const t = Zo(e);
|
|
1629
1629
|
if (!t) return Date.parse ? Date.parse(e) : Number.NaN;
|
|
1630
1630
|
if (t.z === void 0 && t.plusMinus === void 0)
|
|
1631
1631
|
return new Date(t.year, t.month, t.day, t.hour, t.minute, t.second, t.millisecond).valueOf();
|
|
1632
1632
|
let r = 0;
|
|
1633
1633
|
return t.z !== "Z" && t.plusMinus !== void 0 && (r = t.hourOffset * 60 + t.minuteOffset, t.plusMinus === "+" && (r = 0 - r)), Date.UTC(t.year, t.month, t.day, t.hour, t.minute + r, t.second, t.millisecond);
|
|
1634
1634
|
}
|
|
1635
|
-
function
|
|
1635
|
+
function Zo(e) {
|
|
1636
1636
|
var t, r;
|
|
1637
1637
|
const n = Ad.exec(e);
|
|
1638
1638
|
return n ? {
|
|
@@ -1664,9 +1664,9 @@ let $d = (
|
|
|
1664
1664
|
/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i
|
|
1665
1665
|
), kd = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i, Pd = "^\\d{4}-\\d{2}-\\d{2}", Id = "\\d{2}:\\d{2}:\\d{2}", Rd = "(([+-]\\d{2}(:?\\d{2})?)|Z)", Dd = new RegExp(`${Pd}T${Id}(\\.\\d+)?${Rd}$`), Md = (e) => mt(e) || e === e.trim(), Nd = {}.toString();
|
|
1666
1666
|
function Pn() {
|
|
1667
|
-
return new
|
|
1667
|
+
return new js();
|
|
1668
1668
|
}
|
|
1669
|
-
class
|
|
1669
|
+
class js extends He {
|
|
1670
1670
|
constructor() {
|
|
1671
1671
|
super({
|
|
1672
1672
|
type: "string",
|
|
@@ -1790,7 +1790,7 @@ class $s extends He {
|
|
|
1790
1790
|
skipAbsent: !0,
|
|
1791
1791
|
test: (s) => {
|
|
1792
1792
|
if (!s || n) return !0;
|
|
1793
|
-
const i =
|
|
1793
|
+
const i = Zo(s);
|
|
1794
1794
|
return i ? !!i.z : !1;
|
|
1795
1795
|
}
|
|
1796
1796
|
}).test({
|
|
@@ -1802,7 +1802,7 @@ class $s extends He {
|
|
|
1802
1802
|
skipAbsent: !0,
|
|
1803
1803
|
test: (s) => {
|
|
1804
1804
|
if (!s || o == null) return !0;
|
|
1805
|
-
const i =
|
|
1805
|
+
const i = Zo(s);
|
|
1806
1806
|
return i ? i.precision === o : !1;
|
|
1807
1807
|
}
|
|
1808
1808
|
});
|
|
@@ -1837,12 +1837,12 @@ class $s extends He {
|
|
|
1837
1837
|
});
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
|
-
Pn.prototype =
|
|
1840
|
+
Pn.prototype = js.prototype;
|
|
1841
1841
|
let Fd = (e) => e != +e;
|
|
1842
1842
|
function Hl() {
|
|
1843
|
-
return new
|
|
1843
|
+
return new ks();
|
|
1844
1844
|
}
|
|
1845
|
-
class
|
|
1845
|
+
class ks extends He {
|
|
1846
1846
|
constructor() {
|
|
1847
1847
|
super({
|
|
1848
1848
|
type: "number",
|
|
@@ -1942,9 +1942,9 @@ class js extends He {
|
|
|
1942
1942
|
return this.transform((o) => mt(o) ? o : Math[t](o));
|
|
1943
1943
|
}
|
|
1944
1944
|
}
|
|
1945
|
-
Hl.prototype =
|
|
1945
|
+
Hl.prototype = ks.prototype;
|
|
1946
1946
|
let Gl = /* @__PURE__ */ new Date(""), Ld = (e) => Object.prototype.toString.call(e) === "[object Date]";
|
|
1947
|
-
function
|
|
1947
|
+
function Ps() {
|
|
1948
1948
|
return new br();
|
|
1949
1949
|
}
|
|
1950
1950
|
class br extends He {
|
|
@@ -1969,7 +1969,7 @@ class br extends He {
|
|
|
1969
1969
|
}
|
|
1970
1970
|
return n;
|
|
1971
1971
|
}
|
|
1972
|
-
min(t, r =
|
|
1972
|
+
min(t, r = Ko.min) {
|
|
1973
1973
|
let n = this.prepareParam(t, "min");
|
|
1974
1974
|
return this.test({
|
|
1975
1975
|
message: r,
|
|
@@ -1984,7 +1984,7 @@ class br extends He {
|
|
|
1984
1984
|
}
|
|
1985
1985
|
});
|
|
1986
1986
|
}
|
|
1987
|
-
max(t, r =
|
|
1987
|
+
max(t, r = Ko.max) {
|
|
1988
1988
|
let n = this.prepareParam(t, "max");
|
|
1989
1989
|
return this.test({
|
|
1990
1990
|
message: r,
|
|
@@ -2001,8 +2001,8 @@ class br extends He {
|
|
|
2001
2001
|
}
|
|
2002
2002
|
}
|
|
2003
2003
|
br.INVALID_DATE = Gl;
|
|
2004
|
-
|
|
2005
|
-
|
|
2004
|
+
Ps.prototype = br.prototype;
|
|
2005
|
+
Ps.INVALID_DATE = Gl;
|
|
2006
2006
|
function zd(e, t = []) {
|
|
2007
2007
|
let r = [], n = /* @__PURE__ */ new Set(), o = new Set(t.map(([i, a]) => `${i}-${a}`));
|
|
2008
2008
|
function s(i, a) {
|
|
@@ -2064,9 +2064,9 @@ function Ii(e, t) {
|
|
|
2064
2064
|
}
|
|
2065
2065
|
const Ud = Yl([]);
|
|
2066
2066
|
function qr(e) {
|
|
2067
|
-
return new
|
|
2067
|
+
return new Is(e);
|
|
2068
2068
|
}
|
|
2069
|
-
class
|
|
2069
|
+
class Is extends He {
|
|
2070
2070
|
constructor(t) {
|
|
2071
2071
|
super({
|
|
2072
2072
|
type: "object",
|
|
@@ -2089,21 +2089,21 @@ class Ps extends He {
|
|
|
2089
2089
|
for (const f of a) {
|
|
2090
2090
|
let p = s[f], h = f in o;
|
|
2091
2091
|
if (p) {
|
|
2092
|
-
let
|
|
2092
|
+
let y, b = o[f];
|
|
2093
2093
|
u.path = (r.path ? `${r.path}.` : "") + f, p = p.resolve({
|
|
2094
2094
|
value: b,
|
|
2095
2095
|
context: r.context,
|
|
2096
2096
|
parent: c
|
|
2097
2097
|
});
|
|
2098
|
-
let
|
|
2099
|
-
if (
|
|
2098
|
+
let g = p instanceof He ? p.spec : void 0, T = g == null ? void 0 : g.strict;
|
|
2099
|
+
if (g != null && g.strip) {
|
|
2100
2100
|
d = d || f in o;
|
|
2101
2101
|
continue;
|
|
2102
2102
|
}
|
|
2103
|
-
|
|
2103
|
+
y = !r.__validating || !T ? (
|
|
2104
2104
|
// TODO: use _cast, this is double resolving
|
|
2105
2105
|
p.cast(o[f], u)
|
|
2106
|
-
) : o[f],
|
|
2106
|
+
) : o[f], y !== void 0 && (c[f] = y);
|
|
2107
2107
|
} else h && !i && (c[f] = o[f]);
|
|
2108
2108
|
(h !== f in c || c[f] !== o[f]) && (d = !0);
|
|
2109
2109
|
}
|
|
@@ -2273,13 +2273,13 @@ class Ps extends He {
|
|
|
2273
2273
|
});
|
|
2274
2274
|
}
|
|
2275
2275
|
camelCase() {
|
|
2276
|
-
return this.transformKeys(
|
|
2276
|
+
return this.transformKeys(To.camelCase);
|
|
2277
2277
|
}
|
|
2278
2278
|
snakeCase() {
|
|
2279
|
-
return this.transformKeys(
|
|
2279
|
+
return this.transformKeys(To.snakeCase);
|
|
2280
2280
|
}
|
|
2281
2281
|
constantCase() {
|
|
2282
|
-
return this.transformKeys((t) =>
|
|
2282
|
+
return this.transformKeys((t) => To.snakeCase(t).toUpperCase());
|
|
2283
2283
|
}
|
|
2284
2284
|
describe(t) {
|
|
2285
2285
|
const r = (t ? this.resolve(t) : this).clone(), n = super.describe(t);
|
|
@@ -2295,11 +2295,11 @@ class Ps extends He {
|
|
|
2295
2295
|
return n;
|
|
2296
2296
|
}
|
|
2297
2297
|
}
|
|
2298
|
-
qr.prototype =
|
|
2299
|
-
function
|
|
2300
|
-
return new
|
|
2298
|
+
qr.prototype = Is.prototype;
|
|
2299
|
+
function Rs(e) {
|
|
2300
|
+
return new Ds(e);
|
|
2301
2301
|
}
|
|
2302
|
-
class
|
|
2302
|
+
class Ds extends He {
|
|
2303
2303
|
constructor(t) {
|
|
2304
2304
|
super({
|
|
2305
2305
|
type: "array",
|
|
@@ -2437,11 +2437,11 @@ class Rs extends He {
|
|
|
2437
2437
|
return n;
|
|
2438
2438
|
}
|
|
2439
2439
|
}
|
|
2440
|
-
|
|
2440
|
+
Rs.prototype = Ds.prototype;
|
|
2441
2441
|
function Kl(e) {
|
|
2442
|
-
return new
|
|
2442
|
+
return new Ms(e);
|
|
2443
2443
|
}
|
|
2444
|
-
class
|
|
2444
|
+
class Ms extends He {
|
|
2445
2445
|
constructor(t) {
|
|
2446
2446
|
super({
|
|
2447
2447
|
type: "tuple",
|
|
@@ -2510,11 +2510,11 @@ class Ds extends He {
|
|
|
2510
2510
|
}), n;
|
|
2511
2511
|
}
|
|
2512
2512
|
}
|
|
2513
|
-
Kl.prototype =
|
|
2513
|
+
Kl.prototype = Ms.prototype;
|
|
2514
2514
|
function Vd(e) {
|
|
2515
|
-
return new
|
|
2515
|
+
return new Ns(e);
|
|
2516
2516
|
}
|
|
2517
|
-
class
|
|
2517
|
+
class Ns {
|
|
2518
2518
|
constructor(t) {
|
|
2519
2519
|
this.type = "lazy", this.__isYupSchema__ = !0, this.spec = void 0, this._resolve = (r, n = {}) => {
|
|
2520
2520
|
let o = this.builder(r, n);
|
|
@@ -2526,7 +2526,7 @@ class Ms {
|
|
|
2526
2526
|
};
|
|
2527
2527
|
}
|
|
2528
2528
|
clone(t) {
|
|
2529
|
-
const r = new
|
|
2529
|
+
const r = new Ns(this.builder);
|
|
2530
2530
|
return r.spec = Object.assign({}, this.spec, t), r;
|
|
2531
2531
|
}
|
|
2532
2532
|
optionality(t) {
|
|
@@ -2601,23 +2601,23 @@ function Hd(e, t, r) {
|
|
|
2601
2601
|
}
|
|
2602
2602
|
const Ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2603
2603
|
__proto__: null,
|
|
2604
|
-
ArraySchema:
|
|
2605
|
-
BooleanSchema:
|
|
2604
|
+
ArraySchema: Ds,
|
|
2605
|
+
BooleanSchema: $s,
|
|
2606
2606
|
DateSchema: br,
|
|
2607
|
-
MixedSchema:
|
|
2608
|
-
NumberSchema:
|
|
2609
|
-
ObjectSchema:
|
|
2607
|
+
MixedSchema: Os,
|
|
2608
|
+
NumberSchema: ks,
|
|
2609
|
+
ObjectSchema: Is,
|
|
2610
2610
|
Schema: He,
|
|
2611
|
-
StringSchema:
|
|
2612
|
-
TupleSchema:
|
|
2611
|
+
StringSchema: js,
|
|
2612
|
+
TupleSchema: Ms,
|
|
2613
2613
|
ValidationError: We,
|
|
2614
2614
|
addMethod: Hd,
|
|
2615
|
-
array:
|
|
2616
|
-
bool:
|
|
2617
|
-
boolean:
|
|
2618
|
-
date:
|
|
2615
|
+
array: Rs,
|
|
2616
|
+
bool: Xo,
|
|
2617
|
+
boolean: Xo,
|
|
2618
|
+
date: Ps,
|
|
2619
2619
|
defaultLocale: Wl,
|
|
2620
|
-
getIn:
|
|
2620
|
+
getIn: As,
|
|
2621
2621
|
isSchema: Zt,
|
|
2622
2622
|
lazy: Vd,
|
|
2623
2623
|
mixed: kn,
|
|
@@ -2664,7 +2664,7 @@ function Gd({ path: e, autoInvoke: t = !0, clearDataOnRefetch: r = !1 }) {
|
|
|
2664
2664
|
const { fetchPath: n, options: o } = re(
|
|
2665
2665
|
() => Ke({ path: $e(e, "_info"), method: "GET" }),
|
|
2666
2666
|
[e]
|
|
2667
|
-
), { data: s, loading: i, refetch: a, error: c } =
|
|
2667
|
+
), { data: s, loading: i, refetch: a, error: c } = Ts(n, { autoInvoke: t, clearDataOnRefetch: r, ...o });
|
|
2668
2668
|
return { info: re(
|
|
2669
2669
|
() => s ? {
|
|
2670
2670
|
...s,
|
|
@@ -2712,17 +2712,17 @@ function qd(e) {
|
|
|
2712
2712
|
try {
|
|
2713
2713
|
const h = new FormData();
|
|
2714
2714
|
h.append("username", f), h.append("password", p);
|
|
2715
|
-
const { fetchPath:
|
|
2715
|
+
const { fetchPath: y, options: b } = Ke({
|
|
2716
2716
|
path: $e(e, "auth/login"),
|
|
2717
2717
|
method: "POST"
|
|
2718
|
-
}),
|
|
2718
|
+
}), g = await fetch(y, {
|
|
2719
2719
|
...b,
|
|
2720
2720
|
headers: {
|
|
2721
2721
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
2722
2722
|
},
|
|
2723
2723
|
body: new URLSearchParams(h)
|
|
2724
2724
|
});
|
|
2725
|
-
|
|
2725
|
+
g.ok || (g.status === 400 ? r({ type: "setError", payload: "Username or password wrong." }) : r({ type: "setError", payload: "Couldn't sign in user" })), o();
|
|
2726
2726
|
} catch (h) {
|
|
2727
2727
|
console.error("signin error", h), r({ type: "setError", payload: "Failed to fetch" });
|
|
2728
2728
|
}
|
|
@@ -2762,17 +2762,17 @@ function qd(e) {
|
|
|
2762
2762
|
path: $e(e, "auth/forgot-password"),
|
|
2763
2763
|
method: "POST",
|
|
2764
2764
|
body: { email: n.email }
|
|
2765
|
-
}),
|
|
2766
|
-
if (!
|
|
2765
|
+
}), y = await fetch(p, h);
|
|
2766
|
+
if (!y.ok) {
|
|
2767
2767
|
r({ type: "setError", payload: "Couldn't request token to reset password" });
|
|
2768
2768
|
return;
|
|
2769
2769
|
}
|
|
2770
|
-
const b = await
|
|
2770
|
+
const b = await y.json(), { token: g } = b, { fetchPath: T, options: j } = Ke({
|
|
2771
2771
|
path: $e(e, "auth/reset-password"),
|
|
2772
2772
|
method: "POST",
|
|
2773
|
-
body: { token:
|
|
2773
|
+
body: { token: g, password: f }
|
|
2774
2774
|
});
|
|
2775
|
-
if (!(await fetch(
|
|
2775
|
+
if (!(await fetch(T, j)).ok) {
|
|
2776
2776
|
r({ type: "setError", payload: "Couldn't reset password" });
|
|
2777
2777
|
return;
|
|
2778
2778
|
}
|
|
@@ -2786,12 +2786,12 @@ function qd(e) {
|
|
|
2786
2786
|
(f, p) => {
|
|
2787
2787
|
const h = $e(e, "auth/login", f);
|
|
2788
2788
|
if (p) {
|
|
2789
|
-
const
|
|
2789
|
+
const g = window.screenLeft + window.outerWidth / 2 - 250, T = window.screenTop + window.outerHeight / 2 - 500 / 2, j = window.open(
|
|
2790
2790
|
h + "?popup=true",
|
|
2791
2791
|
"auth",
|
|
2792
|
-
`toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=500, height=500, top=${
|
|
2793
|
-
),
|
|
2794
|
-
j.closed !== !1 && (window.clearInterval(
|
|
2792
|
+
`toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=500, height=500, top=${T}, left=${g}`
|
|
2793
|
+
), O = window.setInterval(function() {
|
|
2794
|
+
j.closed !== !1 && (window.clearInterval(O), o());
|
|
2795
2795
|
}, 200);
|
|
2796
2796
|
return;
|
|
2797
2797
|
}
|
|
@@ -2821,8 +2821,8 @@ function Kd(e, t) {
|
|
|
2821
2821
|
try {
|
|
2822
2822
|
const { fetchPath: f, options: p } = Ke({ path: $e(d, "info/"), method: "GET" }), h = await fetch(f, p);
|
|
2823
2823
|
if (h.ok) {
|
|
2824
|
-
const
|
|
2825
|
-
o(
|
|
2824
|
+
const y = await h.json();
|
|
2825
|
+
o(y);
|
|
2826
2826
|
} else
|
|
2827
2827
|
c({ error: "404 Not Found", message: "Couldn't fetch info" });
|
|
2828
2828
|
} catch {
|
|
@@ -2833,7 +2833,7 @@ function Kd(e, t) {
|
|
|
2833
2833
|
};
|
|
2834
2834
|
return { info: n, loading: s, error: a };
|
|
2835
2835
|
}
|
|
2836
|
-
const
|
|
2836
|
+
const Fs = ml({
|
|
2837
2837
|
auth: {
|
|
2838
2838
|
/**
|
|
2839
2839
|
* @type {{email: string, first_name: string, id: int, is_active: boolean, last_name: string, permissions: string[], roles: string[], username: string} | null}
|
|
@@ -2864,14 +2864,14 @@ const Ns = ml({
|
|
|
2864
2864
|
}
|
|
2865
2865
|
});
|
|
2866
2866
|
function Jd() {
|
|
2867
|
-
return Ln(
|
|
2867
|
+
return Ln(Fs).auth;
|
|
2868
2868
|
}
|
|
2869
2869
|
function Xd() {
|
|
2870
|
-
return Ln(
|
|
2870
|
+
return Ln(Fs).info;
|
|
2871
2871
|
}
|
|
2872
2872
|
function t2(e) {
|
|
2873
2873
|
const t = { baseUrl: new URL(document.baseURI).pathname + "/api/v1", inheritMantineTheme: !1 }, { baseUrl: r, children: n } = { ...t, ...e }, o = qd(r), s = { baseUrl: r, ...Kd(r, o) };
|
|
2874
|
-
return /* @__PURE__ */ l.jsx(
|
|
2874
|
+
return /* @__PURE__ */ l.jsx(Fs.Provider, { value: { auth: o, info: s }, children: n });
|
|
2875
2875
|
}
|
|
2876
2876
|
const Zd = async (e, t, r) => {
|
|
2877
2877
|
const { fetchPath: n, options: o } = Ke({ path: $e(t, "/download"), method: "POST" }), s = await fetch(n, { ...o, body: JSON.stringify(r) });
|
|
@@ -2904,28 +2904,28 @@ function Qd({
|
|
|
2904
2904
|
} : c,
|
|
2905
2905
|
[r, c]
|
|
2906
2906
|
), f = ge(
|
|
2907
|
-
(z) => u((
|
|
2908
|
-
if (typeof z == "function" && (z = z(
|
|
2907
|
+
(z) => u((K) => {
|
|
2908
|
+
if (typeof z == "function" && (z = z(K)), !K)
|
|
2909
2909
|
return hn(null, z);
|
|
2910
|
-
const ee = hn({ ...
|
|
2910
|
+
const ee = hn({ ...K }, z);
|
|
2911
2911
|
if ((z.filters || z.order_column || z.order_direction) && !z.page && (ee.page = 0), a) {
|
|
2912
|
-
if (z.page && z.page !==
|
|
2912
|
+
if (z.page && z.page !== K.page && !z.streaming)
|
|
2913
2913
|
throw new Error("You cannot change page in streaming mode, use streaming.fetch() instead");
|
|
2914
|
-
if (z.page_size && z.page_size !==
|
|
2914
|
+
if (z.page_size && z.page_size !== K.page_size)
|
|
2915
2915
|
throw new Error("You cannot change page size in streaming mode, use streaming.fetch() instead");
|
|
2916
2916
|
}
|
|
2917
2917
|
return ee;
|
|
2918
2918
|
}),
|
|
2919
2919
|
[a]
|
|
2920
|
-
), [p, h] = ne(null),
|
|
2921
|
-
info:
|
|
2922
|
-
loading:
|
|
2920
|
+
), [p, h] = ne(null), y = re(() => p, [p]), b = ge(() => h(null), []), {
|
|
2921
|
+
info: g,
|
|
2922
|
+
loading: T,
|
|
2923
2923
|
refetch: j,
|
|
2924
|
-
error:
|
|
2924
|
+
error: O
|
|
2925
2925
|
} = Gd({ path: e, autoInvoke: n, clearDataOnRefetch: o }), {
|
|
2926
2926
|
data: E,
|
|
2927
2927
|
loading: _,
|
|
2928
|
-
refetch:
|
|
2928
|
+
refetch: A,
|
|
2929
2929
|
error: R
|
|
2930
2930
|
} = Gf({
|
|
2931
2931
|
path: e,
|
|
@@ -2934,10 +2934,10 @@ function Qd({
|
|
|
2934
2934
|
clearDataOnRefetch: s
|
|
2935
2935
|
});
|
|
2936
2936
|
ye(() => {
|
|
2937
|
-
d &&
|
|
2938
|
-
}, [
|
|
2939
|
-
if (
|
|
2940
|
-
h({ message: "Couldn't fetch info", originalError:
|
|
2937
|
+
d && A();
|
|
2938
|
+
}, [A, d]), ye(() => {
|
|
2939
|
+
if (O) {
|
|
2940
|
+
h({ message: "Couldn't fetch info", originalError: O });
|
|
2941
2941
|
return;
|
|
2942
2942
|
}
|
|
2943
2943
|
if (R) {
|
|
@@ -2945,60 +2945,60 @@ function Qd({
|
|
|
2945
2945
|
return;
|
|
2946
2946
|
}
|
|
2947
2947
|
b();
|
|
2948
|
-
}, [
|
|
2949
|
-
const
|
|
2948
|
+
}, [O, R, b]);
|
|
2949
|
+
const U = re(() => T || _, [T, _]);
|
|
2950
2950
|
pr(() => {
|
|
2951
2951
|
if (!i)
|
|
2952
2952
|
return;
|
|
2953
2953
|
const z = hn(null, t);
|
|
2954
2954
|
c != null && c.page_size && (z.page_size = c.page_size), f(z);
|
|
2955
2955
|
}, [e]);
|
|
2956
|
-
const
|
|
2956
|
+
const J = ge(
|
|
2957
2957
|
async (z) => {
|
|
2958
2958
|
try {
|
|
2959
|
-
const
|
|
2960
|
-
return b(),
|
|
2961
|
-
} catch (
|
|
2962
|
-
h({ message: `Couldn't fetch item with id ${z}`, originalError:
|
|
2959
|
+
const K = await Kf(e, ot(z));
|
|
2960
|
+
return b(), K;
|
|
2961
|
+
} catch (K) {
|
|
2962
|
+
h({ message: `Couldn't fetch item with id ${z}`, originalError: K });
|
|
2963
2963
|
}
|
|
2964
2964
|
},
|
|
2965
2965
|
[e, b]
|
|
2966
2966
|
), m = ge(
|
|
2967
|
-
async (z,
|
|
2967
|
+
async (z, K) => {
|
|
2968
2968
|
try {
|
|
2969
2969
|
const ee = await Yf(e, z);
|
|
2970
|
-
return
|
|
2970
|
+
return K || (j(), A()), b(), ee;
|
|
2971
2971
|
} catch (ee) {
|
|
2972
2972
|
h({ message: "Couldn't add item", originalError: ee });
|
|
2973
2973
|
}
|
|
2974
2974
|
},
|
|
2975
|
-
[
|
|
2976
|
-
),
|
|
2977
|
-
async (z,
|
|
2975
|
+
[A, j, e, b]
|
|
2976
|
+
), C = ge(
|
|
2977
|
+
async (z, K, ee) => {
|
|
2978
2978
|
try {
|
|
2979
|
-
const w = await Jf(e, ot(z),
|
|
2980
|
-
return ee || (j(),
|
|
2979
|
+
const w = await Jf(e, ot(z), K);
|
|
2980
|
+
return ee || (j(), A()), b(), w;
|
|
2981
2981
|
} catch (w) {
|
|
2982
2982
|
h({ message: `Couldn't update item with id ${z}`, originalError: w });
|
|
2983
2983
|
}
|
|
2984
2984
|
},
|
|
2985
|
-
[
|
|
2985
|
+
[A, j, e, b]
|
|
2986
2986
|
), D = ge(
|
|
2987
|
-
async (z,
|
|
2987
|
+
async (z, K) => {
|
|
2988
2988
|
try {
|
|
2989
2989
|
const ee = await qf(e, ot(z));
|
|
2990
|
-
return
|
|
2990
|
+
return K || (j(), A()), b(), ee;
|
|
2991
2991
|
} catch (ee) {
|
|
2992
2992
|
h({ message: `Couldn't delete item with id ${z}`, originalError: ee });
|
|
2993
2993
|
}
|
|
2994
2994
|
},
|
|
2995
|
-
[
|
|
2995
|
+
[A, j, e, b]
|
|
2996
2996
|
), q = ge(
|
|
2997
2997
|
async (z) => {
|
|
2998
2998
|
try {
|
|
2999
2999
|
await Zd(z, e, d);
|
|
3000
|
-
} catch (
|
|
3001
|
-
h({ message: "Couldn't download", originalError:
|
|
3000
|
+
} catch (K) {
|
|
3001
|
+
h({ message: "Couldn't download", originalError: K });
|
|
3002
3002
|
}
|
|
3003
3003
|
},
|
|
3004
3004
|
[e, d]
|
|
@@ -3015,9 +3015,9 @@ function Qd({
|
|
|
3015
3015
|
});
|
|
3016
3016
|
}, [f, ae, a]), ye(() => {
|
|
3017
3017
|
a && E && ae((z) => {
|
|
3018
|
-
let
|
|
3018
|
+
let K = Object.keys(z.data).length;
|
|
3019
3019
|
const ee = { isEnd: !1 };
|
|
3020
|
-
return d.page <
|
|
3020
|
+
return d.page < K ? (K = d.page, ee.data = { [d.page]: E.result }) : ee.data = { ...z.data, [d.page]: E.result }, E.result.length < d.page_size ? (ee.isEnd = !0, ee.fetch = () => null) : ee.fetch = () => f({ page: K + 1, streaming: !0 }), ee;
|
|
3021
3021
|
});
|
|
3022
3022
|
}, [E, f, ae, a]);
|
|
3023
3023
|
const ce = re(() => {
|
|
@@ -3025,25 +3025,25 @@ function Qd({
|
|
|
3025
3025
|
all: "all",
|
|
3026
3026
|
actions: "actions"
|
|
3027
3027
|
};
|
|
3028
|
-
return E == null || E.list_columns.forEach((
|
|
3029
|
-
z[
|
|
3028
|
+
return E == null || E.list_columns.forEach((K) => {
|
|
3029
|
+
z[K] && (z[K] = `_${K}`);
|
|
3030
3030
|
}), z;
|
|
3031
3031
|
}, [E == null ? void 0 : E.list_columns]);
|
|
3032
3032
|
return {
|
|
3033
3033
|
path: e,
|
|
3034
3034
|
data: E,
|
|
3035
|
-
info:
|
|
3035
|
+
info: g,
|
|
3036
3036
|
queryParams: d,
|
|
3037
|
-
loading:
|
|
3038
|
-
error:
|
|
3037
|
+
loading: U,
|
|
3038
|
+
error: y,
|
|
3039
3039
|
streaming: Q,
|
|
3040
3040
|
specialKey: ce,
|
|
3041
3041
|
setQueryParams: f,
|
|
3042
|
-
refetch:
|
|
3042
|
+
refetch: A,
|
|
3043
3043
|
refetchInfo: j,
|
|
3044
|
-
getEntry:
|
|
3044
|
+
getEntry: J,
|
|
3045
3045
|
addEntry: m,
|
|
3046
|
-
updateEntry:
|
|
3046
|
+
updateEntry: C,
|
|
3047
3047
|
deleteEntry: D,
|
|
3048
3048
|
download: q
|
|
3049
3049
|
};
|
|
@@ -3077,7 +3077,7 @@ const ep = async (e, t, r) => {
|
|
|
3077
3077
|
dispatchBulkActions: s,
|
|
3078
3078
|
error: n
|
|
3079
3079
|
};
|
|
3080
|
-
},
|
|
3080
|
+
}, Ls = ml({
|
|
3081
3081
|
Api: {
|
|
3082
3082
|
path: "",
|
|
3083
3083
|
/**
|
|
@@ -3126,13 +3126,13 @@ const ep = async (e, t, r) => {
|
|
|
3126
3126
|
}
|
|
3127
3127
|
});
|
|
3128
3128
|
function me() {
|
|
3129
|
-
const e = Ln(
|
|
3129
|
+
const e = Ln(Ls);
|
|
3130
3130
|
if (e === void 0)
|
|
3131
3131
|
throw new Error("useApi must be used within a ApiProvider");
|
|
3132
3132
|
return e.Api;
|
|
3133
3133
|
}
|
|
3134
3134
|
function r2() {
|
|
3135
|
-
const e = Ln(
|
|
3135
|
+
const e = Ln(Ls);
|
|
3136
3136
|
if (e === void 0)
|
|
3137
3137
|
throw new Error("useBulkActions must be used within a ApiProvider");
|
|
3138
3138
|
return e.BulkActions;
|
|
@@ -3158,7 +3158,7 @@ function rp({
|
|
|
3158
3158
|
resetQueryParamsOnPathChange: i,
|
|
3159
3159
|
streaming: c
|
|
3160
3160
|
}), f = tp({ path: $e(u, e), Api: d });
|
|
3161
|
-
return /* @__PURE__ */ l.jsx(
|
|
3161
|
+
return /* @__PURE__ */ l.jsx(Ls.Provider, { value: { Api: d, BulkActions: f }, children: a });
|
|
3162
3162
|
}
|
|
3163
3163
|
/**
|
|
3164
3164
|
* @license @tabler/icons-react v3.24.0 - MIT
|
|
@@ -3195,7 +3195,7 @@ var np = {
|
|
|
3195
3195
|
*/
|
|
3196
3196
|
const Be = (e, t, r, n) => {
|
|
3197
3197
|
const o = It(
|
|
3198
|
-
({ color: s = "currentColor", size: i = 24, stroke: a = 2, title: c, className: u, children: d, ...f }, p) =>
|
|
3198
|
+
({ color: s = "currentColor", size: i = 24, stroke: a = 2, title: c, className: u, children: d, ...f }, p) => xo(
|
|
3199
3199
|
"svg",
|
|
3200
3200
|
{
|
|
3201
3201
|
ref: p,
|
|
@@ -3208,8 +3208,8 @@ const Be = (e, t, r, n) => {
|
|
|
3208
3208
|
...f
|
|
3209
3209
|
},
|
|
3210
3210
|
[
|
|
3211
|
-
c &&
|
|
3212
|
-
...n.map(([h,
|
|
3211
|
+
c && xo("title", { key: "svg-title" }, c),
|
|
3212
|
+
...n.map(([h, y]) => xo(h, y)),
|
|
3213
3213
|
...Array.isArray(d) ? d : [d]
|
|
3214
3214
|
]
|
|
3215
3215
|
)
|
|
@@ -3236,7 +3236,7 @@ var sp = Be("outline", "app-window", "IconAppWindow", [["path", { d: "M3 5m0 2a2
|
|
|
3236
3236
|
* This source code is licensed under the MIT license.
|
|
3237
3237
|
* See the LICENSE file in the root directory of this source tree.
|
|
3238
3238
|
*/
|
|
3239
|
-
var
|
|
3239
|
+
var Qo = Be("outline", "chevron-down", "IconChevronDown", [["path", { d: "M6 9l6 6l6 -6", key: "svg-0" }]]);
|
|
3240
3240
|
/**
|
|
3241
3241
|
* @license @tabler/icons-react v3.24.0 - MIT
|
|
3242
3242
|
*
|
|
@@ -3278,7 +3278,7 @@ var lp = Be("outline", "filter-cog", "IconFilterCog", [["path", { d: "M12 20l-3
|
|
|
3278
3278
|
* This source code is licensed under the MIT license.
|
|
3279
3279
|
* See the LICENSE file in the root directory of this source tree.
|
|
3280
3280
|
*/
|
|
3281
|
-
var
|
|
3281
|
+
var es = Be("outline", "filter", "IconFilter", [["path", { d: "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z", key: "svg-0" }]]);
|
|
3282
3282
|
/**
|
|
3283
3283
|
* @license @tabler/icons-react v3.24.0 - MIT
|
|
3284
3284
|
*
|
|
@@ -3399,10 +3399,10 @@ function mp({ id: e, ...t }) {
|
|
|
3399
3399
|
/* @__PURE__ */ l.jsx(hp, { opened: s, onClose: a, handleAccept: c, handleReject: a })
|
|
3400
3400
|
] });
|
|
3401
3401
|
}
|
|
3402
|
-
const
|
|
3402
|
+
const zs = (e, t) => {
|
|
3403
3403
|
const r = t.split("."), n = e[r[0]];
|
|
3404
3404
|
if (r.length > 1 && Array.isArray(n))
|
|
3405
|
-
return n.map((s) =>
|
|
3405
|
+
return n.map((s) => zs(s, r.slice(1).join("."))).join(", ");
|
|
3406
3406
|
const o = t.split(".").reduce((s, i) => s[i], e);
|
|
3407
3407
|
return Jl(o);
|
|
3408
3408
|
};
|
|
@@ -3431,7 +3431,7 @@ function gp(e, t) {
|
|
|
3431
3431
|
r[n.name] = typeof e.result[n.name] == "boolean" ? String(e.result[n.name]) : e.result[n.name];
|
|
3432
3432
|
}), r;
|
|
3433
3433
|
}
|
|
3434
|
-
function
|
|
3434
|
+
function Bs(e) {
|
|
3435
3435
|
return (t) => {
|
|
3436
3436
|
try {
|
|
3437
3437
|
return e.validateSync(t, { abortEarly: !1 }), {};
|
|
@@ -3480,7 +3480,7 @@ function In({ form: e, name: t, ...r }) {
|
|
|
3480
3480
|
() => n && typeof n == "object" ? JSON.stringify(n) : n || "",
|
|
3481
3481
|
[n]
|
|
3482
3482
|
);
|
|
3483
|
-
return t === "password" ? /* @__PURE__ */ l.jsx(bl, { ...e.getInputProps(t), value: o, ...r }) : /* @__PURE__ */ l.jsx(
|
|
3483
|
+
return t === "password" ? /* @__PURE__ */ l.jsx(bl, { ...e.getInputProps(t), value: o, ...r }) : /* @__PURE__ */ l.jsx(vs, { ...e.getInputProps(t), value: o, ...r });
|
|
3484
3484
|
}
|
|
3485
3485
|
function rc({ form: e, name: t, filter: r, ...n }) {
|
|
3486
3486
|
const [o, s] = ne(""), i = e.getInputProps(t).value, a = re(
|
|
@@ -3653,11 +3653,11 @@ function Sp({ item: e, info: t, opened: r, onClose: n, ...o }) {
|
|
|
3653
3653
|
saveButton: {}
|
|
3654
3654
|
}, { modal: a, stack: c, saveButton: u } = be("EditDialog", i, o), d = Vn({
|
|
3655
3655
|
initialValues: t.edit.defaultValues,
|
|
3656
|
-
validate:
|
|
3656
|
+
validate: Bs(t.edit.schema)
|
|
3657
3657
|
}), f = () => {
|
|
3658
3658
|
const h = {};
|
|
3659
|
-
return Object.keys(d.values).forEach((
|
|
3660
|
-
d.isDirty(
|
|
3659
|
+
return Object.keys(d.values).forEach((y) => {
|
|
3660
|
+
d.isDirty(y) && (h[y] = !0);
|
|
3661
3661
|
}), h;
|
|
3662
3662
|
};
|
|
3663
3663
|
ye(() => {
|
|
@@ -3682,7 +3682,7 @@ function Sp({ item: e, info: t, opened: r, onClose: n, ...o }) {
|
|
|
3682
3682
|
centered: !0,
|
|
3683
3683
|
...a,
|
|
3684
3684
|
children: /* @__PURE__ */ l.jsx(Ne, { component: "form", onSubmit: d.onSubmit(p), children: /* @__PURE__ */ l.jsx(Yt, { spacing: "md", ...c, children: /* @__PURE__ */ l.jsxs(en.Autosize, { mah: 450, type: "auto", children: [
|
|
3685
|
-
t.edit.columns.map((h,
|
|
3685
|
+
t.edit.columns.map((h, y) => /* @__PURE__ */ l.jsx(
|
|
3686
3686
|
Yn,
|
|
3687
3687
|
{
|
|
3688
3688
|
form: d,
|
|
@@ -3692,7 +3692,7 @@ function Sp({ item: e, info: t, opened: r, onClose: n, ...o }) {
|
|
|
3692
3692
|
schema: h,
|
|
3693
3693
|
withAsterisk: h.required
|
|
3694
3694
|
},
|
|
3695
|
-
|
|
3695
|
+
y
|
|
3696
3696
|
)),
|
|
3697
3697
|
/* @__PURE__ */ l.jsx(ut, { position: "right", mt: "xl", children: /* @__PURE__ */ l.jsx(kt, { type: "submit", ...u, children: "Save" }) })
|
|
3698
3698
|
] }) }) })
|
|
@@ -3755,12 +3755,12 @@ function Ap({ item: e, info: t, loading: r, opened: n, onClose: o, ...s }) {
|
|
|
3755
3755
|
/* @__PURE__ */ l.jsx(tr.Tab, { value: "details", children: "Details" }),
|
|
3756
3756
|
t.relations.map((f, p) => /* @__PURE__ */ l.jsx(tr.Tab, { value: f.name, children: f.name }, p))
|
|
3757
3757
|
] }),
|
|
3758
|
-
/* @__PURE__ */ l.jsx(tr.Panel, { pt: "xs", value: "details", ...d, children: /* @__PURE__ */ l.jsx(
|
|
3758
|
+
/* @__PURE__ */ l.jsx(tr.Panel, { pt: "xs", value: "details", ...d, children: /* @__PURE__ */ l.jsx(Ho, { p: "xs", withBorder: !0, children: /* @__PURE__ */ l.jsx(Yt, { spacing: "md", children: /* @__PURE__ */ l.jsx(en, { h: 450, type: "auto", children: e.show_columns.map((f, p) => /* @__PURE__ */ l.jsxs(je, { maw: 500, children: [
|
|
3759
3759
|
/* @__PURE__ */ l.jsx(je.Col, { span: 4, children: /* @__PURE__ */ l.jsx(ke, { size: "md", children: e.label_columns[f] }) }),
|
|
3760
3760
|
/* @__PURE__ */ l.jsx(je.Col, { span: 1, children: /* @__PURE__ */ l.jsx(ke, { size: "xs", children: ":" }) }),
|
|
3761
|
-
/* @__PURE__ */ l.jsx(je.Col, { span: 6, children: /* @__PURE__ */ l.jsx(ke, { size: "md", children:
|
|
3761
|
+
/* @__PURE__ */ l.jsx(je.Col, { span: 6, children: /* @__PURE__ */ l.jsx(ke, { size: "md", children: zs(e.result, f) }) })
|
|
3762
3762
|
] }, p)) }) }) }) }),
|
|
3763
|
-
t.relations.map((f, p) => /* @__PURE__ */ l.jsx(tr.Panel, { pt: "xs", value: f.name, children: /* @__PURE__ */ l.jsx(
|
|
3763
|
+
t.relations.map((f, p) => /* @__PURE__ */ l.jsx(tr.Panel, { pt: "xs", value: f.name, children: /* @__PURE__ */ l.jsx(Ho, { withBorder: !0, children: /* @__PURE__ */ l.jsx(
|
|
3764
3764
|
Cp,
|
|
3765
3765
|
{
|
|
3766
3766
|
relatedPath: f.path,
|
|
@@ -3822,7 +3822,7 @@ function oc({ opened: e, onClose: t, ...r }) {
|
|
|
3822
3822
|
addButton: {}
|
|
3823
3823
|
}, { addButton: i, modal: a, stack: c } = be("AddDialog", s, r), u = Vn({
|
|
3824
3824
|
initialValues: n.add.defaultValues,
|
|
3825
|
-
validate:
|
|
3825
|
+
validate: Bs(n.add.schema)
|
|
3826
3826
|
}), d = async (f) => {
|
|
3827
3827
|
await o(f), u.reset(), t();
|
|
3828
3828
|
};
|
|
@@ -3887,7 +3887,7 @@ function $p(...e) {
|
|
|
3887
3887
|
)
|
|
3888
3888
|
] });
|
|
3889
3889
|
}
|
|
3890
|
-
/*! @license DOMPurify 3.2.
|
|
3890
|
+
/*! @license DOMPurify 3.2.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.3/LICENSE */
|
|
3891
3891
|
const {
|
|
3892
3892
|
entries: sc,
|
|
3893
3893
|
setPrototypeOf: zi,
|
|
@@ -3900,8 +3900,8 @@ let {
|
|
|
3900
3900
|
seal: ft,
|
|
3901
3901
|
create: ic
|
|
3902
3902
|
} = Object, {
|
|
3903
|
-
apply:
|
|
3904
|
-
construct:
|
|
3903
|
+
apply: ts,
|
|
3904
|
+
construct: rs
|
|
3905
3905
|
} = typeof Reflect < "u" && Reflect;
|
|
3906
3906
|
Je || (Je = function(t) {
|
|
3907
3907
|
return t;
|
|
@@ -3909,25 +3909,25 @@ Je || (Je = function(t) {
|
|
|
3909
3909
|
ft || (ft = function(t) {
|
|
3910
3910
|
return t;
|
|
3911
3911
|
});
|
|
3912
|
-
|
|
3912
|
+
ts || (ts = function(t, r, n) {
|
|
3913
3913
|
return t.apply(r, n);
|
|
3914
3914
|
});
|
|
3915
|
-
|
|
3915
|
+
rs || (rs = function(t, r) {
|
|
3916
3916
|
return new t(...r);
|
|
3917
3917
|
});
|
|
3918
|
-
const gn = it(Array.prototype.forEach), Bi = it(Array.prototype.pop), Pr = it(Array.prototype.push), En = it(String.prototype.toLowerCase),
|
|
3918
|
+
const gn = it(Array.prototype.forEach), Bi = it(Array.prototype.pop), Pr = it(Array.prototype.push), En = it(String.prototype.toLowerCase), So = it(String.prototype.toString), Ui = it(String.prototype.match), Ir = it(String.prototype.replace), Ip = it(String.prototype.indexOf), Rp = it(String.prototype.trim), pt = it(Object.prototype.hasOwnProperty), Ye = it(RegExp.prototype.test), Rr = Dp(TypeError);
|
|
3919
3919
|
function it(e) {
|
|
3920
3920
|
return function(t) {
|
|
3921
3921
|
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
|
|
3922
3922
|
n[o - 1] = arguments[o];
|
|
3923
|
-
return
|
|
3923
|
+
return ts(e, t, n);
|
|
3924
3924
|
};
|
|
3925
3925
|
}
|
|
3926
3926
|
function Dp(e) {
|
|
3927
3927
|
return function() {
|
|
3928
3928
|
for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
|
|
3929
3929
|
r[n] = arguments[n];
|
|
3930
|
-
return
|
|
3930
|
+
return rs(e, r);
|
|
3931
3931
|
};
|
|
3932
3932
|
}
|
|
3933
3933
|
function ie(e, t) {
|
|
@@ -3971,7 +3971,7 @@ function Dr(e, t) {
|
|
|
3971
3971
|
}
|
|
3972
3972
|
return r;
|
|
3973
3973
|
}
|
|
3974
|
-
const Vi = Je(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]),
|
|
3974
|
+
const Vi = Je(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), wo = Je(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Eo = Je(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Np = Je(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Co = Je(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Fp = Je(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Wi = Je(["#text"]), Hi = Je(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Ao = Je(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Gi = Je(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), yn = Je(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Lp = ft(/\{\{[\w\W]*|[\w\W]*\}\}/gm), zp = ft(/<%[\w\W]*|[\w\W]*%>/gm), Bp = ft(/\$\{[\w\W]*}/gm), Up = ft(/^data-[\-\w.\u00B7-\uFFFF]+$/), Vp = ft(/^aria-[\-\w]+$/), ac = ft(
|
|
3975
3975
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
3976
3976
|
// eslint-disable-line no-useless-escape
|
|
3977
3977
|
), Wp = ft(/^(?:\w+script|data):/i), Hp = ft(
|
|
@@ -4044,7 +4044,7 @@ const Mr = {
|
|
|
4044
4044
|
function cc() {
|
|
4045
4045
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Yp();
|
|
4046
4046
|
const t = (G) => cc(G);
|
|
4047
|
-
if (t.version = "3.2.
|
|
4047
|
+
if (t.version = "3.2.3", t.removed = [], !e || !e.document || e.document.nodeType !== Mr.document)
|
|
4048
4048
|
return t.isSupported = !1, t;
|
|
4049
4049
|
let {
|
|
4050
4050
|
document: r
|
|
@@ -4059,22 +4059,22 @@ function cc() {
|
|
|
4059
4059
|
HTMLFormElement: f,
|
|
4060
4060
|
DOMParser: p,
|
|
4061
4061
|
trustedTypes: h
|
|
4062
|
-
} = e,
|
|
4062
|
+
} = e, y = c.prototype, b = Dr(y, "cloneNode"), g = Dr(y, "remove"), T = Dr(y, "nextSibling"), j = Dr(y, "childNodes"), O = Dr(y, "parentNode");
|
|
4063
4063
|
if (typeof i == "function") {
|
|
4064
4064
|
const G = r.createElement("template");
|
|
4065
4065
|
G.content && G.content.ownerDocument && (r = G.content.ownerDocument);
|
|
4066
4066
|
}
|
|
4067
4067
|
let E, _ = "";
|
|
4068
4068
|
const {
|
|
4069
|
-
implementation:
|
|
4069
|
+
implementation: A,
|
|
4070
4070
|
createNodeIterator: R,
|
|
4071
|
-
createDocumentFragment:
|
|
4072
|
-
getElementsByTagName:
|
|
4071
|
+
createDocumentFragment: U,
|
|
4072
|
+
getElementsByTagName: J
|
|
4073
4073
|
} = r, {
|
|
4074
4074
|
importNode: m
|
|
4075
4075
|
} = n;
|
|
4076
|
-
let
|
|
4077
|
-
t.isSupported = typeof sc == "function" && typeof
|
|
4076
|
+
let C = qi();
|
|
4077
|
+
t.isSupported = typeof sc == "function" && typeof O == "function" && A && A.createHTMLDocument !== void 0;
|
|
4078
4078
|
const {
|
|
4079
4079
|
MUSTACHE_EXPR: D,
|
|
4080
4080
|
ERB_EXPR: q,
|
|
@@ -4082,15 +4082,15 @@ function cc() {
|
|
|
4082
4082
|
DATA_ATTR: ae,
|
|
4083
4083
|
ARIA_ATTR: ce,
|
|
4084
4084
|
IS_SCRIPT_OR_DATA: z,
|
|
4085
|
-
ATTR_WHITESPACE:
|
|
4085
|
+
ATTR_WHITESPACE: K,
|
|
4086
4086
|
CUSTOM_ELEMENT: ee
|
|
4087
4087
|
} = Yi;
|
|
4088
4088
|
let {
|
|
4089
4089
|
IS_ALLOWED_URI: w
|
|
4090
4090
|
} = Yi, $ = null;
|
|
4091
|
-
const H = ie({}, [...Vi, ...
|
|
4091
|
+
const H = ie({}, [...Vi, ...wo, ...Eo, ...Co, ...Wi]);
|
|
4092
4092
|
let N = null;
|
|
4093
|
-
const W = ie({}, [...Hi, ...
|
|
4093
|
+
const W = ie({}, [...Hi, ...Ao, ...Gi, ...yn]);
|
|
4094
4094
|
let F = Object.seal(ic(null, {
|
|
4095
4095
|
tagNameCheck: {
|
|
4096
4096
|
writable: !0,
|
|
@@ -4119,19 +4119,19 @@ function cc() {
|
|
|
4119
4119
|
let Ie = null;
|
|
4120
4120
|
const bt = ie({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), vt = "http://www.w3.org/1998/Math/MathML", rt = "http://www.w3.org/2000/svg", Qe = "http://www.w3.org/1999/xhtml";
|
|
4121
4121
|
let Ue = Qe, go = !1, yo = null;
|
|
4122
|
-
const Bu = ie({}, [vt, rt, Qe],
|
|
4122
|
+
const Bu = ie({}, [vt, rt, Qe], So);
|
|
4123
4123
|
let ln = ie({}, ["mi", "mo", "mn", "ms", "mtext"]), cn = ie({}, ["annotation-xml"]);
|
|
4124
4124
|
const Uu = ie({}, ["title", "style", "font", "a", "script"]);
|
|
4125
4125
|
let Or = null;
|
|
4126
4126
|
const Vu = ["application/xhtml+xml", "text/html"], Wu = "text/html";
|
|
4127
4127
|
let Me = null, er = null;
|
|
4128
|
-
const Hu = r.createElement("form"),
|
|
4128
|
+
const Hu = r.createElement("form"), oi = function(x) {
|
|
4129
4129
|
return x instanceof RegExp || x instanceof Function;
|
|
4130
4130
|
}, bo = function() {
|
|
4131
4131
|
let x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4132
4132
|
if (!(er && er === x)) {
|
|
4133
4133
|
if ((!x || typeof x != "object") && (x = {}), x = Wt(x), Or = // eslint-disable-next-line unicorn/prefer-includes
|
|
4134
|
-
Vu.indexOf(x.PARSER_MEDIA_TYPE) === -1 ? Wu : x.PARSER_MEDIA_TYPE, Me = Or === "application/xhtml+xml" ?
|
|
4134
|
+
Vu.indexOf(x.PARSER_MEDIA_TYPE) === -1 ? Wu : x.PARSER_MEDIA_TYPE, Me = Or === "application/xhtml+xml" ? So : En, $ = pt(x, "ALLOWED_TAGS") ? ie({}, x.ALLOWED_TAGS, Me) : H, N = pt(x, "ALLOWED_ATTR") ? ie({}, x.ALLOWED_ATTR, Me) : W, yo = pt(x, "ALLOWED_NAMESPACES") ? ie({}, x.ALLOWED_NAMESPACES, So) : Bu, Ie = pt(x, "ADD_URI_SAFE_ATTR") ? ie(Wt(bt), x.ADD_URI_SAFE_ATTR, Me) : bt, lt = pt(x, "ADD_DATA_URI_TAGS") ? ie(Wt(Ct), x.ADD_DATA_URI_TAGS, Me) : Ct, ue = pt(x, "FORBID_CONTENTS") ? ie({}, x.FORBID_CONTENTS, Me) : Z, Y = pt(x, "FORBID_TAGS") ? ie({}, x.FORBID_TAGS, Me) : {}, I = pt(x, "FORBID_ATTR") ? ie({}, x.FORBID_ATTR, Me) : {}, we = pt(x, "USE_PROFILES") ? x.USE_PROFILES : !1, X = x.ALLOW_ARIA_ATTR !== !1, oe = x.ALLOW_DATA_ATTR !== !1, te = x.ALLOW_UNKNOWN_PROTOCOLS || !1, Ee = x.ALLOW_SELF_CLOSE_IN_ATTR !== !1, P = x.SAFE_FOR_TEMPLATES || !1, Pe = x.SAFE_FOR_XML !== !1, M = x.WHOLE_DOCUMENT || !1, at = x.RETURN_DOM || !1, Ut = x.RETURN_DOM_FRAGMENT || !1, Vt = x.RETURN_TRUSTED_TYPE || !1, yt = x.FORCE_BODY || !1, Ar = x.SANITIZE_DOM !== !1, v = x.SANITIZE_NAMED_PROPS || !1, L = x.KEEP_CONTENT !== !1, se = x.IN_PLACE || !1, w = x.ALLOWED_URI_REGEXP || ac, Ue = x.NAMESPACE || Qe, ln = x.MATHML_TEXT_INTEGRATION_POINTS || ln, cn = x.HTML_INTEGRATION_POINTS || cn, F = x.CUSTOM_ELEMENT_HANDLING || {}, x.CUSTOM_ELEMENT_HANDLING && oi(x.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (F.tagNameCheck = x.CUSTOM_ELEMENT_HANDLING.tagNameCheck), x.CUSTOM_ELEMENT_HANDLING && oi(x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (F.attributeNameCheck = x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), x.CUSTOM_ELEMENT_HANDLING && typeof x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (F.allowCustomizedBuiltInElements = x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), P && (oe = !1), Ut && (at = !0), we && ($ = ie({}, Wi), N = [], we.html === !0 && (ie($, Vi), ie(N, Hi)), we.svg === !0 && (ie($, wo), ie(N, Ao), ie(N, yn)), we.svgFilters === !0 && (ie($, Eo), ie(N, Ao), ie(N, yn)), we.mathMl === !0 && (ie($, Co), ie(N, Gi), ie(N, yn))), x.ADD_TAGS && ($ === H && ($ = Wt($)), ie($, x.ADD_TAGS, Me)), x.ADD_ATTR && (N === W && (N = Wt(N)), ie(N, x.ADD_ATTR, Me)), x.ADD_URI_SAFE_ATTR && ie(Ie, x.ADD_URI_SAFE_ATTR, Me), x.FORBID_CONTENTS && (ue === Z && (ue = Wt(ue)), ie(ue, x.FORBID_CONTENTS, Me)), L && ($["#text"] = !0), M && ie($, ["html", "head", "body"]), $.table && (ie($, ["tbody"]), delete Y.tbody), x.TRUSTED_TYPES_POLICY) {
|
|
4135
4135
|
if (typeof x.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
4136
4136
|
throw Rr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
4137
4137
|
if (typeof x.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -4141,22 +4141,22 @@ function cc() {
|
|
|
4141
4141
|
E === void 0 && (E = qp(h, o)), E !== null && typeof _ == "string" && (_ = E.createHTML(""));
|
|
4142
4142
|
Je && Je(x), er = x;
|
|
4143
4143
|
}
|
|
4144
|
-
},
|
|
4145
|
-
let k =
|
|
4144
|
+
}, si = ie({}, [...wo, ...Eo, ...Np]), ii = ie({}, [...Co, ...Fp]), Gu = function(x) {
|
|
4145
|
+
let k = O(x);
|
|
4146
4146
|
(!k || !k.tagName) && (k = {
|
|
4147
4147
|
namespaceURI: Ue,
|
|
4148
4148
|
tagName: "template"
|
|
4149
4149
|
});
|
|
4150
|
-
const
|
|
4151
|
-
return yo[x.namespaceURI] ? x.namespaceURI === rt ? k.namespaceURI === Qe ?
|
|
4150
|
+
const V = En(x.tagName), Te = En(k.tagName);
|
|
4151
|
+
return yo[x.namespaceURI] ? x.namespaceURI === rt ? k.namespaceURI === Qe ? V === "svg" : k.namespaceURI === vt ? V === "svg" && (Te === "annotation-xml" || ln[Te]) : !!si[V] : x.namespaceURI === vt ? k.namespaceURI === Qe ? V === "math" : k.namespaceURI === rt ? V === "math" && cn[Te] : !!ii[V] : x.namespaceURI === Qe ? k.namespaceURI === rt && !cn[Te] || k.namespaceURI === vt && !ln[Te] ? !1 : !ii[V] && (Uu[V] || !si[V]) : !!(Or === "application/xhtml+xml" && yo[x.namespaceURI]) : !1;
|
|
4152
4152
|
}, xt = function(x) {
|
|
4153
4153
|
Pr(t.removed, {
|
|
4154
4154
|
element: x
|
|
4155
4155
|
});
|
|
4156
4156
|
try {
|
|
4157
|
-
|
|
4157
|
+
O(x).removeChild(x);
|
|
4158
4158
|
} catch {
|
|
4159
|
-
|
|
4159
|
+
g(x);
|
|
4160
4160
|
}
|
|
4161
4161
|
}, un = function(x, k) {
|
|
4162
4162
|
try {
|
|
@@ -4181,13 +4181,13 @@ function cc() {
|
|
|
4181
4181
|
k.setAttribute(x, "");
|
|
4182
4182
|
} catch {
|
|
4183
4183
|
}
|
|
4184
|
-
},
|
|
4185
|
-
let k = null,
|
|
4184
|
+
}, ai = function(x) {
|
|
4185
|
+
let k = null, V = null;
|
|
4186
4186
|
if (yt)
|
|
4187
4187
|
x = "<remove></remove>" + x;
|
|
4188
4188
|
else {
|
|
4189
4189
|
const Le = Ui(x, /^[\r\n\t ]+/);
|
|
4190
|
-
|
|
4190
|
+
V = Le && Le[0];
|
|
4191
4191
|
}
|
|
4192
4192
|
Or === "application/xhtml+xml" && Ue === Qe && (x = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + x + "</body></html>");
|
|
4193
4193
|
const Te = E ? E.createHTML(x) : x;
|
|
@@ -4197,15 +4197,15 @@ function cc() {
|
|
|
4197
4197
|
} catch {
|
|
4198
4198
|
}
|
|
4199
4199
|
if (!k || !k.documentElement) {
|
|
4200
|
-
k =
|
|
4200
|
+
k = A.createDocument(Ue, "template", null);
|
|
4201
4201
|
try {
|
|
4202
4202
|
k.documentElement.innerHTML = go ? _ : Te;
|
|
4203
4203
|
} catch {
|
|
4204
4204
|
}
|
|
4205
4205
|
}
|
|
4206
4206
|
const Ve = k.body || k.documentElement;
|
|
4207
|
-
return x &&
|
|
4208
|
-
},
|
|
4207
|
+
return x && V && Ve.insertBefore(r.createTextNode(V), Ve.childNodes[0] || null), Ue === Qe ? J.call(k, M ? "html" : "body")[0] : M ? k.documentElement : Ve;
|
|
4208
|
+
}, li = function(x) {
|
|
4209
4209
|
return R.call(
|
|
4210
4210
|
x.ownerDocument || x,
|
|
4211
4211
|
x,
|
|
@@ -4213,48 +4213,48 @@ function cc() {
|
|
|
4213
4213
|
u.SHOW_ELEMENT | u.SHOW_COMMENT | u.SHOW_TEXT | u.SHOW_PROCESSING_INSTRUCTION | u.SHOW_CDATA_SECTION,
|
|
4214
4214
|
null
|
|
4215
4215
|
);
|
|
4216
|
-
},
|
|
4216
|
+
}, vo = function(x) {
|
|
4217
4217
|
return x instanceof f && (typeof x.nodeName != "string" || typeof x.textContent != "string" || typeof x.removeChild != "function" || !(x.attributes instanceof d) || typeof x.removeAttribute != "function" || typeof x.setAttribute != "function" || typeof x.namespaceURI != "string" || typeof x.insertBefore != "function" || typeof x.hasChildNodes != "function");
|
|
4218
4218
|
}, ci = function(x) {
|
|
4219
4219
|
return typeof a == "function" && x instanceof a;
|
|
4220
4220
|
};
|
|
4221
4221
|
function At(G, x, k) {
|
|
4222
|
-
gn(G, (
|
|
4223
|
-
|
|
4222
|
+
gn(G, (V) => {
|
|
4223
|
+
V.call(t, x, k, er);
|
|
4224
4224
|
});
|
|
4225
4225
|
}
|
|
4226
4226
|
const ui = function(x) {
|
|
4227
4227
|
let k = null;
|
|
4228
|
-
if (At(
|
|
4228
|
+
if (At(C.beforeSanitizeElements, x, null), vo(x))
|
|
4229
4229
|
return xt(x), !0;
|
|
4230
|
-
const
|
|
4231
|
-
if (At(
|
|
4232
|
-
tagName:
|
|
4230
|
+
const V = Me(x.nodeName);
|
|
4231
|
+
if (At(C.uponSanitizeElement, x, {
|
|
4232
|
+
tagName: V,
|
|
4233
4233
|
allowedTags: $
|
|
4234
4234
|
}), x.hasChildNodes() && !ci(x.firstElementChild) && Ye(/<[/\w]/g, x.innerHTML) && Ye(/<[/\w]/g, x.textContent) || x.nodeType === Mr.progressingInstruction || Pe && x.nodeType === Mr.comment && Ye(/<[/\w]/g, x.data))
|
|
4235
4235
|
return xt(x), !0;
|
|
4236
|
-
if (!$[
|
|
4237
|
-
if (!Y[
|
|
4236
|
+
if (!$[V] || Y[V]) {
|
|
4237
|
+
if (!Y[V] && di(V) && (F.tagNameCheck instanceof RegExp && Ye(F.tagNameCheck, V) || F.tagNameCheck instanceof Function && F.tagNameCheck(V)))
|
|
4238
4238
|
return !1;
|
|
4239
|
-
if (L && !ue[
|
|
4240
|
-
const Te =
|
|
4239
|
+
if (L && !ue[V]) {
|
|
4240
|
+
const Te = O(x) || x.parentNode, Ve = j(x) || x.childNodes;
|
|
4241
4241
|
if (Ve && Te) {
|
|
4242
4242
|
const Le = Ve.length;
|
|
4243
4243
|
for (let et = Le - 1; et >= 0; --et) {
|
|
4244
4244
|
const _t = b(Ve[et], !0);
|
|
4245
|
-
_t.__removalCount = (x.__removalCount || 0) + 1, Te.insertBefore(_t,
|
|
4245
|
+
_t.__removalCount = (x.__removalCount || 0) + 1, Te.insertBefore(_t, T(x));
|
|
4246
4246
|
}
|
|
4247
4247
|
}
|
|
4248
4248
|
}
|
|
4249
4249
|
return xt(x), !0;
|
|
4250
4250
|
}
|
|
4251
|
-
return x instanceof c && !Gu(x) || (
|
|
4251
|
+
return x instanceof c && !Gu(x) || (V === "noscript" || V === "noembed" || V === "noframes") && Ye(/<\/no(script|embed|frames)/i, x.innerHTML) ? (xt(x), !0) : (P && x.nodeType === Mr.text && (k = x.textContent, gn([D, q, Q], (Te) => {
|
|
4252
4252
|
k = Ir(k, Te, " ");
|
|
4253
4253
|
}), x.textContent !== k && (Pr(t.removed, {
|
|
4254
4254
|
element: x.cloneNode()
|
|
4255
|
-
}), x.textContent = k)), At(
|
|
4256
|
-
}, fi = function(x, k,
|
|
4257
|
-
if (Ar && (k === "id" || k === "name") && (
|
|
4255
|
+
}), x.textContent = k)), At(C.afterSanitizeElements, x, null), !1);
|
|
4256
|
+
}, fi = function(x, k, V) {
|
|
4257
|
+
if (Ar && (k === "id" || k === "name") && (V in r || V in Hu))
|
|
4258
4258
|
return !1;
|
|
4259
4259
|
if (!(oe && !I[k] && Ye(ae, k))) {
|
|
4260
4260
|
if (!(X && Ye(ce, k))) {
|
|
@@ -4265,13 +4265,13 @@ function cc() {
|
|
|
4265
4265
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
4266
4266
|
!(di(x) && (F.tagNameCheck instanceof RegExp && Ye(F.tagNameCheck, x) || F.tagNameCheck instanceof Function && F.tagNameCheck(x)) && (F.attributeNameCheck instanceof RegExp && Ye(F.attributeNameCheck, k) || F.attributeNameCheck instanceof Function && F.attributeNameCheck(k)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
4267
4267
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
4268
|
-
k === "is" && F.allowCustomizedBuiltInElements && (F.tagNameCheck instanceof RegExp && Ye(F.tagNameCheck,
|
|
4268
|
+
k === "is" && F.allowCustomizedBuiltInElements && (F.tagNameCheck instanceof RegExp && Ye(F.tagNameCheck, V) || F.tagNameCheck instanceof Function && F.tagNameCheck(V)))
|
|
4269
4269
|
) return !1;
|
|
4270
4270
|
} else if (!Ie[k]) {
|
|
4271
|
-
if (!Ye(w, Ir(
|
|
4272
|
-
if (!((k === "src" || k === "xlink:href" || k === "href") && x !== "script" && Ip(
|
|
4273
|
-
if (!(te && !Ye(z, Ir(
|
|
4274
|
-
if (
|
|
4271
|
+
if (!Ye(w, Ir(V, K, ""))) {
|
|
4272
|
+
if (!((k === "src" || k === "xlink:href" || k === "href") && x !== "script" && Ip(V, "data:") === 0 && lt[x])) {
|
|
4273
|
+
if (!(te && !Ye(z, Ir(V, K, "")))) {
|
|
4274
|
+
if (V)
|
|
4275
4275
|
return !1;
|
|
4276
4276
|
}
|
|
4277
4277
|
}
|
|
@@ -4283,13 +4283,13 @@ function cc() {
|
|
|
4283
4283
|
}, di = function(x) {
|
|
4284
4284
|
return x !== "annotation-xml" && Ui(x, ee);
|
|
4285
4285
|
}, pi = function(x) {
|
|
4286
|
-
At(
|
|
4286
|
+
At(C.beforeSanitizeAttributes, x, null);
|
|
4287
4287
|
const {
|
|
4288
4288
|
attributes: k
|
|
4289
4289
|
} = x;
|
|
4290
|
-
if (!k)
|
|
4290
|
+
if (!k || vo(x))
|
|
4291
4291
|
return;
|
|
4292
|
-
const
|
|
4292
|
+
const V = {
|
|
4293
4293
|
attrName: "",
|
|
4294
4294
|
attrValue: "",
|
|
4295
4295
|
keepAttr: !0,
|
|
@@ -4304,11 +4304,11 @@ function cc() {
|
|
|
4304
4304
|
value: _t
|
|
4305
4305
|
} = Ve, $r = Me(Le);
|
|
4306
4306
|
let Ge = Le === "value" ? _t : Rp(_t);
|
|
4307
|
-
if (
|
|
4307
|
+
if (V.attrName = $r, V.attrValue = Ge, V.keepAttr = !0, V.forceKeepAttr = void 0, At(C.uponSanitizeAttribute, x, V), Ge = V.attrValue, v && ($r === "id" || $r === "name") && (un(Le, x), Ge = B + Ge), Pe && Ye(/((--!?|])>)|<\/(style|title)/i, Ge)) {
|
|
4308
4308
|
un(Le, x);
|
|
4309
4309
|
continue;
|
|
4310
4310
|
}
|
|
4311
|
-
if (
|
|
4311
|
+
if (V.forceKeepAttr || (un(Le, x), !V.keepAttr))
|
|
4312
4312
|
continue;
|
|
4313
4313
|
if (!Ee && Ye(/\/>/i, Ge)) {
|
|
4314
4314
|
un(Le, x);
|
|
@@ -4331,21 +4331,21 @@ function cc() {
|
|
|
4331
4331
|
}
|
|
4332
4332
|
}
|
|
4333
4333
|
try {
|
|
4334
|
-
et ? x.setAttributeNS(et, Le, Ge) : x.setAttribute(Le, Ge),
|
|
4334
|
+
et ? x.setAttributeNS(et, Le, Ge) : x.setAttribute(Le, Ge), vo(x) ? xt(x) : Bi(t.removed);
|
|
4335
4335
|
} catch {
|
|
4336
4336
|
}
|
|
4337
4337
|
}
|
|
4338
4338
|
}
|
|
4339
|
-
At(
|
|
4339
|
+
At(C.afterSanitizeAttributes, x, null);
|
|
4340
4340
|
}, Yu = function G(x) {
|
|
4341
4341
|
let k = null;
|
|
4342
|
-
const
|
|
4343
|
-
for (At(
|
|
4344
|
-
At(
|
|
4345
|
-
At(
|
|
4342
|
+
const V = li(x);
|
|
4343
|
+
for (At(C.beforeSanitizeShadowDOM, x, null); k = V.nextNode(); )
|
|
4344
|
+
At(C.uponSanitizeShadowNode, k, null), ui(k), pi(k), k.content instanceof s && G(k.content);
|
|
4345
|
+
At(C.afterSanitizeShadowDOM, x, null);
|
|
4346
4346
|
};
|
|
4347
4347
|
return t.sanitize = function(G) {
|
|
4348
|
-
let x = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, k = null,
|
|
4348
|
+
let x = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, k = null, V = null, Te = null, Ve = null;
|
|
4349
4349
|
if (go = !G, go && (G = "<!-->"), typeof G != "string" && !ci(G))
|
|
4350
4350
|
if (typeof G.toString == "function") {
|
|
4351
4351
|
if (G = G.toString(), typeof G != "string")
|
|
@@ -4361,23 +4361,23 @@ function cc() {
|
|
|
4361
4361
|
throw Rr("root node is forbidden and cannot be sanitized in-place");
|
|
4362
4362
|
}
|
|
4363
4363
|
} else if (G instanceof a)
|
|
4364
|
-
k =
|
|
4364
|
+
k = ai("<!---->"), V = k.ownerDocument.importNode(G, !0), V.nodeType === Mr.element && V.nodeName === "BODY" || V.nodeName === "HTML" ? k = V : k.appendChild(V);
|
|
4365
4365
|
else {
|
|
4366
4366
|
if (!at && !P && !M && // eslint-disable-next-line unicorn/prefer-includes
|
|
4367
4367
|
G.indexOf("<") === -1)
|
|
4368
4368
|
return E && Vt ? E.createHTML(G) : G;
|
|
4369
|
-
if (k =
|
|
4369
|
+
if (k = ai(G), !k)
|
|
4370
4370
|
return at ? null : Vt ? _ : "";
|
|
4371
4371
|
}
|
|
4372
4372
|
k && yt && xt(k.firstChild);
|
|
4373
|
-
const Le =
|
|
4373
|
+
const Le = li(se ? G : k);
|
|
4374
4374
|
for (; Te = Le.nextNode(); )
|
|
4375
|
-
ui(Te)
|
|
4375
|
+
ui(Te), pi(Te), Te.content instanceof s && Yu(Te.content);
|
|
4376
4376
|
if (se)
|
|
4377
4377
|
return G;
|
|
4378
4378
|
if (at) {
|
|
4379
4379
|
if (Ut)
|
|
4380
|
-
for (Ve =
|
|
4380
|
+
for (Ve = U.call(k.ownerDocument); k.firstChild; )
|
|
4381
4381
|
Ve.appendChild(k.firstChild);
|
|
4382
4382
|
else
|
|
4383
4383
|
Ve = k;
|
|
@@ -4395,16 +4395,16 @@ function cc() {
|
|
|
4395
4395
|
er = null, Ze = !1;
|
|
4396
4396
|
}, t.isValidAttribute = function(G, x, k) {
|
|
4397
4397
|
er || bo({});
|
|
4398
|
-
const
|
|
4399
|
-
return fi(
|
|
4398
|
+
const V = Me(G), Te = Me(x);
|
|
4399
|
+
return fi(V, Te, k);
|
|
4400
4400
|
}, t.addHook = function(G, x) {
|
|
4401
|
-
typeof x == "function" && Pr(
|
|
4401
|
+
typeof x == "function" && Pr(C[G], x);
|
|
4402
4402
|
}, t.removeHook = function(G) {
|
|
4403
|
-
return Bi(
|
|
4403
|
+
return Bi(C[G]);
|
|
4404
4404
|
}, t.removeHooks = function(G) {
|
|
4405
|
-
|
|
4405
|
+
C[G] = [];
|
|
4406
4406
|
}, t.removeAllHooks = function() {
|
|
4407
|
-
|
|
4407
|
+
C = qi();
|
|
4408
4408
|
}, t;
|
|
4409
4409
|
}
|
|
4410
4410
|
var Ki = cc();
|
|
@@ -4424,10 +4424,10 @@ const Kp = "_field_zdaf7_1", Jp = "_rtl_zdaf7_7", Xp = "_borderRight_zdaf7_12",
|
|
|
4424
4424
|
const u = {
|
|
4425
4425
|
text: { style: { whiteSpace: "nowrap", overflow: "ellipsis" } }
|
|
4426
4426
|
}, { text: d } = be("Field", u, c), f = {};
|
|
4427
|
-
Object.entries(d).forEach(([h,
|
|
4428
|
-
typeof
|
|
4427
|
+
Object.entries(d).forEach(([h, y]) => {
|
|
4428
|
+
typeof y == "function" && (f[h] = y(t));
|
|
4429
4429
|
});
|
|
4430
|
-
const p =
|
|
4430
|
+
const p = xs({
|
|
4431
4431
|
name: "Field",
|
|
4432
4432
|
props: c,
|
|
4433
4433
|
classes: Zp
|
|
@@ -4435,7 +4435,7 @@ const Kp = "_field_zdaf7_1", Jp = "_rtl_zdaf7_7", Xp = "_borderRight_zdaf7_12",
|
|
|
4435
4435
|
return /* @__PURE__ */ l.jsx(Fe.Td, { ...p("field"), onClick: s ? () => s(e, t) : null, ...c, children: /* @__PURE__ */ l.jsx(Ne, { w: "100%", children: /* @__PURE__ */ l.jsx(lf, { visible: r, children: /* @__PURE__ */ l.jsx(
|
|
4436
4436
|
Mt,
|
|
4437
4437
|
{
|
|
4438
|
-
fallback: Array.isArray(o) ? o.map((h,
|
|
4438
|
+
fallback: Array.isArray(o) ? o.map((h, y) => /* @__PURE__ */ l.jsx(ke, { ...d, ...f, children: a ? Ki.sanitize(h) : h }, y)) : gl(o) ? o : /* @__PURE__ */ l.jsx(ke, { ...d, ...f, children: a ? Ki.sanitize(o) : o }),
|
|
4439
4439
|
functionProps: [t],
|
|
4440
4440
|
children: i
|
|
4441
4441
|
}
|
|
@@ -4448,7 +4448,7 @@ const Qp = "_row_138r2_1", eh = "_selected_138r2_5", Ji = {
|
|
|
4448
4448
|
selected: eh
|
|
4449
4449
|
};
|
|
4450
4450
|
function th({ entry: e, selected: t, children: r }) {
|
|
4451
|
-
const n =
|
|
4451
|
+
const n = xs({
|
|
4452
4452
|
name: "Row",
|
|
4453
4453
|
classes: Ji
|
|
4454
4454
|
}), o = be("Row", {}, {});
|
|
@@ -4493,7 +4493,7 @@ function nh({
|
|
|
4493
4493
|
{
|
|
4494
4494
|
pl: 2,
|
|
4495
4495
|
checked: o.includes(h),
|
|
4496
|
-
onChange: (
|
|
4496
|
+
onChange: (y) => {
|
|
4497
4497
|
s(h);
|
|
4498
4498
|
}
|
|
4499
4499
|
}
|
|
@@ -4507,22 +4507,22 @@ function nh({
|
|
|
4507
4507
|
entry: f
|
|
4508
4508
|
}
|
|
4509
4509
|
) }),
|
|
4510
|
-
e.list_columns.map((
|
|
4511
|
-
let
|
|
4512
|
-
typeof
|
|
4513
|
-
let
|
|
4514
|
-
typeof
|
|
4515
|
-
const j = (c == null ? void 0 : c[
|
|
4516
|
-
return j && (
|
|
4510
|
+
e.list_columns.map((y, b) => {
|
|
4511
|
+
let g = a == null ? void 0 : a[y];
|
|
4512
|
+
typeof g == "function" && (g = g({ id: h, ...f }));
|
|
4513
|
+
let T = zs(f, y);
|
|
4514
|
+
typeof T == "number" ? T = T.toLocaleString() : T == null && (T = "");
|
|
4515
|
+
const j = (c == null ? void 0 : c[y]) || (c == null ? void 0 : c[d]);
|
|
4516
|
+
return j && (T = T.split(j)), g === null ? null : /* @__PURE__ */ l.jsx(
|
|
4517
4517
|
Cn,
|
|
4518
4518
|
{
|
|
4519
4519
|
id: h,
|
|
4520
4520
|
entry: f,
|
|
4521
4521
|
loading: t,
|
|
4522
4522
|
onClickEntry: i,
|
|
4523
|
-
customElement:
|
|
4523
|
+
customElement: g,
|
|
4524
4524
|
sanitize: !0,
|
|
4525
|
-
children:
|
|
4525
|
+
children: T
|
|
4526
4526
|
},
|
|
4527
4527
|
b
|
|
4528
4528
|
);
|
|
@@ -4542,7 +4542,7 @@ const oh = "_root_1kmay_1", sh = "_wrapper_1kmay_7", ih = "_icon_1kmay_18", Xi =
|
|
|
4542
4542
|
wrapper: sh,
|
|
4543
4543
|
icon: ih
|
|
4544
4544
|
};
|
|
4545
|
-
function
|
|
4545
|
+
function Oo({
|
|
4546
4546
|
column: e,
|
|
4547
4547
|
label: t,
|
|
4548
4548
|
orderColumn: r,
|
|
@@ -4560,30 +4560,30 @@ function Ao({
|
|
|
4560
4560
|
color: "gray.8",
|
|
4561
4561
|
hoverColor: "gray.6",
|
|
4562
4562
|
selectedColor: "blue"
|
|
4563
|
-
},
|
|
4563
|
+
}, y = xs({
|
|
4564
4564
|
name: "FieldTitle",
|
|
4565
4565
|
classes: Xi,
|
|
4566
4566
|
classNames: i,
|
|
4567
4567
|
styles: a,
|
|
4568
4568
|
props: u
|
|
4569
|
-
}), b = be("FieldTitle", h, u), { hovered:
|
|
4570
|
-
return
|
|
4569
|
+
}), b = be("FieldTitle", h, u), { hovered: g, ref: T } = tf(), j = r && d.order_column === r, O = y("wrapper");
|
|
4570
|
+
return O.style.cursor = r ? O.style.cursor : "auto", /* @__PURE__ */ l.jsx(
|
|
4571
4571
|
Fe.Th,
|
|
4572
4572
|
{
|
|
4573
4573
|
className: Xi.fieldTitleRoot,
|
|
4574
|
-
...
|
|
4574
|
+
...y("root"),
|
|
4575
4575
|
onClick: r && !p ? () => f({
|
|
4576
4576
|
order_column: r,
|
|
4577
4577
|
order_direction: d.order_direction === "asc" ? "desc" : "asc"
|
|
4578
4578
|
}) : null,
|
|
4579
|
-
children: /* @__PURE__ */ l.jsx(Ne, { ref:
|
|
4579
|
+
children: /* @__PURE__ */ l.jsx(Ne, { ref: T, ...O, children: e === "Checkbox" ? /* @__PURE__ */ l.jsx(Qr, { pb: 5, pl: 2, onChange: o, checked: s }) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
4580
4580
|
/* @__PURE__ */ l.jsx(
|
|
4581
4581
|
Ne,
|
|
4582
4582
|
{
|
|
4583
4583
|
w: "100%",
|
|
4584
4584
|
fw: b.fw,
|
|
4585
4585
|
size: "xl",
|
|
4586
|
-
c:
|
|
4586
|
+
c: g && r ? b.hoverColor : j ? b.selectedColor : b.color,
|
|
4587
4587
|
children: c || t || e
|
|
4588
4588
|
}
|
|
4589
4589
|
),
|
|
@@ -4592,9 +4592,9 @@ function Ao({
|
|
|
4592
4592
|
{
|
|
4593
4593
|
label: "rel",
|
|
4594
4594
|
style: { indicator: { top: "-1px !important", right: "-2px !important", padding: "4px" } },
|
|
4595
|
-
children: /* @__PURE__ */ l.jsx(Ne, { ...
|
|
4595
|
+
children: /* @__PURE__ */ l.jsx(Ne, { ...y("icon"), children: j ? d.order_direction === "asc" ? /* @__PURE__ */ l.jsx(Qo, { size: 14, strokeWidth: 1.5 }) : /* @__PURE__ */ l.jsx(Mi, { size: 14, strokeWidth: 1.5 }) : null })
|
|
4596
4596
|
}
|
|
4597
|
-
) }) : /* @__PURE__ */ l.jsx(Ne, { ...
|
|
4597
|
+
) }) : /* @__PURE__ */ l.jsx(Ne, { ...y("icon"), children: j ? d.order_direction === "asc" ? /* @__PURE__ */ l.jsx(Qo, { size: 14, strokeWidth: 1.5 }) : /* @__PURE__ */ l.jsx(Mi, { size: 14, strokeWidth: 1.5 }) : null })
|
|
4598
4598
|
] }) })
|
|
4599
4599
|
}
|
|
4600
4600
|
);
|
|
@@ -4604,17 +4604,17 @@ const uc = zn(
|
|
|
4604
4604
|
const c = e.list_columns.includes("actions") ? "_actions" : "actions";
|
|
4605
4605
|
let u = a == null ? void 0 : a[c];
|
|
4606
4606
|
return typeof u == "function" && (u = u()), /* @__PURE__ */ l.jsx(Fe.Thead, { children: /* @__PURE__ */ l.jsxs(Fe.Tr, { children: [
|
|
4607
|
-
o ? null : /* @__PURE__ */ l.jsx(
|
|
4608
|
-
n ? null : /* @__PURE__ */ l.jsx(
|
|
4607
|
+
o ? null : /* @__PURE__ */ l.jsx(Oo, { data: e, column: "Checkbox", allChecked: s, toggleAll: i }),
|
|
4608
|
+
n ? null : /* @__PURE__ */ l.jsx(Oo, { column: "Actions", customElement: u }),
|
|
4609
4609
|
e.list_columns.map((d, f) => {
|
|
4610
4610
|
var h;
|
|
4611
4611
|
let p = a == null ? void 0 : a[d];
|
|
4612
4612
|
return typeof p == "function" && (p = p(e.label_columns[d])), p === null ? null : /* @__PURE__ */ l.jsx(
|
|
4613
|
-
|
|
4613
|
+
Oo,
|
|
4614
4614
|
{
|
|
4615
4615
|
column: d,
|
|
4616
4616
|
label: e.label_columns[d],
|
|
4617
|
-
orderColumn: e.order_columns.find((
|
|
4617
|
+
orderColumn: e.order_columns.find((y) => y === d) || e.order_columns.find((y) => y.startsWith(`${d}.`)),
|
|
4618
4618
|
related: ((h = t.filters[d]) == null ? void 0 : h.schema.type) === "Nested",
|
|
4619
4619
|
customElement: p
|
|
4620
4620
|
},
|
|
@@ -4646,16 +4646,16 @@ function ch({
|
|
|
4646
4646
|
striped: !0,
|
|
4647
4647
|
horizontalSpacing: "md",
|
|
4648
4648
|
verticalSpacing: "sm"
|
|
4649
|
-
}), h = be("DatagridTable", p, d), { data:
|
|
4650
|
-
|
|
4649
|
+
}), h = be("DatagridTable", p, d), { data: y, info: b } = me(), [g, T] = ne([]), [j, O] = ne(!1), E = (A) => {
|
|
4650
|
+
T((R) => R.includes(A) ? R.filter((U) => U !== A) : [...R, A]);
|
|
4651
4651
|
}, _ = () => {
|
|
4652
|
-
|
|
4652
|
+
T((A) => A.length === y.ids.length ? [] : y.ids.map((R, U) => R));
|
|
4653
4653
|
};
|
|
4654
4654
|
return ye(() => {
|
|
4655
|
-
|
|
4656
|
-
}, [
|
|
4657
|
-
|
|
4658
|
-
}, [
|
|
4655
|
+
O(g.length === y.result.length && g.length > 0), n && n(g), e == null || e.setSelectedIds(g.map((A) => A));
|
|
4656
|
+
}, [g]), ye(() => {
|
|
4657
|
+
T([]), n && n([]);
|
|
4658
|
+
}, [y]), /* @__PURE__ */ l.jsx(
|
|
4659
4659
|
en,
|
|
4660
4660
|
{
|
|
4661
4661
|
options: { className: f.colorScheme === "dark" ? "os-theme-light" : void 0 },
|
|
@@ -4665,12 +4665,12 @@ function ch({
|
|
|
4665
4665
|
/* @__PURE__ */ l.jsx(
|
|
4666
4666
|
uc,
|
|
4667
4667
|
{
|
|
4668
|
-
data:
|
|
4668
|
+
data: y,
|
|
4669
4669
|
info: b,
|
|
4670
4670
|
hideActions: t,
|
|
4671
4671
|
hideCheckbox: s,
|
|
4672
4672
|
allChecked: j,
|
|
4673
|
-
setSelection:
|
|
4673
|
+
setSelection: T,
|
|
4674
4674
|
toggleAll: _,
|
|
4675
4675
|
headerCustomizer: a
|
|
4676
4676
|
}
|
|
@@ -4678,12 +4678,12 @@ function ch({
|
|
|
4678
4678
|
/* @__PURE__ */ l.jsx(
|
|
4679
4679
|
nh,
|
|
4680
4680
|
{
|
|
4681
|
-
data:
|
|
4681
|
+
data: y,
|
|
4682
4682
|
loading: r,
|
|
4683
4683
|
hideActions: t,
|
|
4684
4684
|
hideCheckbox: s,
|
|
4685
|
-
selection:
|
|
4686
|
-
setSelection:
|
|
4685
|
+
selection: g,
|
|
4686
|
+
setSelection: T,
|
|
4687
4687
|
toggleRow: E,
|
|
4688
4688
|
onClickEntry: o,
|
|
4689
4689
|
bodyCustomizer: c,
|
|
@@ -4803,15 +4803,15 @@ function hc({ form: e, name: t, label: r, comboboxProps: n, ...o }) {
|
|
|
4803
4803
|
onDropdownClose: () => s.resetSelectedOption(),
|
|
4804
4804
|
onDropdownOpen: () => s.updateSelectedOptionIndex("active")
|
|
4805
4805
|
}), [i, a] = ne([]), [c, u] = ne(""), d = (h) => {
|
|
4806
|
-
c !== "" && (i.includes(c) || a((
|
|
4807
|
-
}, f = (h) => a((
|
|
4806
|
+
c !== "" && (i.includes(c) || a((y) => [...y, c]), u(""));
|
|
4807
|
+
}, f = (h) => a((y) => y.filter((b) => b !== h)), p = i.map((h) => /* @__PURE__ */ l.jsx(bi, { withRemoveButton: !0, onRemove: () => f(h), children: h }, h));
|
|
4808
4808
|
return ye(() => {
|
|
4809
4809
|
const h = e.getInputProps(t).value;
|
|
4810
4810
|
if (h)
|
|
4811
4811
|
try {
|
|
4812
4812
|
a([...h]);
|
|
4813
|
-
} catch (
|
|
4814
|
-
console.error("Error parsing JSON:",
|
|
4813
|
+
} catch (y) {
|
|
4814
|
+
console.error("Error parsing JSON:", y);
|
|
4815
4815
|
}
|
|
4816
4816
|
}, []), ye(() => {
|
|
4817
4817
|
e.getInputProps(t).onChange(i);
|
|
@@ -4857,9 +4857,9 @@ function hh({ onClose: e, ...t }) {
|
|
|
4857
4857
|
initialValues: {
|
|
4858
4858
|
filters: []
|
|
4859
4859
|
},
|
|
4860
|
-
validate:
|
|
4860
|
+
validate: Bs(
|
|
4861
4861
|
qr({
|
|
4862
|
-
filters:
|
|
4862
|
+
filters: Rs().of(
|
|
4863
4863
|
qr({
|
|
4864
4864
|
col: Pn().transform((f) => f || void 0).required("Field is required"),
|
|
4865
4865
|
opr: Pn().transform((f) => f || void 0).required("col is required"),
|
|
@@ -4888,7 +4888,7 @@ function hh({ onClose: e, ...t }) {
|
|
|
4888
4888
|
}
|
|
4889
4889
|
}, [n.filters]);
|
|
4890
4890
|
const u = (f) => {
|
|
4891
|
-
const p = f.filters.map(({ key:
|
|
4891
|
+
const p = f.filters.map(({ key: y, ...b }) => b), h = JSON.parse(JSON.stringify(p));
|
|
4892
4892
|
o({ filters: h, page: 0 }), e();
|
|
4893
4893
|
}, d = i.values.filters.map((f, p) => /* @__PURE__ */ l.jsxs(Ne, { px: "sm", children: [
|
|
4894
4894
|
/* @__PURE__ */ l.jsxs(tn, { my: "md", gap: "md", style: { whiteSpace: "nowrap" }, children: [
|
|
@@ -4897,8 +4897,8 @@ function hh({ onClose: e, ...t }) {
|
|
|
4897
4897
|
{
|
|
4898
4898
|
form: i,
|
|
4899
4899
|
name: `filters.${p}.col`,
|
|
4900
|
-
items: Object.entries(r.filters).map(([h,
|
|
4901
|
-
label:
|
|
4900
|
+
items: Object.entries(r.filters).map(([h, y]) => ({
|
|
4901
|
+
label: y.label,
|
|
4902
4902
|
value: String(h)
|
|
4903
4903
|
})),
|
|
4904
4904
|
onChange: (h) => {
|
|
@@ -4968,7 +4968,7 @@ function mh(...e) {
|
|
|
4968
4968
|
c: "gray"
|
|
4969
4969
|
}, e), [o, s] = ne(!1);
|
|
4970
4970
|
return /* @__PURE__ */ l.jsxs(fr, { opened: o, position: "bottom-end", onClose: () => s(!1), closeOnClickOutside: !1, children: [
|
|
4971
|
-
/* @__PURE__ */ l.jsx(fr.Target, { children: /* @__PURE__ */ l.jsx(Re, { opened: o ? !1 : null, label: "Filter", children: t.filters.filter((i) => mr(i.opr)).length != 0 ? /* @__PURE__ */ l.jsx(Bn, { zIndex: 20, size: 16, label: t.filters.length, children: /* @__PURE__ */ l.jsx(ze, { bg: n.bg, size: n.size, c: n.c, onClick: () => s(!0), children: /* @__PURE__ */ l.jsx(
|
|
4971
|
+
/* @__PURE__ */ l.jsx(fr.Target, { children: /* @__PURE__ */ l.jsx(Re, { opened: o ? !1 : null, label: "Filter", children: t.filters.filter((i) => mr(i.opr)).length != 0 ? /* @__PURE__ */ l.jsx(Bn, { zIndex: 20, size: 16, label: t.filters.length, children: /* @__PURE__ */ l.jsx(ze, { bg: n.bg, size: n.size, c: n.c, onClick: () => s(!0), children: /* @__PURE__ */ l.jsx(es, {}) }) }) : /* @__PURE__ */ l.jsx(ze, { bg: n.bg, size: n.size, c: n.c, onClick: () => s(!0), children: /* @__PURE__ */ l.jsx(es, {}) }) }) }),
|
|
4972
4972
|
/* @__PURE__ */ l.jsxs(fr.Dropdown, { px: "xs", children: [
|
|
4973
4973
|
/* @__PURE__ */ l.jsx(Ne, { style: { position: "absolute", top: 4, right: 4 }, children: /* @__PURE__ */ l.jsx(On, { title: "Filters", onClick: () => s(!1) }) }),
|
|
4974
4974
|
/* @__PURE__ */ l.jsx(
|
|
@@ -5024,29 +5024,29 @@ const gc = It((e, t) => {
|
|
|
5024
5024
|
hideActions: f = !1,
|
|
5025
5025
|
hidePagination: p = !1,
|
|
5026
5026
|
hideError: h = !1,
|
|
5027
|
-
hideDownload:
|
|
5027
|
+
hideDownload: y = !0,
|
|
5028
5028
|
onSelectCheckbox: b = null,
|
|
5029
|
-
onClickEntry:
|
|
5030
|
-
fetchOnMount:
|
|
5029
|
+
onClickEntry: g = null,
|
|
5030
|
+
fetchOnMount: T = !0,
|
|
5031
5031
|
bulkActions: j = null,
|
|
5032
|
-
styles:
|
|
5032
|
+
styles: O,
|
|
5033
5033
|
headerCustomizer: E = {},
|
|
5034
5034
|
bodyCustomizer: _ = {},
|
|
5035
|
-
toolbarCustomizer:
|
|
5035
|
+
toolbarCustomizer: A = {},
|
|
5036
5036
|
counter: R = !1,
|
|
5037
|
-
bodySeparator:
|
|
5037
|
+
bodySeparator: U
|
|
5038
5038
|
// Add more props here
|
|
5039
5039
|
} = e;
|
|
5040
5040
|
if (ye(() => {
|
|
5041
|
-
!n &&
|
|
5041
|
+
!n && T && i({});
|
|
5042
5042
|
}, [n]), !s)
|
|
5043
5043
|
return;
|
|
5044
|
-
const
|
|
5044
|
+
const J = j === null;
|
|
5045
5045
|
return /* @__PURE__ */ l.jsxs(
|
|
5046
|
-
|
|
5046
|
+
Ho,
|
|
5047
5047
|
{
|
|
5048
5048
|
ref: t,
|
|
5049
|
-
style: { position: "relative", height: "100%", display: "flex", flexDirection: "column", ...
|
|
5049
|
+
style: { position: "relative", height: "100%", display: "flex", flexDirection: "column", ...O },
|
|
5050
5050
|
children: [
|
|
5051
5051
|
a ? null : /* @__PURE__ */ l.jsx(
|
|
5052
5052
|
mc,
|
|
@@ -5054,8 +5054,8 @@ const gc = It((e, t) => {
|
|
|
5054
5054
|
hideFilter: c,
|
|
5055
5055
|
hideAdd: u,
|
|
5056
5056
|
hideSettings: d,
|
|
5057
|
-
hideDownload:
|
|
5058
|
-
toolbarCustomizer:
|
|
5057
|
+
hideDownload: y,
|
|
5058
|
+
toolbarCustomizer: A
|
|
5059
5059
|
}
|
|
5060
5060
|
),
|
|
5061
5061
|
n ? /* @__PURE__ */ l.jsx(
|
|
@@ -5065,12 +5065,12 @@ const gc = It((e, t) => {
|
|
|
5065
5065
|
hideActions: f,
|
|
5066
5066
|
loading: o,
|
|
5067
5067
|
onSelectCheckbox: b,
|
|
5068
|
-
onClickEntry:
|
|
5069
|
-
hideCheckbox:
|
|
5070
|
-
hideDownload:
|
|
5068
|
+
onClickEntry: g,
|
|
5069
|
+
hideCheckbox: J,
|
|
5070
|
+
hideDownload: y,
|
|
5071
5071
|
headerCustomizer: E,
|
|
5072
5072
|
bodyCustomizer: _,
|
|
5073
|
-
bodySeparator:
|
|
5073
|
+
bodySeparator: U
|
|
5074
5074
|
}
|
|
5075
5075
|
) : null,
|
|
5076
5076
|
!p && n ? /* @__PURE__ */ l.jsx(fc, { counter: R }) : null,
|
|
@@ -5149,8 +5149,8 @@ function tm(e) {
|
|
|
5149
5149
|
var t = Kh(e);
|
|
5150
5150
|
return t == Zh || t == Qh || t == Xh || t == em;
|
|
5151
5151
|
}
|
|
5152
|
-
var
|
|
5153
|
-
var e = /[^.]+$/.exec(
|
|
5152
|
+
var Us = tm, rm = gt, nm = rm["__core-js_shared__"], om = nm, $o = om, ra = function() {
|
|
5153
|
+
var e = /[^.]+$/.exec($o && $o.keys && $o.keys.IE_PROTO || "");
|
|
5154
5154
|
return e ? "Symbol(src)_1." + e : "";
|
|
5155
5155
|
}();
|
|
5156
5156
|
function sm(e) {
|
|
@@ -5170,7 +5170,7 @@ function cm(e) {
|
|
|
5170
5170
|
}
|
|
5171
5171
|
return "";
|
|
5172
5172
|
}
|
|
5173
|
-
var xc = cm, um =
|
|
5173
|
+
var xc = cm, um = Us, fm = im, dm = Rt, pm = xc, hm = /[\\^$.*+?()[\]{}|]/g, mm = /^\[object .+?Constructor\]$/, gm = Function.prototype, ym = Object.prototype, bm = gm.toString, vm = ym.hasOwnProperty, xm = RegExp(
|
|
5174
5174
|
"^" + bm.call(vm).replace(hm, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
5175
5175
|
);
|
|
5176
5176
|
function _m(e) {
|
|
@@ -5188,8 +5188,8 @@ function Am(e, t) {
|
|
|
5188
5188
|
var r = Cm(e, t);
|
|
5189
5189
|
return Em(r) ? r : void 0;
|
|
5190
5190
|
}
|
|
5191
|
-
var Qt = Am, Om = Qt, $m = gt, jm = Om($m, "DataView"), km = jm, Pm = Qt, Im = gt, Rm = Pm(Im, "Map"),
|
|
5192
|
-
(
|
|
5191
|
+
var Qt = Am, Om = Qt, $m = gt, jm = Om($m, "DataView"), km = jm, Pm = Qt, Im = gt, Rm = Pm(Im, "Map"), Vs = Rm, Dm = Qt, Mm = gt, Nm = Dm(Mm, "Promise"), Fm = Nm, Lm = Qt, zm = gt, Bm = Lm(zm, "Set"), _c = Bm, Um = Qt, Vm = gt, Wm = Um(Vm, "WeakMap"), Hm = Wm, ns = km, os = Vs, ss = Fm, is = _c, as = Hm, Tc = xr, _r = xc, na = "[object Map]", Gm = "[object Object]", oa = "[object Promise]", sa = "[object Set]", ia = "[object WeakMap]", aa = "[object DataView]", Ym = _r(ns), qm = _r(os), Km = _r(ss), Jm = _r(is), Xm = _r(as), Ht = Tc;
|
|
5192
|
+
(ns && Ht(new ns(new ArrayBuffer(1))) != aa || os && Ht(new os()) != na || ss && Ht(ss.resolve()) != oa || is && Ht(new is()) != sa || as && Ht(new as()) != ia) && (Ht = function(e) {
|
|
5193
5193
|
var t = Tc(e), r = t == Gm ? e.constructor : void 0, n = r ? _r(r) : "";
|
|
5194
5194
|
if (n)
|
|
5195
5195
|
switch (n) {
|
|
@@ -5222,7 +5222,7 @@ var og = ng, la = og, sg = Tr, Sc = Object.prototype, ig = Sc.hasOwnProperty, ag
|
|
|
5222
5222
|
function fg(e) {
|
|
5223
5223
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= ug;
|
|
5224
5224
|
}
|
|
5225
|
-
var wc = fg, dg =
|
|
5225
|
+
var wc = fg, dg = Us, pg = wc;
|
|
5226
5226
|
function hg(e) {
|
|
5227
5227
|
return e != null && pg(e.length) && !dg(e);
|
|
5228
5228
|
}
|
|
@@ -5236,7 +5236,7 @@ Rn.exports;
|
|
|
5236
5236
|
var r = gt, n = gg, o = t && !t.nodeType && t, s = o && !0 && e && !e.nodeType && e, i = s && s.exports === o, a = i ? r.Buffer : void 0, c = a ? a.isBuffer : void 0, u = c || n;
|
|
5237
5237
|
e.exports = u;
|
|
5238
5238
|
})(Rn, Rn.exports);
|
|
5239
|
-
var
|
|
5239
|
+
var Ws = Rn.exports, yg = xr, bg = wc, vg = Tr, xg = "[object Arguments]", _g = "[object Array]", Tg = "[object Boolean]", Sg = "[object Date]", wg = "[object Error]", Eg = "[object Function]", Cg = "[object Map]", Ag = "[object Number]", Og = "[object Object]", $g = "[object RegExp]", jg = "[object Set]", kg = "[object String]", Pg = "[object WeakMap]", Ig = "[object ArrayBuffer]", Rg = "[object DataView]", Dg = "[object Float32Array]", Mg = "[object Float64Array]", Ng = "[object Int8Array]", Fg = "[object Int16Array]", Lg = "[object Int32Array]", zg = "[object Uint8Array]", Bg = "[object Uint8ClampedArray]", Ug = "[object Uint16Array]", Vg = "[object Uint32Array]", _e = {};
|
|
5240
5240
|
_e[Dg] = _e[Mg] = _e[Ng] = _e[Fg] = _e[Lg] = _e[zg] = _e[Bg] = _e[Ug] = _e[Vg] = !0;
|
|
5241
5241
|
_e[xg] = _e[_g] = _e[Ig] = _e[Tg] = _e[Rg] = _e[Sg] = _e[wg] = _e[Eg] = _e[Cg] = _e[Ag] = _e[Og] = _e[$g] = _e[jg] = _e[kg] = _e[Pg] = !1;
|
|
5242
5242
|
function Wg(e) {
|
|
@@ -5260,7 +5260,7 @@ Dn.exports;
|
|
|
5260
5260
|
}();
|
|
5261
5261
|
e.exports = a;
|
|
5262
5262
|
})(Dn, Dn.exports);
|
|
5263
|
-
var qg = Dn.exports, Kg = Hg, Jg = Yg, ca = qg, ua = ca && ca.isTypedArray, Xg = ua ? Jg(ua) : Kg,
|
|
5263
|
+
var qg = Dn.exports, Kg = Hg, Jg = Yg, ca = qg, ua = ca && ca.isTypedArray, Xg = ua ? Jg(ua) : Kg, Hs = Xg, Zg = Oh, Qg = Zm, e0 = Jn, t0 = on, r0 = Xn, n0 = Ws, o0 = qn, s0 = Hs, i0 = "[object Map]", a0 = "[object Set]", l0 = Object.prototype, c0 = l0.hasOwnProperty;
|
|
5264
5264
|
function u0(e) {
|
|
5265
5265
|
if (e == null)
|
|
5266
5266
|
return !0;
|
|
@@ -5331,53 +5331,53 @@ function R0(e) {
|
|
|
5331
5331
|
var r = k0.test(e);
|
|
5332
5332
|
return r || P0.test(e) ? I0(e.slice(2), r ? 2 : 8) : j0.test(e) ? da : +e;
|
|
5333
5333
|
}
|
|
5334
|
-
var Oc = R0, D0 = Rt,
|
|
5334
|
+
var Oc = R0, D0 = Rt, jo = g0, pa = Oc, M0 = "Expected a function", N0 = Math.max, F0 = Math.min;
|
|
5335
5335
|
function L0(e, t, r) {
|
|
5336
5336
|
var n, o, s, i, a, c, u = 0, d = !1, f = !1, p = !0;
|
|
5337
5337
|
if (typeof e != "function")
|
|
5338
5338
|
throw new TypeError(M0);
|
|
5339
5339
|
t = pa(t) || 0, D0(r) && (d = !!r.leading, f = "maxWait" in r, s = f ? N0(pa(r.maxWait) || 0, t) : s, p = "trailing" in r ? !!r.trailing : p);
|
|
5340
|
-
function h(
|
|
5341
|
-
var R = n,
|
|
5342
|
-
return n = o = void 0, u =
|
|
5340
|
+
function h(A) {
|
|
5341
|
+
var R = n, U = o;
|
|
5342
|
+
return n = o = void 0, u = A, i = e.apply(U, R), i;
|
|
5343
5343
|
}
|
|
5344
|
-
function
|
|
5345
|
-
return u =
|
|
5344
|
+
function y(A) {
|
|
5345
|
+
return u = A, a = setTimeout(T, t), d ? h(A) : i;
|
|
5346
5346
|
}
|
|
5347
|
-
function b(
|
|
5348
|
-
var R =
|
|
5349
|
-
return f ? F0(
|
|
5347
|
+
function b(A) {
|
|
5348
|
+
var R = A - c, U = A - u, J = t - R;
|
|
5349
|
+
return f ? F0(J, s - U) : J;
|
|
5350
5350
|
}
|
|
5351
|
-
function
|
|
5352
|
-
var R =
|
|
5353
|
-
return c === void 0 || R >= t || R < 0 || f &&
|
|
5351
|
+
function g(A) {
|
|
5352
|
+
var R = A - c, U = A - u;
|
|
5353
|
+
return c === void 0 || R >= t || R < 0 || f && U >= s;
|
|
5354
5354
|
}
|
|
5355
|
-
function
|
|
5356
|
-
var
|
|
5357
|
-
if (
|
|
5358
|
-
return j(
|
|
5359
|
-
a = setTimeout(
|
|
5355
|
+
function T() {
|
|
5356
|
+
var A = jo();
|
|
5357
|
+
if (g(A))
|
|
5358
|
+
return j(A);
|
|
5359
|
+
a = setTimeout(T, b(A));
|
|
5360
5360
|
}
|
|
5361
|
-
function j(
|
|
5362
|
-
return a = void 0, p && n ? h(
|
|
5361
|
+
function j(A) {
|
|
5362
|
+
return a = void 0, p && n ? h(A) : (n = o = void 0, i);
|
|
5363
5363
|
}
|
|
5364
|
-
function
|
|
5364
|
+
function O() {
|
|
5365
5365
|
a !== void 0 && clearTimeout(a), u = 0, n = c = o = a = void 0;
|
|
5366
5366
|
}
|
|
5367
5367
|
function E() {
|
|
5368
|
-
return a === void 0 ? i : j(
|
|
5368
|
+
return a === void 0 ? i : j(jo());
|
|
5369
5369
|
}
|
|
5370
5370
|
function _() {
|
|
5371
|
-
var
|
|
5372
|
-
if (n = arguments, o = this, c =
|
|
5371
|
+
var A = jo(), R = g(A);
|
|
5372
|
+
if (n = arguments, o = this, c = A, R) {
|
|
5373
5373
|
if (a === void 0)
|
|
5374
|
-
return
|
|
5374
|
+
return y(c);
|
|
5375
5375
|
if (f)
|
|
5376
|
-
return clearTimeout(a), a = setTimeout(
|
|
5376
|
+
return clearTimeout(a), a = setTimeout(T, t), h(c);
|
|
5377
5377
|
}
|
|
5378
|
-
return a === void 0 && (a = setTimeout(
|
|
5378
|
+
return a === void 0 && (a = setTimeout(T, t)), i;
|
|
5379
5379
|
}
|
|
5380
|
-
return _.cancel =
|
|
5380
|
+
return _.cancel = O, _.flush = E, _;
|
|
5381
5381
|
}
|
|
5382
5382
|
var z0 = L0;
|
|
5383
5383
|
const B0 = /* @__PURE__ */ Lt(z0), U0 = (e, t, r, n, o, s = 300) => {
|
|
@@ -5411,18 +5411,18 @@ const B0 = /* @__PURE__ */ Lt(z0), U0 = (e, t, r, n, o, s = 300) => {
|
|
|
5411
5411
|
path: d,
|
|
5412
5412
|
required: f,
|
|
5413
5413
|
hideControls: p
|
|
5414
|
-
} = t, [h,
|
|
5415
|
-
return Object.keys(b).forEach((
|
|
5416
|
-
typeof b[
|
|
5414
|
+
} = t, [h, y] = U0(c, "", o, d, W0), b = be(d, {}, {});
|
|
5415
|
+
return Object.keys(b).forEach((g) => {
|
|
5416
|
+
typeof b[g] == "function" && (b[g] = b[g](o));
|
|
5417
5417
|
}), /* @__PURE__ */ l.jsx(
|
|
5418
|
-
|
|
5418
|
+
Go,
|
|
5419
5419
|
{
|
|
5420
5420
|
label: u,
|
|
5421
5421
|
description: s,
|
|
5422
5422
|
error: i,
|
|
5423
5423
|
required: f,
|
|
5424
5424
|
value: h,
|
|
5425
|
-
onChange:
|
|
5425
|
+
onChange: y,
|
|
5426
5426
|
className: n,
|
|
5427
5427
|
disabled: !a,
|
|
5428
5428
|
allowDecimal: r,
|
|
@@ -5539,7 +5539,7 @@ wr.prototype.delete = Gy;
|
|
|
5539
5539
|
wr.prototype.get = Yy;
|
|
5540
5540
|
wr.prototype.has = qy;
|
|
5541
5541
|
wr.prototype.set = Ky;
|
|
5542
|
-
var Jy = wr, ma = Jy, Xy = to, Zy =
|
|
5542
|
+
var Jy = wr, ma = Jy, Xy = to, Zy = Vs;
|
|
5543
5543
|
function Qy() {
|
|
5544
5544
|
this.size = 0, this.__data__ = {
|
|
5545
5545
|
hash: new ma(),
|
|
@@ -5588,7 +5588,7 @@ Er.prototype.delete = bb;
|
|
|
5588
5588
|
Er.prototype.get = vb;
|
|
5589
5589
|
Er.prototype.has = xb;
|
|
5590
5590
|
Er.prototype.set = _b;
|
|
5591
|
-
var $c = Er, Tb = to, Sb =
|
|
5591
|
+
var $c = Er, Tb = to, Sb = Vs, wb = $c, Eb = 200;
|
|
5592
5592
|
function Cb(e, t) {
|
|
5593
5593
|
var r = this.__data__;
|
|
5594
5594
|
if (r instanceof Tb) {
|
|
@@ -5624,7 +5624,7 @@ function Nb(e, t, r) {
|
|
|
5624
5624
|
writable: !0
|
|
5625
5625
|
}) : e[t] = r;
|
|
5626
5626
|
}
|
|
5627
|
-
var
|
|
5627
|
+
var Gs = Nb, Fb = Gs, Lb = Qn;
|
|
5628
5628
|
function zb(e, t, r) {
|
|
5629
5629
|
(r !== void 0 && !Lb(e[t], r) || r === void 0 && !(t in e)) && Fb(e, t, r);
|
|
5630
5630
|
}
|
|
@@ -5703,12 +5703,12 @@ function Cv(e, t) {
|
|
|
5703
5703
|
if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
|
|
5704
5704
|
return e[t];
|
|
5705
5705
|
}
|
|
5706
|
-
var Dc = Cv, Av =
|
|
5706
|
+
var Dc = Cv, Av = Gs, Ov = Qn, $v = Object.prototype, jv = $v.hasOwnProperty;
|
|
5707
5707
|
function kv(e, t, r) {
|
|
5708
5708
|
var n = e[t];
|
|
5709
5709
|
(!(jv.call(e, t) && Ov(n, r)) || r === void 0 && !(t in e)) && Av(e, t, r);
|
|
5710
5710
|
}
|
|
5711
|
-
var Pv = kv, Iv = Pv, Rv =
|
|
5711
|
+
var Pv = kv, Iv = Pv, Rv = Gs;
|
|
5712
5712
|
function Dv(e, t, r, n) {
|
|
5713
5713
|
var o = !r;
|
|
5714
5714
|
r || (r = {});
|
|
@@ -5729,7 +5729,7 @@ function Bv(e, t) {
|
|
|
5729
5729
|
var r = typeof e;
|
|
5730
5730
|
return t = t ?? Lv, !!t && (r == "number" || r != "symbol" && zv.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
5731
5731
|
}
|
|
5732
|
-
var Mc = Bv, Uv = Fv, Vv = Jn, Wv = on, Hv =
|
|
5732
|
+
var Mc = Bv, Uv = Fv, Vv = Jn, Wv = on, Hv = Ws, Gv = Mc, Yv = Hs, qv = Object.prototype, Kv = qv.hasOwnProperty;
|
|
5733
5733
|
function Jv(e, t) {
|
|
5734
5734
|
var r = Wv(e), n = !r && Vv(e), o = !r && !n && Hv(e), s = !r && !n && !o && Yv(e), i = r || n || o || s, a = i ? Uv(e.length, String) : [], c = a.length;
|
|
5735
5735
|
for (var u in e)
|
|
@@ -5765,7 +5765,7 @@ var Nc = ux, fx = Mv, dx = Nc;
|
|
|
5765
5765
|
function px(e) {
|
|
5766
5766
|
return fx(e, dx(e));
|
|
5767
5767
|
}
|
|
5768
|
-
var hx = px, va = kc, mx = Gb, gx = ev, yx = rv, bx = dv, xa = Jn, _a = on, vx = Ic, xx =
|
|
5768
|
+
var hx = px, va = kc, mx = Gb, gx = ev, yx = rv, bx = dv, xa = Jn, _a = on, vx = Ic, xx = Ws, _x = Us, Tx = Rt, Sx = Ev, wx = Hs, Ta = Dc, Ex = hx;
|
|
5769
5769
|
function Cx(e, t, r, n, o, s, i) {
|
|
5770
5770
|
var a = Ta(e, r), c = Ta(t, r), u = i.get(c);
|
|
5771
5771
|
if (u) {
|
|
@@ -5774,8 +5774,8 @@ function Cx(e, t, r, n, o, s, i) {
|
|
|
5774
5774
|
}
|
|
5775
5775
|
var d = s ? s(a, c, r + "", e, t, i) : void 0, f = d === void 0;
|
|
5776
5776
|
if (f) {
|
|
5777
|
-
var p = _a(c), h = !p && xx(c),
|
|
5778
|
-
d = c, p || h ||
|
|
5777
|
+
var p = _a(c), h = !p && xx(c), y = !p && !h && wx(c);
|
|
5778
|
+
d = c, p || h || y ? _a(a) ? d = a : vx(a) ? d = yx(a) : h ? (f = !1, d = mx(c, !0)) : y ? (f = !1, d = gx(c, !0)) : d = [] : Sx(c) || xa(c) ? (d = a, xa(a) ? d = Ex(a) : (!Tx(a) || _x(a)) && (d = bx(c))) : f = !1;
|
|
5779
5779
|
}
|
|
5780
5780
|
f && (i.set(c, d), o(d, c, n, s, i), i.delete(c)), va(e, r, d);
|
|
5781
5781
|
}
|
|
@@ -5871,9 +5871,9 @@ var m1 = h1, g1 = Dx, y1 = m1, b1 = y1(function(e, t, r) {
|
|
|
5871
5871
|
g1(e, t, r);
|
|
5872
5872
|
}), v1 = b1;
|
|
5873
5873
|
const Uc = /* @__PURE__ */ Lt(v1), Vc = Xe.memo(function(t) {
|
|
5874
|
-
const { className: r, config: n, uischema: o, data: s, description: i, errors: a, enabled: c, path: u, handleChange: d, label: f, required: p } = t, h = Uc({}, n, o.options),
|
|
5875
|
-
return Object.keys(
|
|
5876
|
-
typeof
|
|
5874
|
+
const { className: r, config: n, uischema: o, data: s, description: i, errors: a, enabled: c, path: u, handleChange: d, label: f, required: p } = t, h = Uc({}, n, o.options), y = be(u, {}, {});
|
|
5875
|
+
return Object.keys(y).forEach((b) => {
|
|
5876
|
+
typeof y[b] == "function" && (y[b] = y[b](s));
|
|
5877
5877
|
}), h.format === "password" ? /* @__PURE__ */ l.jsx(
|
|
5878
5878
|
bl,
|
|
5879
5879
|
{
|
|
@@ -5888,10 +5888,10 @@ const Uc = /* @__PURE__ */ Lt(v1), Vc = Xe.memo(function(t) {
|
|
|
5888
5888
|
className: r,
|
|
5889
5889
|
disabled: !c,
|
|
5890
5890
|
w: "100%",
|
|
5891
|
-
...
|
|
5891
|
+
...y
|
|
5892
5892
|
}
|
|
5893
5893
|
) : /* @__PURE__ */ l.jsx(
|
|
5894
|
-
|
|
5894
|
+
vs,
|
|
5895
5895
|
{
|
|
5896
5896
|
label: f,
|
|
5897
5897
|
description: i,
|
|
@@ -5904,7 +5904,7 @@ const Uc = /* @__PURE__ */ Lt(v1), Vc = Xe.memo(function(t) {
|
|
|
5904
5904
|
className: r,
|
|
5905
5905
|
disabled: !c,
|
|
5906
5906
|
w: "100%",
|
|
5907
|
-
...
|
|
5907
|
+
...y
|
|
5908
5908
|
}
|
|
5909
5909
|
);
|
|
5910
5910
|
}), Wc = Xe.memo(function(t) {
|
|
@@ -6088,8 +6088,8 @@ function E_(e) {
|
|
|
6088
6088
|
r[++t] = n;
|
|
6089
6089
|
}), r;
|
|
6090
6090
|
}
|
|
6091
|
-
var Gc = E_,
|
|
6092
|
-
return new
|
|
6091
|
+
var Gc = E_, ko = _c, C_ = w_, A_ = Gc, O_ = 1 / 0, $_ = ko && 1 / A_(new ko([, -0]))[1] == O_ ? function(e) {
|
|
6092
|
+
return new ko(e);
|
|
6093
6093
|
} : C_, j_ = $_, k_ = o_, P_ = b_, I_ = x_, R_ = T_, D_ = j_, M_ = Gc, N_ = 200;
|
|
6094
6094
|
function F_(e, t, r) {
|
|
6095
6095
|
var n = -1, o = P_, s = e.length, i = !0, a = [], c = a;
|
|
@@ -6344,7 +6344,7 @@ var aT = Yc, lT = aT;
|
|
|
6344
6344
|
function cT(e) {
|
|
6345
6345
|
return e == null ? "" : lT(e);
|
|
6346
6346
|
}
|
|
6347
|
-
var
|
|
6347
|
+
var Ys = cT, uT = eT, fT = Ys, dT = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, pT = "\\u0300-\\u036f", hT = "\\ufe20-\\ufe2f", mT = "\\u20d0-\\u20ff", gT = pT + hT + mT, yT = "[" + gT + "]", bT = RegExp(yT, "g");
|
|
6348
6348
|
function vT(e) {
|
|
6349
6349
|
return e = fT(e), e && e.replace(dT, uT).replace(bT, "");
|
|
6350
6350
|
}
|
|
@@ -6369,7 +6369,7 @@ var CT = ET, qc = "\\ud800-\\udfff", AT = "\\u0300-\\u036f", OT = "\\ufe20-\\ufe
|
|
|
6369
6369
|
function KT(e) {
|
|
6370
6370
|
return e.match(qT) || [];
|
|
6371
6371
|
}
|
|
6372
|
-
var JT = KT, XT = ST, ZT = CT, QT =
|
|
6372
|
+
var JT = KT, XT = ST, ZT = CT, QT = Ys, eS = JT;
|
|
6373
6373
|
function tS(e, t, r) {
|
|
6374
6374
|
return e = QT(e), t = r ? void 0 : t, t === void 0 ? ZT(e) ? eS(e) : XT(e) : e.match(t) || [];
|
|
6375
6375
|
}
|
|
@@ -6400,7 +6400,7 @@ var au = SS;
|
|
|
6400
6400
|
function wS(e) {
|
|
6401
6401
|
return e.split("");
|
|
6402
6402
|
}
|
|
6403
|
-
var ES = wS, lu = "\\ud800-\\udfff", CS = "\\u0300-\\u036f", AS = "\\ufe20-\\ufe2f", OS = "\\u20d0-\\u20ff", $S = CS + AS + OS, jS = "\\ufe0e\\ufe0f", kS = "[" + lu + "]",
|
|
6403
|
+
var ES = wS, lu = "\\ud800-\\udfff", CS = "\\u0300-\\u036f", AS = "\\ufe20-\\ufe2f", OS = "\\u20d0-\\u20ff", $S = CS + AS + OS, jS = "\\ufe0e\\ufe0f", kS = "[" + lu + "]", ls = "[" + $S + "]", cs = "\\ud83c[\\udffb-\\udfff]", PS = "(?:" + ls + "|" + cs + ")", cu = "[^" + lu + "]", uu = "(?:\\ud83c[\\udde6-\\uddff]){2}", fu = "[\\ud800-\\udbff][\\udc00-\\udfff]", IS = "\\u200d", du = PS + "?", pu = "[" + jS + "]?", RS = "(?:" + IS + "(?:" + [cu, uu, fu].join("|") + ")" + pu + du + ")*", DS = pu + du + RS, MS = "(?:" + [cu + ls + "?", ls, uu, fu, kS].join("|") + ")", NS = RegExp(cs + "(?=" + cs + ")|" + MS + DS, "g");
|
|
6404
6404
|
function FS(e) {
|
|
6405
6405
|
return e.match(NS) || [];
|
|
6406
6406
|
}
|
|
@@ -6408,7 +6408,7 @@ var LS = FS, zS = ES, BS = au, US = LS;
|
|
|
6408
6408
|
function VS(e) {
|
|
6409
6409
|
return BS(e) ? US(e) : zS(e);
|
|
6410
6410
|
}
|
|
6411
|
-
var WS = VS, HS = hS, GS = au, YS = WS, qS =
|
|
6411
|
+
var WS = VS, HS = hS, GS = au, YS = WS, qS = Ys;
|
|
6412
6412
|
function KS(e) {
|
|
6413
6413
|
return function(t) {
|
|
6414
6414
|
t = qS(t);
|
|
@@ -6436,10 +6436,10 @@ function fw(e) {
|
|
|
6436
6436
|
}
|
|
6437
6437
|
return e === e ? e : 0;
|
|
6438
6438
|
}
|
|
6439
|
-
var dw = fw, pw = lw, hw = Bc,
|
|
6439
|
+
var dw = fw, pw = lw, hw = Bc, Po = dw;
|
|
6440
6440
|
function mw(e) {
|
|
6441
6441
|
return function(t, r, n) {
|
|
6442
|
-
return n && typeof n != "number" && hw(t, r, n) && (r = n = void 0), t =
|
|
6442
|
+
return n && typeof n != "number" && hw(t, r, n) && (r = n = void 0), t = Po(t), r === void 0 ? (r = t, t = 0) : r = Po(r), n = n === void 0 ? t < r ? 1 : -1 : Po(n), pw(t, r, n, e);
|
|
6443
6443
|
};
|
|
6444
6444
|
}
|
|
6445
6445
|
var gw = mw, yw = gw, bw = yw(), vw = bw;
|
|
@@ -6469,7 +6469,7 @@ function st(e, t, r = {
|
|
|
6469
6469
|
Object.prototype.hasOwnProperty.call(e, o) && jt(e[o]) ? n[o] = st(e[o], t[o], r) : r.clone ? n[o] = jt(t[o]) ? hu(t[o]) : t[o] : n[o] = t[o];
|
|
6470
6470
|
}), n;
|
|
6471
6471
|
}
|
|
6472
|
-
var
|
|
6472
|
+
var us = { exports: {} }, bn = { exports: {} }, fe = {};
|
|
6473
6473
|
/** @license React v16.13.1
|
|
6474
6474
|
* react-is.production.min.js
|
|
6475
6475
|
*
|
|
@@ -6482,11 +6482,11 @@ var Da;
|
|
|
6482
6482
|
function _w() {
|
|
6483
6483
|
if (Da) return fe;
|
|
6484
6484
|
Da = 1;
|
|
6485
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115,
|
|
6486
|
-
function
|
|
6485
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, g = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, j = e ? Symbol.for("react.scope") : 60119;
|
|
6486
|
+
function O(_) {
|
|
6487
6487
|
if (typeof _ == "object" && _ !== null) {
|
|
6488
|
-
var
|
|
6489
|
-
switch (
|
|
6488
|
+
var A = _.$$typeof;
|
|
6489
|
+
switch (A) {
|
|
6490
6490
|
case t:
|
|
6491
6491
|
switch (_ = _.type, _) {
|
|
6492
6492
|
case c:
|
|
@@ -6500,49 +6500,49 @@ function _w() {
|
|
|
6500
6500
|
switch (_ = _ && _.$$typeof, _) {
|
|
6501
6501
|
case a:
|
|
6502
6502
|
case d:
|
|
6503
|
-
case
|
|
6503
|
+
case y:
|
|
6504
6504
|
case h:
|
|
6505
6505
|
case i:
|
|
6506
6506
|
return _;
|
|
6507
6507
|
default:
|
|
6508
|
-
return
|
|
6508
|
+
return A;
|
|
6509
6509
|
}
|
|
6510
6510
|
}
|
|
6511
6511
|
case r:
|
|
6512
|
-
return
|
|
6512
|
+
return A;
|
|
6513
6513
|
}
|
|
6514
6514
|
}
|
|
6515
6515
|
}
|
|
6516
6516
|
function E(_) {
|
|
6517
|
-
return
|
|
6517
|
+
return O(_) === u;
|
|
6518
6518
|
}
|
|
6519
|
-
return fe.AsyncMode = c, fe.ConcurrentMode = u, fe.ContextConsumer = a, fe.ContextProvider = i, fe.Element = t, fe.ForwardRef = d, fe.Fragment = n, fe.Lazy =
|
|
6520
|
-
return E(_) ||
|
|
6519
|
+
return fe.AsyncMode = c, fe.ConcurrentMode = u, fe.ContextConsumer = a, fe.ContextProvider = i, fe.Element = t, fe.ForwardRef = d, fe.Fragment = n, fe.Lazy = y, fe.Memo = h, fe.Portal = r, fe.Profiler = s, fe.StrictMode = o, fe.Suspense = f, fe.isAsyncMode = function(_) {
|
|
6520
|
+
return E(_) || O(_) === c;
|
|
6521
6521
|
}, fe.isConcurrentMode = E, fe.isContextConsumer = function(_) {
|
|
6522
|
-
return
|
|
6522
|
+
return O(_) === a;
|
|
6523
6523
|
}, fe.isContextProvider = function(_) {
|
|
6524
|
-
return
|
|
6524
|
+
return O(_) === i;
|
|
6525
6525
|
}, fe.isElement = function(_) {
|
|
6526
6526
|
return typeof _ == "object" && _ !== null && _.$$typeof === t;
|
|
6527
6527
|
}, fe.isForwardRef = function(_) {
|
|
6528
|
-
return
|
|
6528
|
+
return O(_) === d;
|
|
6529
6529
|
}, fe.isFragment = function(_) {
|
|
6530
|
-
return
|
|
6530
|
+
return O(_) === n;
|
|
6531
6531
|
}, fe.isLazy = function(_) {
|
|
6532
|
-
return
|
|
6532
|
+
return O(_) === y;
|
|
6533
6533
|
}, fe.isMemo = function(_) {
|
|
6534
|
-
return
|
|
6534
|
+
return O(_) === h;
|
|
6535
6535
|
}, fe.isPortal = function(_) {
|
|
6536
|
-
return
|
|
6536
|
+
return O(_) === r;
|
|
6537
6537
|
}, fe.isProfiler = function(_) {
|
|
6538
|
-
return
|
|
6538
|
+
return O(_) === s;
|
|
6539
6539
|
}, fe.isStrictMode = function(_) {
|
|
6540
|
-
return
|
|
6540
|
+
return O(_) === o;
|
|
6541
6541
|
}, fe.isSuspense = function(_) {
|
|
6542
|
-
return
|
|
6542
|
+
return O(_) === f;
|
|
6543
6543
|
}, fe.isValidElementType = function(_) {
|
|
6544
|
-
return typeof _ == "string" || typeof _ == "function" || _ === n || _ === u || _ === s || _ === o || _ === f || _ === p || typeof _ == "object" && _ !== null && (_.$$typeof ===
|
|
6545
|
-
}, fe.typeOf =
|
|
6544
|
+
return typeof _ == "string" || typeof _ == "function" || _ === n || _ === u || _ === s || _ === o || _ === f || _ === p || typeof _ == "object" && _ !== null && (_.$$typeof === y || _.$$typeof === h || _.$$typeof === i || _.$$typeof === a || _.$$typeof === d || _.$$typeof === g || _.$$typeof === T || _.$$typeof === j || _.$$typeof === b);
|
|
6545
|
+
}, fe.typeOf = O, fe;
|
|
6546
6546
|
}
|
|
6547
6547
|
var de = {};
|
|
6548
6548
|
/** @license React v16.13.1
|
|
@@ -6556,10 +6556,10 @@ var de = {};
|
|
|
6556
6556
|
var Ma;
|
|
6557
6557
|
function Tw() {
|
|
6558
6558
|
return Ma || (Ma = 1, process.env.NODE_ENV !== "production" && function() {
|
|
6559
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115,
|
|
6560
|
-
function
|
|
6559
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, g = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, j = e ? Symbol.for("react.scope") : 60119;
|
|
6560
|
+
function O(P) {
|
|
6561
6561
|
return typeof P == "string" || typeof P == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
6562
|
-
P === n || P === u || P === s || P === o || P === f || P === p || typeof P == "object" && P !== null && (P.$$typeof ===
|
|
6562
|
+
P === n || P === u || P === s || P === o || P === f || P === p || typeof P == "object" && P !== null && (P.$$typeof === y || P.$$typeof === h || P.$$typeof === i || P.$$typeof === a || P.$$typeof === d || P.$$typeof === g || P.$$typeof === T || P.$$typeof === j || P.$$typeof === b);
|
|
6563
6563
|
}
|
|
6564
6564
|
function E(P) {
|
|
6565
6565
|
if (typeof P == "object" && P !== null) {
|
|
@@ -6580,7 +6580,7 @@ function Tw() {
|
|
|
6580
6580
|
switch (Ze) {
|
|
6581
6581
|
case a:
|
|
6582
6582
|
case d:
|
|
6583
|
-
case
|
|
6583
|
+
case y:
|
|
6584
6584
|
case h:
|
|
6585
6585
|
case i:
|
|
6586
6586
|
return Ze;
|
|
@@ -6593,9 +6593,9 @@ function Tw() {
|
|
|
6593
6593
|
}
|
|
6594
6594
|
}
|
|
6595
6595
|
}
|
|
6596
|
-
var _ = c,
|
|
6596
|
+
var _ = c, A = u, R = a, U = i, J = t, m = d, C = n, D = y, q = h, Q = r, ae = s, ce = o, z = f, K = !1;
|
|
6597
6597
|
function ee(P) {
|
|
6598
|
-
return
|
|
6598
|
+
return K || (K = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), w(P) || E(P) === c;
|
|
6599
6599
|
}
|
|
6600
6600
|
function w(P) {
|
|
6601
6601
|
return E(P) === u;
|
|
@@ -6616,7 +6616,7 @@ function Tw() {
|
|
|
6616
6616
|
return E(P) === n;
|
|
6617
6617
|
}
|
|
6618
6618
|
function Y(P) {
|
|
6619
|
-
return E(P) ===
|
|
6619
|
+
return E(P) === y;
|
|
6620
6620
|
}
|
|
6621
6621
|
function I(P) {
|
|
6622
6622
|
return E(P) === h;
|
|
@@ -6633,7 +6633,7 @@ function Tw() {
|
|
|
6633
6633
|
function Ee(P) {
|
|
6634
6634
|
return E(P) === f;
|
|
6635
6635
|
}
|
|
6636
|
-
de.AsyncMode = _, de.ConcurrentMode =
|
|
6636
|
+
de.AsyncMode = _, de.ConcurrentMode = A, de.ContextConsumer = R, de.ContextProvider = U, de.Element = J, de.ForwardRef = m, de.Fragment = C, de.Lazy = D, de.Memo = q, de.Portal = Q, de.Profiler = ae, de.StrictMode = ce, de.Suspense = z, de.isAsyncMode = ee, de.isConcurrentMode = w, de.isContextConsumer = $, de.isContextProvider = H, de.isElement = N, de.isForwardRef = W, de.isFragment = F, de.isLazy = Y, de.isMemo = I, de.isPortal = X, de.isProfiler = oe, de.isStrictMode = te, de.isSuspense = Ee, de.isValidElementType = O, de.typeOf = E;
|
|
6637
6637
|
}()), de;
|
|
6638
6638
|
}
|
|
6639
6639
|
var Na;
|
|
@@ -6645,9 +6645,9 @@ object-assign
|
|
|
6645
6645
|
(c) Sindre Sorhus
|
|
6646
6646
|
@license MIT
|
|
6647
6647
|
*/
|
|
6648
|
-
var
|
|
6648
|
+
var Io, Fa;
|
|
6649
6649
|
function Sw() {
|
|
6650
|
-
if (Fa) return
|
|
6650
|
+
if (Fa) return Io;
|
|
6651
6651
|
Fa = 1;
|
|
6652
6652
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
|
|
6653
6653
|
function n(s) {
|
|
@@ -6677,7 +6677,7 @@ function Sw() {
|
|
|
6677
6677
|
return !1;
|
|
6678
6678
|
}
|
|
6679
6679
|
}
|
|
6680
|
-
return
|
|
6680
|
+
return Io = o() ? Object.assign : function(s, i) {
|
|
6681
6681
|
for (var a, c = n(s), u, d = 1; d < arguments.length; d++) {
|
|
6682
6682
|
a = Object(arguments[d]);
|
|
6683
6683
|
for (var f in a)
|
|
@@ -6689,27 +6689,27 @@ function Sw() {
|
|
|
6689
6689
|
}
|
|
6690
6690
|
}
|
|
6691
6691
|
return c;
|
|
6692
|
-
},
|
|
6692
|
+
}, Io;
|
|
6693
6693
|
}
|
|
6694
|
-
var
|
|
6695
|
-
function
|
|
6696
|
-
if (La) return
|
|
6694
|
+
var Ro, La;
|
|
6695
|
+
function qs() {
|
|
6696
|
+
if (La) return Ro;
|
|
6697
6697
|
La = 1;
|
|
6698
6698
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
6699
|
-
return
|
|
6699
|
+
return Ro = e, Ro;
|
|
6700
6700
|
}
|
|
6701
|
-
var
|
|
6701
|
+
var Do, za;
|
|
6702
6702
|
function gu() {
|
|
6703
|
-
return za || (za = 1,
|
|
6703
|
+
return za || (za = 1, Do = Function.call.bind(Object.prototype.hasOwnProperty)), Do;
|
|
6704
6704
|
}
|
|
6705
|
-
var
|
|
6705
|
+
var Mo, Ba;
|
|
6706
6706
|
function ww() {
|
|
6707
|
-
if (Ba) return
|
|
6707
|
+
if (Ba) return Mo;
|
|
6708
6708
|
Ba = 1;
|
|
6709
6709
|
var e = function() {
|
|
6710
6710
|
};
|
|
6711
6711
|
if (process.env.NODE_ENV !== "production") {
|
|
6712
|
-
var t =
|
|
6712
|
+
var t = qs(), r = {}, n = gu();
|
|
6713
6713
|
e = function(s) {
|
|
6714
6714
|
var i = "Warning: " + s;
|
|
6715
6715
|
typeof console < "u" && console.error(i);
|
|
@@ -6732,8 +6732,8 @@ function ww() {
|
|
|
6732
6732
|
throw p.name = "Invariant Violation", p;
|
|
6733
6733
|
}
|
|
6734
6734
|
f = s[d](i, d, c, a, null, t);
|
|
6735
|
-
} catch (
|
|
6736
|
-
f =
|
|
6735
|
+
} catch (y) {
|
|
6736
|
+
f = y;
|
|
6737
6737
|
}
|
|
6738
6738
|
if (f && !(f instanceof Error) && e(
|
|
6739
6739
|
(c || "React class") + ": type specification of " + a + " `" + d + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof f + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
@@ -6749,13 +6749,13 @@ function ww() {
|
|
|
6749
6749
|
}
|
|
6750
6750
|
return o.resetWarningCache = function() {
|
|
6751
6751
|
process.env.NODE_ENV !== "production" && (r = {});
|
|
6752
|
-
},
|
|
6752
|
+
}, Mo = o, Mo;
|
|
6753
6753
|
}
|
|
6754
|
-
var
|
|
6754
|
+
var No, Ua;
|
|
6755
6755
|
function Ew() {
|
|
6756
|
-
if (Ua) return
|
|
6756
|
+
if (Ua) return No;
|
|
6757
6757
|
Ua = 1;
|
|
6758
|
-
var e = mu(), t = Sw(), r =
|
|
6758
|
+
var e = mu(), t = Sw(), r = qs(), n = gu(), o = ww(), s = function() {
|
|
6759
6759
|
};
|
|
6760
6760
|
process.env.NODE_ENV !== "production" && (s = function(a) {
|
|
6761
6761
|
var c = "Warning: " + a;
|
|
@@ -6768,7 +6768,7 @@ function Ew() {
|
|
|
6768
6768
|
function i() {
|
|
6769
6769
|
return null;
|
|
6770
6770
|
}
|
|
6771
|
-
return
|
|
6771
|
+
return No = function(a, c) {
|
|
6772
6772
|
var u = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
|
|
6773
6773
|
function f(w) {
|
|
6774
6774
|
var $ = w && (u && w[u] || w[d]);
|
|
@@ -6776,34 +6776,34 @@ function Ew() {
|
|
|
6776
6776
|
return $;
|
|
6777
6777
|
}
|
|
6778
6778
|
var p = "<<anonymous>>", h = {
|
|
6779
|
-
array:
|
|
6780
|
-
bigint:
|
|
6781
|
-
bool:
|
|
6782
|
-
func:
|
|
6783
|
-
number:
|
|
6784
|
-
object:
|
|
6785
|
-
string:
|
|
6786
|
-
symbol:
|
|
6779
|
+
array: T("array"),
|
|
6780
|
+
bigint: T("bigint"),
|
|
6781
|
+
bool: T("boolean"),
|
|
6782
|
+
func: T("function"),
|
|
6783
|
+
number: T("number"),
|
|
6784
|
+
object: T("object"),
|
|
6785
|
+
string: T("string"),
|
|
6786
|
+
symbol: T("symbol"),
|
|
6787
6787
|
any: j(),
|
|
6788
|
-
arrayOf:
|
|
6788
|
+
arrayOf: O,
|
|
6789
6789
|
element: E(),
|
|
6790
6790
|
elementType: _(),
|
|
6791
|
-
instanceOf:
|
|
6791
|
+
instanceOf: A,
|
|
6792
6792
|
node: m(),
|
|
6793
|
-
objectOf:
|
|
6793
|
+
objectOf: U,
|
|
6794
6794
|
oneOf: R,
|
|
6795
|
-
oneOfType:
|
|
6795
|
+
oneOfType: J,
|
|
6796
6796
|
shape: D,
|
|
6797
6797
|
exact: q
|
|
6798
6798
|
};
|
|
6799
|
-
function
|
|
6799
|
+
function y(w, $) {
|
|
6800
6800
|
return w === $ ? w !== 0 || 1 / w === 1 / $ : w !== w && $ !== $;
|
|
6801
6801
|
}
|
|
6802
6802
|
function b(w, $) {
|
|
6803
6803
|
this.message = w, this.data = $ && typeof $ == "object" ? $ : {}, this.stack = "";
|
|
6804
6804
|
}
|
|
6805
6805
|
b.prototype = Error.prototype;
|
|
6806
|
-
function
|
|
6806
|
+
function g(w) {
|
|
6807
6807
|
if (process.env.NODE_ENV !== "production")
|
|
6808
6808
|
var $ = {}, H = 0;
|
|
6809
6809
|
function N(F, Y, I, X, oe, te, Ee) {
|
|
@@ -6826,7 +6826,7 @@ function Ew() {
|
|
|
6826
6826
|
var W = N.bind(null, !1);
|
|
6827
6827
|
return W.isRequired = N.bind(null, !0), W;
|
|
6828
6828
|
}
|
|
6829
|
-
function
|
|
6829
|
+
function T(w) {
|
|
6830
6830
|
function $(H, N, W, F, Y, I) {
|
|
6831
6831
|
var X = H[N], oe = ce(X);
|
|
6832
6832
|
if (oe !== w) {
|
|
@@ -6838,12 +6838,12 @@ function Ew() {
|
|
|
6838
6838
|
}
|
|
6839
6839
|
return null;
|
|
6840
6840
|
}
|
|
6841
|
-
return
|
|
6841
|
+
return g($);
|
|
6842
6842
|
}
|
|
6843
6843
|
function j() {
|
|
6844
|
-
return
|
|
6844
|
+
return g(i);
|
|
6845
6845
|
}
|
|
6846
|
-
function
|
|
6846
|
+
function O(w) {
|
|
6847
6847
|
function $(H, N, W, F, Y) {
|
|
6848
6848
|
if (typeof w != "function")
|
|
6849
6849
|
return new b("Property `" + Y + "` of component `" + W + "` has invalid PropType notation inside arrayOf.");
|
|
@@ -6859,7 +6859,7 @@ function Ew() {
|
|
|
6859
6859
|
}
|
|
6860
6860
|
return null;
|
|
6861
6861
|
}
|
|
6862
|
-
return
|
|
6862
|
+
return g($);
|
|
6863
6863
|
}
|
|
6864
6864
|
function E() {
|
|
6865
6865
|
function w($, H, N, W, F) {
|
|
@@ -6870,7 +6870,7 @@ function Ew() {
|
|
|
6870
6870
|
}
|
|
6871
6871
|
return null;
|
|
6872
6872
|
}
|
|
6873
|
-
return
|
|
6873
|
+
return g(w);
|
|
6874
6874
|
}
|
|
6875
6875
|
function _() {
|
|
6876
6876
|
function w($, H, N, W, F) {
|
|
@@ -6881,9 +6881,9 @@ function Ew() {
|
|
|
6881
6881
|
}
|
|
6882
6882
|
return null;
|
|
6883
6883
|
}
|
|
6884
|
-
return
|
|
6884
|
+
return g(w);
|
|
6885
6885
|
}
|
|
6886
|
-
function
|
|
6886
|
+
function A(w) {
|
|
6887
6887
|
function $(H, N, W, F, Y) {
|
|
6888
6888
|
if (!(H[N] instanceof w)) {
|
|
6889
6889
|
var I = w.name || p, X = ee(H[N]);
|
|
@@ -6891,7 +6891,7 @@ function Ew() {
|
|
|
6891
6891
|
}
|
|
6892
6892
|
return null;
|
|
6893
6893
|
}
|
|
6894
|
-
return
|
|
6894
|
+
return g($);
|
|
6895
6895
|
}
|
|
6896
6896
|
function R(w) {
|
|
6897
6897
|
if (!Array.isArray(w))
|
|
@@ -6900,7 +6900,7 @@ function Ew() {
|
|
|
6900
6900
|
) : s("Invalid argument supplied to oneOf, expected an array.")), i;
|
|
6901
6901
|
function $(H, N, W, F, Y) {
|
|
6902
6902
|
for (var I = H[N], X = 0; X < w.length; X++)
|
|
6903
|
-
if (
|
|
6903
|
+
if (y(I, w[X]))
|
|
6904
6904
|
return null;
|
|
6905
6905
|
var oe = JSON.stringify(w, function(Ee, P) {
|
|
6906
6906
|
var Pe = z(P);
|
|
@@ -6908,9 +6908,9 @@ function Ew() {
|
|
|
6908
6908
|
});
|
|
6909
6909
|
return new b("Invalid " + F + " `" + Y + "` of value `" + String(I) + "` " + ("supplied to `" + W + "`, expected one of " + oe + "."));
|
|
6910
6910
|
}
|
|
6911
|
-
return
|
|
6911
|
+
return g($);
|
|
6912
6912
|
}
|
|
6913
|
-
function
|
|
6913
|
+
function U(w) {
|
|
6914
6914
|
function $(H, N, W, F, Y) {
|
|
6915
6915
|
if (typeof w != "function")
|
|
6916
6916
|
return new b("Property `" + Y + "` of component `" + W + "` has invalid PropType notation inside objectOf.");
|
|
@@ -6925,16 +6925,16 @@ function Ew() {
|
|
|
6925
6925
|
}
|
|
6926
6926
|
return null;
|
|
6927
6927
|
}
|
|
6928
|
-
return
|
|
6928
|
+
return g($);
|
|
6929
6929
|
}
|
|
6930
|
-
function
|
|
6930
|
+
function J(w) {
|
|
6931
6931
|
if (!Array.isArray(w))
|
|
6932
6932
|
return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), i;
|
|
6933
6933
|
for (var $ = 0; $ < w.length; $++) {
|
|
6934
6934
|
var H = w[$];
|
|
6935
6935
|
if (typeof H != "function")
|
|
6936
6936
|
return s(
|
|
6937
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
6937
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(H) + " at index " + $ + "."
|
|
6938
6938
|
), i;
|
|
6939
6939
|
}
|
|
6940
6940
|
function N(W, F, Y, I, X) {
|
|
@@ -6947,15 +6947,15 @@ function Ew() {
|
|
|
6947
6947
|
var Pe = oe.length > 0 ? ", expected one of type [" + oe.join(", ") + "]" : "";
|
|
6948
6948
|
return new b("Invalid " + I + " `" + X + "` supplied to " + ("`" + Y + "`" + Pe + "."));
|
|
6949
6949
|
}
|
|
6950
|
-
return
|
|
6950
|
+
return g(N);
|
|
6951
6951
|
}
|
|
6952
6952
|
function m() {
|
|
6953
6953
|
function w($, H, N, W, F) {
|
|
6954
6954
|
return Q($[H]) ? null : new b("Invalid " + W + " `" + F + "` supplied to " + ("`" + N + "`, expected a ReactNode."));
|
|
6955
6955
|
}
|
|
6956
|
-
return
|
|
6956
|
+
return g(w);
|
|
6957
6957
|
}
|
|
6958
|
-
function
|
|
6958
|
+
function C(w, $, H, N, W) {
|
|
6959
6959
|
return new b(
|
|
6960
6960
|
(w || "React class") + ": " + $ + " type `" + H + "." + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + W + "`."
|
|
6961
6961
|
);
|
|
@@ -6968,14 +6968,14 @@ function Ew() {
|
|
|
6968
6968
|
for (var oe in w) {
|
|
6969
6969
|
var te = w[oe];
|
|
6970
6970
|
if (typeof te != "function")
|
|
6971
|
-
return
|
|
6971
|
+
return C(W, F, Y, oe, z(te));
|
|
6972
6972
|
var Ee = te(I, oe, W, F, Y + "." + oe, r);
|
|
6973
6973
|
if (Ee)
|
|
6974
6974
|
return Ee;
|
|
6975
6975
|
}
|
|
6976
6976
|
return null;
|
|
6977
6977
|
}
|
|
6978
|
-
return
|
|
6978
|
+
return g($);
|
|
6979
6979
|
}
|
|
6980
6980
|
function q(w) {
|
|
6981
6981
|
function $(H, N, W, F, Y) {
|
|
@@ -6986,7 +6986,7 @@ function Ew() {
|
|
|
6986
6986
|
for (var te in oe) {
|
|
6987
6987
|
var Ee = w[te];
|
|
6988
6988
|
if (n(w, te) && typeof Ee != "function")
|
|
6989
|
-
return
|
|
6989
|
+
return C(W, F, Y, te, z(Ee));
|
|
6990
6990
|
if (!Ee)
|
|
6991
6991
|
return new b(
|
|
6992
6992
|
"Invalid " + F + " `" + Y + "` key `" + te + "` supplied to `" + W + "`.\nBad object: " + JSON.stringify(H[N], null, " ") + `
|
|
@@ -6998,7 +6998,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
6998
6998
|
}
|
|
6999
6999
|
return null;
|
|
7000
7000
|
}
|
|
7001
|
-
return
|
|
7001
|
+
return g($);
|
|
7002
7002
|
}
|
|
7003
7003
|
function Q(w) {
|
|
7004
7004
|
switch (typeof w) {
|
|
@@ -7052,7 +7052,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7052
7052
|
}
|
|
7053
7053
|
return $;
|
|
7054
7054
|
}
|
|
7055
|
-
function
|
|
7055
|
+
function K(w) {
|
|
7056
7056
|
var $ = z(w);
|
|
7057
7057
|
switch ($) {
|
|
7058
7058
|
case "array":
|
|
@@ -7070,18 +7070,18 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7070
7070
|
return !w.constructor || !w.constructor.name ? p : w.constructor.name;
|
|
7071
7071
|
}
|
|
7072
7072
|
return h.checkPropTypes = o, h.resetWarningCache = o.resetWarningCache, h.PropTypes = h, h;
|
|
7073
|
-
},
|
|
7073
|
+
}, No;
|
|
7074
7074
|
}
|
|
7075
|
-
var
|
|
7075
|
+
var Fo, Va;
|
|
7076
7076
|
function Cw() {
|
|
7077
|
-
if (Va) return
|
|
7077
|
+
if (Va) return Fo;
|
|
7078
7078
|
Va = 1;
|
|
7079
|
-
var e =
|
|
7079
|
+
var e = qs();
|
|
7080
7080
|
function t() {
|
|
7081
7081
|
}
|
|
7082
7082
|
function r() {
|
|
7083
7083
|
}
|
|
7084
|
-
return r.resetWarningCache = t,
|
|
7084
|
+
return r.resetWarningCache = t, Fo = function() {
|
|
7085
7085
|
function n(i, a, c, u, d, f) {
|
|
7086
7086
|
if (f !== e) {
|
|
7087
7087
|
var p = new Error(
|
|
@@ -7118,20 +7118,20 @@ function Cw() {
|
|
|
7118
7118
|
resetWarningCache: t
|
|
7119
7119
|
};
|
|
7120
7120
|
return s.PropTypes = s, s;
|
|
7121
|
-
},
|
|
7121
|
+
}, Fo;
|
|
7122
7122
|
}
|
|
7123
7123
|
if (process.env.NODE_ENV !== "production") {
|
|
7124
7124
|
var Aw = mu(), Ow = !0;
|
|
7125
|
-
|
|
7125
|
+
us.exports = Ew()(Aw.isElement, Ow);
|
|
7126
7126
|
} else
|
|
7127
|
-
|
|
7128
|
-
var $w =
|
|
7127
|
+
us.exports = Cw()();
|
|
7128
|
+
var $w = us.exports;
|
|
7129
7129
|
const le = /* @__PURE__ */ Lt($w);
|
|
7130
7130
|
function Nt(e, ...t) {
|
|
7131
7131
|
const r = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
7132
7132
|
return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
|
|
7133
7133
|
}
|
|
7134
|
-
var
|
|
7134
|
+
var fs = { exports: {} }, pe = {};
|
|
7135
7135
|
/**
|
|
7136
7136
|
* @license React
|
|
7137
7137
|
* react-is.production.min.js
|
|
@@ -7145,35 +7145,35 @@ var Wa;
|
|
|
7145
7145
|
function jw() {
|
|
7146
7146
|
if (Wa) return pe;
|
|
7147
7147
|
Wa = 1;
|
|
7148
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), i = Symbol.for("react.context"), a = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"),
|
|
7149
|
-
|
|
7150
|
-
function b(
|
|
7151
|
-
if (typeof
|
|
7152
|
-
var
|
|
7153
|
-
switch (
|
|
7148
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), i = Symbol.for("react.context"), a = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), y;
|
|
7149
|
+
y = Symbol.for("react.module.reference");
|
|
7150
|
+
function b(g) {
|
|
7151
|
+
if (typeof g == "object" && g !== null) {
|
|
7152
|
+
var T = g.$$typeof;
|
|
7153
|
+
switch (T) {
|
|
7154
7154
|
case e:
|
|
7155
|
-
switch (
|
|
7155
|
+
switch (g = g.type, g) {
|
|
7156
7156
|
case r:
|
|
7157
7157
|
case o:
|
|
7158
7158
|
case n:
|
|
7159
7159
|
case u:
|
|
7160
7160
|
case d:
|
|
7161
|
-
return
|
|
7161
|
+
return g;
|
|
7162
7162
|
default:
|
|
7163
|
-
switch (
|
|
7163
|
+
switch (g = g && g.$$typeof, g) {
|
|
7164
7164
|
case a:
|
|
7165
7165
|
case i:
|
|
7166
7166
|
case c:
|
|
7167
7167
|
case p:
|
|
7168
7168
|
case f:
|
|
7169
7169
|
case s:
|
|
7170
|
-
return
|
|
7170
|
+
return g;
|
|
7171
7171
|
default:
|
|
7172
|
-
return
|
|
7172
|
+
return T;
|
|
7173
7173
|
}
|
|
7174
7174
|
}
|
|
7175
7175
|
case t:
|
|
7176
|
-
return
|
|
7176
|
+
return T;
|
|
7177
7177
|
}
|
|
7178
7178
|
}
|
|
7179
7179
|
}
|
|
@@ -7181,32 +7181,32 @@ function jw() {
|
|
|
7181
7181
|
return !1;
|
|
7182
7182
|
}, pe.isConcurrentMode = function() {
|
|
7183
7183
|
return !1;
|
|
7184
|
-
}, pe.isContextConsumer = function(
|
|
7185
|
-
return b(
|
|
7186
|
-
}, pe.isContextProvider = function(
|
|
7187
|
-
return b(
|
|
7188
|
-
}, pe.isElement = function(
|
|
7189
|
-
return typeof
|
|
7190
|
-
}, pe.isForwardRef = function(
|
|
7191
|
-
return b(
|
|
7192
|
-
}, pe.isFragment = function(
|
|
7193
|
-
return b(
|
|
7194
|
-
}, pe.isLazy = function(
|
|
7195
|
-
return b(
|
|
7196
|
-
}, pe.isMemo = function(
|
|
7197
|
-
return b(
|
|
7198
|
-
}, pe.isPortal = function(
|
|
7199
|
-
return b(
|
|
7200
|
-
}, pe.isProfiler = function(
|
|
7201
|
-
return b(
|
|
7202
|
-
}, pe.isStrictMode = function(
|
|
7203
|
-
return b(
|
|
7204
|
-
}, pe.isSuspense = function(
|
|
7205
|
-
return b(
|
|
7206
|
-
}, pe.isSuspenseList = function(
|
|
7207
|
-
return b(
|
|
7208
|
-
}, pe.isValidElementType = function(
|
|
7209
|
-
return typeof
|
|
7184
|
+
}, pe.isContextConsumer = function(g) {
|
|
7185
|
+
return b(g) === i;
|
|
7186
|
+
}, pe.isContextProvider = function(g) {
|
|
7187
|
+
return b(g) === s;
|
|
7188
|
+
}, pe.isElement = function(g) {
|
|
7189
|
+
return typeof g == "object" && g !== null && g.$$typeof === e;
|
|
7190
|
+
}, pe.isForwardRef = function(g) {
|
|
7191
|
+
return b(g) === c;
|
|
7192
|
+
}, pe.isFragment = function(g) {
|
|
7193
|
+
return b(g) === r;
|
|
7194
|
+
}, pe.isLazy = function(g) {
|
|
7195
|
+
return b(g) === p;
|
|
7196
|
+
}, pe.isMemo = function(g) {
|
|
7197
|
+
return b(g) === f;
|
|
7198
|
+
}, pe.isPortal = function(g) {
|
|
7199
|
+
return b(g) === t;
|
|
7200
|
+
}, pe.isProfiler = function(g) {
|
|
7201
|
+
return b(g) === o;
|
|
7202
|
+
}, pe.isStrictMode = function(g) {
|
|
7203
|
+
return b(g) === n;
|
|
7204
|
+
}, pe.isSuspense = function(g) {
|
|
7205
|
+
return b(g) === u;
|
|
7206
|
+
}, pe.isSuspenseList = function(g) {
|
|
7207
|
+
return b(g) === d;
|
|
7208
|
+
}, pe.isValidElementType = function(g) {
|
|
7209
|
+
return typeof g == "string" || typeof g == "function" || g === r || g === o || g === n || g === u || g === d || g === h || typeof g == "object" && g !== null && (g.$$typeof === p || g.$$typeof === f || g.$$typeof === s || g.$$typeof === i || g.$$typeof === c || g.$$typeof === y || g.getModuleId !== void 0);
|
|
7210
7210
|
}, pe.typeOf = b, pe;
|
|
7211
7211
|
}
|
|
7212
7212
|
var he = {};
|
|
@@ -7222,14 +7222,14 @@ var he = {};
|
|
|
7222
7222
|
var Ha;
|
|
7223
7223
|
function kw() {
|
|
7224
7224
|
return Ha || (Ha = 1, process.env.NODE_ENV !== "production" && function() {
|
|
7225
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), i = Symbol.for("react.context"), a = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"),
|
|
7226
|
-
|
|
7225
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), i = Symbol.for("react.context"), a = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), y = !1, b = !1, g = !1, T = !1, j = !1, O;
|
|
7226
|
+
O = Symbol.for("react.module.reference");
|
|
7227
7227
|
function E(M) {
|
|
7228
|
-
return !!(typeof M == "string" || typeof M == "function" || M === r || M === o || j || M === n || M === u || M === d ||
|
|
7228
|
+
return !!(typeof M == "string" || typeof M == "function" || M === r || M === o || j || M === n || M === u || M === d || T || M === h || y || b || g || typeof M == "object" && M !== null && (M.$$typeof === p || M.$$typeof === f || M.$$typeof === s || M.$$typeof === i || M.$$typeof === c || // This needs to include all possible module reference object
|
|
7229
7229
|
// types supported by any Flight configuration anywhere since
|
|
7230
7230
|
// we don't know which Flight build this will end up being used
|
|
7231
7231
|
// with.
|
|
7232
|
-
M.$$typeof ===
|
|
7232
|
+
M.$$typeof === O || M.getModuleId !== void 0));
|
|
7233
7233
|
}
|
|
7234
7234
|
function _(M) {
|
|
7235
7235
|
if (typeof M == "object" && M !== null) {
|
|
@@ -7263,9 +7263,9 @@ function kw() {
|
|
|
7263
7263
|
}
|
|
7264
7264
|
}
|
|
7265
7265
|
}
|
|
7266
|
-
var
|
|
7266
|
+
var A = i, R = s, U = e, J = c, m = r, C = p, D = f, q = t, Q = o, ae = n, ce = u, z = d, K = !1, ee = !1;
|
|
7267
7267
|
function w(M) {
|
|
7268
|
-
return
|
|
7268
|
+
return K || (K = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
7269
7269
|
}
|
|
7270
7270
|
function $(M) {
|
|
7271
7271
|
return ee || (ee = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
@@ -7306,11 +7306,11 @@ function kw() {
|
|
|
7306
7306
|
function Pe(M) {
|
|
7307
7307
|
return _(M) === d;
|
|
7308
7308
|
}
|
|
7309
|
-
he.ContextConsumer =
|
|
7309
|
+
he.ContextConsumer = A, he.ContextProvider = R, he.Element = U, he.ForwardRef = J, he.Fragment = m, he.Lazy = C, he.Memo = D, he.Portal = q, he.Profiler = Q, he.StrictMode = ae, he.Suspense = ce, he.SuspenseList = z, he.isAsyncMode = w, he.isConcurrentMode = $, he.isContextConsumer = H, he.isContextProvider = N, he.isElement = W, he.isForwardRef = F, he.isFragment = Y, he.isLazy = I, he.isMemo = X, he.isPortal = oe, he.isProfiler = te, he.isStrictMode = Ee, he.isSuspense = P, he.isSuspenseList = Pe, he.isValidElementType = E, he.typeOf = _;
|
|
7310
7310
|
}()), he;
|
|
7311
7311
|
}
|
|
7312
|
-
process.env.NODE_ENV === "production" ?
|
|
7313
|
-
var Ga =
|
|
7312
|
+
process.env.NODE_ENV === "production" ? fs.exports = jw() : fs.exports = kw();
|
|
7313
|
+
var Ga = fs.exports;
|
|
7314
7314
|
function yu(e, t = "") {
|
|
7315
7315
|
return e.displayName || e.name || t;
|
|
7316
7316
|
}
|
|
@@ -7340,7 +7340,7 @@ function qt(e) {
|
|
|
7340
7340
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Nt(7));
|
|
7341
7341
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
7342
7342
|
}
|
|
7343
|
-
function
|
|
7343
|
+
function ds(e, t) {
|
|
7344
7344
|
const r = {
|
|
7345
7345
|
...t
|
|
7346
7346
|
};
|
|
@@ -7365,7 +7365,7 @@ function fs(e, t) {
|
|
|
7365
7365
|
for (const a in s)
|
|
7366
7366
|
if (Object.prototype.hasOwnProperty.call(s, a)) {
|
|
7367
7367
|
const c = a;
|
|
7368
|
-
r[o][c] =
|
|
7368
|
+
r[o][c] = ds(s[c], i[c]);
|
|
7369
7369
|
}
|
|
7370
7370
|
}
|
|
7371
7371
|
} else r[o] === void 0 && (r[o] = e[o]);
|
|
@@ -7412,14 +7412,14 @@ const qa = (e) => e, Rw = () => {
|
|
|
7412
7412
|
required: "required",
|
|
7413
7413
|
selected: "selected"
|
|
7414
7414
|
};
|
|
7415
|
-
function
|
|
7415
|
+
function Ks(e, t, r = "Mui") {
|
|
7416
7416
|
const n = Mw[t];
|
|
7417
7417
|
return n ? `${r}-${n}` : `${Dw.generate(e)}-${t}`;
|
|
7418
7418
|
}
|
|
7419
7419
|
function Nw(e, t, r = "Mui") {
|
|
7420
7420
|
const n = {};
|
|
7421
7421
|
return t.forEach((o) => {
|
|
7422
|
-
n[o] =
|
|
7422
|
+
n[o] = Ks(e, o, r);
|
|
7423
7423
|
}), n;
|
|
7424
7424
|
}
|
|
7425
7425
|
function Fw(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
@@ -7627,7 +7627,7 @@ function sn(e, t, r, n) {
|
|
|
7627
7627
|
`)), () => {
|
|
7628
7628
|
});
|
|
7629
7629
|
}
|
|
7630
|
-
function
|
|
7630
|
+
function Js(e) {
|
|
7631
7631
|
return sn(e, "spacing", 8, "spacing");
|
|
7632
7632
|
}
|
|
7633
7633
|
function an(e, t) {
|
|
@@ -7643,7 +7643,7 @@ function Qw(e, t, r, n) {
|
|
|
7643
7643
|
return Pt(e, i, s);
|
|
7644
7644
|
}
|
|
7645
7645
|
function vu(e, t) {
|
|
7646
|
-
const r =
|
|
7646
|
+
const r = Js(e.theme);
|
|
7647
7647
|
return Object.keys(e).map((n) => Qw(e, t, n, r)).reduce(Wr, {});
|
|
7648
7648
|
}
|
|
7649
7649
|
function Ce(e) {
|
|
@@ -7770,7 +7770,7 @@ function nt(e) {
|
|
|
7770
7770
|
const wE = Oe({
|
|
7771
7771
|
prop: "width",
|
|
7772
7772
|
transform: nt
|
|
7773
|
-
}),
|
|
7773
|
+
}), Xs = (e) => {
|
|
7774
7774
|
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
7775
7775
|
const t = (r) => {
|
|
7776
7776
|
var o, s, i, a, c;
|
|
@@ -7787,7 +7787,7 @@ const wE = Oe({
|
|
|
7787
7787
|
}
|
|
7788
7788
|
return null;
|
|
7789
7789
|
};
|
|
7790
|
-
|
|
7790
|
+
Xs.filterProps = ["maxWidth"];
|
|
7791
7791
|
const EE = Oe({
|
|
7792
7792
|
prop: "minWidth",
|
|
7793
7793
|
transform: nt
|
|
@@ -7814,7 +7814,7 @@ Oe({
|
|
|
7814
7814
|
const $E = Oe({
|
|
7815
7815
|
prop: "boxSizing"
|
|
7816
7816
|
});
|
|
7817
|
-
lo(wE,
|
|
7817
|
+
lo(wE, Xs, EE, CE, AE, OE, $E);
|
|
7818
7818
|
const ho = {
|
|
7819
7819
|
// borders
|
|
7820
7820
|
border: {
|
|
@@ -8063,7 +8063,7 @@ const ho = {
|
|
|
8063
8063
|
transform: nt
|
|
8064
8064
|
},
|
|
8065
8065
|
maxWidth: {
|
|
8066
|
-
style:
|
|
8066
|
+
style: Xs
|
|
8067
8067
|
},
|
|
8068
8068
|
minWidth: {
|
|
8069
8069
|
transform: nt
|
|
@@ -8133,9 +8133,9 @@ function PE() {
|
|
|
8133
8133
|
[r]: n
|
|
8134
8134
|
};
|
|
8135
8135
|
const p = so(o, u) || {};
|
|
8136
|
-
return f ? f(i) : Pt(i, n, (
|
|
8137
|
-
let b = Fn(p, d,
|
|
8138
|
-
return
|
|
8136
|
+
return f ? f(i) : Pt(i, n, (y) => {
|
|
8137
|
+
let b = Fn(p, d, y);
|
|
8138
|
+
return y === b && typeof y == "string" && (b = Fn(p, d, `${r}${y === "default" ? "" : qt(y)}`, y)), c === !1 ? b : {
|
|
8139
8139
|
[c]: b
|
|
8140
8140
|
};
|
|
8141
8141
|
});
|
|
@@ -8165,15 +8165,15 @@ function PE() {
|
|
|
8165
8165
|
if (s[p])
|
|
8166
8166
|
f = Wr(f, e(p, h, o, s));
|
|
8167
8167
|
else {
|
|
8168
|
-
const
|
|
8168
|
+
const y = Pt({
|
|
8169
8169
|
theme: o
|
|
8170
8170
|
}, h, (b) => ({
|
|
8171
8171
|
[p]: b
|
|
8172
8172
|
}));
|
|
8173
|
-
jE(
|
|
8173
|
+
jE(y, h) ? f[p] = t({
|
|
8174
8174
|
sx: h,
|
|
8175
8175
|
theme: o
|
|
8176
|
-
}) : f = Wr(f,
|
|
8176
|
+
}) : f = Wr(f, y);
|
|
8177
8177
|
}
|
|
8178
8178
|
else
|
|
8179
8179
|
f = Wr(f, e(p, h, o, s));
|
|
@@ -8185,56 +8185,16 @@ function PE() {
|
|
|
8185
8185
|
}
|
|
8186
8186
|
const gr = PE();
|
|
8187
8187
|
gr.filterProps = ["sx"];
|
|
8188
|
-
function
|
|
8189
|
-
return
|
|
8188
|
+
function ps() {
|
|
8189
|
+
return ps = Object.assign ? Object.assign.bind() : function(e) {
|
|
8190
8190
|
for (var t = 1; t < arguments.length; t++) {
|
|
8191
8191
|
var r = arguments[t];
|
|
8192
8192
|
for (var n in r) ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
8193
8193
|
}
|
|
8194
8194
|
return e;
|
|
8195
|
-
},
|
|
8196
|
-
}
|
|
8197
|
-
function xu(e) {
|
|
8198
|
-
var t = /* @__PURE__ */ Object.create(null);
|
|
8199
|
-
return function(r) {
|
|
8200
|
-
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
8201
|
-
};
|
|
8195
|
+
}, ps.apply(null, arguments);
|
|
8202
8196
|
}
|
|
8203
|
-
|
|
8204
|
-
function(e) {
|
|
8205
|
-
return IE.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
8206
|
-
}
|
|
8207
|
-
/* Z+1 */
|
|
8208
|
-
), DE = !0;
|
|
8209
|
-
function ME(e, t, r) {
|
|
8210
|
-
var n = "";
|
|
8211
|
-
return r.split(" ").forEach(function(o) {
|
|
8212
|
-
e[o] !== void 0 ? t.push(e[o] + ";") : o && (n += o + " ");
|
|
8213
|
-
}), n;
|
|
8214
|
-
}
|
|
8215
|
-
var _u = function(t, r, n) {
|
|
8216
|
-
var o = t.key + "-" + r.name;
|
|
8217
|
-
// we only need to add the styles to the registered cache if the
|
|
8218
|
-
// class name could be used further down
|
|
8219
|
-
// the tree but if it's a string tag, we know it won't
|
|
8220
|
-
// so we don't have to add it to registered cache.
|
|
8221
|
-
// this improves memory usage since we can avoid storing the whole style string
|
|
8222
|
-
(n === !1 || // we need to always store it if we're in compat mode and
|
|
8223
|
-
// in node since emotion-server relies on whether a style is in
|
|
8224
|
-
// the registered cache to know whether a style is global or not
|
|
8225
|
-
// also, note that this check will be dead code eliminated in the browser
|
|
8226
|
-
DE === !1) && t.registered[o] === void 0 && (t.registered[o] = r.styles);
|
|
8227
|
-
}, NE = function(t, r, n) {
|
|
8228
|
-
_u(t, r, n);
|
|
8229
|
-
var o = t.key + "-" + r.name;
|
|
8230
|
-
if (t.inserted[r.name] === void 0) {
|
|
8231
|
-
var s = r;
|
|
8232
|
-
do
|
|
8233
|
-
t.insert(r === s ? "." + o : "", s, t.sheet, !0), s = s.next;
|
|
8234
|
-
while (s !== void 0);
|
|
8235
|
-
}
|
|
8236
|
-
};
|
|
8237
|
-
function FE(e) {
|
|
8197
|
+
function IE(e) {
|
|
8238
8198
|
for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
|
|
8239
8199
|
r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
|
|
8240
8200
|
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
|
|
@@ -8253,7 +8213,7 @@ function FE(e) {
|
|
|
8253
8213
|
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
8254
8214
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
8255
8215
|
}
|
|
8256
|
-
var
|
|
8216
|
+
var RE = {
|
|
8257
8217
|
animationIterationCount: 1,
|
|
8258
8218
|
aspectRatio: 1,
|
|
8259
8219
|
borderImageOutset: 1,
|
|
@@ -8302,18 +8262,25 @@ var LE = {
|
|
|
8302
8262
|
strokeMiterlimit: 1,
|
|
8303
8263
|
strokeOpacity: 1,
|
|
8304
8264
|
strokeWidth: 1
|
|
8305
|
-
}
|
|
8265
|
+
};
|
|
8266
|
+
function xu(e) {
|
|
8267
|
+
var t = /* @__PURE__ */ Object.create(null);
|
|
8268
|
+
return function(r) {
|
|
8269
|
+
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
8270
|
+
};
|
|
8271
|
+
}
|
|
8272
|
+
var DE = !1, ME = /[A-Z]|^ms/g, NE = /_EMO_([^_]+?)_([^]*?)_EMO_/g, _u = function(t) {
|
|
8306
8273
|
return t.charCodeAt(1) === 45;
|
|
8307
8274
|
}, Xa = function(t) {
|
|
8308
8275
|
return t != null && typeof t != "boolean";
|
|
8309
|
-
},
|
|
8310
|
-
return
|
|
8276
|
+
}, Lo = /* @__PURE__ */ xu(function(e) {
|
|
8277
|
+
return _u(e) ? e : e.replace(ME, "-$&").toLowerCase();
|
|
8311
8278
|
}), Za = function(t, r) {
|
|
8312
8279
|
switch (t) {
|
|
8313
8280
|
case "animation":
|
|
8314
8281
|
case "animationName":
|
|
8315
8282
|
if (typeof r == "string")
|
|
8316
|
-
return r.replace(
|
|
8283
|
+
return r.replace(NE, function(n, o, s) {
|
|
8317
8284
|
return wt = {
|
|
8318
8285
|
name: o,
|
|
8319
8286
|
styles: s,
|
|
@@ -8321,8 +8288,8 @@ var LE = {
|
|
|
8321
8288
|
}, o;
|
|
8322
8289
|
});
|
|
8323
8290
|
}
|
|
8324
|
-
return
|
|
8325
|
-
},
|
|
8291
|
+
return RE[t] !== 1 && !_u(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
8292
|
+
}, FE = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
|
|
8326
8293
|
function Kr(e, t, r) {
|
|
8327
8294
|
if (r == null)
|
|
8328
8295
|
return "";
|
|
@@ -8353,7 +8320,7 @@ function Kr(e, t, r) {
|
|
|
8353
8320
|
var a = s.styles + ";";
|
|
8354
8321
|
return a;
|
|
8355
8322
|
}
|
|
8356
|
-
return
|
|
8323
|
+
return LE(e, t, r);
|
|
8357
8324
|
}
|
|
8358
8325
|
case "function": {
|
|
8359
8326
|
if (e !== void 0) {
|
|
@@ -8369,7 +8336,7 @@ function Kr(e, t, r) {
|
|
|
8369
8336
|
var f = t[d];
|
|
8370
8337
|
return f !== void 0 ? f : d;
|
|
8371
8338
|
}
|
|
8372
|
-
function
|
|
8339
|
+
function LE(e, t, r) {
|
|
8373
8340
|
var n = "";
|
|
8374
8341
|
if (Array.isArray(r))
|
|
8375
8342
|
for (var o = 0; o < r.length; o++)
|
|
@@ -8379,19 +8346,19 @@ function WE(e, t, r) {
|
|
|
8379
8346
|
var i = r[s];
|
|
8380
8347
|
if (typeof i != "object") {
|
|
8381
8348
|
var a = i;
|
|
8382
|
-
t != null && t[a] !== void 0 ? n += s + "{" + t[a] + "}" : Xa(a) && (n +=
|
|
8349
|
+
t != null && t[a] !== void 0 ? n += s + "{" + t[a] + "}" : Xa(a) && (n += Lo(s) + ":" + Za(s, a) + ";");
|
|
8383
8350
|
} else {
|
|
8384
|
-
if (s === "NO_COMPONENT_SELECTOR" &&
|
|
8385
|
-
throw new Error(
|
|
8351
|
+
if (s === "NO_COMPONENT_SELECTOR" && DE)
|
|
8352
|
+
throw new Error(FE);
|
|
8386
8353
|
if (Array.isArray(i) && typeof i[0] == "string" && (t == null || t[i[0]] === void 0))
|
|
8387
8354
|
for (var c = 0; c < i.length; c++)
|
|
8388
|
-
Xa(i[c]) && (n +=
|
|
8355
|
+
Xa(i[c]) && (n += Lo(s) + ":" + Za(s, i[c]) + ";");
|
|
8389
8356
|
else {
|
|
8390
8357
|
var u = Kr(e, t, i);
|
|
8391
8358
|
switch (s) {
|
|
8392
8359
|
case "animation":
|
|
8393
8360
|
case "animationName": {
|
|
8394
|
-
n +=
|
|
8361
|
+
n += Lo(s) + ":" + u + ";";
|
|
8395
8362
|
break;
|
|
8396
8363
|
}
|
|
8397
8364
|
default:
|
|
@@ -8403,7 +8370,7 @@ function WE(e, t, r) {
|
|
|
8403
8370
|
return n;
|
|
8404
8371
|
}
|
|
8405
8372
|
var Qa = /label:\s*([^\s;{]+)\s*(;|$)/g, wt;
|
|
8406
|
-
function
|
|
8373
|
+
function Tu(e, t, r) {
|
|
8407
8374
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
8408
8375
|
return e[0];
|
|
8409
8376
|
var n = !0, o = "";
|
|
@@ -8423,22 +8390,55 @@ function Su(e, t, r) {
|
|
|
8423
8390
|
Qa.lastIndex = 0;
|
|
8424
8391
|
for (var u = "", d; (d = Qa.exec(o)) !== null; )
|
|
8425
8392
|
u += "-" + d[1];
|
|
8426
|
-
var f =
|
|
8393
|
+
var f = IE(o) + u;
|
|
8427
8394
|
return {
|
|
8428
8395
|
name: f,
|
|
8429
8396
|
styles: o,
|
|
8430
8397
|
next: wt
|
|
8431
8398
|
};
|
|
8432
8399
|
}
|
|
8433
|
-
var
|
|
8400
|
+
var zE = function(t) {
|
|
8434
8401
|
return t();
|
|
8435
|
-
},
|
|
8402
|
+
}, BE = qe.useInsertionEffect ? qe.useInsertionEffect : !1, UE = BE || zE, VE = !0;
|
|
8403
|
+
function WE(e, t, r) {
|
|
8404
|
+
var n = "";
|
|
8405
|
+
return r.split(" ").forEach(function(o) {
|
|
8406
|
+
e[o] !== void 0 ? t.push(e[o] + ";") : o && (n += o + " ");
|
|
8407
|
+
}), n;
|
|
8408
|
+
}
|
|
8409
|
+
var Su = function(t, r, n) {
|
|
8410
|
+
var o = t.key + "-" + r.name;
|
|
8411
|
+
// we only need to add the styles to the registered cache if the
|
|
8412
|
+
// class name could be used further down
|
|
8413
|
+
// the tree but if it's a string tag, we know it won't
|
|
8414
|
+
// so we don't have to add it to registered cache.
|
|
8415
|
+
// this improves memory usage since we can avoid storing the whole style string
|
|
8416
|
+
(n === !1 || // we need to always store it if we're in compat mode and
|
|
8417
|
+
// in node since emotion-server relies on whether a style is in
|
|
8418
|
+
// the registered cache to know whether a style is global or not
|
|
8419
|
+
// also, note that this check will be dead code eliminated in the browser
|
|
8420
|
+
VE === !1) && t.registered[o] === void 0 && (t.registered[o] = r.styles);
|
|
8421
|
+
}, HE = function(t, r, n) {
|
|
8422
|
+
Su(t, r, n);
|
|
8423
|
+
var o = t.key + "-" + r.name;
|
|
8424
|
+
if (t.inserted[r.name] === void 0) {
|
|
8425
|
+
var s = r;
|
|
8426
|
+
do
|
|
8427
|
+
t.insert(r === s ? "." + o : "", s, t.sheet, !0), s = s.next;
|
|
8428
|
+
while (s !== void 0);
|
|
8429
|
+
}
|
|
8430
|
+
}, GE = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, YE = /* @__PURE__ */ xu(
|
|
8431
|
+
function(e) {
|
|
8432
|
+
return GE.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
8433
|
+
}
|
|
8434
|
+
/* Z+1 */
|
|
8435
|
+
), qE = !1, KE = YE, JE = function(t) {
|
|
8436
8436
|
return t !== "theme";
|
|
8437
8437
|
}, el = function(t) {
|
|
8438
8438
|
return typeof t == "string" && // 96 is one less than the char code
|
|
8439
8439
|
// for "a" so this is checking that
|
|
8440
8440
|
// it's a lowercase character
|
|
8441
|
-
t.charCodeAt(0) > 96 ?
|
|
8441
|
+
t.charCodeAt(0) > 96 ? KE : JE;
|
|
8442
8442
|
}, tl = function(t, r, n) {
|
|
8443
8443
|
var o;
|
|
8444
8444
|
if (r) {
|
|
@@ -8448,10 +8448,10 @@ var HE = function(t) {
|
|
|
8448
8448
|
} : s;
|
|
8449
8449
|
}
|
|
8450
8450
|
return typeof o != "function" && n && (o = t.__emotion_forwardProp), o;
|
|
8451
|
-
},
|
|
8451
|
+
}, XE = function(t) {
|
|
8452
8452
|
var r = t.cache, n = t.serialized, o = t.isStringTag;
|
|
8453
|
-
return
|
|
8454
|
-
return
|
|
8453
|
+
return Su(r, n, o), UE(function() {
|
|
8454
|
+
return HE(r, n, o);
|
|
8455
8455
|
}), null;
|
|
8456
8456
|
}, ZE = function e(t, r) {
|
|
8457
8457
|
var n = t.__emotion_real === t, o = n && t.__emotion_base || t, s, i;
|
|
@@ -8462,39 +8462,41 @@ var HE = function(t) {
|
|
|
8462
8462
|
if (s !== void 0 && f.push("label:" + s + ";"), d[0] == null || d[0].raw === void 0)
|
|
8463
8463
|
f.push.apply(f, d);
|
|
8464
8464
|
else {
|
|
8465
|
-
|
|
8466
|
-
|
|
8467
|
-
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
|
|
8471
|
-
|
|
8472
|
-
|
|
8473
|
-
|
|
8474
|
-
|
|
8475
|
-
|
|
8476
|
-
|
|
8477
|
-
|
|
8478
|
-
|
|
8479
|
-
|
|
8480
|
-
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
|
|
8465
|
+
var p = d[0];
|
|
8466
|
+
f.push(p[0]);
|
|
8467
|
+
for (var h = d.length, y = 1; y < h; y++)
|
|
8468
|
+
f.push(d[y], p[y]);
|
|
8469
|
+
}
|
|
8470
|
+
var b = If(function(g, T, j) {
|
|
8471
|
+
var O = u && g.as || o, E = "", _ = [], A = g;
|
|
8472
|
+
if (g.theme == null) {
|
|
8473
|
+
A = {};
|
|
8474
|
+
for (var R in g)
|
|
8475
|
+
A[R] = g[R];
|
|
8476
|
+
A.theme = qe.useContext(Rf);
|
|
8477
|
+
}
|
|
8478
|
+
typeof g.className == "string" ? E = WE(T.registered, _, g.className) : g.className != null && (E = g.className + " ");
|
|
8479
|
+
var U = Tu(f.concat(_), T.registered, A);
|
|
8480
|
+
E += T.key + "-" + U.name, i !== void 0 && (E += " " + i);
|
|
8481
|
+
var J = u && a === void 0 ? el(O) : c, m = {};
|
|
8482
|
+
for (var C in g)
|
|
8483
|
+
u && C === "as" || J(C) && (m[C] = g[C]);
|
|
8484
|
+
return m.className = E, j && (m.ref = j), /* @__PURE__ */ qe.createElement(qe.Fragment, null, /* @__PURE__ */ qe.createElement(XE, {
|
|
8485
|
+
cache: T,
|
|
8486
|
+
serialized: U,
|
|
8487
|
+
isStringTag: typeof O == "string"
|
|
8488
|
+
}), /* @__PURE__ */ qe.createElement(O, m));
|
|
8488
8489
|
});
|
|
8489
|
-
return
|
|
8490
|
+
return b.displayName = s !== void 0 ? s : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", b.defaultProps = t.defaultProps, b.__emotion_real = b, b.__emotion_base = o, b.__emotion_styles = f, b.__emotion_forwardProp = a, Object.defineProperty(b, "toString", {
|
|
8490
8491
|
value: function() {
|
|
8491
|
-
return i === void 0 &&
|
|
8492
|
+
return i === void 0 && qE ? "NO_COMPONENT_SELECTOR" : "." + i;
|
|
8492
8493
|
}
|
|
8493
|
-
}),
|
|
8494
|
-
|
|
8495
|
-
shouldForwardProp: tl(
|
|
8496
|
-
}))
|
|
8497
|
-
|
|
8494
|
+
}), b.withComponent = function(g, T) {
|
|
8495
|
+
var j = e(g, ps({}, r, T, {
|
|
8496
|
+
shouldForwardProp: tl(b, T, !0)
|
|
8497
|
+
}));
|
|
8498
|
+
return j.apply(void 0, f);
|
|
8499
|
+
}, b;
|
|
8498
8500
|
};
|
|
8499
8501
|
}, QE = [
|
|
8500
8502
|
"a",
|
|
@@ -8632,9 +8634,9 @@ var HE = function(t) {
|
|
|
8632
8634
|
"svg",
|
|
8633
8635
|
"text",
|
|
8634
8636
|
"tspan"
|
|
8635
|
-
],
|
|
8637
|
+
], hs = ZE.bind(null);
|
|
8636
8638
|
QE.forEach(function(e) {
|
|
8637
|
-
|
|
8639
|
+
hs[e] = hs(e);
|
|
8638
8640
|
});
|
|
8639
8641
|
/**
|
|
8640
8642
|
* @mui/styled-engine v6.1.10
|
|
@@ -8644,7 +8646,7 @@ QE.forEach(function(e) {
|
|
|
8644
8646
|
* LICENSE file in the root directory of this source tree.
|
|
8645
8647
|
*/
|
|
8646
8648
|
function eC(e, t) {
|
|
8647
|
-
const r =
|
|
8649
|
+
const r = hs(e, t);
|
|
8648
8650
|
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
8649
8651
|
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
8650
8652
|
return n.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
@@ -8656,7 +8658,7 @@ function tC(e, t) {
|
|
|
8656
8658
|
}
|
|
8657
8659
|
const rl = [];
|
|
8658
8660
|
function nl(e) {
|
|
8659
|
-
return rl[0] = e,
|
|
8661
|
+
return rl[0] = e, Tu(rl);
|
|
8660
8662
|
}
|
|
8661
8663
|
const rC = (e) => {
|
|
8662
8664
|
const t = Object.keys(e).map((r) => ({
|
|
@@ -8695,8 +8697,8 @@ function nC(e) {
|
|
|
8695
8697
|
return `@media (max-width:${(typeof t[p] == "number" ? t[p] : p) - n / 100}${r})`;
|
|
8696
8698
|
}
|
|
8697
8699
|
function u(p, h) {
|
|
8698
|
-
const
|
|
8699
|
-
return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r}) and (max-width:${(
|
|
8700
|
+
const y = i.indexOf(h);
|
|
8701
|
+
return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r}) and (max-width:${(y !== -1 && typeof t[i[y]] == "number" ? t[i[y]] : h) - n / 100}${r})`;
|
|
8700
8702
|
}
|
|
8701
8703
|
function d(p) {
|
|
8702
8704
|
return i.indexOf(p) + 1 < i.length ? u(p, i[i.indexOf(p) + 1]) : a(p);
|
|
@@ -8720,7 +8722,7 @@ function nC(e) {
|
|
|
8720
8722
|
const oC = {
|
|
8721
8723
|
borderRadius: 4
|
|
8722
8724
|
};
|
|
8723
|
-
function wu(e = 8, t =
|
|
8725
|
+
function wu(e = 8, t = Js({
|
|
8724
8726
|
spacing: e
|
|
8725
8727
|
})) {
|
|
8726
8728
|
if (e.mui)
|
|
@@ -8791,7 +8793,7 @@ function Cu(e) {
|
|
|
8791
8793
|
}), n;
|
|
8792
8794
|
}
|
|
8793
8795
|
const iC = Eu();
|
|
8794
|
-
function
|
|
8796
|
+
function zo(e) {
|
|
8795
8797
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
8796
8798
|
}
|
|
8797
8799
|
function aC(e) {
|
|
@@ -8847,14 +8849,14 @@ function cC(e = {}) {
|
|
|
8847
8849
|
const {
|
|
8848
8850
|
themeId: t,
|
|
8849
8851
|
defaultTheme: r = iC,
|
|
8850
|
-
rootShouldForwardProp: n =
|
|
8851
|
-
slotShouldForwardProp: o =
|
|
8852
|
+
rootShouldForwardProp: n = zo,
|
|
8853
|
+
slotShouldForwardProp: o = zo
|
|
8852
8854
|
} = e;
|
|
8853
8855
|
function s(a) {
|
|
8854
8856
|
lC(a, t, r);
|
|
8855
8857
|
}
|
|
8856
8858
|
return (a, c = {}) => {
|
|
8857
|
-
tC(a, (_) => _.filter((
|
|
8859
|
+
tC(a, (_) => _.filter((A) => A !== gr));
|
|
8858
8860
|
const {
|
|
8859
8861
|
name: u,
|
|
8860
8862
|
slot: d,
|
|
@@ -8863,51 +8865,51 @@ function cC(e = {}) {
|
|
|
8863
8865
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
8864
8866
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
8865
8867
|
overridesResolver: h = aC(Ou(d)),
|
|
8866
|
-
...
|
|
8868
|
+
...y
|
|
8867
8869
|
} = c, b = f !== void 0 ? f : (
|
|
8868
8870
|
// TODO v6: remove `Root` in the next major release
|
|
8869
8871
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
8870
8872
|
d && d !== "Root" && d !== "root" || !1
|
|
8871
|
-
),
|
|
8872
|
-
let
|
|
8873
|
-
d === "Root" || d === "root" ?
|
|
8873
|
+
), g = p || !1;
|
|
8874
|
+
let T = zo;
|
|
8875
|
+
d === "Root" || d === "root" ? T = n : d ? T = o : pC(a) && (T = void 0);
|
|
8874
8876
|
const j = eC(a, {
|
|
8875
|
-
shouldForwardProp:
|
|
8877
|
+
shouldForwardProp: T,
|
|
8876
8878
|
label: fC(u, d),
|
|
8877
|
-
...
|
|
8878
|
-
}),
|
|
8879
|
+
...y
|
|
8880
|
+
}), O = (_) => {
|
|
8879
8881
|
if (typeof _ == "function" && _.__emotion_real !== _)
|
|
8880
8882
|
return function(R) {
|
|
8881
8883
|
return An(R, _);
|
|
8882
8884
|
};
|
|
8883
8885
|
if (jt(_)) {
|
|
8884
|
-
const
|
|
8885
|
-
return
|
|
8886
|
-
return An(
|
|
8887
|
-
} :
|
|
8886
|
+
const A = Cu(_);
|
|
8887
|
+
return A.variants ? function(U) {
|
|
8888
|
+
return An(U, A);
|
|
8889
|
+
} : A.style;
|
|
8888
8890
|
}
|
|
8889
8891
|
return _;
|
|
8890
8892
|
}, E = (..._) => {
|
|
8891
|
-
const
|
|
8892
|
-
if (
|
|
8893
|
+
const A = [], R = _.map(O), U = [];
|
|
8894
|
+
if (A.push(s), u && h && U.push(function(D) {
|
|
8893
8895
|
var ce, z;
|
|
8894
8896
|
const Q = (z = (ce = D.theme.components) == null ? void 0 : ce[u]) == null ? void 0 : z.styleOverrides;
|
|
8895
8897
|
if (!Q)
|
|
8896
8898
|
return null;
|
|
8897
8899
|
const ae = {};
|
|
8898
|
-
for (const
|
|
8899
|
-
ae[
|
|
8900
|
+
for (const K in Q)
|
|
8901
|
+
ae[K] = An(D, Q[K]);
|
|
8900
8902
|
return h(D, ae);
|
|
8901
|
-
}), u && !b &&
|
|
8903
|
+
}), u && !b && U.push(function(D) {
|
|
8902
8904
|
var ae, ce;
|
|
8903
8905
|
const q = D.theme, Q = (ce = (ae = q == null ? void 0 : q.components) == null ? void 0 : ae[u]) == null ? void 0 : ce.variants;
|
|
8904
8906
|
return Q ? Au(D, Q) : null;
|
|
8905
|
-
}),
|
|
8906
|
-
const
|
|
8907
|
+
}), g || U.push(gr), Array.isArray(R[0])) {
|
|
8908
|
+
const C = R.shift(), D = new Array(A.length).fill(""), q = new Array(U.length).fill("");
|
|
8907
8909
|
let Q;
|
|
8908
|
-
Q = [...D, ...
|
|
8910
|
+
Q = [...D, ...C, ...q], Q.raw = [...D, ...C.raw, ...q], A.unshift(Q);
|
|
8909
8911
|
}
|
|
8910
|
-
const
|
|
8912
|
+
const J = [...A, ...R, ...U], m = j(...J);
|
|
8911
8913
|
return a.muiName && (m.muiName = a.muiName), process.env.NODE_ENV !== "production" && (m.displayName = uC(u, d, a)), m;
|
|
8912
8914
|
};
|
|
8913
8915
|
return j.withConfig && (E.withConfig = j.withConfig), E;
|
|
@@ -8934,7 +8936,7 @@ function pC(e) {
|
|
|
8934
8936
|
function Ou(e) {
|
|
8935
8937
|
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
8936
8938
|
}
|
|
8937
|
-
function
|
|
8939
|
+
function Zs(e, t = 0, r = 1) {
|
|
8938
8940
|
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), Fw(e, t, r);
|
|
8939
8941
|
}
|
|
8940
8942
|
function hC(e) {
|
|
@@ -8997,17 +8999,17 @@ function $u(e) {
|
|
|
8997
8999
|
values: c
|
|
8998
9000
|
});
|
|
8999
9001
|
}
|
|
9000
|
-
function
|
|
9002
|
+
function ms(e) {
|
|
9001
9003
|
e = Ft(e);
|
|
9002
9004
|
let t = e.type === "hsl" || e.type === "hsla" ? Ft($u(e)).values : e.values;
|
|
9003
9005
|
return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
|
|
9004
9006
|
}
|
|
9005
9007
|
function ol(e, t) {
|
|
9006
|
-
const r =
|
|
9008
|
+
const r = ms(e), n = ms(t);
|
|
9007
9009
|
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
9008
9010
|
}
|
|
9009
9011
|
function gC(e, t) {
|
|
9010
|
-
return e = Ft(e), t =
|
|
9012
|
+
return e = Ft(e), t = Zs(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, mo(e);
|
|
9011
9013
|
}
|
|
9012
9014
|
function vn(e, t, r) {
|
|
9013
9015
|
try {
|
|
@@ -9016,8 +9018,8 @@ function vn(e, t, r) {
|
|
|
9016
9018
|
return e;
|
|
9017
9019
|
}
|
|
9018
9020
|
}
|
|
9019
|
-
function
|
|
9020
|
-
if (e = Ft(e), t =
|
|
9021
|
+
function Qs(e, t) {
|
|
9022
|
+
if (e = Ft(e), t = Zs(t), e.type.includes("hsl"))
|
|
9021
9023
|
e.values[2] *= 1 - t;
|
|
9022
9024
|
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
9023
9025
|
for (let r = 0; r < 3; r += 1)
|
|
@@ -9026,13 +9028,13 @@ function Zs(e, t) {
|
|
|
9026
9028
|
}
|
|
9027
9029
|
function ve(e, t, r) {
|
|
9028
9030
|
try {
|
|
9029
|
-
return
|
|
9031
|
+
return Qs(e, t);
|
|
9030
9032
|
} catch {
|
|
9031
9033
|
return e;
|
|
9032
9034
|
}
|
|
9033
9035
|
}
|
|
9034
|
-
function
|
|
9035
|
-
if (e = Ft(e), t =
|
|
9036
|
+
function ei(e, t) {
|
|
9037
|
+
if (e = Ft(e), t = Zs(t), e.type.includes("hsl"))
|
|
9036
9038
|
e.values[2] += (100 - e.values[2]) * t;
|
|
9037
9039
|
else if (e.type.includes("rgb"))
|
|
9038
9040
|
for (let r = 0; r < 3; r += 1)
|
|
@@ -9044,13 +9046,13 @@ function Qs(e, t) {
|
|
|
9044
9046
|
}
|
|
9045
9047
|
function xe(e, t, r) {
|
|
9046
9048
|
try {
|
|
9047
|
-
return
|
|
9049
|
+
return ei(e, t);
|
|
9048
9050
|
} catch {
|
|
9049
9051
|
return e;
|
|
9050
9052
|
}
|
|
9051
9053
|
}
|
|
9052
9054
|
function yC(e, t = 0.15) {
|
|
9053
|
-
return
|
|
9055
|
+
return ms(e) > 0.5 ? Qs(e, t) : ei(e, t);
|
|
9054
9056
|
}
|
|
9055
9057
|
function xn(e, t, r) {
|
|
9056
9058
|
try {
|
|
@@ -9070,7 +9072,7 @@ function vC(e) {
|
|
|
9070
9072
|
if (!t || !t.components || !t.components[r])
|
|
9071
9073
|
return n;
|
|
9072
9074
|
const o = t.components[r];
|
|
9073
|
-
return o.defaultProps ?
|
|
9075
|
+
return o.defaultProps ? ds(o.defaultProps, n) : !o.styleOverrides && !o.variants ? ds(o, n) : n;
|
|
9074
9076
|
}
|
|
9075
9077
|
function xC({
|
|
9076
9078
|
props: e,
|
|
@@ -9117,7 +9119,7 @@ const il = (e, t, r, n = []) => {
|
|
|
9117
9119
|
}
|
|
9118
9120
|
n(e);
|
|
9119
9121
|
}, wC = (e, t) => typeof t == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
|
|
9120
|
-
function
|
|
9122
|
+
function Bo(e, t) {
|
|
9121
9123
|
const {
|
|
9122
9124
|
prefix: r,
|
|
9123
9125
|
shouldSkipGeneratingVar: n
|
|
@@ -9142,7 +9144,7 @@ function zo(e, t) {
|
|
|
9142
9144
|
}
|
|
9143
9145
|
function EC(e, t = {}) {
|
|
9144
9146
|
const {
|
|
9145
|
-
getSelector: r =
|
|
9147
|
+
getSelector: r = g,
|
|
9146
9148
|
disableCssColorScheme: n,
|
|
9147
9149
|
colorSchemeSelector: o
|
|
9148
9150
|
} = t, {
|
|
@@ -9154,67 +9156,67 @@ function EC(e, t = {}) {
|
|
|
9154
9156
|
vars: u,
|
|
9155
9157
|
css: d,
|
|
9156
9158
|
varsWithDefaults: f
|
|
9157
|
-
} =
|
|
9159
|
+
} = Bo(c, t);
|
|
9158
9160
|
let p = f;
|
|
9159
9161
|
const h = {}, {
|
|
9160
|
-
[a]:
|
|
9162
|
+
[a]: y,
|
|
9161
9163
|
...b
|
|
9162
9164
|
} = s;
|
|
9163
|
-
if (Object.entries(b || {}).forEach(([
|
|
9165
|
+
if (Object.entries(b || {}).forEach(([O, E]) => {
|
|
9164
9166
|
const {
|
|
9165
9167
|
vars: _,
|
|
9166
|
-
css:
|
|
9168
|
+
css: A,
|
|
9167
9169
|
varsWithDefaults: R
|
|
9168
|
-
} =
|
|
9169
|
-
p = st(p, R), h[
|
|
9170
|
-
css:
|
|
9170
|
+
} = Bo(E, t);
|
|
9171
|
+
p = st(p, R), h[O] = {
|
|
9172
|
+
css: A,
|
|
9171
9173
|
vars: _
|
|
9172
9174
|
};
|
|
9173
|
-
}),
|
|
9175
|
+
}), y) {
|
|
9174
9176
|
const {
|
|
9175
|
-
css:
|
|
9177
|
+
css: O,
|
|
9176
9178
|
vars: E,
|
|
9177
9179
|
varsWithDefaults: _
|
|
9178
|
-
} =
|
|
9180
|
+
} = Bo(y, t);
|
|
9179
9181
|
p = st(p, _), h[a] = {
|
|
9180
|
-
css:
|
|
9182
|
+
css: O,
|
|
9181
9183
|
vars: E
|
|
9182
9184
|
};
|
|
9183
9185
|
}
|
|
9184
|
-
function
|
|
9185
|
-
var
|
|
9186
|
+
function g(O, E) {
|
|
9187
|
+
var A, R;
|
|
9186
9188
|
let _ = o;
|
|
9187
|
-
if (o === "class" && (_ = ".%s"), o === "data" && (_ = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (_ = `[${o}="%s"]`),
|
|
9189
|
+
if (o === "class" && (_ = ".%s"), o === "data" && (_ = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (_ = `[${o}="%s"]`), O) {
|
|
9188
9190
|
if (_ === "media")
|
|
9189
|
-
return e.defaultColorScheme ===
|
|
9190
|
-
[`@media (prefers-color-scheme: ${((R = (
|
|
9191
|
+
return e.defaultColorScheme === O ? ":root" : {
|
|
9192
|
+
[`@media (prefers-color-scheme: ${((R = (A = s[O]) == null ? void 0 : A.palette) == null ? void 0 : R.mode) || O})`]: {
|
|
9191
9193
|
":root": E
|
|
9192
9194
|
}
|
|
9193
9195
|
};
|
|
9194
9196
|
if (_)
|
|
9195
|
-
return e.defaultColorScheme ===
|
|
9197
|
+
return e.defaultColorScheme === O ? `:root, ${_.replace("%s", String(O))}` : _.replace("%s", String(O));
|
|
9196
9198
|
}
|
|
9197
9199
|
return ":root";
|
|
9198
9200
|
}
|
|
9199
9201
|
return {
|
|
9200
9202
|
vars: p,
|
|
9201
9203
|
generateThemeVars: () => {
|
|
9202
|
-
let
|
|
9204
|
+
let O = {
|
|
9203
9205
|
...u
|
|
9204
9206
|
};
|
|
9205
9207
|
return Object.entries(h).forEach(([, {
|
|
9206
9208
|
vars: E
|
|
9207
9209
|
}]) => {
|
|
9208
|
-
|
|
9209
|
-
}),
|
|
9210
|
+
O = st(O, E);
|
|
9211
|
+
}), O;
|
|
9210
9212
|
},
|
|
9211
9213
|
generateStyleSheets: () => {
|
|
9212
|
-
var
|
|
9213
|
-
const
|
|
9214
|
-
function _(m,
|
|
9215
|
-
Object.keys(
|
|
9214
|
+
var U, J;
|
|
9215
|
+
const O = [], E = e.defaultColorScheme || "light";
|
|
9216
|
+
function _(m, C) {
|
|
9217
|
+
Object.keys(C).length && O.push(typeof m == "string" ? {
|
|
9216
9218
|
[m]: {
|
|
9217
|
-
...
|
|
9219
|
+
...C
|
|
9218
9220
|
}
|
|
9219
9221
|
} : m);
|
|
9220
9222
|
}
|
|
@@ -9222,14 +9224,14 @@ function EC(e, t = {}) {
|
|
|
9222
9224
|
...d
|
|
9223
9225
|
}), d);
|
|
9224
9226
|
const {
|
|
9225
|
-
[E]:
|
|
9227
|
+
[E]: A,
|
|
9226
9228
|
...R
|
|
9227
9229
|
} = h;
|
|
9228
|
-
if (
|
|
9230
|
+
if (A) {
|
|
9229
9231
|
const {
|
|
9230
9232
|
css: m
|
|
9231
|
-
} =
|
|
9232
|
-
colorScheme:
|
|
9233
|
+
} = A, C = (J = (U = s[E]) == null ? void 0 : U.palette) == null ? void 0 : J.mode, D = !n && C ? {
|
|
9234
|
+
colorScheme: C,
|
|
9233
9235
|
...m
|
|
9234
9236
|
} : {
|
|
9235
9237
|
...m
|
|
@@ -9239,19 +9241,19 @@ function EC(e, t = {}) {
|
|
|
9239
9241
|
}), D);
|
|
9240
9242
|
}
|
|
9241
9243
|
return Object.entries(R).forEach(([m, {
|
|
9242
|
-
css:
|
|
9244
|
+
css: C
|
|
9243
9245
|
}]) => {
|
|
9244
9246
|
var Q, ae;
|
|
9245
9247
|
const D = (ae = (Q = s[m]) == null ? void 0 : Q.palette) == null ? void 0 : ae.mode, q = !n && D ? {
|
|
9246
9248
|
colorScheme: D,
|
|
9247
|
-
...
|
|
9249
|
+
...C
|
|
9248
9250
|
} : {
|
|
9249
|
-
...
|
|
9251
|
+
...C
|
|
9250
9252
|
};
|
|
9251
9253
|
_(r(m, {
|
|
9252
9254
|
...q
|
|
9253
9255
|
}), q);
|
|
9254
|
-
}),
|
|
9256
|
+
}), O;
|
|
9255
9257
|
}
|
|
9256
9258
|
};
|
|
9257
9259
|
}
|
|
@@ -9441,7 +9443,7 @@ function ku() {
|
|
|
9441
9443
|
const al = ku();
|
|
9442
9444
|
function ll(e, t, r, n) {
|
|
9443
9445
|
const o = n.light || n, s = n.dark || n * 1.5;
|
|
9444
|
-
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light =
|
|
9446
|
+
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = ei(e.main, o) : t === "dark" && (e.dark = Qs(e.main, s)));
|
|
9445
9447
|
}
|
|
9446
9448
|
function $C(e = "light") {
|
|
9447
9449
|
return e === "dark" ? {
|
|
@@ -9510,7 +9512,7 @@ function RC(e = "light") {
|
|
|
9510
9512
|
dark: Fr[900]
|
|
9511
9513
|
};
|
|
9512
9514
|
}
|
|
9513
|
-
function
|
|
9515
|
+
function ti(e) {
|
|
9514
9516
|
const {
|
|
9515
9517
|
mode: t = "light",
|
|
9516
9518
|
contrastThreshold: r = 3,
|
|
@@ -9518,28 +9520,28 @@ function ei(e) {
|
|
|
9518
9520
|
...o
|
|
9519
9521
|
} = e, s = e.primary || $C(t), i = e.secondary || jC(t), a = e.error || kC(t), c = e.info || PC(t), u = e.success || IC(t), d = e.warning || RC(t);
|
|
9520
9522
|
function f(b) {
|
|
9521
|
-
const
|
|
9523
|
+
const g = ol(b, al.text.primary) >= r ? al.text.primary : OC.text.primary;
|
|
9522
9524
|
if (process.env.NODE_ENV !== "production") {
|
|
9523
|
-
const
|
|
9524
|
-
|
|
9525
|
+
const T = ol(b, g);
|
|
9526
|
+
T < 3 && console.error([`MUI: The contrast ratio of ${T}:1 for ${g} on ${b}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
9525
9527
|
`));
|
|
9526
9528
|
}
|
|
9527
|
-
return
|
|
9529
|
+
return g;
|
|
9528
9530
|
}
|
|
9529
9531
|
const p = ({
|
|
9530
9532
|
color: b,
|
|
9531
|
-
name:
|
|
9532
|
-
mainShade:
|
|
9533
|
+
name: g,
|
|
9534
|
+
mainShade: T = 500,
|
|
9533
9535
|
lightShade: j = 300,
|
|
9534
|
-
darkShade:
|
|
9536
|
+
darkShade: O = 700
|
|
9535
9537
|
}) => {
|
|
9536
9538
|
if (b = {
|
|
9537
9539
|
...b
|
|
9538
|
-
}, !b.main && b[
|
|
9539
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
9540
|
-
The color object needs to have a \`main\` property or a \`${
|
|
9540
|
+
}, !b.main && b[T] && (b.main = b[T]), !b.hasOwnProperty("main"))
|
|
9541
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${g ? ` (${g})` : ""} provided to augmentColor(color) is invalid.
|
|
9542
|
+
The color object needs to have a \`main\` property or a \`${T}\` property.` : Nt(11, g ? ` (${g})` : "", T));
|
|
9541
9543
|
if (typeof b.main != "string")
|
|
9542
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
9544
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${g ? ` (${g})` : ""} provided to augmentColor(color) is invalid.
|
|
9543
9545
|
\`color.main\` should be a string, but \`${JSON.stringify(b.main)}\` was provided instead.
|
|
9544
9546
|
|
|
9545
9547
|
Did you intend to use one of the following approaches?
|
|
@@ -9552,8 +9554,8 @@ const theme1 = createTheme({ palette: {
|
|
|
9552
9554
|
|
|
9553
9555
|
const theme2 = createTheme({ palette: {
|
|
9554
9556
|
primary: { main: green[500] },
|
|
9555
|
-
} });` : Nt(12,
|
|
9556
|
-
return ll(b, "light", j, n), ll(b, "dark",
|
|
9557
|
+
} });` : Nt(12, g ? ` (${g})` : "", JSON.stringify(b.main)));
|
|
9558
|
+
return ll(b, "light", j, n), ll(b, "dark", O, n), b.contrastText || (b.contrastText = f(b.main)), b;
|
|
9557
9559
|
};
|
|
9558
9560
|
let h;
|
|
9559
9561
|
return t === "light" ? h = ju() : t === "dark" && (h = ku()), process.env.NODE_ENV !== "production" && (h || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), st({
|
|
@@ -9662,33 +9664,33 @@ function FC(e, t) {
|
|
|
9662
9664
|
...f
|
|
9663
9665
|
} = typeof t == "function" ? t(e) : t;
|
|
9664
9666
|
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof c != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
9665
|
-
const p = n / 14, h = d || ((
|
|
9667
|
+
const p = n / 14, h = d || ((g) => `${g / c * p}rem`), y = (g, T, j, O, E) => ({
|
|
9666
9668
|
fontFamily: r,
|
|
9667
|
-
fontWeight:
|
|
9668
|
-
fontSize: h(
|
|
9669
|
+
fontWeight: g,
|
|
9670
|
+
fontSize: h(T),
|
|
9669
9671
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
9670
9672
|
lineHeight: j,
|
|
9671
9673
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
9672
9674
|
// across font-families can cause issues with the kerning.
|
|
9673
9675
|
...r === ul ? {
|
|
9674
|
-
letterSpacing: `${NC(
|
|
9676
|
+
letterSpacing: `${NC(O / T)}em`
|
|
9675
9677
|
} : {},
|
|
9676
9678
|
...E,
|
|
9677
9679
|
...u
|
|
9678
9680
|
}), b = {
|
|
9679
|
-
h1:
|
|
9680
|
-
h2:
|
|
9681
|
-
h3:
|
|
9682
|
-
h4:
|
|
9683
|
-
h5:
|
|
9684
|
-
h6:
|
|
9685
|
-
subtitle1:
|
|
9686
|
-
subtitle2:
|
|
9687
|
-
body1:
|
|
9688
|
-
body2:
|
|
9689
|
-
button:
|
|
9690
|
-
caption:
|
|
9691
|
-
overline:
|
|
9681
|
+
h1: y(o, 96, 1.167, -1.5),
|
|
9682
|
+
h2: y(o, 60, 1.2, -0.5),
|
|
9683
|
+
h3: y(s, 48, 1.167, 0),
|
|
9684
|
+
h4: y(s, 34, 1.235, 0.25),
|
|
9685
|
+
h5: y(s, 24, 1.334, 0),
|
|
9686
|
+
h6: y(i, 20, 1.6, 0.15),
|
|
9687
|
+
subtitle1: y(s, 16, 1.75, 0.15),
|
|
9688
|
+
subtitle2: y(i, 14, 1.57, 0.1),
|
|
9689
|
+
body1: y(s, 16, 1.5, 0.15),
|
|
9690
|
+
body2: y(s, 14, 1.43, 0.15),
|
|
9691
|
+
button: y(i, 14, 1.75, 0.4, cl),
|
|
9692
|
+
caption: y(s, 12, 1.66, 0.4),
|
|
9693
|
+
overline: y(s, 12, 2.66, 1, cl),
|
|
9692
9694
|
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
9693
9695
|
inherit: {
|
|
9694
9696
|
fontFamily: "inherit",
|
|
@@ -9813,7 +9815,7 @@ theme.transitions = createTransitions(theme.transitions || {});
|
|
|
9813
9815
|
|
|
9814
9816
|
export default theme;`;
|
|
9815
9817
|
}
|
|
9816
|
-
function
|
|
9818
|
+
function gs(e = {}, ...t) {
|
|
9817
9819
|
const {
|
|
9818
9820
|
breakpoints: r,
|
|
9819
9821
|
mixins: n = {},
|
|
@@ -9826,7 +9828,7 @@ function ms(e = {}, ...t) {
|
|
|
9826
9828
|
} = e;
|
|
9827
9829
|
if (e.vars)
|
|
9828
9830
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : Nt(20));
|
|
9829
|
-
const d =
|
|
9831
|
+
const d = ti(s), f = Eu(e);
|
|
9830
9832
|
let p = st(f, {
|
|
9831
9833
|
mixins: MC(f.breakpoints, n),
|
|
9832
9834
|
palette: d,
|
|
@@ -9838,36 +9840,36 @@ function ms(e = {}, ...t) {
|
|
|
9838
9840
|
...YC
|
|
9839
9841
|
}
|
|
9840
9842
|
});
|
|
9841
|
-
if (p = st(p, u), p = t.reduce((h,
|
|
9842
|
-
const h = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"],
|
|
9843
|
-
let
|
|
9844
|
-
for (
|
|
9845
|
-
const j = b[
|
|
9846
|
-
if (h.includes(
|
|
9843
|
+
if (p = st(p, u), p = t.reduce((h, y) => st(h, y), p), process.env.NODE_ENV !== "production") {
|
|
9844
|
+
const h = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], y = (b, g) => {
|
|
9845
|
+
let T;
|
|
9846
|
+
for (T in b) {
|
|
9847
|
+
const j = b[T];
|
|
9848
|
+
if (h.includes(T) && Object.keys(j).length > 0) {
|
|
9847
9849
|
if (process.env.NODE_ENV !== "production") {
|
|
9848
|
-
const
|
|
9849
|
-
console.error([`MUI: The \`${
|
|
9850
|
+
const O = Ks("", T);
|
|
9851
|
+
console.error([`MUI: The \`${g}\` component increases the CSS specificity of the \`${T}\` internal state.`, "You can not override it like this: ", JSON.stringify(b, null, 2), "", `Instead, you need to use the '&.${O}' syntax:`, JSON.stringify({
|
|
9850
9852
|
root: {
|
|
9851
|
-
[`&.${
|
|
9853
|
+
[`&.${O}`]: j
|
|
9852
9854
|
}
|
|
9853
9855
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
9854
9856
|
`));
|
|
9855
9857
|
}
|
|
9856
|
-
b[
|
|
9858
|
+
b[T] = {};
|
|
9857
9859
|
}
|
|
9858
9860
|
}
|
|
9859
9861
|
};
|
|
9860
9862
|
Object.keys(p.components).forEach((b) => {
|
|
9861
|
-
const
|
|
9862
|
-
|
|
9863
|
+
const g = p.components[b].styleOverrides;
|
|
9864
|
+
g && b.startsWith("Mui") && y(g, b);
|
|
9863
9865
|
});
|
|
9864
9866
|
}
|
|
9865
9867
|
return p.unstable_sxConfig = {
|
|
9866
9868
|
...ho,
|
|
9867
9869
|
...u == null ? void 0 : u.unstable_sxConfig
|
|
9868
|
-
}, p.unstable_sx = function(
|
|
9870
|
+
}, p.unstable_sx = function(y) {
|
|
9869
9871
|
return gr({
|
|
9870
|
-
sx:
|
|
9872
|
+
sx: y,
|
|
9871
9873
|
theme: this
|
|
9872
9874
|
});
|
|
9873
9875
|
}, p.toRuntimeSource = Pu, p;
|
|
@@ -9902,7 +9904,7 @@ function XC(e) {
|
|
|
9902
9904
|
opacity: r,
|
|
9903
9905
|
overlays: n,
|
|
9904
9906
|
...o
|
|
9905
|
-
} = e, s =
|
|
9907
|
+
} = e, s = ti(t);
|
|
9906
9908
|
return {
|
|
9907
9909
|
palette: s,
|
|
9908
9910
|
opacity: {
|
|
@@ -9960,7 +9962,7 @@ function tA(e, t) {
|
|
|
9960
9962
|
e[r] || (e[r] = {});
|
|
9961
9963
|
});
|
|
9962
9964
|
}
|
|
9963
|
-
function
|
|
9965
|
+
function S(e, t, r) {
|
|
9964
9966
|
!e[t] && r && (e[t] = r);
|
|
9965
9967
|
}
|
|
9966
9968
|
function Vr(e) {
|
|
@@ -9979,7 +9981,7 @@ const Tt = (e) => {
|
|
|
9979
9981
|
} catch {
|
|
9980
9982
|
}
|
|
9981
9983
|
}, nA = (e = "mui") => TC(e);
|
|
9982
|
-
function
|
|
9984
|
+
function Uo(e, t, r, n) {
|
|
9983
9985
|
if (!t)
|
|
9984
9986
|
return;
|
|
9985
9987
|
t = t === !0 ? {} : t;
|
|
@@ -9997,7 +9999,7 @@ function Bo(e, t, r, n) {
|
|
|
9997
9999
|
const {
|
|
9998
10000
|
palette: s,
|
|
9999
10001
|
...i
|
|
10000
|
-
} =
|
|
10002
|
+
} = gs({
|
|
10001
10003
|
...r,
|
|
10002
10004
|
palette: {
|
|
10003
10005
|
mode: o,
|
|
@@ -10028,65 +10030,65 @@ function oA(e = {}, ...t) {
|
|
|
10028
10030
|
...u
|
|
10029
10031
|
} = e, d = Object.keys(r)[0], f = n || (r.light && d !== "light" ? "light" : d), p = nA(s), {
|
|
10030
10032
|
[f]: h,
|
|
10031
|
-
light:
|
|
10033
|
+
light: y,
|
|
10032
10034
|
dark: b,
|
|
10033
|
-
...
|
|
10034
|
-
} = r,
|
|
10035
|
-
...
|
|
10035
|
+
...g
|
|
10036
|
+
} = r, T = {
|
|
10037
|
+
...g
|
|
10036
10038
|
};
|
|
10037
10039
|
let j = h;
|
|
10038
10040
|
if ((f === "dark" && !("dark" in r) || f === "light" && !("light" in r)) && (j = !0), !j)
|
|
10039
10041
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${f}\` option is either missing or invalid.` : Nt(21, f));
|
|
10040
|
-
const
|
|
10041
|
-
|
|
10042
|
+
const O = Uo(T, j, u, f);
|
|
10043
|
+
y && !T.light && Uo(T, y, void 0, "light"), b && !T.dark && Uo(T, b, void 0, "dark");
|
|
10042
10044
|
let E = {
|
|
10043
10045
|
defaultColorScheme: f,
|
|
10044
|
-
...
|
|
10046
|
+
...O,
|
|
10045
10047
|
cssVarPrefix: s,
|
|
10046
10048
|
colorSchemeSelector: a,
|
|
10047
10049
|
rootSelector: c,
|
|
10048
10050
|
getCssVar: p,
|
|
10049
|
-
colorSchemes:
|
|
10051
|
+
colorSchemes: T,
|
|
10050
10052
|
font: {
|
|
10051
|
-
...DC(
|
|
10052
|
-
...
|
|
10053
|
+
...DC(O.typography),
|
|
10054
|
+
...O.font
|
|
10053
10055
|
},
|
|
10054
10056
|
spacing: rA(u.spacing)
|
|
10055
10057
|
};
|
|
10056
|
-
Object.keys(E.colorSchemes).forEach((
|
|
10057
|
-
const m = E.colorSchemes[
|
|
10058
|
+
Object.keys(E.colorSchemes).forEach((J) => {
|
|
10059
|
+
const m = E.colorSchemes[J].palette, C = (D) => {
|
|
10058
10060
|
const q = D.split("-"), Q = q[1], ae = q[2];
|
|
10059
10061
|
return p(D, m[Q][ae]);
|
|
10060
10062
|
};
|
|
10061
|
-
if (m.mode === "light" && (
|
|
10062
|
-
|
|
10063
|
+
if (m.mode === "light" && (S(m.common, "background", "#fff"), S(m.common, "onBackground", "#000")), m.mode === "dark" && (S(m.common, "background", "#000"), S(m.common, "onBackground", "#fff")), tA(m, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), m.mode === "light") {
|
|
10064
|
+
S(m.Alert, "errorColor", ve(m.error.light, 0.6)), S(m.Alert, "infoColor", ve(m.info.light, 0.6)), S(m.Alert, "successColor", ve(m.success.light, 0.6)), S(m.Alert, "warningColor", ve(m.warning.light, 0.6)), S(m.Alert, "errorFilledBg", C("palette-error-main")), S(m.Alert, "infoFilledBg", C("palette-info-main")), S(m.Alert, "successFilledBg", C("palette-success-main")), S(m.Alert, "warningFilledBg", C("palette-warning-main")), S(m.Alert, "errorFilledColor", Tt(() => m.getContrastText(m.error.main))), S(m.Alert, "infoFilledColor", Tt(() => m.getContrastText(m.info.main))), S(m.Alert, "successFilledColor", Tt(() => m.getContrastText(m.success.main))), S(m.Alert, "warningFilledColor", Tt(() => m.getContrastText(m.warning.main))), S(m.Alert, "errorStandardBg", xe(m.error.light, 0.9)), S(m.Alert, "infoStandardBg", xe(m.info.light, 0.9)), S(m.Alert, "successStandardBg", xe(m.success.light, 0.9)), S(m.Alert, "warningStandardBg", xe(m.warning.light, 0.9)), S(m.Alert, "errorIconColor", C("palette-error-main")), S(m.Alert, "infoIconColor", C("palette-info-main")), S(m.Alert, "successIconColor", C("palette-success-main")), S(m.Alert, "warningIconColor", C("palette-warning-main")), S(m.AppBar, "defaultBg", C("palette-grey-100")), S(m.Avatar, "defaultBg", C("palette-grey-400")), S(m.Button, "inheritContainedBg", C("palette-grey-300")), S(m.Button, "inheritContainedHoverBg", C("palette-grey-A100")), S(m.Chip, "defaultBorder", C("palette-grey-400")), S(m.Chip, "defaultAvatarColor", C("palette-grey-700")), S(m.Chip, "defaultIconColor", C("palette-grey-700")), S(m.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), S(m.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), S(m.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), S(m.LinearProgress, "primaryBg", xe(m.primary.main, 0.62)), S(m.LinearProgress, "secondaryBg", xe(m.secondary.main, 0.62)), S(m.LinearProgress, "errorBg", xe(m.error.main, 0.62)), S(m.LinearProgress, "infoBg", xe(m.info.main, 0.62)), S(m.LinearProgress, "successBg", xe(m.success.main, 0.62)), S(m.LinearProgress, "warningBg", xe(m.warning.main, 0.62)), S(m.Skeleton, "bg", `rgba(${C("palette-text-primaryChannel")} / 0.11)`), S(m.Slider, "primaryTrack", xe(m.primary.main, 0.62)), S(m.Slider, "secondaryTrack", xe(m.secondary.main, 0.62)), S(m.Slider, "errorTrack", xe(m.error.main, 0.62)), S(m.Slider, "infoTrack", xe(m.info.main, 0.62)), S(m.Slider, "successTrack", xe(m.success.main, 0.62)), S(m.Slider, "warningTrack", xe(m.warning.main, 0.62));
|
|
10063
10065
|
const D = xn(m.background.default, 0.8);
|
|
10064
|
-
|
|
10066
|
+
S(m.SnackbarContent, "bg", D), S(m.SnackbarContent, "color", Tt(() => m.getContrastText(D))), S(m.SpeedDialAction, "fabHoverBg", xn(m.background.paper, 0.15)), S(m.StepConnector, "border", C("palette-grey-400")), S(m.StepContent, "border", C("palette-grey-400")), S(m.Switch, "defaultColor", C("palette-common-white")), S(m.Switch, "defaultDisabledColor", C("palette-grey-100")), S(m.Switch, "primaryDisabledColor", xe(m.primary.main, 0.62)), S(m.Switch, "secondaryDisabledColor", xe(m.secondary.main, 0.62)), S(m.Switch, "errorDisabledColor", xe(m.error.main, 0.62)), S(m.Switch, "infoDisabledColor", xe(m.info.main, 0.62)), S(m.Switch, "successDisabledColor", xe(m.success.main, 0.62)), S(m.Switch, "warningDisabledColor", xe(m.warning.main, 0.62)), S(m.TableCell, "border", xe(vn(m.divider, 1), 0.88)), S(m.Tooltip, "bg", vn(m.grey[700], 0.92));
|
|
10065
10067
|
}
|
|
10066
10068
|
if (m.mode === "dark") {
|
|
10067
|
-
|
|
10069
|
+
S(m.Alert, "errorColor", xe(m.error.light, 0.6)), S(m.Alert, "infoColor", xe(m.info.light, 0.6)), S(m.Alert, "successColor", xe(m.success.light, 0.6)), S(m.Alert, "warningColor", xe(m.warning.light, 0.6)), S(m.Alert, "errorFilledBg", C("palette-error-dark")), S(m.Alert, "infoFilledBg", C("palette-info-dark")), S(m.Alert, "successFilledBg", C("palette-success-dark")), S(m.Alert, "warningFilledBg", C("palette-warning-dark")), S(m.Alert, "errorFilledColor", Tt(() => m.getContrastText(m.error.dark))), S(m.Alert, "infoFilledColor", Tt(() => m.getContrastText(m.info.dark))), S(m.Alert, "successFilledColor", Tt(() => m.getContrastText(m.success.dark))), S(m.Alert, "warningFilledColor", Tt(() => m.getContrastText(m.warning.dark))), S(m.Alert, "errorStandardBg", ve(m.error.light, 0.9)), S(m.Alert, "infoStandardBg", ve(m.info.light, 0.9)), S(m.Alert, "successStandardBg", ve(m.success.light, 0.9)), S(m.Alert, "warningStandardBg", ve(m.warning.light, 0.9)), S(m.Alert, "errorIconColor", C("palette-error-main")), S(m.Alert, "infoIconColor", C("palette-info-main")), S(m.Alert, "successIconColor", C("palette-success-main")), S(m.Alert, "warningIconColor", C("palette-warning-main")), S(m.AppBar, "defaultBg", C("palette-grey-900")), S(m.AppBar, "darkBg", C("palette-background-paper")), S(m.AppBar, "darkColor", C("palette-text-primary")), S(m.Avatar, "defaultBg", C("palette-grey-600")), S(m.Button, "inheritContainedBg", C("palette-grey-800")), S(m.Button, "inheritContainedHoverBg", C("palette-grey-700")), S(m.Chip, "defaultBorder", C("palette-grey-700")), S(m.Chip, "defaultAvatarColor", C("palette-grey-300")), S(m.Chip, "defaultIconColor", C("palette-grey-300")), S(m.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), S(m.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), S(m.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), S(m.LinearProgress, "primaryBg", ve(m.primary.main, 0.5)), S(m.LinearProgress, "secondaryBg", ve(m.secondary.main, 0.5)), S(m.LinearProgress, "errorBg", ve(m.error.main, 0.5)), S(m.LinearProgress, "infoBg", ve(m.info.main, 0.5)), S(m.LinearProgress, "successBg", ve(m.success.main, 0.5)), S(m.LinearProgress, "warningBg", ve(m.warning.main, 0.5)), S(m.Skeleton, "bg", `rgba(${C("palette-text-primaryChannel")} / 0.13)`), S(m.Slider, "primaryTrack", ve(m.primary.main, 0.5)), S(m.Slider, "secondaryTrack", ve(m.secondary.main, 0.5)), S(m.Slider, "errorTrack", ve(m.error.main, 0.5)), S(m.Slider, "infoTrack", ve(m.info.main, 0.5)), S(m.Slider, "successTrack", ve(m.success.main, 0.5)), S(m.Slider, "warningTrack", ve(m.warning.main, 0.5));
|
|
10068
10070
|
const D = xn(m.background.default, 0.98);
|
|
10069
|
-
|
|
10071
|
+
S(m.SnackbarContent, "bg", D), S(m.SnackbarContent, "color", Tt(() => m.getContrastText(D))), S(m.SpeedDialAction, "fabHoverBg", xn(m.background.paper, 0.15)), S(m.StepConnector, "border", C("palette-grey-600")), S(m.StepContent, "border", C("palette-grey-600")), S(m.Switch, "defaultColor", C("palette-grey-300")), S(m.Switch, "defaultDisabledColor", C("palette-grey-600")), S(m.Switch, "primaryDisabledColor", ve(m.primary.main, 0.55)), S(m.Switch, "secondaryDisabledColor", ve(m.secondary.main, 0.55)), S(m.Switch, "errorDisabledColor", ve(m.error.main, 0.55)), S(m.Switch, "infoDisabledColor", ve(m.info.main, 0.55)), S(m.Switch, "successDisabledColor", ve(m.success.main, 0.55)), S(m.Switch, "warningDisabledColor", ve(m.warning.main, 0.55)), S(m.TableCell, "border", ve(vn(m.divider, 1), 0.68)), S(m.Tooltip, "bg", vn(m.grey[700], 0.92));
|
|
10070
10072
|
}
|
|
10071
10073
|
$t(m.background, "default"), $t(m.background, "paper"), $t(m.common, "background"), $t(m.common, "onBackground"), $t(m, "divider"), Object.keys(m).forEach((D) => {
|
|
10072
10074
|
const q = m[D];
|
|
10073
|
-
D !== "tonalOffset" && q && typeof q == "object" && (q.main &&
|
|
10075
|
+
D !== "tonalOffset" && q && typeof q == "object" && (q.main && S(m[D], "mainChannel", Ur(Vr(q.main))), q.light && S(m[D], "lightChannel", Ur(Vr(q.light))), q.dark && S(m[D], "darkChannel", Ur(Vr(q.dark))), q.contrastText && S(m[D], "contrastTextChannel", Ur(Vr(q.contrastText))), D === "text" && ($t(m[D], "primary"), $t(m[D], "secondary")), D === "action" && (q.active && $t(m[D], "active"), q.selected && $t(m[D], "selected")));
|
|
10074
10076
|
});
|
|
10075
|
-
}), E = t.reduce((
|
|
10077
|
+
}), E = t.reduce((J, m) => st(J, m), E);
|
|
10076
10078
|
const _ = {
|
|
10077
10079
|
prefix: s,
|
|
10078
10080
|
disableCssColorScheme: o,
|
|
10079
10081
|
shouldSkipGeneratingVar: i,
|
|
10080
10082
|
getSelector: eA(E)
|
|
10081
10083
|
}, {
|
|
10082
|
-
vars:
|
|
10084
|
+
vars: A,
|
|
10083
10085
|
generateThemeVars: R,
|
|
10084
|
-
generateStyleSheets:
|
|
10086
|
+
generateStyleSheets: U
|
|
10085
10087
|
} = EC(E, _);
|
|
10086
|
-
return E.vars =
|
|
10087
|
-
E[
|
|
10088
|
-
}), E.generateThemeVars = R, E.generateStyleSheets =
|
|
10089
|
-
return wu(u.spacing,
|
|
10088
|
+
return E.vars = A, Object.entries(E.colorSchemes[E.defaultColorScheme]).forEach(([J, m]) => {
|
|
10089
|
+
E[J] = m;
|
|
10090
|
+
}), E.generateThemeVars = R, E.generateStyleSheets = U, E.generateSpacing = function() {
|
|
10091
|
+
return wu(u.spacing, Js(this));
|
|
10090
10092
|
}, E.getColorSchemeSelector = CC(a), E.spacing = E.generateSpacing(), E.shouldSkipGeneratingVar = i, E.unstable_sxConfig = {
|
|
10091
10093
|
...ho,
|
|
10092
10094
|
...u == null ? void 0 : u.unstable_sxConfig
|
|
@@ -10100,7 +10102,7 @@ function oA(e = {}, ...t) {
|
|
|
10100
10102
|
function dl(e, t, r) {
|
|
10101
10103
|
e.colorSchemes && r && (e.colorSchemes[t] = {
|
|
10102
10104
|
...r !== !0 && r,
|
|
10103
|
-
palette:
|
|
10105
|
+
palette: ti({
|
|
10104
10106
|
...r === !0 ? {} : r.palette,
|
|
10105
10107
|
mode: t
|
|
10106
10108
|
})
|
|
@@ -10127,12 +10129,12 @@ function sA(e = {}, ...t) {
|
|
|
10127
10129
|
};
|
|
10128
10130
|
if (n === !1) {
|
|
10129
10131
|
if (!("colorSchemes" in e))
|
|
10130
|
-
return
|
|
10132
|
+
return gs(e, ...t);
|
|
10131
10133
|
let d = r;
|
|
10132
10134
|
"palette" in e || u[a] && (u[a] !== !0 ? d = u[a].palette : a === "dark" && (d = {
|
|
10133
10135
|
mode: "dark"
|
|
10134
10136
|
}));
|
|
10135
|
-
const f =
|
|
10137
|
+
const f = gs({
|
|
10136
10138
|
...e,
|
|
10137
10139
|
palette: d
|
|
10138
10140
|
}, ...t);
|
|
@@ -10165,7 +10167,7 @@ function dA(e) {
|
|
|
10165
10167
|
return xC(e);
|
|
10166
10168
|
}
|
|
10167
10169
|
function pA(e) {
|
|
10168
|
-
return
|
|
10170
|
+
return Ks("MuiSvgIcon", e);
|
|
10169
10171
|
}
|
|
10170
10172
|
Nw("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
10171
10173
|
const hA = (e) => {
|
|
@@ -10189,7 +10191,7 @@ const hA = (e) => {
|
|
|
10189
10191
|
})(fA(({
|
|
10190
10192
|
theme: e
|
|
10191
10193
|
}) => {
|
|
10192
|
-
var t, r, n, o, s, i, a, c, u, d, f, p, h,
|
|
10194
|
+
var t, r, n, o, s, i, a, c, u, d, f, p, h, y;
|
|
10193
10195
|
return {
|
|
10194
10196
|
userSelect: "none",
|
|
10195
10197
|
width: "1em",
|
|
@@ -10242,13 +10244,13 @@ const hA = (e) => {
|
|
|
10242
10244
|
},
|
|
10243
10245
|
// TODO v5 deprecate color prop, v6 remove for sx
|
|
10244
10246
|
...Object.entries((e.vars ?? e).palette).filter(([, b]) => b && b.main).map(([b]) => {
|
|
10245
|
-
var
|
|
10247
|
+
var g, T;
|
|
10246
10248
|
return {
|
|
10247
10249
|
props: {
|
|
10248
10250
|
color: b
|
|
10249
10251
|
},
|
|
10250
10252
|
style: {
|
|
10251
|
-
color: (
|
|
10253
|
+
color: (T = (g = (e.vars ?? e).palette) == null ? void 0 : g[b]) == null ? void 0 : T.main
|
|
10252
10254
|
}
|
|
10253
10255
|
};
|
|
10254
10256
|
}),
|
|
@@ -10265,7 +10267,7 @@ const hA = (e) => {
|
|
|
10265
10267
|
color: "disabled"
|
|
10266
10268
|
},
|
|
10267
10269
|
style: {
|
|
10268
|
-
color: (
|
|
10270
|
+
color: (y = (h = (e.vars ?? e).palette) == null ? void 0 : h.action) == null ? void 0 : y.disabled
|
|
10269
10271
|
}
|
|
10270
10272
|
},
|
|
10271
10273
|
{
|
|
@@ -10293,7 +10295,7 @@ const hA = (e) => {
|
|
|
10293
10295
|
titleAccess: f,
|
|
10294
10296
|
viewBox: p = "0 0 24 24",
|
|
10295
10297
|
...h
|
|
10296
|
-
} = n,
|
|
10298
|
+
} = n, y = /* @__PURE__ */ qe.isValidElement(o) && o.type === "svg", b = {
|
|
10297
10299
|
...n,
|
|
10298
10300
|
color: i,
|
|
10299
10301
|
component: a,
|
|
@@ -10301,23 +10303,23 @@ const hA = (e) => {
|
|
|
10301
10303
|
instanceFontSize: t.fontSize,
|
|
10302
10304
|
inheritViewBox: d,
|
|
10303
10305
|
viewBox: p,
|
|
10304
|
-
hasSvgAsChild:
|
|
10305
|
-
},
|
|
10306
|
-
d || (
|
|
10307
|
-
const
|
|
10306
|
+
hasSvgAsChild: y
|
|
10307
|
+
}, g = {};
|
|
10308
|
+
d || (g.viewBox = p);
|
|
10309
|
+
const T = hA(b);
|
|
10308
10310
|
return /* @__PURE__ */ l.jsxs(mA, {
|
|
10309
10311
|
as: a,
|
|
10310
|
-
className: Lw(
|
|
10312
|
+
className: Lw(T.root, s),
|
|
10311
10313
|
focusable: "false",
|
|
10312
10314
|
color: u,
|
|
10313
10315
|
"aria-hidden": f ? void 0 : !0,
|
|
10314
10316
|
role: f ? "img" : void 0,
|
|
10315
10317
|
ref: r,
|
|
10316
|
-
...
|
|
10318
|
+
...g,
|
|
10317
10319
|
...h,
|
|
10318
|
-
...
|
|
10320
|
+
...y && o.props,
|
|
10319
10321
|
ownerState: b,
|
|
10320
|
-
children: [
|
|
10322
|
+
children: [y ? o.props.children : o, f ? /* @__PURE__ */ l.jsx("title", {
|
|
10321
10323
|
children: f
|
|
10322
10324
|
}) : null]
|
|
10323
10325
|
});
|
|
@@ -10395,7 +10397,7 @@ process.env.NODE_ENV !== "production" && (Xr.propTypes = {
|
|
|
10395
10397
|
viewBox: le.string
|
|
10396
10398
|
});
|
|
10397
10399
|
Xr && (Xr.muiName = "SvgIcon");
|
|
10398
|
-
function
|
|
10400
|
+
function ri(e, t) {
|
|
10399
10401
|
function r(n, o) {
|
|
10400
10402
|
return /* @__PURE__ */ l.jsx(Xr, {
|
|
10401
10403
|
"data-testid": `${t}Icon`,
|
|
@@ -10406,11 +10408,11 @@ function ti(e, t) {
|
|
|
10406
10408
|
}
|
|
10407
10409
|
return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName = Xr.muiName, /* @__PURE__ */ qe.memo(/* @__PURE__ */ qe.forwardRef(r));
|
|
10408
10410
|
}
|
|
10409
|
-
const gA =
|
|
10411
|
+
const gA = ri(/* @__PURE__ */ l.jsx("path", {
|
|
10410
10412
|
d: "m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"
|
|
10411
|
-
}), "ArrowDownward"), yA =
|
|
10413
|
+
}), "ArrowDownward"), yA = ri(/* @__PURE__ */ l.jsx("path", {
|
|
10412
10414
|
d: "m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"
|
|
10413
|
-
}), "ArrowUpward"), bA =
|
|
10415
|
+
}), "ArrowUpward"), bA = ri(/* @__PURE__ */ l.jsx("path", {
|
|
10414
10416
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
|
|
10415
10417
|
}), "Delete"), Zr = ({ children: e, ...t }) => /* @__PURE__ */ l.jsx(Fe.Td, { ...t, children: e }), vA = ({ errorMessages: e, id: t }) => /* @__PURE__ */ l.jsx(Re, { id: t, title: e, children: /* @__PURE__ */ l.jsx(Bn, { label: e.split(`
|
|
10416
10418
|
`).length, children: /* @__PURE__ */ l.jsx(ip, {}) }) }), xA = {
|
|
@@ -10565,11 +10567,11 @@ const gA = ti(/* @__PURE__ */ l.jsx("path", {
|
|
|
10565
10567
|
path: f,
|
|
10566
10568
|
translations: p
|
|
10567
10569
|
}) => {
|
|
10568
|
-
const
|
|
10570
|
+
const y = be("ActionIcon", {
|
|
10569
10571
|
bg: "transparent",
|
|
10570
10572
|
size: "sm",
|
|
10571
10573
|
c: "gray"
|
|
10572
|
-
}, {}), b = re(() => o(f, r), [o, f, r]),
|
|
10574
|
+
}, {}), b = re(() => o(f, r), [o, f, r]), g = re(() => s(f, r), [s, f, r]);
|
|
10573
10575
|
return /* @__PURE__ */ l.jsxs(Fe.Tr, { children: [
|
|
10574
10576
|
Du(CA, t, e, u, d),
|
|
10575
10577
|
u ? /* @__PURE__ */ l.jsx(Zr, { style: c ? pl.fixedCell : pl.fixedCellSmall, children: /* @__PURE__ */ l.jsxs(je, { justify: "flex-end", align: "center", children: [
|
|
@@ -10584,9 +10586,9 @@ const gA = ti(/* @__PURE__ */ l.jsx("path", {
|
|
|
10584
10586
|
children: /* @__PURE__ */ l.jsx(
|
|
10585
10587
|
ze,
|
|
10586
10588
|
{
|
|
10587
|
-
bg:
|
|
10588
|
-
size:
|
|
10589
|
-
c:
|
|
10589
|
+
bg: y.bg,
|
|
10590
|
+
size: y.size,
|
|
10591
|
+
c: y.c,
|
|
10590
10592
|
"aria-label": p.upAriaLabel,
|
|
10591
10593
|
onClick: b,
|
|
10592
10594
|
disabled: !i,
|
|
@@ -10605,11 +10607,11 @@ const gA = ti(/* @__PURE__ */ l.jsx("path", {
|
|
|
10605
10607
|
children: /* @__PURE__ */ l.jsx(
|
|
10606
10608
|
ze,
|
|
10607
10609
|
{
|
|
10608
|
-
bg:
|
|
10609
|
-
size:
|
|
10610
|
-
c:
|
|
10610
|
+
bg: y.bg,
|
|
10611
|
+
size: y.size,
|
|
10612
|
+
c: y.c,
|
|
10611
10613
|
"aria-label": p.downAriaLabel,
|
|
10612
|
-
onClick:
|
|
10614
|
+
onClick: g,
|
|
10613
10615
|
disabled: !a,
|
|
10614
10616
|
children: /* @__PURE__ */ l.jsx(gA, {})
|
|
10615
10617
|
}
|
|
@@ -10620,9 +10622,9 @@ const gA = ti(/* @__PURE__ */ l.jsx("path", {
|
|
|
10620
10622
|
/* @__PURE__ */ l.jsx(je.Col, { span: "content", children: /* @__PURE__ */ l.jsx(Re, { id: "tooltip-remove", title: p.removeTooltip, position: "bottom", children: /* @__PURE__ */ l.jsx(
|
|
10621
10623
|
ze,
|
|
10622
10624
|
{
|
|
10623
|
-
bg:
|
|
10624
|
-
size:
|
|
10625
|
-
c:
|
|
10625
|
+
bg: y.bg,
|
|
10626
|
+
size: y.size,
|
|
10627
|
+
c: y.c,
|
|
10626
10628
|
"aria-label": p.removeAriaLabel,
|
|
10627
10629
|
onClick: () => n(e, r),
|
|
10628
10630
|
children: /* @__PURE__ */ l.jsx(bA, {})
|
|
@@ -10647,11 +10649,11 @@ const gA = ti(/* @__PURE__ */ l.jsx("path", {
|
|
|
10647
10649
|
return /* @__PURE__ */ l.jsx(TA, { numColumns: Mu(r).length + 1, translations: d });
|
|
10648
10650
|
const p = Uc({}, a, i.options);
|
|
10649
10651
|
return /* @__PURE__ */ l.jsx(Xe.Fragment, { children: xw(e).map((h) => {
|
|
10650
|
-
const
|
|
10652
|
+
const y = kl.compose(t, `${h}`);
|
|
10651
10653
|
return /* @__PURE__ */ l.jsx(
|
|
10652
10654
|
OA,
|
|
10653
10655
|
{
|
|
10654
|
-
childPath:
|
|
10656
|
+
childPath: y,
|
|
10655
10657
|
rowIndex: h,
|
|
10656
10658
|
schema: r,
|
|
10657
10659
|
openDeleteDialog: n,
|
|
@@ -10665,7 +10667,7 @@ const gA = ti(/* @__PURE__ */ l.jsx("path", {
|
|
|
10665
10667
|
path: t,
|
|
10666
10668
|
translations: d
|
|
10667
10669
|
},
|
|
10668
|
-
|
|
10670
|
+
y
|
|
10669
10671
|
);
|
|
10670
10672
|
}) });
|
|
10671
10673
|
};
|
|
@@ -10688,7 +10690,7 @@ class jA extends Xe.Component {
|
|
|
10688
10690
|
enabled: f,
|
|
10689
10691
|
cells: p,
|
|
10690
10692
|
translations: h
|
|
10691
|
-
} = this.props,
|
|
10693
|
+
} = this.props, y = a, b = s.type === "object", g = b ? Du(SA, s, o, f, p) : void 0;
|
|
10692
10694
|
return d ? /* @__PURE__ */ l.jsxs(Fe, { children: [
|
|
10693
10695
|
/* @__PURE__ */ l.jsxs(Fe.Thead, { children: [
|
|
10694
10696
|
/* @__PURE__ */ l.jsx(
|
|
@@ -10698,9 +10700,9 @@ class jA extends Xe.Component {
|
|
|
10698
10700
|
label: r,
|
|
10699
10701
|
description: n,
|
|
10700
10702
|
addItem: this.addItem,
|
|
10701
|
-
numColumns: b ?
|
|
10703
|
+
numColumns: b ? g.length : 1,
|
|
10702
10704
|
path: o,
|
|
10703
|
-
uischema:
|
|
10705
|
+
uischema: y,
|
|
10704
10706
|
schema: s,
|
|
10705
10707
|
rootSchema: i,
|
|
10706
10708
|
enabled: f,
|
|
@@ -10708,7 +10710,7 @@ class jA extends Xe.Component {
|
|
|
10708
10710
|
}
|
|
10709
10711
|
),
|
|
10710
10712
|
b && /* @__PURE__ */ l.jsxs(Fe.Tr, { children: [
|
|
10711
|
-
|
|
10713
|
+
g,
|
|
10712
10714
|
f ? /* @__PURE__ */ l.jsx(Fe.Th, {}) : null
|
|
10713
10715
|
] })
|
|
10714
10716
|
] }),
|
|
@@ -10735,8 +10737,8 @@ const kA = Xe.memo(function({
|
|
|
10735
10737
|
] });
|
|
10736
10738
|
}), PA = (e) => {
|
|
10737
10739
|
const [t, r] = ne(!1), [n, o] = ne(void 0), [s, i] = ne(void 0), { removeItems: a, visible: c } = e, u = ge(
|
|
10738
|
-
(h,
|
|
10739
|
-
r(!0), o(h), i(
|
|
10740
|
+
(h, y) => {
|
|
10741
|
+
r(!0), o(h), i(y);
|
|
10740
10742
|
},
|
|
10741
10743
|
[r, o, i]
|
|
10742
10744
|
), d = ge(() => r(!1), [r]), f = ge(() => {
|
|
@@ -10786,7 +10788,7 @@ const kA = Xe.memo(function({
|
|
|
10786
10788
|
), MA = (e) => e.oneOf !== void 0 && e.oneOf.length > 0 && e.oneOf.every((t) => t.const !== void 0), NA = (e) => e.type === "string" && e.enum !== void 0, FA = De(
|
|
10787
10789
|
6,
|
|
10788
10790
|
_i(
|
|
10789
|
-
|
|
10791
|
+
_s("Control"),
|
|
10790
10792
|
_i(
|
|
10791
10793
|
wf(
|
|
10792
10794
|
(e) => Ef(e, "array") && !Array.isArray(e.items) && e.uniqueItems === !0
|
|
@@ -10867,7 +10869,7 @@ const kA = Xe.memo(function({
|
|
|
10867
10869
|
}, sO = De(5, jl), iO = Il(Rl(Xe.memo(oO)), !1), aO = (e) => {
|
|
10868
10870
|
const { text: t, visible: r } = e;
|
|
10869
10871
|
return r ? /* @__PURE__ */ l.jsx(ff, { fw: "bold", size: "xl", children: t }) : null;
|
|
10870
|
-
}, lO = De(3, Of), cO = Pf(aO), uO = De(5,
|
|
10872
|
+
}, lO = De(3, Of), cO = Pf(aO), uO = De(5, _s("HorizontalLayout")), fO = ({ uischema: e, renderers: t, cells: r, schema: n, path: o, enabled: s }) => {
|
|
10871
10873
|
const a = {
|
|
10872
10874
|
elements: e.elements,
|
|
10873
10875
|
schema: n,
|
|
@@ -10876,7 +10878,7 @@ const kA = Xe.memo(function({
|
|
|
10876
10878
|
direction: "row"
|
|
10877
10879
|
};
|
|
10878
10880
|
return /* @__PURE__ */ l.jsx(Cc, { ...a, renderers: t, cells: r });
|
|
10879
|
-
}, dO = Dl(fO), pO = De(5,
|
|
10881
|
+
}, dO = Dl(fO), pO = De(5, _s("VerticalLayout")), hO = ({ uischema: e, schema: t, path: r, enabled: n, renderers: o, cells: s }) => {
|
|
10880
10882
|
const a = {
|
|
10881
10883
|
elements: e.elements,
|
|
10882
10884
|
schema: t,
|
|
@@ -10924,14 +10926,14 @@ function yO(e, t) {
|
|
|
10924
10926
|
function bO(e) {
|
|
10925
10927
|
return e && typeof e == "object" && !Array.isArray(e);
|
|
10926
10928
|
}
|
|
10927
|
-
const
|
|
10929
|
+
const ni = (...e) => {
|
|
10928
10930
|
const t = {};
|
|
10929
10931
|
return e.forEach((r) => {
|
|
10930
10932
|
r && Object.keys(r).forEach((n) => {
|
|
10931
|
-
bO(r[n]) && n !== "ref" && t[n] ? t[n] =
|
|
10933
|
+
bO(r[n]) && n !== "ref" && t[n] ? t[n] = ni(t[n], r[n]) : t[n] = r[n];
|
|
10932
10934
|
});
|
|
10933
10935
|
}), t;
|
|
10934
|
-
}, Hr = (e = {}, ...t) => t.reduce((r, n) =>
|
|
10936
|
+
}, Hr = (e = {}, ...t) => t.reduce((r, n) => ni(r, e[n]), {}), vO = (e, t) => e === void 0 ? t : e;
|
|
10935
10937
|
function xO({ col: e, colFilter: t, onClick: r, ...n }) {
|
|
10936
10938
|
return /* @__PURE__ */ l.jsxs(ht, { shadow: "md", width: "target", ...n, children: [
|
|
10937
10939
|
/* @__PURE__ */ l.jsx(ht.Target, { children: /* @__PURE__ */ l.jsx(kt, { children: "Add filter" }) }),
|
|
@@ -10950,7 +10952,7 @@ function _O({ col: e, colFilter: t, filterNameMap: r }) {
|
|
|
10950
10952
|
initialValues: {
|
|
10951
10953
|
filters: (n == null ? void 0 : n.filters) || []
|
|
10952
10954
|
}
|
|
10953
|
-
}), [i] =
|
|
10955
|
+
}), [i] = bs(s.getValues(), nn);
|
|
10954
10956
|
pr(() => {
|
|
10955
10957
|
const u = i.filters.filter((d) => d.value);
|
|
10956
10958
|
o({ filters: u });
|
|
@@ -11018,9 +11020,9 @@ function TO({ filterNameMap: e, col: t, opr: r, table: n }) {
|
|
|
11018
11020
|
const Lr = (e) => e != null && e !== "", Nu = It(({ selectIcon: e, ...t }, r) => {
|
|
11019
11021
|
const { value: n, onChange: o, leftInputProps: s, rightInputProps: i, groupProps: a, ...c } = t, [u, d] = ne([null, null]);
|
|
11020
11022
|
ye(() => {
|
|
11021
|
-
const
|
|
11022
|
-
let
|
|
11023
|
-
switch (n && n !==
|
|
11023
|
+
const g = JSON.stringify(u);
|
|
11024
|
+
let T = "", j = null;
|
|
11025
|
+
switch (n && n !== g && (T = "sync"), u.every(Lr) && g !== n ? T = "update" : T = "clear", T) {
|
|
11024
11026
|
case "sync":
|
|
11025
11027
|
d(JSON.parse(n));
|
|
11026
11028
|
break;
|
|
@@ -11035,34 +11037,34 @@ const Lr = (e) => e != null && e !== "", Nu = It(({ selectIcon: e, ...t }, r) =>
|
|
|
11035
11037
|
}
|
|
11036
11038
|
return () => clearTimeout(j);
|
|
11037
11039
|
}, [u]);
|
|
11038
|
-
const f = ge((
|
|
11040
|
+
const f = ge((g, T) => {
|
|
11039
11041
|
d((j) => {
|
|
11040
|
-
const
|
|
11041
|
-
return
|
|
11042
|
+
const O = [...j];
|
|
11043
|
+
return O[T] = g, O;
|
|
11042
11044
|
});
|
|
11043
11045
|
}, []);
|
|
11044
11046
|
let [p, h] = u;
|
|
11045
|
-
const
|
|
11047
|
+
const y = Lr(h) && !Lr(p), b = Lr(p) && !Lr(h);
|
|
11046
11048
|
return /* @__PURE__ */ l.jsxs(ut, { ref: r, w: "100%", wrap: "nowrap", align: "center", gap: "xs", ...a, children: [
|
|
11047
11049
|
/* @__PURE__ */ l.jsx(
|
|
11048
|
-
|
|
11050
|
+
Go,
|
|
11049
11051
|
{
|
|
11050
11052
|
styles: { wrapper: { marginBottom: 0 } },
|
|
11051
11053
|
...c,
|
|
11052
11054
|
value: p,
|
|
11053
|
-
onChange: (
|
|
11054
|
-
placeholder:
|
|
11055
|
-
error:
|
|
11055
|
+
onChange: (g) => f(g, 0),
|
|
11056
|
+
placeholder: y ? "Start value is required" : "Start value",
|
|
11057
|
+
error: y && " ",
|
|
11056
11058
|
...s
|
|
11057
11059
|
}
|
|
11058
11060
|
),
|
|
11059
11061
|
/* @__PURE__ */ l.jsx(
|
|
11060
|
-
|
|
11062
|
+
Go,
|
|
11061
11063
|
{
|
|
11062
11064
|
styles: { wrapper: { marginBottom: 0 } },
|
|
11063
11065
|
...c,
|
|
11064
11066
|
value: h,
|
|
11065
|
-
onChange: (
|
|
11067
|
+
onChange: (g) => f(g, 1),
|
|
11066
11068
|
placeholder: b ? "End value is required" : "End value",
|
|
11067
11069
|
error: b && " ",
|
|
11068
11070
|
...i
|
|
@@ -11075,9 +11077,9 @@ Nu.displayName = "BasicHeaderBetweenInput";
|
|
|
11075
11077
|
const zr = (e) => e, Fu = It(({ selectIcon: e, ...t }, r) => {
|
|
11076
11078
|
const { value: n, onChange: o, leftInputProps: s, rightInputProps: i, groupProps: a, ...c } = t, [u, d] = ne([null, null]);
|
|
11077
11079
|
ye(() => {
|
|
11078
|
-
const
|
|
11079
|
-
let
|
|
11080
|
-
switch (n && n !==
|
|
11080
|
+
const g = JSON.stringify(u);
|
|
11081
|
+
let T = "", j = null;
|
|
11082
|
+
switch (n && n !== g && (T = "sync"), u.every(zr) && g !== n ? T = "update" : T = "clear", T) {
|
|
11081
11083
|
case "sync":
|
|
11082
11084
|
d(JSON.parse(n));
|
|
11083
11085
|
break;
|
|
@@ -11092,15 +11094,15 @@ const zr = (e) => e, Fu = It(({ selectIcon: e, ...t }, r) => {
|
|
|
11092
11094
|
}
|
|
11093
11095
|
return () => clearTimeout(j);
|
|
11094
11096
|
}, [u]);
|
|
11095
|
-
const f = ge((
|
|
11096
|
-
|
|
11097
|
-
const
|
|
11098
|
-
return
|
|
11097
|
+
const f = ge((g, T) => {
|
|
11098
|
+
g && (g = g.toISOString()), d((j) => {
|
|
11099
|
+
const O = [...j];
|
|
11100
|
+
return O[T] = g, O;
|
|
11099
11101
|
});
|
|
11100
11102
|
}, []);
|
|
11101
11103
|
let [p, h] = u;
|
|
11102
11104
|
p = p ? new Date(p) : null, h = h ? new Date(h) : null;
|
|
11103
|
-
const
|
|
11105
|
+
const y = zr(h) && !zr(p), b = zr(p) && !zr(h);
|
|
11104
11106
|
return /* @__PURE__ */ l.jsxs(ut, { ref: r, w: "100%", wrap: "nowrap", align: "center", gap: "xs", ...a, children: [
|
|
11105
11107
|
/* @__PURE__ */ l.jsx(
|
|
11106
11108
|
hr,
|
|
@@ -11110,9 +11112,9 @@ const zr = (e) => e, Fu = It(({ selectIcon: e, ...t }, r) => {
|
|
|
11110
11112
|
styles: { wrapper: { marginBottom: 0 } },
|
|
11111
11113
|
...c,
|
|
11112
11114
|
value: p,
|
|
11113
|
-
onChange: (
|
|
11114
|
-
placeholder:
|
|
11115
|
-
error:
|
|
11115
|
+
onChange: (g) => f(g, 0),
|
|
11116
|
+
placeholder: y ? "Start date is required" : "Start date",
|
|
11117
|
+
error: y && " ",
|
|
11116
11118
|
...s
|
|
11117
11119
|
}
|
|
11118
11120
|
),
|
|
@@ -11124,7 +11126,7 @@ const zr = (e) => e, Fu = It(({ selectIcon: e, ...t }, r) => {
|
|
|
11124
11126
|
styles: { wrapper: { marginBottom: 0 } },
|
|
11125
11127
|
...c,
|
|
11126
11128
|
value: h,
|
|
11127
|
-
onChange: (
|
|
11129
|
+
onChange: (g) => f(g, 1),
|
|
11128
11130
|
placeholder: b ? "End date is required" : "End date",
|
|
11129
11131
|
error: b && " ",
|
|
11130
11132
|
...i
|
|
@@ -11134,16 +11136,16 @@ const zr = (e) => e, Fu = It(({ selectIcon: e, ...t }, r) => {
|
|
|
11134
11136
|
] });
|
|
11135
11137
|
});
|
|
11136
11138
|
Fu.displayName = "BasicHeaderDateBetweenInput";
|
|
11137
|
-
const Lu = It(({ selectIcon: e, ...t }, r) => /* @__PURE__ */ l.jsx(
|
|
11139
|
+
const Lu = It(({ selectIcon: e, ...t }, r) => /* @__PURE__ */ l.jsx(vs, { ref: r, rightSection: e, ...t }));
|
|
11138
11140
|
Lu.displayName = "BasicHeaderTextInput";
|
|
11139
11141
|
function SO({ component: e, ...t }) {
|
|
11140
11142
|
return /* @__PURE__ */ l.jsx(Mt, { fallback: /* @__PURE__ */ l.jsx(Lu, { ...t }), functionProps: [t], children: e });
|
|
11141
11143
|
}
|
|
11142
|
-
const
|
|
11144
|
+
const Vo = {
|
|
11143
11145
|
[dc]: (e) => /* @__PURE__ */ l.jsx(Nu, { ...e }),
|
|
11144
11146
|
[pc]: (e) => /* @__PURE__ */ l.jsx(Fu, { ...e })
|
|
11145
|
-
},
|
|
11146
|
-
|
|
11147
|
+
}, ys = It(({ label: e, disabled: t, children: r }, n) => t ? Gr(r, { ref: n }) : /* @__PURE__ */ l.jsx(Re, { label: e, children: Gr(r, { ref: n }) }));
|
|
11148
|
+
ys.displayName = "FilterIconWrapper";
|
|
11147
11149
|
const zu = It(({ indicator: e, children: t }, r) => e ? /* @__PURE__ */ l.jsx(Bn, { zIndex: 20, size: 16, label: e, children: Gr(t, { ref: r }) }) : Gr(t, { ref: r }));
|
|
11148
11150
|
zu.displayName = "FilterIndicatorWrapper";
|
|
11149
11151
|
const wO = (e, t) => {
|
|
@@ -11163,7 +11165,7 @@ const wO = (e, t) => {
|
|
|
11163
11165
|
}
|
|
11164
11166
|
};
|
|
11165
11167
|
function EO({ headerConfig: e, column: t, table: r }) {
|
|
11166
|
-
var ce, z,
|
|
11168
|
+
var ce, z, K, ee;
|
|
11167
11169
|
const { info: n, data: o, queryParams: s, setQueryParams: i } = me(), {
|
|
11168
11170
|
filterComponent: a,
|
|
11169
11171
|
filterProps: c,
|
|
@@ -11171,7 +11173,7 @@ function EO({ headerConfig: e, column: t, table: r }) {
|
|
|
11171
11173
|
filterAdvancedFilters: d,
|
|
11172
11174
|
defaultOpr: f = wO(n, t.id),
|
|
11173
11175
|
configurationMode: p = "basic"
|
|
11174
|
-
} = e, [h,
|
|
11176
|
+
} = e, [h, y] = ne("Basic filters"), [b, { close: g, toggle: T }] = nf(), j = ((ce = r.getState().filterComponent) == null ? void 0 : ce[t.id]) || f, O = re(() => j, [j]), E = mf({ initialValue: "" }), _ = ge(
|
|
11175
11177
|
(w) => {
|
|
11176
11178
|
r.setState(($) => {
|
|
11177
11179
|
const H = $.columnTextFilter || {};
|
|
@@ -11179,66 +11181,66 @@ function EO({ headerConfig: e, column: t, table: r }) {
|
|
|
11179
11181
|
});
|
|
11180
11182
|
},
|
|
11181
11183
|
[t.id, r]
|
|
11182
|
-
),
|
|
11184
|
+
), A = re(() => (n == null ? void 0 : n.filters[t.id]) || {}, [t.id, n == null ? void 0 : n.filters]), R = re(
|
|
11183
11185
|
() => {
|
|
11184
11186
|
var w;
|
|
11185
|
-
return ((w =
|
|
11187
|
+
return ((w = A == null ? void 0 : A.filters) == null ? void 0 : w.reduce(($, H) => ({ ...$, [H.operator]: H.name }), {})) || {};
|
|
11186
11188
|
},
|
|
11187
|
-
[
|
|
11188
|
-
),
|
|
11189
|
+
[A == null ? void 0 : A.filters]
|
|
11190
|
+
), U = re(
|
|
11189
11191
|
() => (s == null ? void 0 : s.filters.filter((w) => w.col === t.id && mr(w.opr)).map((w) => ({ ...w }))) || [],
|
|
11190
11192
|
[s, t.id]
|
|
11191
|
-
), [
|
|
11193
|
+
), [J] = bs(E.getInputProps().value, nn);
|
|
11192
11194
|
pr(() => {
|
|
11193
11195
|
E.reset();
|
|
11194
|
-
}, [
|
|
11196
|
+
}, [O]), pr(() => {
|
|
11195
11197
|
let w = !1;
|
|
11196
11198
|
const $ = s == null ? void 0 : s.filters.map((W) => {
|
|
11197
11199
|
if (W.opr.startsWith(vr) && W.col === t.id) {
|
|
11198
|
-
if (W.opr ===
|
|
11200
|
+
if (W.opr === O)
|
|
11199
11201
|
w = !0;
|
|
11200
11202
|
else
|
|
11201
11203
|
return null;
|
|
11202
|
-
return
|
|
11204
|
+
return J ? { ...W, value: J } : null;
|
|
11203
11205
|
}
|
|
11204
11206
|
return W;
|
|
11205
11207
|
}).filter(Boolean);
|
|
11206
|
-
!w &&
|
|
11208
|
+
!w && J && $.push({ col: t.id, opr: O, value: J });
|
|
11207
11209
|
const H = JSON.stringify($), N = JSON.stringify(s.filters);
|
|
11208
|
-
H !== N && (_(
|
|
11209
|
-
}, [
|
|
11210
|
+
H !== N && (_(J), i({ filters: $ }));
|
|
11211
|
+
}, [J]);
|
|
11210
11212
|
const m = re(() => {
|
|
11211
11213
|
var H;
|
|
11212
11214
|
const w = { variant: "transparent" };
|
|
11213
|
-
return !((H =
|
|
11214
|
-
}, [
|
|
11215
|
+
return !((H = A == null ? void 0 : A.filters) != null && H.length) && (w.disabled = !0, w.c = "gray"), w;
|
|
11216
|
+
}, [A == null ? void 0 : A.filters]), C = ge(
|
|
11215
11217
|
(w) => {
|
|
11216
11218
|
if (h === w)
|
|
11217
|
-
return
|
|
11218
|
-
|
|
11219
|
+
return T();
|
|
11220
|
+
y(w), b || T();
|
|
11219
11221
|
},
|
|
11220
|
-
[h, b,
|
|
11222
|
+
[h, b, T]
|
|
11221
11223
|
);
|
|
11222
11224
|
let D = null;
|
|
11223
|
-
h === "Basic filters" ? D = /* @__PURE__ */ l.jsx(TO, { filterNameMap: R, col: t.id, opr:
|
|
11225
|
+
h === "Basic filters" ? D = /* @__PURE__ */ l.jsx(TO, { filterNameMap: R, col: t.id, opr: O, table: r }) : h === "Advanced filters" && (D = /* @__PURE__ */ l.jsx(_O, { col: t.id, colFilter: A, filterNameMap: R }));
|
|
11224
11226
|
const q = re(() => h === "Basic filters" ? { arrowOffset: "3.25rem" } : h === "Advanced filters" ? {
|
|
11225
11227
|
width: "target"
|
|
11226
11228
|
} : {}, [h]), Q = re(
|
|
11227
11229
|
() => vO(
|
|
11228
|
-
p === "basic" ? a : a == null ? void 0 : a[
|
|
11229
|
-
|
|
11230
|
+
p === "basic" ? a : a == null ? void 0 : a[O],
|
|
11231
|
+
Vo == null ? void 0 : Vo[O]
|
|
11230
11232
|
),
|
|
11231
|
-
[p, a,
|
|
11233
|
+
[p, a, O]
|
|
11232
11234
|
), ae = re(
|
|
11233
|
-
() => p === "basic" ? c : Hr(c,
|
|
11234
|
-
[p, c,
|
|
11235
|
+
() => p === "basic" ? c : Hr(c, O),
|
|
11236
|
+
[p, c, O]
|
|
11235
11237
|
);
|
|
11236
11238
|
return /* @__PURE__ */ l.jsxs(
|
|
11237
11239
|
fr,
|
|
11238
11240
|
{
|
|
11239
11241
|
opened: b,
|
|
11240
11242
|
closeOnClickOutside: !0,
|
|
11241
|
-
onChange:
|
|
11243
|
+
onChange: T,
|
|
11242
11244
|
shadow: "md",
|
|
11243
11245
|
withArrow: !0,
|
|
11244
11246
|
position: "bottom-end",
|
|
@@ -11250,9 +11252,8 @@ function EO({ headerConfig: e, column: t, table: r }) {
|
|
|
11250
11252
|
SO,
|
|
11251
11253
|
{
|
|
11252
11254
|
component: Q,
|
|
11253
|
-
|
|
11254
|
-
|
|
11255
|
-
disabled: !R[C],
|
|
11255
|
+
selectIcon: /* @__PURE__ */ l.jsx(ys, { label: "Select basic filter", children: /* @__PURE__ */ l.jsx(ze, { ...m, onClick: () => C("Basic filters"), children: /* @__PURE__ */ l.jsx(es, {}) }) }),
|
|
11256
|
+
disabled: !R[O],
|
|
11256
11257
|
placeholder: `Filter by ${((z = o == null ? void 0 : o.label_columns) == null ? void 0 : z[t.id]) || t.id}`,
|
|
11257
11258
|
style: { fontWeight: "normal" },
|
|
11258
11259
|
w: "100%",
|
|
@@ -11263,14 +11264,14 @@ function EO({ headerConfig: e, column: t, table: r }) {
|
|
|
11263
11264
|
/* @__PURE__ */ l.jsx(
|
|
11264
11265
|
Mt,
|
|
11265
11266
|
{
|
|
11266
|
-
fallback: /* @__PURE__ */ l.jsx(
|
|
11267
|
+
fallback: /* @__PURE__ */ l.jsx(ys, { label: "Advanced Filter", disabled: !((K = A == null ? void 0 : A.filters) != null && K.length), children: /* @__PURE__ */ l.jsx(zu, { indicator: U.length, children: /* @__PURE__ */ l.jsx(ze, { ...m, onClick: () => C("Advanced filters"), children: /* @__PURE__ */ l.jsx(lp, {}) }) }) }),
|
|
11267
11268
|
functionProps: [
|
|
11268
11269
|
{
|
|
11269
11270
|
label: "Advanced filters",
|
|
11270
|
-
disabled: !((ee =
|
|
11271
|
-
indicator:
|
|
11271
|
+
disabled: !((ee = A == null ? void 0 : A.filters) != null && ee.length),
|
|
11272
|
+
indicator: U.length,
|
|
11272
11273
|
aiProps: m,
|
|
11273
|
-
onClick: () =>
|
|
11274
|
+
onClick: () => C("Advanced filters")
|
|
11274
11275
|
}
|
|
11275
11276
|
],
|
|
11276
11277
|
children: d
|
|
@@ -11282,9 +11283,9 @@ function EO({ headerConfig: e, column: t, table: r }) {
|
|
|
11282
11283
|
{
|
|
11283
11284
|
fallback: /* @__PURE__ */ l.jsxs(df.Description, { size: "xs", fw: "normal", children: [
|
|
11284
11285
|
"Filter Mode: ",
|
|
11285
|
-
R == null ? void 0 : R[
|
|
11286
|
+
R == null ? void 0 : R[O]
|
|
11286
11287
|
] }),
|
|
11287
|
-
functionProps: [R == null ? void 0 : R[
|
|
11288
|
+
functionProps: [R == null ? void 0 : R[O]],
|
|
11288
11289
|
children: u
|
|
11289
11290
|
}
|
|
11290
11291
|
)
|
|
@@ -11293,7 +11294,7 @@ function EO({ headerConfig: e, column: t, table: r }) {
|
|
|
11293
11294
|
/* @__PURE__ */ l.jsxs(ut, { pt: "0.25rem", justify: "space-between", align: "center", wrap: "nowrap", children: [
|
|
11294
11295
|
/* @__PURE__ */ l.jsx(On, { style: { visibility: "hidden" } }),
|
|
11295
11296
|
/* @__PURE__ */ l.jsx(ke, { children: h }),
|
|
11296
|
-
/* @__PURE__ */ l.jsx(Re, { label: "Close", children: /* @__PURE__ */ l.jsx(On, { onClick:
|
|
11297
|
+
/* @__PURE__ */ l.jsx(Re, { label: "Close", children: /* @__PURE__ */ l.jsx(On, { onClick: g }) })
|
|
11297
11298
|
] }),
|
|
11298
11299
|
/* @__PURE__ */ l.jsx(Yr, {}),
|
|
11299
11300
|
D
|
|
@@ -11323,24 +11324,24 @@ function AO(e, t, r, n) {
|
|
|
11323
11324
|
enableSorting: (o == null ? void 0 : o.order_columns.includes(a)) || (o == null ? void 0 : o.order_columns.includes(`${a}.id`)),
|
|
11324
11325
|
Cell: ({ cell: d, table: f }) => {
|
|
11325
11326
|
var E;
|
|
11326
|
-
const p = f.getState().globalFilter, h = (E = f.getState().columnTextFilter) == null ? void 0 : E[a], { component:
|
|
11327
|
-
let
|
|
11328
|
-
p &&
|
|
11327
|
+
const p = f.getState().globalFilter, h = (E = f.getState().columnTextFilter) == null ? void 0 : E[a], { component: y, separator: b, truncate: g } = Hr(r, s.all, a);
|
|
11328
|
+
let T = [];
|
|
11329
|
+
p && T.push(...p.split(n).map((_) => _.trim())), h && typeof h == "string" && T.push(...h.split(n).map((_) => _.trim()));
|
|
11329
11330
|
let j = Jl(d.getValue());
|
|
11330
11331
|
typeof j == "number" ? j = j.toLocaleString() : j == null && (j = ""), b && (j = j.split(b));
|
|
11331
|
-
let
|
|
11332
|
-
return
|
|
11332
|
+
let O = {};
|
|
11333
|
+
return g && (Array.isArray(j) ? O = j.map((_) => ({
|
|
11333
11334
|
original: _,
|
|
11334
|
-
truncated: _.length >
|
|
11335
|
-
})) :
|
|
11335
|
+
truncated: _.length > g ? `${_.slice(0, g)}...` : null
|
|
11336
|
+
})) : O = {
|
|
11336
11337
|
original: j,
|
|
11337
|
-
truncated: j.length >
|
|
11338
|
+
truncated: j.length > g ? `${j.slice(0, g)}...` : null
|
|
11338
11339
|
}), /* @__PURE__ */ l.jsx(
|
|
11339
11340
|
Mt,
|
|
11340
11341
|
{
|
|
11341
|
-
fallback: /* @__PURE__ */ l.jsx(CO, { highlight:
|
|
11342
|
-
functionProps: [d.row.original,
|
|
11343
|
-
children:
|
|
11342
|
+
fallback: /* @__PURE__ */ l.jsx(CO, { highlight: T, truncate: O, children: j }),
|
|
11343
|
+
functionProps: [d.row.original, T],
|
|
11344
|
+
children: y
|
|
11344
11345
|
}
|
|
11345
11346
|
);
|
|
11346
11347
|
},
|
|
@@ -11380,7 +11381,7 @@ function $O(e) {
|
|
|
11380
11381
|
} : null;
|
|
11381
11382
|
}
|
|
11382
11383
|
function jO() {
|
|
11383
|
-
const { queryParams: e, setQueryParams: t, info: r } = me(), [n, o] = ne(""), [s] =
|
|
11384
|
+
const { queryParams: e, setQueryParams: t, info: r } = me(), [n, o] = ne(""), [s] = bs(n, nn), i = re(
|
|
11384
11385
|
() => {
|
|
11385
11386
|
var u, d;
|
|
11386
11387
|
return ((d = (u = e == null ? void 0 : e.filters) == null ? void 0 : u.find((f) => f.opr === Br)) == null ? void 0 : d.value) || "";
|
|
@@ -11399,7 +11400,7 @@ function jO() {
|
|
|
11399
11400
|
i !== (s || "") && o(i);
|
|
11400
11401
|
}, [i]), pr(() => {
|
|
11401
11402
|
var h;
|
|
11402
|
-
const u = ((h = e == null ? void 0 : e.filters) == null ? void 0 : h.filter((
|
|
11403
|
+
const u = ((h = e == null ? void 0 : e.filters) == null ? void 0 : h.filter((y) => y.opr !== Br)) || [], d = { col: a, opr: Br, value: s };
|
|
11403
11404
|
s && u.push(d);
|
|
11404
11405
|
const f = JSON.stringify(u), p = JSON.stringify((e == null ? void 0 : e.filters) || []);
|
|
11405
11406
|
f !== p && t({ page: 0, filters: u });
|
|
@@ -11573,8 +11574,8 @@ function NO(e, t, r, n, o, s) {
|
|
|
11573
11574
|
}
|
|
11574
11575
|
), [a == null ? void 0 : a.filters, u, c]), f = re(() => {
|
|
11575
11576
|
const h = {};
|
|
11576
|
-
return Object.entries(t || {}).forEach(([
|
|
11577
|
-
h[
|
|
11577
|
+
return Object.entries(t || {}).forEach(([y, b]) => {
|
|
11578
|
+
h[y] = b, typeof h[y] == "function" && (h[y] = h[y]());
|
|
11578
11579
|
}), h;
|
|
11579
11580
|
}, [t]);
|
|
11580
11581
|
return {
|
|
@@ -11615,34 +11616,34 @@ const LO = { enableStickyHeader: !0, enableColumnPinning: !0 }, zO = It((e, t) =
|
|
|
11615
11616
|
hideAdd: f,
|
|
11616
11617
|
hideDownload: p,
|
|
11617
11618
|
hideActions: h,
|
|
11618
|
-
hidePagination:
|
|
11619
|
+
hidePagination: y,
|
|
11619
11620
|
hideError: b,
|
|
11620
|
-
onSelectCheckbox:
|
|
11621
|
-
onClickEntry:
|
|
11621
|
+
onSelectCheckbox: g,
|
|
11622
|
+
onClickEntry: T,
|
|
11622
11623
|
bulkActions: j,
|
|
11623
11624
|
// NextGenDataGrid props
|
|
11624
|
-
table:
|
|
11625
|
+
table: O,
|
|
11625
11626
|
quickFilters: E,
|
|
11626
11627
|
withBorder: _,
|
|
11627
|
-
columnProps:
|
|
11628
|
+
columnProps: A,
|
|
11628
11629
|
header: R,
|
|
11629
|
-
body:
|
|
11630
|
-
textFilterSeparator:
|
|
11630
|
+
body: U,
|
|
11631
|
+
textFilterSeparator: J = ";",
|
|
11631
11632
|
bodySeparator: m,
|
|
11632
|
-
bodyTruncate:
|
|
11633
|
+
bodyTruncate: C,
|
|
11633
11634
|
...D
|
|
11634
11635
|
} = e;
|
|
11635
|
-
m && (console.warn("bodySeparator is deprecated, please use body.[col].separator instead"), Object.keys(
|
|
11636
|
-
|
|
11637
|
-
})),
|
|
11638
|
-
|
|
11636
|
+
m && (console.warn("bodySeparator is deprecated, please use body.[col].separator instead"), Object.keys(U).forEach((I) => {
|
|
11637
|
+
U[I] = U[I] || {}, U[I].separator = U[I].separator || m;
|
|
11638
|
+
})), C && (console.warn("bodyTruncate is deprecated, please use body.[col].truncate instead"), Object.keys(U).forEach((I) => {
|
|
11639
|
+
U[I] = U[I] || {}, U[I].truncate = U[I].truncate || C;
|
|
11639
11640
|
})), i && (console.warn("headerCustomizer is deprecated, please use header.[col].component instead"), Object.keys(i).forEach((I) => {
|
|
11640
11641
|
R[I] = R[I] || {}, R[I].component = i[I].component || i[I];
|
|
11641
11642
|
})), a && (console.warn("bodyCustomizer is deprecated, please use body.[col].component instead"), Object.keys(a).forEach((I) => {
|
|
11642
|
-
|
|
11643
|
+
U[I] = U[I] || {}, U[I].component = a[I].component || a[I];
|
|
11643
11644
|
}));
|
|
11644
|
-
const q = OO(), Q = IO(), ae = kO(
|
|
11645
|
-
() =>
|
|
11645
|
+
const q = OO(), Q = IO(), ae = kO(y), ce = AO(A, R, U, J), z = PO(_), K = gO(h, (Y = Hr(U, o.actions)) == null ? void 0 : Y.component), ee = jO(), w = FO(), $ = NO(E, c, u, d, f, p), H = $O(T), N = yO(g, j), W = re(
|
|
11646
|
+
() => ni(
|
|
11646
11647
|
LO,
|
|
11647
11648
|
{ mantinePaperProps: { ref: t } },
|
|
11648
11649
|
ce,
|
|
@@ -11650,13 +11651,13 @@ const LO = { enableStickyHeader: !0, enableColumnPinning: !0 }, zO = It((e, t) =
|
|
|
11650
11651
|
Q,
|
|
11651
11652
|
ae,
|
|
11652
11653
|
z,
|
|
11653
|
-
|
|
11654
|
+
K,
|
|
11654
11655
|
ee,
|
|
11655
11656
|
w,
|
|
11656
11657
|
$,
|
|
11657
11658
|
H,
|
|
11658
11659
|
N,
|
|
11659
|
-
|
|
11660
|
+
O
|
|
11660
11661
|
),
|
|
11661
11662
|
[
|
|
11662
11663
|
t,
|
|
@@ -11665,27 +11666,27 @@ const LO = { enableStickyHeader: !0, enableColumnPinning: !0 }, zO = It((e, t) =
|
|
|
11665
11666
|
Q,
|
|
11666
11667
|
ae,
|
|
11667
11668
|
z,
|
|
11668
|
-
|
|
11669
|
+
K,
|
|
11669
11670
|
ee,
|
|
11670
11671
|
w,
|
|
11671
11672
|
$,
|
|
11672
11673
|
H,
|
|
11673
11674
|
N,
|
|
11674
|
-
|
|
11675
|
+
O
|
|
11675
11676
|
]
|
|
11676
11677
|
), F = zf(W);
|
|
11677
11678
|
return ye(() => {
|
|
11678
11679
|
!r && s && n({});
|
|
11679
11680
|
}, [r]), ye(() => {
|
|
11680
11681
|
const I = Object.keys(F.getState().rowSelection), X = r == null ? void 0 : r.ids.filter((oe, te) => I.includes(te.toString()));
|
|
11681
|
-
|
|
11682
|
-
}, [j, r == null ? void 0 : r.ids, F.getState().rowSelection,
|
|
11682
|
+
g == null || g(X), j == null || j.setSelectedIds(X);
|
|
11683
|
+
}, [j, r == null ? void 0 : r.ids, F.getState().rowSelection, g]), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
11683
11684
|
/* @__PURE__ */ l.jsx(Bf, { table: F, ...D }),
|
|
11684
11685
|
b ? null : /* @__PURE__ */ l.jsx(ec, {})
|
|
11685
11686
|
] });
|
|
11686
11687
|
});
|
|
11687
11688
|
zO.displayName = "NextGenDataGrid";
|
|
11688
|
-
const BO = "_iconSmall_sxv3z_1", UO = "_iconLarge_sxv3z_6", VO = "_btn_sxv3z_17",
|
|
11689
|
+
const BO = "_iconSmall_sxv3z_1", UO = "_iconLarge_sxv3z_6", VO = "_btn_sxv3z_17", Wo = {
|
|
11689
11690
|
iconSmall: BO,
|
|
11690
11691
|
iconLarge: UO,
|
|
11691
11692
|
btn: VO
|
|
@@ -11709,18 +11710,18 @@ function a2({ basePath: e = "/security", Target: t, children: r }) {
|
|
|
11709
11710
|
onClose: () => a(!1),
|
|
11710
11711
|
onOpen: () => a(!0),
|
|
11711
11712
|
children: [
|
|
11712
|
-
/* @__PURE__ */ l.jsx(ht.Target, { children: t || /* @__PURE__ */ l.jsx(hf, { className:
|
|
11713
|
+
/* @__PURE__ */ l.jsx(ht.Target, { children: t || /* @__PURE__ */ l.jsx(hf, { className: Wo.btn, style: { borderRadius: 4 }, p: "xs", children: /* @__PURE__ */ l.jsxs(ut, { style: { flexWrap: "nowrap" }, spacing: 7, children: [
|
|
11713
11714
|
/* @__PURE__ */ l.jsx(ke, { weight: 500, size: "sm", style: { lineHeight: 1, whiteSpace: "nowrap" }, mr: 3, children: `${o.first_name} ${o.last_name}` }),
|
|
11714
|
-
/* @__PURE__ */ l.jsx(
|
|
11715
|
+
/* @__PURE__ */ l.jsx(Qo, { size: 12 })
|
|
11715
11716
|
] }) }) }),
|
|
11716
11717
|
/* @__PURE__ */ l.jsxs(ht.Dropdown, { children: [
|
|
11717
11718
|
u.length ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
11718
11719
|
/* @__PURE__ */ l.jsx(ht.Label, { children: "Security" }),
|
|
11719
|
-
u.map((d, f) => /* @__PURE__ */ l.jsx(ht.Item, { p: 12, leftSection: /* @__PURE__ */ l.jsx(d.Icon, { className:
|
|
11720
|
+
u.map((d, f) => /* @__PURE__ */ l.jsx(ht.Item, { p: 12, leftSection: /* @__PURE__ */ l.jsx(d.Icon, { className: Wo.iconSmall }), onClick: () => n(d.resource_name), children: d.label }, f)),
|
|
11720
11721
|
/* @__PURE__ */ l.jsx(ht.Divider, {})
|
|
11721
11722
|
] }) : null,
|
|
11722
11723
|
r,
|
|
11723
|
-
/* @__PURE__ */ l.jsx(ht.Item, { leftSection: /* @__PURE__ */ l.jsx(up, { p: 12, className:
|
|
11724
|
+
/* @__PURE__ */ l.jsx(ht.Item, { leftSection: /* @__PURE__ */ l.jsx(up, { p: 12, className: Wo.iconSmall }), onClick: s, children: "Logout" })
|
|
11724
11725
|
] })
|
|
11725
11726
|
]
|
|
11726
11727
|
}
|
|
@@ -11789,7 +11790,7 @@ export {
|
|
|
11789
11790
|
Jd as useAuth,
|
|
11790
11791
|
Hf as useAuthenticate,
|
|
11791
11792
|
r2 as useBulkActions,
|
|
11792
|
-
|
|
11793
|
+
Ts as useCustomFetch,
|
|
11793
11794
|
U0 as useDebouncedChange,
|
|
11794
11795
|
Gf as useGetList,
|
|
11795
11796
|
Xd as useInfo,
|