@ukpc-lib/react 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.cjs +4 -4
- package/dist/components/index.js +409 -409
- package/dist/share/index.cjs +18 -18
- package/dist/share/index.js +244 -254
- package/package.json +1 -1
- package/web-components-bundle/global-menu/index.cjs +11 -12
- package/web-components-bundle/global-menu/index.js +842 -861
package/dist/share/index.js
CHANGED
|
@@ -98,7 +98,7 @@ const Fn = {
|
|
|
98
98
|
A200: "#ffab40",
|
|
99
99
|
A400: "#ff9100",
|
|
100
100
|
A700: "#ff6d00"
|
|
101
|
-
}, Ne = Bn,
|
|
101
|
+
}, Ne = Bn, Yn = {
|
|
102
102
|
50: "#fafafa",
|
|
103
103
|
100: "#f5f5f5",
|
|
104
104
|
200: "#eeeeee",
|
|
@@ -113,7 +113,7 @@ const Fn = {
|
|
|
113
113
|
A200: "#eeeeee",
|
|
114
114
|
A400: "#bdbdbd",
|
|
115
115
|
A700: "#616161"
|
|
116
|
-
},
|
|
116
|
+
}, Gn = Yn;
|
|
117
117
|
function xe(e) {
|
|
118
118
|
let r = "https://mui.com/production-error/?code=" + e;
|
|
119
119
|
for (let t = 1; t < arguments.length; t += 1)
|
|
@@ -203,16 +203,16 @@ function je(e, r, t) {
|
|
|
203
203
|
function oe(e) {
|
|
204
204
|
return e.length;
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Yr(e) {
|
|
207
207
|
return e.length;
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function Ge(e, r) {
|
|
210
210
|
return r.push(e), e;
|
|
211
211
|
}
|
|
212
212
|
function oo(e, r) {
|
|
213
213
|
return e.map(r).join("");
|
|
214
214
|
}
|
|
215
|
-
var or = 1, Se = 1, tn = 0,
|
|
215
|
+
var or = 1, Se = 1, tn = 0, G = 0, z = 0, $e = "";
|
|
216
216
|
function sr(e, r, t, n, o, s, i) {
|
|
217
217
|
return { value: e, root: r, parent: t, type: n, props: o, children: s, line: or, column: Se, length: i, return: "" };
|
|
218
218
|
}
|
|
@@ -223,16 +223,16 @@ function so() {
|
|
|
223
223
|
return z;
|
|
224
224
|
}
|
|
225
225
|
function io() {
|
|
226
|
-
return z =
|
|
226
|
+
return z = G > 0 ? U($e, --G) : 0, Se--, z === 10 && (Se = 1, or--), z;
|
|
227
227
|
}
|
|
228
228
|
function q() {
|
|
229
|
-
return z =
|
|
229
|
+
return z = G < tn ? U($e, G++) : 0, Se++, z === 10 && (Se = 1, or++), z;
|
|
230
230
|
}
|
|
231
231
|
function se() {
|
|
232
|
-
return U($e,
|
|
232
|
+
return U($e, G);
|
|
233
233
|
}
|
|
234
234
|
function Ke() {
|
|
235
|
-
return
|
|
235
|
+
return G;
|
|
236
236
|
}
|
|
237
237
|
function ze(e, r) {
|
|
238
238
|
return je($e, e, r);
|
|
@@ -270,13 +270,13 @@ function De(e) {
|
|
|
270
270
|
return 0;
|
|
271
271
|
}
|
|
272
272
|
function nn(e) {
|
|
273
|
-
return or = Se = 1, tn = oe($e = e),
|
|
273
|
+
return or = Se = 1, tn = oe($e = e), G = 0, [];
|
|
274
274
|
}
|
|
275
275
|
function on(e) {
|
|
276
276
|
return $e = "", e;
|
|
277
277
|
}
|
|
278
278
|
function qe(e) {
|
|
279
|
-
return rn(ze(
|
|
279
|
+
return rn(ze(G - 1, Dr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
280
280
|
}
|
|
281
281
|
function ao(e) {
|
|
282
282
|
for (; (z = se()) && z < 33; )
|
|
@@ -292,7 +292,7 @@ function Dr(e) {
|
|
|
292
292
|
for (; q(); )
|
|
293
293
|
switch (z) {
|
|
294
294
|
case e:
|
|
295
|
-
return
|
|
295
|
+
return G;
|
|
296
296
|
case 34:
|
|
297
297
|
case 39:
|
|
298
298
|
e !== 34 && e !== 39 && Dr(z);
|
|
@@ -304,18 +304,18 @@ function Dr(e) {
|
|
|
304
304
|
q();
|
|
305
305
|
break;
|
|
306
306
|
}
|
|
307
|
-
return
|
|
307
|
+
return G;
|
|
308
308
|
}
|
|
309
309
|
function uo(e, r) {
|
|
310
310
|
for (; q() && e + z !== 47 + 10; )
|
|
311
311
|
if (e + z === 42 + 42 && se() === 47)
|
|
312
312
|
break;
|
|
313
|
-
return "/*" + ze(r,
|
|
313
|
+
return "/*" + ze(r, G - 1) + "*" + nr(e === 47 ? e : q());
|
|
314
314
|
}
|
|
315
315
|
function lo(e) {
|
|
316
316
|
for (; !De(se()); )
|
|
317
317
|
q();
|
|
318
|
-
return ze(e,
|
|
318
|
+
return ze(e, G);
|
|
319
319
|
}
|
|
320
320
|
function fo(e) {
|
|
321
321
|
return on(He("", null, null, null, [""], e = nn(e), 0, [0], e));
|
|
@@ -346,7 +346,7 @@ function He(e, r, t, n, o, s, i, a, c) {
|
|
|
346
346
|
switch (se()) {
|
|
347
347
|
case 42:
|
|
348
348
|
case 47:
|
|
349
|
-
|
|
349
|
+
Ge(po(uo(q(), Ke()), r, t), c);
|
|
350
350
|
break;
|
|
351
351
|
default:
|
|
352
352
|
O += "/";
|
|
@@ -362,12 +362,12 @@ function He(e, r, t, n, o, s, i, a, c) {
|
|
|
362
362
|
case 125:
|
|
363
363
|
p = 0;
|
|
364
364
|
case 59 + l:
|
|
365
|
-
v == -1 && (O = P(O, /\f/g, "")), b > 0 && oe(O) - m &&
|
|
365
|
+
v == -1 && (O = P(O, /\f/g, "")), b > 0 && oe(O) - m && Ge(b > 32 ? st(O + ";", n, t, m - 1) : st(P(O, " ", "") + ";", n, t, m - 2), c);
|
|
366
366
|
break;
|
|
367
367
|
case 59:
|
|
368
368
|
O += ";";
|
|
369
369
|
default:
|
|
370
|
-
if (
|
|
370
|
+
if (Ge(N = ot(O, r, t, u, l, o, a, $, S = [], h = [], m), s), C === 123)
|
|
371
371
|
if (l === 0)
|
|
372
372
|
He(O, r, N, N, S, s, m, a, h);
|
|
373
373
|
else
|
|
@@ -376,7 +376,7 @@ function He(e, r, t, n, o, s, i, a, c) {
|
|
|
376
376
|
case 108:
|
|
377
377
|
case 109:
|
|
378
378
|
case 115:
|
|
379
|
-
He(e, N, N, n &&
|
|
379
|
+
He(e, N, N, n && Ge(ot(e, N, N, 0, 0, o, a, $, o, S = [], m), h), o, h, m, a, n ? S : h);
|
|
380
380
|
break;
|
|
381
381
|
default:
|
|
382
382
|
He(O, N, N, N, [""], h, 0, a, h);
|
|
@@ -410,7 +410,7 @@ function He(e, r, t, n, o, s, i, a, c) {
|
|
|
410
410
|
return s;
|
|
411
411
|
}
|
|
412
412
|
function ot(e, r, t, n, o, s, i, a, c, u, l) {
|
|
413
|
-
for (var m = o - 1, d = o === 0 ? s : [""], b =
|
|
413
|
+
for (var m = o - 1, d = o === 0 ? s : [""], b = Yr(d), g = 0, f = 0, p = 0; g < n; ++g)
|
|
414
414
|
for (var v = 0, C = je(e, m + 1, m = eo(f = i[g])), $ = e; v < b; ++v)
|
|
415
415
|
($ = rn(f > 0 ? d[v] + " " + C : P(C, /&\f/g, d[v]))) && (c[p++] = $);
|
|
416
416
|
return sr(e, r, t, o === 0 ? Wr : a, c, u, l);
|
|
@@ -422,7 +422,7 @@ function st(e, r, t, n) {
|
|
|
422
422
|
return sr(e, r, t, Br, je(e, 0, n), je(e, n + 1, -1), n);
|
|
423
423
|
}
|
|
424
424
|
function be(e, r) {
|
|
425
|
-
for (var t = "", n =
|
|
425
|
+
for (var t = "", n = Yr(e), o = 0; o < n; o++)
|
|
426
426
|
t += r(e[o], o, e, r) || "";
|
|
427
427
|
return t;
|
|
428
428
|
}
|
|
@@ -444,7 +444,7 @@ function mo(e, r, t, n) {
|
|
|
444
444
|
return oe(t = be(e.children, n)) ? e.return = e.value + "{" + t + "}" : "";
|
|
445
445
|
}
|
|
446
446
|
function ho(e) {
|
|
447
|
-
var r =
|
|
447
|
+
var r = Yr(e);
|
|
448
448
|
return function(t, n, o, s) {
|
|
449
449
|
for (var i = "", a = 0; a < r; a++)
|
|
450
450
|
i += e[a](t, n, o, s) || "";
|
|
@@ -459,13 +459,13 @@ function yo(e) {
|
|
|
459
459
|
var go = function(r, t, n) {
|
|
460
460
|
for (var o = 0, s = 0; o = s, s = se(), o === 38 && s === 12 && (t[n] = 1), !De(s); )
|
|
461
461
|
q();
|
|
462
|
-
return ze(r,
|
|
462
|
+
return ze(r, G);
|
|
463
463
|
}, bo = function(r, t) {
|
|
464
464
|
var n = -1, o = 44;
|
|
465
465
|
do
|
|
466
466
|
switch (De(o)) {
|
|
467
467
|
case 0:
|
|
468
|
-
o === 38 && se() === 12 && (t[n] = 1), r[n] += go(
|
|
468
|
+
o === 38 && se() === 12 && (t[n] = 1), r[n] += go(G - 1, t, n);
|
|
469
469
|
break;
|
|
470
470
|
case 2:
|
|
471
471
|
r[n] += qe(o);
|
|
@@ -875,7 +875,7 @@ function ko() {
|
|
|
875
875
|
}
|
|
876
876
|
}
|
|
877
877
|
}
|
|
878
|
-
var h = c, N = u, O = a, Z = i, B = r, w = l, L = n,
|
|
878
|
+
var h = c, N = u, O = a, Z = i, B = r, w = l, L = n, Y = g, ae = b, Q = t, ue = s, Ce = o, Sr = m, Te = !1;
|
|
879
879
|
function We(E) {
|
|
880
880
|
return Te || (Te = !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.")), Be(E) || S(E) === c;
|
|
881
881
|
}
|
|
@@ -915,7 +915,7 @@ function ko() {
|
|
|
915
915
|
function Ar(E) {
|
|
916
916
|
return S(E) === m;
|
|
917
917
|
}
|
|
918
|
-
R.AsyncMode = h, R.ConcurrentMode = N, R.ContextConsumer = O, R.ContextProvider = Z, R.Element = B, R.ForwardRef = w, R.Fragment = L, R.Lazy =
|
|
918
|
+
R.AsyncMode = h, R.ConcurrentMode = N, R.ContextConsumer = O, R.ContextProvider = Z, R.Element = B, R.ForwardRef = w, R.Fragment = L, R.Lazy = Y, R.Memo = ae, R.Portal = Q, R.Profiler = ue, R.StrictMode = Ce, R.Suspense = Sr, R.isAsyncMode = We, R.isConcurrentMode = Be, R.isContextConsumer = wr, R.isContextProvider = _r, R.isElement = $r, R.isForwardRef = Or, R.isFragment = Cr, R.isLazy = Tr, R.isMemo = Pr, R.isPortal = Nr, R.isProfiler = kr, R.isStrictMode = Rr, R.isSuspense = Ar, R.isValidElementType = $, R.typeOf = S;
|
|
919
919
|
}()), R;
|
|
920
920
|
}
|
|
921
921
|
process.env.NODE_ENV === "production" ? Fr.exports = No() : Fr.exports = ko();
|
|
@@ -936,7 +936,7 @@ var Ro = Fr.exports, cn = Ro, Ao = {
|
|
|
936
936
|
un[cn.ForwardRef] = Ao;
|
|
937
937
|
un[cn.Memo] = Mo;
|
|
938
938
|
var Io = !0;
|
|
939
|
-
function
|
|
939
|
+
function Gr(e, r, t) {
|
|
940
940
|
var n = "";
|
|
941
941
|
return t.split(" ").forEach(function(o) {
|
|
942
942
|
e[o] !== void 0 ? r.push(e[o] + ";") : n += o + " ";
|
|
@@ -1097,7 +1097,7 @@ function Fe(e, r, t) {
|
|
|
1097
1097
|
var o = t.styles + ";";
|
|
1098
1098
|
return process.env.NODE_ENV !== "production" && t.map !== void 0 && (o += t.map), o;
|
|
1099
1099
|
}
|
|
1100
|
-
return
|
|
1100
|
+
return Yo(e, r, t);
|
|
1101
1101
|
}
|
|
1102
1102
|
case "function": {
|
|
1103
1103
|
if (e !== void 0) {
|
|
@@ -1127,7 +1127,7 @@ You should wrap it with \`css\` like this:
|
|
|
1127
1127
|
var u = r[t];
|
|
1128
1128
|
return u !== void 0 ? u : t;
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1130
|
+
function Yo(e, r, t) {
|
|
1131
1131
|
var n = "";
|
|
1132
1132
|
if (Array.isArray(t))
|
|
1133
1133
|
for (var o = 0; o < t.length; o++)
|
|
@@ -1191,9 +1191,9 @@ var ee, we = function(r, t, n) {
|
|
|
1191
1191
|
styles: s,
|
|
1192
1192
|
next: ee
|
|
1193
1193
|
};
|
|
1194
|
-
},
|
|
1194
|
+
}, Go = function(r) {
|
|
1195
1195
|
return r();
|
|
1196
|
-
}, pn = I["useInsertionEffect"] ? I["useInsertionEffect"] : !1, qr = pn ||
|
|
1196
|
+
}, pn = I["useInsertionEffect"] ? I["useInsertionEffect"] : !1, qr = pn || Go, mt = pn || I.useLayoutEffect, Ko = {}.hasOwnProperty, Hr = /* @__PURE__ */ I.createContext(
|
|
1197
1197
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1198
1198
|
// because this module is primarily intended for the browser and node
|
|
1199
1199
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -1222,7 +1222,7 @@ var ht = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", yt = "__EMOTION_LABEL_PLEASE_DO_N
|
|
|
1222
1222
|
var n = e.css;
|
|
1223
1223
|
typeof n == "string" && r.registered[n] !== void 0 && (n = r.registered[n]);
|
|
1224
1224
|
var o = e[ht], s = [n], i = "";
|
|
1225
|
-
typeof e.className == "string" ? i =
|
|
1225
|
+
typeof e.className == "string" ? i = Gr(r.registered, s, e.className) : e.className != null && (i = e.className + " ");
|
|
1226
1226
|
var a = we(s, void 0, I.useContext(Oe));
|
|
1227
1227
|
if (process.env.NODE_ENV !== "production" && a.name.indexOf("-") === -1) {
|
|
1228
1228
|
var c = e[yt];
|
|
@@ -1442,7 +1442,7 @@ var mn = function() {
|
|
|
1442
1442
|
return o;
|
|
1443
1443
|
};
|
|
1444
1444
|
function Qo(e, r, t) {
|
|
1445
|
-
var n = [], o =
|
|
1445
|
+
var n = [], o = Gr(e, n, t);
|
|
1446
1446
|
return n.length < 2 ? t : o + r(n);
|
|
1447
1447
|
}
|
|
1448
1448
|
var es = function(r) {
|
|
@@ -1534,7 +1534,7 @@ You may have forgotten to import it.`);
|
|
|
1534
1534
|
h[N] = f[N];
|
|
1535
1535
|
h.theme = I.useContext(Oe);
|
|
1536
1536
|
}
|
|
1537
|
-
typeof f.className == "string" ? $ =
|
|
1537
|
+
typeof f.className == "string" ? $ = Gr(p.registered, S, f.className) : f.className != null && ($ = f.className + " ");
|
|
1538
1538
|
var O = we(m.concat(S), p.registered, h);
|
|
1539
1539
|
$ += p.key + "-" + O.name, i !== void 0 && ($ += " " + i);
|
|
1540
1540
|
var Z = u && a === void 0 ? xt(C) : c, B = {};
|
|
@@ -1698,7 +1698,7 @@ as.forEach(function(e) {
|
|
|
1698
1698
|
Vr[e] = Vr(e);
|
|
1699
1699
|
});
|
|
1700
1700
|
/**
|
|
1701
|
-
* @mui/styled-engine v5.15.
|
|
1701
|
+
* @mui/styled-engine v5.15.4
|
|
1702
1702
|
*
|
|
1703
1703
|
* @license MIT
|
|
1704
1704
|
* This source code is licensed under the MIT license found in the
|
|
@@ -1848,16 +1848,16 @@ function ds() {
|
|
|
1848
1848
|
var de = x.$$typeof;
|
|
1849
1849
|
switch (de) {
|
|
1850
1850
|
case e:
|
|
1851
|
-
var
|
|
1852
|
-
switch (
|
|
1851
|
+
var Ye = x.type;
|
|
1852
|
+
switch (Ye) {
|
|
1853
1853
|
case t:
|
|
1854
1854
|
case o:
|
|
1855
1855
|
case n:
|
|
1856
1856
|
case u:
|
|
1857
1857
|
case l:
|
|
1858
|
-
return
|
|
1858
|
+
return Ye;
|
|
1859
1859
|
default:
|
|
1860
|
-
var nt =
|
|
1860
|
+
var nt = Ye && Ye.$$typeof;
|
|
1861
1861
|
switch (nt) {
|
|
1862
1862
|
case a:
|
|
1863
1863
|
case i:
|
|
@@ -1875,7 +1875,7 @@ function ds() {
|
|
|
1875
1875
|
}
|
|
1876
1876
|
}
|
|
1877
1877
|
}
|
|
1878
|
-
var N = i, O = s, Z = e, B = c, w = t, L = d,
|
|
1878
|
+
var N = i, O = s, Z = e, B = c, w = t, L = d, Y = m, ae = r, Q = o, ue = n, Ce = u, Sr = l, Te = !1, We = !1;
|
|
1879
1879
|
function Be(x) {
|
|
1880
1880
|
return Te || (Te = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1881
1881
|
}
|
|
@@ -1918,7 +1918,7 @@ function ds() {
|
|
|
1918
1918
|
function Pe(x) {
|
|
1919
1919
|
return h(x) === l;
|
|
1920
1920
|
}
|
|
1921
|
-
M.ContextConsumer = N, M.ContextProvider = O, M.Element = Z, M.ForwardRef = B, M.Fragment = w, M.Lazy = L, M.Memo =
|
|
1921
|
+
M.ContextConsumer = N, M.ContextProvider = O, M.Element = Z, M.ForwardRef = B, M.Fragment = w, M.Lazy = L, M.Memo = Y, M.Portal = ae, M.Profiler = Q, M.StrictMode = ue, M.Suspense = Ce, M.SuspenseList = Sr, M.isAsyncMode = Be, M.isConcurrentMode = wr, M.isContextConsumer = _r, M.isContextProvider = $r, M.isElement = Or, M.isForwardRef = Cr, M.isFragment = Tr, M.isLazy = Pr, M.isMemo = Nr, M.isPortal = kr, M.isProfiler = Rr, M.isStrictMode = Ar, M.isSuspense = E, M.isSuspenseList = Pe, M.isValidElementType = S, M.typeOf = h;
|
|
1922
1922
|
}()), M;
|
|
1923
1923
|
}
|
|
1924
1924
|
process.env.NODE_ENV === "production" ? zr.exports = fs() : zr.exports = ds();
|
|
@@ -2038,10 +2038,7 @@ function vn(e, r, t = "Mui") {
|
|
|
2038
2038
|
n[o] = ur(e, o, t);
|
|
2039
2039
|
}), n;
|
|
2040
2040
|
}
|
|
2041
|
-
|
|
2042
|
-
return Math.max(r, Math.min(e, t));
|
|
2043
|
-
}
|
|
2044
|
-
const Ss = ["values", "unit", "step"], ws = (e) => {
|
|
2041
|
+
const xs = ["values", "unit", "step"], Ss = (e) => {
|
|
2045
2042
|
const r = Object.keys(e).map((t) => ({
|
|
2046
2043
|
key: t,
|
|
2047
2044
|
val: e[t]
|
|
@@ -2050,7 +2047,7 @@ const Ss = ["values", "unit", "step"], ws = (e) => {
|
|
|
2050
2047
|
[n.key]: n.val
|
|
2051
2048
|
}), {});
|
|
2052
2049
|
};
|
|
2053
|
-
function
|
|
2050
|
+
function ws(e) {
|
|
2054
2051
|
const {
|
|
2055
2052
|
// The breakpoint **start** at this value.
|
|
2056
2053
|
// For instance with the first breakpoint xs: [xs, sm).
|
|
@@ -2068,7 +2065,7 @@ function _s(e) {
|
|
|
2068
2065
|
},
|
|
2069
2066
|
unit: t = "px",
|
|
2070
2067
|
step: n = 5
|
|
2071
|
-
} = e, o = ne(e,
|
|
2068
|
+
} = e, o = ne(e, xs), s = Ss(r), i = Object.keys(s);
|
|
2072
2069
|
function a(d) {
|
|
2073
2070
|
return `@media (min-width:${typeof r[d] == "number" ? r[d] : d}${t})`;
|
|
2074
2071
|
}
|
|
@@ -2097,9 +2094,9 @@ function _s(e) {
|
|
|
2097
2094
|
unit: t
|
|
2098
2095
|
}, o);
|
|
2099
2096
|
}
|
|
2100
|
-
const
|
|
2097
|
+
const _s = {
|
|
2101
2098
|
borderRadius: 4
|
|
2102
|
-
},
|
|
2099
|
+
}, $s = _s, Os = process.env.NODE_ENV !== "production" ? y.oneOfType([y.number, y.string, y.object, y.array]) : {}, fe = Os;
|
|
2103
2100
|
function Ae(e, r) {
|
|
2104
2101
|
return r ? te(e, r, {
|
|
2105
2102
|
clone: !1
|
|
@@ -2144,20 +2141,20 @@ function X(e, r, t) {
|
|
|
2144
2141
|
}
|
|
2145
2142
|
return t(r);
|
|
2146
2143
|
}
|
|
2147
|
-
function
|
|
2144
|
+
function Cs(e = {}) {
|
|
2148
2145
|
var r;
|
|
2149
2146
|
return ((r = e.keys) == null ? void 0 : r.reduce((n, o) => {
|
|
2150
2147
|
const s = e.up(o);
|
|
2151
2148
|
return n[s] = {}, n;
|
|
2152
2149
|
}, {})) || {};
|
|
2153
2150
|
}
|
|
2154
|
-
function
|
|
2151
|
+
function Ts(e, r) {
|
|
2155
2152
|
return e.reduce((t, n) => {
|
|
2156
2153
|
const o = t[n];
|
|
2157
2154
|
return (!o || Object.keys(o).length === 0) && delete t[n], t;
|
|
2158
2155
|
}, r);
|
|
2159
2156
|
}
|
|
2160
|
-
function
|
|
2157
|
+
function Ps(e, r) {
|
|
2161
2158
|
if (typeof e != "object")
|
|
2162
2159
|
return {};
|
|
2163
2160
|
const t = {}, n = Object.keys(r);
|
|
@@ -2172,7 +2169,7 @@ function lr({
|
|
|
2172
2169
|
breakpoints: r,
|
|
2173
2170
|
base: t
|
|
2174
2171
|
}) {
|
|
2175
|
-
const n = t ||
|
|
2172
|
+
const n = t || Ps(e, r), o = Object.keys(n);
|
|
2176
2173
|
if (o.length === 0)
|
|
2177
2174
|
return e;
|
|
2178
2175
|
let s;
|
|
@@ -2213,14 +2210,14 @@ function V(e) {
|
|
|
2213
2210
|
[r]: fe
|
|
2214
2211
|
} : {}, s.filterProps = [r], s;
|
|
2215
2212
|
}
|
|
2216
|
-
function
|
|
2213
|
+
function Ns(e) {
|
|
2217
2214
|
const r = {};
|
|
2218
2215
|
return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
|
|
2219
2216
|
}
|
|
2220
|
-
const
|
|
2217
|
+
const ks = {
|
|
2221
2218
|
m: "margin",
|
|
2222
2219
|
p: "padding"
|
|
2223
|
-
},
|
|
2220
|
+
}, Rs = {
|
|
2224
2221
|
t: "Top",
|
|
2225
2222
|
r: "Right",
|
|
2226
2223
|
b: "Bottom",
|
|
@@ -2232,15 +2229,15 @@ const Rs = {
|
|
|
2232
2229
|
marginY: "my",
|
|
2233
2230
|
paddingX: "px",
|
|
2234
2231
|
paddingY: "py"
|
|
2235
|
-
},
|
|
2232
|
+
}, As = Ns((e) => {
|
|
2236
2233
|
if (e.length > 2)
|
|
2237
2234
|
if (Nt[e])
|
|
2238
2235
|
e = Nt[e];
|
|
2239
2236
|
else
|
|
2240
2237
|
return [e];
|
|
2241
|
-
const [r, t] = e.split(""), n =
|
|
2238
|
+
const [r, t] = e.split(""), n = ks[r], o = Rs[t] || "";
|
|
2242
2239
|
return Array.isArray(o) ? o.map((s) => n + s) : [n + o];
|
|
2243
|
-
}), dr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], pr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"],
|
|
2240
|
+
}), dr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], pr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Ms = [...dr, ...pr];
|
|
2244
2241
|
function Le(e, r, t, n) {
|
|
2245
2242
|
var o;
|
|
2246
2243
|
const s = (o = fr(e, r, !1)) != null ? o : t;
|
|
@@ -2259,18 +2256,18 @@ function Ue(e, r) {
|
|
|
2259
2256
|
const t = Math.abs(r), n = e(t);
|
|
2260
2257
|
return r >= 0 ? n : typeof n == "number" ? -n : `-${n}`;
|
|
2261
2258
|
}
|
|
2262
|
-
function
|
|
2259
|
+
function Is(e, r) {
|
|
2263
2260
|
return (t) => e.reduce((n, o) => (n[o] = Ue(r, t), n), {});
|
|
2264
2261
|
}
|
|
2265
|
-
function
|
|
2262
|
+
function js(e, r, t, n) {
|
|
2266
2263
|
if (r.indexOf(t) === -1)
|
|
2267
2264
|
return null;
|
|
2268
|
-
const o =
|
|
2265
|
+
const o = As(t), s = Is(o, n), i = e[t];
|
|
2269
2266
|
return X(e, i, s);
|
|
2270
2267
|
}
|
|
2271
2268
|
function xn(e, r) {
|
|
2272
2269
|
const t = En(e.theme);
|
|
2273
|
-
return Object.keys(e).map((n) =>
|
|
2270
|
+
return Object.keys(e).map((n) => js(e, r, n, t)).reduce(Ae, {});
|
|
2274
2271
|
}
|
|
2275
2272
|
function D(e) {
|
|
2276
2273
|
return xn(e, dr);
|
|
@@ -2282,8 +2279,8 @@ function F(e) {
|
|
|
2282
2279
|
}
|
|
2283
2280
|
F.propTypes = process.env.NODE_ENV !== "production" ? pr.reduce((e, r) => (e[r] = fe, e), {}) : {};
|
|
2284
2281
|
F.filterProps = pr;
|
|
2285
|
-
process.env.NODE_ENV !== "production" &&
|
|
2286
|
-
function
|
|
2282
|
+
process.env.NODE_ENV !== "production" && Ms.reduce((e, r) => (e[r] = fe, e), {});
|
|
2283
|
+
function Ds(e = 8) {
|
|
2287
2284
|
if (e.mui)
|
|
2288
2285
|
return e;
|
|
2289
2286
|
const r = En({
|
|
@@ -2310,7 +2307,7 @@ function J(e, r) {
|
|
|
2310
2307
|
transform: r
|
|
2311
2308
|
});
|
|
2312
2309
|
}
|
|
2313
|
-
const
|
|
2310
|
+
const Fs = J("border", H), Vs = J("borderTop", H), zs = J("borderRight", H), Ls = J("borderBottom", H), Us = J("borderLeft", H), Ws = J("borderColor"), Bs = J("borderTopColor"), Ys = J("borderRightColor"), Gs = J("borderBottomColor"), Ks = J("borderLeftColor"), qs = J("outline", H), Hs = J("outlineColor"), hr = (e) => {
|
|
2314
2311
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
2315
2312
|
const r = Le(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
|
|
2316
2313
|
borderRadius: Ue(r, n)
|
|
@@ -2323,7 +2320,7 @@ hr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2323
2320
|
borderRadius: fe
|
|
2324
2321
|
} : {};
|
|
2325
2322
|
hr.filterProps = ["borderRadius"];
|
|
2326
|
-
mr(Vs, zs, Ls, Us, Ws, Bs,
|
|
2323
|
+
mr(Fs, Vs, zs, Ls, Us, Ws, Bs, Ys, Gs, Ks, hr, qs, Hs);
|
|
2327
2324
|
const yr = (e) => {
|
|
2328
2325
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
2329
2326
|
const r = Le(e.theme, "spacing", 8, "gap"), t = (n) => ({
|
|
@@ -2363,48 +2360,48 @@ br.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2363
2360
|
rowGap: fe
|
|
2364
2361
|
} : {};
|
|
2365
2362
|
br.filterProps = ["rowGap"];
|
|
2366
|
-
const
|
|
2363
|
+
const Xs = V({
|
|
2367
2364
|
prop: "gridColumn"
|
|
2368
|
-
}),
|
|
2365
|
+
}), Js = V({
|
|
2369
2366
|
prop: "gridRow"
|
|
2370
|
-
}),
|
|
2367
|
+
}), Zs = V({
|
|
2371
2368
|
prop: "gridAutoFlow"
|
|
2372
|
-
}),
|
|
2369
|
+
}), Qs = V({
|
|
2373
2370
|
prop: "gridAutoColumns"
|
|
2374
|
-
}),
|
|
2371
|
+
}), ei = V({
|
|
2375
2372
|
prop: "gridAutoRows"
|
|
2376
|
-
}),
|
|
2373
|
+
}), ri = V({
|
|
2377
2374
|
prop: "gridTemplateColumns"
|
|
2378
|
-
}),
|
|
2375
|
+
}), ti = V({
|
|
2379
2376
|
prop: "gridTemplateRows"
|
|
2380
|
-
}),
|
|
2377
|
+
}), ni = V({
|
|
2381
2378
|
prop: "gridTemplateAreas"
|
|
2382
|
-
}),
|
|
2379
|
+
}), oi = V({
|
|
2383
2380
|
prop: "gridArea"
|
|
2384
2381
|
});
|
|
2385
|
-
mr(yr, gr, br, Js, Zs, Qs, ei, ri, ti, ni, oi
|
|
2382
|
+
mr(yr, gr, br, Xs, Js, Zs, Qs, ei, ri, ti, ni, oi);
|
|
2386
2383
|
function ve(e, r) {
|
|
2387
2384
|
return r === "grey" ? r : e;
|
|
2388
2385
|
}
|
|
2389
|
-
const
|
|
2386
|
+
const si = V({
|
|
2390
2387
|
prop: "color",
|
|
2391
2388
|
themeKey: "palette",
|
|
2392
2389
|
transform: ve
|
|
2393
|
-
}),
|
|
2390
|
+
}), ii = V({
|
|
2394
2391
|
prop: "bgcolor",
|
|
2395
2392
|
cssProperty: "backgroundColor",
|
|
2396
2393
|
themeKey: "palette",
|
|
2397
2394
|
transform: ve
|
|
2398
|
-
}),
|
|
2395
|
+
}), ai = V({
|
|
2399
2396
|
prop: "backgroundColor",
|
|
2400
2397
|
themeKey: "palette",
|
|
2401
2398
|
transform: ve
|
|
2402
2399
|
});
|
|
2403
|
-
mr(ii, ai
|
|
2400
|
+
mr(si, ii, ai);
|
|
2404
2401
|
function K(e) {
|
|
2405
2402
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
2406
2403
|
}
|
|
2407
|
-
const
|
|
2404
|
+
const ci = V({
|
|
2408
2405
|
prop: "width",
|
|
2409
2406
|
transform: K
|
|
2410
2407
|
}), Zr = (e) => {
|
|
@@ -2425,16 +2422,16 @@ const ui = V({
|
|
|
2425
2422
|
return null;
|
|
2426
2423
|
};
|
|
2427
2424
|
Zr.filterProps = ["maxWidth"];
|
|
2428
|
-
const
|
|
2425
|
+
const ui = V({
|
|
2429
2426
|
prop: "minWidth",
|
|
2430
2427
|
transform: K
|
|
2431
|
-
}),
|
|
2428
|
+
}), li = V({
|
|
2432
2429
|
prop: "height",
|
|
2433
2430
|
transform: K
|
|
2434
|
-
}),
|
|
2431
|
+
}), fi = V({
|
|
2435
2432
|
prop: "maxHeight",
|
|
2436
2433
|
transform: K
|
|
2437
|
-
}),
|
|
2434
|
+
}), di = V({
|
|
2438
2435
|
prop: "minHeight",
|
|
2439
2436
|
transform: K
|
|
2440
2437
|
});
|
|
@@ -2448,11 +2445,11 @@ V({
|
|
|
2448
2445
|
cssProperty: "height",
|
|
2449
2446
|
transform: K
|
|
2450
2447
|
});
|
|
2451
|
-
const
|
|
2448
|
+
const pi = V({
|
|
2452
2449
|
prop: "boxSizing"
|
|
2453
2450
|
});
|
|
2454
|
-
mr(
|
|
2455
|
-
const
|
|
2451
|
+
mr(ci, Zr, ui, li, fi, di, pi);
|
|
2452
|
+
const mi = {
|
|
2456
2453
|
// borders
|
|
2457
2454
|
border: {
|
|
2458
2455
|
themeKey: "borders",
|
|
@@ -2736,15 +2733,15 @@ const hi = {
|
|
|
2736
2733
|
cssProperty: !1,
|
|
2737
2734
|
themeKey: "typography"
|
|
2738
2735
|
}
|
|
2739
|
-
}, vr =
|
|
2740
|
-
function
|
|
2736
|
+
}, vr = mi;
|
|
2737
|
+
function hi(...e) {
|
|
2741
2738
|
const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
|
|
2742
2739
|
return e.every((n) => t.size === Object.keys(n).length);
|
|
2743
2740
|
}
|
|
2744
|
-
function
|
|
2741
|
+
function yi(e, r) {
|
|
2745
2742
|
return typeof e == "function" ? e(r) : e;
|
|
2746
2743
|
}
|
|
2747
|
-
function
|
|
2744
|
+
function gi() {
|
|
2748
2745
|
function e(t, n, o, s) {
|
|
2749
2746
|
const i = {
|
|
2750
2747
|
[t]: n,
|
|
@@ -2791,10 +2788,10 @@ function bi() {
|
|
|
2791
2788
|
return c;
|
|
2792
2789
|
if (!u)
|
|
2793
2790
|
return null;
|
|
2794
|
-
const l =
|
|
2791
|
+
const l = Cs(s.breakpoints), m = Object.keys(l);
|
|
2795
2792
|
let d = l;
|
|
2796
2793
|
return Object.keys(u).forEach((b) => {
|
|
2797
|
-
const g =
|
|
2794
|
+
const g = yi(u[b], s);
|
|
2798
2795
|
if (g != null)
|
|
2799
2796
|
if (typeof g == "object")
|
|
2800
2797
|
if (i[b])
|
|
@@ -2805,36 +2802,29 @@ function bi() {
|
|
|
2805
2802
|
}, g, (p) => ({
|
|
2806
2803
|
[b]: p
|
|
2807
2804
|
}));
|
|
2808
|
-
|
|
2805
|
+
hi(f, g) ? d[b] = r({
|
|
2809
2806
|
sx: g,
|
|
2810
2807
|
theme: s
|
|
2811
2808
|
}) : d = Ae(d, f);
|
|
2812
2809
|
}
|
|
2813
2810
|
else
|
|
2814
2811
|
d = Ae(d, e(b, g, s, i));
|
|
2815
|
-
}),
|
|
2812
|
+
}), Ts(m, d);
|
|
2816
2813
|
}
|
|
2817
2814
|
return Array.isArray(o) ? o.map(a) : a(o);
|
|
2818
2815
|
}
|
|
2819
2816
|
return r;
|
|
2820
2817
|
}
|
|
2821
|
-
const Sn =
|
|
2818
|
+
const Sn = gi();
|
|
2822
2819
|
Sn.filterProps = ["sx"];
|
|
2823
|
-
const Qr = Sn;
|
|
2824
|
-
function Ei(e, r) {
|
|
2825
|
-
const t = this;
|
|
2826
|
-
return t.vars && typeof t.getColorSchemeSelector == "function" ? {
|
|
2827
|
-
[t.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/, "*:where($1)")]: r
|
|
2828
|
-
} : t.palette.mode === e ? r : {};
|
|
2829
|
-
}
|
|
2830
|
-
const xi = ["breakpoints", "palette", "spacing", "shape"];
|
|
2820
|
+
const Qr = Sn, bi = ["breakpoints", "palette", "spacing", "shape"];
|
|
2831
2821
|
function et(e = {}, ...r) {
|
|
2832
2822
|
const {
|
|
2833
2823
|
breakpoints: t = {},
|
|
2834
2824
|
palette: n = {},
|
|
2835
2825
|
spacing: o,
|
|
2836
2826
|
shape: s = {}
|
|
2837
|
-
} = e, i = ne(e,
|
|
2827
|
+
} = e, i = ne(e, bi), a = ws(t), c = Ds(o);
|
|
2838
2828
|
let u = te({
|
|
2839
2829
|
breakpoints: a,
|
|
2840
2830
|
direction: "ltr",
|
|
@@ -2844,27 +2834,27 @@ function et(e = {}, ...r) {
|
|
|
2844
2834
|
mode: "light"
|
|
2845
2835
|
}, n),
|
|
2846
2836
|
spacing: c,
|
|
2847
|
-
shape: _({},
|
|
2837
|
+
shape: _({}, $s, s)
|
|
2848
2838
|
}, i);
|
|
2849
|
-
return u
|
|
2839
|
+
return u = r.reduce((l, m) => te(l, m), u), u.unstable_sxConfig = _({}, vr, i == null ? void 0 : i.unstable_sxConfig), u.unstable_sx = function(m) {
|
|
2850
2840
|
return Qr({
|
|
2851
2841
|
sx: m,
|
|
2852
2842
|
theme: this
|
|
2853
2843
|
});
|
|
2854
2844
|
}, u;
|
|
2855
2845
|
}
|
|
2856
|
-
function
|
|
2846
|
+
function Ei(e) {
|
|
2857
2847
|
return Object.keys(e).length === 0;
|
|
2858
2848
|
}
|
|
2859
|
-
function
|
|
2849
|
+
function xi(e = null) {
|
|
2860
2850
|
const r = I.useContext(Oe);
|
|
2861
|
-
return !r ||
|
|
2851
|
+
return !r || Ei(r) ? e : r;
|
|
2862
2852
|
}
|
|
2863
|
-
const
|
|
2864
|
-
function wn(e =
|
|
2865
|
-
return
|
|
2853
|
+
const Si = et();
|
|
2854
|
+
function wn(e = Si) {
|
|
2855
|
+
return xi(e);
|
|
2866
2856
|
}
|
|
2867
|
-
const
|
|
2857
|
+
const wi = ["sx"], _i = (e) => {
|
|
2868
2858
|
var r, t;
|
|
2869
2859
|
const n = {
|
|
2870
2860
|
systemProps: {},
|
|
@@ -2874,13 +2864,13 @@ const $i = ["sx"], Oi = (e) => {
|
|
|
2874
2864
|
o[s] ? n.systemProps[s] = e[s] : n.otherProps[s] = e[s];
|
|
2875
2865
|
}), n;
|
|
2876
2866
|
};
|
|
2877
|
-
function
|
|
2867
|
+
function $i(e) {
|
|
2878
2868
|
const {
|
|
2879
2869
|
sx: r
|
|
2880
|
-
} = e, t = ne(e,
|
|
2870
|
+
} = e, t = ne(e, wi), {
|
|
2881
2871
|
systemProps: n,
|
|
2882
2872
|
otherProps: o
|
|
2883
|
-
} =
|
|
2873
|
+
} = _i(t);
|
|
2884
2874
|
let s;
|
|
2885
2875
|
return Array.isArray(r) ? s = [n, ...r] : typeof r == "function" ? s = (...i) => {
|
|
2886
2876
|
const a = r(...i);
|
|
@@ -2889,37 +2879,37 @@ function Ci(e) {
|
|
|
2889
2879
|
sx: s
|
|
2890
2880
|
});
|
|
2891
2881
|
}
|
|
2892
|
-
const
|
|
2882
|
+
const Oi = ["variant"];
|
|
2893
2883
|
function kt(e) {
|
|
2894
2884
|
return e.length === 0;
|
|
2895
2885
|
}
|
|
2896
2886
|
function _n(e) {
|
|
2897
2887
|
const {
|
|
2898
2888
|
variant: r
|
|
2899
|
-
} = e, t = ne(e,
|
|
2889
|
+
} = e, t = ne(e, Oi);
|
|
2900
2890
|
let n = r || "";
|
|
2901
2891
|
return Object.keys(t).sort().forEach((o) => {
|
|
2902
2892
|
o === "color" ? n += kt(n) ? e[o] : ie(e[o]) : n += `${kt(n) ? o : ie(o)}${ie(e[o].toString())}`;
|
|
2903
2893
|
}), n;
|
|
2904
2894
|
}
|
|
2905
|
-
const
|
|
2906
|
-
function
|
|
2895
|
+
const Ci = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
2896
|
+
function Ti(e) {
|
|
2907
2897
|
return Object.keys(e).length === 0;
|
|
2908
2898
|
}
|
|
2909
|
-
function
|
|
2899
|
+
function Pi(e) {
|
|
2910
2900
|
return typeof e == "string" && // 96 is one less than the char code
|
|
2911
2901
|
// for "a" so this is checking that
|
|
2912
2902
|
// it's a lowercase character
|
|
2913
2903
|
e.charCodeAt(0) > 96;
|
|
2914
2904
|
}
|
|
2915
|
-
const
|
|
2905
|
+
const Ni = (e, r) => r.components && r.components[e] && r.components[e].styleOverrides ? r.components[e].styleOverrides : null, rr = (e) => {
|
|
2916
2906
|
let r = 0;
|
|
2917
2907
|
const t = {};
|
|
2918
2908
|
return e && e.forEach((n) => {
|
|
2919
2909
|
let o = "";
|
|
2920
2910
|
typeof n.props == "function" ? (o = `callback${r}`, r += 1) : o = _n(n.props), t[o] = n.style;
|
|
2921
2911
|
}), t;
|
|
2922
|
-
},
|
|
2912
|
+
}, ki = (e, r) => {
|
|
2923
2913
|
let t = [];
|
|
2924
2914
|
return r && r.components && r.components[e] && r.components[e].variants && (t = r.components[e].variants), rr(t);
|
|
2925
2915
|
}, tr = (e, r, t) => {
|
|
@@ -2938,7 +2928,7 @@ const Ri = (e, r) => r.components && r.components[e] && r.components[e].styleOve
|
|
|
2938
2928
|
});
|
|
2939
2929
|
a && (typeof i.props == "function" ? o.push(r[`callback${s}`]) : o.push(r[_n(i.props)])), typeof i.props == "function" && (s += 1);
|
|
2940
2930
|
}), o;
|
|
2941
|
-
},
|
|
2931
|
+
}, Ri = (e, r, t, n) => {
|
|
2942
2932
|
var o;
|
|
2943
2933
|
const s = t == null || (o = t.components) == null || (o = o[n]) == null ? void 0 : o.variants;
|
|
2944
2934
|
return tr(e, r, s);
|
|
@@ -2946,15 +2936,15 @@ const Ri = (e, r) => r.components && r.components[e] && r.components[e].styleOve
|
|
|
2946
2936
|
function Xe(e) {
|
|
2947
2937
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
2948
2938
|
}
|
|
2949
|
-
const
|
|
2939
|
+
const Ai = et(), Rt = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
2950
2940
|
function Je({
|
|
2951
2941
|
defaultTheme: e,
|
|
2952
2942
|
theme: r,
|
|
2953
2943
|
themeId: t
|
|
2954
2944
|
}) {
|
|
2955
|
-
return
|
|
2945
|
+
return Ti(r) ? e : r[t] || r;
|
|
2956
2946
|
}
|
|
2957
|
-
function
|
|
2947
|
+
function Mi(e) {
|
|
2958
2948
|
return e ? (r, t) => t[e] : null;
|
|
2959
2949
|
}
|
|
2960
2950
|
const At = ({
|
|
@@ -2976,10 +2966,10 @@ const At = ({
|
|
|
2976
2966
|
}
|
|
2977
2967
|
return o;
|
|
2978
2968
|
};
|
|
2979
|
-
function
|
|
2969
|
+
function Ii(e = {}) {
|
|
2980
2970
|
const {
|
|
2981
2971
|
themeId: r,
|
|
2982
|
-
defaultTheme: t =
|
|
2972
|
+
defaultTheme: t = Ai,
|
|
2983
2973
|
rootShouldForwardProp: n = Xe,
|
|
2984
2974
|
slotShouldForwardProp: o = Xe
|
|
2985
2975
|
} = e, s = (i) => Qr(_({}, i, {
|
|
@@ -2997,8 +2987,8 @@ function Di(e = {}) {
|
|
|
2997
2987
|
skipSx: m,
|
|
2998
2988
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
2999
2989
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
3000
|
-
overridesResolver: d =
|
|
3001
|
-
} = a, b = ne(a,
|
|
2990
|
+
overridesResolver: d = Mi(Rt(u))
|
|
2991
|
+
} = a, b = ne(a, Ci), g = l !== void 0 ? l : (
|
|
3002
2992
|
// TODO v6: remove `Root` in the next major release
|
|
3003
2993
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
3004
2994
|
u && u !== "Root" && u !== "root" || !1
|
|
@@ -3006,7 +2996,7 @@ function Di(e = {}) {
|
|
|
3006
2996
|
let p;
|
|
3007
2997
|
process.env.NODE_ENV !== "production" && c && (p = `${c}-${Rt(u || "Root")}`);
|
|
3008
2998
|
let v = Xe;
|
|
3009
|
-
u === "Root" || u === "root" ? v = n : u ? v = o :
|
|
2999
|
+
u === "Root" || u === "root" ? v = n : u ? v = o : Pi(i) && (v = void 0);
|
|
3010
3000
|
const C = cs(i, _({
|
|
3011
3001
|
shouldForwardProp: v,
|
|
3012
3002
|
label: p
|
|
@@ -3020,10 +3010,10 @@ function Di(e = {}) {
|
|
|
3020
3010
|
themeId: r
|
|
3021
3011
|
});
|
|
3022
3012
|
if (ce(w)) {
|
|
3023
|
-
let L = w,
|
|
3024
|
-
return w && w.variants && (
|
|
3013
|
+
let L = w, Y;
|
|
3014
|
+
return w && w.variants && (Y = w.variants, delete L.variants, L = (ae) => {
|
|
3025
3015
|
let Q = w;
|
|
3026
|
-
return tr(ae, rr(
|
|
3016
|
+
return tr(ae, rr(Y), Y).forEach((Ce) => {
|
|
3027
3017
|
Q = te(Q, Ce);
|
|
3028
3018
|
}), Q;
|
|
3029
3019
|
}), L;
|
|
@@ -3034,10 +3024,10 @@ function Di(e = {}) {
|
|
|
3034
3024
|
if (ce(S)) {
|
|
3035
3025
|
let w;
|
|
3036
3026
|
S && S.variants && (w = S.variants, delete O.variants, O = (L) => {
|
|
3037
|
-
let
|
|
3027
|
+
let Y = S;
|
|
3038
3028
|
return tr(L, rr(w), w).forEach((Q) => {
|
|
3039
|
-
|
|
3040
|
-
}),
|
|
3029
|
+
Y = te(Y, Q);
|
|
3030
|
+
}), Y;
|
|
3041
3031
|
});
|
|
3042
3032
|
} else
|
|
3043
3033
|
typeof S == "function" && // On the server Emotion doesn't use React.forwardRef for creating components, so the created
|
|
@@ -3053,10 +3043,10 @@ function Di(e = {}) {
|
|
|
3053
3043
|
const L = Je(_({}, w, {
|
|
3054
3044
|
defaultTheme: t,
|
|
3055
3045
|
themeId: r
|
|
3056
|
-
})),
|
|
3057
|
-
if (
|
|
3046
|
+
})), Y = Ni(c, L);
|
|
3047
|
+
if (Y) {
|
|
3058
3048
|
const ae = {};
|
|
3059
|
-
return Object.entries(
|
|
3049
|
+
return Object.entries(Y).forEach(([Q, ue]) => {
|
|
3060
3050
|
ae[Q] = typeof ue == "function" ? ue(_({}, w, {
|
|
3061
3051
|
theme: L
|
|
3062
3052
|
})) : ue;
|
|
@@ -3068,7 +3058,7 @@ function Di(e = {}) {
|
|
|
3068
3058
|
defaultTheme: t,
|
|
3069
3059
|
themeId: r
|
|
3070
3060
|
}));
|
|
3071
|
-
return
|
|
3061
|
+
return Ri(w, ki(c, L), L, c);
|
|
3072
3062
|
}), f || N.push(s);
|
|
3073
3063
|
const Z = N.length - h.length;
|
|
3074
3064
|
if (Array.isArray(S) && Z > 0) {
|
|
@@ -3085,7 +3075,7 @@ function Di(e = {}) {
|
|
|
3085
3075
|
return C.withConfig && ($.withConfig = C.withConfig), $;
|
|
3086
3076
|
};
|
|
3087
3077
|
}
|
|
3088
|
-
function
|
|
3078
|
+
function ji(e) {
|
|
3089
3079
|
const {
|
|
3090
3080
|
theme: r,
|
|
3091
3081
|
name: t,
|
|
@@ -3093,23 +3083,23 @@ function Fi(e) {
|
|
|
3093
3083
|
} = e;
|
|
3094
3084
|
return !r || !r.components || !r.components[t] || !r.components[t].defaultProps ? n : gn(r.components[t].defaultProps, n);
|
|
3095
3085
|
}
|
|
3096
|
-
function
|
|
3086
|
+
function Di({
|
|
3097
3087
|
props: e,
|
|
3098
3088
|
name: r,
|
|
3099
3089
|
defaultTheme: t,
|
|
3100
3090
|
themeId: n
|
|
3101
3091
|
}) {
|
|
3102
3092
|
let o = wn(t);
|
|
3103
|
-
return n && (o = o[n] || o),
|
|
3093
|
+
return n && (o = o[n] || o), ji({
|
|
3104
3094
|
theme: o,
|
|
3105
3095
|
name: r,
|
|
3106
3096
|
props: e
|
|
3107
3097
|
});
|
|
3108
3098
|
}
|
|
3109
3099
|
function $n(e, r = 0, t = 1) {
|
|
3110
|
-
return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),
|
|
3100
|
+
return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), Math.min(Math.max(r, e), t);
|
|
3111
3101
|
}
|
|
3112
|
-
function
|
|
3102
|
+
function Fi(e) {
|
|
3113
3103
|
e = e.slice(1);
|
|
3114
3104
|
const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
3115
3105
|
let t = e.match(r);
|
|
@@ -3119,7 +3109,7 @@ function _e(e) {
|
|
|
3119
3109
|
if (e.type)
|
|
3120
3110
|
return e;
|
|
3121
3111
|
if (e.charAt(0) === "#")
|
|
3122
|
-
return _e(
|
|
3112
|
+
return _e(Fi(e));
|
|
3123
3113
|
const r = e.indexOf("("), t = e.substring(0, r);
|
|
3124
3114
|
if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(t) === -1)
|
|
3125
3115
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
@@ -3147,7 +3137,7 @@ function rt(e) {
|
|
|
3147
3137
|
} = e;
|
|
3148
3138
|
return r.indexOf("rgb") !== -1 ? n = n.map((o, s) => s < 3 ? parseInt(o, 10) : o) : r.indexOf("hsl") !== -1 && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.indexOf("color") !== -1 ? n = `${t} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
|
|
3149
3139
|
}
|
|
3150
|
-
function
|
|
3140
|
+
function Vi(e) {
|
|
3151
3141
|
e = _e(e);
|
|
3152
3142
|
const {
|
|
3153
3143
|
values: r
|
|
@@ -3161,14 +3151,14 @@ function Li(e) {
|
|
|
3161
3151
|
}
|
|
3162
3152
|
function Mt(e) {
|
|
3163
3153
|
e = _e(e);
|
|
3164
|
-
let r = e.type === "hsl" || e.type === "hsla" ? _e(
|
|
3154
|
+
let r = e.type === "hsl" || e.type === "hsla" ? _e(Vi(e)).values : e.values;
|
|
3165
3155
|
return r = r.map((t) => (e.type !== "color" && (t /= 255), t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
|
|
3166
3156
|
}
|
|
3167
3157
|
function It(e, r) {
|
|
3168
3158
|
const t = Mt(e), n = Mt(r);
|
|
3169
3159
|
return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
|
|
3170
3160
|
}
|
|
3171
|
-
function
|
|
3161
|
+
function zi(e, r) {
|
|
3172
3162
|
if (e = _e(e), r = $n(r), e.type.indexOf("hsl") !== -1)
|
|
3173
3163
|
e.values[2] *= 1 - r;
|
|
3174
3164
|
else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
|
|
@@ -3176,7 +3166,7 @@ function Ui(e, r) {
|
|
|
3176
3166
|
e.values[t] *= 1 - r;
|
|
3177
3167
|
return rt(e);
|
|
3178
3168
|
}
|
|
3179
|
-
function
|
|
3169
|
+
function Li(e, r) {
|
|
3180
3170
|
if (e = _e(e), r = $n(r), e.type.indexOf("hsl") !== -1)
|
|
3181
3171
|
e.values[2] += (100 - e.values[2]) * r;
|
|
3182
3172
|
else if (e.type.indexOf("rgb") !== -1)
|
|
@@ -3187,7 +3177,7 @@ function Wi(e, r) {
|
|
|
3187
3177
|
e.values[t] += (1 - e.values[t]) * r;
|
|
3188
3178
|
return rt(e);
|
|
3189
3179
|
}
|
|
3190
|
-
function
|
|
3180
|
+
function Ui(e, r) {
|
|
3191
3181
|
return _({
|
|
3192
3182
|
toolbar: {
|
|
3193
3183
|
minHeight: 56,
|
|
@@ -3202,7 +3192,7 @@ function Bi(e, r) {
|
|
|
3202
3192
|
}
|
|
3203
3193
|
}, r);
|
|
3204
3194
|
}
|
|
3205
|
-
const
|
|
3195
|
+
const Wi = ["mode", "contrastThreshold", "tonalOffset"], jt = {
|
|
3206
3196
|
// The colors used to style the text.
|
|
3207
3197
|
text: {
|
|
3208
3198
|
// The most important text.
|
|
@@ -3267,9 +3257,9 @@ const Gi = ["mode", "contrastThreshold", "tonalOffset"], jt = {
|
|
|
3267
3257
|
};
|
|
3268
3258
|
function Dt(e, r, t, n) {
|
|
3269
3259
|
const o = n.light || n, s = n.dark || n * 1.5;
|
|
3270
|
-
e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light =
|
|
3260
|
+
e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = Li(e.main, o) : r === "dark" && (e.dark = zi(e.main, s)));
|
|
3271
3261
|
}
|
|
3272
|
-
function
|
|
3262
|
+
function Bi(e = "light") {
|
|
3273
3263
|
return e === "dark" ? {
|
|
3274
3264
|
main: he[200],
|
|
3275
3265
|
light: he[50],
|
|
@@ -3280,7 +3270,7 @@ function Yi(e = "light") {
|
|
|
3280
3270
|
dark: he[800]
|
|
3281
3271
|
};
|
|
3282
3272
|
}
|
|
3283
|
-
function
|
|
3273
|
+
function Yi(e = "light") {
|
|
3284
3274
|
return e === "dark" ? {
|
|
3285
3275
|
main: me[200],
|
|
3286
3276
|
light: me[50],
|
|
@@ -3291,7 +3281,7 @@ function Ki(e = "light") {
|
|
|
3291
3281
|
dark: me[700]
|
|
3292
3282
|
};
|
|
3293
3283
|
}
|
|
3294
|
-
function
|
|
3284
|
+
function Gi(e = "light") {
|
|
3295
3285
|
return e === "dark" ? {
|
|
3296
3286
|
main: pe[500],
|
|
3297
3287
|
light: pe[300],
|
|
@@ -3302,7 +3292,7 @@ function qi(e = "light") {
|
|
|
3302
3292
|
dark: pe[800]
|
|
3303
3293
|
};
|
|
3304
3294
|
}
|
|
3305
|
-
function
|
|
3295
|
+
function Ki(e = "light") {
|
|
3306
3296
|
return e === "dark" ? {
|
|
3307
3297
|
main: ye[400],
|
|
3308
3298
|
light: ye[300],
|
|
@@ -3313,7 +3303,7 @@ function Hi(e = "light") {
|
|
|
3313
3303
|
dark: ye[900]
|
|
3314
3304
|
};
|
|
3315
3305
|
}
|
|
3316
|
-
function
|
|
3306
|
+
function qi(e = "light") {
|
|
3317
3307
|
return e === "dark" ? {
|
|
3318
3308
|
main: ge[400],
|
|
3319
3309
|
light: ge[300],
|
|
@@ -3324,7 +3314,7 @@ function Xi(e = "light") {
|
|
|
3324
3314
|
dark: ge[900]
|
|
3325
3315
|
};
|
|
3326
3316
|
}
|
|
3327
|
-
function
|
|
3317
|
+
function Hi(e = "light") {
|
|
3328
3318
|
return e === "dark" ? {
|
|
3329
3319
|
main: Ne[400],
|
|
3330
3320
|
light: Ne[300],
|
|
@@ -3336,12 +3326,12 @@ function Ji(e = "light") {
|
|
|
3336
3326
|
dark: Ne[900]
|
|
3337
3327
|
};
|
|
3338
3328
|
}
|
|
3339
|
-
function
|
|
3329
|
+
function Xi(e) {
|
|
3340
3330
|
const {
|
|
3341
3331
|
mode: r = "light",
|
|
3342
3332
|
contrastThreshold: t = 3,
|
|
3343
3333
|
tonalOffset: n = 0.2
|
|
3344
|
-
} = e, o = ne(e,
|
|
3334
|
+
} = e, o = ne(e, Wi), s = e.primary || Bi(r), i = e.secondary || Yi(r), a = e.error || Gi(r), c = e.info || Ki(r), u = e.success || qi(r), l = e.warning || Hi(r);
|
|
3345
3335
|
function m(f) {
|
|
3346
3336
|
const p = It(f, Ir.text.primary) >= t ? Ir.text.primary : jt.text.primary;
|
|
3347
3337
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -3421,7 +3411,7 @@ const theme2 = createTheme({ palette: {
|
|
|
3421
3411
|
name: "success"
|
|
3422
3412
|
}),
|
|
3423
3413
|
// The grey colors.
|
|
3424
|
-
grey:
|
|
3414
|
+
grey: Gn,
|
|
3425
3415
|
// Used by `getContrastText()` to maximize the contrast between
|
|
3426
3416
|
// the background and the text.
|
|
3427
3417
|
contrastThreshold: t,
|
|
@@ -3435,14 +3425,14 @@ const theme2 = createTheme({ palette: {
|
|
|
3435
3425
|
tonalOffset: n
|
|
3436
3426
|
}, b[r]), o);
|
|
3437
3427
|
}
|
|
3438
|
-
const
|
|
3439
|
-
function
|
|
3428
|
+
const Ji = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
3429
|
+
function Zi(e) {
|
|
3440
3430
|
return Math.round(e * 1e5) / 1e5;
|
|
3441
3431
|
}
|
|
3442
3432
|
const Ft = {
|
|
3443
3433
|
textTransform: "uppercase"
|
|
3444
3434
|
}, Vt = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
3445
|
-
function
|
|
3435
|
+
function Qi(e, r) {
|
|
3446
3436
|
const t = typeof r == "function" ? r(e) : r, {
|
|
3447
3437
|
fontFamily: n = Vt,
|
|
3448
3438
|
// The default font size of the Material Specification.
|
|
@@ -3458,7 +3448,7 @@ function ra(e, r) {
|
|
|
3458
3448
|
// Apply the CSS properties to all the variants.
|
|
3459
3449
|
allVariants: l,
|
|
3460
3450
|
pxToRem: m
|
|
3461
|
-
} = t, d = ne(t,
|
|
3451
|
+
} = t, d = ne(t, Ji);
|
|
3462
3452
|
process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof u != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
3463
3453
|
const b = o / 14, g = m || ((v) => `${v / u * b}rem`), f = (v, C, $, S, h) => _({
|
|
3464
3454
|
fontFamily: n,
|
|
@@ -3467,7 +3457,7 @@ function ra(e, r) {
|
|
|
3467
3457
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
3468
3458
|
lineHeight: $
|
|
3469
3459
|
}, n === Vt ? {
|
|
3470
|
-
letterSpacing: `${
|
|
3460
|
+
letterSpacing: `${Zi(S / C)}em`
|
|
3471
3461
|
} : {}, h, l), p = {
|
|
3472
3462
|
h1: f(s, 96, 1.167, -1.5),
|
|
3473
3463
|
h2: f(s, 60, 1.2, -0.5),
|
|
@@ -3505,11 +3495,11 @@ function ra(e, r) {
|
|
|
3505
3495
|
// No need to clone deep
|
|
3506
3496
|
});
|
|
3507
3497
|
}
|
|
3508
|
-
const
|
|
3498
|
+
const ea = 0.2, ra = 0.14, ta = 0.12;
|
|
3509
3499
|
function j(...e) {
|
|
3510
|
-
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${
|
|
3500
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ea})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ra})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ta})`].join(",");
|
|
3511
3501
|
}
|
|
3512
|
-
const
|
|
3502
|
+
const na = ["none", j(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), j(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), j(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), j(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), j(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), j(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), j(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), j(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), j(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), j(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), j(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), j(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), j(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), j(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), j(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), j(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), j(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), j(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), j(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), j(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), j(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), j(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), j(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), j(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], oa = na, sa = ["duration", "easing", "delay"], ia = {
|
|
3513
3503
|
// This is the most common easing curve.
|
|
3514
3504
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
3515
3505
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -3519,7 +3509,7 @@ const sa = ["none", j(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), j(0, 3, 1, -2, 0, 2,
|
|
|
3519
3509
|
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
3520
3510
|
// The sharp curve is used by objects that may return to the screen at any time.
|
|
3521
3511
|
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
3522
|
-
},
|
|
3512
|
+
}, aa = {
|
|
3523
3513
|
shortest: 150,
|
|
3524
3514
|
shorter: 200,
|
|
3525
3515
|
short: 250,
|
|
@@ -3535,22 +3525,22 @@ const sa = ["none", j(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), j(0, 3, 1, -2, 0, 2,
|
|
|
3535
3525
|
function zt(e) {
|
|
3536
3526
|
return `${Math.round(e)}ms`;
|
|
3537
3527
|
}
|
|
3538
|
-
function
|
|
3528
|
+
function ca(e) {
|
|
3539
3529
|
if (!e)
|
|
3540
3530
|
return 0;
|
|
3541
3531
|
const r = e / 36;
|
|
3542
3532
|
return Math.round((4 + 15 * r ** 0.25 + r / 5) * 10);
|
|
3543
3533
|
}
|
|
3544
|
-
function
|
|
3545
|
-
const r = _({},
|
|
3534
|
+
function ua(e) {
|
|
3535
|
+
const r = _({}, ia, e.easing), t = _({}, aa, e.duration);
|
|
3546
3536
|
return _({
|
|
3547
|
-
getAutoHeightDuration:
|
|
3537
|
+
getAutoHeightDuration: ca,
|
|
3548
3538
|
create: (o = ["all"], s = {}) => {
|
|
3549
3539
|
const {
|
|
3550
3540
|
duration: i = t.standard,
|
|
3551
3541
|
easing: a = r.easeInOut,
|
|
3552
3542
|
delay: c = 0
|
|
3553
|
-
} = s, u = ne(s,
|
|
3543
|
+
} = s, u = ne(s, sa);
|
|
3554
3544
|
if (process.env.NODE_ENV !== "production") {
|
|
3555
3545
|
const l = (d) => typeof d == "string", m = (d) => !isNaN(parseFloat(d));
|
|
3556
3546
|
!l(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !m(i) && !l(i) && console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`), l(a) || console.error('MUI: Argument "easing" must be a string.'), !m(c) && !l(c) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof s != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
@@ -3563,7 +3553,7 @@ function fa(e) {
|
|
|
3563
3553
|
duration: t
|
|
3564
3554
|
});
|
|
3565
3555
|
}
|
|
3566
|
-
const
|
|
3556
|
+
const la = {
|
|
3567
3557
|
mobileStepper: 1e3,
|
|
3568
3558
|
fab: 1050,
|
|
3569
3559
|
speedDial: 1050,
|
|
@@ -3572,25 +3562,25 @@ const da = {
|
|
|
3572
3562
|
modal: 1300,
|
|
3573
3563
|
snackbar: 1400,
|
|
3574
3564
|
tooltip: 1500
|
|
3575
|
-
},
|
|
3576
|
-
function
|
|
3565
|
+
}, fa = la, da = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
3566
|
+
function pa(e = {}, ...r) {
|
|
3577
3567
|
const {
|
|
3578
3568
|
mixins: t = {},
|
|
3579
3569
|
palette: n = {},
|
|
3580
3570
|
transitions: o = {},
|
|
3581
3571
|
typography: s = {}
|
|
3582
|
-
} = e, i = ne(e,
|
|
3572
|
+
} = e, i = ne(e, da);
|
|
3583
3573
|
if (e.vars)
|
|
3584
3574
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : xe(18));
|
|
3585
|
-
const a =
|
|
3575
|
+
const a = Xi(n), c = et(e);
|
|
3586
3576
|
let u = te(c, {
|
|
3587
|
-
mixins:
|
|
3577
|
+
mixins: Ui(c.breakpoints, t),
|
|
3588
3578
|
palette: a,
|
|
3589
3579
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
3590
|
-
shadows:
|
|
3591
|
-
typography:
|
|
3592
|
-
transitions:
|
|
3593
|
-
zIndex: _({},
|
|
3580
|
+
shadows: oa.slice(),
|
|
3581
|
+
typography: Qi(a, s),
|
|
3582
|
+
transitions: ua(o),
|
|
3583
|
+
zIndex: _({}, fa)
|
|
3594
3584
|
});
|
|
3595
3585
|
if (u = te(u, i), u = r.reduce((l, m) => te(l, m), u), process.env.NODE_ENV !== "production") {
|
|
3596
3586
|
const l = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], m = (d, b) => {
|
|
@@ -3623,8 +3613,8 @@ function ha(e = {}, ...r) {
|
|
|
3623
3613
|
});
|
|
3624
3614
|
}, u;
|
|
3625
3615
|
}
|
|
3626
|
-
const
|
|
3627
|
-
function
|
|
3616
|
+
const ma = pa(), tt = ma;
|
|
3617
|
+
function ha() {
|
|
3628
3618
|
const e = wn(tt);
|
|
3629
3619
|
return process.env.NODE_ENV !== "production" && I.useDebugValue(e), e[Lr] || e;
|
|
3630
3620
|
}
|
|
@@ -3632,25 +3622,25 @@ function On({
|
|
|
3632
3622
|
props: e,
|
|
3633
3623
|
name: r
|
|
3634
3624
|
}) {
|
|
3635
|
-
return
|
|
3625
|
+
return Di({
|
|
3636
3626
|
props: e,
|
|
3637
3627
|
name: r,
|
|
3638
3628
|
defaultTheme: tt,
|
|
3639
3629
|
themeId: Lr
|
|
3640
3630
|
});
|
|
3641
3631
|
}
|
|
3642
|
-
const
|
|
3632
|
+
const ya = (e) => Xe(e) && e !== "classes", ga = Ii({
|
|
3643
3633
|
themeId: Lr,
|
|
3644
3634
|
defaultTheme: tt,
|
|
3645
|
-
rootShouldForwardProp:
|
|
3646
|
-
}), Er =
|
|
3647
|
-
function
|
|
3635
|
+
rootShouldForwardProp: ya
|
|
3636
|
+
}), Er = ga;
|
|
3637
|
+
function ba(e) {
|
|
3648
3638
|
return ur("MuiCircularProgress", e);
|
|
3649
3639
|
}
|
|
3650
3640
|
vn("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]);
|
|
3651
|
-
const
|
|
3641
|
+
const va = ["className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"];
|
|
3652
3642
|
let xr = (e) => e, Lt, Ut, Wt, Bt;
|
|
3653
|
-
const le = 44,
|
|
3643
|
+
const le = 44, Ea = mn(Lt || (Lt = xr`
|
|
3654
3644
|
0% {
|
|
3655
3645
|
transform: rotate(0deg);
|
|
3656
3646
|
}
|
|
@@ -3658,7 +3648,7 @@ const le = 44, Sa = mn(Lt || (Lt = xr`
|
|
|
3658
3648
|
100% {
|
|
3659
3649
|
transform: rotate(360deg);
|
|
3660
3650
|
}
|
|
3661
|
-
`)),
|
|
3651
|
+
`)), xa = mn(Ut || (Ut = xr`
|
|
3662
3652
|
0% {
|
|
3663
3653
|
stroke-dasharray: 1px, 200px;
|
|
3664
3654
|
stroke-dashoffset: 0;
|
|
@@ -3673,7 +3663,7 @@ const le = 44, Sa = mn(Lt || (Lt = xr`
|
|
|
3673
3663
|
stroke-dasharray: 100px, 200px;
|
|
3674
3664
|
stroke-dashoffset: -125px;
|
|
3675
3665
|
}
|
|
3676
|
-
`)),
|
|
3666
|
+
`)), Sa = (e) => {
|
|
3677
3667
|
const {
|
|
3678
3668
|
classes: r,
|
|
3679
3669
|
variant: t,
|
|
@@ -3684,8 +3674,8 @@ const le = 44, Sa = mn(Lt || (Lt = xr`
|
|
|
3684
3674
|
svg: ["svg"],
|
|
3685
3675
|
circle: ["circle", `circle${ie(t)}`, o && "circleDisableShrink"]
|
|
3686
3676
|
};
|
|
3687
|
-
return bn(s,
|
|
3688
|
-
},
|
|
3677
|
+
return bn(s, ba, r);
|
|
3678
|
+
}, wa = Er("span", {
|
|
3689
3679
|
name: "MuiCircularProgress",
|
|
3690
3680
|
slot: "Root",
|
|
3691
3681
|
overridesResolver: (e, r) => {
|
|
@@ -3707,14 +3697,14 @@ const le = 44, Sa = mn(Lt || (Lt = xr`
|
|
|
3707
3697
|
ownerState: e
|
|
3708
3698
|
}) => e.variant === "indeterminate" && Xr(Wt || (Wt = xr`
|
|
3709
3699
|
animation: ${0} 1.4s linear infinite;
|
|
3710
|
-
`),
|
|
3700
|
+
`), Ea)), _a = Er("svg", {
|
|
3711
3701
|
name: "MuiCircularProgress",
|
|
3712
3702
|
slot: "Svg",
|
|
3713
3703
|
overridesResolver: (e, r) => r.svg
|
|
3714
3704
|
})({
|
|
3715
3705
|
display: "block"
|
|
3716
3706
|
// Keeps the progress centered
|
|
3717
|
-
}),
|
|
3707
|
+
}), $a = Er("circle", {
|
|
3718
3708
|
name: "MuiCircularProgress",
|
|
3719
3709
|
slot: "Circle",
|
|
3720
3710
|
overridesResolver: (e, r) => {
|
|
@@ -3739,7 +3729,7 @@ const le = 44, Sa = mn(Lt || (Lt = xr`
|
|
|
3739
3729
|
ownerState: e
|
|
3740
3730
|
}) => e.variant === "indeterminate" && !e.disableShrink && Xr(Bt || (Bt = xr`
|
|
3741
3731
|
animation: ${0} 1.4s ease-in-out infinite;
|
|
3742
|
-
`),
|
|
3732
|
+
`), xa)), Cn = /* @__PURE__ */ I.forwardRef(function(r, t) {
|
|
3743
3733
|
const n = On({
|
|
3744
3734
|
props: r,
|
|
3745
3735
|
name: "MuiCircularProgress"
|
|
@@ -3752,19 +3742,19 @@ const le = 44, Sa = mn(Lt || (Lt = xr`
|
|
|
3752
3742
|
thickness: u = 3.6,
|
|
3753
3743
|
value: l = 0,
|
|
3754
3744
|
variant: m = "indeterminate"
|
|
3755
|
-
} = n, d = ne(n,
|
|
3745
|
+
} = n, d = ne(n, va), b = _({}, n, {
|
|
3756
3746
|
color: s,
|
|
3757
3747
|
disableShrink: i,
|
|
3758
3748
|
size: a,
|
|
3759
3749
|
thickness: u,
|
|
3760
3750
|
value: l,
|
|
3761
3751
|
variant: m
|
|
3762
|
-
}), g =
|
|
3752
|
+
}), g = Sa(b), f = {}, p = {}, v = {};
|
|
3763
3753
|
if (m === "determinate") {
|
|
3764
3754
|
const C = 2 * Math.PI * ((le - u) / 2);
|
|
3765
3755
|
f.strokeDasharray = C.toFixed(3), v["aria-valuenow"] = Math.round(l), f.strokeDashoffset = `${((100 - l) / 100 * C).toFixed(3)}px`, p.transform = "rotate(-90deg)";
|
|
3766
3756
|
}
|
|
3767
|
-
return /* @__PURE__ */ re(
|
|
3757
|
+
return /* @__PURE__ */ re(wa, _({
|
|
3768
3758
|
className: Jt(g.root, o),
|
|
3769
3759
|
style: _({
|
|
3770
3760
|
width: a,
|
|
@@ -3774,11 +3764,11 @@ const le = 44, Sa = mn(Lt || (Lt = xr`
|
|
|
3774
3764
|
ref: t,
|
|
3775
3765
|
role: "progressbar"
|
|
3776
3766
|
}, v, d, {
|
|
3777
|
-
children: /* @__PURE__ */ re(
|
|
3767
|
+
children: /* @__PURE__ */ re(_a, {
|
|
3778
3768
|
className: g.svg,
|
|
3779
3769
|
ownerState: b,
|
|
3780
3770
|
viewBox: `${le / 2} ${le / 2} ${le} ${le}`,
|
|
3781
|
-
children: /* @__PURE__ */ re(
|
|
3771
|
+
children: /* @__PURE__ */ re($a, {
|
|
3782
3772
|
className: g.circle,
|
|
3783
3773
|
style: f,
|
|
3784
3774
|
ownerState: b,
|
|
@@ -3850,35 +3840,35 @@ process.env.NODE_ENV !== "production" && (Cn.propTypes = {
|
|
|
3850
3840
|
*/
|
|
3851
3841
|
variant: y.oneOf(["determinate", "indeterminate"])
|
|
3852
3842
|
});
|
|
3853
|
-
const
|
|
3843
|
+
const Oa = Cn, Tn = /* @__PURE__ */ I.createContext();
|
|
3854
3844
|
process.env.NODE_ENV !== "production" && (Tn.displayName = "GridContext");
|
|
3855
|
-
const
|
|
3856
|
-
function
|
|
3845
|
+
const Yt = Tn;
|
|
3846
|
+
function Ca(e) {
|
|
3857
3847
|
return ur("MuiGrid", e);
|
|
3858
3848
|
}
|
|
3859
|
-
const
|
|
3849
|
+
const Ta = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], Pa = ["column-reverse", "column", "row-reverse", "row"], Na = ["nowrap", "wrap-reverse", "wrap"], Re = ["auto", !0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], Ve = vn("MuiGrid", [
|
|
3860
3850
|
"root",
|
|
3861
3851
|
"container",
|
|
3862
3852
|
"item",
|
|
3863
3853
|
"zeroMinWidth",
|
|
3864
3854
|
// spacings
|
|
3865
|
-
...
|
|
3855
|
+
...Ta.map((e) => `spacing-xs-${e}`),
|
|
3866
3856
|
// direction values
|
|
3867
|
-
...
|
|
3857
|
+
...Pa.map((e) => `direction-xs-${e}`),
|
|
3868
3858
|
// wrap values
|
|
3869
|
-
...
|
|
3859
|
+
...Na.map((e) => `wrap-xs-${e}`),
|
|
3870
3860
|
// grid sizes for all breakpoints
|
|
3871
3861
|
...Re.map((e) => `grid-xs-${e}`),
|
|
3872
3862
|
...Re.map((e) => `grid-sm-${e}`),
|
|
3873
3863
|
...Re.map((e) => `grid-md-${e}`),
|
|
3874
3864
|
...Re.map((e) => `grid-lg-${e}`),
|
|
3875
3865
|
...Re.map((e) => `grid-xl-${e}`)
|
|
3876
|
-
]),
|
|
3866
|
+
]), ka = ["className", "columns", "columnSpacing", "component", "container", "direction", "item", "rowSpacing", "spacing", "wrap", "zeroMinWidth"];
|
|
3877
3867
|
function Ee(e) {
|
|
3878
3868
|
const r = parseFloat(e);
|
|
3879
3869
|
return `${r}${String(e).replace(String(r), "") || "px"}`;
|
|
3880
3870
|
}
|
|
3881
|
-
function
|
|
3871
|
+
function Ra({
|
|
3882
3872
|
theme: e,
|
|
3883
3873
|
ownerState: r
|
|
3884
3874
|
}) {
|
|
@@ -3929,7 +3919,7 @@ function Ma({
|
|
|
3929
3919
|
return e.breakpoints.values[o] === 0 ? Object.assign(n, s) : n[e.breakpoints.up(o)] = s, n;
|
|
3930
3920
|
}, {});
|
|
3931
3921
|
}
|
|
3932
|
-
function
|
|
3922
|
+
function Aa({
|
|
3933
3923
|
theme: e,
|
|
3934
3924
|
ownerState: r
|
|
3935
3925
|
}) {
|
|
@@ -3959,7 +3949,7 @@ function Pn({
|
|
|
3959
3949
|
const n = Object.keys(e).sort((o, s) => e[o] - e[s]);
|
|
3960
3950
|
return n.slice(0, n.indexOf(t));
|
|
3961
3951
|
}
|
|
3962
|
-
function
|
|
3952
|
+
function Ma({
|
|
3963
3953
|
theme: e,
|
|
3964
3954
|
ownerState: r
|
|
3965
3955
|
}) {
|
|
@@ -3997,7 +3987,7 @@ function ja({
|
|
|
3997
3987
|
}
|
|
3998
3988
|
return o;
|
|
3999
3989
|
}
|
|
4000
|
-
function
|
|
3990
|
+
function Ia({
|
|
4001
3991
|
theme: e,
|
|
4002
3992
|
ownerState: r
|
|
4003
3993
|
}) {
|
|
@@ -4037,7 +4027,7 @@ function Da({
|
|
|
4037
4027
|
}
|
|
4038
4028
|
return o;
|
|
4039
4029
|
}
|
|
4040
|
-
function
|
|
4030
|
+
function ja(e, r, t = {}) {
|
|
4041
4031
|
if (!e || e <= 0)
|
|
4042
4032
|
return [];
|
|
4043
4033
|
if (typeof e == "string" && !Number.isNaN(Number(e)) || typeof e == "number")
|
|
@@ -4048,7 +4038,7 @@ function Fa(e, r, t = {}) {
|
|
|
4048
4038
|
Number(s) > 0 && n.push(t[`spacing-${o}-${String(s)}`]);
|
|
4049
4039
|
}), n;
|
|
4050
4040
|
}
|
|
4051
|
-
const
|
|
4041
|
+
const Da = Er("div", {
|
|
4052
4042
|
name: "MuiGrid",
|
|
4053
4043
|
slot: "Root",
|
|
4054
4044
|
overridesResolver: (e, r) => {
|
|
@@ -4064,7 +4054,7 @@ const Va = Er("div", {
|
|
|
4064
4054
|
breakpoints: u
|
|
4065
4055
|
} = t;
|
|
4066
4056
|
let l = [];
|
|
4067
|
-
n && (l =
|
|
4057
|
+
n && (l = ja(i, u, r));
|
|
4068
4058
|
const m = [];
|
|
4069
4059
|
return u.forEach((d) => {
|
|
4070
4060
|
const b = t[d];
|
|
@@ -4086,8 +4076,8 @@ const Va = Er("div", {
|
|
|
4086
4076
|
minWidth: 0
|
|
4087
4077
|
}, e.wrap !== "wrap" && {
|
|
4088
4078
|
flexWrap: e.wrap
|
|
4089
|
-
}),
|
|
4090
|
-
function
|
|
4079
|
+
}), Aa, Ma, Ia, Ra);
|
|
4080
|
+
function Fa(e, r) {
|
|
4091
4081
|
if (!e || e <= 0)
|
|
4092
4082
|
return [];
|
|
4093
4083
|
if (typeof e == "string" && !Number.isNaN(Number(e)) || typeof e == "number")
|
|
@@ -4101,7 +4091,7 @@ function za(e, r) {
|
|
|
4101
4091
|
}
|
|
4102
4092
|
}), t;
|
|
4103
4093
|
}
|
|
4104
|
-
const
|
|
4094
|
+
const Va = (e) => {
|
|
4105
4095
|
const {
|
|
4106
4096
|
classes: r,
|
|
4107
4097
|
container: t,
|
|
@@ -4113,7 +4103,7 @@ const La = (e) => {
|
|
|
4113
4103
|
breakpoints: c
|
|
4114
4104
|
} = e;
|
|
4115
4105
|
let u = [];
|
|
4116
|
-
t && (u =
|
|
4106
|
+
t && (u = Fa(s, c));
|
|
4117
4107
|
const l = [];
|
|
4118
4108
|
c.forEach((d) => {
|
|
4119
4109
|
const b = e[d];
|
|
@@ -4122,14 +4112,14 @@ const La = (e) => {
|
|
|
4122
4112
|
const m = {
|
|
4123
4113
|
root: ["root", t && "container", o && "item", a && "zeroMinWidth", ...u, n !== "row" && `direction-xs-${String(n)}`, i !== "wrap" && `wrap-xs-${String(i)}`, ...l]
|
|
4124
4114
|
};
|
|
4125
|
-
return bn(m,
|
|
4115
|
+
return bn(m, Ca, r);
|
|
4126
4116
|
}, Me = /* @__PURE__ */ I.forwardRef(function(r, t) {
|
|
4127
4117
|
const n = On({
|
|
4128
4118
|
props: r,
|
|
4129
4119
|
name: "MuiGrid"
|
|
4130
4120
|
}), {
|
|
4131
4121
|
breakpoints: o
|
|
4132
|
-
} =
|
|
4122
|
+
} = ha(), s = $i(n), {
|
|
4133
4123
|
className: i,
|
|
4134
4124
|
columns: a,
|
|
4135
4125
|
columnSpacing: c,
|
|
@@ -4141,7 +4131,7 @@ const La = (e) => {
|
|
|
4141
4131
|
spacing: g = 0,
|
|
4142
4132
|
wrap: f = "wrap",
|
|
4143
4133
|
zeroMinWidth: p = !1
|
|
4144
|
-
} = s, v = ne(s,
|
|
4134
|
+
} = s, v = ne(s, ka), C = b || g, $ = c || g, S = I.useContext(Yt), h = l ? a || 12 : S, N = {}, O = _({}, v);
|
|
4145
4135
|
o.keys.forEach((w) => {
|
|
4146
4136
|
v[w] != null && (N[w] = v[w], delete O[w]);
|
|
4147
4137
|
});
|
|
@@ -4157,10 +4147,10 @@ const La = (e) => {
|
|
|
4157
4147
|
spacing: g
|
|
4158
4148
|
}, N, {
|
|
4159
4149
|
breakpoints: o.keys
|
|
4160
|
-
}), B =
|
|
4161
|
-
return /* @__PURE__ */ re(
|
|
4150
|
+
}), B = Va(Z);
|
|
4151
|
+
return /* @__PURE__ */ re(Yt.Provider, {
|
|
4162
4152
|
value: h,
|
|
4163
|
-
children: /* @__PURE__ */ re(
|
|
4153
|
+
children: /* @__PURE__ */ re(Da, _({
|
|
4164
4154
|
ownerState: Z,
|
|
4165
4155
|
className: Jt(B.root, i),
|
|
4166
4156
|
as: u,
|
|
@@ -4309,20 +4299,20 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
4309
4299
|
zeroMinWidth: e("item")
|
|
4310
4300
|
});
|
|
4311
4301
|
}
|
|
4312
|
-
const
|
|
4302
|
+
const za = Me, Gt = window.location.href, Nn = An({}), qa = ({ children: e, baseUrl: r, userData: t }) => {
|
|
4313
4303
|
const n = () => {
|
|
4314
|
-
window.location.href = `${r}/authentication/login?callbackUrl=${
|
|
4304
|
+
window.location.href = `${r}/authentication/login?callbackUrl=${Gt}`;
|
|
4315
4305
|
}, o = () => {
|
|
4316
|
-
window.location.href = `${r}/authentication/logout?callbackUrl=${
|
|
4306
|
+
window.location.href = `${r}/authentication/logout?callbackUrl=${Gt}`;
|
|
4317
4307
|
};
|
|
4318
4308
|
return t != null && t.isFetching ? /* @__PURE__ */ re(
|
|
4319
|
-
|
|
4309
|
+
za,
|
|
4320
4310
|
{
|
|
4321
4311
|
container: !0,
|
|
4322
4312
|
justifyContent: "center",
|
|
4323
4313
|
alignItems: "center",
|
|
4324
4314
|
sx: { minHeight: "100vh" },
|
|
4325
|
-
children: /* @__PURE__ */ re(
|
|
4315
|
+
children: /* @__PURE__ */ re(Oa, {})
|
|
4326
4316
|
}
|
|
4327
4317
|
) : t != null && t.isError ? (n(), null) : /* @__PURE__ */ re(
|
|
4328
4318
|
Nn.Provider,
|
|
@@ -4331,7 +4321,7 @@ const Ua = Me, Yt = window.location.href, Nn = An({}), Xa = ({ children: e, base
|
|
|
4331
4321
|
children: e
|
|
4332
4322
|
}
|
|
4333
4323
|
);
|
|
4334
|
-
},
|
|
4324
|
+
}, Ha = () => {
|
|
4335
4325
|
const { login: e, logout: r, user: t } = Xt(Nn);
|
|
4336
4326
|
return { login: e, logout: r, user: t };
|
|
4337
4327
|
}, Kt = {
|
|
@@ -4340,7 +4330,7 @@ const Ua = Me, Yt = window.location.href, Nn = An({}), Xa = ({ children: e, base
|
|
|
4340
4330
|
}, qt = (e) => {
|
|
4341
4331
|
window.location.href = `${e}/authentication/login?callbackUrl=${window.location.href}`;
|
|
4342
4332
|
};
|
|
4343
|
-
function
|
|
4333
|
+
function Xa({
|
|
4344
4334
|
config: e,
|
|
4345
4335
|
pushError: r = jn
|
|
4346
4336
|
}) {
|
|
@@ -4367,7 +4357,7 @@ function Za({
|
|
|
4367
4357
|
}
|
|
4368
4358
|
return t;
|
|
4369
4359
|
}
|
|
4370
|
-
const
|
|
4360
|
+
const La = (e) => {
|
|
4371
4361
|
const [r, t] = Mn([]);
|
|
4372
4362
|
return In(() => {
|
|
4373
4363
|
Zt.get(`${e}/user-management/api/v1/users/my-account/permissions`, {
|
|
@@ -4377,18 +4367,18 @@ const Wa = (e) => {
|
|
|
4377
4367
|
});
|
|
4378
4368
|
}, [e]), r;
|
|
4379
4369
|
}, kn = (e) => (r, t) => {
|
|
4380
|
-
const n =
|
|
4370
|
+
const n = La(e);
|
|
4381
4371
|
return t ? r.every(
|
|
4382
4372
|
(o) => n == null ? void 0 : n.includes(o)
|
|
4383
4373
|
) : r.some(
|
|
4384
4374
|
(o) => n == null ? void 0 : n.includes(o)
|
|
4385
4375
|
);
|
|
4386
|
-
},
|
|
4376
|
+
}, Ja = ({
|
|
4387
4377
|
baseUrl: e,
|
|
4388
4378
|
accessWith: r,
|
|
4389
4379
|
requireAll: t,
|
|
4390
4380
|
children: n
|
|
4391
|
-
}) => kn(e)(r, t) ? /* @__PURE__ */ re(Ht, { children: n }) : null,
|
|
4381
|
+
}) => kn(e)(r, t) ? /* @__PURE__ */ re(Ht, { children: n }) : null, Za = ({
|
|
4392
4382
|
accessWith: e,
|
|
4393
4383
|
requireAll: r,
|
|
4394
4384
|
baseUrl: t,
|
|
@@ -4396,11 +4386,11 @@ const Wa = (e) => {
|
|
|
4396
4386
|
children: o
|
|
4397
4387
|
}) => kn(t)(e, r) ? /* @__PURE__ */ re(Ht, { children: o }) : /* @__PURE__ */ re(Dn, { to: n, replace: !0 });
|
|
4398
4388
|
export {
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4389
|
+
qa as AuthProvider,
|
|
4390
|
+
Ja as HasPermission,
|
|
4391
|
+
Za as PermissionRoute,
|
|
4392
|
+
Xa as getAxiosInstance,
|
|
4403
4393
|
kn as getUseHasPermission,
|
|
4404
|
-
|
|
4405
|
-
|
|
4394
|
+
Ha as useAuth,
|
|
4395
|
+
La as useGetPermission
|
|
4406
4396
|
};
|