urfu-ui-kit-react 0.0.5 → 0.0.6
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/urfu-ui-kit-react.js +211 -211
- package/package.json +1 -1
|
@@ -137,7 +137,7 @@ function fn() {
|
|
|
137
137
|
throw n._result;
|
|
138
138
|
}
|
|
139
139
|
var x = { current: null }, _e = { transition: null }, xe = { ReactCurrentDispatcher: x, ReactCurrentBatchConfig: _e, ReactCurrentOwner: ie };
|
|
140
|
-
function
|
|
140
|
+
function u() {
|
|
141
141
|
throw Error("act(...) is not supported in production builds of React.");
|
|
142
142
|
}
|
|
143
143
|
return q.Children = { map: de, forEach: function(n, i, h) {
|
|
@@ -157,7 +157,7 @@ function fn() {
|
|
|
157
157
|
if (!Te(n))
|
|
158
158
|
throw Error("React.Children.only expected to receive a single React element child.");
|
|
159
159
|
return n;
|
|
160
|
-
} }, q.Component = Q, q.Fragment = I, q.Profiler = k, q.PureComponent = Z, q.StrictMode = R, q.Suspense = P, q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = xe, q.act =
|
|
160
|
+
} }, q.Component = Q, q.Fragment = I, q.Profiler = k, q.PureComponent = Z, q.StrictMode = R, q.Suspense = P, q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = xe, q.act = u, q.cloneElement = function(n, i, h) {
|
|
161
161
|
if (n == null)
|
|
162
162
|
throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + n + ".");
|
|
163
163
|
var v = re({}, n.props), b = n.key, _ = n.ref, E = n._owner;
|
|
@@ -198,7 +198,7 @@ function fn() {
|
|
|
198
198
|
} finally {
|
|
199
199
|
_e.transition = i;
|
|
200
200
|
}
|
|
201
|
-
}, q.unstable_act =
|
|
201
|
+
}, q.unstable_act = u, q.useCallback = function(n, i) {
|
|
202
202
|
return x.current.useCallback(n, i);
|
|
203
203
|
}, q.useContext = function(n) {
|
|
204
204
|
return x.current.useContext(n);
|
|
@@ -314,7 +314,7 @@ function dn() {
|
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
var xe = {};
|
|
317
|
-
function
|
|
317
|
+
function u(e, r) {
|
|
318
318
|
{
|
|
319
319
|
var a = e.constructor, o = a && (a.displayName || a.name) || "ReactClass", d = o + "." + r;
|
|
320
320
|
if (xe[d])
|
|
@@ -349,7 +349,7 @@ function dn() {
|
|
|
349
349
|
* @internal
|
|
350
350
|
*/
|
|
351
351
|
enqueueForceUpdate: function(e, r, a) {
|
|
352
|
-
|
|
352
|
+
u(e, "forceUpdate");
|
|
353
353
|
},
|
|
354
354
|
/**
|
|
355
355
|
* Replaces all of the state. Always use this or `setState` to mutate state.
|
|
@@ -365,7 +365,7 @@ function dn() {
|
|
|
365
365
|
* @internal
|
|
366
366
|
*/
|
|
367
367
|
enqueueReplaceState: function(e, r, a, o) {
|
|
368
|
-
|
|
368
|
+
u(e, "replaceState");
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
371
|
* Sets a subset of the state. This only exists because _pendingState is
|
|
@@ -380,7 +380,7 @@ function dn() {
|
|
|
380
380
|
* @internal
|
|
381
381
|
*/
|
|
382
382
|
enqueueSetState: function(e, r, a, o) {
|
|
383
|
-
|
|
383
|
+
u(e, "setState");
|
|
384
384
|
}
|
|
385
385
|
}, i = Object.assign, h = {};
|
|
386
386
|
Object.freeze(h);
|
|
@@ -506,7 +506,7 @@ function dn() {
|
|
|
506
506
|
ref: !0,
|
|
507
507
|
__self: !0,
|
|
508
508
|
__source: !0
|
|
509
|
-
},
|
|
509
|
+
}, sr, ur, He;
|
|
510
510
|
He = {};
|
|
511
511
|
function Xe(e) {
|
|
512
512
|
if (Ye.call(e, "ref")) {
|
|
@@ -526,7 +526,7 @@ function dn() {
|
|
|
526
526
|
}
|
|
527
527
|
function Sr(e, r) {
|
|
528
528
|
var a = function() {
|
|
529
|
-
|
|
529
|
+
sr || (sr = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
530
530
|
};
|
|
531
531
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
532
532
|
get: a,
|
|
@@ -535,7 +535,7 @@ function dn() {
|
|
|
535
535
|
}
|
|
536
536
|
function cr(e, r) {
|
|
537
537
|
var a = function() {
|
|
538
|
-
|
|
538
|
+
ur || (ur = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
539
539
|
};
|
|
540
540
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
541
541
|
get: a,
|
|
@@ -593,9 +593,9 @@ function dn() {
|
|
|
593
593
|
Object.freeze && Object.freeze(ae), d.children = ae;
|
|
594
594
|
}
|
|
595
595
|
if (e && e.defaultProps) {
|
|
596
|
-
var
|
|
597
|
-
for (o in
|
|
598
|
-
d[o] === void 0 && (d[o] =
|
|
596
|
+
var ue = e.defaultProps;
|
|
597
|
+
for (o in ue)
|
|
598
|
+
d[o] === void 0 && (d[o] = ue[o]);
|
|
599
599
|
}
|
|
600
600
|
if (F || w) {
|
|
601
601
|
var ve = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
@@ -622,9 +622,9 @@ function dn() {
|
|
|
622
622
|
if (oe === 1)
|
|
623
623
|
d.children = a;
|
|
624
624
|
else if (oe > 1) {
|
|
625
|
-
for (var
|
|
626
|
-
|
|
627
|
-
d.children =
|
|
625
|
+
for (var ue = Array(oe), ve = 0; ve < oe; ve++)
|
|
626
|
+
ue[ve] = arguments[ve + 2];
|
|
627
|
+
d.children = ue;
|
|
628
628
|
}
|
|
629
629
|
return Ue(e.type, F, w, N, z, ee, d);
|
|
630
630
|
}
|
|
@@ -688,17 +688,17 @@ function dn() {
|
|
|
688
688
|
)), r.push(z));
|
|
689
689
|
return 1;
|
|
690
690
|
}
|
|
691
|
-
var oe,
|
|
691
|
+
var oe, ue, ve = 0, ge = o === "" ? fr : o + Pr;
|
|
692
692
|
if (he(e))
|
|
693
693
|
for (var Cr = 0; Cr < e.length; Cr++)
|
|
694
|
-
oe = e[Cr],
|
|
694
|
+
oe = e[Cr], ue = ge + Ve(oe, Cr), ve += Me(oe, r, a, ue, d);
|
|
695
695
|
else {
|
|
696
696
|
var zr = Z(e);
|
|
697
697
|
if (typeof zr == "function") {
|
|
698
698
|
var Ct = e;
|
|
699
699
|
zr === Ct.entries && (Ge || ce("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Ge = !0);
|
|
700
|
-
for (var
|
|
701
|
-
oe = Tt.value,
|
|
700
|
+
for (var sn = zr.call(Ct), Tt, un = 0; !(Tt = sn.next()).done; )
|
|
701
|
+
oe = Tt.value, ue = ge + Ve(oe, un++), ve += Me(oe, r, a, ue, d);
|
|
702
702
|
} else if (F === "object") {
|
|
703
703
|
var St = String(e);
|
|
704
704
|
throw new Error("Objects are not valid as a React child (found: " + (St === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : St) + "). If you meant to render a collection of children, use an array instead.");
|
|
@@ -917,7 +917,7 @@ Your code should look like:
|
|
|
917
917
|
// with.
|
|
918
918
|
e.$$typeof === mr || e.getModuleId !== void 0));
|
|
919
919
|
}
|
|
920
|
-
function
|
|
920
|
+
function s(e, r) {
|
|
921
921
|
t(e) || x("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
|
|
922
922
|
var a = {
|
|
923
923
|
$$typeof: L,
|
|
@@ -975,7 +975,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
975
975
|
var a = l();
|
|
976
976
|
return a.useInsertionEffect(e, r);
|
|
977
977
|
}
|
|
978
|
-
function
|
|
978
|
+
function se(e, r) {
|
|
979
979
|
var a = l();
|
|
980
980
|
return a.useLayoutEffect(e, r);
|
|
981
981
|
}
|
|
@@ -1013,14 +1013,14 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1013
1013
|
var o = l();
|
|
1014
1014
|
return o.useSyncExternalStore(e, r, a);
|
|
1015
1015
|
}
|
|
1016
|
-
var tr = 0, nt, at, ot, it,
|
|
1016
|
+
var tr = 0, nt, at, ot, it, st, ut, ct;
|
|
1017
1017
|
function lt() {
|
|
1018
1018
|
}
|
|
1019
1019
|
lt.__reactDisabledLog = !0;
|
|
1020
1020
|
function Ut() {
|
|
1021
1021
|
{
|
|
1022
1022
|
if (tr === 0) {
|
|
1023
|
-
nt = console.log, at = console.info, ot = console.warn, it = console.error,
|
|
1023
|
+
nt = console.log, at = console.info, ot = console.warn, it = console.error, st = console.group, ut = console.groupCollapsed, ct = console.groupEnd;
|
|
1024
1024
|
var e = {
|
|
1025
1025
|
configurable: !0,
|
|
1026
1026
|
enumerable: !0,
|
|
@@ -1062,10 +1062,10 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1062
1062
|
value: it
|
|
1063
1063
|
}),
|
|
1064
1064
|
group: i({}, e, {
|
|
1065
|
-
value:
|
|
1065
|
+
value: st
|
|
1066
1066
|
}),
|
|
1067
1067
|
groupCollapsed: i({}, e, {
|
|
1068
|
-
value:
|
|
1068
|
+
value: ut
|
|
1069
1069
|
}),
|
|
1070
1070
|
groupEnd: i({}, e, {
|
|
1071
1071
|
value: ct
|
|
@@ -1162,7 +1162,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1162
1162
|
} finally {
|
|
1163
1163
|
Yr = !1, Nr.current = F, Vt(), Error.prepareStackTrace = d;
|
|
1164
1164
|
}
|
|
1165
|
-
var
|
|
1165
|
+
var ue = e ? e.displayName || e.name : "", ve = ue ? gr(ue) : "";
|
|
1166
1166
|
return typeof e == "function" && br.set(e, ve), ve;
|
|
1167
1167
|
}
|
|
1168
1168
|
function Bt(e, r, a) {
|
|
@@ -1410,16 +1410,16 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1410
1410
|
var d = f.current;
|
|
1411
1411
|
d !== null && (f.didScheduleLegacyUpdate = !1, Br(d));
|
|
1412
1412
|
}
|
|
1413
|
-
} catch (
|
|
1414
|
-
throw wr(r),
|
|
1413
|
+
} catch (ue) {
|
|
1414
|
+
throw wr(r), ue;
|
|
1415
1415
|
} finally {
|
|
1416
1416
|
f.isBatchingLegacy = a;
|
|
1417
1417
|
}
|
|
1418
1418
|
if (o !== null && typeof o == "object" && typeof o.then == "function") {
|
|
1419
1419
|
var F = o, w = !1, N = {
|
|
1420
|
-
then: function(
|
|
1420
|
+
then: function(ue, ve) {
|
|
1421
1421
|
w = !0, F.then(function(ge) {
|
|
1422
|
-
wr(r), Je === 0 ? Vr(ge,
|
|
1422
|
+
wr(r), Je === 0 ? Vr(ge, ue, ve) : ue(ge);
|
|
1423
1423
|
}, function(ge) {
|
|
1424
1424
|
wr(r), ve(ge);
|
|
1425
1425
|
});
|
|
@@ -1435,15 +1435,15 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1435
1435
|
var ee = f.current;
|
|
1436
1436
|
ee !== null && (Br(ee), f.current = null);
|
|
1437
1437
|
var ae = {
|
|
1438
|
-
then: function(
|
|
1439
|
-
f.current === null ? (f.current = [], Vr(z,
|
|
1438
|
+
then: function(ue, ve) {
|
|
1439
|
+
f.current === null ? (f.current = [], Vr(z, ue, ve)) : ue(z);
|
|
1440
1440
|
}
|
|
1441
1441
|
};
|
|
1442
1442
|
return ae;
|
|
1443
1443
|
} else {
|
|
1444
1444
|
var oe = {
|
|
1445
|
-
then: function(
|
|
1446
|
-
|
|
1445
|
+
then: function(ue, ve) {
|
|
1446
|
+
ue(z);
|
|
1447
1447
|
}
|
|
1448
1448
|
};
|
|
1449
1449
|
return oe;
|
|
@@ -1496,7 +1496,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1496
1496
|
toArray: $r,
|
|
1497
1497
|
only: vr
|
|
1498
1498
|
};
|
|
1499
|
-
p.Children = on, p.Component = v, p.Fragment = C, p.Profiler = j, p.PureComponent = O, p.StrictMode = M, p.Suspense = g, p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = de, p.act = wt, p.cloneElement = nn, p.createContext = yr, p.createElement = tn, p.createFactory = an, p.createRef = ye, p.forwardRef = Dr, p.isValidElement = De, p.lazy = Fr, p.memo =
|
|
1499
|
+
p.Children = on, p.Component = v, p.Fragment = C, p.Profiler = j, p.PureComponent = O, p.StrictMode = M, p.Suspense = g, p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = de, p.act = wt, p.cloneElement = nn, p.createContext = yr, p.createElement = tn, p.createFactory = an, p.createRef = ye, p.forwardRef = Dr, p.isValidElement = De, p.lazy = Fr, p.memo = s, p.startTransition = en, p.unstable_act = wt, p.useCallback = le, p.useContext = D, p.useDebugValue = Ae, p.useDeferredValue = rr, p.useEffect = V, p.useId = Mr, p.useImperativeHandle = Le, p.useInsertionEffect = me, p.useLayoutEffect = se, p.useMemo = Re, p.useReducer = X, p.useRef = B, p.useState = H, p.useSyncExternalStore = Lr, p.useTransition = be, p.version = I, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
1500
1500
|
}();
|
|
1501
1501
|
}(or, or.exports)), or.exports;
|
|
1502
1502
|
}
|
|
@@ -1546,25 +1546,25 @@ function vn() {
|
|
|
1546
1546
|
function Q(t) {
|
|
1547
1547
|
if (t === null || typeof t != "object")
|
|
1548
1548
|
return null;
|
|
1549
|
-
var
|
|
1550
|
-
return typeof
|
|
1549
|
+
var s = re && t[re] || t[Y];
|
|
1550
|
+
return typeof s == "function" ? s : null;
|
|
1551
1551
|
}
|
|
1552
1552
|
var ne = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1553
1553
|
function Z(t) {
|
|
1554
1554
|
{
|
|
1555
|
-
for (var
|
|
1555
|
+
for (var s = arguments.length, l = new Array(s > 1 ? s - 1 : 0), D = 1; D < s; D++)
|
|
1556
1556
|
l[D - 1] = arguments[D];
|
|
1557
1557
|
te("error", t, l);
|
|
1558
1558
|
}
|
|
1559
1559
|
}
|
|
1560
|
-
function te(t,
|
|
1560
|
+
function te(t, s, l) {
|
|
1561
1561
|
{
|
|
1562
1562
|
var D = ne.ReactDebugCurrentFrame, H = D.getStackAddendum();
|
|
1563
|
-
H !== "" && (
|
|
1563
|
+
H !== "" && (s += "%s", l = l.concat([H]));
|
|
1564
1564
|
var X = l.map(function(B) {
|
|
1565
1565
|
return String(B);
|
|
1566
1566
|
});
|
|
1567
|
-
X.unshift("Warning: " +
|
|
1567
|
+
X.unshift("Warning: " + s), Function.prototype.apply.call(console[t], console, X);
|
|
1568
1568
|
}
|
|
1569
1569
|
}
|
|
1570
1570
|
var G = !1, f = !1, ie = !1, Ee = !1, we = !1, Ce;
|
|
@@ -1576,11 +1576,11 @@ function vn() {
|
|
|
1576
1576
|
// with.
|
|
1577
1577
|
t.$$typeof === Ce || t.getModuleId !== void 0));
|
|
1578
1578
|
}
|
|
1579
|
-
function Oe(t,
|
|
1579
|
+
function Oe(t, s, l) {
|
|
1580
1580
|
var D = t.displayName;
|
|
1581
1581
|
if (D)
|
|
1582
1582
|
return D;
|
|
1583
|
-
var H =
|
|
1583
|
+
var H = s.displayName || s.name || "";
|
|
1584
1584
|
return H !== "" ? l + "(" + H + ")" : l;
|
|
1585
1585
|
}
|
|
1586
1586
|
function Se(t) {
|
|
@@ -1610,8 +1610,8 @@ function vn() {
|
|
|
1610
1610
|
if (typeof t == "object")
|
|
1611
1611
|
switch (t.$$typeof) {
|
|
1612
1612
|
case j:
|
|
1613
|
-
var
|
|
1614
|
-
return Se(
|
|
1613
|
+
var s = t;
|
|
1614
|
+
return Se(s) + ".Consumer";
|
|
1615
1615
|
case M:
|
|
1616
1616
|
var l = t;
|
|
1617
1617
|
return Se(l._context) + ".Provider";
|
|
@@ -1631,14 +1631,14 @@ function vn() {
|
|
|
1631
1631
|
}
|
|
1632
1632
|
return null;
|
|
1633
1633
|
}
|
|
1634
|
-
var fe = Object.assign, de = 0, ce, x, _e, xe,
|
|
1634
|
+
var fe = Object.assign, de = 0, ce, x, _e, xe, u, n, i;
|
|
1635
1635
|
function h() {
|
|
1636
1636
|
}
|
|
1637
1637
|
h.__reactDisabledLog = !0;
|
|
1638
1638
|
function v() {
|
|
1639
1639
|
{
|
|
1640
1640
|
if (de === 0) {
|
|
1641
|
-
ce = console.log, x = console.info, _e = console.warn, xe = console.error,
|
|
1641
|
+
ce = console.log, x = console.info, _e = console.warn, xe = console.error, u = console.group, n = console.groupCollapsed, i = console.groupEnd;
|
|
1642
1642
|
var t = {
|
|
1643
1643
|
configurable: !0,
|
|
1644
1644
|
enumerable: !0,
|
|
@@ -1680,7 +1680,7 @@ function vn() {
|
|
|
1680
1680
|
value: xe
|
|
1681
1681
|
}),
|
|
1682
1682
|
group: fe({}, t, {
|
|
1683
|
-
value:
|
|
1683
|
+
value: u
|
|
1684
1684
|
}),
|
|
1685
1685
|
groupCollapsed: fe({}, t, {
|
|
1686
1686
|
value: n
|
|
@@ -1694,7 +1694,7 @@ function vn() {
|
|
|
1694
1694
|
}
|
|
1695
1695
|
}
|
|
1696
1696
|
var _ = ne.ReactCurrentDispatcher, E;
|
|
1697
|
-
function T(t,
|
|
1697
|
+
function T(t, s, l) {
|
|
1698
1698
|
{
|
|
1699
1699
|
if (E === void 0)
|
|
1700
1700
|
try {
|
|
@@ -1712,7 +1712,7 @@ function vn() {
|
|
|
1712
1712
|
var ye = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1713
1713
|
A = new ye();
|
|
1714
1714
|
}
|
|
1715
|
-
function m(t,
|
|
1715
|
+
function m(t, s) {
|
|
1716
1716
|
if (!t || O)
|
|
1717
1717
|
return "";
|
|
1718
1718
|
{
|
|
@@ -1727,7 +1727,7 @@ function vn() {
|
|
|
1727
1727
|
var X;
|
|
1728
1728
|
X = _.current, _.current = null, v();
|
|
1729
1729
|
try {
|
|
1730
|
-
if (
|
|
1730
|
+
if (s) {
|
|
1731
1731
|
var B = function() {
|
|
1732
1732
|
throw Error();
|
|
1733
1733
|
};
|
|
@@ -1762,18 +1762,18 @@ function vn() {
|
|
|
1762
1762
|
if (be && D && typeof be.stack == "string") {
|
|
1763
1763
|
for (var V = be.stack.split(`
|
|
1764
1764
|
`), me = D.stack.split(`
|
|
1765
|
-
`),
|
|
1765
|
+
`), se = V.length - 1, le = me.length - 1; se >= 1 && le >= 0 && V[se] !== me[le]; )
|
|
1766
1766
|
le--;
|
|
1767
|
-
for (;
|
|
1768
|
-
if (V[
|
|
1769
|
-
if (
|
|
1767
|
+
for (; se >= 1 && le >= 0; se--, le--)
|
|
1768
|
+
if (V[se] !== me[le]) {
|
|
1769
|
+
if (se !== 1 || le !== 1)
|
|
1770
1770
|
do
|
|
1771
|
-
if (
|
|
1771
|
+
if (se--, le--, le < 0 || V[se] !== me[le]) {
|
|
1772
1772
|
var Re = `
|
|
1773
|
-
` + V[
|
|
1773
|
+
` + V[se].replace(" at new ", " at ");
|
|
1774
1774
|
return t.displayName && Re.includes("<anonymous>") && (Re = Re.replace("<anonymous>", t.displayName)), typeof t == "function" && A.set(t, Re), Re;
|
|
1775
1775
|
}
|
|
1776
|
-
while (
|
|
1776
|
+
while (se >= 1 && le >= 0);
|
|
1777
1777
|
break;
|
|
1778
1778
|
}
|
|
1779
1779
|
}
|
|
@@ -1783,14 +1783,14 @@ function vn() {
|
|
|
1783
1783
|
var Le = t ? t.displayName || t.name : "", Ae = Le ? T(Le) : "";
|
|
1784
1784
|
return typeof t == "function" && A.set(t, Ae), Ae;
|
|
1785
1785
|
}
|
|
1786
|
-
function he(t,
|
|
1786
|
+
function he(t, s, l) {
|
|
1787
1787
|
return m(t, !1);
|
|
1788
1788
|
}
|
|
1789
1789
|
function $e(t) {
|
|
1790
|
-
var
|
|
1791
|
-
return !!(
|
|
1790
|
+
var s = t.prototype;
|
|
1791
|
+
return !!(s && s.isReactComponent);
|
|
1792
1792
|
}
|
|
1793
|
-
function Pe(t,
|
|
1793
|
+
function Pe(t, s, l) {
|
|
1794
1794
|
if (t == null)
|
|
1795
1795
|
return "";
|
|
1796
1796
|
if (typeof t == "function")
|
|
@@ -1808,11 +1808,11 @@ function vn() {
|
|
|
1808
1808
|
case P:
|
|
1809
1809
|
return he(t.render);
|
|
1810
1810
|
case g:
|
|
1811
|
-
return Pe(t.type,
|
|
1811
|
+
return Pe(t.type, s, l);
|
|
1812
1812
|
case W: {
|
|
1813
1813
|
var D = t, H = D._payload, X = D._init;
|
|
1814
1814
|
try {
|
|
1815
|
-
return Pe(X(H),
|
|
1815
|
+
return Pe(X(H), s, l);
|
|
1816
1816
|
} catch {
|
|
1817
1817
|
}
|
|
1818
1818
|
}
|
|
@@ -1822,12 +1822,12 @@ function vn() {
|
|
|
1822
1822
|
var Ie = Object.prototype.hasOwnProperty, Ne = {}, ir = ne.ReactDebugCurrentFrame;
|
|
1823
1823
|
function We(t) {
|
|
1824
1824
|
if (t) {
|
|
1825
|
-
var
|
|
1825
|
+
var s = t._owner, l = Pe(t.type, t._source, s ? s.type : null);
|
|
1826
1826
|
ir.setExtraStackFrame(l);
|
|
1827
1827
|
} else
|
|
1828
1828
|
ir.setExtraStackFrame(null);
|
|
1829
1829
|
}
|
|
1830
|
-
function je(t,
|
|
1830
|
+
function je(t, s, l, D, H) {
|
|
1831
1831
|
{
|
|
1832
1832
|
var X = Function.call.bind(Ie);
|
|
1833
1833
|
for (var B in t)
|
|
@@ -1838,9 +1838,9 @@ function vn() {
|
|
|
1838
1838
|
var me = Error((D || "React class") + ": " + l + " type `" + B + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[B] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1839
1839
|
throw me.name = "Invariant Violation", me;
|
|
1840
1840
|
}
|
|
1841
|
-
V = t[B](
|
|
1842
|
-
} catch (
|
|
1843
|
-
V =
|
|
1841
|
+
V = t[B](s, B, D, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1842
|
+
} catch (se) {
|
|
1843
|
+
V = se;
|
|
1844
1844
|
}
|
|
1845
1845
|
V && !(V instanceof Error) && (We(H), Z("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", D || "React class", l, B, typeof V), We(null)), V instanceof Error && !(V.message in Ne) && (Ne[V.message] = !0, We(H), Z("Failed %s type: %s", l, V.message), We(null));
|
|
1846
1846
|
}
|
|
@@ -1850,13 +1850,13 @@ function vn() {
|
|
|
1850
1850
|
function ze(t) {
|
|
1851
1851
|
return Ye(t);
|
|
1852
1852
|
}
|
|
1853
|
-
function
|
|
1853
|
+
function sr(t) {
|
|
1854
1854
|
{
|
|
1855
|
-
var
|
|
1855
|
+
var s = typeof Symbol == "function" && Symbol.toStringTag, l = s && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
1856
1856
|
return l;
|
|
1857
1857
|
}
|
|
1858
1858
|
}
|
|
1859
|
-
function
|
|
1859
|
+
function ur(t) {
|
|
1860
1860
|
try {
|
|
1861
1861
|
return He(t), !1;
|
|
1862
1862
|
} catch {
|
|
@@ -1867,8 +1867,8 @@ function vn() {
|
|
|
1867
1867
|
return "" + t;
|
|
1868
1868
|
}
|
|
1869
1869
|
function Xe(t) {
|
|
1870
|
-
if (
|
|
1871
|
-
return Z("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1870
|
+
if (ur(t))
|
|
1871
|
+
return Z("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sr(t)), He(t);
|
|
1872
1872
|
}
|
|
1873
1873
|
var Fe = ne.ReactCurrentOwner, Sr = {
|
|
1874
1874
|
key: !0,
|
|
@@ -1879,30 +1879,30 @@ function vn() {
|
|
|
1879
1879
|
Ue = {};
|
|
1880
1880
|
function xr(t) {
|
|
1881
1881
|
if (Ie.call(t, "ref")) {
|
|
1882
|
-
var
|
|
1883
|
-
if (
|
|
1882
|
+
var s = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
1883
|
+
if (s && s.isReactWarning)
|
|
1884
1884
|
return !1;
|
|
1885
1885
|
}
|
|
1886
1886
|
return t.ref !== void 0;
|
|
1887
1887
|
}
|
|
1888
1888
|
function Or(t) {
|
|
1889
1889
|
if (Ie.call(t, "key")) {
|
|
1890
|
-
var
|
|
1891
|
-
if (
|
|
1890
|
+
var s = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
1891
|
+
if (s && s.isReactWarning)
|
|
1892
1892
|
return !1;
|
|
1893
1893
|
}
|
|
1894
1894
|
return t.key !== void 0;
|
|
1895
1895
|
}
|
|
1896
|
-
function jr(t,
|
|
1897
|
-
if (typeof t.ref == "string" && Fe.current &&
|
|
1896
|
+
function jr(t, s) {
|
|
1897
|
+
if (typeof t.ref == "string" && Fe.current && s && Fe.current.stateNode !== s) {
|
|
1898
1898
|
var l = pe(Fe.current.type);
|
|
1899
1899
|
Ue[l] || (Z('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', pe(Fe.current.type), t.ref), Ue[l] = !0);
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
|
-
function De(t,
|
|
1902
|
+
function De(t, s) {
|
|
1903
1903
|
{
|
|
1904
1904
|
var l = function() {
|
|
1905
|
-
cr || (cr = !0, Z("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
1905
|
+
cr || (cr = !0, Z("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
1906
1906
|
};
|
|
1907
1907
|
l.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
1908
1908
|
get: l,
|
|
@@ -1910,10 +1910,10 @@ function vn() {
|
|
|
1910
1910
|
});
|
|
1911
1911
|
}
|
|
1912
1912
|
}
|
|
1913
|
-
function fr(t,
|
|
1913
|
+
function fr(t, s) {
|
|
1914
1914
|
{
|
|
1915
1915
|
var l = function() {
|
|
1916
|
-
lr || (lr = !0, Z("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
1916
|
+
lr || (lr = !0, Z("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
1917
1917
|
};
|
|
1918
1918
|
l.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
1919
1919
|
get: l,
|
|
@@ -1921,13 +1921,13 @@ function vn() {
|
|
|
1921
1921
|
});
|
|
1922
1922
|
}
|
|
1923
1923
|
}
|
|
1924
|
-
var Pr = function(t,
|
|
1924
|
+
var Pr = function(t, s, l, D, H, X, B) {
|
|
1925
1925
|
var V = {
|
|
1926
1926
|
// This tag allows us to uniquely identify this as a React Element
|
|
1927
1927
|
$$typeof: p,
|
|
1928
1928
|
// Built-in properties that belong on the element
|
|
1929
1929
|
type: t,
|
|
1930
|
-
key:
|
|
1930
|
+
key: s,
|
|
1931
1931
|
ref: l,
|
|
1932
1932
|
props: B,
|
|
1933
1933
|
// Record the component responsible for creating this element.
|
|
@@ -1950,16 +1950,16 @@ function vn() {
|
|
|
1950
1950
|
value: H
|
|
1951
1951
|
}), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
|
|
1952
1952
|
};
|
|
1953
|
-
function kr(t,
|
|
1953
|
+
function kr(t, s, l, D, H) {
|
|
1954
1954
|
{
|
|
1955
1955
|
var X, B = {}, V = null, me = null;
|
|
1956
|
-
l !== void 0 && (Xe(l), V = "" + l), Or(
|
|
1957
|
-
for (X in
|
|
1958
|
-
Ie.call(
|
|
1956
|
+
l !== void 0 && (Xe(l), V = "" + l), Or(s) && (Xe(s.key), V = "" + s.key), xr(s) && (me = s.ref, jr(s, H));
|
|
1957
|
+
for (X in s)
|
|
1958
|
+
Ie.call(s, X) && !Sr.hasOwnProperty(X) && (B[X] = s[X]);
|
|
1959
1959
|
if (t && t.defaultProps) {
|
|
1960
|
-
var
|
|
1961
|
-
for (X in
|
|
1962
|
-
B[X] === void 0 && (B[X] =
|
|
1960
|
+
var se = t.defaultProps;
|
|
1961
|
+
for (X in se)
|
|
1962
|
+
B[X] === void 0 && (B[X] = se[X]);
|
|
1963
1963
|
}
|
|
1964
1964
|
if (V || me) {
|
|
1965
1965
|
var le = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
@@ -1971,7 +1971,7 @@ function vn() {
|
|
|
1971
1971
|
var Ge = ne.ReactCurrentOwner, dr = ne.ReactDebugCurrentFrame;
|
|
1972
1972
|
function ke(t) {
|
|
1973
1973
|
if (t) {
|
|
1974
|
-
var
|
|
1974
|
+
var s = t._owner, l = Pe(t.type, t._source, s ? s.type : null);
|
|
1975
1975
|
dr.setExtraStackFrame(l);
|
|
1976
1976
|
} else
|
|
1977
1977
|
dr.setExtraStackFrame(null);
|
|
@@ -1996,10 +1996,10 @@ Check the render method of \`` + t + "`.";
|
|
|
1996
1996
|
function Ar(t) {
|
|
1997
1997
|
{
|
|
1998
1998
|
if (t !== void 0) {
|
|
1999
|
-
var
|
|
1999
|
+
var s = t.fileName.replace(/^.*[\\\/]/, ""), l = t.lineNumber;
|
|
2000
2000
|
return `
|
|
2001
2001
|
|
|
2002
|
-
Check your code at ` +
|
|
2002
|
+
Check your code at ` + s + ":" + l + ".";
|
|
2003
2003
|
}
|
|
2004
2004
|
return "";
|
|
2005
2005
|
}
|
|
@@ -2007,22 +2007,22 @@ Check your code at ` + u + ":" + l + ".";
|
|
|
2007
2007
|
var pr = {};
|
|
2008
2008
|
function $r(t) {
|
|
2009
2009
|
{
|
|
2010
|
-
var
|
|
2011
|
-
if (!
|
|
2010
|
+
var s = qe();
|
|
2011
|
+
if (!s) {
|
|
2012
2012
|
var l = typeof t == "string" ? t : t.displayName || t.name;
|
|
2013
|
-
l && (
|
|
2013
|
+
l && (s = `
|
|
2014
2014
|
|
|
2015
2015
|
Check the top-level render call using <` + l + ">.");
|
|
2016
2016
|
}
|
|
2017
|
-
return
|
|
2017
|
+
return s;
|
|
2018
2018
|
}
|
|
2019
2019
|
}
|
|
2020
|
-
function vr(t,
|
|
2020
|
+
function vr(t, s) {
|
|
2021
2021
|
{
|
|
2022
2022
|
if (!t._store || t._store.validated || t.key != null)
|
|
2023
2023
|
return;
|
|
2024
2024
|
t._store.validated = !0;
|
|
2025
|
-
var l = $r(
|
|
2025
|
+
var l = $r(s);
|
|
2026
2026
|
if (pr[l])
|
|
2027
2027
|
return;
|
|
2028
2028
|
pr[l] = !0;
|
|
@@ -2030,14 +2030,14 @@ Check the top-level render call using <` + l + ">.");
|
|
|
2030
2030
|
t && t._owner && t._owner !== Ge.current && (D = " It was passed a child from " + pe(t._owner.type) + "."), ke(t), Z('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, D), ke(null);
|
|
2031
2031
|
}
|
|
2032
2032
|
}
|
|
2033
|
-
function yr(t,
|
|
2033
|
+
function yr(t, s) {
|
|
2034
2034
|
{
|
|
2035
2035
|
if (typeof t != "object")
|
|
2036
2036
|
return;
|
|
2037
2037
|
if (ze(t))
|
|
2038
2038
|
for (var l = 0; l < t.length; l++) {
|
|
2039
2039
|
var D = t[l];
|
|
2040
|
-
Me(D) && vr(D,
|
|
2040
|
+
Me(D) && vr(D, s);
|
|
2041
2041
|
}
|
|
2042
2042
|
else if (Me(t))
|
|
2043
2043
|
t._store && (t._store.validated = !0);
|
|
@@ -2045,39 +2045,39 @@ Check the top-level render call using <` + l + ">.");
|
|
|
2045
2045
|
var H = Q(t);
|
|
2046
2046
|
if (typeof H == "function" && H !== t.entries)
|
|
2047
2047
|
for (var X = H.call(t), B; !(B = X.next()).done; )
|
|
2048
|
-
Me(B.value) && vr(B.value,
|
|
2048
|
+
Me(B.value) && vr(B.value, s);
|
|
2049
2049
|
}
|
|
2050
2050
|
}
|
|
2051
2051
|
}
|
|
2052
2052
|
function Be(t) {
|
|
2053
2053
|
{
|
|
2054
|
-
var
|
|
2055
|
-
if (
|
|
2054
|
+
var s = t.type;
|
|
2055
|
+
if (s == null || typeof s == "string")
|
|
2056
2056
|
return;
|
|
2057
2057
|
var l;
|
|
2058
|
-
if (typeof
|
|
2059
|
-
l =
|
|
2060
|
-
else if (typeof
|
|
2058
|
+
if (typeof s == "function")
|
|
2059
|
+
l = s.propTypes;
|
|
2060
|
+
else if (typeof s == "object" && (s.$$typeof === P || // Note: Memo only checks outer props here.
|
|
2061
2061
|
// Inner props are checked in the reconciler.
|
|
2062
|
-
|
|
2063
|
-
l =
|
|
2062
|
+
s.$$typeof === g))
|
|
2063
|
+
l = s.propTypes;
|
|
2064
2064
|
else
|
|
2065
2065
|
return;
|
|
2066
2066
|
if (l) {
|
|
2067
|
-
var D = pe(
|
|
2067
|
+
var D = pe(s);
|
|
2068
2068
|
je(l, t.props, "prop", D, t);
|
|
2069
|
-
} else if (
|
|
2069
|
+
} else if (s.PropTypes !== void 0 && !Ve) {
|
|
2070
2070
|
Ve = !0;
|
|
2071
|
-
var H = pe(
|
|
2071
|
+
var H = pe(s);
|
|
2072
2072
|
Z("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", H || "Unknown");
|
|
2073
2073
|
}
|
|
2074
|
-
typeof
|
|
2074
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && Z("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2075
2075
|
}
|
|
2076
2076
|
}
|
|
2077
2077
|
function Qe(t) {
|
|
2078
2078
|
{
|
|
2079
|
-
for (var
|
|
2080
|
-
var D =
|
|
2079
|
+
for (var s = Object.keys(t.props), l = 0; l < s.length; l++) {
|
|
2080
|
+
var D = s[l];
|
|
2081
2081
|
if (D !== "children" && D !== "key") {
|
|
2082
2082
|
ke(t), Z("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", D), ke(null);
|
|
2083
2083
|
break;
|
|
@@ -2087,7 +2087,7 @@ Check the top-level render call using <` + l + ">.");
|
|
|
2087
2087
|
}
|
|
2088
2088
|
}
|
|
2089
2089
|
var er = {};
|
|
2090
|
-
function hr(t,
|
|
2090
|
+
function hr(t, s, l, D, H, X) {
|
|
2091
2091
|
{
|
|
2092
2092
|
var B = Te(t);
|
|
2093
2093
|
if (!B) {
|
|
@@ -2095,14 +2095,14 @@ Check the top-level render call using <` + l + ">.");
|
|
|
2095
2095
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (V += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2096
2096
|
var me = Ar(H);
|
|
2097
2097
|
me ? V += me : V += qe();
|
|
2098
|
-
var
|
|
2099
|
-
t === null ?
|
|
2098
|
+
var se;
|
|
2099
|
+
t === null ? se = "null" : ze(t) ? se = "array" : t !== void 0 && t.$$typeof === p ? (se = "<" + (pe(t.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : se = typeof t, Z("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", se, V);
|
|
2100
2100
|
}
|
|
2101
|
-
var le = kr(t,
|
|
2101
|
+
var le = kr(t, s, l, H, X);
|
|
2102
2102
|
if (le == null)
|
|
2103
2103
|
return le;
|
|
2104
2104
|
if (B) {
|
|
2105
|
-
var Re =
|
|
2105
|
+
var Re = s.children;
|
|
2106
2106
|
if (Re !== void 0)
|
|
2107
2107
|
if (D)
|
|
2108
2108
|
if (ze(Re)) {
|
|
@@ -2114,8 +2114,8 @@ Check the top-level render call using <` + l + ">.");
|
|
|
2114
2114
|
else
|
|
2115
2115
|
yr(Re, t);
|
|
2116
2116
|
}
|
|
2117
|
-
if (Ie.call(
|
|
2118
|
-
var Ae = pe(t), be = Object.keys(
|
|
2117
|
+
if (Ie.call(s, "key")) {
|
|
2118
|
+
var Ae = pe(t), be = Object.keys(s).filter(function(Lr) {
|
|
2119
2119
|
return Lr !== "key";
|
|
2120
2120
|
}), rr = be.length > 0 ? "{key: someKey, " + be.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2121
2121
|
if (!er[Ae + rr]) {
|
|
@@ -2131,11 +2131,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2131
2131
|
return t === R ? Qe(le) : Be(le), le;
|
|
2132
2132
|
}
|
|
2133
2133
|
}
|
|
2134
|
-
function Ir(t,
|
|
2135
|
-
return hr(t,
|
|
2134
|
+
function Ir(t, s, l) {
|
|
2135
|
+
return hr(t, s, l, !0);
|
|
2136
2136
|
}
|
|
2137
|
-
function Fr(t,
|
|
2138
|
-
return hr(t,
|
|
2137
|
+
function Fr(t, s, l) {
|
|
2138
|
+
return hr(t, s, l, !1);
|
|
2139
2139
|
}
|
|
2140
2140
|
var Dr = Fr, mr = Ir;
|
|
2141
2141
|
ar.Fragment = R, ar.jsx = Dr, ar.jsxs = mr;
|
|
@@ -2269,9 +2269,9 @@ function hn() {
|
|
|
2269
2269
|
}
|
|
2270
2270
|
var f = P, ie = $, Ee = j, we = M, Ce = p, Te = S, Oe = R, Se = re, pe = L, fe = I, de = C, ce = k, x = g, _e = !1;
|
|
2271
2271
|
function xe(m) {
|
|
2272
|
-
return _e || (_e = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),
|
|
2272
|
+
return _e || (_e = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), u(m) || G(m) === P;
|
|
2273
2273
|
}
|
|
2274
|
-
function
|
|
2274
|
+
function u(m) {
|
|
2275
2275
|
return G(m) === $;
|
|
2276
2276
|
}
|
|
2277
2277
|
function n(m) {
|
|
@@ -2307,7 +2307,7 @@ function hn() {
|
|
|
2307
2307
|
function ye(m) {
|
|
2308
2308
|
return G(m) === g;
|
|
2309
2309
|
}
|
|
2310
|
-
J.AsyncMode = f, J.ConcurrentMode = ie, J.ContextConsumer = Ee, J.ContextProvider = we, J.Element = Ce, J.ForwardRef = Te, J.Fragment = Oe, J.Lazy = Se, J.Memo = pe, J.Portal = fe, J.Profiler = de, J.StrictMode = ce, J.Suspense = x, J.isAsyncMode = xe, J.isConcurrentMode =
|
|
2310
|
+
J.AsyncMode = f, J.ConcurrentMode = ie, J.ContextConsumer = Ee, J.ContextProvider = we, J.Element = Ce, J.ForwardRef = Te, J.Fragment = Oe, J.Lazy = Se, J.Memo = pe, J.Portal = fe, J.Profiler = de, J.StrictMode = ce, J.Suspense = x, J.isAsyncMode = xe, J.isConcurrentMode = u, J.isContextConsumer = n, J.isContextProvider = i, J.isElement = h, J.isForwardRef = v, J.isFragment = b, J.isLazy = _, J.isMemo = E, J.isPortal = T, J.isProfiler = O, J.isStrictMode = A, J.isSuspense = ye, J.isValidElementType = te, J.typeOf = G;
|
|
2311
2311
|
}()), J;
|
|
2312
2312
|
}
|
|
2313
2313
|
var $t;
|
|
@@ -2448,8 +2448,8 @@ function bn() {
|
|
|
2448
2448
|
}
|
|
2449
2449
|
return Zr = function(j, P) {
|
|
2450
2450
|
var $ = typeof Symbol == "function" && Symbol.iterator, S = "@@iterator";
|
|
2451
|
-
function g(
|
|
2452
|
-
var n =
|
|
2451
|
+
function g(u) {
|
|
2452
|
+
var n = u && ($ && u[$] || u[S]);
|
|
2453
2453
|
if (typeof n == "function")
|
|
2454
2454
|
return n;
|
|
2455
2455
|
}
|
|
@@ -2474,14 +2474,14 @@ function bn() {
|
|
|
2474
2474
|
shape: Se,
|
|
2475
2475
|
exact: pe
|
|
2476
2476
|
};
|
|
2477
|
-
function re(
|
|
2478
|
-
return
|
|
2477
|
+
function re(u, n) {
|
|
2478
|
+
return u === n ? u !== 0 || 1 / u === 1 / n : u !== u && n !== n;
|
|
2479
2479
|
}
|
|
2480
|
-
function Y(
|
|
2481
|
-
this.message =
|
|
2480
|
+
function Y(u, n) {
|
|
2481
|
+
this.message = u, this.data = n && typeof n == "object" ? n : {}, this.stack = "";
|
|
2482
2482
|
}
|
|
2483
2483
|
Y.prototype = Error.prototype;
|
|
2484
|
-
function Q(
|
|
2484
|
+
function Q(u) {
|
|
2485
2485
|
if (process.env.NODE_ENV !== "production")
|
|
2486
2486
|
var n = {}, i = 0;
|
|
2487
2487
|
function h(b, _, E, T, O, A, ye) {
|
|
@@ -2499,19 +2499,19 @@ function bn() {
|
|
|
2499
2499
|
), n[he] = !0, i++);
|
|
2500
2500
|
}
|
|
2501
2501
|
}
|
|
2502
|
-
return _[E] == null ? b ? _[E] === null ? new Y("The " + O + " `" + A + "` is marked as required " + ("in `" + T + "`, but its value is `null`.")) : new Y("The " + O + " `" + A + "` is marked as required in " + ("`" + T + "`, but its value is `undefined`.")) : null :
|
|
2502
|
+
return _[E] == null ? b ? _[E] === null ? new Y("The " + O + " `" + A + "` is marked as required " + ("in `" + T + "`, but its value is `null`.")) : new Y("The " + O + " `" + A + "` is marked as required in " + ("`" + T + "`, but its value is `undefined`.")) : null : u(_, E, T, O, A);
|
|
2503
2503
|
}
|
|
2504
2504
|
var v = h.bind(null, !1);
|
|
2505
2505
|
return v.isRequired = h.bind(null, !0), v;
|
|
2506
2506
|
}
|
|
2507
|
-
function ne(
|
|
2507
|
+
function ne(u) {
|
|
2508
2508
|
function n(i, h, v, b, _, E) {
|
|
2509
2509
|
var T = i[h], O = ce(T);
|
|
2510
|
-
if (O !==
|
|
2510
|
+
if (O !== u) {
|
|
2511
2511
|
var A = x(T);
|
|
2512
2512
|
return new Y(
|
|
2513
|
-
"Invalid " + b + " `" + _ + "` of type " + ("`" + A + "` supplied to `" + v + "`, expected ") + ("`" +
|
|
2514
|
-
{ expectedType:
|
|
2513
|
+
"Invalid " + b + " `" + _ + "` of type " + ("`" + A + "` supplied to `" + v + "`, expected ") + ("`" + u + "`."),
|
|
2514
|
+
{ expectedType: u }
|
|
2515
2515
|
);
|
|
2516
2516
|
}
|
|
2517
2517
|
return null;
|
|
@@ -2521,9 +2521,9 @@ function bn() {
|
|
|
2521
2521
|
function Z() {
|
|
2522
2522
|
return Q(M);
|
|
2523
2523
|
}
|
|
2524
|
-
function te(
|
|
2524
|
+
function te(u) {
|
|
2525
2525
|
function n(i, h, v, b, _) {
|
|
2526
|
-
if (typeof
|
|
2526
|
+
if (typeof u != "function")
|
|
2527
2527
|
return new Y("Property `" + _ + "` of component `" + v + "` has invalid PropType notation inside arrayOf.");
|
|
2528
2528
|
var E = i[h];
|
|
2529
2529
|
if (!Array.isArray(E)) {
|
|
@@ -2531,7 +2531,7 @@ function bn() {
|
|
|
2531
2531
|
return new Y("Invalid " + b + " `" + _ + "` of type " + ("`" + T + "` supplied to `" + v + "`, expected an array."));
|
|
2532
2532
|
}
|
|
2533
2533
|
for (var O = 0; O < E.length; O++) {
|
|
2534
|
-
var A =
|
|
2534
|
+
var A = u(E, O, v, b, _ + "[" + O + "]", I);
|
|
2535
2535
|
if (A instanceof Error)
|
|
2536
2536
|
return A;
|
|
2537
2537
|
}
|
|
@@ -2540,7 +2540,7 @@ function bn() {
|
|
|
2540
2540
|
return Q(n);
|
|
2541
2541
|
}
|
|
2542
2542
|
function G() {
|
|
2543
|
-
function
|
|
2543
|
+
function u(n, i, h, v, b) {
|
|
2544
2544
|
var _ = n[i];
|
|
2545
2545
|
if (!j(_)) {
|
|
2546
2546
|
var E = ce(_);
|
|
@@ -2548,10 +2548,10 @@ function bn() {
|
|
|
2548
2548
|
}
|
|
2549
2549
|
return null;
|
|
2550
2550
|
}
|
|
2551
|
-
return Q(
|
|
2551
|
+
return Q(u);
|
|
2552
2552
|
}
|
|
2553
2553
|
function f() {
|
|
2554
|
-
function
|
|
2554
|
+
function u(n, i, h, v, b) {
|
|
2555
2555
|
var _ = n[i];
|
|
2556
2556
|
if (!c.isValidElementType(_)) {
|
|
2557
2557
|
var E = ce(_);
|
|
@@ -2559,28 +2559,28 @@ function bn() {
|
|
|
2559
2559
|
}
|
|
2560
2560
|
return null;
|
|
2561
2561
|
}
|
|
2562
|
-
return Q(
|
|
2562
|
+
return Q(u);
|
|
2563
2563
|
}
|
|
2564
|
-
function ie(
|
|
2564
|
+
function ie(u) {
|
|
2565
2565
|
function n(i, h, v, b, _) {
|
|
2566
|
-
if (!(i[h] instanceof
|
|
2567
|
-
var E =
|
|
2566
|
+
if (!(i[h] instanceof u)) {
|
|
2567
|
+
var E = u.name || W, T = xe(i[h]);
|
|
2568
2568
|
return new Y("Invalid " + b + " `" + _ + "` of type " + ("`" + T + "` supplied to `" + v + "`, expected ") + ("instance of `" + E + "`."));
|
|
2569
2569
|
}
|
|
2570
2570
|
return null;
|
|
2571
2571
|
}
|
|
2572
2572
|
return Q(n);
|
|
2573
2573
|
}
|
|
2574
|
-
function Ee(
|
|
2575
|
-
if (!Array.isArray(
|
|
2574
|
+
function Ee(u) {
|
|
2575
|
+
if (!Array.isArray(u))
|
|
2576
2576
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? C(
|
|
2577
2577
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
2578
2578
|
) : C("Invalid argument supplied to oneOf, expected an array.")), M;
|
|
2579
2579
|
function n(i, h, v, b, _) {
|
|
2580
|
-
for (var E = i[h], T = 0; T <
|
|
2581
|
-
if (re(E,
|
|
2580
|
+
for (var E = i[h], T = 0; T < u.length; T++)
|
|
2581
|
+
if (re(E, u[T]))
|
|
2582
2582
|
return null;
|
|
2583
|
-
var O = JSON.stringify(
|
|
2583
|
+
var O = JSON.stringify(u, function(ye, m) {
|
|
2584
2584
|
var he = x(m);
|
|
2585
2585
|
return he === "symbol" ? String(m) : m;
|
|
2586
2586
|
});
|
|
@@ -2588,16 +2588,16 @@ function bn() {
|
|
|
2588
2588
|
}
|
|
2589
2589
|
return Q(n);
|
|
2590
2590
|
}
|
|
2591
|
-
function we(
|
|
2591
|
+
function we(u) {
|
|
2592
2592
|
function n(i, h, v, b, _) {
|
|
2593
|
-
if (typeof
|
|
2593
|
+
if (typeof u != "function")
|
|
2594
2594
|
return new Y("Property `" + _ + "` of component `" + v + "` has invalid PropType notation inside objectOf.");
|
|
2595
2595
|
var E = i[h], T = ce(E);
|
|
2596
2596
|
if (T !== "object")
|
|
2597
2597
|
return new Y("Invalid " + b + " `" + _ + "` of type " + ("`" + T + "` supplied to `" + v + "`, expected an object."));
|
|
2598
2598
|
for (var O in E)
|
|
2599
2599
|
if (R(E, O)) {
|
|
2600
|
-
var A =
|
|
2600
|
+
var A = u(E, O, v, b, _ + "." + O, I);
|
|
2601
2601
|
if (A instanceof Error)
|
|
2602
2602
|
return A;
|
|
2603
2603
|
}
|
|
@@ -2605,19 +2605,19 @@ function bn() {
|
|
|
2605
2605
|
}
|
|
2606
2606
|
return Q(n);
|
|
2607
2607
|
}
|
|
2608
|
-
function Ce(
|
|
2609
|
-
if (!Array.isArray(
|
|
2608
|
+
function Ce(u) {
|
|
2609
|
+
if (!Array.isArray(u))
|
|
2610
2610
|
return process.env.NODE_ENV !== "production" && C("Invalid argument supplied to oneOfType, expected an instance of array."), M;
|
|
2611
|
-
for (var n = 0; n <
|
|
2612
|
-
var i =
|
|
2611
|
+
for (var n = 0; n < u.length; n++) {
|
|
2612
|
+
var i = u[n];
|
|
2613
2613
|
if (typeof i != "function")
|
|
2614
2614
|
return C(
|
|
2615
2615
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + _e(i) + " at index " + n + "."
|
|
2616
2616
|
), M;
|
|
2617
2617
|
}
|
|
2618
2618
|
function h(v, b, _, E, T) {
|
|
2619
|
-
for (var O = [], A = 0; A <
|
|
2620
|
-
var ye =
|
|
2619
|
+
for (var O = [], A = 0; A < u.length; A++) {
|
|
2620
|
+
var ye = u[A], m = ye(v, b, _, E, T, I);
|
|
2621
2621
|
if (m == null)
|
|
2622
2622
|
return null;
|
|
2623
2623
|
m.data && R(m.data, "expectedType") && O.push(m.data.expectedType);
|
|
@@ -2628,23 +2628,23 @@ function bn() {
|
|
|
2628
2628
|
return Q(h);
|
|
2629
2629
|
}
|
|
2630
2630
|
function Te() {
|
|
2631
|
-
function
|
|
2631
|
+
function u(n, i, h, v, b) {
|
|
2632
2632
|
return fe(n[i]) ? null : new Y("Invalid " + v + " `" + b + "` supplied to " + ("`" + h + "`, expected a ReactNode."));
|
|
2633
2633
|
}
|
|
2634
|
-
return Q(
|
|
2634
|
+
return Q(u);
|
|
2635
2635
|
}
|
|
2636
|
-
function Oe(
|
|
2636
|
+
function Oe(u, n, i, h, v) {
|
|
2637
2637
|
return new Y(
|
|
2638
|
-
(
|
|
2638
|
+
(u || "React class") + ": " + n + " type `" + i + "." + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + v + "`."
|
|
2639
2639
|
);
|
|
2640
2640
|
}
|
|
2641
|
-
function Se(
|
|
2641
|
+
function Se(u) {
|
|
2642
2642
|
function n(i, h, v, b, _) {
|
|
2643
2643
|
var E = i[h], T = ce(E);
|
|
2644
2644
|
if (T !== "object")
|
|
2645
2645
|
return new Y("Invalid " + b + " `" + _ + "` of type `" + T + "` " + ("supplied to `" + v + "`, expected `object`."));
|
|
2646
|
-
for (var O in
|
|
2647
|
-
var A =
|
|
2646
|
+
for (var O in u) {
|
|
2647
|
+
var A = u[O];
|
|
2648
2648
|
if (typeof A != "function")
|
|
2649
2649
|
return Oe(v, b, _, O, x(A));
|
|
2650
2650
|
var ye = A(E, O, v, b, _ + "." + O, I);
|
|
@@ -2655,20 +2655,20 @@ function bn() {
|
|
|
2655
2655
|
}
|
|
2656
2656
|
return Q(n);
|
|
2657
2657
|
}
|
|
2658
|
-
function pe(
|
|
2658
|
+
function pe(u) {
|
|
2659
2659
|
function n(i, h, v, b, _) {
|
|
2660
2660
|
var E = i[h], T = ce(E);
|
|
2661
2661
|
if (T !== "object")
|
|
2662
2662
|
return new Y("Invalid " + b + " `" + _ + "` of type `" + T + "` " + ("supplied to `" + v + "`, expected `object`."));
|
|
2663
|
-
var O = p({}, i[h],
|
|
2663
|
+
var O = p({}, i[h], u);
|
|
2664
2664
|
for (var A in O) {
|
|
2665
|
-
var ye =
|
|
2666
|
-
if (R(
|
|
2665
|
+
var ye = u[A];
|
|
2666
|
+
if (R(u, A) && typeof ye != "function")
|
|
2667
2667
|
return Oe(v, b, _, A, x(ye));
|
|
2668
2668
|
if (!ye)
|
|
2669
2669
|
return new Y(
|
|
2670
2670
|
"Invalid " + b + " `" + _ + "` key `" + A + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(i[h], null, " ") + `
|
|
2671
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
2671
|
+
Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
|
|
2672
2672
|
);
|
|
2673
2673
|
var m = ye(E, A, v, b, _ + "." + A, I);
|
|
2674
2674
|
if (m)
|
|
@@ -2678,23 +2678,23 @@ Valid keys: ` + JSON.stringify(Object.keys(s), null, " ")
|
|
|
2678
2678
|
}
|
|
2679
2679
|
return Q(n);
|
|
2680
2680
|
}
|
|
2681
|
-
function fe(
|
|
2682
|
-
switch (typeof
|
|
2681
|
+
function fe(u) {
|
|
2682
|
+
switch (typeof u) {
|
|
2683
2683
|
case "number":
|
|
2684
2684
|
case "string":
|
|
2685
2685
|
case "undefined":
|
|
2686
2686
|
return !0;
|
|
2687
2687
|
case "boolean":
|
|
2688
|
-
return !
|
|
2688
|
+
return !u;
|
|
2689
2689
|
case "object":
|
|
2690
|
-
if (Array.isArray(
|
|
2691
|
-
return
|
|
2692
|
-
if (
|
|
2690
|
+
if (Array.isArray(u))
|
|
2691
|
+
return u.every(fe);
|
|
2692
|
+
if (u === null || j(u))
|
|
2693
2693
|
return !0;
|
|
2694
|
-
var n = g(
|
|
2694
|
+
var n = g(u);
|
|
2695
2695
|
if (n) {
|
|
2696
|
-
var i = n.call(
|
|
2697
|
-
if (n !==
|
|
2696
|
+
var i = n.call(u), h;
|
|
2697
|
+
if (n !== u.entries) {
|
|
2698
2698
|
for (; !(h = i.next()).done; )
|
|
2699
2699
|
if (!fe(h.value))
|
|
2700
2700
|
return !1;
|
|
@@ -2711,27 +2711,27 @@ Valid keys: ` + JSON.stringify(Object.keys(s), null, " ")
|
|
|
2711
2711
|
return !1;
|
|
2712
2712
|
}
|
|
2713
2713
|
}
|
|
2714
|
-
function de(
|
|
2715
|
-
return
|
|
2714
|
+
function de(u, n) {
|
|
2715
|
+
return u === "symbol" ? !0 : n ? n["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && n instanceof Symbol : !1;
|
|
2716
2716
|
}
|
|
2717
|
-
function ce(
|
|
2718
|
-
var n = typeof
|
|
2719
|
-
return Array.isArray(
|
|
2717
|
+
function ce(u) {
|
|
2718
|
+
var n = typeof u;
|
|
2719
|
+
return Array.isArray(u) ? "array" : u instanceof RegExp ? "object" : de(n, u) ? "symbol" : n;
|
|
2720
2720
|
}
|
|
2721
|
-
function x(
|
|
2722
|
-
if (typeof
|
|
2723
|
-
return "" +
|
|
2724
|
-
var n = ce(
|
|
2721
|
+
function x(u) {
|
|
2722
|
+
if (typeof u > "u" || u === null)
|
|
2723
|
+
return "" + u;
|
|
2724
|
+
var n = ce(u);
|
|
2725
2725
|
if (n === "object") {
|
|
2726
|
-
if (
|
|
2726
|
+
if (u instanceof Date)
|
|
2727
2727
|
return "date";
|
|
2728
|
-
if (
|
|
2728
|
+
if (u instanceof RegExp)
|
|
2729
2729
|
return "regexp";
|
|
2730
2730
|
}
|
|
2731
2731
|
return n;
|
|
2732
2732
|
}
|
|
2733
|
-
function _e(
|
|
2734
|
-
var n = x(
|
|
2733
|
+
function _e(u) {
|
|
2734
|
+
var n = x(u);
|
|
2735
2735
|
switch (n) {
|
|
2736
2736
|
case "array":
|
|
2737
2737
|
case "object":
|
|
@@ -2744,8 +2744,8 @@ Valid keys: ` + JSON.stringify(Object.keys(s), null, " ")
|
|
|
2744
2744
|
return n;
|
|
2745
2745
|
}
|
|
2746
2746
|
}
|
|
2747
|
-
function xe(
|
|
2748
|
-
return !
|
|
2747
|
+
function xe(u) {
|
|
2748
|
+
return !u.constructor || !u.constructor.name ? W : u.constructor.name;
|
|
2749
2749
|
}
|
|
2750
2750
|
return L.checkPropTypes = k, L.resetWarningCache = k.resetWarningCache, L.PropTypes = L, L;
|
|
2751
2751
|
}, Zr;
|
|
@@ -2816,7 +2816,7 @@ Cn.propTypes = {
|
|
|
2816
2816
|
id: U.string,
|
|
2817
2817
|
children: U.node
|
|
2818
2818
|
};
|
|
2819
|
-
|
|
2819
|
+
const Tn = ({ onClick: c, variant: p = "primary", size: I = "medium", type: R = "button", icon: k = "", iconLeft: C = !1, iconOnly: M = !1, iconSize: j, disabled: P = !1, children: $ = "ОК" }) => {
|
|
2820
2820
|
const S = (Y) => {
|
|
2821
2821
|
switch (Y) {
|
|
2822
2822
|
case "primary":
|
|
@@ -2858,7 +2858,7 @@ function Tn({ onClick: c, variant: p = "primary", size: I = "medium", type: R =
|
|
|
2858
2858
|
]
|
|
2859
2859
|
}
|
|
2860
2860
|
);
|
|
2861
|
-
}
|
|
2861
|
+
};
|
|
2862
2862
|
Tn.propTypes = {
|
|
2863
2863
|
variant: U.oneOf(["primary", "danger", "outline", "danger-outline", "simple", "text", "text-danger"]),
|
|
2864
2864
|
type: U.string,
|
|
@@ -3167,7 +3167,7 @@ const jn = ({ variant: c = "small-primary" }) => /* @__PURE__ */ y.jsxs(y.Fragme
|
|
|
3167
3167
|
jn.propTypes = {
|
|
3168
3168
|
variant: U.string
|
|
3169
3169
|
};
|
|
3170
|
-
|
|
3170
|
+
const Pn = ({ options: c, placeholder: p = "Не выбрано", defaultValue: I }) => {
|
|
3171
3171
|
const [R, k] = Ze.useState(!1), [C, M] = Ze.useState(I || { label: p, value: null }), [j, P] = Ze.useState(!!I), $ = c.map((g, W) => /* @__PURE__ */ y.jsx("div", { className: "u-selectbox-option", onClick: () => {
|
|
3172
3172
|
M(g), P(!0);
|
|
3173
3173
|
}, children: g.label }, W));
|
|
@@ -3209,7 +3209,7 @@ function Pn({ options: c, placeholder: p = "Не выбрано", defaultValue:
|
|
|
3209
3209
|
}
|
|
3210
3210
|
)
|
|
3211
3211
|
] });
|
|
3212
|
-
}
|
|
3212
|
+
};
|
|
3213
3213
|
Pn.propTypes = {
|
|
3214
3214
|
options: U.array,
|
|
3215
3215
|
placeholder: U.string
|
|
@@ -3240,7 +3240,7 @@ kn.propTypes = {
|
|
|
3240
3240
|
variant: U.string,
|
|
3241
3241
|
size: U.string
|
|
3242
3242
|
};
|
|
3243
|
-
|
|
3243
|
+
const An = ({ data: c, columns: p, verticalBorders: I, striped: R, linesNotActive: k, fixedHeader: C, tdStyle: M, thStyle: j, cellStyle: P }) => {
|
|
3244
3244
|
const $ = (g) => `${g}px`;
|
|
3245
3245
|
return /* @__PURE__ */ y.jsx(
|
|
3246
3246
|
"div",
|
|
@@ -3288,7 +3288,7 @@ function An({ data: c, columns: p, verticalBorders: I, striped: R, linesNotActiv
|
|
|
3288
3288
|
] })
|
|
3289
3289
|
}
|
|
3290
3290
|
);
|
|
3291
|
-
}
|
|
3291
|
+
};
|
|
3292
3292
|
An.propTypes = {
|
|
3293
3293
|
data: U.array,
|
|
3294
3294
|
columns: U.array,
|