code7-leia 1.0.7 → 1.0.8
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/index.cjs.js +23 -23
- package/dist/index.es.js +189 -189
- package/package.json +2 -1
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import $e, { useLayoutEffect as po, useEffect as Re, useMemo as ot, useContext as rr, useDebugValue as bc, useReducer as Bn, useRef as Me, createElement as Ke, isValidElement as sn, cloneElement as fo, useState as Se, createContext as Ec, forwardRef as ui, useCallback as
|
|
1
|
+
import $e, { useLayoutEffect as po, useEffect as Re, useMemo as ot, useContext as rr, useDebugValue as bc, useReducer as Bn, useRef as Me, createElement as Ke, isValidElement as sn, cloneElement as fo, useState as Se, createContext as Ec, forwardRef as ui, useCallback as Ie, useImperativeHandle as wc, Fragment as Sc } from "react";
|
|
2
2
|
import { unstable_batchedUpdates as Tc, render as _c } from "react-dom";
|
|
3
3
|
import ee, { css as mo } from "styled-components";
|
|
4
|
-
import { renderToString as
|
|
4
|
+
import { renderToString as Ii } from "react-dom/server";
|
|
5
5
|
function vo(e) {
|
|
6
6
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7
7
|
}
|
|
@@ -209,8 +209,8 @@ function Cc() {
|
|
|
209
209
|
}
|
|
210
210
|
var te = !1, J;
|
|
211
211
|
{
|
|
212
|
-
var
|
|
213
|
-
J = new
|
|
212
|
+
var F = typeof WeakMap == "function" ? WeakMap : Map;
|
|
213
|
+
J = new F();
|
|
214
214
|
}
|
|
215
215
|
function S(f, A) {
|
|
216
216
|
if (!f || te)
|
|
@@ -261,14 +261,14 @@ function Cc() {
|
|
|
261
261
|
} catch (at) {
|
|
262
262
|
if (at && Q && typeof at.stack == "string") {
|
|
263
263
|
for (var re = at.stack.split(`
|
|
264
|
-
`),
|
|
265
|
-
`), _e = re.length - 1, Ce =
|
|
264
|
+
`), Fe = Q.stack.split(`
|
|
265
|
+
`), _e = re.length - 1, Ce = Fe.length - 1; _e >= 1 && Ce >= 0 && re[_e] !== Fe[Ce]; )
|
|
266
266
|
Ce--;
|
|
267
267
|
for (; _e >= 1 && Ce >= 0; _e--, Ce--)
|
|
268
|
-
if (re[_e] !==
|
|
268
|
+
if (re[_e] !== Fe[Ce]) {
|
|
269
269
|
if (_e !== 1 || Ce !== 1)
|
|
270
270
|
do
|
|
271
|
-
if (_e--, Ce--, Ce < 0 || re[_e] !==
|
|
271
|
+
if (_e--, Ce--, Ce < 0 || re[_e] !== Fe[Ce]) {
|
|
272
272
|
var Ye = `
|
|
273
273
|
` + re[_e].replace(" at new ", " at ");
|
|
274
274
|
return f.displayName && Ye.includes("<anonymous>") && (Ye = Ye.replace("<anonymous>", f.displayName)), typeof f == "function" && J.set(f, Ye), Ye;
|
|
@@ -280,8 +280,8 @@ function Cc() {
|
|
|
280
280
|
} finally {
|
|
281
281
|
te = !1, V.current = ge, G(), Error.prepareStackTrace = ce;
|
|
282
282
|
}
|
|
283
|
-
var Pt = f ? f.displayName || f.name : "",
|
|
284
|
-
return typeof f == "function" && J.set(f,
|
|
283
|
+
var Pt = f ? f.displayName || f.name : "", Fi = Pt ? X(Pt) : "";
|
|
284
|
+
return typeof f == "function" && J.set(f, Fi), Fi;
|
|
285
285
|
}
|
|
286
286
|
function be(f, A, z) {
|
|
287
287
|
return S(f, !1);
|
|
@@ -335,8 +335,8 @@ function Cc() {
|
|
|
335
335
|
var re = void 0;
|
|
336
336
|
try {
|
|
337
337
|
if (typeof f[ie] != "function") {
|
|
338
|
-
var
|
|
339
|
-
throw
|
|
338
|
+
var Fe = Error((Q || "React class") + ": " + z + " type `" + ie + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof f[ie] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
339
|
+
throw Fe.name = "Invariant Violation", Fe;
|
|
340
340
|
}
|
|
341
341
|
re = f[ie](A, ie, Q, z, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
342
342
|
} catch (_e) {
|
|
@@ -356,7 +356,7 @@ function Cc() {
|
|
|
356
356
|
return z;
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
|
-
function
|
|
359
|
+
function I(f) {
|
|
360
360
|
try {
|
|
361
361
|
return W(f), !1;
|
|
362
362
|
} catch {
|
|
@@ -367,7 +367,7 @@ function Cc() {
|
|
|
367
367
|
return "" + f;
|
|
368
368
|
}
|
|
369
369
|
function Ee(f) {
|
|
370
|
-
if (
|
|
370
|
+
if (I(f))
|
|
371
371
|
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", br(f)), W(f);
|
|
372
372
|
}
|
|
373
373
|
var Te = y.ReactCurrentOwner, De = {
|
|
@@ -448,8 +448,8 @@ function Cc() {
|
|
|
448
448
|
};
|
|
449
449
|
function Qt(f, A, z, Q, ce) {
|
|
450
450
|
{
|
|
451
|
-
var ge, ie = {}, re = null,
|
|
452
|
-
z !== void 0 && (Ee(z), re = "" + z), Yt(A) && (Ee(A.key), re = "" + A.key), Wt(A) && (
|
|
451
|
+
var ge, ie = {}, re = null, Fe = null;
|
|
452
|
+
z !== void 0 && (Ee(z), re = "" + z), Yt(A) && (Ee(A.key), re = "" + A.key), Wt(A) && (Fe = A.ref, Kt(A, ce));
|
|
453
453
|
for (ge in A)
|
|
454
454
|
mt.call(A, ge) && !De.hasOwnProperty(ge) && (ie[ge] = A[ge]);
|
|
455
455
|
if (f && f.defaultProps) {
|
|
@@ -457,11 +457,11 @@ function Cc() {
|
|
|
457
457
|
for (ge in _e)
|
|
458
458
|
ie[ge] === void 0 && (ie[ge] = _e[ge]);
|
|
459
459
|
}
|
|
460
|
-
if (re ||
|
|
460
|
+
if (re || Fe) {
|
|
461
461
|
var Ce = typeof f == "function" ? f.displayName || f.name || "Unknown" : f;
|
|
462
|
-
re && kt(ie, Ce),
|
|
462
|
+
re && kt(ie, Ce), Fe && Gt(ie, Ce);
|
|
463
463
|
}
|
|
464
|
-
return Jt(f, re,
|
|
464
|
+
return Jt(f, re, Fe, ce, Q, Te.current, ie);
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
var vt = y.ReactCurrentOwner, Tn = y.ReactDebugCurrentFrame;
|
|
@@ -580,8 +580,8 @@ Check the top-level render call using <` + z + ">.");
|
|
|
580
580
|
if (!ie) {
|
|
581
581
|
var re = "";
|
|
582
582
|
(f === void 0 || typeof f == "object" && f !== null && Object.keys(f).length === 0) && (re += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
583
|
-
var
|
|
584
|
-
|
|
583
|
+
var Fe = dc();
|
|
584
|
+
Fe ? re += Fe : re += ki();
|
|
585
585
|
var _e;
|
|
586
586
|
f === null ? _e = "null" : Vt(f) ? _e = "array" : f !== void 0 && f.$$typeof === t ? (_e = "<" + (R(f.type) || "Unknown") + " />", re = " Did you accidentally export a JSX literal instead of a component?") : _e = typeof f, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _e, re);
|
|
587
587
|
}
|
|
@@ -779,10 +779,10 @@ function kc() {
|
|
|
779
779
|
function J(S) {
|
|
780
780
|
return b(S) === i;
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function F(S) {
|
|
783
783
|
return b(S) === p;
|
|
784
784
|
}
|
|
785
|
-
ue.AsyncMode = d, ue.ConcurrentMode = j, ue.ContextConsumer = D, ue.ContextProvider = T, ue.Element = U, ue.ForwardRef = B, ue.Fragment = q, ue.Lazy = H, ue.Memo = R, ue.Portal = L, ue.Profiler = ne, ue.StrictMode = K, ue.Suspense = he, ue.isAsyncMode = se, ue.isConcurrentMode = O, ue.isContextConsumer = k, ue.isContextProvider = N, ue.isElement = $, ue.isForwardRef = M, ue.isFragment = G, ue.isLazy = V, ue.isMemo = Y, ue.isPortal = X, ue.isProfiler = te, ue.isStrictMode = J, ue.isSuspense =
|
|
785
|
+
ue.AsyncMode = d, ue.ConcurrentMode = j, ue.ContextConsumer = D, ue.ContextProvider = T, ue.Element = U, ue.ForwardRef = B, ue.Fragment = q, ue.Lazy = H, ue.Memo = R, ue.Portal = L, ue.Profiler = ne, ue.StrictMode = K, ue.Suspense = he, ue.isAsyncMode = se, ue.isConcurrentMode = O, ue.isContextConsumer = k, ue.isContextProvider = N, ue.isElement = $, ue.isForwardRef = M, ue.isFragment = G, ue.isLazy = V, ue.isMemo = Y, ue.isPortal = X, ue.isProfiler = te, ue.isStrictMode = J, ue.isSuspense = F, ue.isValidElementType = C, ue.typeOf = b;
|
|
786
786
|
})()), ue;
|
|
787
787
|
}
|
|
788
788
|
var qi;
|
|
@@ -955,8 +955,8 @@ function Nc() {
|
|
|
955
955
|
function h(O) {
|
|
956
956
|
if (process.env.NODE_ENV !== "production")
|
|
957
957
|
var k = {}, N = 0;
|
|
958
|
-
function $(G, V, Y, X, te, J,
|
|
959
|
-
if (X = X || g, J = J || Y,
|
|
958
|
+
function $(G, V, Y, X, te, J, F) {
|
|
959
|
+
if (X = X || g, J = J || Y, F !== n) {
|
|
960
960
|
if (c) {
|
|
961
961
|
var S = new Error(
|
|
962
962
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -1051,7 +1051,7 @@ function Nc() {
|
|
|
1051
1051
|
for (var Y = N[$], X = 0; X < O.length; X++)
|
|
1052
1052
|
if (m(Y, O[X]))
|
|
1053
1053
|
return null;
|
|
1054
|
-
var te = JSON.stringify(O, function(
|
|
1054
|
+
var te = JSON.stringify(O, function(F, S) {
|
|
1055
1055
|
var be = he(S);
|
|
1056
1056
|
return be === "symbol" ? String(S) : S;
|
|
1057
1057
|
});
|
|
@@ -1088,7 +1088,7 @@ function Nc() {
|
|
|
1088
1088
|
}
|
|
1089
1089
|
function $(M, G, V, Y, X) {
|
|
1090
1090
|
for (var te = [], J = 0; J < O.length; J++) {
|
|
1091
|
-
var
|
|
1091
|
+
var F = O[J], S = F(M, G, V, Y, X, n);
|
|
1092
1092
|
if (S == null)
|
|
1093
1093
|
return null;
|
|
1094
1094
|
S.data && r(S.data, "expectedType") && te.push(S.data.expectedType);
|
|
@@ -1118,9 +1118,9 @@ function Nc() {
|
|
|
1118
1118
|
var J = O[te];
|
|
1119
1119
|
if (typeof J != "function")
|
|
1120
1120
|
return q(M, G, V, te, he(J));
|
|
1121
|
-
var
|
|
1122
|
-
if (
|
|
1123
|
-
return
|
|
1121
|
+
var F = J(Y, te, M, G, V + "." + te, n);
|
|
1122
|
+
if (F)
|
|
1123
|
+
return F;
|
|
1124
1124
|
}
|
|
1125
1125
|
return null;
|
|
1126
1126
|
}
|
|
@@ -1133,15 +1133,15 @@ function Nc() {
|
|
|
1133
1133
|
return new v("Invalid " + G + " `" + V + "` of type `" + X + "` " + ("supplied to `" + M + "`, expected `object`."));
|
|
1134
1134
|
var te = t({}, N[$], O);
|
|
1135
1135
|
for (var J in te) {
|
|
1136
|
-
var
|
|
1137
|
-
if (r(O, J) && typeof
|
|
1138
|
-
return q(M, G, V, J, he(
|
|
1139
|
-
if (!
|
|
1136
|
+
var F = O[J];
|
|
1137
|
+
if (r(O, J) && typeof F != "function")
|
|
1138
|
+
return q(M, G, V, J, he(F));
|
|
1139
|
+
if (!F)
|
|
1140
1140
|
return new v(
|
|
1141
1141
|
"Invalid " + G + " `" + V + "` key `" + J + "` supplied to `" + M + "`.\nBad object: " + JSON.stringify(N[$], null, " ") + `
|
|
1142
1142
|
Valid keys: ` + JSON.stringify(Object.keys(O), null, " ")
|
|
1143
1143
|
);
|
|
1144
|
-
var S =
|
|
1144
|
+
var S = F(Y, J, M, G, V + "." + J, n);
|
|
1145
1145
|
if (S)
|
|
1146
1146
|
return S;
|
|
1147
1147
|
}
|
|
@@ -1270,7 +1270,7 @@ function Dc() {
|
|
|
1270
1270
|
}, Rr;
|
|
1271
1271
|
}
|
|
1272
1272
|
var Gi;
|
|
1273
|
-
function
|
|
1273
|
+
function Fc() {
|
|
1274
1274
|
if (Gi) return On.exports;
|
|
1275
1275
|
if (Gi = 1, process.env.NODE_ENV !== "production") {
|
|
1276
1276
|
var e = ho(), t = !0;
|
|
@@ -1279,8 +1279,8 @@ function Ic() {
|
|
|
1279
1279
|
On.exports = /* @__PURE__ */ Dc()();
|
|
1280
1280
|
return On.exports;
|
|
1281
1281
|
}
|
|
1282
|
-
var
|
|
1283
|
-
const P = /* @__PURE__ */ vo(
|
|
1282
|
+
var Ic = /* @__PURE__ */ Fc();
|
|
1283
|
+
const P = /* @__PURE__ */ vo(Ic);
|
|
1284
1284
|
var lt = /* @__PURE__ */ $e.createContext(null);
|
|
1285
1285
|
process.env.NODE_ENV !== "production" && (lt.displayName = "ReactRedux");
|
|
1286
1286
|
function Lc(e) {
|
|
@@ -1570,10 +1570,10 @@ function Bc() {
|
|
|
1570
1570
|
function J(S) {
|
|
1571
1571
|
return b(S) === i;
|
|
1572
1572
|
}
|
|
1573
|
-
function
|
|
1573
|
+
function F(S) {
|
|
1574
1574
|
return b(S) === p;
|
|
1575
1575
|
}
|
|
1576
|
-
de.AsyncMode = d, de.ConcurrentMode = j, de.ContextConsumer = D, de.ContextProvider = T, de.Element = U, de.ForwardRef = B, de.Fragment = q, de.Lazy = H, de.Memo = R, de.Portal = L, de.Profiler = ne, de.StrictMode = K, de.Suspense = he, de.isAsyncMode = se, de.isConcurrentMode = O, de.isContextConsumer = k, de.isContextProvider = N, de.isElement = $, de.isForwardRef = M, de.isFragment = G, de.isLazy = V, de.isMemo = Y, de.isPortal = X, de.isProfiler = te, de.isStrictMode = J, de.isSuspense =
|
|
1576
|
+
de.AsyncMode = d, de.ConcurrentMode = j, de.ContextConsumer = D, de.ContextProvider = T, de.Element = U, de.ForwardRef = B, de.Fragment = q, de.Lazy = H, de.Memo = R, de.Portal = L, de.Profiler = ne, de.StrictMode = K, de.Suspense = he, de.isAsyncMode = se, de.isConcurrentMode = O, de.isContextConsumer = k, de.isContextProvider = N, de.isElement = $, de.isForwardRef = M, de.isFragment = G, de.isLazy = V, de.isMemo = Y, de.isPortal = X, de.isProfiler = te, de.isStrictMode = J, de.isSuspense = F, de.isValidElementType = C, de.typeOf = b;
|
|
1577
1577
|
})()), de;
|
|
1578
1578
|
}
|
|
1579
1579
|
var Zi;
|
|
@@ -1743,15 +1743,15 @@ function Yc() {
|
|
|
1743
1743
|
e = y("react.element"), t = y("react.portal"), n = y("react.fragment"), r = y("react.strict_mode"), i = y("react.profiler"), a = y("react.provider"), o = y("react.context"), s = y("react.forward_ref"), c = y("react.suspense"), u = y("react.suspense_list"), l = y("react.memo"), p = y("react.lazy"), g = y("react.block"), E = y("react.server.block"), m = y("react.fundamental"), y("react.scope"), y("react.opaque.id"), v = y("react.debug_trace_mode"), y("react.offscreen"), h = y("react.legacy_hidden");
|
|
1744
1744
|
}
|
|
1745
1745
|
var _ = !1;
|
|
1746
|
-
function C(
|
|
1747
|
-
return !!(typeof
|
|
1746
|
+
function C(F) {
|
|
1747
|
+
return !!(typeof F == "string" || typeof F == "function" || F === n || F === i || F === v || F === r || F === c || F === u || F === h || _ || typeof F == "object" && F !== null && (F.$$typeof === p || F.$$typeof === l || F.$$typeof === a || F.$$typeof === o || F.$$typeof === s || F.$$typeof === m || F.$$typeof === g || F[0] === E));
|
|
1748
1748
|
}
|
|
1749
|
-
function b(
|
|
1750
|
-
if (typeof
|
|
1751
|
-
var S =
|
|
1749
|
+
function b(F) {
|
|
1750
|
+
if (typeof F == "object" && F !== null) {
|
|
1751
|
+
var S = F.$$typeof;
|
|
1752
1752
|
switch (S) {
|
|
1753
1753
|
case e:
|
|
1754
|
-
var be =
|
|
1754
|
+
var be = F.type;
|
|
1755
1755
|
switch (be) {
|
|
1756
1756
|
case n:
|
|
1757
1757
|
case i:
|
|
@@ -1778,44 +1778,44 @@ function Yc() {
|
|
|
1778
1778
|
}
|
|
1779
1779
|
}
|
|
1780
1780
|
var d = o, j = a, D = e, T = s, U = n, B = p, q = l, H = t, R = i, L = r, ne = c, K = !1, he = !1;
|
|
1781
|
-
function oe(
|
|
1781
|
+
function oe(F) {
|
|
1782
1782
|
return K || (K = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1783
1783
|
}
|
|
1784
|
-
function se(
|
|
1784
|
+
function se(F) {
|
|
1785
1785
|
return he || (he = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1786
1786
|
}
|
|
1787
|
-
function O(
|
|
1788
|
-
return b(
|
|
1787
|
+
function O(F) {
|
|
1788
|
+
return b(F) === o;
|
|
1789
1789
|
}
|
|
1790
|
-
function k(
|
|
1791
|
-
return b(
|
|
1790
|
+
function k(F) {
|
|
1791
|
+
return b(F) === a;
|
|
1792
1792
|
}
|
|
1793
|
-
function N(
|
|
1794
|
-
return typeof
|
|
1793
|
+
function N(F) {
|
|
1794
|
+
return typeof F == "object" && F !== null && F.$$typeof === e;
|
|
1795
1795
|
}
|
|
1796
|
-
function $(
|
|
1797
|
-
return b(
|
|
1796
|
+
function $(F) {
|
|
1797
|
+
return b(F) === s;
|
|
1798
1798
|
}
|
|
1799
|
-
function M(
|
|
1800
|
-
return b(
|
|
1799
|
+
function M(F) {
|
|
1800
|
+
return b(F) === n;
|
|
1801
1801
|
}
|
|
1802
|
-
function G(
|
|
1803
|
-
return b(
|
|
1802
|
+
function G(F) {
|
|
1803
|
+
return b(F) === p;
|
|
1804
1804
|
}
|
|
1805
|
-
function V(
|
|
1806
|
-
return b(
|
|
1805
|
+
function V(F) {
|
|
1806
|
+
return b(F) === l;
|
|
1807
1807
|
}
|
|
1808
|
-
function Y(
|
|
1809
|
-
return b(
|
|
1808
|
+
function Y(F) {
|
|
1809
|
+
return b(F) === t;
|
|
1810
1810
|
}
|
|
1811
|
-
function X(
|
|
1812
|
-
return b(
|
|
1811
|
+
function X(F) {
|
|
1812
|
+
return b(F) === i;
|
|
1813
1813
|
}
|
|
1814
|
-
function te(
|
|
1815
|
-
return b(
|
|
1814
|
+
function te(F) {
|
|
1815
|
+
return b(F) === r;
|
|
1816
1816
|
}
|
|
1817
|
-
function J(
|
|
1818
|
-
return b(
|
|
1817
|
+
function J(F) {
|
|
1818
|
+
return b(F) === c;
|
|
1819
1819
|
}
|
|
1820
1820
|
me.ContextConsumer = d, me.ContextProvider = j, me.Element = D, me.ForwardRef = T, me.Fragment = U, me.Lazy = B, me.Memo = q, me.Portal = H, me.Profiler = R, me.StrictMode = L, me.Suspense = ne, me.isAsyncMode = oe, me.isConcurrentMode = se, me.isContextConsumer = O, me.isContextProvider = k, me.isElement = N, me.isForwardRef = $, me.isFragment = M, me.isLazy = G, me.isMemo = V, me.isPortal = Y, me.isProfiler = X, me.isStrictMode = te, me.isSuspense = J, me.isValidElementType = C, me.typeOf = b;
|
|
1821
1821
|
})()), me;
|
|
@@ -1931,7 +1931,7 @@ function tl(e) {
|
|
|
1931
1931
|
let t;
|
|
1932
1932
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Oo(e.buffer), t;
|
|
1933
1933
|
}
|
|
1934
|
-
const nl = or("string"), Ue = or("function"), Co = or("number"), vn = (e) => e !== null && typeof e == "object", rl = (e) => e === !0 || e === !1,
|
|
1934
|
+
const nl = or("string"), Ue = or("function"), Co = or("number"), vn = (e) => e !== null && typeof e == "object", rl = (e) => e === !0 || e === !1, Fn = (e) => {
|
|
1935
1935
|
if (ar(e) !== "object")
|
|
1936
1936
|
return !1;
|
|
1937
1937
|
const t = di(e);
|
|
@@ -1980,7 +1980,7 @@ const yt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typ
|
|
|
1980
1980
|
function qr() {
|
|
1981
1981
|
const { caseless: e, skipUndefined: t } = Ao(this) && this || {}, n = {}, r = (i, a) => {
|
|
1982
1982
|
const o = e && Ro(n, a) || a;
|
|
1983
|
-
|
|
1983
|
+
Fn(n[o]) && Fn(i) ? n[o] = qr(n[o], i) : Fn(i) ? n[o] = qr({}, i) : qt(i) ? n[o] = i.slice() : (!t || !zt(i)) && (n[o] = i);
|
|
1984
1984
|
};
|
|
1985
1985
|
for (let i = 0, a = arguments.length; i < a; i++)
|
|
1986
1986
|
arguments[i] && hn(arguments[i], r);
|
|
@@ -2085,7 +2085,7 @@ const Dl = (e) => {
|
|
|
2085
2085
|
return r;
|
|
2086
2086
|
};
|
|
2087
2087
|
return n(e, 0);
|
|
2088
|
-
},
|
|
2088
|
+
}, Fl = Qe("AsyncFunction"), Il = (e) => e && (vn(e) || Ue(e)) && Ue(e.then) && Ue(e.catch), jo = ((e, t) => e ? setImmediate : t ? ((n, r) => (yt.addEventListener("message", ({ source: i, data: a }) => {
|
|
2089
2089
|
i === yt && a === n && r.length && r.shift()();
|
|
2090
2090
|
}, !1), (i) => {
|
|
2091
2091
|
r.push(i), yt.postMessage(n, "*");
|
|
@@ -2102,7 +2102,7 @@ const Dl = (e) => {
|
|
|
2102
2102
|
isNumber: Co,
|
|
2103
2103
|
isBoolean: rl,
|
|
2104
2104
|
isObject: vn,
|
|
2105
|
-
isPlainObject:
|
|
2105
|
+
isPlainObject: Fn,
|
|
2106
2106
|
isEmptyObject: il,
|
|
2107
2107
|
isReadableStream: dl,
|
|
2108
2108
|
isRequest: fl,
|
|
@@ -2146,8 +2146,8 @@ const Dl = (e) => {
|
|
|
2146
2146
|
isContextDefined: Ao,
|
|
2147
2147
|
isSpecCompliantForm: Nl,
|
|
2148
2148
|
toJSONObject: Dl,
|
|
2149
|
-
isAsyncFn:
|
|
2150
|
-
isThenable:
|
|
2149
|
+
isAsyncFn: Fl,
|
|
2150
|
+
isThenable: Il,
|
|
2151
2151
|
setImmediate: jo,
|
|
2152
2152
|
asap: Ll,
|
|
2153
2153
|
isIterable: zl
|
|
@@ -2302,11 +2302,11 @@ function oa(e) {
|
|
|
2302
2302
|
function fi(e, t) {
|
|
2303
2303
|
this._pairs = [], e && sr(e, this, t);
|
|
2304
2304
|
}
|
|
2305
|
-
const
|
|
2306
|
-
|
|
2305
|
+
const Fo = fi.prototype;
|
|
2306
|
+
Fo.append = function(t, n) {
|
|
2307
2307
|
this._pairs.push([t, n]);
|
|
2308
2308
|
};
|
|
2309
|
-
|
|
2309
|
+
Fo.toString = function(t) {
|
|
2310
2310
|
const n = t ? function(r) {
|
|
2311
2311
|
return t.call(this, r, oa);
|
|
2312
2312
|
} : oa;
|
|
@@ -2317,7 +2317,7 @@ Io.toString = function(t) {
|
|
|
2317
2317
|
function ql(e) {
|
|
2318
2318
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
2319
2319
|
}
|
|
2320
|
-
function
|
|
2320
|
+
function Io(e, t, n) {
|
|
2321
2321
|
if (!t)
|
|
2322
2322
|
return e;
|
|
2323
2323
|
const r = n && n.encode || ql;
|
|
@@ -2553,8 +2553,8 @@ const tu = w.toObjectSet([
|
|
|
2553
2553
|
function en(e) {
|
|
2554
2554
|
return e && String(e).trim().toLowerCase();
|
|
2555
2555
|
}
|
|
2556
|
-
function
|
|
2557
|
-
return e === !1 || e == null ? e : w.isArray(e) ? e.map(
|
|
2556
|
+
function In(e) {
|
|
2557
|
+
return e === !1 || e == null ? e : w.isArray(e) ? e.map(In) : String(e);
|
|
2558
2558
|
}
|
|
2559
2559
|
function ru(e) {
|
|
2560
2560
|
const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -2599,7 +2599,7 @@ let qe = class {
|
|
|
2599
2599
|
if (!l)
|
|
2600
2600
|
throw new Error("header name must be a non-empty string");
|
|
2601
2601
|
const p = w.findKey(i, l);
|
|
2602
|
-
(!p || i[p] === void 0 || u === !0 || u === void 0 && i[p] !== !1) && (i[p || c] =
|
|
2602
|
+
(!p || i[p] === void 0 || u === !0 || u === void 0 && i[p] !== !1) && (i[p || c] = In(s));
|
|
2603
2603
|
}
|
|
2604
2604
|
const o = (s, c) => w.forEach(s, (u, l) => a(u, l, c));
|
|
2605
2605
|
if (w.isPlainObject(t) || t instanceof this.constructor)
|
|
@@ -2667,11 +2667,11 @@ let qe = class {
|
|
|
2667
2667
|
return w.forEach(this, (i, a) => {
|
|
2668
2668
|
const o = w.findKey(r, a);
|
|
2669
2669
|
if (o) {
|
|
2670
|
-
n[o] =
|
|
2670
|
+
n[o] = In(i), delete n[a];
|
|
2671
2671
|
return;
|
|
2672
2672
|
}
|
|
2673
2673
|
const s = t ? au(a) : String(a).trim();
|
|
2674
|
-
s !== a && delete n[a], n[s] =
|
|
2674
|
+
s !== a && delete n[a], n[s] = In(i), r[s] = !0;
|
|
2675
2675
|
}), this;
|
|
2676
2676
|
}
|
|
2677
2677
|
concat(...t) {
|
|
@@ -2917,7 +2917,7 @@ function wt(e, t) {
|
|
|
2917
2917
|
const qo = (e) => {
|
|
2918
2918
|
const t = wt({}, e);
|
|
2919
2919
|
let { data: n, withXSRFToken: r, xsrfHeaderName: i, xsrfCookieName: a, headers: o, auth: s } = t;
|
|
2920
|
-
if (t.headers = o = qe.from(o), t.url =
|
|
2920
|
+
if (t.headers = o = qe.from(o), t.url = Io(Uo(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), s && o.set(
|
|
2921
2921
|
"Authorization",
|
|
2922
2922
|
"Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))
|
|
2923
2923
|
), w.isFormData(n)) {
|
|
@@ -3445,7 +3445,7 @@ let bt = class {
|
|
|
3445
3445
|
getUri(t) {
|
|
3446
3446
|
t = wt(this.defaults, t);
|
|
3447
3447
|
const n = Uo(t.baseURL, t.url, t.allowAbsoluteUrls);
|
|
3448
|
-
return
|
|
3448
|
+
return Io(n, t.params, t.paramsSerializer);
|
|
3449
3449
|
}
|
|
3450
3450
|
};
|
|
3451
3451
|
w.forEach(["delete", "get", "head", "options"], function(t) {
|
|
@@ -3704,7 +3704,7 @@ function Du(e) {
|
|
|
3704
3704
|
var t = Nu(e, "string");
|
|
3705
3705
|
return cn(t) == "symbol" ? t : t + "";
|
|
3706
3706
|
}
|
|
3707
|
-
function
|
|
3707
|
+
function Fu(e, t, n) {
|
|
3708
3708
|
return (t = Du(t)) in e ? Object.defineProperty(e, t, {
|
|
3709
3709
|
value: n,
|
|
3710
3710
|
enumerable: !0,
|
|
@@ -3726,7 +3726,7 @@ function wa(e) {
|
|
|
3726
3726
|
for (var t = 1; t < arguments.length; t++) {
|
|
3727
3727
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
3728
3728
|
t % 2 ? Ea(Object(n), !0).forEach(function(r) {
|
|
3729
|
-
|
|
3729
|
+
Fu(e, r, n[r]);
|
|
3730
3730
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ea(Object(n)).forEach(function(r) {
|
|
3731
3731
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
3732
3732
|
});
|
|
@@ -3744,7 +3744,7 @@ var Sa = (function() {
|
|
|
3744
3744
|
INIT: "@@redux/INIT" + Ta(),
|
|
3745
3745
|
REPLACE: "@@redux/REPLACE" + Ta()
|
|
3746
3746
|
};
|
|
3747
|
-
function
|
|
3747
|
+
function Iu(e) {
|
|
3748
3748
|
if (typeof e != "object" || e === null) return !1;
|
|
3749
3749
|
for (var t = e; Object.getPrototypeOf(t) !== null; )
|
|
3750
3750
|
t = Object.getPrototypeOf(t);
|
|
@@ -3827,7 +3827,7 @@ function Ko(e, t, n) {
|
|
|
3827
3827
|
};
|
|
3828
3828
|
}
|
|
3829
3829
|
function g(v) {
|
|
3830
|
-
if (!
|
|
3830
|
+
if (!Iu(v))
|
|
3831
3831
|
throw new Error(process.env.NODE_ENV === "production" ? Ve(7) : "Actions must be plain objects. Instead, the actual type was: '" + Nt(v) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");
|
|
3832
3832
|
if (typeof v.type > "u")
|
|
3833
3833
|
throw new Error(process.env.NODE_ENV === "production" ? Ve(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
|
|
@@ -3921,7 +3921,7 @@ function qu() {
|
|
|
3921
3921
|
}
|
|
3922
3922
|
var Xe = function(t) {
|
|
3923
3923
|
return "@@redux-saga/" + t;
|
|
3924
|
-
}, Go = /* @__PURE__ */ Xe("CANCEL_PROMISE"), Jo = /* @__PURE__ */ Xe("CHANNEL_END"), vi = /* @__PURE__ */ Xe("IO"), Oa = /* @__PURE__ */ Xe("MATCH"), Qo = /* @__PURE__ */ Xe("MULTICAST"), Xo = /* @__PURE__ */ Xe("SAGA_ACTION"), Yr = /* @__PURE__ */ Xe("SELF_CANCELLATION"), Zo = /* @__PURE__ */ Xe("TASK"),
|
|
3924
|
+
}, Go = /* @__PURE__ */ Xe("CANCEL_PROMISE"), Jo = /* @__PURE__ */ Xe("CHANNEL_END"), vi = /* @__PURE__ */ Xe("IO"), Oa = /* @__PURE__ */ Xe("MATCH"), Qo = /* @__PURE__ */ Xe("MULTICAST"), Xo = /* @__PURE__ */ Xe("SAGA_ACTION"), Yr = /* @__PURE__ */ Xe("SELF_CANCELLATION"), Zo = /* @__PURE__ */ Xe("TASK"), It = /* @__PURE__ */ Xe("TASK_CANCEL"), es = /* @__PURE__ */ Xe("TERMINATE"), Bu = /* @__PURE__ */ Xe("LOCATION"), ts = function(t) {
|
|
3925
3925
|
return t == null;
|
|
3926
3926
|
}, Ae = function(t) {
|
|
3927
3927
|
return t != null;
|
|
@@ -4054,7 +4054,7 @@ const freezeActions = store => next => action => next(Object.freeze(action))
|
|
|
4054
4054
|
}, os = function(t) {
|
|
4055
4055
|
return t === es;
|
|
4056
4056
|
}, ss = function(t) {
|
|
4057
|
-
return t ===
|
|
4057
|
+
return t === It;
|
|
4058
4058
|
}, cs = function(t) {
|
|
4059
4059
|
return os(t) || ss(t);
|
|
4060
4060
|
};
|
|
@@ -4410,7 +4410,7 @@ function Dp(e, t) {
|
|
|
4410
4410
|
name: e.meta.name
|
|
4411
4411
|
} : xi(t);
|
|
4412
4412
|
}
|
|
4413
|
-
function
|
|
4413
|
+
function Fp(e) {
|
|
4414
4414
|
var t = e.context, n = e.fn, r = e.args;
|
|
4415
4415
|
try {
|
|
4416
4416
|
var i = n.apply(t, r);
|
|
@@ -4432,7 +4432,7 @@ function Ip(e) {
|
|
|
4432
4432
|
});
|
|
4433
4433
|
}
|
|
4434
4434
|
}
|
|
4435
|
-
function
|
|
4435
|
+
function Ip(e, t, n) {
|
|
4436
4436
|
var r = t.channel, i = t.action, a = t.resolve;
|
|
4437
4437
|
Es(function() {
|
|
4438
4438
|
var o;
|
|
@@ -4503,7 +4503,7 @@ function Mp(e, t, n) {
|
|
|
4503
4503
|
}
|
|
4504
4504
|
}
|
|
4505
4505
|
function $p(e, t, n, r) {
|
|
4506
|
-
var i = t.context, a = t.fn, o = t.args, s = t.detached, c = r.task, u =
|
|
4506
|
+
var i = t.context, a = t.fn, o = t.args, s = t.detached, c = r.task, u = Fp({
|
|
4507
4507
|
context: i,
|
|
4508
4508
|
fn: a,
|
|
4509
4509
|
args: o
|
|
@@ -4603,7 +4603,7 @@ function Jp(e, t, n, r) {
|
|
|
4603
4603
|
var i = r.task;
|
|
4604
4604
|
gi(i.context, t), n();
|
|
4605
4605
|
}
|
|
4606
|
-
var Qp = (je = {}, je[zn] = Lp, je[ds] =
|
|
4606
|
+
var Qp = (je = {}, je[zn] = Lp, je[ds] = Ip, je[fs] = Bp, je[dp] = Hp, je[ms] = zp, je[fp] = Mp, je[vs] = $p, je[mp] = Up, je[hs] = qp, je[vp] = Vp, je[hp] = Wp, je[gp] = Yp, je[xp] = Kp, je[yp] = Gp, je[bp] = Jp, je);
|
|
4607
4607
|
function Xp(e, t, n) {
|
|
4608
4608
|
var r = [], i, a = !1;
|
|
4609
4609
|
c(e);
|
|
@@ -4675,11 +4675,11 @@ function id(e, t, n, r, i, a, o) {
|
|
|
4675
4675
|
}));
|
|
4676
4676
|
}, h);
|
|
4677
4677
|
function v() {
|
|
4678
|
-
c === gt && (c = ct, m.cancelAll(), h(
|
|
4678
|
+
c === gt && (c = ct, m.cancelAll(), h(It, !1));
|
|
4679
4679
|
}
|
|
4680
4680
|
function h(b, d) {
|
|
4681
4681
|
if (!d)
|
|
4682
|
-
b ===
|
|
4682
|
+
b === It ? c = ct : c !== ct && (c = As), u = b, p && p.resolve(b);
|
|
4683
4683
|
else {
|
|
4684
4684
|
if (c = Mn, td({
|
|
4685
4685
|
meta: i,
|
|
@@ -4729,15 +4729,15 @@ function mr(e, t, n, r, i, a, o) {
|
|
|
4729
4729
|
digestEffect: m
|
|
4730
4730
|
};
|
|
4731
4731
|
function p() {
|
|
4732
|
-
c.status === gt && (c.status = ct, g(
|
|
4732
|
+
c.status === gt && (c.status = ct, g(It));
|
|
4733
4733
|
}
|
|
4734
4734
|
return o && (o.cancel = u.cancel), g(), u;
|
|
4735
4735
|
function g(v, h) {
|
|
4736
4736
|
try {
|
|
4737
4737
|
var y;
|
|
4738
|
-
h ? (y = t.throw(v), Ps()) : ss(v) ? (c.status = ct, g.cancel(), y = ve(t.return) ? t.return(
|
|
4738
|
+
h ? (y = t.throw(v), Ps()) : ss(v) ? (c.status = ct, g.cancel(), y = ve(t.return) ? t.return(It) : {
|
|
4739
4739
|
done: !0,
|
|
4740
|
-
value:
|
|
4740
|
+
value: It
|
|
4741
4741
|
}) : os(v) ? y = ve(t.return) ? t.return() : {
|
|
4742
4742
|
done: !0
|
|
4743
4743
|
} : y = t.next(v), y.done ? (c.status !== ct && (c.status = As), c.cont(y.value)) : m(y.value, r, g);
|
|
@@ -4939,7 +4939,7 @@ function vr(e) {
|
|
|
4939
4939
|
function Gr(e, t) {
|
|
4940
4940
|
return vr(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
|
|
4941
4941
|
}
|
|
4942
|
-
function
|
|
4942
|
+
function Fs(e, t, n) {
|
|
4943
4943
|
const r = vr(e);
|
|
4944
4944
|
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
|
|
4945
4945
|
}
|
|
@@ -5006,7 +5006,7 @@ function Tt(e) {
|
|
|
5006
5006
|
return t || ze(0, e), t;
|
|
5007
5007
|
}
|
|
5008
5008
|
var ln;
|
|
5009
|
-
function
|
|
5009
|
+
function Is() {
|
|
5010
5010
|
return ln;
|
|
5011
5011
|
}
|
|
5012
5012
|
function dd(e, t) {
|
|
@@ -5029,14 +5029,14 @@ function Qr(e) {
|
|
|
5029
5029
|
function Xr(e) {
|
|
5030
5030
|
e === ln && (ln = e.parent_);
|
|
5031
5031
|
}
|
|
5032
|
-
function
|
|
5032
|
+
function Fa(e) {
|
|
5033
5033
|
return ln = dd(ln, e);
|
|
5034
5034
|
}
|
|
5035
5035
|
function fd(e) {
|
|
5036
5036
|
const t = e[We];
|
|
5037
5037
|
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
|
|
5038
5038
|
}
|
|
5039
|
-
function
|
|
5039
|
+
function Ia(e, t) {
|
|
5040
5040
|
t.unfinalizedDrafts_ = t.drafts_.length;
|
|
5041
5041
|
const n = t.drafts_[0];
|
|
5042
5042
|
return e !== void 0 && e !== n ? (n[We].modified_ && (Qr(t), ze(4)), St(e) && (e = Gn(t, e), t.parent_ || Jn(t, e)), t.patches_ && Tt("Patches").generateReplacementPatches_(
|
|
@@ -5079,7 +5079,7 @@ function La(e, t, n, r, i, a, o) {
|
|
|
5079
5079
|
if (process.env.NODE_ENV !== "production" && i === n && ze(5), $t(i)) {
|
|
5080
5080
|
const s = a && t && t.type_ !== 3 && // Set objects are atomic since they have no keys.
|
|
5081
5081
|
!Gr(t.assigned_, r) ? a.concat(r) : void 0, c = Gn(e, i, s);
|
|
5082
|
-
if (
|
|
5082
|
+
if (Fs(n, r, c), $t(c))
|
|
5083
5083
|
e.canAutoFreeze_ = !1;
|
|
5084
5084
|
else
|
|
5085
5085
|
return;
|
|
@@ -5097,7 +5097,7 @@ function md(e, t) {
|
|
|
5097
5097
|
const n = Array.isArray(e), r = {
|
|
5098
5098
|
type_: n ? 1 : 0,
|
|
5099
5099
|
// Track which produce call this is associated with.
|
|
5100
|
-
scope_: t ? t.scope_ :
|
|
5100
|
+
scope_: t ? t.scope_ : Is(),
|
|
5101
5101
|
// True for both shallow and deep changes.
|
|
5102
5102
|
modified_: !1,
|
|
5103
5103
|
// Used during finalization.
|
|
@@ -5130,7 +5130,7 @@ var _i = {
|
|
|
5130
5130
|
if (!Gr(n, t))
|
|
5131
5131
|
return vd(e, n, t);
|
|
5132
5132
|
const r = n[t];
|
|
5133
|
-
return e.finalized_ || !St(r) ? r : r ===
|
|
5133
|
+
return e.finalized_ || !St(r) ? r : r === Fr(e.base_, t) ? (Ir(e), e.copy_[t] = ei(r, e)) : r;
|
|
5134
5134
|
},
|
|
5135
5135
|
has(e, t) {
|
|
5136
5136
|
return t in ht(e);
|
|
@@ -5143,19 +5143,19 @@ var _i = {
|
|
|
5143
5143
|
if (r != null && r.set)
|
|
5144
5144
|
return r.set.call(e.draft_, n), !0;
|
|
5145
5145
|
if (!e.modified_) {
|
|
5146
|
-
const i =
|
|
5146
|
+
const i = Fr(ht(e), t), a = i == null ? void 0 : i[We];
|
|
5147
5147
|
if (a && a.base_ === n)
|
|
5148
5148
|
return e.copy_[t] = n, e.assigned_[t] = !1, !0;
|
|
5149
5149
|
if (ud(n, i) && (n !== void 0 || Gr(e.base_, t)))
|
|
5150
5150
|
return !0;
|
|
5151
|
-
|
|
5151
|
+
Ir(e), Zr(e);
|
|
5152
5152
|
}
|
|
5153
5153
|
return e.copy_[t] === n && // special case: handle new props with value 'undefined'
|
|
5154
5154
|
(n !== void 0 || t in e.copy_) || // special case: NaN
|
|
5155
5155
|
Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_[t] = !0), !0;
|
|
5156
5156
|
},
|
|
5157
5157
|
deleteProperty(e, t) {
|
|
5158
|
-
return
|
|
5158
|
+
return Fr(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, Ir(e), Zr(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
|
|
5159
5159
|
},
|
|
5160
5160
|
// Note: We never coerce `desc.value` into an Immer draft, because we can't make
|
|
5161
5161
|
// the same guarantee in ES5 mode.
|
|
@@ -5189,7 +5189,7 @@ un.deleteProperty = function(e, t) {
|
|
|
5189
5189
|
un.set = function(e, t, n) {
|
|
5190
5190
|
return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && ze(14), _i.set.call(this, e[0], t, n, e[0]);
|
|
5191
5191
|
};
|
|
5192
|
-
function
|
|
5192
|
+
function Fr(e, t) {
|
|
5193
5193
|
const n = e[We];
|
|
5194
5194
|
return (n ? ht(n) : e)[t];
|
|
5195
5195
|
}
|
|
@@ -5216,7 +5216,7 @@ function Ls(e, t) {
|
|
|
5216
5216
|
function Zr(e) {
|
|
5217
5217
|
e.modified_ || (e.modified_ = !0, e.parent_ && Zr(e.parent_));
|
|
5218
5218
|
}
|
|
5219
|
-
function
|
|
5219
|
+
function Ir(e) {
|
|
5220
5220
|
e.copy_ || (e.copy_ = Jr(
|
|
5221
5221
|
e.base_,
|
|
5222
5222
|
e.scope_.immer_.useStrictShallowCopy_
|
|
@@ -5236,14 +5236,14 @@ var hd = class {
|
|
|
5236
5236
|
typeof n != "function" && ze(6), r !== void 0 && typeof r != "function" && ze(7);
|
|
5237
5237
|
let i;
|
|
5238
5238
|
if (St(t)) {
|
|
5239
|
-
const a =
|
|
5239
|
+
const a = Fa(this), o = ei(t, void 0);
|
|
5240
5240
|
let s = !0;
|
|
5241
5241
|
try {
|
|
5242
5242
|
i = n(o), s = !1;
|
|
5243
5243
|
} finally {
|
|
5244
5244
|
s ? Qr(a) : Xr(a);
|
|
5245
5245
|
}
|
|
5246
|
-
return Da(a, r),
|
|
5246
|
+
return Da(a, r), Ia(i, a);
|
|
5247
5247
|
} else if (!t || typeof t != "object") {
|
|
5248
5248
|
if (i = n(t), i === void 0 && (i = t), i === Ns && (i = void 0), this.autoFreeze_ && Ti(i, !0), r) {
|
|
5249
5249
|
const a = [], o = [];
|
|
@@ -5263,14 +5263,14 @@ var hd = class {
|
|
|
5263
5263
|
}
|
|
5264
5264
|
createDraft(e) {
|
|
5265
5265
|
St(e) || ze(8), $t(e) && (e = gd(e));
|
|
5266
|
-
const t =
|
|
5266
|
+
const t = Fa(this), n = ei(e, void 0);
|
|
5267
5267
|
return n[We].isManual_ = !0, Xr(t), n;
|
|
5268
5268
|
}
|
|
5269
5269
|
finishDraft(e, t) {
|
|
5270
5270
|
const n = e && e[We];
|
|
5271
5271
|
(!n || !n.isManual_) && ze(9);
|
|
5272
5272
|
const { scope_: r } = n;
|
|
5273
|
-
return Da(r, t),
|
|
5273
|
+
return Da(r, t), Ia(void 0, r);
|
|
5274
5274
|
}
|
|
5275
5275
|
/**
|
|
5276
5276
|
* Pass true to automatically freeze all copies created by Immer.
|
|
@@ -5307,7 +5307,7 @@ var hd = class {
|
|
|
5307
5307
|
};
|
|
5308
5308
|
function ei(e, t) {
|
|
5309
5309
|
const n = bn(e) ? Tt("MapSet").proxyMap_(e, t) : hr(e) ? Tt("MapSet").proxySet_(e, t) : md(e, t);
|
|
5310
|
-
return (t ? t.scope_ :
|
|
5310
|
+
return (t ? t.scope_ : Is()).drafts_.push(n), n;
|
|
5311
5311
|
}
|
|
5312
5312
|
function gd(e) {
|
|
5313
5313
|
return $t(e) || ze(10, e), zs(e);
|
|
@@ -5324,7 +5324,7 @@ function zs(e) {
|
|
|
5324
5324
|
} else
|
|
5325
5325
|
n = Jr(e, !0);
|
|
5326
5326
|
return Kn(n, (r, i) => {
|
|
5327
|
-
|
|
5327
|
+
Fs(n, r, zs(i));
|
|
5328
5328
|
}), t && (t.finalized_ = !1), n;
|
|
5329
5329
|
}
|
|
5330
5330
|
var xd = new hd(), yd = xd.produce;
|
|
@@ -5545,7 +5545,7 @@ function $n(e) {
|
|
|
5545
5545
|
function ti(e) {
|
|
5546
5546
|
return e === 0 || e;
|
|
5547
5547
|
}
|
|
5548
|
-
function
|
|
5548
|
+
function Fd(e, t) {
|
|
5549
5549
|
return e === !1 || pn(e) && e > 0 ? e : t;
|
|
5550
5550
|
}
|
|
5551
5551
|
var Us = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
@@ -5567,7 +5567,7 @@ var qs = {
|
|
|
5567
5567
|
DEFAULT: "default",
|
|
5568
5568
|
DARK: "dark"
|
|
5569
5569
|
};
|
|
5570
|
-
function
|
|
5570
|
+
function Id(e, t, n) {
|
|
5571
5571
|
n === void 0 && (n = 300);
|
|
5572
5572
|
var r = e.scrollHeight, i = e.style;
|
|
5573
5573
|
requestAnimationFrame(function() {
|
|
@@ -5603,7 +5603,7 @@ function Ld(e) {
|
|
|
5603
5603
|
}
|
|
5604
5604
|
function T() {
|
|
5605
5605
|
var U = v.current;
|
|
5606
|
-
U.removeEventListener("animationend", T), o ?
|
|
5606
|
+
U.removeEventListener("animationend", T), o ? Id(U, m, c) : m();
|
|
5607
5607
|
}
|
|
5608
5608
|
return $e.createElement($e.Fragment, null, p);
|
|
5609
5609
|
};
|
|
@@ -5646,7 +5646,7 @@ var Je = {
|
|
|
5646
5646
|
});
|
|
5647
5647
|
}
|
|
5648
5648
|
};
|
|
5649
|
-
function
|
|
5649
|
+
function Ft(e, t) {
|
|
5650
5650
|
t === void 0 && (t = !1);
|
|
5651
5651
|
var n = Me(e);
|
|
5652
5652
|
return Re(function() {
|
|
@@ -5668,7 +5668,7 @@ function zd(e, t) {
|
|
|
5668
5668
|
function Md(e) {
|
|
5669
5669
|
var t = Bn(function(b) {
|
|
5670
5670
|
return b + 1;
|
|
5671
|
-
}, 0), n = t[1], r = Bn(zd, []), i = r[0], a = r[1], o = Me(null), s =
|
|
5671
|
+
}, 0), n = t[1], r = Bn(zd, []), i = r[0], a = r[1], o = Me(null), s = Ft(0), c = Ft([]), u = Ft({}), l = Ft({
|
|
5672
5672
|
toastKey: 1,
|
|
5673
5673
|
displayedToast: 0,
|
|
5674
5674
|
props: e,
|
|
@@ -5763,7 +5763,7 @@ function Md(e) {
|
|
|
5763
5763
|
closeOnClick: tn(T.closeOnClick) ? T.closeOnClick : q.closeOnClick,
|
|
5764
5764
|
progressClassName: $n(T.progressClassName || q.progressClassName),
|
|
5765
5765
|
progressStyle: T.progressStyle || q.progressStyle,
|
|
5766
|
-
autoClose:
|
|
5766
|
+
autoClose: Fd(T.autoClose, q.autoClose),
|
|
5767
5767
|
hideProgressBar: tn(T.hideProgressBar) ? T.hideProgressBar : q.hideProgressBar,
|
|
5768
5768
|
progress: T.progress,
|
|
5769
5769
|
role: dn(T.role) ? T.role : q.role,
|
|
@@ -5840,7 +5840,7 @@ function $a(e) {
|
|
|
5840
5840
|
return e.targetTouches && e.targetTouches.length >= 1 ? e.targetTouches[0].clientY : e.clientY;
|
|
5841
5841
|
}
|
|
5842
5842
|
function $d(e) {
|
|
5843
|
-
var t = Se(!0), n = t[0], r = t[1], i = Se(!1), a = i[0], o = i[1], s = Me(null), c =
|
|
5843
|
+
var t = Se(!0), n = t[0], r = t[1], i = Se(!1), a = i[0], o = i[1], s = Me(null), c = Ft({
|
|
5844
5844
|
start: 0,
|
|
5845
5845
|
x: 0,
|
|
5846
5846
|
y: 0,
|
|
@@ -5849,7 +5849,7 @@ function $d(e) {
|
|
|
5849
5849
|
canCloseOnClick: !0,
|
|
5850
5850
|
canDrag: !1,
|
|
5851
5851
|
boundingRect: null
|
|
5852
|
-
}), u =
|
|
5852
|
+
}), u = Ft(e, !0), l = e.autoClose, p = e.pauseOnHover, g = e.closeToast, E = e.onClick, m = e.closeOnClick;
|
|
5853
5853
|
Re(function() {
|
|
5854
5854
|
return Be(e.onOpen) && e.onOpen(sn(e.children) && e.children.props), function() {
|
|
5855
5855
|
Be(u.onClose) && u.onClose(sn(u.children) && u.children.props);
|
|
@@ -6328,7 +6328,7 @@ const Pn = ({
|
|
|
6328
6328
|
deleteFileTitle: "Delete a file",
|
|
6329
6329
|
deleteFile: "Important! By deleting this file, you will lose all its information and will not be able to recover it.",
|
|
6330
6330
|
trainingTitle: "Presset Training",
|
|
6331
|
-
trainingDescription: "Select one or more pressets to be trained. Note: If none are selected,
|
|
6331
|
+
trainingDescription: "Select one or more pressets to be trained. Note: If none are selected, Lira will train all pressets."
|
|
6332
6332
|
}
|
|
6333
6333
|
},
|
|
6334
6334
|
buttons: {
|
|
@@ -6375,17 +6375,17 @@ const Pn = ({
|
|
|
6375
6375
|
Test: {
|
|
6376
6376
|
fail: {
|
|
6377
6377
|
title: "Failure",
|
|
6378
|
-
description: "Error testing
|
|
6378
|
+
description: "Error testing Lira"
|
|
6379
6379
|
}
|
|
6380
6380
|
},
|
|
6381
6381
|
Train: {
|
|
6382
6382
|
fail: {
|
|
6383
6383
|
title: "Failure",
|
|
6384
|
-
description: "Error training
|
|
6384
|
+
description: "Error training Lira"
|
|
6385
6385
|
},
|
|
6386
6386
|
success: {
|
|
6387
6387
|
title: "Success",
|
|
6388
|
-
description: "
|
|
6388
|
+
description: "Lira is in the training process!"
|
|
6389
6389
|
}
|
|
6390
6390
|
}
|
|
6391
6391
|
}
|
|
@@ -6412,7 +6412,7 @@ const Pn = ({
|
|
|
6412
6412
|
deleteFileTitle: "Excluir um arquivo",
|
|
6413
6413
|
deleteFile: "Importante! Ao excluir este arquivo, você perderá todas as suas informações e não poderá recuperá-las.",
|
|
6414
6414
|
trainingTitle: "Treinamento de predefinição",
|
|
6415
|
-
trainingDescription: "Selecione um ou mais predefinições para serem treinadas. Obs: Caso não selecionada nenhuma a
|
|
6415
|
+
trainingDescription: "Selecione um ou mais predefinições para serem treinadas. Obs: Caso não selecionada nenhuma a Lira irá treinar todas as predefinições"
|
|
6416
6416
|
}
|
|
6417
6417
|
},
|
|
6418
6418
|
buttons: {
|
|
@@ -6459,17 +6459,17 @@ const Pn = ({
|
|
|
6459
6459
|
Test: {
|
|
6460
6460
|
fail: {
|
|
6461
6461
|
title: "Falha",
|
|
6462
|
-
description: "Erro ao testar
|
|
6462
|
+
description: "Erro ao testar Lira"
|
|
6463
6463
|
}
|
|
6464
6464
|
},
|
|
6465
6465
|
Train: {
|
|
6466
6466
|
fail: {
|
|
6467
6467
|
title: "Falha",
|
|
6468
|
-
description: "Erro ao treinar a
|
|
6468
|
+
description: "Erro ao treinar a Lira"
|
|
6469
6469
|
},
|
|
6470
6470
|
success: {
|
|
6471
6471
|
title: "Sucesso",
|
|
6472
|
-
description: "A
|
|
6472
|
+
description: "A Lira está em processo de treinamento!"
|
|
6473
6473
|
}
|
|
6474
6474
|
}
|
|
6475
6475
|
}
|
|
@@ -6496,7 +6496,7 @@ const Pn = ({
|
|
|
6496
6496
|
deleteFileTitle: "Eliminar un archivo",
|
|
6497
6497
|
deleteFile: "¡Importante! Al eliminar este archivo, perderá toda su información y no podrá recuperarla.",
|
|
6498
6498
|
trainingTitle: "Entrenamiento de preconfiguración",
|
|
6499
|
-
trainingDescription: "Seleccione una o más preconfiguracións para ser entrenadas. Nota: Si no se selecciona ninguna,
|
|
6499
|
+
trainingDescription: "Seleccione una o más preconfiguracións para ser entrenadas. Nota: Si no se selecciona ninguna, Lira entrenará todas las preconfiguracións."
|
|
6500
6500
|
}
|
|
6501
6501
|
},
|
|
6502
6502
|
buttons: {
|
|
@@ -6543,17 +6543,17 @@ const Pn = ({
|
|
|
6543
6543
|
Test: {
|
|
6544
6544
|
fail: {
|
|
6545
6545
|
title: "Error",
|
|
6546
|
-
description: "Error al probar
|
|
6546
|
+
description: "Error al probar Lira"
|
|
6547
6547
|
}
|
|
6548
6548
|
},
|
|
6549
6549
|
Train: {
|
|
6550
6550
|
fail: {
|
|
6551
6551
|
title: "Error",
|
|
6552
|
-
description: "Error al entrenar
|
|
6552
|
+
description: "Error al entrenar Lira"
|
|
6553
6553
|
},
|
|
6554
6554
|
success: {
|
|
6555
6555
|
title: "Éxito",
|
|
6556
|
-
description: "¡
|
|
6556
|
+
description: "¡Lira está en proceso de entrenamiento!"
|
|
6557
6557
|
}
|
|
6558
6558
|
}
|
|
6559
6559
|
}
|
|
@@ -7294,7 +7294,7 @@ const on = ({
|
|
|
7294
7294
|
isfixed: u,
|
|
7295
7295
|
zindex: l
|
|
7296
7296
|
}) => {
|
|
7297
|
-
const p = Me(null), g =
|
|
7297
|
+
const p = Me(null), g = Ie(
|
|
7298
7298
|
(m) => {
|
|
7299
7299
|
const v = {
|
|
7300
7300
|
// ESC Key
|
|
@@ -7305,7 +7305,7 @@ const on = ({
|
|
|
7305
7305
|
v[m.keyCode] && e && v[m.keyCode]();
|
|
7306
7306
|
},
|
|
7307
7307
|
[s, e, u]
|
|
7308
|
-
), E =
|
|
7308
|
+
), E = Ie(
|
|
7309
7309
|
(m) => {
|
|
7310
7310
|
p.current && p.current.parentNode === m.target && (!u && s && s(), document.removeEventListener("click", E, !1));
|
|
7311
7311
|
},
|
|
@@ -7486,7 +7486,7 @@ const Df = ee.div`
|
|
|
7486
7486
|
width: 100%;
|
|
7487
7487
|
height: 45px;
|
|
7488
7488
|
|
|
7489
|
-
`,
|
|
7489
|
+
`, Ff = ee.div`
|
|
7490
7490
|
position: relative;
|
|
7491
7491
|
|
|
7492
7492
|
|
|
@@ -7497,7 +7497,7 @@ const Df = ee.div`
|
|
|
7497
7497
|
border-radius: 4px;
|
|
7498
7498
|
padding-left: 10px;
|
|
7499
7499
|
}
|
|
7500
|
-
`,
|
|
7500
|
+
`, If = ee.div`
|
|
7501
7501
|
position: absolute;
|
|
7502
7502
|
left: 0;
|
|
7503
7503
|
right: 0;
|
|
@@ -7571,9 +7571,9 @@ const Df = ee.div`
|
|
|
7571
7571
|
}
|
|
7572
7572
|
};
|
|
7573
7573
|
return /* @__PURE__ */ x.jsx("form", { children: /* @__PURE__ */ x.jsxs(Df, { children: [
|
|
7574
|
-
/* @__PURE__ */ x.jsxs(
|
|
7574
|
+
/* @__PURE__ */ x.jsxs(Ff, { onClick: E, children: [
|
|
7575
7575
|
/* @__PURE__ */ x.jsx("select", { children: e.map((h, y) => /* @__PURE__ */ x.jsx("option", { value: h.value, children: h.label }, y)) }),
|
|
7576
|
-
/* @__PURE__ */ x.jsxs(
|
|
7576
|
+
/* @__PURE__ */ x.jsxs(If, { children: [
|
|
7577
7577
|
/* @__PURE__ */ x.jsx(Mf, { children: t.map((h, y) => /* @__PURE__ */ x.jsx($f, { children: h }, y)) }),
|
|
7578
7578
|
/* @__PURE__ */ x.jsx(
|
|
7579
7579
|
"input",
|
|
@@ -9508,7 +9508,7 @@ function pc() {
|
|
|
9508
9508
|
return typeof h == "function" ? h : oo;
|
|
9509
9509
|
}, [h]), R = ot(function() {
|
|
9510
9510
|
return typeof v == "function" ? v : oo;
|
|
9511
|
-
}, [v]), L = Me(null), ne = Me(null), K = Bn(
|
|
9511
|
+
}, [v]), L = Me(null), ne = Me(null), K = Bn(Fm, li), he = $r(K, 2), oe = he[0], se = he[1], O = oe.isFocused, k = oe.isFileDialogActive, N = Me(typeof window < "u" && window.isSecureContext && y && xm()), $ = function() {
|
|
9512
9512
|
!N.current && k && setTimeout(function() {
|
|
9513
9513
|
if (ne.current) {
|
|
9514
9514
|
var W = ne.current.files;
|
|
@@ -9534,11 +9534,11 @@ function pc() {
|
|
|
9534
9534
|
return !r && _ && L.current && L.current.focus(), function() {
|
|
9535
9535
|
};
|
|
9536
9536
|
}, [L, _, r]);
|
|
9537
|
-
var V =
|
|
9538
|
-
T ? T(
|
|
9539
|
-
}, [T]), Y =
|
|
9540
|
-
|
|
9541
|
-
if (!(tr(
|
|
9537
|
+
var V = Ie(function(I) {
|
|
9538
|
+
T ? T(I) : console.error(I);
|
|
9539
|
+
}, [T]), Y = Ie(function(I) {
|
|
9540
|
+
I.preventDefault(), I.persist(), At(I), M.current = [].concat(Cm(M.current), [I.target]), Dn(I) && Promise.resolve(i(I)).then(function(W) {
|
|
9541
|
+
if (!(tr(I) && !D)) {
|
|
9542
9542
|
var Ee = W.length, Te = Ee > 0 && mm({
|
|
9543
9543
|
files: W,
|
|
9544
9544
|
accept: B,
|
|
@@ -9553,34 +9553,34 @@ function pc() {
|
|
|
9553
9553
|
isDragReject: De,
|
|
9554
9554
|
isDragActive: !0,
|
|
9555
9555
|
type: "setDraggedFiles"
|
|
9556
|
-
}), u && u(
|
|
9556
|
+
}), u && u(I);
|
|
9557
9557
|
}
|
|
9558
9558
|
}).catch(function(W) {
|
|
9559
9559
|
return V(W);
|
|
9560
9560
|
});
|
|
9561
|
-
}, [i, u, V, D, B, o, a, s, c, U]), X =
|
|
9562
|
-
|
|
9563
|
-
var W = Dn(
|
|
9564
|
-
if (W &&
|
|
9561
|
+
}, [i, u, V, D, B, o, a, s, c, U]), X = Ie(function(I) {
|
|
9562
|
+
I.preventDefault(), I.persist(), At(I);
|
|
9563
|
+
var W = Dn(I);
|
|
9564
|
+
if (W && I.dataTransfer)
|
|
9565
9565
|
try {
|
|
9566
|
-
|
|
9566
|
+
I.dataTransfer.dropEffect = "copy";
|
|
9567
9567
|
} catch {
|
|
9568
9568
|
}
|
|
9569
|
-
return W && p && p(
|
|
9570
|
-
}, [p, D]), te =
|
|
9571
|
-
|
|
9569
|
+
return W && p && p(I), !1;
|
|
9570
|
+
}, [p, D]), te = Ie(function(I) {
|
|
9571
|
+
I.preventDefault(), I.persist(), At(I);
|
|
9572
9572
|
var W = M.current.filter(function(Te) {
|
|
9573
9573
|
return L.current && L.current.contains(Te);
|
|
9574
|
-
}), Ee = W.indexOf(
|
|
9574
|
+
}), Ee = W.indexOf(I.target);
|
|
9575
9575
|
Ee !== -1 && W.splice(Ee, 1), M.current = W, !(W.length > 0) && (se({
|
|
9576
9576
|
type: "setDraggedFiles",
|
|
9577
9577
|
isDragActive: !1,
|
|
9578
9578
|
isDragAccept: !1,
|
|
9579
9579
|
isDragReject: !1
|
|
9580
|
-
}), Dn(
|
|
9581
|
-
}, [L, l, D]), J =
|
|
9580
|
+
}), Dn(I) && l && l(I));
|
|
9581
|
+
}, [L, l, D]), J = Ie(function(I, W) {
|
|
9582
9582
|
var Ee = [], Te = [];
|
|
9583
|
-
|
|
9583
|
+
I.forEach(function(De) {
|
|
9584
9584
|
var pt = ac(De, B), it = $r(pt, 2), Wt = it[0], Yt = it[1], Kt = oc(De, o, a), kt = $r(Kt, 2), Gt = kt[0], Jt = kt[1], Qt = U ? U(De) : null;
|
|
9585
9585
|
if (Wt && Gt && !Qt)
|
|
9586
9586
|
Ee.push(De);
|
|
@@ -9604,24 +9604,24 @@ function pc() {
|
|
|
9604
9604
|
isDragReject: Te.length > 0,
|
|
9605
9605
|
type: "setFiles"
|
|
9606
9606
|
}), g && g(Ee, Te, W), Te.length > 0 && m && m(Te, W), Ee.length > 0 && E && E(Ee, W);
|
|
9607
|
-
}, [se, s, B, o, a, c, g, E, m, U]),
|
|
9608
|
-
|
|
9609
|
-
tr(
|
|
9607
|
+
}, [se, s, B, o, a, c, g, E, m, U]), F = Ie(function(I) {
|
|
9608
|
+
I.preventDefault(), I.persist(), At(I), M.current = [], Dn(I) && Promise.resolve(i(I)).then(function(W) {
|
|
9609
|
+
tr(I) && !D || J(W, I);
|
|
9610
9610
|
}).catch(function(W) {
|
|
9611
9611
|
return V(W);
|
|
9612
9612
|
}), se({
|
|
9613
9613
|
type: "reset"
|
|
9614
9614
|
});
|
|
9615
|
-
}, [i, J, V, D]), S =
|
|
9615
|
+
}, [i, J, V, D]), S = Ie(function() {
|
|
9616
9616
|
if (N.current) {
|
|
9617
9617
|
se({
|
|
9618
9618
|
type: "openDialog"
|
|
9619
9619
|
}), H();
|
|
9620
|
-
var
|
|
9620
|
+
var I = {
|
|
9621
9621
|
multiple: s,
|
|
9622
9622
|
types: q
|
|
9623
9623
|
};
|
|
9624
|
-
window.showOpenFilePicker(
|
|
9624
|
+
window.showOpenFilePicker(I).then(function(W) {
|
|
9625
9625
|
return i(W);
|
|
9626
9626
|
}).then(function(W) {
|
|
9627
9627
|
J(W, null), se({
|
|
@@ -9637,17 +9637,17 @@ function pc() {
|
|
|
9637
9637
|
ne.current && (se({
|
|
9638
9638
|
type: "openDialog"
|
|
9639
9639
|
}), H(), ne.current.value = null, ne.current.click());
|
|
9640
|
-
}, [se, H, R, y, J, V, q, s]), be =
|
|
9641
|
-
!L.current || !L.current.isEqualNode(
|
|
9642
|
-
}, [L, S]), ke =
|
|
9640
|
+
}, [se, H, R, y, J, V, q, s]), be = Ie(function(I) {
|
|
9641
|
+
!L.current || !L.current.isEqualNode(I.target) || (I.key === " " || I.key === "Enter" || I.keyCode === 32 || I.keyCode === 13) && (I.preventDefault(), S());
|
|
9642
|
+
}, [L, S]), ke = Ie(function() {
|
|
9643
9643
|
se({
|
|
9644
9644
|
type: "focus"
|
|
9645
9645
|
});
|
|
9646
|
-
}, []), He =
|
|
9646
|
+
}, []), He = Ie(function() {
|
|
9647
9647
|
se({
|
|
9648
9648
|
type: "blur"
|
|
9649
9649
|
});
|
|
9650
|
-
}, []), mt =
|
|
9650
|
+
}, []), mt = Ie(function() {
|
|
9651
9651
|
b || (gm() ? setTimeout(S, 0) : S());
|
|
9652
9652
|
}, [b, S]), nt = function(W) {
|
|
9653
9653
|
return r ? null : W;
|
|
@@ -9659,7 +9659,7 @@ function pc() {
|
|
|
9659
9659
|
D && W.stopPropagation();
|
|
9660
9660
|
}, yr = ot(function() {
|
|
9661
9661
|
return function() {
|
|
9662
|
-
var
|
|
9662
|
+
var I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, W = I.refKey, Ee = W === void 0 ? "ref" : W, Te = I.role, De = I.onKeyDown, pt = I.onFocus, it = I.onBlur, Wt = I.onClick, Yt = I.onDragEnter, Kt = I.onDragOver, kt = I.onDragLeave, Gt = I.onDrop, Jt = nr(I, _m);
|
|
9663
9663
|
return we(we(ci({
|
|
9664
9664
|
onKeyDown: Rt(et(De, be)),
|
|
9665
9665
|
onFocus: Rt(et(pt, ke)),
|
|
@@ -9668,17 +9668,17 @@ function pc() {
|
|
|
9668
9668
|
onDragEnter: rt(et(Yt, Y)),
|
|
9669
9669
|
onDragOver: rt(et(Kt, X)),
|
|
9670
9670
|
onDragLeave: rt(et(kt, te)),
|
|
9671
|
-
onDrop: rt(et(Gt,
|
|
9671
|
+
onDrop: rt(et(Gt, F)),
|
|
9672
9672
|
role: typeof Te == "string" && Te !== "" ? Te : "presentation"
|
|
9673
9673
|
}, Ee, L), !r && !d ? {
|
|
9674
9674
|
tabIndex: 0
|
|
9675
9675
|
} : {}), Jt);
|
|
9676
9676
|
};
|
|
9677
|
-
}, [L, be, ke, He, mt, Y, X, te,
|
|
9678
|
-
|
|
9677
|
+
}, [L, be, ke, He, mt, Y, X, te, F, d, j, r]), Vt = Ie(function(I) {
|
|
9678
|
+
I.stopPropagation();
|
|
9679
9679
|
}, []), br = ot(function() {
|
|
9680
9680
|
return function() {
|
|
9681
|
-
var
|
|
9681
|
+
var I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, W = I.refKey, Ee = W === void 0 ? "ref" : W, Te = I.onChange, De = I.onClick, pt = nr(I, Om), it = ci({
|
|
9682
9682
|
accept: B,
|
|
9683
9683
|
multiple: s,
|
|
9684
9684
|
type: "file",
|
|
@@ -9694,13 +9694,13 @@ function pc() {
|
|
|
9694
9694
|
width: "1px",
|
|
9695
9695
|
whiteSpace: "nowrap"
|
|
9696
9696
|
},
|
|
9697
|
-
onChange: nt(et(Te,
|
|
9697
|
+
onChange: nt(et(Te, F)),
|
|
9698
9698
|
onClick: nt(et(De, Vt)),
|
|
9699
9699
|
tabIndex: -1
|
|
9700
9700
|
}, Ee, ne);
|
|
9701
9701
|
return we(we({}, it), pt);
|
|
9702
9702
|
};
|
|
9703
|
-
}, [ne, n, s,
|
|
9703
|
+
}, [ne, n, s, F, r]);
|
|
9704
9704
|
return we(we({}, oe), {}, {
|
|
9705
9705
|
isFocused: O && !r,
|
|
9706
9706
|
getRootProps: yr,
|
|
@@ -9710,7 +9710,7 @@ function pc() {
|
|
|
9710
9710
|
open: nt(S)
|
|
9711
9711
|
});
|
|
9712
9712
|
}
|
|
9713
|
-
function
|
|
9713
|
+
function Fm(e, t) {
|
|
9714
9714
|
switch (t.type) {
|
|
9715
9715
|
case "focus":
|
|
9716
9716
|
return we(we({}, e), {}, {
|
|
@@ -9748,7 +9748,7 @@ function Im(e, t) {
|
|
|
9748
9748
|
}
|
|
9749
9749
|
function oo() {
|
|
9750
9750
|
}
|
|
9751
|
-
const
|
|
9751
|
+
const Im = (e) => e.isDragAccept ? "#6690ff" : e.isDragReject ? "#e18976" : e.isDragActive ? "#6690ff" : "#979aa5", so = ee.div`
|
|
9752
9752
|
background-color: #f3f5f9;
|
|
9753
9753
|
flex: 1;
|
|
9754
9754
|
display: flex;
|
|
@@ -9758,7 +9758,7 @@ const Fm = (e) => e.isDragAccept ? "#6690ff" : e.isDragReject ? "#e18976" : e.is
|
|
|
9758
9758
|
padding: 20px;
|
|
9759
9759
|
border-width: 2px;
|
|
9760
9760
|
border-radius: 4px;
|
|
9761
|
-
border-color: var(${(e) =>
|
|
9761
|
+
border-color: var(${(e) => Im(e)});
|
|
9762
9762
|
border-style: dashed;
|
|
9763
9763
|
color: #5a5d68;
|
|
9764
9764
|
outline: none;
|
|
@@ -9826,7 +9826,7 @@ const Ai = ({
|
|
|
9826
9826
|
Re(() => {
|
|
9827
9827
|
s([...n, ...o]);
|
|
9828
9828
|
}, []);
|
|
9829
|
-
const u =
|
|
9829
|
+
const u = Ie(
|
|
9830
9830
|
(h, y) => {
|
|
9831
9831
|
y && y.length > 0 && console.error("Arquivos rejeitados:", y), a(h);
|
|
9832
9832
|
const C = [...o, ...h].map((b, d) => ({
|
|
@@ -9918,7 +9918,7 @@ const bv = () => {
|
|
|
9918
9918
|
const R = (N) => {
|
|
9919
9919
|
let $ = "";
|
|
9920
9920
|
return $ += N.map((M) => {
|
|
9921
|
-
const G = M.trained ? "" :
|
|
9921
|
+
const G = M.trained ? "" : Ii(/* @__PURE__ */ x.jsx(Va, { size: 14 }));
|
|
9922
9922
|
return `<p class='tag ${M.trained ? "trained" : ""}'>${M.name} ${G}</p>`;
|
|
9923
9923
|
}).join(""), $;
|
|
9924
9924
|
}, L = () => {
|
|
@@ -9938,7 +9938,7 @@ const bv = () => {
|
|
|
9938
9938
|
U(jd(e, j, t, r, i)), y(!1), D([]);
|
|
9939
9939
|
}, O = (N, $) => {
|
|
9940
9940
|
if (N) {
|
|
9941
|
-
const M =
|
|
9941
|
+
const M = Ii(/* @__PURE__ */ x.jsx(uf, { size: 14 }));
|
|
9942
9942
|
return `<a href='${N}' target='_blank'>${M}</a> ${$}`;
|
|
9943
9943
|
}
|
|
9944
9944
|
return $;
|