mc-react-library 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +328 -322
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./main.css";
|
|
2
2
|
import * as mt from "react";
|
|
3
|
-
import Ot, { useRef as ct, useEffect as
|
|
3
|
+
import Ot, { useRef as ct, useEffect as gt, useMemo as me, useState as jt, useCallback as it, useContext as an, createContext as ni, useLayoutEffect as ri, cloneElement as cn } from "react";
|
|
4
4
|
import Kt from "react-dom";
|
|
5
5
|
function un(t) {
|
|
6
6
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
@@ -21,11 +21,11 @@ function ii() {
|
|
|
21
21
|
kn = 1;
|
|
22
22
|
var t = Ot, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
23
23
|
function c(s, u, l) {
|
|
24
|
-
var f, d = {}, m = null,
|
|
25
|
-
l !== void 0 && (m = "" + l), u.key !== void 0 && (m = "" + u.key), u.ref !== void 0 && (
|
|
24
|
+
var f, d = {}, m = null, g = null;
|
|
25
|
+
l !== void 0 && (m = "" + l), u.key !== void 0 && (m = "" + u.key), u.ref !== void 0 && (g = u.ref);
|
|
26
26
|
for (f in u) r.call(u, f) && !o.hasOwnProperty(f) && (d[f] = u[f]);
|
|
27
27
|
if (s && s.defaultProps) for (f in u = s.defaultProps, u) d[f] === void 0 && (d[f] = u[f]);
|
|
28
|
-
return { $$typeof: e, type: s, key: m, ref:
|
|
28
|
+
return { $$typeof: e, type: s, key: m, ref: g, props: d, _owner: i.current };
|
|
29
29
|
}
|
|
30
30
|
return ae.Fragment = n, ae.jsx = c, ae.jsxs = c, ae;
|
|
31
31
|
}
|
|
@@ -42,45 +42,45 @@ var ce = {};
|
|
|
42
42
|
var In;
|
|
43
43
|
function oi() {
|
|
44
44
|
return In || (In = 1, process.env.NODE_ENV !== "production" && function() {
|
|
45
|
-
var t = Ot, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), m = Symbol.for("react.lazy"),
|
|
46
|
-
function
|
|
45
|
+
var t = Ot, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), y = Symbol.iterator, b = "@@iterator";
|
|
46
|
+
function h(a) {
|
|
47
47
|
if (a === null || typeof a != "object")
|
|
48
48
|
return null;
|
|
49
|
-
var
|
|
50
|
-
return typeof
|
|
49
|
+
var v = y && a[y] || a[b];
|
|
50
|
+
return typeof v == "function" ? v : null;
|
|
51
51
|
}
|
|
52
52
|
var O = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
53
53
|
function P(a) {
|
|
54
54
|
{
|
|
55
|
-
for (var
|
|
55
|
+
for (var v = arguments.length, E = new Array(v > 1 ? v - 1 : 0), I = 1; I < v; I++)
|
|
56
56
|
E[I - 1] = arguments[I];
|
|
57
57
|
R("error", a, E);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
function R(a,
|
|
60
|
+
function R(a, v, E) {
|
|
61
61
|
{
|
|
62
62
|
var I = O.ReactDebugCurrentFrame, G = I.getStackAddendum();
|
|
63
|
-
G !== "" && (
|
|
63
|
+
G !== "" && (v += "%s", E = E.concat([G]));
|
|
64
64
|
var et = E.map(function(Y) {
|
|
65
65
|
return String(Y);
|
|
66
66
|
});
|
|
67
|
-
et.unshift("Warning: " +
|
|
67
|
+
et.unshift("Warning: " + v), Function.prototype.apply.call(console[a], console, et);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
var A = !1, p = !1, C = !1, B = !1, W = !1, $;
|
|
71
71
|
$ = Symbol.for("react.module.reference");
|
|
72
72
|
function V(a) {
|
|
73
|
-
return !!(typeof a == "string" || typeof a == "function" || a === r || a === o || W || a === i || a === l || a === f || B || a ===
|
|
73
|
+
return !!(typeof a == "string" || typeof a == "function" || a === r || a === o || W || a === i || a === l || a === f || B || a === g || A || p || C || typeof a == "object" && a !== null && (a.$$typeof === m || a.$$typeof === d || a.$$typeof === c || a.$$typeof === s || a.$$typeof === u || // This needs to include all possible module reference object
|
|
74
74
|
// types supported by any Flight configuration anywhere since
|
|
75
75
|
// we don't know which Flight build this will end up being used
|
|
76
76
|
// with.
|
|
77
77
|
a.$$typeof === $ || a.getModuleId !== void 0));
|
|
78
78
|
}
|
|
79
|
-
function X(a,
|
|
79
|
+
function X(a, v, E) {
|
|
80
80
|
var I = a.displayName;
|
|
81
81
|
if (I)
|
|
82
82
|
return I;
|
|
83
|
-
var G =
|
|
83
|
+
var G = v.displayName || v.name || "";
|
|
84
84
|
return G !== "" ? E + "(" + G + ")" : E;
|
|
85
85
|
}
|
|
86
86
|
function ot(a) {
|
|
@@ -110,8 +110,8 @@ function oi() {
|
|
|
110
110
|
if (typeof a == "object")
|
|
111
111
|
switch (a.$$typeof) {
|
|
112
112
|
case s:
|
|
113
|
-
var
|
|
114
|
-
return ot(
|
|
113
|
+
var v = a;
|
|
114
|
+
return ot(v) + ".Consumer";
|
|
115
115
|
case c:
|
|
116
116
|
var E = a;
|
|
117
117
|
return ot(E._context) + ".Provider";
|
|
@@ -131,14 +131,14 @@ function oi() {
|
|
|
131
131
|
}
|
|
132
132
|
return null;
|
|
133
133
|
}
|
|
134
|
-
var J = Object.assign, Q = 0, tt, nt,
|
|
134
|
+
var J = Object.assign, Q = 0, tt, nt, vt, ft, _, x, F;
|
|
135
135
|
function M() {
|
|
136
136
|
}
|
|
137
137
|
M.__reactDisabledLog = !0;
|
|
138
138
|
function S() {
|
|
139
139
|
{
|
|
140
140
|
if (Q === 0) {
|
|
141
|
-
tt = console.log, nt = console.info,
|
|
141
|
+
tt = console.log, nt = console.info, vt = console.warn, ft = console.error, _ = console.group, x = console.groupCollapsed, F = console.groupEnd;
|
|
142
142
|
var a = {
|
|
143
143
|
configurable: !0,
|
|
144
144
|
enumerable: !0,
|
|
@@ -174,13 +174,13 @@ function oi() {
|
|
|
174
174
|
value: nt
|
|
175
175
|
}),
|
|
176
176
|
warn: J({}, a, {
|
|
177
|
-
value:
|
|
177
|
+
value: vt
|
|
178
178
|
}),
|
|
179
179
|
error: J({}, a, {
|
|
180
180
|
value: ft
|
|
181
181
|
}),
|
|
182
182
|
group: J({}, a, {
|
|
183
|
-
value:
|
|
183
|
+
value: _
|
|
184
184
|
}),
|
|
185
185
|
groupCollapsed: J({}, a, {
|
|
186
186
|
value: x
|
|
@@ -194,7 +194,7 @@ function oi() {
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
var k = O.ReactCurrentDispatcher, j;
|
|
197
|
-
function D(a,
|
|
197
|
+
function D(a, v, E) {
|
|
198
198
|
{
|
|
199
199
|
if (j === void 0)
|
|
200
200
|
try {
|
|
@@ -212,7 +212,7 @@ function oi() {
|
|
|
212
212
|
var st = typeof WeakMap == "function" ? WeakMap : Map;
|
|
213
213
|
L = new st();
|
|
214
214
|
}
|
|
215
|
-
function w(a,
|
|
215
|
+
function w(a, v) {
|
|
216
216
|
if (!a || H)
|
|
217
217
|
return "";
|
|
218
218
|
{
|
|
@@ -227,7 +227,7 @@ function oi() {
|
|
|
227
227
|
var et;
|
|
228
228
|
et = k.current, k.current = null, S();
|
|
229
229
|
try {
|
|
230
|
-
if (
|
|
230
|
+
if (v) {
|
|
231
231
|
var Y = function() {
|
|
232
232
|
throw Error();
|
|
233
233
|
};
|
|
@@ -269,9 +269,9 @@ function oi() {
|
|
|
269
269
|
if (rt !== 1 || at !== 1)
|
|
270
270
|
do
|
|
271
271
|
if (rt--, at--, at < 0 || Z[rt] !== lt[at]) {
|
|
272
|
-
var
|
|
272
|
+
var ht = `
|
|
273
273
|
` + Z[rt].replace(" at new ", " at ");
|
|
274
|
-
return a.displayName &&
|
|
274
|
+
return a.displayName && ht.includes("<anonymous>") && (ht = ht.replace("<anonymous>", a.displayName)), typeof a == "function" && L.set(a, ht), ht;
|
|
275
275
|
}
|
|
276
276
|
while (rt >= 1 && at >= 0);
|
|
277
277
|
break;
|
|
@@ -283,14 +283,14 @@ function oi() {
|
|
|
283
283
|
var Gt = a ? a.displayName || a.name : "", Sn = Gt ? D(Gt) : "";
|
|
284
284
|
return typeof a == "function" && L.set(a, Sn), Sn;
|
|
285
285
|
}
|
|
286
|
-
function ut(a,
|
|
286
|
+
function ut(a, v, E) {
|
|
287
287
|
return w(a, !1);
|
|
288
288
|
}
|
|
289
289
|
function Tt(a) {
|
|
290
|
-
var
|
|
291
|
-
return !!(
|
|
290
|
+
var v = a.prototype;
|
|
291
|
+
return !!(v && v.isReactComponent);
|
|
292
292
|
}
|
|
293
|
-
function Et(a,
|
|
293
|
+
function Et(a, v, E) {
|
|
294
294
|
if (a == null)
|
|
295
295
|
return "";
|
|
296
296
|
if (typeof a == "function")
|
|
@@ -308,11 +308,11 @@ function oi() {
|
|
|
308
308
|
case u:
|
|
309
309
|
return ut(a.render);
|
|
310
310
|
case d:
|
|
311
|
-
return Et(a.type,
|
|
311
|
+
return Et(a.type, v, E);
|
|
312
312
|
case m: {
|
|
313
313
|
var I = a, G = I._payload, et = I._init;
|
|
314
314
|
try {
|
|
315
|
-
return Et(et(G),
|
|
315
|
+
return Et(et(G), v, E);
|
|
316
316
|
} catch {
|
|
317
317
|
}
|
|
318
318
|
}
|
|
@@ -322,12 +322,12 @@ function oi() {
|
|
|
322
322
|
var Ft = Object.prototype.hasOwnProperty, re = {}, be = O.ReactDebugCurrentFrame;
|
|
323
323
|
function Yt(a) {
|
|
324
324
|
if (a) {
|
|
325
|
-
var
|
|
325
|
+
var v = a._owner, E = Et(a.type, a._source, v ? v.type : null);
|
|
326
326
|
be.setExtraStackFrame(E);
|
|
327
327
|
} else
|
|
328
328
|
be.setExtraStackFrame(null);
|
|
329
329
|
}
|
|
330
|
-
function xt(a,
|
|
330
|
+
function xt(a, v, E, I, G) {
|
|
331
331
|
{
|
|
332
332
|
var et = Function.call.bind(Ft);
|
|
333
333
|
for (var Y in a)
|
|
@@ -338,7 +338,7 @@ function oi() {
|
|
|
338
338
|
var lt = Error((I || "React class") + ": " + E + " type `" + Y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[Y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
339
339
|
throw lt.name = "Invariant Violation", lt;
|
|
340
340
|
}
|
|
341
|
-
Z = a[Y](
|
|
341
|
+
Z = a[Y](v, Y, I, E, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
342
342
|
} catch (rt) {
|
|
343
343
|
Z = rt;
|
|
344
344
|
}
|
|
@@ -352,7 +352,7 @@ function oi() {
|
|
|
352
352
|
}
|
|
353
353
|
function Pe(a) {
|
|
354
354
|
{
|
|
355
|
-
var
|
|
355
|
+
var v = typeof Symbol == "function" && Symbol.toStringTag, E = v && a[Symbol.toStringTag] || a.constructor.name || "Object";
|
|
356
356
|
return E;
|
|
357
357
|
}
|
|
358
358
|
}
|
|
@@ -379,30 +379,30 @@ function oi() {
|
|
|
379
379
|
De = {};
|
|
380
380
|
function Hr(a) {
|
|
381
381
|
if (Ft.call(a, "ref")) {
|
|
382
|
-
var
|
|
383
|
-
if (
|
|
382
|
+
var v = Object.getOwnPropertyDescriptor(a, "ref").get;
|
|
383
|
+
if (v && v.isReactWarning)
|
|
384
384
|
return !1;
|
|
385
385
|
}
|
|
386
386
|
return a.ref !== void 0;
|
|
387
387
|
}
|
|
388
388
|
function Zr(a) {
|
|
389
389
|
if (Ft.call(a, "key")) {
|
|
390
|
-
var
|
|
391
|
-
if (
|
|
390
|
+
var v = Object.getOwnPropertyDescriptor(a, "key").get;
|
|
391
|
+
if (v && v.isReactWarning)
|
|
392
392
|
return !1;
|
|
393
393
|
}
|
|
394
394
|
return a.key !== void 0;
|
|
395
395
|
}
|
|
396
|
-
function Ur(a,
|
|
397
|
-
if (typeof a.ref == "string" && St.current &&
|
|
396
|
+
function Ur(a, v) {
|
|
397
|
+
if (typeof a.ref == "string" && St.current && v && St.current.stateNode !== v) {
|
|
398
398
|
var E = U(St.current.type);
|
|
399
399
|
De[E] || (P('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', U(St.current.type), a.ref), De[E] = !0);
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
|
-
function Yr(a,
|
|
402
|
+
function Yr(a, v) {
|
|
403
403
|
{
|
|
404
404
|
var E = function() {
|
|
405
|
-
wn || (wn = !0, P("%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)",
|
|
405
|
+
wn || (wn = !0, P("%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)", v));
|
|
406
406
|
};
|
|
407
407
|
E.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
408
408
|
get: E,
|
|
@@ -410,10 +410,10 @@ function oi() {
|
|
|
410
410
|
});
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
|
-
function Vr(a,
|
|
413
|
+
function Vr(a, v) {
|
|
414
414
|
{
|
|
415
415
|
var E = function() {
|
|
416
|
-
En || (En = !0, P("%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)",
|
|
416
|
+
En || (En = !0, P("%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)", v));
|
|
417
417
|
};
|
|
418
418
|
E.isReactWarning = !0, Object.defineProperty(a, "ref", {
|
|
419
419
|
get: E,
|
|
@@ -421,13 +421,13 @@ function oi() {
|
|
|
421
421
|
});
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
var Wr = function(a,
|
|
424
|
+
var Wr = function(a, v, E, I, G, et, Y) {
|
|
425
425
|
var Z = {
|
|
426
426
|
// This tag allows us to uniquely identify this as a React Element
|
|
427
427
|
$$typeof: e,
|
|
428
428
|
// Built-in properties that belong on the element
|
|
429
429
|
type: a,
|
|
430
|
-
key:
|
|
430
|
+
key: v,
|
|
431
431
|
ref: E,
|
|
432
432
|
props: Y,
|
|
433
433
|
// Record the component responsible for creating this element.
|
|
@@ -450,12 +450,12 @@ function oi() {
|
|
|
450
450
|
value: G
|
|
451
451
|
}), Object.freeze && (Object.freeze(Z.props), Object.freeze(Z)), Z;
|
|
452
452
|
};
|
|
453
|
-
function Jr(a,
|
|
453
|
+
function Jr(a, v, E, I, G) {
|
|
454
454
|
{
|
|
455
455
|
var et, Y = {}, Z = null, lt = null;
|
|
456
|
-
E !== void 0 && (se(E), Z = "" + E), Zr(
|
|
457
|
-
for (et in
|
|
458
|
-
Ft.call(
|
|
456
|
+
E !== void 0 && (se(E), Z = "" + E), Zr(v) && (se(v.key), Z = "" + v.key), Hr(v) && (lt = v.ref, Ur(v, G));
|
|
457
|
+
for (et in v)
|
|
458
|
+
Ft.call(v, et) && !we.hasOwnProperty(et) && (Y[et] = v[et]);
|
|
459
459
|
if (a && a.defaultProps) {
|
|
460
460
|
var rt = a.defaultProps;
|
|
461
461
|
for (et in rt)
|
|
@@ -471,7 +471,7 @@ function oi() {
|
|
|
471
471
|
var Fe = O.ReactCurrentOwner, xn = O.ReactDebugCurrentFrame;
|
|
472
472
|
function Jt(a) {
|
|
473
473
|
if (a) {
|
|
474
|
-
var
|
|
474
|
+
var v = a._owner, E = Et(a.type, a._source, v ? v.type : null);
|
|
475
475
|
xn.setExtraStackFrame(E);
|
|
476
476
|
} else
|
|
477
477
|
xn.setExtraStackFrame(null);
|
|
@@ -499,22 +499,22 @@ Check the render method of \`` + a + "`.";
|
|
|
499
499
|
var On = {};
|
|
500
500
|
function qr(a) {
|
|
501
501
|
{
|
|
502
|
-
var
|
|
503
|
-
if (!
|
|
502
|
+
var v = An();
|
|
503
|
+
if (!v) {
|
|
504
504
|
var E = typeof a == "string" ? a : a.displayName || a.name;
|
|
505
|
-
E && (
|
|
505
|
+
E && (v = `
|
|
506
506
|
|
|
507
507
|
Check the top-level render call using <` + E + ">.");
|
|
508
508
|
}
|
|
509
|
-
return
|
|
509
|
+
return v;
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
|
-
function Rn(a,
|
|
512
|
+
function Rn(a, v) {
|
|
513
513
|
{
|
|
514
514
|
if (!a._store || a._store.validated || a.key != null)
|
|
515
515
|
return;
|
|
516
516
|
a._store.validated = !0;
|
|
517
|
-
var E = qr(
|
|
517
|
+
var E = qr(v);
|
|
518
518
|
if (On[E])
|
|
519
519
|
return;
|
|
520
520
|
On[E] = !0;
|
|
@@ -522,54 +522,54 @@ Check the top-level render call using <` + E + ">.");
|
|
|
522
522
|
a && a._owner && a._owner !== Fe.current && (I = " It was passed a child from " + U(a._owner.type) + "."), Jt(a), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', E, I), Jt(null);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
function Cn(a,
|
|
525
|
+
function Cn(a, v) {
|
|
526
526
|
{
|
|
527
527
|
if (typeof a != "object")
|
|
528
528
|
return;
|
|
529
529
|
if (Wt(a))
|
|
530
530
|
for (var E = 0; E < a.length; E++) {
|
|
531
531
|
var I = a[E];
|
|
532
|
-
Be(I) && Rn(I,
|
|
532
|
+
Be(I) && Rn(I, v);
|
|
533
533
|
}
|
|
534
534
|
else if (Be(a))
|
|
535
535
|
a._store && (a._store.validated = !0);
|
|
536
536
|
else if (a) {
|
|
537
|
-
var G =
|
|
537
|
+
var G = h(a);
|
|
538
538
|
if (typeof G == "function" && G !== a.entries)
|
|
539
539
|
for (var et = G.call(a), Y; !(Y = et.next()).done; )
|
|
540
|
-
Be(Y.value) && Rn(Y.value,
|
|
540
|
+
Be(Y.value) && Rn(Y.value, v);
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
543
|
}
|
|
544
544
|
function Kr(a) {
|
|
545
545
|
{
|
|
546
|
-
var
|
|
547
|
-
if (
|
|
546
|
+
var v = a.type;
|
|
547
|
+
if (v == null || typeof v == "string")
|
|
548
548
|
return;
|
|
549
549
|
var E;
|
|
550
|
-
if (typeof
|
|
551
|
-
E =
|
|
552
|
-
else if (typeof
|
|
550
|
+
if (typeof v == "function")
|
|
551
|
+
E = v.propTypes;
|
|
552
|
+
else if (typeof v == "object" && (v.$$typeof === u || // Note: Memo only checks outer props here.
|
|
553
553
|
// Inner props are checked in the reconciler.
|
|
554
|
-
|
|
555
|
-
E =
|
|
554
|
+
v.$$typeof === d))
|
|
555
|
+
E = v.propTypes;
|
|
556
556
|
else
|
|
557
557
|
return;
|
|
558
558
|
if (E) {
|
|
559
|
-
var I = U(
|
|
559
|
+
var I = U(v);
|
|
560
560
|
xt(E, a.props, "prop", I, a);
|
|
561
|
-
} else if (
|
|
561
|
+
} else if (v.PropTypes !== void 0 && !Me) {
|
|
562
562
|
Me = !0;
|
|
563
|
-
var G = U(
|
|
563
|
+
var G = U(v);
|
|
564
564
|
P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", G || "Unknown");
|
|
565
565
|
}
|
|
566
|
-
typeof
|
|
566
|
+
typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
function $r(a) {
|
|
570
570
|
{
|
|
571
|
-
for (var
|
|
572
|
-
var I =
|
|
571
|
+
for (var v = Object.keys(a.props), E = 0; E < v.length; E++) {
|
|
572
|
+
var I = v[E];
|
|
573
573
|
if (I !== "children" && I !== "key") {
|
|
574
574
|
Jt(a), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", I), Jt(null);
|
|
575
575
|
break;
|
|
@@ -578,7 +578,7 @@ Check the top-level render call using <` + E + ">.");
|
|
|
578
578
|
a.ref !== null && (Jt(a), P("Invalid attribute `ref` supplied to `React.Fragment`."), Jt(null));
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
|
-
function Tn(a,
|
|
581
|
+
function Tn(a, v, E, I, G, et) {
|
|
582
582
|
{
|
|
583
583
|
var Y = V(a);
|
|
584
584
|
if (!Y) {
|
|
@@ -589,30 +589,30 @@ Check the top-level render call using <` + E + ">.");
|
|
|
589
589
|
var rt;
|
|
590
590
|
a === null ? rt = "null" : Wt(a) ? rt = "array" : a !== void 0 && a.$$typeof === e ? (rt = "<" + (U(a.type) || "Unknown") + " />", Z = " Did you accidentally export a JSX literal instead of a component?") : rt = typeof a, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", rt, Z);
|
|
591
591
|
}
|
|
592
|
-
var at = Jr(a,
|
|
592
|
+
var at = Jr(a, v, E, G, et);
|
|
593
593
|
if (at == null)
|
|
594
594
|
return at;
|
|
595
595
|
if (Y) {
|
|
596
|
-
var
|
|
597
|
-
if (
|
|
596
|
+
var ht = v.children;
|
|
597
|
+
if (ht !== void 0)
|
|
598
598
|
if (I)
|
|
599
|
-
if (Wt(
|
|
600
|
-
for (var Gt = 0; Gt <
|
|
601
|
-
Cn(
|
|
602
|
-
Object.freeze && Object.freeze(
|
|
599
|
+
if (Wt(ht)) {
|
|
600
|
+
for (var Gt = 0; Gt < ht.length; Gt++)
|
|
601
|
+
Cn(ht[Gt], a);
|
|
602
|
+
Object.freeze && Object.freeze(ht);
|
|
603
603
|
} else
|
|
604
604
|
P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
605
605
|
else
|
|
606
|
-
Cn(
|
|
606
|
+
Cn(ht, a);
|
|
607
607
|
}
|
|
608
608
|
return a === r ? $r(at) : Kr(at), at;
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
|
-
function Qr(a,
|
|
612
|
-
return Tn(a,
|
|
611
|
+
function Qr(a, v, E) {
|
|
612
|
+
return Tn(a, v, E, !0);
|
|
613
613
|
}
|
|
614
|
-
function Xr(a,
|
|
615
|
-
return Tn(a,
|
|
614
|
+
function Xr(a, v, E) {
|
|
615
|
+
return Tn(a, v, E, !1);
|
|
616
616
|
}
|
|
617
617
|
var ti = Xr, ei = Qr;
|
|
618
618
|
ce.Fragment = r, ce.jsx = ti, ce.jsxs = ei;
|
|
@@ -664,7 +664,7 @@ var jn;
|
|
|
664
664
|
function di() {
|
|
665
665
|
if (jn) return q;
|
|
666
666
|
jn = 1;
|
|
667
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, c = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, m = t ? Symbol.for("react.suspense_list") : 60120,
|
|
667
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, c = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, m = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, b = t ? Symbol.for("react.block") : 60121, h = t ? Symbol.for("react.fundamental") : 60117, O = t ? Symbol.for("react.responder") : 60118, P = t ? Symbol.for("react.scope") : 60119;
|
|
668
668
|
function R(p) {
|
|
669
669
|
if (typeof p == "object" && p !== null) {
|
|
670
670
|
var C = p.$$typeof;
|
|
@@ -683,7 +683,7 @@ function di() {
|
|
|
683
683
|
case s:
|
|
684
684
|
case f:
|
|
685
685
|
case y:
|
|
686
|
-
case
|
|
686
|
+
case g:
|
|
687
687
|
case c:
|
|
688
688
|
return p;
|
|
689
689
|
default:
|
|
@@ -698,7 +698,7 @@ function di() {
|
|
|
698
698
|
function A(p) {
|
|
699
699
|
return R(p) === l;
|
|
700
700
|
}
|
|
701
|
-
return q.AsyncMode = u, q.ConcurrentMode = l, q.ContextConsumer = s, q.ContextProvider = c, q.Element = e, q.ForwardRef = f, q.Fragment = r, q.Lazy = y, q.Memo =
|
|
701
|
+
return q.AsyncMode = u, q.ConcurrentMode = l, q.ContextConsumer = s, q.ContextProvider = c, q.Element = e, q.ForwardRef = f, q.Fragment = r, q.Lazy = y, q.Memo = g, q.Portal = n, q.Profiler = o, q.StrictMode = i, q.Suspense = d, q.isAsyncMode = function(p) {
|
|
702
702
|
return A(p) || R(p) === u;
|
|
703
703
|
}, q.isConcurrentMode = A, q.isContextConsumer = function(p) {
|
|
704
704
|
return R(p) === s;
|
|
@@ -713,7 +713,7 @@ function di() {
|
|
|
713
713
|
}, q.isLazy = function(p) {
|
|
714
714
|
return R(p) === y;
|
|
715
715
|
}, q.isMemo = function(p) {
|
|
716
|
-
return R(p) ===
|
|
716
|
+
return R(p) === g;
|
|
717
717
|
}, q.isPortal = function(p) {
|
|
718
718
|
return R(p) === n;
|
|
719
719
|
}, q.isProfiler = function(p) {
|
|
@@ -723,7 +723,7 @@ function di() {
|
|
|
723
723
|
}, q.isSuspense = function(p) {
|
|
724
724
|
return R(p) === d;
|
|
725
725
|
}, q.isValidElementType = function(p) {
|
|
726
|
-
return typeof p == "string" || typeof p == "function" || p === r || p === l || p === o || p === i || p === d || p === m || typeof p == "object" && p !== null && (p.$$typeof === y || p.$$typeof ===
|
|
726
|
+
return typeof p == "string" || typeof p == "function" || p === r || p === l || p === o || p === i || p === d || p === m || typeof p == "object" && p !== null && (p.$$typeof === y || p.$$typeof === g || p.$$typeof === c || p.$$typeof === s || p.$$typeof === f || p.$$typeof === h || p.$$typeof === O || p.$$typeof === P || p.$$typeof === b);
|
|
727
727
|
}, q.typeOf = R, q;
|
|
728
728
|
}
|
|
729
729
|
var K = {};
|
|
@@ -738,10 +738,10 @@ var K = {};
|
|
|
738
738
|
var Dn;
|
|
739
739
|
function pi() {
|
|
740
740
|
return Dn || (Dn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
741
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, c = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, m = t ? Symbol.for("react.suspense_list") : 60120,
|
|
741
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, c = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, d = t ? Symbol.for("react.suspense") : 60113, m = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, y = t ? Symbol.for("react.lazy") : 60116, b = t ? Symbol.for("react.block") : 60121, h = t ? Symbol.for("react.fundamental") : 60117, O = t ? Symbol.for("react.responder") : 60118, P = t ? Symbol.for("react.scope") : 60119;
|
|
742
742
|
function R(w) {
|
|
743
743
|
return typeof w == "string" || typeof w == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
744
|
-
w === r || w === l || w === o || w === i || w === d || w === m || typeof w == "object" && w !== null && (w.$$typeof === y || w.$$typeof ===
|
|
744
|
+
w === r || w === l || w === o || w === i || w === d || w === m || typeof w == "object" && w !== null && (w.$$typeof === y || w.$$typeof === g || w.$$typeof === c || w.$$typeof === s || w.$$typeof === f || w.$$typeof === h || w.$$typeof === O || w.$$typeof === P || w.$$typeof === b);
|
|
745
745
|
}
|
|
746
746
|
function A(w) {
|
|
747
747
|
if (typeof w == "object" && w !== null) {
|
|
@@ -763,7 +763,7 @@ function pi() {
|
|
|
763
763
|
case s:
|
|
764
764
|
case f:
|
|
765
765
|
case y:
|
|
766
|
-
case
|
|
766
|
+
case g:
|
|
767
767
|
case c:
|
|
768
768
|
return Et;
|
|
769
769
|
default:
|
|
@@ -775,11 +775,11 @@ function pi() {
|
|
|
775
775
|
}
|
|
776
776
|
}
|
|
777
777
|
}
|
|
778
|
-
var p = u, C = l, B = s, W = c, $ = e, V = f, X = r, ot = y, U =
|
|
778
|
+
var p = u, C = l, B = s, W = c, $ = e, V = f, X = r, ot = y, U = g, J = n, Q = o, tt = i, nt = d, vt = !1;
|
|
779
779
|
function ft(w) {
|
|
780
|
-
return
|
|
780
|
+
return vt || (vt = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), _(w) || A(w) === u;
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function _(w) {
|
|
783
783
|
return A(w) === l;
|
|
784
784
|
}
|
|
785
785
|
function x(w) {
|
|
@@ -801,7 +801,7 @@ function pi() {
|
|
|
801
801
|
return A(w) === y;
|
|
802
802
|
}
|
|
803
803
|
function j(w) {
|
|
804
|
-
return A(w) ===
|
|
804
|
+
return A(w) === g;
|
|
805
805
|
}
|
|
806
806
|
function D(w) {
|
|
807
807
|
return A(w) === n;
|
|
@@ -815,7 +815,7 @@ function pi() {
|
|
|
815
815
|
function st(w) {
|
|
816
816
|
return A(w) === d;
|
|
817
817
|
}
|
|
818
|
-
K.AsyncMode = p, K.ConcurrentMode = C, K.ContextConsumer = B, K.ContextProvider = W, K.Element = $, K.ForwardRef = V, K.Fragment = X, K.Lazy = ot, K.Memo = U, K.Portal = J, K.Profiler = Q, K.StrictMode = tt, K.Suspense = nt, K.isAsyncMode = ft, K.isConcurrentMode =
|
|
818
|
+
K.AsyncMode = p, K.ConcurrentMode = C, K.ContextConsumer = B, K.ContextProvider = W, K.Element = $, K.ForwardRef = V, K.Fragment = X, K.Lazy = ot, K.Memo = U, K.Portal = J, K.Profiler = Q, K.StrictMode = tt, K.Suspense = nt, K.isAsyncMode = ft, K.isConcurrentMode = _, K.isContextConsumer = x, K.isContextProvider = F, K.isElement = M, K.isForwardRef = S, K.isFragment = z, K.isLazy = k, K.isMemo = j, K.isPortal = D, K.isProfiler = H, K.isStrictMode = L, K.isSuspense = st, K.isValidElementType = R, K.typeOf = A;
|
|
819
819
|
}()), K;
|
|
820
820
|
}
|
|
821
821
|
var Fn;
|
|
@@ -921,9 +921,9 @@ function gi() {
|
|
|
921
921
|
(u || "React class") + ": type specification of " + s + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
922
922
|
), d instanceof Error && !(d.message in n)) {
|
|
923
923
|
n[d.message] = !0;
|
|
924
|
-
var
|
|
924
|
+
var g = l ? l() : "";
|
|
925
925
|
t(
|
|
926
|
-
"Failed " + s + " type: " + d.message + (
|
|
926
|
+
"Failed " + s + " type: " + d.message + (g ?? "")
|
|
927
927
|
);
|
|
928
928
|
}
|
|
929
929
|
}
|
|
@@ -952,12 +952,12 @@ function _i() {
|
|
|
952
952
|
}
|
|
953
953
|
return Ze = function(s, u) {
|
|
954
954
|
var l = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
|
|
955
|
-
function d(
|
|
956
|
-
var x =
|
|
955
|
+
function d(_) {
|
|
956
|
+
var x = _ && (l && _[l] || _[f]);
|
|
957
957
|
if (typeof x == "function")
|
|
958
958
|
return x;
|
|
959
959
|
}
|
|
960
|
-
var m = "<<anonymous>>",
|
|
960
|
+
var m = "<<anonymous>>", g = {
|
|
961
961
|
array: O("array"),
|
|
962
962
|
bigint: O("bigint"),
|
|
963
963
|
bool: O("boolean"),
|
|
@@ -978,14 +978,14 @@ function _i() {
|
|
|
978
978
|
shape: ot,
|
|
979
979
|
exact: U
|
|
980
980
|
};
|
|
981
|
-
function y(
|
|
982
|
-
return
|
|
981
|
+
function y(_, x) {
|
|
982
|
+
return _ === x ? _ !== 0 || 1 / _ === 1 / x : _ !== _ && x !== x;
|
|
983
983
|
}
|
|
984
|
-
function b(
|
|
985
|
-
this.message =
|
|
984
|
+
function b(_, x) {
|
|
985
|
+
this.message = _, this.data = x && typeof x == "object" ? x : {}, this.stack = "";
|
|
986
986
|
}
|
|
987
987
|
b.prototype = Error.prototype;
|
|
988
|
-
function
|
|
988
|
+
function h(_) {
|
|
989
989
|
if (process.env.NODE_ENV !== "production")
|
|
990
990
|
var x = {}, F = 0;
|
|
991
991
|
function M(z, k, j, D, H, L, st) {
|
|
@@ -1003,31 +1003,31 @@ function _i() {
|
|
|
1003
1003
|
), x[ut] = !0, F++);
|
|
1004
1004
|
}
|
|
1005
1005
|
}
|
|
1006
|
-
return k[j] == null ? z ? k[j] === null ? new b("The " + H + " `" + L + "` is marked as required " + ("in `" + D + "`, but its value is `null`.")) : new b("The " + H + " `" + L + "` is marked as required in " + ("`" + D + "`, but its value is `undefined`.")) : null :
|
|
1006
|
+
return k[j] == null ? z ? k[j] === null ? new b("The " + H + " `" + L + "` is marked as required " + ("in `" + D + "`, but its value is `null`.")) : new b("The " + H + " `" + L + "` is marked as required in " + ("`" + D + "`, but its value is `undefined`.")) : null : _(k, j, D, H, L);
|
|
1007
1007
|
}
|
|
1008
1008
|
var S = M.bind(null, !1);
|
|
1009
1009
|
return S.isRequired = M.bind(null, !0), S;
|
|
1010
1010
|
}
|
|
1011
|
-
function O(
|
|
1011
|
+
function O(_) {
|
|
1012
1012
|
function x(F, M, S, z, k, j) {
|
|
1013
1013
|
var D = F[M], H = tt(D);
|
|
1014
|
-
if (H !==
|
|
1014
|
+
if (H !== _) {
|
|
1015
1015
|
var L = nt(D);
|
|
1016
1016
|
return new b(
|
|
1017
|
-
"Invalid " + z + " `" + k + "` of type " + ("`" + L + "` supplied to `" + S + "`, expected ") + ("`" +
|
|
1018
|
-
{ expectedType:
|
|
1017
|
+
"Invalid " + z + " `" + k + "` of type " + ("`" + L + "` supplied to `" + S + "`, expected ") + ("`" + _ + "`."),
|
|
1018
|
+
{ expectedType: _ }
|
|
1019
1019
|
);
|
|
1020
1020
|
}
|
|
1021
1021
|
return null;
|
|
1022
1022
|
}
|
|
1023
|
-
return
|
|
1023
|
+
return h(x);
|
|
1024
1024
|
}
|
|
1025
1025
|
function P() {
|
|
1026
|
-
return
|
|
1026
|
+
return h(c);
|
|
1027
1027
|
}
|
|
1028
|
-
function R(
|
|
1028
|
+
function R(_) {
|
|
1029
1029
|
function x(F, M, S, z, k) {
|
|
1030
|
-
if (typeof
|
|
1030
|
+
if (typeof _ != "function")
|
|
1031
1031
|
return new b("Property `" + k + "` of component `" + S + "` has invalid PropType notation inside arrayOf.");
|
|
1032
1032
|
var j = F[M];
|
|
1033
1033
|
if (!Array.isArray(j)) {
|
|
@@ -1035,16 +1035,16 @@ function _i() {
|
|
|
1035
1035
|
return new b("Invalid " + z + " `" + k + "` of type " + ("`" + D + "` supplied to `" + S + "`, expected an array."));
|
|
1036
1036
|
}
|
|
1037
1037
|
for (var H = 0; H < j.length; H++) {
|
|
1038
|
-
var L =
|
|
1038
|
+
var L = _(j, H, S, z, k + "[" + H + "]", n);
|
|
1039
1039
|
if (L instanceof Error)
|
|
1040
1040
|
return L;
|
|
1041
1041
|
}
|
|
1042
1042
|
return null;
|
|
1043
1043
|
}
|
|
1044
|
-
return
|
|
1044
|
+
return h(x);
|
|
1045
1045
|
}
|
|
1046
1046
|
function A() {
|
|
1047
|
-
function
|
|
1047
|
+
function _(x, F, M, S, z) {
|
|
1048
1048
|
var k = x[F];
|
|
1049
1049
|
if (!s(k)) {
|
|
1050
1050
|
var j = tt(k);
|
|
@@ -1052,10 +1052,10 @@ function _i() {
|
|
|
1052
1052
|
}
|
|
1053
1053
|
return null;
|
|
1054
1054
|
}
|
|
1055
|
-
return
|
|
1055
|
+
return h(_);
|
|
1056
1056
|
}
|
|
1057
1057
|
function p() {
|
|
1058
|
-
function
|
|
1058
|
+
function _(x, F, M, S, z) {
|
|
1059
1059
|
var k = x[F];
|
|
1060
1060
|
if (!t.isValidElementType(k)) {
|
|
1061
1061
|
var j = tt(k);
|
|
@@ -1063,65 +1063,65 @@ function _i() {
|
|
|
1063
1063
|
}
|
|
1064
1064
|
return null;
|
|
1065
1065
|
}
|
|
1066
|
-
return
|
|
1066
|
+
return h(_);
|
|
1067
1067
|
}
|
|
1068
|
-
function C(
|
|
1068
|
+
function C(_) {
|
|
1069
1069
|
function x(F, M, S, z, k) {
|
|
1070
|
-
if (!(F[M] instanceof
|
|
1071
|
-
var j =
|
|
1070
|
+
if (!(F[M] instanceof _)) {
|
|
1071
|
+
var j = _.name || m, D = ft(F[M]);
|
|
1072
1072
|
return new b("Invalid " + z + " `" + k + "` of type " + ("`" + D + "` supplied to `" + S + "`, expected ") + ("instance of `" + j + "`."));
|
|
1073
1073
|
}
|
|
1074
1074
|
return null;
|
|
1075
1075
|
}
|
|
1076
|
-
return
|
|
1076
|
+
return h(x);
|
|
1077
1077
|
}
|
|
1078
|
-
function B(
|
|
1079
|
-
if (!Array.isArray(
|
|
1078
|
+
function B(_) {
|
|
1079
|
+
if (!Array.isArray(_))
|
|
1080
1080
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
1081
1081
|
"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])."
|
|
1082
1082
|
) : o("Invalid argument supplied to oneOf, expected an array.")), c;
|
|
1083
1083
|
function x(F, M, S, z, k) {
|
|
1084
|
-
for (var j = F[M], D = 0; D <
|
|
1085
|
-
if (y(j,
|
|
1084
|
+
for (var j = F[M], D = 0; D < _.length; D++)
|
|
1085
|
+
if (y(j, _[D]))
|
|
1086
1086
|
return null;
|
|
1087
|
-
var H = JSON.stringify(
|
|
1087
|
+
var H = JSON.stringify(_, function(st, w) {
|
|
1088
1088
|
var ut = nt(w);
|
|
1089
1089
|
return ut === "symbol" ? String(w) : w;
|
|
1090
1090
|
});
|
|
1091
1091
|
return new b("Invalid " + z + " `" + k + "` of value `" + String(j) + "` " + ("supplied to `" + S + "`, expected one of " + H + "."));
|
|
1092
1092
|
}
|
|
1093
|
-
return
|
|
1093
|
+
return h(x);
|
|
1094
1094
|
}
|
|
1095
|
-
function W(
|
|
1095
|
+
function W(_) {
|
|
1096
1096
|
function x(F, M, S, z, k) {
|
|
1097
|
-
if (typeof
|
|
1097
|
+
if (typeof _ != "function")
|
|
1098
1098
|
return new b("Property `" + k + "` of component `" + S + "` has invalid PropType notation inside objectOf.");
|
|
1099
1099
|
var j = F[M], D = tt(j);
|
|
1100
1100
|
if (D !== "object")
|
|
1101
1101
|
return new b("Invalid " + z + " `" + k + "` of type " + ("`" + D + "` supplied to `" + S + "`, expected an object."));
|
|
1102
1102
|
for (var H in j)
|
|
1103
1103
|
if (r(j, H)) {
|
|
1104
|
-
var L =
|
|
1104
|
+
var L = _(j, H, S, z, k + "." + H, n);
|
|
1105
1105
|
if (L instanceof Error)
|
|
1106
1106
|
return L;
|
|
1107
1107
|
}
|
|
1108
1108
|
return null;
|
|
1109
1109
|
}
|
|
1110
|
-
return
|
|
1110
|
+
return h(x);
|
|
1111
1111
|
}
|
|
1112
|
-
function $(
|
|
1113
|
-
if (!Array.isArray(
|
|
1112
|
+
function $(_) {
|
|
1113
|
+
if (!Array.isArray(_))
|
|
1114
1114
|
return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), c;
|
|
1115
|
-
for (var x = 0; x <
|
|
1116
|
-
var F =
|
|
1115
|
+
for (var x = 0; x < _.length; x++) {
|
|
1116
|
+
var F = _[x];
|
|
1117
1117
|
if (typeof F != "function")
|
|
1118
1118
|
return o(
|
|
1119
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
1119
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + vt(F) + " at index " + x + "."
|
|
1120
1120
|
), c;
|
|
1121
1121
|
}
|
|
1122
1122
|
function M(S, z, k, j, D) {
|
|
1123
|
-
for (var H = [], L = 0; L <
|
|
1124
|
-
var st =
|
|
1123
|
+
for (var H = [], L = 0; L < _.length; L++) {
|
|
1124
|
+
var st = _[L], w = st(S, z, k, j, D, n);
|
|
1125
1125
|
if (w == null)
|
|
1126
1126
|
return null;
|
|
1127
1127
|
w.data && r(w.data, "expectedType") && H.push(w.data.expectedType);
|
|
@@ -1129,26 +1129,26 @@ function _i() {
|
|
|
1129
1129
|
var ut = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
|
|
1130
1130
|
return new b("Invalid " + j + " `" + D + "` supplied to " + ("`" + k + "`" + ut + "."));
|
|
1131
1131
|
}
|
|
1132
|
-
return
|
|
1132
|
+
return h(M);
|
|
1133
1133
|
}
|
|
1134
1134
|
function V() {
|
|
1135
|
-
function
|
|
1135
|
+
function _(x, F, M, S, z) {
|
|
1136
1136
|
return J(x[F]) ? null : new b("Invalid " + S + " `" + z + "` supplied to " + ("`" + M + "`, expected a ReactNode."));
|
|
1137
1137
|
}
|
|
1138
|
-
return
|
|
1138
|
+
return h(_);
|
|
1139
1139
|
}
|
|
1140
|
-
function X(
|
|
1140
|
+
function X(_, x, F, M, S) {
|
|
1141
1141
|
return new b(
|
|
1142
|
-
(
|
|
1142
|
+
(_ || "React class") + ": " + x + " type `" + F + "." + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + S + "`."
|
|
1143
1143
|
);
|
|
1144
1144
|
}
|
|
1145
|
-
function ot(
|
|
1145
|
+
function ot(_) {
|
|
1146
1146
|
function x(F, M, S, z, k) {
|
|
1147
1147
|
var j = F[M], D = tt(j);
|
|
1148
1148
|
if (D !== "object")
|
|
1149
1149
|
return new b("Invalid " + z + " `" + k + "` of type `" + D + "` " + ("supplied to `" + S + "`, expected `object`."));
|
|
1150
|
-
for (var H in
|
|
1151
|
-
var L =
|
|
1150
|
+
for (var H in _) {
|
|
1151
|
+
var L = _[H];
|
|
1152
1152
|
if (typeof L != "function")
|
|
1153
1153
|
return X(S, z, k, H, nt(L));
|
|
1154
1154
|
var st = L(j, H, S, z, k + "." + H, n);
|
|
@@ -1157,22 +1157,22 @@ function _i() {
|
|
|
1157
1157
|
}
|
|
1158
1158
|
return null;
|
|
1159
1159
|
}
|
|
1160
|
-
return
|
|
1160
|
+
return h(x);
|
|
1161
1161
|
}
|
|
1162
|
-
function U(
|
|
1162
|
+
function U(_) {
|
|
1163
1163
|
function x(F, M, S, z, k) {
|
|
1164
1164
|
var j = F[M], D = tt(j);
|
|
1165
1165
|
if (D !== "object")
|
|
1166
1166
|
return new b("Invalid " + z + " `" + k + "` of type `" + D + "` " + ("supplied to `" + S + "`, expected `object`."));
|
|
1167
|
-
var H = e({}, F[M],
|
|
1167
|
+
var H = e({}, F[M], _);
|
|
1168
1168
|
for (var L in H) {
|
|
1169
|
-
var st =
|
|
1170
|
-
if (r(
|
|
1169
|
+
var st = _[L];
|
|
1170
|
+
if (r(_, L) && typeof st != "function")
|
|
1171
1171
|
return X(S, z, k, L, nt(st));
|
|
1172
1172
|
if (!st)
|
|
1173
1173
|
return new b(
|
|
1174
1174
|
"Invalid " + z + " `" + k + "` key `" + L + "` supplied to `" + S + "`.\nBad object: " + JSON.stringify(F[M], null, " ") + `
|
|
1175
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
1175
|
+
Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
1176
1176
|
);
|
|
1177
1177
|
var w = st(j, L, S, z, k + "." + L, n);
|
|
1178
1178
|
if (w)
|
|
@@ -1180,25 +1180,25 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
1180
1180
|
}
|
|
1181
1181
|
return null;
|
|
1182
1182
|
}
|
|
1183
|
-
return
|
|
1183
|
+
return h(x);
|
|
1184
1184
|
}
|
|
1185
|
-
function J(
|
|
1186
|
-
switch (typeof
|
|
1185
|
+
function J(_) {
|
|
1186
|
+
switch (typeof _) {
|
|
1187
1187
|
case "number":
|
|
1188
1188
|
case "string":
|
|
1189
1189
|
case "undefined":
|
|
1190
1190
|
return !0;
|
|
1191
1191
|
case "boolean":
|
|
1192
|
-
return !
|
|
1192
|
+
return !_;
|
|
1193
1193
|
case "object":
|
|
1194
|
-
if (Array.isArray(
|
|
1195
|
-
return
|
|
1196
|
-
if (
|
|
1194
|
+
if (Array.isArray(_))
|
|
1195
|
+
return _.every(J);
|
|
1196
|
+
if (_ === null || s(_))
|
|
1197
1197
|
return !0;
|
|
1198
|
-
var x = d(
|
|
1198
|
+
var x = d(_);
|
|
1199
1199
|
if (x) {
|
|
1200
|
-
var F = x.call(
|
|
1201
|
-
if (x !==
|
|
1200
|
+
var F = x.call(_), M;
|
|
1201
|
+
if (x !== _.entries) {
|
|
1202
1202
|
for (; !(M = F.next()).done; )
|
|
1203
1203
|
if (!J(M.value))
|
|
1204
1204
|
return !1;
|
|
@@ -1215,27 +1215,27 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
1215
1215
|
return !1;
|
|
1216
1216
|
}
|
|
1217
1217
|
}
|
|
1218
|
-
function Q(
|
|
1219
|
-
return
|
|
1218
|
+
function Q(_, x) {
|
|
1219
|
+
return _ === "symbol" ? !0 : x ? x["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && x instanceof Symbol : !1;
|
|
1220
1220
|
}
|
|
1221
|
-
function tt(
|
|
1222
|
-
var x = typeof
|
|
1223
|
-
return Array.isArray(
|
|
1221
|
+
function tt(_) {
|
|
1222
|
+
var x = typeof _;
|
|
1223
|
+
return Array.isArray(_) ? "array" : _ instanceof RegExp ? "object" : Q(x, _) ? "symbol" : x;
|
|
1224
1224
|
}
|
|
1225
|
-
function nt(
|
|
1226
|
-
if (typeof
|
|
1227
|
-
return "" +
|
|
1228
|
-
var x = tt(
|
|
1225
|
+
function nt(_) {
|
|
1226
|
+
if (typeof _ > "u" || _ === null)
|
|
1227
|
+
return "" + _;
|
|
1228
|
+
var x = tt(_);
|
|
1229
1229
|
if (x === "object") {
|
|
1230
|
-
if (
|
|
1230
|
+
if (_ instanceof Date)
|
|
1231
1231
|
return "date";
|
|
1232
|
-
if (
|
|
1232
|
+
if (_ instanceof RegExp)
|
|
1233
1233
|
return "regexp";
|
|
1234
1234
|
}
|
|
1235
1235
|
return x;
|
|
1236
1236
|
}
|
|
1237
|
-
function
|
|
1238
|
-
var x = nt(
|
|
1237
|
+
function vt(_) {
|
|
1238
|
+
var x = nt(_);
|
|
1239
1239
|
switch (x) {
|
|
1240
1240
|
case "array":
|
|
1241
1241
|
case "object":
|
|
@@ -1248,10 +1248,10 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
1248
1248
|
return x;
|
|
1249
1249
|
}
|
|
1250
1250
|
}
|
|
1251
|
-
function ft(
|
|
1252
|
-
return !
|
|
1251
|
+
function ft(_) {
|
|
1252
|
+
return !_.constructor || !_.constructor.name ? m : _.constructor.name;
|
|
1253
1253
|
}
|
|
1254
|
-
return
|
|
1254
|
+
return g.checkPropTypes = i, g.resetWarningCache = i.resetWarningCache, g.PropTypes = g, g;
|
|
1255
1255
|
}, Ze;
|
|
1256
1256
|
}
|
|
1257
1257
|
var Ue, Hn;
|
|
@@ -1311,7 +1311,7 @@ var bi = Ge.exports;
|
|
|
1311
1311
|
const N = /* @__PURE__ */ un(bi);
|
|
1312
1312
|
function lr() {
|
|
1313
1313
|
const t = ct(!0), e = ct(() => t.current);
|
|
1314
|
-
return
|
|
1314
|
+
return gt(() => (t.current = !0, () => {
|
|
1315
1315
|
t.current = !1;
|
|
1316
1316
|
}), []), e.current;
|
|
1317
1317
|
}
|
|
@@ -1321,7 +1321,7 @@ function Pi(t) {
|
|
|
1321
1321
|
}
|
|
1322
1322
|
function wi(t) {
|
|
1323
1323
|
const e = Pi(t);
|
|
1324
|
-
|
|
1324
|
+
gt(() => () => e.current(), []);
|
|
1325
1325
|
}
|
|
1326
1326
|
const qe = 2 ** 31 - 1;
|
|
1327
1327
|
function fr(t, e, n) {
|
|
@@ -1516,7 +1516,7 @@ var dt = "top", yt = "bottom", bt = "right", pt = "left", fn = "auto", he = [dt,
|
|
|
1516
1516
|
function Pt(t) {
|
|
1517
1517
|
return t.split("-")[0];
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1519
|
+
function _t(t) {
|
|
1520
1520
|
if (t == null)
|
|
1521
1521
|
return window;
|
|
1522
1522
|
if (t.toString() !== "[object Window]") {
|
|
@@ -1526,17 +1526,17 @@ function gt(t) {
|
|
|
1526
1526
|
return t;
|
|
1527
1527
|
}
|
|
1528
1528
|
function Ht(t) {
|
|
1529
|
-
var e =
|
|
1529
|
+
var e = _t(t).Element;
|
|
1530
1530
|
return t instanceof e || t instanceof Element;
|
|
1531
1531
|
}
|
|
1532
1532
|
function wt(t) {
|
|
1533
|
-
var e =
|
|
1533
|
+
var e = _t(t).HTMLElement;
|
|
1534
1534
|
return t instanceof e || t instanceof HTMLElement;
|
|
1535
1535
|
}
|
|
1536
1536
|
function dn(t) {
|
|
1537
1537
|
if (typeof ShadowRoot > "u")
|
|
1538
1538
|
return !1;
|
|
1539
|
-
var e =
|
|
1539
|
+
var e = _t(t).ShadowRoot;
|
|
1540
1540
|
return t instanceof e || t instanceof ShadowRoot;
|
|
1541
1541
|
}
|
|
1542
1542
|
var Nt = Math.max, Se = Math.min, Qt = Math.round;
|
|
@@ -1553,7 +1553,7 @@ function Xt(t, e, n) {
|
|
|
1553
1553
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
1554
1554
|
var r = t.getBoundingClientRect(), i = 1, o = 1;
|
|
1555
1555
|
e && wt(t) && (i = t.offsetWidth > 0 && Qt(r.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Qt(r.height) / t.offsetHeight || 1);
|
|
1556
|
-
var c = Ht(t) ?
|
|
1556
|
+
var c = Ht(t) ? _t(t) : window, s = c.visualViewport, u = !vr() && n, l = (r.left + (u && s ? s.offsetLeft : 0)) / i, f = (r.top + (u && s ? s.offsetTop : 0)) / o, d = r.width / i, m = r.height / o;
|
|
1557
1557
|
return {
|
|
1558
1558
|
width: d,
|
|
1559
1559
|
height: m,
|
|
@@ -1592,7 +1592,7 @@ function It(t) {
|
|
|
1592
1592
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
1593
1593
|
}
|
|
1594
1594
|
function Rt(t) {
|
|
1595
|
-
return
|
|
1595
|
+
return _t(t).getComputedStyle(t);
|
|
1596
1596
|
}
|
|
1597
1597
|
function Vi(t) {
|
|
1598
1598
|
return ["table", "td", "th"].indexOf(It(t)) >= 0;
|
|
@@ -1636,7 +1636,7 @@ function Wi(t) {
|
|
|
1636
1636
|
return null;
|
|
1637
1637
|
}
|
|
1638
1638
|
function ye(t) {
|
|
1639
|
-
for (var e =
|
|
1639
|
+
for (var e = _t(t), n = Jn(t); n && Vi(n) && Rt(n).position === "static"; )
|
|
1640
1640
|
n = Jn(n);
|
|
1641
1641
|
return n && (It(n) === "html" || It(n) === "body" && Rt(n).position === "static") ? e : n || Wi(t) || e;
|
|
1642
1642
|
}
|
|
@@ -1674,7 +1674,7 @@ var Gi = function(e, n) {
|
|
|
1674
1674
|
function qi(t) {
|
|
1675
1675
|
var e, n = t.state, r = t.name, i = t.options, o = n.elements.arrow, c = n.modifiersData.popperOffsets, s = Pt(n.placement), u = mn(s), l = [pt, bt].indexOf(s) >= 0, f = l ? "height" : "width";
|
|
1676
1676
|
if (!(!o || !c)) {
|
|
1677
|
-
var d = Gi(i.padding, n), m = pn(o),
|
|
1677
|
+
var d = Gi(i.padding, n), m = pn(o), g = u === "y" ? dt : pt, y = u === "y" ? yt : bt, b = n.rects.reference[f] + n.rects.reference[u] - c[u] - n.rects.popper[f], h = c[u] - n.rects.reference[u], O = ye(o), P = O ? u === "y" ? O.clientHeight || 0 : O.clientWidth || 0 : 0, R = b / 2 - h / 2, A = d[g], p = P - m[f] - d[y], C = P / 2 - m[f] / 2 + R, B = de(A, C, p), W = u;
|
|
1678
1678
|
n.modifiersData[r] = (e = {}, e[W] = B, e.centerOffset = B - C, e);
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
@@ -1708,18 +1708,18 @@ function Xi(t, e) {
|
|
|
1708
1708
|
};
|
|
1709
1709
|
}
|
|
1710
1710
|
function Gn(t) {
|
|
1711
|
-
var e, n = t.popper, r = t.popperRect, i = t.placement, o = t.variation, c = t.offsets, s = t.position, u = t.gpuAcceleration, l = t.adaptive, f = t.roundOffsets, d = t.isFixed, m = c.x,
|
|
1712
|
-
x:
|
|
1711
|
+
var e, n = t.popper, r = t.popperRect, i = t.placement, o = t.variation, c = t.offsets, s = t.position, u = t.gpuAcceleration, l = t.adaptive, f = t.roundOffsets, d = t.isFixed, m = c.x, g = m === void 0 ? 0 : m, y = c.y, b = y === void 0 ? 0 : y, h = typeof f == "function" ? f({
|
|
1712
|
+
x: g,
|
|
1713
1713
|
y: b
|
|
1714
1714
|
}) : {
|
|
1715
|
-
x:
|
|
1715
|
+
x: g,
|
|
1716
1716
|
y: b
|
|
1717
1717
|
};
|
|
1718
|
-
|
|
1718
|
+
g = h.x, b = h.y;
|
|
1719
1719
|
var O = c.hasOwnProperty("x"), P = c.hasOwnProperty("y"), R = pt, A = dt, p = window;
|
|
1720
1720
|
if (l) {
|
|
1721
1721
|
var C = ye(n), B = "clientHeight", W = "clientWidth";
|
|
1722
|
-
if (C ===
|
|
1722
|
+
if (C === _t(n) && (C = Dt(n), Rt(C).position !== "static" && s === "absolute" && (B = "scrollHeight", W = "scrollWidth")), C = C, i === dt || (i === pt || i === bt) && o === ge) {
|
|
1723
1723
|
A = yt;
|
|
1724
1724
|
var $ = d && C === p && p.visualViewport ? p.visualViewport.height : (
|
|
1725
1725
|
// $FlowFixMe[prop-missing]
|
|
@@ -1733,23 +1733,23 @@ function Gn(t) {
|
|
|
1733
1733
|
// $FlowFixMe[prop-missing]
|
|
1734
1734
|
C[W]
|
|
1735
1735
|
);
|
|
1736
|
-
|
|
1736
|
+
g -= V - r.width, g *= u ? 1 : -1;
|
|
1737
1737
|
}
|
|
1738
1738
|
}
|
|
1739
1739
|
var X = Object.assign({
|
|
1740
1740
|
position: s
|
|
1741
1741
|
}, l && Qi), ot = f === !0 ? Xi({
|
|
1742
|
-
x:
|
|
1742
|
+
x: g,
|
|
1743
1743
|
y: b
|
|
1744
|
-
},
|
|
1745
|
-
x:
|
|
1744
|
+
}, _t(n)) : {
|
|
1745
|
+
x: g,
|
|
1746
1746
|
y: b
|
|
1747
1747
|
};
|
|
1748
|
-
if (
|
|
1748
|
+
if (g = ot.x, b = ot.y, u) {
|
|
1749
1749
|
var U;
|
|
1750
|
-
return Object.assign({}, X, (U = {}, U[A] = P ? "0" : "", U[R] = O ? "0" : "", U.transform = (p.devicePixelRatio || 1) <= 1 ? "translate(" +
|
|
1750
|
+
return Object.assign({}, X, (U = {}, U[A] = P ? "0" : "", U[R] = O ? "0" : "", U.transform = (p.devicePixelRatio || 1) <= 1 ? "translate(" + g + "px, " + b + "px)" : "translate3d(" + g + "px, " + b + "px, 0)", U));
|
|
1751
1751
|
}
|
|
1752
|
-
return Object.assign({}, X, (e = {}, e[A] = P ? b + "px" : "", e[R] = O ?
|
|
1752
|
+
return Object.assign({}, X, (e = {}, e[A] = P ? b + "px" : "", e[R] = O ? g + "px" : "", e.transform = "", e));
|
|
1753
1753
|
}
|
|
1754
1754
|
function to(t) {
|
|
1755
1755
|
var e = t.state, n = t.options, r = n.gpuAcceleration, i = r === void 0 ? !0 : r, o = n.adaptive, c = o === void 0 ? !0 : o, s = n.roundOffsets, u = s === void 0 ? !0 : s, l = {
|
|
@@ -1785,7 +1785,7 @@ var Ae = {
|
|
|
1785
1785
|
passive: !0
|
|
1786
1786
|
};
|
|
1787
1787
|
function no(t) {
|
|
1788
|
-
var e = t.state, n = t.instance, r = t.options, i = r.scroll, o = i === void 0 ? !0 : i, c = r.resize, s = c === void 0 ? !0 : c, u =
|
|
1788
|
+
var e = t.state, n = t.instance, r = t.options, i = r.scroll, o = i === void 0 ? !0 : i, c = r.resize, s = c === void 0 ? !0 : c, u = _t(e.elements.popper), l = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
1789
1789
|
return o && l.forEach(function(f) {
|
|
1790
1790
|
f.addEventListener("scroll", n.update, Ae);
|
|
1791
1791
|
}), s && u.addEventListener("resize", n.update, Ae), function() {
|
|
@@ -1824,7 +1824,7 @@ function qn(t) {
|
|
|
1824
1824
|
});
|
|
1825
1825
|
}
|
|
1826
1826
|
function gn(t) {
|
|
1827
|
-
var e =
|
|
1827
|
+
var e = _t(t), n = e.pageXOffset, r = e.pageYOffset;
|
|
1828
1828
|
return {
|
|
1829
1829
|
scrollLeft: n,
|
|
1830
1830
|
scrollTop: r
|
|
@@ -1834,7 +1834,7 @@ function _n(t) {
|
|
|
1834
1834
|
return Xt(Dt(t)).left + gn(t).scrollLeft;
|
|
1835
1835
|
}
|
|
1836
1836
|
function so(t, e) {
|
|
1837
|
-
var n =
|
|
1837
|
+
var n = _t(t), r = Dt(t), i = n.visualViewport, o = r.clientWidth, c = r.clientHeight, s = 0, u = 0;
|
|
1838
1838
|
if (i) {
|
|
1839
1839
|
o = i.width, c = i.height;
|
|
1840
1840
|
var l = vr();
|
|
@@ -1866,7 +1866,7 @@ function wr(t) {
|
|
|
1866
1866
|
function pe(t, e) {
|
|
1867
1867
|
var n;
|
|
1868
1868
|
e === void 0 && (e = []);
|
|
1869
|
-
var r = wr(t), i = r === ((n = t.ownerDocument) == null ? void 0 : n.body), o =
|
|
1869
|
+
var r = wr(t), i = r === ((n = t.ownerDocument) == null ? void 0 : n.body), o = _t(r), c = i ? [o].concat(o.visualViewport || [], vn(r) ? r : []) : r, s = e.concat(c);
|
|
1870
1870
|
return i ? s : (
|
|
1871
1871
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
1872
1872
|
s.concat(pe(Ie(c)))
|
|
@@ -1949,7 +1949,7 @@ function Er(t) {
|
|
|
1949
1949
|
}
|
|
1950
1950
|
function _e(t, e) {
|
|
1951
1951
|
e === void 0 && (e = {});
|
|
1952
|
-
var n = e, r = n.placement, i = r === void 0 ? t.placement : r, o = n.strategy, c = o === void 0 ? t.strategy : o, s = n.boundary, u = s === void 0 ? ji : s, l = n.rootBoundary, f = l === void 0 ? gr : l, d = n.elementContext, m = d === void 0 ? ue : d,
|
|
1952
|
+
var n = e, r = n.placement, i = r === void 0 ? t.placement : r, o = n.strategy, c = o === void 0 ? t.strategy : o, s = n.boundary, u = s === void 0 ? ji : s, l = n.rootBoundary, f = l === void 0 ? gr : l, d = n.elementContext, m = d === void 0 ? ue : d, g = n.altBoundary, y = g === void 0 ? !1 : g, b = n.padding, h = b === void 0 ? 0 : b, O = br(typeof h != "number" ? h : Pr(h, he)), P = m === ue ? Di : ue, R = t.rects.popper, A = t.elements[y ? P : m], p = lo(Ht(A) ? A : A.contextElement || Dt(t.elements.popper), u, f, c), C = Xt(t.elements.reference), B = Er({
|
|
1953
1953
|
reference: C,
|
|
1954
1954
|
element: R,
|
|
1955
1955
|
strategy: "absolute",
|
|
@@ -1977,7 +1977,7 @@ function fo(t, e) {
|
|
|
1977
1977
|
return l.indexOf(y) >= 0;
|
|
1978
1978
|
});
|
|
1979
1979
|
m.length === 0 && (m = d);
|
|
1980
|
-
var
|
|
1980
|
+
var g = m.reduce(function(y, b) {
|
|
1981
1981
|
return y[b] = _e(t, {
|
|
1982
1982
|
placement: b,
|
|
1983
1983
|
boundary: i,
|
|
@@ -1985,8 +1985,8 @@ function fo(t, e) {
|
|
|
1985
1985
|
padding: c
|
|
1986
1986
|
})[Pt(b)], y;
|
|
1987
1987
|
}, {});
|
|
1988
|
-
return Object.keys(
|
|
1989
|
-
return
|
|
1988
|
+
return Object.keys(g).sort(function(y, b) {
|
|
1989
|
+
return g[y] - g[b];
|
|
1990
1990
|
});
|
|
1991
1991
|
}
|
|
1992
1992
|
function po(t) {
|
|
@@ -1998,7 +1998,7 @@ function po(t) {
|
|
|
1998
1998
|
function mo(t) {
|
|
1999
1999
|
var e = t.state, n = t.options, r = t.name;
|
|
2000
2000
|
if (!e.modifiersData[r]._skip) {
|
|
2001
|
-
for (var i = n.mainAxis, o = i === void 0 ? !0 : i, c = n.altAxis, s = c === void 0 ? !0 : c, u = n.fallbackPlacements, l = n.padding, f = n.boundary, d = n.rootBoundary, m = n.altBoundary,
|
|
2001
|
+
for (var i = n.mainAxis, o = i === void 0 ? !0 : i, c = n.altAxis, s = c === void 0 ? !0 : c, u = n.fallbackPlacements, l = n.padding, f = n.boundary, d = n.rootBoundary, m = n.altBoundary, g = n.flipVariations, y = g === void 0 ? !0 : g, b = n.allowedAutoPlacements, h = e.options.placement, O = Pt(h), P = O === h, R = u || (P || !y ? [Ce(h)] : po(h)), A = [h].concat(R).reduce(function(S, z) {
|
|
2002
2002
|
return S.concat(Pt(z) === fn ? fo(e, {
|
|
2003
2003
|
placement: z,
|
|
2004
2004
|
boundary: f,
|
|
@@ -2016,8 +2016,8 @@ function mo(t) {
|
|
|
2016
2016
|
padding: l
|
|
2017
2017
|
}), nt = J ? U ? bt : pt : U ? yt : dt;
|
|
2018
2018
|
p[Q] > C[Q] && (nt = Ce(nt));
|
|
2019
|
-
var
|
|
2020
|
-
if (o && ft.push(tt[ot] <= 0), s && ft.push(tt[nt] <= 0, tt[
|
|
2019
|
+
var vt = Ce(nt), ft = [];
|
|
2020
|
+
if (o && ft.push(tt[ot] <= 0), s && ft.push(tt[nt] <= 0, tt[vt] <= 0), ft.every(function(S) {
|
|
2021
2021
|
return S;
|
|
2022
2022
|
})) {
|
|
2023
2023
|
$ = X, W = !1;
|
|
@@ -2026,7 +2026,7 @@ function mo(t) {
|
|
|
2026
2026
|
B.set(X, ft);
|
|
2027
2027
|
}
|
|
2028
2028
|
if (W)
|
|
2029
|
-
for (var
|
|
2029
|
+
for (var _ = y ? 3 : 1, x = function(z) {
|
|
2030
2030
|
var k = A.find(function(j) {
|
|
2031
2031
|
var D = B.get(j);
|
|
2032
2032
|
if (D)
|
|
@@ -2036,7 +2036,7 @@ function mo(t) {
|
|
|
2036
2036
|
});
|
|
2037
2037
|
if (k)
|
|
2038
2038
|
return $ = k, "break";
|
|
2039
|
-
}, F =
|
|
2039
|
+
}, F = _; F > 0; F--) {
|
|
2040
2040
|
var M = x(F);
|
|
2041
2041
|
if (M === "break") break;
|
|
2042
2042
|
}
|
|
@@ -2137,7 +2137,7 @@ function Eo(t) {
|
|
|
2137
2137
|
return t === "x" ? "y" : "x";
|
|
2138
2138
|
}
|
|
2139
2139
|
function xo(t) {
|
|
2140
|
-
var e = t.state, n = t.options, r = t.name, i = n.mainAxis, o = i === void 0 ? !0 : i, c = n.altAxis, s = c === void 0 ? !1 : c, u = n.boundary, l = n.rootBoundary, f = n.altBoundary, d = n.padding, m = n.tether,
|
|
2140
|
+
var e = t.state, n = t.options, r = t.name, i = n.mainAxis, o = i === void 0 ? !0 : i, c = n.altAxis, s = c === void 0 ? !1 : c, u = n.boundary, l = n.rootBoundary, f = n.altBoundary, d = n.padding, m = n.tether, g = m === void 0 ? !0 : m, y = n.tetherOffset, b = y === void 0 ? 0 : y, h = _e(e, {
|
|
2141
2141
|
boundary: u,
|
|
2142
2142
|
rootBoundary: l,
|
|
2143
2143
|
padding: d,
|
|
@@ -2156,14 +2156,14 @@ function xo(t) {
|
|
|
2156
2156
|
};
|
|
2157
2157
|
if (C) {
|
|
2158
2158
|
if (o) {
|
|
2159
|
-
var U, J = A === "y" ? dt : pt, Q = A === "y" ? yt : bt, tt = A === "y" ? "height" : "width", nt = C[A],
|
|
2159
|
+
var U, J = A === "y" ? dt : pt, Q = A === "y" ? yt : bt, tt = A === "y" ? "height" : "width", nt = C[A], vt = nt + h[J], ft = nt - h[Q], _ = g ? -W[tt] / 2 : 0, x = P === $t ? B[tt] : W[tt], F = P === $t ? -W[tt] : -B[tt], M = e.elements.arrow, S = g && M ? pn(M) : {
|
|
2160
2160
|
width: 0,
|
|
2161
2161
|
height: 0
|
|
2162
|
-
}, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : yr(), k = z[J], j = z[Q], D = de(0, B[tt], S[tt]), H = R ? B[tt] / 2 -
|
|
2162
|
+
}, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : yr(), k = z[J], j = z[Q], D = de(0, B[tt], S[tt]), H = R ? B[tt] / 2 - _ - D - k - V.mainAxis : x - D - k - V.mainAxis, L = R ? -B[tt] / 2 + _ + D + j + V.mainAxis : F + D + j + V.mainAxis, st = e.elements.arrow && ye(e.elements.arrow), w = st ? A === "y" ? st.clientTop || 0 : st.clientLeft || 0 : 0, ut = (U = X == null ? void 0 : X[A]) != null ? U : 0, Tt = nt + H - ut - w, Et = nt + L - ut, Ft = de(g ? Se(vt, Tt) : vt, nt, g ? Nt(ft, Et) : ft);
|
|
2163
2163
|
C[A] = Ft, ot[A] = Ft - nt;
|
|
2164
2164
|
}
|
|
2165
2165
|
if (s) {
|
|
2166
|
-
var re, be = A === "x" ? dt : pt, Yt = A === "x" ? yt : bt, xt = C[p], Vt = p === "y" ? "height" : "width", Wt = xt +
|
|
2166
|
+
var re, be = A === "x" ? dt : pt, Yt = A === "x" ? yt : bt, xt = C[p], Vt = p === "y" ? "height" : "width", Wt = xt + h[be], Pe = xt - h[Yt], ie = [dt, pt].indexOf(O) !== -1, oe = (re = X == null ? void 0 : X[p]) != null ? re : 0, se = ie ? Wt : xt - B[Vt] - W[Vt] - oe + V.altAxis, St = ie ? xt + B[Vt] + W[Vt] - oe - V.altAxis : Pe, we = g && ie ? Ji(se, xt, St) : de(g ? se : Wt, xt, g ? St : Pe);
|
|
2167
2167
|
C[p] = we, ot[p] = we - xt;
|
|
2168
2168
|
}
|
|
2169
2169
|
e.modifiersData[r] = ot;
|
|
@@ -2183,7 +2183,7 @@ function Oo(t) {
|
|
|
2183
2183
|
};
|
|
2184
2184
|
}
|
|
2185
2185
|
function Ro(t) {
|
|
2186
|
-
return t ===
|
|
2186
|
+
return t === _t(t) || !wt(t) ? gn(t) : Oo(t);
|
|
2187
2187
|
}
|
|
2188
2188
|
function Co(t) {
|
|
2189
2189
|
var e = t.getBoundingClientRect(), n = Qt(e.width) / t.offsetWidth || 1, r = Qt(e.height) / t.offsetHeight || 1;
|
|
@@ -2283,7 +2283,7 @@ function Do(t) {
|
|
|
2283
2283
|
},
|
|
2284
2284
|
attributes: {},
|
|
2285
2285
|
styles: {}
|
|
2286
|
-
}, d = [], m = !1,
|
|
2286
|
+
}, d = [], m = !1, g = {
|
|
2287
2287
|
state: f,
|
|
2288
2288
|
setOptions: function(O) {
|
|
2289
2289
|
var P = typeof O == "function" ? O(f.options) : O;
|
|
@@ -2294,7 +2294,7 @@ function Do(t) {
|
|
|
2294
2294
|
var R = ko(jo([].concat(r, f.options.modifiers)));
|
|
2295
2295
|
return f.orderedModifiers = R.filter(function(A) {
|
|
2296
2296
|
return A.enabled;
|
|
2297
|
-
}), y(),
|
|
2297
|
+
}), y(), g.update();
|
|
2298
2298
|
},
|
|
2299
2299
|
// Sync update – it will always be executed, even if not necessary. This
|
|
2300
2300
|
// is useful for low frequency updates where sync behavior simplifies the
|
|
@@ -2321,7 +2321,7 @@ function Do(t) {
|
|
|
2321
2321
|
state: f,
|
|
2322
2322
|
options: W,
|
|
2323
2323
|
name: $,
|
|
2324
|
-
instance:
|
|
2324
|
+
instance: g
|
|
2325
2325
|
}) || f);
|
|
2326
2326
|
}
|
|
2327
2327
|
}
|
|
@@ -2330,8 +2330,8 @@ function Do(t) {
|
|
|
2330
2330
|
// Async and optimistically optimized update – it will not be executed if
|
|
2331
2331
|
// not necessary (debounced to run at most once-per-tick)
|
|
2332
2332
|
update: Io(function() {
|
|
2333
|
-
return new Promise(function(
|
|
2334
|
-
|
|
2333
|
+
return new Promise(function(h) {
|
|
2334
|
+
g.forceUpdate(), h(f);
|
|
2335
2335
|
});
|
|
2336
2336
|
}),
|
|
2337
2337
|
destroy: function() {
|
|
@@ -2339,18 +2339,18 @@ function Do(t) {
|
|
|
2339
2339
|
}
|
|
2340
2340
|
};
|
|
2341
2341
|
if (!tr(s, u))
|
|
2342
|
-
return
|
|
2343
|
-
|
|
2344
|
-
!m && l.onFirstUpdate && l.onFirstUpdate(
|
|
2342
|
+
return g;
|
|
2343
|
+
g.setOptions(l).then(function(h) {
|
|
2344
|
+
!m && l.onFirstUpdate && l.onFirstUpdate(h);
|
|
2345
2345
|
});
|
|
2346
2346
|
function y() {
|
|
2347
|
-
f.orderedModifiers.forEach(function(
|
|
2348
|
-
var O =
|
|
2347
|
+
f.orderedModifiers.forEach(function(h) {
|
|
2348
|
+
var O = h.name, P = h.options, R = P === void 0 ? {} : P, A = h.effect;
|
|
2349
2349
|
if (typeof A == "function") {
|
|
2350
2350
|
var p = A({
|
|
2351
2351
|
state: f,
|
|
2352
2352
|
name: O,
|
|
2353
|
-
instance:
|
|
2353
|
+
instance: g,
|
|
2354
2354
|
options: R
|
|
2355
2355
|
}), C = function() {
|
|
2356
2356
|
};
|
|
@@ -2359,11 +2359,11 @@ function Do(t) {
|
|
|
2359
2359
|
});
|
|
2360
2360
|
}
|
|
2361
2361
|
function b() {
|
|
2362
|
-
d.forEach(function(
|
|
2363
|
-
return
|
|
2362
|
+
d.forEach(function(h) {
|
|
2363
|
+
return h();
|
|
2364
2364
|
}), d = [];
|
|
2365
2365
|
}
|
|
2366
|
-
return
|
|
2366
|
+
return g;
|
|
2367
2367
|
};
|
|
2368
2368
|
}
|
|
2369
2369
|
const Fo = Do({
|
|
@@ -2422,12 +2422,12 @@ function Ho(t, e, n = {}) {
|
|
|
2422
2422
|
modifiers: c = No
|
|
2423
2423
|
} = n, s = Bo(n, Mo);
|
|
2424
2424
|
const u = ct(c), l = ct(), f = it(() => {
|
|
2425
|
-
var
|
|
2426
|
-
(
|
|
2425
|
+
var h;
|
|
2426
|
+
(h = l.current) == null || h.update();
|
|
2427
2427
|
}, []), d = it(() => {
|
|
2428
|
-
var
|
|
2429
|
-
(
|
|
2430
|
-
}, []), [m,
|
|
2428
|
+
var h;
|
|
2429
|
+
(h = l.current) == null || h.forceUpdate();
|
|
2430
|
+
}, []), [m, g] = Ii(jt({
|
|
2431
2431
|
placement: i,
|
|
2432
2432
|
update: f,
|
|
2433
2433
|
forceUpdate: d,
|
|
@@ -2442,35 +2442,35 @@ function Ho(t, e, n = {}) {
|
|
|
2442
2442
|
phase: "write",
|
|
2443
2443
|
requires: ["computeStyles"],
|
|
2444
2444
|
fn: ({
|
|
2445
|
-
state:
|
|
2445
|
+
state: h
|
|
2446
2446
|
}) => {
|
|
2447
2447
|
const O = {}, P = {};
|
|
2448
|
-
Object.keys(
|
|
2449
|
-
O[R] =
|
|
2450
|
-
}),
|
|
2451
|
-
state:
|
|
2448
|
+
Object.keys(h.elements).forEach((R) => {
|
|
2449
|
+
O[R] = h.styles[R], P[R] = h.attributes[R];
|
|
2450
|
+
}), g({
|
|
2451
|
+
state: h,
|
|
2452
2452
|
styles: O,
|
|
2453
2453
|
attributes: P,
|
|
2454
2454
|
update: f,
|
|
2455
2455
|
forceUpdate: d,
|
|
2456
|
-
placement:
|
|
2456
|
+
placement: h.placement
|
|
2457
2457
|
});
|
|
2458
2458
|
}
|
|
2459
|
-
}), [f, d,
|
|
2460
|
-
return
|
|
2459
|
+
}), [f, d, g]), b = me(() => (fe(u.current, c) || (u.current = c), u.current), [c]);
|
|
2460
|
+
return gt(() => {
|
|
2461
2461
|
!l.current || !r || l.current.setOptions({
|
|
2462
2462
|
placement: i,
|
|
2463
2463
|
strategy: o,
|
|
2464
2464
|
modifiers: [...b, y, zo]
|
|
2465
2465
|
});
|
|
2466
|
-
}, [o, i, y, r, b]),
|
|
2466
|
+
}, [o, i, y, r, b]), gt(() => {
|
|
2467
2467
|
if (!(!r || t == null || e == null))
|
|
2468
2468
|
return l.current = Fo(t, e, Object.assign({}, s, {
|
|
2469
2469
|
placement: i,
|
|
2470
2470
|
strategy: o,
|
|
2471
2471
|
modifiers: [...b, Lo, y]
|
|
2472
2472
|
})), () => {
|
|
2473
|
-
l.current != null && (l.current.destroy(), l.current = void 0,
|
|
2473
|
+
l.current != null && (l.current.destroy(), l.current = void 0, g((h) => Object.assign({}, h, {
|
|
2474
2474
|
attributes: {},
|
|
2475
2475
|
styles: {
|
|
2476
2476
|
popper: {}
|
|
@@ -2516,7 +2516,7 @@ function je(t) {
|
|
|
2516
2516
|
}
|
|
2517
2517
|
function Yo(t) {
|
|
2518
2518
|
const e = ct(t);
|
|
2519
|
-
return
|
|
2519
|
+
return gt(() => {
|
|
2520
2520
|
e.current = t;
|
|
2521
2521
|
}, [t]), e;
|
|
2522
2522
|
}
|
|
@@ -2552,22 +2552,22 @@ function Jo(t, e = er, {
|
|
|
2552
2552
|
}), u = ee((l) => {
|
|
2553
2553
|
i.current || e(l);
|
|
2554
2554
|
});
|
|
2555
|
-
|
|
2555
|
+
gt(() => {
|
|
2556
2556
|
var l, f;
|
|
2557
2557
|
if (n || t == null) return;
|
|
2558
2558
|
const d = je(Te(t)), m = d.defaultView || window;
|
|
2559
|
-
let
|
|
2559
|
+
let g = (l = m.event) != null ? l : (f = m.parent) == null ? void 0 : f.event, y = null;
|
|
2560
2560
|
nr[r] && (y = Lt(d, nr[r], s, !0));
|
|
2561
|
-
const b = Lt(d, r, c, !0),
|
|
2562
|
-
if (P ===
|
|
2563
|
-
|
|
2561
|
+
const b = Lt(d, r, c, !0), h = Lt(d, r, (P) => {
|
|
2562
|
+
if (P === g) {
|
|
2563
|
+
g = void 0;
|
|
2564
2564
|
return;
|
|
2565
2565
|
}
|
|
2566
2566
|
u(P);
|
|
2567
2567
|
});
|
|
2568
2568
|
let O = [];
|
|
2569
2569
|
return "ontouchstart" in d.documentElement && (O = [].slice.call(d.body.children).map((P) => Lt(P, "mousemove", er))), () => {
|
|
2570
|
-
y == null || y(), b(),
|
|
2570
|
+
y == null || y(), b(), h(), O.forEach((P) => P());
|
|
2571
2571
|
};
|
|
2572
2572
|
}, [t, n, r, c, s, u]);
|
|
2573
2573
|
}
|
|
@@ -2588,7 +2588,7 @@ function Ko(t, e, {
|
|
|
2588
2588
|
const o = ee((c) => {
|
|
2589
2589
|
Go(c) && i(c);
|
|
2590
2590
|
});
|
|
2591
|
-
|
|
2591
|
+
gt(() => {
|
|
2592
2592
|
if (n || t == null) return;
|
|
2593
2593
|
const c = je(Te(t));
|
|
2594
2594
|
let s = (c.defaultView || window).event;
|
|
@@ -2616,8 +2616,8 @@ function rr(t, e) {
|
|
|
2616
2616
|
const o = Ve(t);
|
|
2617
2617
|
o && i(o);
|
|
2618
2618
|
}
|
|
2619
|
-
return
|
|
2620
|
-
}, [e, r]),
|
|
2619
|
+
return gt(() => {
|
|
2620
|
+
}, [e, r]), gt(() => {
|
|
2621
2621
|
const o = Ve(t);
|
|
2622
2622
|
o !== r && i(o);
|
|
2623
2623
|
}, [t, r]), r;
|
|
@@ -2642,7 +2642,7 @@ function ts({
|
|
|
2642
2642
|
arrowElement: s,
|
|
2643
2643
|
popperConfig: u = {}
|
|
2644
2644
|
}) {
|
|
2645
|
-
var l, f, d, m,
|
|
2645
|
+
var l, f, d, m, g;
|
|
2646
2646
|
const y = Qo(u.modifiers);
|
|
2647
2647
|
return Object.assign({}, u, {
|
|
2648
2648
|
placement: n,
|
|
@@ -2665,7 +2665,7 @@ function ts({
|
|
|
2665
2665
|
},
|
|
2666
2666
|
arrow: Object.assign({}, y.arrow, {
|
|
2667
2667
|
enabled: !!s,
|
|
2668
|
-
options: Object.assign({}, (
|
|
2668
|
+
options: Object.assign({}, (g = y.arrow) == null ? void 0 : g.options, {
|
|
2669
2669
|
element: s
|
|
2670
2670
|
})
|
|
2671
2671
|
}),
|
|
@@ -2677,7 +2677,7 @@ function ts({
|
|
|
2677
2677
|
}
|
|
2678
2678
|
const es = typeof global < "u" && // @ts-ignore
|
|
2679
2679
|
global.navigator && // @ts-ignore
|
|
2680
|
-
global.navigator.product === "ReactNative", ns = typeof document < "u", en = ns || es ? ri :
|
|
2680
|
+
global.navigator.product === "ReactNative", ns = typeof document < "u", en = ns || es ? ri : gt;
|
|
2681
2681
|
function rs({
|
|
2682
2682
|
children: t,
|
|
2683
2683
|
in: e,
|
|
@@ -2686,7 +2686,7 @@ function rs({
|
|
|
2686
2686
|
unmountOnExit: i
|
|
2687
2687
|
}) {
|
|
2688
2688
|
const o = ct(null), c = ct(e), s = ee(n);
|
|
2689
|
-
|
|
2689
|
+
gt(() => {
|
|
2690
2690
|
e ? c.current = !0 : s(o.current);
|
|
2691
2691
|
}, [e, s]);
|
|
2692
2692
|
const u = ne(o, t.ref), l = /* @__PURE__ */ cn(t, {
|
|
@@ -2753,7 +2753,7 @@ const Ar = /* @__PURE__ */ mt.forwardRef((t, e) => {
|
|
|
2753
2753
|
popperConfig: c = {},
|
|
2754
2754
|
transition: s,
|
|
2755
2755
|
runTransition: u
|
|
2756
|
-
} = t, [l, f] = Un(), [d, m] = Un(),
|
|
2756
|
+
} = t, [l, f] = Un(), [d, m] = Un(), g = ne(f, e), y = rr(t.container), b = rr(t.target), [h, O] = jt(!t.show), P = Ho(b, l, ts({
|
|
2757
2757
|
placement: i,
|
|
2758
2758
|
enableEvents: !!t.show,
|
|
2759
2759
|
containerPadding: o || 5,
|
|
@@ -2762,10 +2762,10 @@ const Ar = /* @__PURE__ */ mt.forwardRef((t, e) => {
|
|
|
2762
2762
|
arrowElement: d,
|
|
2763
2763
|
popperConfig: c
|
|
2764
2764
|
}));
|
|
2765
|
-
t.show &&
|
|
2765
|
+
t.show && h && O(!1);
|
|
2766
2766
|
const R = (...X) => {
|
|
2767
2767
|
O(!0), t.onExited && t.onExited(...X);
|
|
2768
|
-
}, A = t.show || !
|
|
2768
|
+
}, A = t.show || !h;
|
|
2769
2769
|
if (Ko(l, t.onHide, {
|
|
2770
2770
|
disabled: !t.rootClose || t.rootCloseDisabled,
|
|
2771
2771
|
clickTrigger: t.rootCloseEvent
|
|
@@ -2780,7 +2780,7 @@ const Ar = /* @__PURE__ */ mt.forwardRef((t, e) => {
|
|
|
2780
2780
|
} = t;
|
|
2781
2781
|
let V = t.children(Object.assign({}, P.attributes.popper, {
|
|
2782
2782
|
style: P.styles.popper,
|
|
2783
|
-
ref:
|
|
2783
|
+
ref: g
|
|
2784
2784
|
}), {
|
|
2785
2785
|
popper: P,
|
|
2786
2786
|
placement: i,
|
|
@@ -2873,15 +2873,15 @@ const us = /* @__PURE__ */ mt.forwardRef(({
|
|
|
2873
2873
|
show: l,
|
|
2874
2874
|
...f
|
|
2875
2875
|
}, d) => {
|
|
2876
|
-
const m = Zt(t, "popover"),
|
|
2877
|
-
let
|
|
2878
|
-
return l && !s && (
|
|
2876
|
+
const m = Zt(t, "popover"), g = Rr(), [y] = (e == null ? void 0 : e.split("-")) || [], b = Tr(y, g);
|
|
2877
|
+
let h = r;
|
|
2878
|
+
return l && !s && (h = {
|
|
2879
2879
|
...r,
|
|
2880
2880
|
...Sr(u == null ? void 0 : u.strategy)
|
|
2881
2881
|
}), /* @__PURE__ */ T.jsxs("div", {
|
|
2882
2882
|
ref: d,
|
|
2883
2883
|
role: "tooltip",
|
|
2884
|
-
style:
|
|
2884
|
+
style: h,
|
|
2885
2885
|
"x-placement": y,
|
|
2886
2886
|
className: Ut(n, m, y && `bs-popover-${b}`),
|
|
2887
2887
|
...f,
|
|
@@ -2911,7 +2911,7 @@ const us = /* @__PURE__ */ mt.forwardRef(({
|
|
|
2911
2911
|
...l
|
|
2912
2912
|
}, f) => {
|
|
2913
2913
|
t = Zt(t, "tooltip");
|
|
2914
|
-
const d = Rr(), [m] = (e == null ? void 0 : e.split("-")) || [],
|
|
2914
|
+
const d = Rr(), [m] = (e == null ? void 0 : e.split("-")) || [], g = Tr(m, d);
|
|
2915
2915
|
let y = r;
|
|
2916
2916
|
return u && !c && (y = {
|
|
2917
2917
|
...r,
|
|
@@ -2921,7 +2921,7 @@ const us = /* @__PURE__ */ mt.forwardRef(({
|
|
|
2921
2921
|
style: y,
|
|
2922
2922
|
role: "tooltip",
|
|
2923
2923
|
"x-placement": m,
|
|
2924
|
-
className: Ut(n, t, `bs-tooltip-${
|
|
2924
|
+
className: Ut(n, t, `bs-tooltip-${g}`),
|
|
2925
2925
|
...l,
|
|
2926
2926
|
children: [/* @__PURE__ */ T.jsx("div", {
|
|
2927
2927
|
className: "tooltip-arrow",
|
|
@@ -3384,17 +3384,17 @@ const Os = /* @__PURE__ */ Ot.forwardRef(({
|
|
|
3384
3384
|
childRef: u,
|
|
3385
3385
|
...l
|
|
3386
3386
|
}, f) => {
|
|
3387
|
-
const d = ct(null), m = ne(d, u),
|
|
3387
|
+
const d = ct(null), m = ne(d, u), g = (C) => {
|
|
3388
3388
|
m(ke(C));
|
|
3389
3389
|
}, y = (C) => (B) => {
|
|
3390
3390
|
C && d.current && C(d.current, B);
|
|
3391
|
-
}, b = it(y(t), [t]),
|
|
3391
|
+
}, b = it(y(t), [t]), h = it(y(e), [e]), O = it(y(n), [n]), P = it(y(r), [r]), R = it(y(i), [i]), A = it(y(o), [o]), p = it(y(c), [c]);
|
|
3392
3392
|
return /* @__PURE__ */ T.jsx(Ct, {
|
|
3393
3393
|
ref: f,
|
|
3394
3394
|
...l,
|
|
3395
3395
|
onEnter: b,
|
|
3396
3396
|
onEntered: O,
|
|
3397
|
-
onEntering:
|
|
3397
|
+
onEntering: h,
|
|
3398
3398
|
onExit: P,
|
|
3399
3399
|
onExited: A,
|
|
3400
3400
|
onExiting: R,
|
|
@@ -3404,10 +3404,10 @@ const Os = /* @__PURE__ */ Ot.forwardRef(({
|
|
|
3404
3404
|
// TODO: Types for RTG missing innerProps, so need to cast.
|
|
3405
3405
|
s(C, {
|
|
3406
3406
|
...B,
|
|
3407
|
-
ref:
|
|
3407
|
+
ref: g
|
|
3408
3408
|
})
|
|
3409
3409
|
) : /* @__PURE__ */ Ot.cloneElement(s, {
|
|
3410
|
-
ref:
|
|
3410
|
+
ref: g
|
|
3411
3411
|
})
|
|
3412
3412
|
});
|
|
3413
3413
|
}), Rs = {
|
|
@@ -3460,16 +3460,16 @@ const Fr = /* @__PURE__ */ mt.forwardRef(({
|
|
|
3460
3460
|
show: o = !1,
|
|
3461
3461
|
...c
|
|
3462
3462
|
}, s) => {
|
|
3463
|
-
const u = ct({}), [l, f] = jt(null), [d, m] = ls(c.offset),
|
|
3464
|
-
f(
|
|
3463
|
+
const u = ct({}), [l, f] = jt(null), [d, m] = ls(c.offset), g = ne(s, d), y = e === !0 ? on : e || void 0, b = ee((h) => {
|
|
3464
|
+
f(h), n == null || n.onFirstUpdate == null || n.onFirstUpdate(h);
|
|
3465
3465
|
});
|
|
3466
3466
|
return en(() => {
|
|
3467
3467
|
l && c.target && (u.current.scheduleUpdate == null || u.current.scheduleUpdate());
|
|
3468
|
-
}, [l, c.target]),
|
|
3468
|
+
}, [l, c.target]), gt(() => {
|
|
3469
3469
|
o || f(null);
|
|
3470
3470
|
}, [o]), /* @__PURE__ */ T.jsx(Ar, {
|
|
3471
3471
|
...c,
|
|
3472
|
-
ref:
|
|
3472
|
+
ref: g,
|
|
3473
3473
|
popperConfig: {
|
|
3474
3474
|
...n,
|
|
3475
3475
|
modifiers: m.concat(n.modifiers || []),
|
|
@@ -3479,13 +3479,13 @@ const Fr = /* @__PURE__ */ mt.forwardRef(({
|
|
|
3479
3479
|
rootClose: r,
|
|
3480
3480
|
placement: i,
|
|
3481
3481
|
show: o,
|
|
3482
|
-
children: (
|
|
3482
|
+
children: (h, {
|
|
3483
3483
|
arrowProps: O,
|
|
3484
3484
|
popper: P,
|
|
3485
3485
|
show: R
|
|
3486
3486
|
}) => {
|
|
3487
3487
|
var A, p;
|
|
3488
|
-
Cs(
|
|
3488
|
+
Cs(h, O);
|
|
3489
3489
|
const C = P == null ? void 0 : P.placement, B = Object.assign(u.current, {
|
|
3490
3490
|
state: P == null ? void 0 : P.state,
|
|
3491
3491
|
scheduleUpdate: P == null ? void 0 : P.update,
|
|
@@ -3494,7 +3494,7 @@ const Fr = /* @__PURE__ */ mt.forwardRef(({
|
|
|
3494
3494
|
strategy: n.strategy
|
|
3495
3495
|
}), W = !!l;
|
|
3496
3496
|
return typeof t == "function" ? t({
|
|
3497
|
-
...
|
|
3497
|
+
...h,
|
|
3498
3498
|
placement: C,
|
|
3499
3499
|
show: R,
|
|
3500
3500
|
...!e && R && {
|
|
@@ -3504,7 +3504,7 @@ const Fr = /* @__PURE__ */ mt.forwardRef(({
|
|
|
3504
3504
|
arrowProps: O,
|
|
3505
3505
|
hasDoneInitialMeasure: W
|
|
3506
3506
|
}) : /* @__PURE__ */ mt.cloneElement(t, {
|
|
3507
|
-
...
|
|
3507
|
+
...h,
|
|
3508
3508
|
placement: C,
|
|
3509
3509
|
arrowProps: O,
|
|
3510
3510
|
popper: B,
|
|
@@ -3512,7 +3512,7 @@ const Fr = /* @__PURE__ */ mt.forwardRef(({
|
|
|
3512
3512
|
className: Ut(t.props.className, !e && R && "show"),
|
|
3513
3513
|
style: {
|
|
3514
3514
|
...t.props.style,
|
|
3515
|
-
...
|
|
3515
|
+
...h.style
|
|
3516
3516
|
}
|
|
3517
3517
|
});
|
|
3518
3518
|
}
|
|
@@ -3543,35 +3543,35 @@ const bn = ({
|
|
|
3543
3543
|
flip: l = u && u.indexOf("auto") !== -1,
|
|
3544
3544
|
...f
|
|
3545
3545
|
}) => {
|
|
3546
|
-
const d = ct(null), m = ne(d, n.ref),
|
|
3546
|
+
const d = ct(null), m = ne(d, n.ref), g = Ei(), y = ct(""), [b, h] = Ci(i, o, c), O = Ts(s), {
|
|
3547
3547
|
onFocus: P,
|
|
3548
3548
|
onBlur: R,
|
|
3549
3549
|
onClick: A
|
|
3550
3550
|
} = typeof n != "function" ? mt.Children.only(n).props : {}, p = (Q) => {
|
|
3551
3551
|
m(ke(Q));
|
|
3552
3552
|
}, C = it(() => {
|
|
3553
|
-
if (
|
|
3554
|
-
|
|
3553
|
+
if (g.clear(), y.current = "show", !O.show) {
|
|
3554
|
+
h(!0);
|
|
3555
3555
|
return;
|
|
3556
3556
|
}
|
|
3557
|
-
|
|
3558
|
-
y.current === "show" &&
|
|
3557
|
+
g.set(() => {
|
|
3558
|
+
y.current === "show" && h(!0);
|
|
3559
3559
|
}, O.show);
|
|
3560
|
-
}, [O.show,
|
|
3561
|
-
if (
|
|
3562
|
-
|
|
3560
|
+
}, [O.show, h, g]), B = it(() => {
|
|
3561
|
+
if (g.clear(), y.current = "hide", !O.hide) {
|
|
3562
|
+
h(!1);
|
|
3563
3563
|
return;
|
|
3564
3564
|
}
|
|
3565
|
-
|
|
3566
|
-
y.current === "hide" &&
|
|
3565
|
+
g.set(() => {
|
|
3566
|
+
y.current === "hide" && h(!1);
|
|
3567
3567
|
}, O.hide);
|
|
3568
|
-
}, [O.hide,
|
|
3568
|
+
}, [O.hide, h, g]), W = it((...Q) => {
|
|
3569
3569
|
C(), P == null || P(...Q);
|
|
3570
3570
|
}, [C, P]), $ = it((...Q) => {
|
|
3571
3571
|
B(), R == null || R(...Q);
|
|
3572
3572
|
}, [B, R]), V = it((...Q) => {
|
|
3573
|
-
|
|
3574
|
-
}, [A,
|
|
3573
|
+
h(!b), A == null || A(...Q);
|
|
3574
|
+
}, [A, h, b]), X = it((...Q) => {
|
|
3575
3575
|
ar(C, Q, "fromElement");
|
|
3576
3576
|
}, [C]), ot = it((...Q) => {
|
|
3577
3577
|
ar(B, Q, "toElement");
|
|
@@ -3785,34 +3785,40 @@ function Iu({
|
|
|
3785
3785
|
labelLeft: e = "Left",
|
|
3786
3786
|
labelRight: n = "Right",
|
|
3787
3787
|
fontSize: r = "12px",
|
|
3788
|
-
|
|
3788
|
+
toggled: i,
|
|
3789
|
+
onToggle: o = () => {
|
|
3789
3790
|
},
|
|
3790
|
-
labelClassName:
|
|
3791
|
-
containerClassName:
|
|
3792
|
-
switchClassName:
|
|
3793
|
-
thumbClassName:
|
|
3791
|
+
labelClassName: c = "",
|
|
3792
|
+
containerClassName: s = "",
|
|
3793
|
+
switchClassName: u = "",
|
|
3794
|
+
thumbClassName: l = ""
|
|
3794
3795
|
}) {
|
|
3795
|
-
const [
|
|
3796
|
-
|
|
3797
|
-
|
|
3796
|
+
const [f, d] = jt(!1), m = i !== void 0, g = m ? i : f;
|
|
3797
|
+
gt(() => {
|
|
3798
|
+
m && d(i);
|
|
3799
|
+
}, [i, m]);
|
|
3800
|
+
const y = () => {
|
|
3801
|
+
const b = !g;
|
|
3802
|
+
m || d(b), o(b);
|
|
3798
3803
|
};
|
|
3799
3804
|
return /* @__PURE__ */ T.jsxs(
|
|
3800
3805
|
"div",
|
|
3801
3806
|
{
|
|
3802
|
-
className: `${Mt.toggleSwitchWrapper} ${
|
|
3807
|
+
className: `${Mt.toggleSwitchWrapper} ${s}`,
|
|
3803
3808
|
style: { fontSize: r },
|
|
3804
3809
|
children: [
|
|
3805
|
-
/* @__PURE__ */ T.jsx("span", { className: `${Mt.toggleLabel} ${
|
|
3810
|
+
/* @__PURE__ */ T.jsx("span", { className: `${Mt.toggleLabel} ${c}`, children: e }),
|
|
3806
3811
|
/* @__PURE__ */ T.jsx("div", { className: Mt.toggleSwitchContainer, children: /* @__PURE__ */ T.jsx(
|
|
3807
3812
|
"button",
|
|
3808
3813
|
{
|
|
3809
|
-
|
|
3810
|
-
|
|
3814
|
+
type: "button",
|
|
3815
|
+
className: `${Mt.toggleSwitch} ${g ? Mt.toggled : ""} ${u}`,
|
|
3816
|
+
onClick: y,
|
|
3811
3817
|
style: { "--switch-length": t },
|
|
3812
|
-
children: /* @__PURE__ */ T.jsx("div", { className: `${Mt.thumb} ${
|
|
3818
|
+
children: /* @__PURE__ */ T.jsx("div", { className: `${Mt.thumb} ${l}` })
|
|
3813
3819
|
}
|
|
3814
3820
|
) }),
|
|
3815
|
-
/* @__PURE__ */ T.jsx("span", { className: `${Mt.toggleLabel} ${
|
|
3821
|
+
/* @__PURE__ */ T.jsx("span", { className: `${Mt.toggleLabel} ${c}`, children: n })
|
|
3816
3822
|
]
|
|
3817
3823
|
}
|
|
3818
3824
|
);
|