@applica-software-guru/react-admin 1.3.147 → 1.3.149
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/components/ActionsMenu.d.ts.map +1 -1
- package/dist/components/ra-fields/ActionsField.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/Tab.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +2 -2
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +172 -170
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +2 -2
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ActionsMenu.tsx +3 -1
- package/src/components/ra-fields/ActionsField.jsx +0 -1
- package/src/components/ra-forms/LongForm/Tab.tsx +4 -1
package/dist/react-admin.es.js
CHANGED
|
@@ -14,7 +14,7 @@ import { useResourceDefinitions as QO, useGetIdentity as gB, usePermissions as x
|
|
|
14
14
|
import { ArrayInputContext as k$, BooleanField as F$, BulkDeleteWithConfirmButton as L$, Button as N$, ChipField as j$, Confirm as V$, CreateButton as H$, CreateContextProvider as W$, CustomRoutes as z$, DeleteWithConfirmButton as Y$, DeleteWithUndoButton as U$, EditButton as G$, EditContextProvider as K$, FieldTitle as q$, Form as J$, FormDataConsumer as X$, HttpError as Z$, I18nContextProvider as _$, ListToolbar as $$, LoadingIndicator as eee, Pagination as tee, SimpleFormIterator as nee, RecordContextProvider as ree, ReferenceArrayField as oee, ReferenceField as iee, Resource as aee, ResourceContextProvider as see, SaveButton as lee, SimpleFormIteratorContext as cee, SimpleList as uee, SimpleShowLayout as Aee, SingleFieldList as dee, TopToolbar as gee, UrlField as fee, choices as pee, email as hee, maxLength as Cee, maxValue as mee, minLength as Eee, minValue as Iee, number as Bee, regex as vee, required as yee, useArrayInput as bee, useAuthProvider as Qee, useChoices as xee, useChoicesContext as wee, useCreateController as Tee, useDataProvider as Pee, useEditContext as See, useGetIdentity as Ree, useGetList as Oee, useGetMany as Mee, useGetManyReference as Dee, useGetOne as kee, useInput as Fee, useListContext as Lee, useLocaleState as Nee, useNotify as jee, usePermissions as Vee, useRecordContext as Hee, useRefresh as Wee, useResourceContext as zee, useResourceDefinition as Yee, useResourceDefinitions as Uee, useShowContext as Gee, useShowController as Kee, useSimpleFormIterator as qee, useSimpleFormIteratorItem as Jee, useTranslate as Xee, useTranslateLabel as Zee, useUnselect as _ee, useUnselectAll as $ee, useUpdateMany as ete } from "react-admin";
|
|
15
15
|
import { Popover as Lf, styled as MB, IconButton as DB, MenuItem as s3, Card as kB, CardHeader as Rg, Typography as Ee, Divider as fa, CardContent as FB, Grid as ye, Box as De, Tooltip as Mu, tooltipClasses as Cc, Grow as l3, Collapse as Nf, Fade as LB, Slide as c3, Zoom as NB, CircularProgress as bi, circularProgressClasses as u3, LinearProgress as jB, Stack as Wt, InputLabel as jf, FormHelperText as VB, TextField as HB, Alert as A3, AlertTitle as d3, List as Vo, ListItem as Jc, ListItemButton as Tr, ListItemIcon as yr, ListItemText as ur, Badge as WB, ListItemAvatar as zB, TableCell as bs, TableContainer as g3, Paper as Qi, Table as YB, TableHead as f3, TableRow as Wd, TableBody as p3, useTheme as zr, useMediaQuery as Qs, Dialog as Du, Toolbar as Vf, AppBar as Hf, Avatar as Og, Popper as tl, ClickAwayListener as Ea, ButtonBase as UB, alpha as nE, Container as ku, Button as Ra, Drawer as h3, useScrollTrigger as C3, Chip as rE, Fab as GB, darken as m3, lighten as E3, Link as I3, StyledEngineProvider as B3, CssBaseline as v3 } from "@mui/material";
|
|
16
16
|
import * as O from "react";
|
|
17
|
-
import Le, { useState as Xe, useCallback as ke, Children as Hn, createContext as En, useContext as jt, useMemo as tt, useEffect as
|
|
17
|
+
import Le, { useState as Xe, useCallback as ke, Children as Hn, createContext as En, useContext as jt, useMemo as tt, useEffect as We, useLayoutEffect as y3, useRef as Yn, useInsertionEffect as b3, forwardRef as po, createElement as KB, useId as Q3, isValidElement as sr, cloneElement as zn, Fragment as ho, useReducer as qB, Suspense as JB } from "react";
|
|
18
18
|
import x3 from "@emotion/styled";
|
|
19
19
|
import { ThemeContext as XB, keyframes as zo, css as nl, useTheme as Wf } from "@emotion/react";
|
|
20
20
|
import { MoreHoriz as w3, MoreVert as T3, ExpandLess as P3, ExpandMore as S3, Key as R3, LogoutOutlined as ZB, Add as oE, Edit as O3, VpnKey as M3, Inbox as D3, Email as k3, Drafts as F3 } from "@mui/icons-material";
|
|
@@ -2473,7 +2473,7 @@ function PE(e, t) {
|
|
|
2473
2473
|
const n = Vg(e), r = Vg(t);
|
|
2474
2474
|
return (Math.max(n, r) + 0.05) / (Math.min(n, r) + 0.05);
|
|
2475
2475
|
}
|
|
2476
|
-
function
|
|
2476
|
+
function Ue(e, t) {
|
|
2477
2477
|
return e = wi(e), t = op(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Ju(e);
|
|
2478
2478
|
}
|
|
2479
2479
|
function ip(e, t) {
|
|
@@ -3181,7 +3181,7 @@ const I8 = (e) => {
|
|
|
3181
3181
|
let t;
|
|
3182
3182
|
return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, (t / 100).toFixed(2);
|
|
3183
3183
|
}, NE = I8, B8 = le("span")(({ arrow: e, theme: t }) => {
|
|
3184
|
-
const o = `solid 1px ${
|
|
3184
|
+
const o = `solid 1px ${Ue(t.palette.grey[500], 0.12)}`, a = {
|
|
3185
3185
|
borderRadius: "0 0 3px 0",
|
|
3186
3186
|
top: -6,
|
|
3187
3187
|
borderBottom: o,
|
|
@@ -3419,8 +3419,8 @@ const y8 = MB("div", {
|
|
|
3419
3419
|
})), La = ({ horizontal: e = !1, children: t }) => {
|
|
3420
3420
|
const [n, r] = Xe(null), o = (l) => {
|
|
3421
3421
|
l.stopPropagation(), l.preventDefault(), r(l.currentTarget);
|
|
3422
|
-
}, a = ke(() => {
|
|
3423
|
-
r(null);
|
|
3422
|
+
}, a = ke((l) => {
|
|
3423
|
+
l.stopPropagation(), l.preventDefault(), r(null);
|
|
3424
3424
|
}, []);
|
|
3425
3425
|
return !t || Le.Children.count(t) === 0 || // @ts-ignore
|
|
3426
3426
|
t != null && t.filter && (t == null ? void 0 : t.filter((l) => Le.isValidElement(l)).length) === 0 ? null : /* @__PURE__ */ $(y8, { children: [
|
|
@@ -3474,7 +3474,7 @@ const x8 = ["className", "component", "elevation", "square", "variant"], w8 = (e
|
|
|
3474
3474
|
}, t.variant === "elevation" && j({
|
|
3475
3475
|
boxShadow: (e.vars || e).shadows[t.elevation]
|
|
3476
3476
|
}, !e.vars && e.palette.mode === "dark" && {
|
|
3477
|
-
backgroundImage: `linear-gradient(${
|
|
3477
|
+
backgroundImage: `linear-gradient(${Ue("#fff", NE(t.elevation))}, ${Ue("#fff", NE(t.elevation))})`
|
|
3478
3478
|
}, e.vars && {
|
|
3479
3479
|
backgroundImage: (n = e.vars.overlays) == null ? void 0 : n[t.elevation]
|
|
3480
3480
|
}));
|
|
@@ -3772,7 +3772,7 @@ ru.exports;
|
|
|
3772
3772
|
["partial", w],
|
|
3773
3773
|
["partialRight", k],
|
|
3774
3774
|
["rearg", U]
|
|
3775
|
-
], ue = "[object Arguments]", de = "[object Array]", me = "[object AsyncFunction]", pe = "[object Boolean]", ge = "[object Date]", Ce = "[object DOMException]", be = "[object Error]", ie = "[object Function]", He = "[object GeneratorFunction]", _ = "[object Map]", rt = "[object Number]", xt = "[object Null]", Ct = "[object Object]", Rt = "[object Promise]", Rr = "[object Proxy]", wt = "[object RegExp]", yt = "[object Set]", mt = "[object String]", Ut = "[object Symbol]", Gt = "[object Undefined]", Pe = "[object WeakMap]", Ne = "[object WeakSet]", xe = "[object ArrayBuffer]", Ge = "[object DataView]", we = "[object Float32Array]", Et = "[object Float64Array]", Ke = "[object Int8Array]", Qe = "[object Int16Array]", Kt = "[object Int32Array]", Or = "[object Uint8Array]", pr = "[object Uint8ClampedArray]", Xo = "[object Uint16Array]", Di = "[object Uint32Array]", Bl = /\b__p \+= '';/g, IA = /\b(__p \+=) '' \+/g, BA = /(__e\(.*?\)|\b__t\)) \+\n'';/g, vl = /&(?:amp|lt|gt|quot|#39);/g, Ga = /[&<>"']/g, yl = RegExp(vl.source), bl = RegExp(Ga.source), Ql = /<%-([\s\S]+?)%>/g, xl = /<%([\s\S]+?)%>/g, Ka = /<%=([\s\S]+?)%>/g, vA = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, yA = /^\w*$/, bA = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Zo = /[\\^$.*+?()[\]{}|]/g, QA = RegExp(Zo.source), Gr = /^\s+/, qa = /\s/, In = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, _o = /\{\n\/\* \[wrapped with (.+)\] \*/, xA = /,? & /, $o = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Ja = /[()=,{}\[\]\/\s]/, wl = /\\(\\)?/g, Tl = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Xa = /\w*$/, Pl = /^[-+]0x[0-9a-f]+$/i, wA = /^0b[01]+$/i, TA = /^\[object .+?Constructor\]$/, PA = /^0o[0-7]+$/i, SA = /^(?:0|[1-9]\d*)$/,
|
|
3775
|
+
], ue = "[object Arguments]", de = "[object Array]", me = "[object AsyncFunction]", pe = "[object Boolean]", ge = "[object Date]", Ce = "[object DOMException]", be = "[object Error]", ie = "[object Function]", He = "[object GeneratorFunction]", _ = "[object Map]", rt = "[object Number]", xt = "[object Null]", Ct = "[object Object]", Rt = "[object Promise]", Rr = "[object Proxy]", wt = "[object RegExp]", yt = "[object Set]", mt = "[object String]", Ut = "[object Symbol]", Gt = "[object Undefined]", Pe = "[object WeakMap]", Ne = "[object WeakSet]", xe = "[object ArrayBuffer]", Ge = "[object DataView]", we = "[object Float32Array]", Et = "[object Float64Array]", Ke = "[object Int8Array]", Qe = "[object Int16Array]", Kt = "[object Int32Array]", Or = "[object Uint8Array]", pr = "[object Uint8ClampedArray]", Xo = "[object Uint16Array]", Di = "[object Uint32Array]", Bl = /\b__p \+= '';/g, IA = /\b(__p \+=) '' \+/g, BA = /(__e\(.*?\)|\b__t\)) \+\n'';/g, vl = /&(?:amp|lt|gt|quot|#39);/g, Ga = /[&<>"']/g, yl = RegExp(vl.source), bl = RegExp(Ga.source), Ql = /<%-([\s\S]+?)%>/g, xl = /<%([\s\S]+?)%>/g, Ka = /<%=([\s\S]+?)%>/g, vA = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, yA = /^\w*$/, bA = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Zo = /[\\^$.*+?()[\]{}|]/g, QA = RegExp(Zo.source), Gr = /^\s+/, qa = /\s/, In = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, _o = /\{\n\/\* \[wrapped with (.+)\] \*/, xA = /,? & /, $o = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Ja = /[()=,{}\[\]\/\s]/, wl = /\\(\\)?/g, Tl = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Xa = /\w*$/, Pl = /^[-+]0x[0-9a-f]+$/i, wA = /^0b[01]+$/i, TA = /^\[object .+?Constructor\]$/, PA = /^0o[0-7]+$/i, SA = /^(?:0|[1-9]\d*)$/, ze = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, en = /($^)/, pw = /['\n\r\u2028\u2029\\]/g, Sl = "\\ud800-\\udfff", hw = "\\u0300-\\u036f", Cw = "\\ufe20-\\ufe2f", mw = "\\u20d0-\\u20ff", Sh = hw + Cw + mw, Rh = "\\u2700-\\u27bf", Oh = "a-z\\xdf-\\xf6\\xf8-\\xff", Ew = "\\xac\\xb1\\xd7\\xf7", Iw = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Bw = "\\u2000-\\u206f", vw = " \\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", Mh = "A-Z\\xc0-\\xd6\\xd8-\\xde", Dh = "\\ufe0e\\ufe0f", kh = Ew + Iw + Bw + vw, RA = "['’]", yw = "[" + Sl + "]", Fh = "[" + kh + "]", Rl = "[" + Sh + "]", Lh = "\\d+", bw = "[" + Rh + "]", Nh = "[" + Oh + "]", jh = "[^" + Sl + kh + Lh + Rh + Oh + Mh + "]", OA = "\\ud83c[\\udffb-\\udfff]", Qw = "(?:" + Rl + "|" + OA + ")", Vh = "[^" + Sl + "]", MA = "(?:\\ud83c[\\udde6-\\uddff]){2}", DA = "[\\ud800-\\udbff][\\udc00-\\udfff]", ki = "[" + Mh + "]", Hh = "\\u200d", Wh = "(?:" + Nh + "|" + jh + ")", xw = "(?:" + ki + "|" + jh + ")", zh = "(?:" + RA + "(?:d|ll|m|re|s|t|ve))?", Yh = "(?:" + RA + "(?:D|LL|M|RE|S|T|VE))?", Uh = Qw + "?", Gh = "[" + Dh + "]?", ww = "(?:" + Hh + "(?:" + [Vh, MA, DA].join("|") + ")" + Gh + Uh + ")*", Tw = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Pw = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Kh = Gh + Uh + ww, Sw = "(?:" + [bw, MA, DA].join("|") + ")" + Kh, Rw = "(?:" + [Vh + Rl + "?", Rl, MA, DA, yw].join("|") + ")", Ow = RegExp(RA, "g"), Mw = RegExp(Rl, "g"), kA = RegExp(OA + "(?=" + OA + ")|" + Rw + Kh, "g"), Dw = RegExp([
|
|
3776
3776
|
ki + "?" + Nh + "+" + zh + "(?=" + [Fh, ki, "$"].join("|") + ")",
|
|
3777
3777
|
xw + "+" + Yh + "(?=" + [Fh, ki + Wh, "$"].join("|") + ")",
|
|
3778
3778
|
ki + "?" + Wh + "+" + zh,
|
|
@@ -4713,7 +4713,7 @@ ru.exports;
|
|
|
4713
4713
|
}
|
|
4714
4714
|
function g2(i, s, d, E) {
|
|
4715
4715
|
var y = i.length;
|
|
4716
|
-
for (d =
|
|
4716
|
+
for (d = Ye(d), d < 0 && (d = -d > y ? 0 : y + d), E = E === n || E > y ? y : Ye(E), E < 0 && (E += y), E = d > E ? 0 : Wm(E); d < E; )
|
|
4717
4717
|
i[d++] = s;
|
|
4718
4718
|
return i;
|
|
4719
4719
|
}
|
|
@@ -5520,7 +5520,7 @@ ru.exports;
|
|
|
5520
5520
|
function hd(i) {
|
|
5521
5521
|
var s = Zt[i];
|
|
5522
5522
|
return function(d, E) {
|
|
5523
|
-
if (d = rr(d), E = E == null ? 0 : ln(
|
|
5523
|
+
if (d = rr(d), E = E == null ? 0 : ln(Ye(E), 292), E && CC(d)) {
|
|
5524
5524
|
var y = (at(d) + "e").split("e"), x = s(y[0] + "e" + (+y[1] + E));
|
|
5525
5525
|
return y = (at(x) + "e").split("e"), +(y[0] + "e" + (+y[1] - E));
|
|
5526
5526
|
}
|
|
@@ -5541,7 +5541,7 @@ ru.exports;
|
|
|
5541
5541
|
if (!W && typeof i != "function")
|
|
5542
5542
|
throw new _n(l);
|
|
5543
5543
|
var te = E ? E.length : 0;
|
|
5544
|
-
if (te || (s &= ~(w | k), E = y = n), R = R === n ? R : _t(
|
|
5544
|
+
if (te || (s &= ~(w | k), E = y = n), R = R === n ? R : _t(Ye(R), 0), F = F === n ? F : Ye(F), te -= y ? y.length : 0, s & k) {
|
|
5545
5545
|
var ne = E, oe = y;
|
|
5546
5546
|
E = y = n;
|
|
5547
5547
|
}
|
|
@@ -5999,7 +5999,7 @@ ru.exports;
|
|
|
5999
5999
|
return s.__actions__ = Bn(i.__actions__), s.__index__ = i.__index__, s.__values__ = i.__values__, s;
|
|
6000
6000
|
}
|
|
6001
6001
|
function AP(i, s, d) {
|
|
6002
|
-
(d ? hn(i, s, d) : s === n) ? s = 1 : s = _t(
|
|
6002
|
+
(d ? hn(i, s, d) : s === n) ? s = 1 : s = _t(Ye(s), 0);
|
|
6003
6003
|
var E = i == null ? 0 : i.length;
|
|
6004
6004
|
if (!E || s < 1)
|
|
6005
6005
|
return [];
|
|
@@ -6033,11 +6033,11 @@ ru.exports;
|
|
|
6033
6033
|
});
|
|
6034
6034
|
function CP(i, s, d) {
|
|
6035
6035
|
var E = i == null ? 0 : i.length;
|
|
6036
|
-
return E ? (s = d || s === n ? 1 :
|
|
6036
|
+
return E ? (s = d || s === n ? 1 : Ye(s), tr(i, s < 0 ? 0 : s, E)) : [];
|
|
6037
6037
|
}
|
|
6038
6038
|
function mP(i, s, d) {
|
|
6039
6039
|
var E = i == null ? 0 : i.length;
|
|
6040
|
-
return E ? (s = d || s === n ? 1 :
|
|
6040
|
+
return E ? (s = d || s === n ? 1 : Ye(s), s = E - s, tr(i, 0, s < 0 ? 0 : s)) : [];
|
|
6041
6041
|
}
|
|
6042
6042
|
function EP(i, s) {
|
|
6043
6043
|
return i && i.length ? ec(i, Se(s, 3), !0, !0) : [];
|
|
@@ -6053,7 +6053,7 @@ ru.exports;
|
|
|
6053
6053
|
var E = i == null ? 0 : i.length;
|
|
6054
6054
|
if (!E)
|
|
6055
6055
|
return -1;
|
|
6056
|
-
var y = d == null ? 0 :
|
|
6056
|
+
var y = d == null ? 0 : Ye(d);
|
|
6057
6057
|
return y < 0 && (y = _t(E + y, 0)), Ml(i, Se(s, 3), y);
|
|
6058
6058
|
}
|
|
6059
6059
|
function vm(i, s, d) {
|
|
@@ -6061,7 +6061,7 @@ ru.exports;
|
|
|
6061
6061
|
if (!E)
|
|
6062
6062
|
return -1;
|
|
6063
6063
|
var y = E - 1;
|
|
6064
|
-
return d !== n && (y =
|
|
6064
|
+
return d !== n && (y = Ye(d), y = d < 0 ? _t(E + y, 0) : ln(y, E - 1)), Ml(i, Se(s, 3), y, !0);
|
|
6065
6065
|
}
|
|
6066
6066
|
function ym(i) {
|
|
6067
6067
|
var s = i == null ? 0 : i.length;
|
|
@@ -6073,7 +6073,7 @@ ru.exports;
|
|
|
6073
6073
|
}
|
|
6074
6074
|
function yP(i, s) {
|
|
6075
6075
|
var d = i == null ? 0 : i.length;
|
|
6076
|
-
return d ? (s = s === n ? 1 :
|
|
6076
|
+
return d ? (s = s === n ? 1 : Ye(s), sn(i, s)) : [];
|
|
6077
6077
|
}
|
|
6078
6078
|
function bP(i) {
|
|
6079
6079
|
for (var s = -1, d = i == null ? 0 : i.length, E = {}; ++s < d; ) {
|
|
@@ -6089,7 +6089,7 @@ ru.exports;
|
|
|
6089
6089
|
var E = i == null ? 0 : i.length;
|
|
6090
6090
|
if (!E)
|
|
6091
6091
|
return -1;
|
|
6092
|
-
var y = d == null ? 0 :
|
|
6092
|
+
var y = d == null ? 0 : Ye(d);
|
|
6093
6093
|
return y < 0 && (y = _t(E + y, 0)), Fi(i, s, y);
|
|
6094
6094
|
}
|
|
6095
6095
|
function xP(i) {
|
|
@@ -6118,10 +6118,10 @@ ru.exports;
|
|
|
6118
6118
|
if (!E)
|
|
6119
6119
|
return -1;
|
|
6120
6120
|
var y = E;
|
|
6121
|
-
return d !== n && (y =
|
|
6121
|
+
return d !== n && (y = Ye(d), y = y < 0 ? _t(E + y, 0) : ln(y, E - 1)), s === s ? uT(i, s, y) : Ml(i, oC, y, !0);
|
|
6122
6122
|
}
|
|
6123
6123
|
function OP(i, s) {
|
|
6124
|
-
return i && i.length ? kC(i,
|
|
6124
|
+
return i && i.length ? kC(i, Ye(s)) : n;
|
|
6125
6125
|
}
|
|
6126
6126
|
var MP = _e(Qm);
|
|
6127
6127
|
function Qm(i, s) {
|
|
@@ -6155,7 +6155,7 @@ ru.exports;
|
|
|
6155
6155
|
}
|
|
6156
6156
|
function NP(i, s, d) {
|
|
6157
6157
|
var E = i == null ? 0 : i.length;
|
|
6158
|
-
return E ? (d && typeof d != "number" && hn(i, s, d) ? (s = 0, d = E) : (s = s == null ? 0 :
|
|
6158
|
+
return E ? (d && typeof d != "number" && hn(i, s, d) ? (s = 0, d = E) : (s = s == null ? 0 : Ye(s), d = d === n ? E : Ye(d)), tr(i, s, d)) : [];
|
|
6159
6159
|
}
|
|
6160
6160
|
function jP(i, s) {
|
|
6161
6161
|
return $l(i, s);
|
|
@@ -6198,11 +6198,11 @@ ru.exports;
|
|
|
6198
6198
|
return s ? tr(i, 1, s) : [];
|
|
6199
6199
|
}
|
|
6200
6200
|
function qP(i, s, d) {
|
|
6201
|
-
return i && i.length ? (s = d || s === n ? 1 :
|
|
6201
|
+
return i && i.length ? (s = d || s === n ? 1 : Ye(s), tr(i, 0, s < 0 ? 0 : s)) : [];
|
|
6202
6202
|
}
|
|
6203
6203
|
function JP(i, s, d) {
|
|
6204
6204
|
var E = i == null ? 0 : i.length;
|
|
6205
|
-
return E ? (s = d || s === n ? 1 :
|
|
6205
|
+
return E ? (s = d || s === n ? 1 : Ye(s), s = E - s, tr(i, s < 0 ? 0 : s, E)) : [];
|
|
6206
6206
|
}
|
|
6207
6207
|
function XP(i, s) {
|
|
6208
6208
|
return i && i.length ? ec(i, Se(s, 3), !1, !0) : [];
|
|
@@ -6347,7 +6347,7 @@ ru.exports;
|
|
|
6347
6347
|
return sn(uc(i, s), z);
|
|
6348
6348
|
}
|
|
6349
6349
|
function TS(i, s, d) {
|
|
6350
|
-
return d = d === n ? 1 :
|
|
6350
|
+
return d = d === n ? 1 : Ye(d), sn(uc(i, s), d);
|
|
6351
6351
|
}
|
|
6352
6352
|
function Tm(i, s) {
|
|
6353
6353
|
var d = Ve(i) ? Zn : vo;
|
|
@@ -6361,7 +6361,7 @@ ru.exports;
|
|
|
6361
6361
|
ft.call(i, d) ? i[d].push(s) : Jr(i, d, [s]);
|
|
6362
6362
|
});
|
|
6363
6363
|
function SS(i, s, d, E) {
|
|
6364
|
-
i = vn(i) ? i : qi(i), d = d && !E ?
|
|
6364
|
+
i = vn(i) ? i : qi(i), d = d && !E ? Ye(d) : 0;
|
|
6365
6365
|
var y = i.length;
|
|
6366
6366
|
return d < 0 && (d = _t(y + d, 0)), pc(i) ? d <= y && i.indexOf(s, d) > -1 : !!y && Fi(i, s, d) > -1;
|
|
6367
6367
|
}
|
|
@@ -6402,7 +6402,7 @@ ru.exports;
|
|
|
6402
6402
|
return s(i);
|
|
6403
6403
|
}
|
|
6404
6404
|
function jS(i, s, d) {
|
|
6405
|
-
(d ? hn(i, s, d) : s === n) ? s = 1 : s =
|
|
6405
|
+
(d ? hn(i, s, d) : s === n) ? s = 1 : s = Ye(s);
|
|
6406
6406
|
var E = Ve(i) ? s2 : R2;
|
|
6407
6407
|
return E(i, s);
|
|
6408
6408
|
}
|
|
@@ -6433,7 +6433,7 @@ ru.exports;
|
|
|
6433
6433
|
function YS(i, s) {
|
|
6434
6434
|
if (typeof s != "function")
|
|
6435
6435
|
throw new _n(l);
|
|
6436
|
-
return i =
|
|
6436
|
+
return i = Ye(i), function() {
|
|
6437
6437
|
if (--i < 1)
|
|
6438
6438
|
return s.apply(this, arguments);
|
|
6439
6439
|
};
|
|
@@ -6445,7 +6445,7 @@ ru.exports;
|
|
|
6445
6445
|
var d;
|
|
6446
6446
|
if (typeof s != "function")
|
|
6447
6447
|
throw new _n(l);
|
|
6448
|
-
return i =
|
|
6448
|
+
return i = Ye(i), function() {
|
|
6449
6449
|
return --i > 0 && (d = s.apply(this, arguments)), i <= 1 && (s = n), d;
|
|
6450
6450
|
};
|
|
6451
6451
|
}
|
|
@@ -6583,12 +6583,12 @@ ru.exports;
|
|
|
6583
6583
|
function ZS(i, s) {
|
|
6584
6584
|
if (typeof i != "function")
|
|
6585
6585
|
throw new _n(l);
|
|
6586
|
-
return s = s === n ? s :
|
|
6586
|
+
return s = s === n ? s : Ye(s), _e(i, s);
|
|
6587
6587
|
}
|
|
6588
6588
|
function _S(i, s) {
|
|
6589
6589
|
if (typeof i != "function")
|
|
6590
6590
|
throw new _n(l);
|
|
6591
|
-
return s = s == null ? 0 : _t(
|
|
6591
|
+
return s = s == null ? 0 : _t(Ye(s), 0), _e(function(d) {
|
|
6592
6592
|
var E = d[s], y = Qo(d, 0, s);
|
|
6593
6593
|
return E && Eo(y, E), On(i, this, y);
|
|
6594
6594
|
});
|
|
@@ -6692,7 +6692,7 @@ ru.exports;
|
|
|
6692
6692
|
return s == ie || s == He || s == me || s == Rr;
|
|
6693
6693
|
}
|
|
6694
6694
|
function Lm(i) {
|
|
6695
|
-
return typeof i == "number" && i ==
|
|
6695
|
+
return typeof i == "number" && i == Ye(i);
|
|
6696
6696
|
}
|
|
6697
6697
|
function fc(i) {
|
|
6698
6698
|
return typeof i == "number" && i > -1 && i % 1 == 0 && i <= D;
|
|
@@ -6780,12 +6780,12 @@ ru.exports;
|
|
|
6780
6780
|
}
|
|
6781
6781
|
return i === i ? i : 0;
|
|
6782
6782
|
}
|
|
6783
|
-
function
|
|
6783
|
+
function Ye(i) {
|
|
6784
6784
|
var s = eo(i), d = s % 1;
|
|
6785
6785
|
return s === s ? d ? s - d : s : 0;
|
|
6786
6786
|
}
|
|
6787
6787
|
function Wm(i) {
|
|
6788
|
-
return i ? oi(
|
|
6788
|
+
return i ? oi(Ye(i), 0, K) : 0;
|
|
6789
6789
|
}
|
|
6790
6790
|
function rr(i) {
|
|
6791
6791
|
if (typeof i == "number")
|
|
@@ -6806,7 +6806,7 @@ ru.exports;
|
|
|
6806
6806
|
return Dr(i, yn(i));
|
|
6807
6807
|
}
|
|
6808
6808
|
function SR(i) {
|
|
6809
|
-
return i ? oi(
|
|
6809
|
+
return i ? oi(Ye(i), -D, D) : i === 0 ? i : 0;
|
|
6810
6810
|
}
|
|
6811
6811
|
function at(i) {
|
|
6812
6812
|
return i == null ? "" : Dn(i);
|
|
@@ -6995,12 +6995,12 @@ ru.exports;
|
|
|
6995
6995
|
return Dd(at(i).toLowerCase());
|
|
6996
6996
|
}
|
|
6997
6997
|
function Xm(i) {
|
|
6998
|
-
return i = at(i), i && i.replace(
|
|
6998
|
+
return i = at(i), i && i.replace(ze, nT).replace(Mw, "");
|
|
6999
6999
|
}
|
|
7000
7000
|
function g4(i, s, d) {
|
|
7001
7001
|
i = at(i), s = Dn(s);
|
|
7002
7002
|
var E = i.length;
|
|
7003
|
-
d = d === n ? E : oi(
|
|
7003
|
+
d = d === n ? E : oi(Ye(d), 0, E);
|
|
7004
7004
|
var y = d;
|
|
7005
7005
|
return d -= s.length, d >= 0 && i.slice(d, y) == s;
|
|
7006
7006
|
}
|
|
@@ -7016,7 +7016,7 @@ ru.exports;
|
|
|
7016
7016
|
return i + (d ? " " : "") + s.toLowerCase();
|
|
7017
7017
|
}), m4 = $C("toLowerCase");
|
|
7018
7018
|
function E4(i, s, d) {
|
|
7019
|
-
i = at(i), s =
|
|
7019
|
+
i = at(i), s = Ye(s);
|
|
7020
7020
|
var E = s ? Ni(i) : 0;
|
|
7021
7021
|
if (!s || E >= s)
|
|
7022
7022
|
return i;
|
|
@@ -7024,12 +7024,12 @@ ru.exports;
|
|
|
7024
7024
|
return oc(Ul(y), d) + i + oc(Yl(y), d);
|
|
7025
7025
|
}
|
|
7026
7026
|
function I4(i, s, d) {
|
|
7027
|
-
i = at(i), s =
|
|
7027
|
+
i = at(i), s = Ye(s);
|
|
7028
7028
|
var E = s ? Ni(i) : 0;
|
|
7029
7029
|
return s && E < s ? i + oc(s - E, d) : i;
|
|
7030
7030
|
}
|
|
7031
7031
|
function B4(i, s, d) {
|
|
7032
|
-
i = at(i), s =
|
|
7032
|
+
i = at(i), s = Ye(s);
|
|
7033
7033
|
var E = s ? Ni(i) : 0;
|
|
7034
7034
|
return s && E < s ? oc(s - E, d) + i : i;
|
|
7035
7035
|
}
|
|
@@ -7037,7 +7037,7 @@ ru.exports;
|
|
|
7037
7037
|
return d || s == null ? s = 0 : s && (s = +s), PT(at(i).replace(Gr, ""), s || 0);
|
|
7038
7038
|
}
|
|
7039
7039
|
function y4(i, s, d) {
|
|
7040
|
-
return (d ? hn(i, s, d) : s === n) ? s = 1 : s =
|
|
7040
|
+
return (d ? hn(i, s, d) : s === n) ? s = 1 : s = Ye(s), ld(at(i), s);
|
|
7041
7041
|
}
|
|
7042
7042
|
function b4() {
|
|
7043
7043
|
var i = arguments, s = at(i[0]);
|
|
@@ -7053,7 +7053,7 @@ ru.exports;
|
|
|
7053
7053
|
return i + (d ? " " : "") + Dd(s);
|
|
7054
7054
|
});
|
|
7055
7055
|
function T4(i, s, d) {
|
|
7056
|
-
return i = at(i), d = d == null ? 0 : oi(
|
|
7056
|
+
return i = at(i), d = d == null ? 0 : oi(Ye(d), 0, i.length), s = Dn(s), i.slice(d, d + s.length) == s;
|
|
7057
7057
|
}
|
|
7058
7058
|
function P4(i, s, d) {
|
|
7059
7059
|
var E = b.templateSettings;
|
|
@@ -7129,7 +7129,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
7129
7129
|
var d = H, E = J;
|
|
7130
7130
|
if (Ot(s)) {
|
|
7131
7131
|
var y = "separator" in s ? s.separator : y;
|
|
7132
|
-
d = "length" in s ?
|
|
7132
|
+
d = "length" in s ? Ye(s.length) : d, E = "omission" in s ? Dn(s.omission) : E;
|
|
7133
7133
|
}
|
|
7134
7134
|
i = at(i);
|
|
7135
7135
|
var x = i.length;
|
|
@@ -7247,7 +7247,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
7247
7247
|
function Nd() {
|
|
7248
7248
|
}
|
|
7249
7249
|
function J4(i) {
|
|
7250
|
-
return i =
|
|
7250
|
+
return i = Ye(i), _e(function(s) {
|
|
7251
7251
|
return kC(s, i);
|
|
7252
7252
|
});
|
|
7253
7253
|
}
|
|
@@ -7277,7 +7277,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
7277
7277
|
return !0;
|
|
7278
7278
|
}
|
|
7279
7279
|
function iO(i, s) {
|
|
7280
|
-
if (i =
|
|
7280
|
+
if (i = Ye(i), i < 1 || i > D)
|
|
7281
7281
|
return [];
|
|
7282
7282
|
var d = K, E = ln(i, K);
|
|
7283
7283
|
s = Se(s), i -= K;
|
|
@@ -7326,7 +7326,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
7326
7326
|
function vO(i, s) {
|
|
7327
7327
|
return i && i.length ? zA(i, Se(s, 2)) : 0;
|
|
7328
7328
|
}
|
|
7329
|
-
return b.after = YS, b.ary = Sm, b.assign = RR, b.assignIn = Ym, b.assignInWith = hc, b.assignWith = OR, b.at = MR, b.before = Rm, b.bind = Td, b.bindAll = N4, b.bindKey = Om, b.castArray = nR, b.chain = wm, b.chunk = AP, b.compact = dP, b.concat = gP, b.cond = j4, b.conforms = V4, b.constant = kd, b.countBy = BS, b.create = DR, b.curry = Mm, b.curryRight = Dm, b.debounce = km, b.defaults = kR, b.defaultsDeep = FR, b.defer = US, b.delay = GS, b.difference = fP, b.differenceBy = pP, b.differenceWith = hP, b.drop = CP, b.dropRight = mP, b.dropRightWhile = EP, b.dropWhile = IP, b.fill = BP, b.filter = yS, b.flatMap = xS, b.flatMapDeep = wS, b.flatMapDepth = TS, b.flatten = ym, b.flattenDeep = vP, b.flattenDepth = yP, b.flip = KS, b.flow = W4, b.flowRight = z4, b.fromPairs = bP, b.functions = zR, b.functionsIn = YR, b.groupBy = PS, b.initial = xP, b.intersection = wP, b.intersectionBy = TP, b.intersectionWith = PP, b.invert = GR, b.invertBy = KR, b.invokeMap = RS, b.iteratee = Fd, b.keyBy = OS, b.keys = tn, b.keysIn = yn, b.map = uc, b.mapKeys = JR, b.mapValues = XR, b.matches = Y4, b.matchesProperty = U4, b.memoize = dc, b.merge = ZR, b.mergeWith = Um, b.method = G4, b.methodOf = K4, b.mixin = Ld, b.negate = gc, b.nthArg = J4, b.omit = _R, b.omitBy = $R, b.once = qS, b.orderBy = MS, b.over = X4, b.overArgs = JS, b.overEvery = Z4, b.overSome = _4, b.partial = Pd, b.partialRight = Fm, b.partition = DS, b.pick = e4, b.pickBy = Gm, b.property = $m, b.propertyOf = $4, b.pull = MP, b.pullAll = Qm, b.pullAllBy = DP, b.pullAllWith = kP, b.pullAt = FP, b.range = eO, b.rangeRight = tO, b.rearg = XS, b.reject = LS, b.remove = LP, b.rest = ZS, b.reverse = xd, b.sampleSize = jS, b.set = n4, b.setWith = r4, b.shuffle = VS, b.slice = NP, b.sortBy = zS, b.sortedUniq = UP, b.sortedUniqBy = GP, b.split = x4, b.spread = _S, b.tail = KP, b.take = qP, b.takeRight = JP, b.takeRightWhile = XP, b.takeWhile = ZP, b.tap = dS, b.throttle = $S, b.thru = cc, b.toArray = Hm, b.toPairs = Km, b.toPairsIn = qm, b.toPath = aO, b.toPlainObject = zm, b.transform = o4, b.unary = eR, b.union = _P, b.unionBy = $P, b.unionWith = eS, b.uniq = tS, b.uniqBy = nS, b.uniqWith = rS, b.unset = i4, b.unzip = wd, b.unzipWith = xm, b.update = a4, b.updateWith = s4, b.values = qi, b.valuesIn = l4, b.without = oS, b.words = Zm, b.wrap = tR, b.xor = iS, b.xorBy = aS, b.xorWith = sS, b.zip = lS, b.zipObject = cS, b.zipObjectDeep = uS, b.zipWith = AS, b.entries = Km, b.entriesIn = qm, b.extend = Ym, b.extendWith = hc, Ld(b, b), b.add = lO, b.attempt = _m, b.camelCase = d4, b.capitalize = Jm, b.ceil = cO, b.clamp = c4, b.clone = rR, b.cloneDeep = iR, b.cloneDeepWith = aR, b.cloneWith = oR, b.conformsTo = sR, b.deburr = Xm, b.defaultTo = H4, b.divide = uO, b.endsWith = g4, b.eq = mr, b.escape = f4, b.escapeRegExp = p4, b.every = vS, b.find = bS, b.findIndex = Bm, b.findKey = LR, b.findLast = QS, b.findLastIndex = vm, b.findLastKey = NR, b.floor = AO, b.forEach = Tm, b.forEachRight = Pm, b.forIn = jR, b.forInRight = VR, b.forOwn = HR, b.forOwnRight = WR, b.get = Od, b.gt = lR, b.gte = cR, b.has = UR, b.hasIn = Md, b.head = bm, b.identity = bn, b.includes = SS, b.indexOf = QP, b.inRange = u4, b.invoke = qR, b.isArguments = li, b.isArray = Ve, b.isArrayBuffer = uR, b.isArrayLike = vn, b.isArrayLikeObject = Vt, b.isBoolean = AR, b.isBuffer = xo, b.isDate = dR, b.isElement = gR, b.isEmpty = fR, b.isEqual = pR, b.isEqualWith = hR, b.isError = Sd, b.isFinite = CR, b.isFunction = $r, b.isInteger = Lm, b.isLength = fc, b.isMap = Nm, b.isMatch = mR, b.isMatchWith = ER, b.isNaN = IR, b.isNative = BR, b.isNil = yR, b.isNull = vR, b.isNumber = jm, b.isObject = Ot, b.isObjectLike = kt, b.isPlainObject = As, b.isRegExp = Rd, b.isSafeInteger = bR, b.isSet = Vm, b.isString = pc, b.isSymbol = kn, b.isTypedArray = Ki, b.isUndefined = QR, b.isWeakMap = xR, b.isWeakSet = wR, b.join = SP, b.kebabCase = h4, b.last = nr, b.lastIndexOf = RP, b.lowerCase = C4, b.lowerFirst = m4, b.lt = TR, b.lte = PR, b.max = dO, b.maxBy = gO, b.mean = fO, b.meanBy = pO, b.min = hO, b.minBy = CO, b.stubArray = jd, b.stubFalse = Vd, b.stubObject = nO, b.stubString = rO, b.stubTrue = oO, b.multiply = mO, b.nth = OP, b.noConflict = q4, b.noop = Nd, b.now = Ac, b.pad = E4, b.padEnd = I4, b.padStart = B4, b.parseInt = v4, b.random = A4, b.reduce = kS, b.reduceRight = FS, b.repeat = y4, b.replace = b4, b.result = t4, b.round = EO, b.runInContext = V, b.sample = NS, b.size = HS, b.snakeCase = Q4, b.some = WS, b.sortedIndex = jP, b.sortedIndexBy = VP, b.sortedIndexOf = HP, b.sortedLastIndex = WP, b.sortedLastIndexBy = zP, b.sortedLastIndexOf = YP, b.startCase = w4, b.startsWith = T4, b.subtract = IO, b.sum = BO, b.sumBy = vO, b.template = P4, b.times = iO, b.toFinite = eo, b.toInteger =
|
|
7329
|
+
return b.after = YS, b.ary = Sm, b.assign = RR, b.assignIn = Ym, b.assignInWith = hc, b.assignWith = OR, b.at = MR, b.before = Rm, b.bind = Td, b.bindAll = N4, b.bindKey = Om, b.castArray = nR, b.chain = wm, b.chunk = AP, b.compact = dP, b.concat = gP, b.cond = j4, b.conforms = V4, b.constant = kd, b.countBy = BS, b.create = DR, b.curry = Mm, b.curryRight = Dm, b.debounce = km, b.defaults = kR, b.defaultsDeep = FR, b.defer = US, b.delay = GS, b.difference = fP, b.differenceBy = pP, b.differenceWith = hP, b.drop = CP, b.dropRight = mP, b.dropRightWhile = EP, b.dropWhile = IP, b.fill = BP, b.filter = yS, b.flatMap = xS, b.flatMapDeep = wS, b.flatMapDepth = TS, b.flatten = ym, b.flattenDeep = vP, b.flattenDepth = yP, b.flip = KS, b.flow = W4, b.flowRight = z4, b.fromPairs = bP, b.functions = zR, b.functionsIn = YR, b.groupBy = PS, b.initial = xP, b.intersection = wP, b.intersectionBy = TP, b.intersectionWith = PP, b.invert = GR, b.invertBy = KR, b.invokeMap = RS, b.iteratee = Fd, b.keyBy = OS, b.keys = tn, b.keysIn = yn, b.map = uc, b.mapKeys = JR, b.mapValues = XR, b.matches = Y4, b.matchesProperty = U4, b.memoize = dc, b.merge = ZR, b.mergeWith = Um, b.method = G4, b.methodOf = K4, b.mixin = Ld, b.negate = gc, b.nthArg = J4, b.omit = _R, b.omitBy = $R, b.once = qS, b.orderBy = MS, b.over = X4, b.overArgs = JS, b.overEvery = Z4, b.overSome = _4, b.partial = Pd, b.partialRight = Fm, b.partition = DS, b.pick = e4, b.pickBy = Gm, b.property = $m, b.propertyOf = $4, b.pull = MP, b.pullAll = Qm, b.pullAllBy = DP, b.pullAllWith = kP, b.pullAt = FP, b.range = eO, b.rangeRight = tO, b.rearg = XS, b.reject = LS, b.remove = LP, b.rest = ZS, b.reverse = xd, b.sampleSize = jS, b.set = n4, b.setWith = r4, b.shuffle = VS, b.slice = NP, b.sortBy = zS, b.sortedUniq = UP, b.sortedUniqBy = GP, b.split = x4, b.spread = _S, b.tail = KP, b.take = qP, b.takeRight = JP, b.takeRightWhile = XP, b.takeWhile = ZP, b.tap = dS, b.throttle = $S, b.thru = cc, b.toArray = Hm, b.toPairs = Km, b.toPairsIn = qm, b.toPath = aO, b.toPlainObject = zm, b.transform = o4, b.unary = eR, b.union = _P, b.unionBy = $P, b.unionWith = eS, b.uniq = tS, b.uniqBy = nS, b.uniqWith = rS, b.unset = i4, b.unzip = wd, b.unzipWith = xm, b.update = a4, b.updateWith = s4, b.values = qi, b.valuesIn = l4, b.without = oS, b.words = Zm, b.wrap = tR, b.xor = iS, b.xorBy = aS, b.xorWith = sS, b.zip = lS, b.zipObject = cS, b.zipObjectDeep = uS, b.zipWith = AS, b.entries = Km, b.entriesIn = qm, b.extend = Ym, b.extendWith = hc, Ld(b, b), b.add = lO, b.attempt = _m, b.camelCase = d4, b.capitalize = Jm, b.ceil = cO, b.clamp = c4, b.clone = rR, b.cloneDeep = iR, b.cloneDeepWith = aR, b.cloneWith = oR, b.conformsTo = sR, b.deburr = Xm, b.defaultTo = H4, b.divide = uO, b.endsWith = g4, b.eq = mr, b.escape = f4, b.escapeRegExp = p4, b.every = vS, b.find = bS, b.findIndex = Bm, b.findKey = LR, b.findLast = QS, b.findLastIndex = vm, b.findLastKey = NR, b.floor = AO, b.forEach = Tm, b.forEachRight = Pm, b.forIn = jR, b.forInRight = VR, b.forOwn = HR, b.forOwnRight = WR, b.get = Od, b.gt = lR, b.gte = cR, b.has = UR, b.hasIn = Md, b.head = bm, b.identity = bn, b.includes = SS, b.indexOf = QP, b.inRange = u4, b.invoke = qR, b.isArguments = li, b.isArray = Ve, b.isArrayBuffer = uR, b.isArrayLike = vn, b.isArrayLikeObject = Vt, b.isBoolean = AR, b.isBuffer = xo, b.isDate = dR, b.isElement = gR, b.isEmpty = fR, b.isEqual = pR, b.isEqualWith = hR, b.isError = Sd, b.isFinite = CR, b.isFunction = $r, b.isInteger = Lm, b.isLength = fc, b.isMap = Nm, b.isMatch = mR, b.isMatchWith = ER, b.isNaN = IR, b.isNative = BR, b.isNil = yR, b.isNull = vR, b.isNumber = jm, b.isObject = Ot, b.isObjectLike = kt, b.isPlainObject = As, b.isRegExp = Rd, b.isSafeInteger = bR, b.isSet = Vm, b.isString = pc, b.isSymbol = kn, b.isTypedArray = Ki, b.isUndefined = QR, b.isWeakMap = xR, b.isWeakSet = wR, b.join = SP, b.kebabCase = h4, b.last = nr, b.lastIndexOf = RP, b.lowerCase = C4, b.lowerFirst = m4, b.lt = TR, b.lte = PR, b.max = dO, b.maxBy = gO, b.mean = fO, b.meanBy = pO, b.min = hO, b.minBy = CO, b.stubArray = jd, b.stubFalse = Vd, b.stubObject = nO, b.stubString = rO, b.stubTrue = oO, b.multiply = mO, b.nth = OP, b.noConflict = q4, b.noop = Nd, b.now = Ac, b.pad = E4, b.padEnd = I4, b.padStart = B4, b.parseInt = v4, b.random = A4, b.reduce = kS, b.reduceRight = FS, b.repeat = y4, b.replace = b4, b.result = t4, b.round = EO, b.runInContext = V, b.sample = NS, b.size = HS, b.snakeCase = Q4, b.some = WS, b.sortedIndex = jP, b.sortedIndexBy = VP, b.sortedIndexOf = HP, b.sortedLastIndex = WP, b.sortedLastIndexBy = zP, b.sortedLastIndexOf = YP, b.startCase = w4, b.startsWith = T4, b.subtract = IO, b.sum = BO, b.sumBy = vO, b.template = P4, b.times = iO, b.toFinite = eo, b.toInteger = Ye, b.toLength = Wm, b.toLower = S4, b.toNumber = rr, b.toSafeInteger = SR, b.toString = at, b.toUpper = R4, b.trim = O4, b.trimEnd = M4, b.trimStart = D4, b.truncate = k4, b.unescape = F4, b.uniqueId = sO, b.upperCase = L4, b.upperFirst = Dd, b.each = Tm, b.eachRight = Pm, b.first = bm, Ld(b, function() {
|
|
7330
7330
|
var i = {};
|
|
7331
7331
|
return Mr(b, function(s, d) {
|
|
7332
7332
|
ft.call(b.prototype, d) || (i[d] = s);
|
|
@@ -7335,7 +7335,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
7335
7335
|
b[i].placeholder = b;
|
|
7336
7336
|
}), Zn(["drop", "take"], function(i, s) {
|
|
7337
7337
|
et.prototype[i] = function(d) {
|
|
7338
|
-
d = d === n ? 1 : _t(
|
|
7338
|
+
d = d === n ? 1 : _t(Ye(d), 0);
|
|
7339
7339
|
var E = this.__filtered__ && !s ? new et(this) : this.clone();
|
|
7340
7340
|
return E.__filtered__ ? E.__takeCount__ = ln(d, E.__takeCount__) : E.__views__.push({
|
|
7341
7341
|
size: ln(d, K),
|
|
@@ -7376,9 +7376,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
7376
7376
|
}), et.prototype.reject = function(i) {
|
|
7377
7377
|
return this.filter(gc(Se(i)));
|
|
7378
7378
|
}, et.prototype.slice = function(i, s) {
|
|
7379
|
-
i =
|
|
7379
|
+
i = Ye(i);
|
|
7380
7380
|
var d = this;
|
|
7381
|
-
return d.__filtered__ && (i > 0 || s < 0) ? new et(d) : (i < 0 ? d = d.takeRight(-i) : i && (d = d.drop(i)), s !== n && (s =
|
|
7381
|
+
return d.__filtered__ && (i > 0 || s < 0) ? new et(d) : (i < 0 ? d = d.takeRight(-i) : i && (d = d.drop(i)), s !== n && (s = Ye(s), d = s < 0 ? d.dropRight(-s) : d.take(s - i)), d);
|
|
7382
7382
|
}, et.prototype.takeRightWhile = function(i) {
|
|
7383
7383
|
return this.reverse().takeWhile(i).reverse();
|
|
7384
7384
|
}, et.prototype.toArray = function() {
|
|
@@ -7681,7 +7681,7 @@ function Wv(e, t) {
|
|
|
7681
7681
|
const a = typeof window < "u" ? localStorage.getItem(e) : null;
|
|
7682
7682
|
return a === null ? t : JSON.parse(a);
|
|
7683
7683
|
});
|
|
7684
|
-
return
|
|
7684
|
+
return We(() => {
|
|
7685
7685
|
const a = (l) => {
|
|
7686
7686
|
typeof window < "u" && l.storageArea === localStorage && l.key === e && r(l.newValue ? JSON.parse(l.newValue) : l.newValue);
|
|
7687
7687
|
};
|
|
@@ -7712,13 +7712,13 @@ function al(e, t) {
|
|
|
7712
7712
|
fe.cloneDeepWith((e == null ? void 0 : e.sx) ?? {}, (a) => fe.isFunction(a) ? a : void 0),
|
|
7713
7713
|
t
|
|
7714
7714
|
), [r, o] = Xe(n);
|
|
7715
|
-
return
|
|
7715
|
+
return We(() => {
|
|
7716
7716
|
fe.isEqual(r, n) || o(n);
|
|
7717
7717
|
}, [r, n]), r;
|
|
7718
7718
|
}
|
|
7719
7719
|
function h$(e, t) {
|
|
7720
7720
|
const [n, r] = Xe({ width: 1, height: 1 }), o = e.current;
|
|
7721
|
-
return
|
|
7721
|
+
return We(() => {
|
|
7722
7722
|
function a() {
|
|
7723
7723
|
var g;
|
|
7724
7724
|
let u = 0, A = 0;
|
|
@@ -7754,7 +7754,7 @@ function z8(e) {
|
|
|
7754
7754
|
if (!fe.isPlainObject(e))
|
|
7755
7755
|
throw new Error("[useMemoizedObject]: param must be a plain JS object");
|
|
7756
7756
|
const [t, n] = Xe(e);
|
|
7757
|
-
return
|
|
7757
|
+
return We(() => {
|
|
7758
7758
|
fe.isEqual(e, t) || n(e);
|
|
7759
7759
|
}, [e, t]), t;
|
|
7760
7760
|
}
|
|
@@ -7786,7 +7786,7 @@ const Uv = En({
|
|
|
7786
7786
|
transformPagePoint: (e) => e,
|
|
7787
7787
|
isStatic: !1,
|
|
7788
7788
|
reducedMotion: "never"
|
|
7789
|
-
}), Xu = En({}), Ap = En(null), Zu = typeof document < "u", Y8 = Zu ? y3 :
|
|
7789
|
+
}), Xu = En({}), Ap = En(null), Zu = typeof document < "u", Y8 = Zu ? y3 : We, Gv = En({ strict: !1 });
|
|
7790
7790
|
function U8(e, t, n, r) {
|
|
7791
7791
|
const { visualElement: o } = jt(Xu), a = jt(Gv), l = jt(Ap), u = jt(Uv).reducedMotion, A = Yn();
|
|
7792
7792
|
r = r || a.renderer, !A.current && r && (A.current = r(e, {
|
|
@@ -7804,7 +7804,7 @@ function U8(e, t, n, r) {
|
|
|
7804
7804
|
const f = Yn(!!window.HandoffAppearAnimations);
|
|
7805
7805
|
return Y8(() => {
|
|
7806
7806
|
g && (g.render(), f.current && g.animationState && g.animationState.animateChanges());
|
|
7807
|
-
}),
|
|
7807
|
+
}), We(() => {
|
|
7808
7808
|
g && (g.updateFeatures(), !f.current && g.animationState && g.animationState.animateChanges(), window.HandoffAppearAnimations = void 0, f.current = !1);
|
|
7809
7809
|
}), g;
|
|
7810
7810
|
}
|
|
@@ -10582,7 +10582,7 @@ function UF() {
|
|
|
10582
10582
|
if (e === null)
|
|
10583
10583
|
return [!0, null];
|
|
10584
10584
|
const { isPresent: t, onExitComplete: n, register: r } = e, o = Q3();
|
|
10585
|
-
return
|
|
10585
|
+
return We(() => r(o), []), !t && n ? [!1, () => n && n(o)] : [!0];
|
|
10586
10586
|
}
|
|
10587
10587
|
const Hc = {
|
|
10588
10588
|
/**
|
|
@@ -14392,7 +14392,7 @@ const Ag = mb, lN = ({ id: e, title: t, icon: n, url: r, last: o }) => /* @__PUR
|
|
|
14392
14392
|
}, M = (z) => {
|
|
14393
14393
|
z.children && z.children.filter((D) => (D.type && D.type === "collapse" ? (M(D), D.url === w && (S(D), T(D))) : D.type && D.type === "item" && w.includes(D.url) && (S(z), T(D)), !1));
|
|
14394
14394
|
};
|
|
14395
|
-
|
|
14395
|
+
We(() => {
|
|
14396
14396
|
var z;
|
|
14397
14397
|
(z = l == null ? void 0 : l.items) == null || z.map((D) => (D.type && D.type === "group" && M(D), !1));
|
|
14398
14398
|
});
|
|
@@ -14622,7 +14622,7 @@ const uN = Jt("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
14622
14622
|
})
|
|
14623
14623
|
}, !t.disableRipple && {
|
|
14624
14624
|
"&:hover": {
|
|
14625
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})` :
|
|
14625
|
+
backgroundColor: e.vars ? `rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})` : Ue(e.palette.action.active, e.palette.action.hoverOpacity),
|
|
14626
14626
|
// Reset on touch devices, it doesn't add specificity
|
|
14627
14627
|
"@media (hover: none)": {
|
|
14628
14628
|
backgroundColor: "transparent"
|
|
@@ -14644,7 +14644,7 @@ const uN = Jt("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
14644
14644
|
color: r == null ? void 0 : r.main
|
|
14645
14645
|
}, !t.disableRipple && {
|
|
14646
14646
|
"&:hover": j({}, r && {
|
|
14647
|
-
backgroundColor: e.vars ? `rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})` :
|
|
14647
|
+
backgroundColor: e.vars ? `rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})` : Ue(r.main, e.palette.action.hoverOpacity)
|
|
14648
14648
|
}, {
|
|
14649
14649
|
// Reset on touch devices, it doesn't add specificity
|
|
14650
14650
|
"@media (hover: none)": {
|
|
@@ -14790,10 +14790,10 @@ ja.propTypes = {
|
|
|
14790
14790
|
function pN({ variant: e, theme: t, color: n }) {
|
|
14791
14791
|
const r = gn(t, n), { lighter: o, light: a, dark: l, main: u, contrastText: A } = r, g = `${n}Button`, f = ja(t, g), C = {
|
|
14792
14792
|
"&::after": {
|
|
14793
|
-
boxShadow: `0 0 6px 6px ${
|
|
14793
|
+
boxShadow: `0 0 6px 6px ${Ue(u, 0.9)}`
|
|
14794
14794
|
},
|
|
14795
14795
|
"&:active::after": {
|
|
14796
|
-
boxShadow: `0 0 0 0 ${
|
|
14796
|
+
boxShadow: `0 0 0 0 ${Ue(u, 0.9)}`
|
|
14797
14797
|
},
|
|
14798
14798
|
"&:focus-visible": {
|
|
14799
14799
|
outline: `2px solid ${l}`,
|
|
@@ -14996,20 +14996,20 @@ const vN = Bb, yN = ["children", "color", "component", "className", "disabled",
|
|
|
14996
14996
|
}),
|
|
14997
14997
|
"&:hover": j({
|
|
14998
14998
|
textDecoration: "none",
|
|
14999
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})` :
|
|
14999
|
+
backgroundColor: e.vars ? `rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})` : Ue(e.palette.text.primary, e.palette.action.hoverOpacity),
|
|
15000
15000
|
// Reset on touch devices, it doesn't add specificity
|
|
15001
15001
|
"@media (hover: none)": {
|
|
15002
15002
|
backgroundColor: "transparent"
|
|
15003
15003
|
}
|
|
15004
15004
|
}, t.variant === "text" && t.color !== "inherit" && {
|
|
15005
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})` :
|
|
15005
|
+
backgroundColor: e.vars ? `rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})` : Ue(e.palette[t.color].main, e.palette.action.hoverOpacity),
|
|
15006
15006
|
// Reset on touch devices, it doesn't add specificity
|
|
15007
15007
|
"@media (hover: none)": {
|
|
15008
15008
|
backgroundColor: "transparent"
|
|
15009
15009
|
}
|
|
15010
15010
|
}, t.variant === "outlined" && t.color !== "inherit" && {
|
|
15011
15011
|
border: `1px solid ${(e.vars || e).palette[t.color].main}`,
|
|
15012
|
-
backgroundColor: e.vars ? `rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})` :
|
|
15012
|
+
backgroundColor: e.vars ? `rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})` : Ue(e.palette[t.color].main, e.palette.action.hoverOpacity),
|
|
15013
15013
|
// Reset on touch devices, it doesn't add specificity
|
|
15014
15014
|
"@media (hover: none)": {
|
|
15015
15015
|
backgroundColor: "transparent"
|
|
@@ -15053,7 +15053,7 @@ const vN = Bb, yN = ["children", "color", "component", "className", "disabled",
|
|
|
15053
15053
|
border: "1px solid currentColor"
|
|
15054
15054
|
}, t.variant === "outlined" && t.color !== "inherit" && {
|
|
15055
15055
|
color: (e.vars || e).palette[t.color].main,
|
|
15056
|
-
border: e.vars ? `1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)` : `1px solid ${
|
|
15056
|
+
border: e.vars ? `1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)` : `1px solid ${Ue(e.palette[t.color].main, 0.5)}`
|
|
15057
15057
|
}, t.variant === "contained" && {
|
|
15058
15058
|
color: e.vars ? (
|
|
15059
15059
|
// this is safe because grey does not change between default light/dark mode
|
|
@@ -15682,10 +15682,10 @@ function dg({ variant: e, theme: t, color: n, loadingPosition: r }) {
|
|
|
15682
15682
|
}
|
|
15683
15683
|
}, m = {
|
|
15684
15684
|
"&::after": {
|
|
15685
|
-
boxShadow: `0 0 6px 6px ${
|
|
15685
|
+
boxShadow: `0 0 6px 6px ${Ue(l, 0.9)}`
|
|
15686
15686
|
},
|
|
15687
15687
|
"&:active::after": {
|
|
15688
|
-
boxShadow: `0 0 0 0 ${
|
|
15688
|
+
boxShadow: `0 0 0 0 ${Ue(l, 0.9)}`
|
|
15689
15689
|
},
|
|
15690
15690
|
"&:focus-visible": {
|
|
15691
15691
|
outline: `2px solid ${u}`,
|
|
@@ -16707,7 +16707,7 @@ const Ao = /* @__PURE__ */ Yo(i7), Rb = ({ entityId: e, property: t, disabled: n
|
|
|
16707
16707
|
}),
|
|
16708
16708
|
[u, o == null ? void 0 : o.source, o == null ? void 0 : o.title]
|
|
16709
16709
|
), p = Pr();
|
|
16710
|
-
return
|
|
16710
|
+
return We(() => {
|
|
16711
16711
|
!u || !(u != null && u.userId) || A.getOne(r, { id: u == null ? void 0 : u.userId }).then(({ data: m }) => l(m)).catch(() => l(null));
|
|
16712
16712
|
}, [u, A, r]), /* @__PURE__ */ h(
|
|
16713
16713
|
Pb,
|
|
@@ -17442,7 +17442,7 @@ const y7 = ({ source: e, minWidth: t = 300, children: n }) => {
|
|
|
17442
17442
|
},
|
|
17443
17443
|
[f, r, e, o]
|
|
17444
17444
|
);
|
|
17445
|
-
return
|
|
17445
|
+
return We(() => l(pt.get(o, e)), [o, e]), n ? Le.cloneElement(n, {
|
|
17446
17446
|
...n.props,
|
|
17447
17447
|
source: e,
|
|
17448
17448
|
value: a,
|
|
@@ -17811,7 +17811,7 @@ const F7 = {
|
|
|
17811
17811
|
}, lQ = En(void 0);
|
|
17812
17812
|
function cQ(e) {
|
|
17813
17813
|
const t = !!(e.syncWithLocation ?? !0), n = !!(e.errorCount ?? !0), { rootMatchString: r } = e, { pathname: o } = Lu(), [a, l] = qB(k7, fe.cloneDeep(F7)), { formRootPath: u, items: A } = a, g = tt(() => ({ state: a, dispatch: l }), [a, l]);
|
|
17814
|
-
return
|
|
17814
|
+
return We(() => {
|
|
17815
17815
|
const f = [
|
|
17816
17816
|
"entities/:resource/create/*",
|
|
17817
17817
|
":resource/create/*",
|
|
@@ -17826,17 +17826,17 @@ function cQ(e) {
|
|
|
17826
17826
|
type: "setFormRootPath",
|
|
17827
17827
|
payload: p
|
|
17828
17828
|
});
|
|
17829
|
-
}, [o, u, r]),
|
|
17829
|
+
}, [o, u, r]), We(() => {
|
|
17830
17830
|
l({
|
|
17831
17831
|
type: "setSyncWithLocation",
|
|
17832
17832
|
payload: !!t
|
|
17833
17833
|
});
|
|
17834
|
-
}, [t, l]),
|
|
17834
|
+
}, [t, l]), We(() => {
|
|
17835
17835
|
l({
|
|
17836
17836
|
type: "setErrorCount",
|
|
17837
17837
|
payload: !!n
|
|
17838
17838
|
});
|
|
17839
|
-
}, [n, l]),
|
|
17839
|
+
}, [n, l]), We(() => {
|
|
17840
17840
|
var f;
|
|
17841
17841
|
if (t && u !== void 0) {
|
|
17842
17842
|
let C = o.replace(u, "").replace(new RegExp(/^\/?/), "");
|
|
@@ -18075,7 +18075,7 @@ var gg = (e) => {
|
|
|
18075
18075
|
bottom: n = !1
|
|
18076
18076
|
} = {}) => {
|
|
18077
18077
|
const [r, o] = Xe(null);
|
|
18078
|
-
return
|
|
18078
|
+
return We(() => {
|
|
18079
18079
|
if (!r || !Ys)
|
|
18080
18080
|
return;
|
|
18081
18081
|
const a = [];
|
|
@@ -18163,7 +18163,7 @@ function _p(e) {
|
|
|
18163
18163
|
},
|
|
18164
18164
|
[l, m]
|
|
18165
18165
|
), v = a !== void 0, P = fe.omit(e, ["label", "icon", "selected", "badge"]);
|
|
18166
|
-
return
|
|
18166
|
+
return We(() => {
|
|
18167
18167
|
r && !m && I(r);
|
|
18168
18168
|
}, [r, m, I]), /* @__PURE__ */ $(wn, { children: [
|
|
18169
18169
|
/* @__PURE__ */ h(Jc, { ...P, disablePadding: !0, children: /* @__PURE__ */ $(Tr, { selected: r && !g, onClick: B, sx: { pl: p * f }, children: [
|
|
@@ -18211,16 +18211,18 @@ function SQ(e) {
|
|
|
18211
18211
|
((B = I == null ? void 0 : I.props) == null ? void 0 : B.source) !== void 0 && p.push(I.props.source);
|
|
18212
18212
|
}));
|
|
18213
18213
|
const m = fe.chain(p).uniq().map((I) => fe.get(t, I)).reject((I) => I === void 0).value().length;
|
|
18214
|
-
return
|
|
18215
|
-
|
|
18216
|
-
|
|
18217
|
-
|
|
18218
|
-
|
|
18219
|
-
|
|
18220
|
-
|
|
18221
|
-
|
|
18214
|
+
return We(() => {
|
|
18215
|
+
g({
|
|
18216
|
+
id: A,
|
|
18217
|
+
index: l,
|
|
18218
|
+
label: r,
|
|
18219
|
+
icon: o,
|
|
18220
|
+
badge: a,
|
|
18221
|
+
errors: m
|
|
18222
|
+
});
|
|
18223
|
+
}, [g, f, r, o, A, a, l, m]), We(() => () => {
|
|
18222
18224
|
f(A);
|
|
18223
|
-
}
|
|
18225
|
+
}, [A]), /* @__PURE__ */ h(De, { display: C ? "unset" : "none", children: e.children });
|
|
18224
18226
|
}
|
|
18225
18227
|
function RQ(e) {
|
|
18226
18228
|
const t = $p(e), n = sf(e);
|
|
@@ -18883,7 +18885,7 @@ function vW(e) {
|
|
|
18883
18885
|
IW,
|
|
18884
18886
|
fe.chain(BW).clone().merge({ drawer: { open: !u || p } }).value()
|
|
18885
18887
|
), Q = ke(() => v(!1), []), T = tt(() => ({ state: P, dispatch: S }), [P, S]), { logoIcon: w, logoMain: k, enableNotification: M, notification: U } = e;
|
|
18886
|
-
return
|
|
18888
|
+
return We(() => {
|
|
18887
18889
|
S({
|
|
18888
18890
|
type: "updateMedia",
|
|
18889
18891
|
payload: {
|
|
@@ -18893,7 +18895,7 @@ function vW(e) {
|
|
|
18893
18895
|
horizontal: C
|
|
18894
18896
|
}
|
|
18895
18897
|
});
|
|
18896
|
-
}, [g, o, a, l]),
|
|
18898
|
+
}, [g, o, a, l]), We(() => {
|
|
18897
18899
|
S({
|
|
18898
18900
|
type: "updateDrawer",
|
|
18899
18901
|
payload: {
|
|
@@ -18902,9 +18904,9 @@ function vW(e) {
|
|
|
18902
18904
|
handleDrawerToggle: I
|
|
18903
18905
|
}
|
|
18904
18906
|
});
|
|
18905
|
-
}, [p, f, I]),
|
|
18907
|
+
}, [p, f, I]), We(() => {
|
|
18906
18908
|
u || m(!l);
|
|
18907
|
-
}, [l, u]),
|
|
18909
|
+
}, [l, u]), We(() => {
|
|
18908
18910
|
S({
|
|
18909
18911
|
type: "updateLogo",
|
|
18910
18912
|
payload: {
|
|
@@ -18912,7 +18914,7 @@ function vW(e) {
|
|
|
18912
18914
|
icon: w
|
|
18913
18915
|
}
|
|
18914
18916
|
});
|
|
18915
|
-
}, [w, k]),
|
|
18917
|
+
}, [w, k]), We(() => {
|
|
18916
18918
|
S({
|
|
18917
18919
|
type: "updateNotifications",
|
|
18918
18920
|
payload: {
|
|
@@ -18920,7 +18922,7 @@ function vW(e) {
|
|
|
18920
18922
|
resource: U ?? "entities/notification"
|
|
18921
18923
|
}
|
|
18922
18924
|
});
|
|
18923
|
-
}, [M, U]),
|
|
18925
|
+
}, [M, U]), We(() => {
|
|
18924
18926
|
S({
|
|
18925
18927
|
type: "updateTheme",
|
|
18926
18928
|
payload: {
|
|
@@ -18928,7 +18930,7 @@ function vW(e) {
|
|
|
18928
18930
|
iconColor: r.palette.mode === "dark" ? "background.default" : "grey.100"
|
|
18929
18931
|
}
|
|
18930
18932
|
});
|
|
18931
|
-
}, [r.palette.mode]),
|
|
18933
|
+
}, [r.palette.mode]), We(() => {
|
|
18932
18934
|
t.isImpersonating().then((H) => {
|
|
18933
18935
|
var J;
|
|
18934
18936
|
v(!H && ((J = n == null ? void 0 : n.data) == null ? void 0 : J.needToChangePassword) === !0);
|
|
@@ -19072,7 +19074,7 @@ function RW() {
|
|
|
19072
19074
|
readed: !1
|
|
19073
19075
|
}
|
|
19074
19076
|
});
|
|
19075
|
-
return
|
|
19077
|
+
return We(() => {
|
|
19076
19078
|
!B && I && f(I ?? []);
|
|
19077
19079
|
}, [I, B]), /* @__PURE__ */ $(De, { sx: { flexShrink: 0 }, children: [
|
|
19078
19080
|
/* @__PURE__ */ h(
|
|
@@ -19205,7 +19207,7 @@ const OW = () => {
|
|
|
19205
19207
|
() => t.stopImpersonate().then(() => document.location.href = "/"),
|
|
19206
19208
|
[t == null ? void 0 : t.stopImpersonating]
|
|
19207
19209
|
), [r, o] = Xe(!1);
|
|
19208
|
-
return
|
|
19210
|
+
return We(() => {
|
|
19209
19211
|
t.isImpersonating && t.isImpersonating().then((a) => o(a));
|
|
19210
19212
|
}, [t, o]), r ? /* @__PURE__ */ h(ho, { children: /* @__PURE__ */ $(Tr, { onClick: n, children: [
|
|
19211
19213
|
/* @__PURE__ */ h(yr, { children: /* @__PURE__ */ h(ZB, {}) }),
|
|
@@ -19222,7 +19224,7 @@ const kW = () => {
|
|
|
19222
19224
|
}, A = e.palette.mode === "dark" ? "grey.200" : "grey.300", g = jO(), f = Pu(), C = QB(), p = ke(() => {
|
|
19223
19225
|
g();
|
|
19224
19226
|
}, [C, g]), [m, I] = Xe(null);
|
|
19225
|
-
return
|
|
19227
|
+
return We(() => {
|
|
19226
19228
|
if (!n)
|
|
19227
19229
|
return;
|
|
19228
19230
|
async function v() {
|
|
@@ -20910,9 +20912,9 @@ var a1 = sh.default = void 0, pY = fY(hA()), hY = Tu, CY = (0, pY.default)(/* @_
|
|
|
20910
20912
|
a1 = sh.default = CY;
|
|
20911
20913
|
var mY = function(e) {
|
|
20912
20914
|
var t = e.children, n = e.editor, r = e.preferenceKey, o = e.openButtonLabel, a = o === void 0 ? "ra.configurable.customize" : o, l = e.sx, u = "preferences.".concat(r), A = aM(), g = !!A, f = $t(), C = A || {}, p = C.isEnabled, m = C.setEditor, I = C.preferenceKey, B = C.setPreferenceKey, v = u === I, P = Yn(v), S = Yn(null), Q = Xe(!1), T = Q[0], w = Q[1];
|
|
20913
|
-
if (
|
|
20915
|
+
if (We(function() {
|
|
20914
20916
|
P.current = v;
|
|
20915
|
-
}, [v]),
|
|
20917
|
+
}, [v]), We(function() {
|
|
20916
20918
|
return function() {
|
|
20917
20919
|
P.current && (B && B(null), m && m(null));
|
|
20918
20920
|
};
|
|
@@ -21067,7 +21069,7 @@ var mY = function(e) {
|
|
|
21067
21069
|
var t = e.defaultTitle, n = e.title, r = e.preferenceKey, o = QY(e, ["defaultTitle", "title", "preferenceKey"]), a = Xe(function() {
|
|
21068
21070
|
return typeof document < "u" ? document.getElementById("react-admin-title") : null;
|
|
21069
21071
|
}), l = a[0], u = a[1];
|
|
21070
|
-
return
|
|
21072
|
+
return We(function() {
|
|
21071
21073
|
u(function(A) {
|
|
21072
21074
|
var g = typeof document < "u" && document.body.contains(A);
|
|
21073
21075
|
return A && g ? A : typeof document < "u" ? document.getElementById("react-admin-title") : null;
|
|
@@ -21085,7 +21087,7 @@ s1.propTypes = {
|
|
|
21085
21087
|
};
|
|
21086
21088
|
var xY = function(e) {
|
|
21087
21089
|
var t = Lu().pathname, n = Yn(t);
|
|
21088
|
-
|
|
21090
|
+
We(function() {
|
|
21089
21091
|
t !== n.current && e();
|
|
21090
21092
|
}, [t, e]);
|
|
21091
21093
|
}, wY = function(t, n) {
|
|
@@ -22965,7 +22967,7 @@ const lG = (e) => {
|
|
|
22965
22967
|
theme: e,
|
|
22966
22968
|
ownerState: t
|
|
22967
22969
|
}) => j({
|
|
22968
|
-
backgroundColor: e.vars ? e.vars.palette.Tooltip.bg :
|
|
22970
|
+
backgroundColor: e.vars ? e.vars.palette.Tooltip.bg : Ue(e.palette.grey[700], 0.92),
|
|
22969
22971
|
borderRadius: (e.vars || e).shape.borderRadius,
|
|
22970
22972
|
color: (e.vars || e).palette.common.white,
|
|
22971
22973
|
fontFamily: e.typography.fontFamily,
|
|
@@ -23030,7 +23032,7 @@ const lG = (e) => {
|
|
|
23030
23032
|
width: "1em",
|
|
23031
23033
|
height: "0.71em",
|
|
23032
23034
|
boxSizing: "border-box",
|
|
23033
|
-
color: e.vars ? e.vars.palette.Tooltip.bg :
|
|
23035
|
+
color: e.vars ? e.vars.palette.Tooltip.bg : Ue(e.palette.grey[700], 0.9),
|
|
23034
23036
|
"&::before": {
|
|
23035
23037
|
content: '""',
|
|
23036
23038
|
margin: "auto",
|
|
@@ -23094,12 +23096,12 @@ const b1 = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
23094
23096
|
let Et = Ge;
|
|
23095
23097
|
if (process.env.NODE_ENV !== "production") {
|
|
23096
23098
|
const {
|
|
23097
|
-
current:
|
|
23099
|
+
current: ze
|
|
23098
23100
|
} = O.useRef(ue !== void 0);
|
|
23099
23101
|
O.useEffect(() => {
|
|
23100
|
-
Rt && Rt.disabled && !
|
|
23102
|
+
Rt && Rt.disabled && !ze && be !== "" && Rt.tagName.toLowerCase() === "button" && console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.", "A disabled element does not fire events.", "Tooltip needs to listen to the child element's events to display the title.", "", "Add a simple wrapper element, such as a `span`."].join(`
|
|
23101
23103
|
`));
|
|
23102
|
-
}, [be, Rt,
|
|
23104
|
+
}, [be, Rt, ze]);
|
|
23103
23105
|
}
|
|
23104
23106
|
const Ke = Xf(N), Qe = O.useRef(), Kt = O.useCallback(() => {
|
|
23105
23107
|
Qe.current !== void 0 && (document.body.style.WebkitUserSelect = Qe.current, Qe.current = void 0), clearTimeout(xe.current);
|
|
@@ -23107,66 +23109,66 @@ const b1 = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
23107
23109
|
O.useEffect(() => () => {
|
|
23108
23110
|
clearTimeout(Gt.current), clearTimeout(Pe.current), clearTimeout(Ne.current), Kt();
|
|
23109
23111
|
}, [Kt]);
|
|
23110
|
-
const Or = (
|
|
23111
|
-
clearTimeout(mg), Rc = !0, we(!0), se && !Et && se(
|
|
23112
|
+
const Or = (ze) => {
|
|
23113
|
+
clearTimeout(mg), Rc = !0, we(!0), se && !Et && se(ze);
|
|
23112
23114
|
}, pr = Mo(
|
|
23113
23115
|
/**
|
|
23114
23116
|
* @param {React.SyntheticEvent | Event} event
|
|
23115
23117
|
*/
|
|
23116
|
-
(
|
|
23118
|
+
(ze) => {
|
|
23117
23119
|
clearTimeout(mg), mg = setTimeout(() => {
|
|
23118
23120
|
Rc = !1;
|
|
23119
|
-
}, 800 + K), we(!1), Ae && Et && Ae(
|
|
23121
|
+
}, 800 + K), we(!1), Ae && Et && Ae(ze), clearTimeout(Gt.current), Gt.current = setTimeout(() => {
|
|
23120
23122
|
mt.current = !1;
|
|
23121
23123
|
}, xt.transitions.duration.shortest);
|
|
23122
23124
|
}
|
|
23123
|
-
), Xo = (
|
|
23124
|
-
mt.current &&
|
|
23125
|
-
Or(
|
|
23126
|
-
}, Rc ? z : L) : Or(
|
|
23127
|
-
}, Di = (
|
|
23125
|
+
), Xo = (ze) => {
|
|
23126
|
+
mt.current && ze.type !== "touchstart" || (Rt && Rt.removeAttribute("title"), clearTimeout(Pe.current), clearTimeout(Ne.current), L || Rc && z ? Pe.current = setTimeout(() => {
|
|
23127
|
+
Or(ze);
|
|
23128
|
+
}, Rc ? z : L) : Or(ze));
|
|
23129
|
+
}, Di = (ze) => {
|
|
23128
23130
|
clearTimeout(Pe.current), clearTimeout(Ne.current), Ne.current = setTimeout(() => {
|
|
23129
|
-
pr(
|
|
23131
|
+
pr(ze);
|
|
23130
23132
|
}, K);
|
|
23131
23133
|
}, {
|
|
23132
23134
|
isFocusVisibleRef: Bl,
|
|
23133
23135
|
onBlur: IA,
|
|
23134
23136
|
onFocus: BA,
|
|
23135
23137
|
ref: vl
|
|
23136
|
-
} = Zf(), [, Ga] = O.useState(!1), yl = (
|
|
23137
|
-
IA(
|
|
23138
|
-
}, bl = (
|
|
23139
|
-
Rt || Rr(
|
|
23140
|
-
}, Ql = (
|
|
23138
|
+
} = Zf(), [, Ga] = O.useState(!1), yl = (ze) => {
|
|
23139
|
+
IA(ze), Bl.current === !1 && (Ga(!1), Di(ze));
|
|
23140
|
+
}, bl = (ze) => {
|
|
23141
|
+
Rt || Rr(ze.currentTarget), BA(ze), Bl.current === !0 && (Ga(!0), Xo(ze));
|
|
23142
|
+
}, Ql = (ze) => {
|
|
23141
23143
|
mt.current = !0;
|
|
23142
23144
|
const en = rt.props;
|
|
23143
|
-
en.onTouchStart && en.onTouchStart(
|
|
23144
|
-
}, xl = Xo, Ka = Di, vA = (
|
|
23145
|
-
Ql(
|
|
23146
|
-
document.body.style.WebkitUserSelect = Qe.current, Xo(
|
|
23145
|
+
en.onTouchStart && en.onTouchStart(ze);
|
|
23146
|
+
}, xl = Xo, Ka = Di, vA = (ze) => {
|
|
23147
|
+
Ql(ze), clearTimeout(Ne.current), clearTimeout(Gt.current), Kt(), Qe.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", xe.current = setTimeout(() => {
|
|
23148
|
+
document.body.style.WebkitUserSelect = Qe.current, Xo(ze);
|
|
23147
23149
|
}, D);
|
|
23148
|
-
}, yA = (
|
|
23149
|
-
rt.props.onTouchEnd && rt.props.onTouchEnd(
|
|
23150
|
-
pr(
|
|
23150
|
+
}, yA = (ze) => {
|
|
23151
|
+
rt.props.onTouchEnd && rt.props.onTouchEnd(ze), Kt(), clearTimeout(Ne.current), Ne.current = setTimeout(() => {
|
|
23152
|
+
pr(ze);
|
|
23151
23153
|
}, ce);
|
|
23152
23154
|
};
|
|
23153
23155
|
O.useEffect(() => {
|
|
23154
23156
|
if (!Et)
|
|
23155
23157
|
return;
|
|
23156
|
-
function
|
|
23158
|
+
function ze(en) {
|
|
23157
23159
|
(en.key === "Escape" || en.key === "Esc") && pr(en);
|
|
23158
23160
|
}
|
|
23159
|
-
return document.addEventListener("keydown",
|
|
23160
|
-
document.removeEventListener("keydown",
|
|
23161
|
+
return document.addEventListener("keydown", ze), () => {
|
|
23162
|
+
document.removeEventListener("keydown", ze);
|
|
23161
23163
|
};
|
|
23162
23164
|
}, [pr, Et]);
|
|
23163
23165
|
const bA = Un(rt.ref, vl, Rr, n);
|
|
23164
23166
|
!be && be !== 0 && (Et = !1);
|
|
23165
|
-
const Zo = O.useRef(), QA = (
|
|
23167
|
+
const Zo = O.useRef(), QA = (ze) => {
|
|
23166
23168
|
const en = rt.props;
|
|
23167
|
-
en.onMouseMove && en.onMouseMove(
|
|
23168
|
-
x:
|
|
23169
|
-
y:
|
|
23169
|
+
en.onMouseMove && en.onMouseMove(ze), ms = {
|
|
23170
|
+
x: ze.clientX,
|
|
23171
|
+
y: ze.clientY
|
|
23170
23172
|
}, Zo.current && Zo.current.update();
|
|
23171
23173
|
}, Gr = {}, qa = typeof be == "string";
|
|
23172
23174
|
J ? (Gr.title = !Et && qa && !re ? be : null, Gr["aria-describedby"] = Et ? Ke : null) : (Gr["aria-label"] = qa ? be : null, Gr["aria-labelledby"] = Et && !qa ? Ke : null);
|
|
@@ -23185,7 +23187,7 @@ const b1 = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
23185
23187
|
Y || (In.onTouchStart = vA, In.onTouchEnd = yA), re || (In.onMouseOver = Oc(xl, In.onMouseOver), In.onMouseLeave = Oc(Ka, In.onMouseLeave), Ut || (_o.onMouseOver = xl, _o.onMouseLeave = Ka)), ae || (In.onFocus = Oc(bl, In.onFocus), In.onBlur = Oc(yl, In.onBlur), Ut || (_o.onFocus = bl, _o.onBlur = yl)), process.env.NODE_ENV !== "production" && rt.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${rt.props.title}\` or the Tooltip component.`].join(`
|
|
23186
23188
|
`));
|
|
23187
23189
|
const xA = O.useMemo(() => {
|
|
23188
|
-
var
|
|
23190
|
+
var ze;
|
|
23189
23191
|
let en = [{
|
|
23190
23192
|
name: "arrow",
|
|
23191
23193
|
enabled: !!wt,
|
|
@@ -23194,7 +23196,7 @@ const b1 = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
23194
23196
|
padding: 4
|
|
23195
23197
|
}
|
|
23196
23198
|
}];
|
|
23197
|
-
return (
|
|
23199
|
+
return (ze = pe.popperOptions) != null && ze.modifiers && (en = en.concat(pe.popperOptions.modifiers)), j({}, pe.popperOptions, {
|
|
23198
23200
|
modifiers: en
|
|
23199
23201
|
});
|
|
23200
23202
|
}, [wt, pe]), $o = j({}, k, {
|
|
@@ -23232,10 +23234,10 @@ const b1 = /* @__PURE__ */ O.forwardRef(function(t, n) {
|
|
|
23232
23234
|
}, _o, wA, {
|
|
23233
23235
|
popperOptions: xA,
|
|
23234
23236
|
children: ({
|
|
23235
|
-
TransitionProps:
|
|
23237
|
+
TransitionProps: ze
|
|
23236
23238
|
}) => /* @__PURE__ */ h(Tl, j({
|
|
23237
23239
|
timeout: xt.transitions.duration.shorter
|
|
23238
|
-
},
|
|
23240
|
+
}, ze, TA, {
|
|
23239
23241
|
children: /* @__PURE__ */ $(Xa, j({}, PA, {
|
|
23240
23242
|
children: [be, M ? /* @__PURE__ */ h(Pl, j({}, SA, {
|
|
23241
23243
|
ref: yt
|
|
@@ -25465,7 +25467,7 @@ const QX = le(HJ)({
|
|
|
25465
25467
|
maxHeight: "100%",
|
|
25466
25468
|
"& .simplebar-scrollbar": {
|
|
25467
25469
|
"&:before": {
|
|
25468
|
-
backgroundColor:
|
|
25470
|
+
backgroundColor: Ue(e.palette.grey[500], 0.48)
|
|
25469
25471
|
},
|
|
25470
25472
|
"&.simplebar-visible:before": {
|
|
25471
25473
|
opacity: 1
|
|
@@ -25562,7 +25564,7 @@ const Fs = ({ item: e, level: t }) => {
|
|
|
25562
25564
|
};
|
|
25563
25565
|
e != null && e.external && (f = { component: "a", href: e.url, target: g });
|
|
25564
25566
|
const C = e.icon, p = e.icon ? /* @__PURE__ */ h(C, { style: { fontSize: a ? "1rem" : "1.25rem" } }) : !1, m = l.findIndex((P) => P === e.id) > -1, { pathname: I } = Oa();
|
|
25565
|
-
|
|
25567
|
+
We(() => {
|
|
25566
25568
|
I.endsWith(e.url) && u([e.id]);
|
|
25567
25569
|
}, [I]);
|
|
25568
25570
|
const B = n.palette.mode === "dark" ? "grey.400" : "text.primary", v = n.palette.mode === "dark" && a ? "text.primary" : "primary.main";
|
|
@@ -25793,12 +25795,12 @@ const J0 = le(tl)(({ theme: e }) => ({
|
|
|
25793
25795
|
K.url === k && (m(!0), B(N));
|
|
25794
25796
|
});
|
|
25795
25797
|
};
|
|
25796
|
-
|
|
25798
|
+
We(() => {
|
|
25797
25799
|
m(!1), B(null), M && P(null), e.children && e.children.forEach((X) => {
|
|
25798
25800
|
var N;
|
|
25799
25801
|
(N = X.children) != null && N.length && U(X.children, e.id), X.url === k && (B(e.id), m(!0)), k.includes(X.url) && (B(e.id), m(!0));
|
|
25800
25802
|
});
|
|
25801
|
-
}, [k, e.children]),
|
|
25803
|
+
}, [k, e.children]), We(() => {
|
|
25802
25804
|
e.url === k && I !== e.id && (A([e.id]), B(e.id), P(null), m(!0));
|
|
25803
25805
|
}, [k, e, I, A]);
|
|
25804
25806
|
const G = (D = e.children) == null ? void 0 : D.map((X) => {
|
|
@@ -26053,7 +26055,7 @@ const SX = le(tl)(({ theme: e }) => ({
|
|
|
26053
26055
|
})), Jx = ({ item: e, lastItem: t, remItems: n, lastItemId: r, setSelectedItems: o, selectedItems: a, setSelectedLevel: l, selectedLevel: u }) => {
|
|
26054
26056
|
var L, z;
|
|
26055
26057
|
const A = Dt(), g = Pr(), { pathname: f } = { pathname: "" }, { horizontal: C, downLg: p } = Sr(), m = Ti(), { drawerOpen: I, selectedID: B } = m, { activeID: v } = Ti(), [P, S] = Xe(null), [Q, T] = Xe(e), w = !!P;
|
|
26056
|
-
|
|
26058
|
+
We(() => {
|
|
26057
26059
|
if (t)
|
|
26058
26060
|
if (e.id === r) {
|
|
26059
26061
|
const D = { ...e }, X = n.map((N) => N.elements);
|
|
@@ -26072,7 +26074,7 @@ const SX = le(tl)(({ theme: e }) => ({
|
|
|
26072
26074
|
(K = N.children) != null && K.length && k(N.children, Q.id), N.url === f && v(Q.id);
|
|
26073
26075
|
});
|
|
26074
26076
|
};
|
|
26075
|
-
|
|
26077
|
+
We(() => {
|
|
26076
26078
|
M(Q), w && S(null);
|
|
26077
26079
|
}, [f, Q]);
|
|
26078
26080
|
const U = (D) => {
|
|
@@ -26642,7 +26644,7 @@ const GX = le(
|
|
|
26642
26644
|
}
|
|
26643
26645
|
})), Zx = ({ children: e }) => {
|
|
26644
26646
|
const t = Oa(), { pathname: n } = t;
|
|
26645
|
-
return
|
|
26647
|
+
return We(() => {
|
|
26646
26648
|
window.scrollTo({
|
|
26647
26649
|
top: 0,
|
|
26648
26650
|
left: 0,
|
|
@@ -27038,7 +27040,7 @@ const mi = "RaBulkActionsToolbar", vr = {
|
|
|
27038
27040
|
expandSingle: T = !1,
|
|
27039
27041
|
...w
|
|
27040
27042
|
} = e, { sort: k, data: M, isLoading: U, onSelect: G, onToggleItem: H, selectedIds: J, setSort: ae, total: re } = Kf(e), q = !!f, Y = tt(() => ({ isRowExpandable: m, expandSingle: T }), [m, T]), L = Yn(null);
|
|
27041
|
-
|
|
27043
|
+
We(() => {
|
|
27042
27044
|
(!J || J.length === 0) && (L.current = null);
|
|
27043
27045
|
}, [JSON.stringify(J)]);
|
|
27044
27046
|
const z = ke(
|
|
@@ -27902,7 +27904,7 @@ El.propTypes = {
|
|
|
27902
27904
|
};
|
|
27903
27905
|
const IZ = ({ name: e, copy: t, version: n, background: r }) => {
|
|
27904
27906
|
const o = $t(), a = Ma(), l = Da(), u = zf(), { token: A } = N3();
|
|
27905
|
-
return
|
|
27907
|
+
return We(() => {
|
|
27906
27908
|
if (typeof a.activate != "function")
|
|
27907
27909
|
throw new Error("The authProvider used for the ActivatePage must define an activate() method");
|
|
27908
27910
|
a.activate(A).then(() => {
|
|
@@ -27925,7 +27927,7 @@ IZ.propTypes = {
|
|
|
27925
27927
|
};
|
|
27926
27928
|
const Th = ({ version: e, name: t, copy: n, enablePasswordRecover: r, enableRegistration: o, redirectTo: a, background: l }) => {
|
|
27927
27929
|
const [u, A] = mM(!1), g = EM(), f = $t(), C = Da(), p = IM(), m = zf();
|
|
27928
|
-
|
|
27930
|
+
We(() => {
|
|
27929
27931
|
p({}, !1).then(() => {
|
|
27930
27932
|
m("/");
|
|
27931
27933
|
}).catch(() => {
|
|
@@ -28062,21 +28064,21 @@ const bZ = (e) => ({
|
|
|
28062
28064
|
// z1: `0px 2px 8px rgba(0, 0, 0, 0.15)`,
|
|
28063
28065
|
button: e.palette.mode === "dark" ? "0 2px 0 rgb(0 0 0 / 5%)" : "0 2px #0000000b",
|
|
28064
28066
|
text: "0 -1px 0 rgb(0 0 0 / 12%)",
|
|
28065
|
-
z1: e.palette.mode === "dark" ? "0px 1px 1px rgb(0 0 0 / 14%), 0px 2px 1px rgb(0 0 0 / 12%), 0px 1px 3px rgb(0 0 0 / 20%)" : `0px 1px 4px ${
|
|
28066
|
-
primary: `0 0 0 2px ${
|
|
28067
|
-
secondary: `0 0 0 2px ${
|
|
28068
|
-
error: `0 0 0 2px ${
|
|
28069
|
-
warning: `0 0 0 2px ${
|
|
28070
|
-
info: `0 0 0 2px ${
|
|
28071
|
-
success: `0 0 0 2px ${
|
|
28072
|
-
grey: `0 0 0 2px ${
|
|
28073
|
-
primaryButton: `0 14px 12px ${
|
|
28074
|
-
secondaryButton: `0 14px 12px ${
|
|
28075
|
-
errorButton: `0 14px 12px ${
|
|
28076
|
-
warningButton: `0 14px 12px ${
|
|
28077
|
-
infoButton: `0 14px 12px ${
|
|
28078
|
-
successButton: `0 14px 12px ${
|
|
28079
|
-
greyButton: `0 14px 12px ${
|
|
28067
|
+
z1: e.palette.mode === "dark" ? "0px 1px 1px rgb(0 0 0 / 14%), 0px 2px 1px rgb(0 0 0 / 12%), 0px 1px 3px rgb(0 0 0 / 20%)" : `0px 1px 4px ${Ue(e.palette.grey[900], 0.08)}`,
|
|
28068
|
+
primary: `0 0 0 2px ${Ue(e.palette.primary.main, 0.2)}`,
|
|
28069
|
+
secondary: `0 0 0 2px ${Ue(e.palette.secondary.main, 0.2)}`,
|
|
28070
|
+
error: `0 0 0 2px ${Ue(e.palette.error.main, 0.2)}`,
|
|
28071
|
+
warning: `0 0 0 2px ${Ue(e.palette.warning.main, 0.2)}`,
|
|
28072
|
+
info: `0 0 0 2px ${Ue(e.palette.info.main, 0.2)}`,
|
|
28073
|
+
success: `0 0 0 2px ${Ue(e.palette.success.main, 0.2)}`,
|
|
28074
|
+
grey: `0 0 0 2px ${Ue(e.palette.grey[500], 0.2)}`,
|
|
28075
|
+
primaryButton: `0 14px 12px ${Ue(e.palette.primary.main, 0.2)}`,
|
|
28076
|
+
secondaryButton: `0 14px 12px ${Ue(e.palette.secondary.main, 0.2)}`,
|
|
28077
|
+
errorButton: `0 14px 12px ${Ue(e.palette.error.main, 0.2)}`,
|
|
28078
|
+
warningButton: `0 14px 12px ${Ue(e.palette.warning.main, 0.2)}`,
|
|
28079
|
+
infoButton: `0 14px 12px ${Ue(e.palette.info.main, 0.2)}`,
|
|
28080
|
+
successButton: `0 14px 12px ${Ue(e.palette.success.main, 0.2)}`,
|
|
28081
|
+
greyButton: `0 14px 12px ${Ue(e.palette.grey[500], 0.2)}`
|
|
28080
28082
|
});
|
|
28081
28083
|
function cr(e, t) {
|
|
28082
28084
|
QZ(e) && (e = "100%");
|
|
@@ -29311,14 +29313,14 @@ const JZ = (e, t) => {
|
|
|
29311
29313
|
},
|
|
29312
29314
|
...l,
|
|
29313
29315
|
text: {
|
|
29314
|
-
primary: e === "dark" ?
|
|
29315
|
-
secondary: e === "dark" ?
|
|
29316
|
-
disabled: e === "dark" ?
|
|
29316
|
+
primary: e === "dark" ? Ue(l.grey[900], 0.87) : l.grey[700],
|
|
29317
|
+
secondary: e === "dark" ? Ue(l.grey[900], 0.45) : l.grey[500],
|
|
29318
|
+
disabled: e === "dark" ? Ue(l.grey[900], 0.1) : l.grey[400]
|
|
29317
29319
|
},
|
|
29318
29320
|
action: {
|
|
29319
29321
|
disabled: l.grey[300]
|
|
29320
29322
|
},
|
|
29321
|
-
divider: e === "dark" ?
|
|
29323
|
+
divider: e === "dark" ? Ue(l.grey[900], 0.05) : l.grey[200],
|
|
29322
29324
|
background: {
|
|
29323
29325
|
paper: e === "dark" ? l.grey[100] : l.grey[0],
|
|
29324
29326
|
default: l.grey.A50
|
|
@@ -29459,7 +29461,7 @@ function $Z(e) {
|
|
|
29459
29461
|
function Ai({ color: e, theme: t }) {
|
|
29460
29462
|
const n = gn(t, e), { lighter: r, light: o, main: a } = n;
|
|
29461
29463
|
return {
|
|
29462
|
-
borderColor:
|
|
29464
|
+
borderColor: Ue(o, 0.5),
|
|
29463
29465
|
backgroundColor: r,
|
|
29464
29466
|
"& .MuiAlert-icon": {
|
|
29465
29467
|
color: a
|
|
@@ -29588,10 +29590,10 @@ function r_(e) {
|
|
|
29588
29590
|
function ot({ variant: e, color: t, theme: n }) {
|
|
29589
29591
|
const r = gn(n, t), { lighter: o, main: a, dark: l, contrastText: u } = r, A = `${t}Button`, g = ja(n, A), f = {
|
|
29590
29592
|
"&::after": {
|
|
29591
|
-
boxShadow: `0 0 5px 5px ${
|
|
29593
|
+
boxShadow: `0 0 5px 5px ${Ue(a, 0.9)}`
|
|
29592
29594
|
},
|
|
29593
29595
|
"&:active::after": {
|
|
29594
|
-
boxShadow: `0 0 0 0 ${
|
|
29596
|
+
boxShadow: `0 0 0 0 ${Ue(a, 0.9)}`
|
|
29595
29597
|
},
|
|
29596
29598
|
"&:focus-visible": {
|
|
29597
29599
|
outline: `2px solid ${l}`,
|
|
@@ -30014,7 +30016,7 @@ function A_() {
|
|
|
30014
30016
|
styleOverrides: {
|
|
30015
30017
|
root: {
|
|
30016
30018
|
"& .MuiBackdrop-root": {
|
|
30017
|
-
backgroundColor:
|
|
30019
|
+
backgroundColor: Ue("#000", 0.7)
|
|
30018
30020
|
}
|
|
30019
30021
|
}
|
|
30020
30022
|
}
|
|
@@ -30061,11 +30063,11 @@ function oa({ color: e, theme: t }) {
|
|
|
30061
30063
|
},
|
|
30062
30064
|
"&::after": {
|
|
30063
30065
|
borderRadius: "50px",
|
|
30064
|
-
boxShadow: `0 0 5px 5px ${
|
|
30066
|
+
boxShadow: `0 0 5px 5px ${Ue(r, 0.9)}`
|
|
30065
30067
|
},
|
|
30066
30068
|
"&:active::after": {
|
|
30067
30069
|
borderRadius: "50px",
|
|
30068
|
-
boxShadow: `0 0 0 0 ${
|
|
30070
|
+
boxShadow: `0 0 0 0 ${Ue(r, 0.9)}`
|
|
30069
30071
|
}
|
|
30070
30072
|
};
|
|
30071
30073
|
}
|
|
@@ -31289,7 +31291,7 @@ const O$ = ({ apiUrl: e, endpoint: t = "/languages/load", mapper: n = ({ data: r
|
|
|
31289
31291
|
};
|
|
31290
31292
|
function X_(e) {
|
|
31291
31293
|
const [t, n] = Xe(), r = z8(e);
|
|
31292
|
-
return
|
|
31294
|
+
return We(() => {
|
|
31293
31295
|
J_(r).then((o) => {
|
|
31294
31296
|
n(o);
|
|
31295
31297
|
}).catch(() => {
|