urfu-ui-kit-react 0.0.6 → 0.0.7
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 +884 -875
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function ln(c) {
|
|
2
2
|
return c && c.__esModule && Object.prototype.hasOwnProperty.call(c, "default") ? c.default : c;
|
|
3
3
|
}
|
|
4
|
-
var Qr = { exports: {} },
|
|
4
|
+
var Qr = { exports: {} }, tr = {}, et = { exports: {} }, q = {};
|
|
5
5
|
/**
|
|
6
6
|
* @license React
|
|
7
7
|
* react.production.min.js
|
|
@@ -16,52 +16,52 @@ function fn() {
|
|
|
16
16
|
if (xt)
|
|
17
17
|
return q;
|
|
18
18
|
xt = 1;
|
|
19
|
-
var c = Symbol.for("react.element"), p = Symbol.for("react.portal"), I = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"),
|
|
20
|
-
function
|
|
21
|
-
return n === null || typeof n != "object" ? null : (n =
|
|
19
|
+
var c = Symbol.for("react.element"), p = Symbol.for("react.portal"), I = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), P = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), L = Symbol.for("react.context"), w = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), F = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), $ = Symbol.iterator;
|
|
20
|
+
function k(n) {
|
|
21
|
+
return n === null || typeof n != "object" ? null : (n = $ && n[$] || n["@@iterator"], typeof n == "function" ? n : null);
|
|
22
22
|
}
|
|
23
|
-
var
|
|
23
|
+
var U = { isMounted: function() {
|
|
24
24
|
return !1;
|
|
25
25
|
}, enqueueForceUpdate: function() {
|
|
26
26
|
}, enqueueReplaceState: function() {
|
|
27
27
|
}, enqueueSetState: function() {
|
|
28
|
-
} },
|
|
29
|
-
function
|
|
30
|
-
this.props = n, this.context = i, this.refs = Y, this.updater = h ||
|
|
28
|
+
} }, z = Object.assign, Y = {};
|
|
29
|
+
function ee(n, i, h) {
|
|
30
|
+
this.props = n, this.context = i, this.refs = Y, this.updater = h || U;
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
ee.prototype.isReactComponent = {}, ee.prototype.setState = function(n, i) {
|
|
33
33
|
if (typeof n != "object" && typeof n != "function" && n != null)
|
|
34
34
|
throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
35
35
|
this.updater.enqueueSetState(this, n, i, "setState");
|
|
36
|
-
},
|
|
36
|
+
}, ee.prototype.forceUpdate = function(n) {
|
|
37
37
|
this.updater.enqueueForceUpdate(this, n, "forceUpdate");
|
|
38
38
|
};
|
|
39
39
|
function ne() {
|
|
40
40
|
}
|
|
41
|
-
ne.prototype =
|
|
42
|
-
function
|
|
43
|
-
this.props = n, this.context = i, this.refs = Y, this.updater = h ||
|
|
41
|
+
ne.prototype = ee.prototype;
|
|
42
|
+
function X(n, i, h) {
|
|
43
|
+
this.props = n, this.context = i, this.refs = Y, this.updater = h || U;
|
|
44
44
|
}
|
|
45
|
-
var te =
|
|
46
|
-
te.constructor =
|
|
47
|
-
var
|
|
45
|
+
var te = X.prototype = new ne();
|
|
46
|
+
te.constructor = X, z(te, ee.prototype), te.isPureReactComponent = !0;
|
|
47
|
+
var K = Array.isArray, f = Object.prototype.hasOwnProperty, ie = { current: null }, Ee = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
48
48
|
function we(n, i, h) {
|
|
49
|
-
var v,
|
|
49
|
+
var v, g = {}, b = null, _ = null;
|
|
50
50
|
if (i != null)
|
|
51
|
-
for (v in i.ref !== void 0 && (
|
|
52
|
-
f.call(i, v) && !Ee.hasOwnProperty(v) && (
|
|
51
|
+
for (v in i.ref !== void 0 && (_ = i.ref), i.key !== void 0 && (b = "" + i.key), i)
|
|
52
|
+
f.call(i, v) && !Ee.hasOwnProperty(v) && (g[v] = i[v]);
|
|
53
53
|
var T = arguments.length - 2;
|
|
54
54
|
if (T === 1)
|
|
55
|
-
|
|
55
|
+
g.children = h;
|
|
56
56
|
else if (1 < T) {
|
|
57
|
-
for (var
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
for (var x = Array(T), A = 0; A < T; A++)
|
|
58
|
+
x[A] = arguments[A + 2];
|
|
59
|
+
g.children = x;
|
|
60
60
|
}
|
|
61
61
|
if (n && n.defaultProps)
|
|
62
62
|
for (v in T = n.defaultProps, T)
|
|
63
|
-
|
|
64
|
-
return { $$typeof: c, type: n, key:
|
|
63
|
+
g[v] === void 0 && (g[v] = T[v]);
|
|
64
|
+
return { $$typeof: c, type: n, key: b, ref: _, props: g, _owner: ie.current };
|
|
65
65
|
}
|
|
66
66
|
function Ce(n, i) {
|
|
67
67
|
return { $$typeof: c, type: n.type, key: i, ref: n.ref, props: n.props, _owner: n._owner };
|
|
@@ -79,48 +79,48 @@ function fn() {
|
|
|
79
79
|
function pe(n, i) {
|
|
80
80
|
return typeof n == "object" && n !== null && n.key != null ? Oe("" + n.key) : i.toString(36);
|
|
81
81
|
}
|
|
82
|
-
function fe(n, i, h, v,
|
|
83
|
-
var
|
|
84
|
-
(
|
|
85
|
-
var
|
|
82
|
+
function fe(n, i, h, v, g) {
|
|
83
|
+
var b = typeof n;
|
|
84
|
+
(b === "undefined" || b === "boolean") && (n = null);
|
|
85
|
+
var _ = !1;
|
|
86
86
|
if (n === null)
|
|
87
|
-
|
|
87
|
+
_ = !0;
|
|
88
88
|
else
|
|
89
|
-
switch (
|
|
89
|
+
switch (b) {
|
|
90
90
|
case "string":
|
|
91
91
|
case "number":
|
|
92
|
-
|
|
92
|
+
_ = !0;
|
|
93
93
|
break;
|
|
94
94
|
case "object":
|
|
95
95
|
switch (n.$$typeof) {
|
|
96
96
|
case c:
|
|
97
97
|
case p:
|
|
98
|
-
|
|
98
|
+
_ = !0;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
if (
|
|
102
|
-
return
|
|
101
|
+
if (_)
|
|
102
|
+
return _ = n, g = g(_), n = v === "" ? "." + pe(_, 0) : v, K(g) ? (h = "", n != null && (h = n.replace(Se, "$&/") + "/"), fe(g, i, h, "", function(A) {
|
|
103
103
|
return A;
|
|
104
|
-
})) :
|
|
105
|
-
if (
|
|
104
|
+
})) : g != null && (Te(g) && (g = Ce(g, h + (!g.key || _ && _.key === g.key ? "" : ("" + g.key).replace(Se, "$&/") + "/") + n)), i.push(g)), 1;
|
|
105
|
+
if (_ = 0, v = v === "" ? "." : v + ":", K(n))
|
|
106
106
|
for (var T = 0; T < n.length; T++) {
|
|
107
|
-
|
|
108
|
-
var
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
else if (
|
|
112
|
-
for (n =
|
|
113
|
-
|
|
114
|
-
else if (
|
|
107
|
+
b = n[T];
|
|
108
|
+
var x = v + pe(b, T);
|
|
109
|
+
_ += fe(b, i, h, x, g);
|
|
110
|
+
}
|
|
111
|
+
else if (x = k(n), typeof x == "function")
|
|
112
|
+
for (n = x.call(n), T = 0; !(b = n.next()).done; )
|
|
113
|
+
b = b.value, x = v + pe(b, T++), _ += fe(b, i, h, x, g);
|
|
114
|
+
else if (b === "object")
|
|
115
115
|
throw i = String(n), Error("Objects are not valid as a React child (found: " + (i === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : i) + "). If you meant to render a collection of children, use an array instead.");
|
|
116
|
-
return
|
|
116
|
+
return _;
|
|
117
117
|
}
|
|
118
118
|
function de(n, i, h) {
|
|
119
119
|
if (n == null)
|
|
120
120
|
return n;
|
|
121
|
-
var v = [],
|
|
122
|
-
return fe(n, v, "", "", function(
|
|
123
|
-
return i.call(h,
|
|
121
|
+
var v = [], g = 0;
|
|
122
|
+
return fe(n, v, "", "", function(b) {
|
|
123
|
+
return i.call(h, b, g++);
|
|
124
124
|
}), v;
|
|
125
125
|
}
|
|
126
126
|
function ce(n) {
|
|
@@ -136,7 +136,7 @@ function fn() {
|
|
|
136
136
|
return n._result.default;
|
|
137
137
|
throw n._result;
|
|
138
138
|
}
|
|
139
|
-
var
|
|
139
|
+
var S = { current: null }, _e = { transition: null }, xe = { ReactCurrentDispatcher: S, ReactCurrentBatchConfig: _e, ReactCurrentOwner: ie };
|
|
140
140
|
function u() {
|
|
141
141
|
throw Error("act(...) is not supported in production builds of React.");
|
|
142
142
|
}
|
|
@@ -157,39 +157,39 @@ 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 =
|
|
160
|
+
} }, q.Component = ee, q.Fragment = I, q.Profiler = P, q.PureComponent = X, q.StrictMode = R, q.Suspense = j, 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
|
-
var v =
|
|
163
|
+
var v = z({}, n.props), g = n.key, b = n.ref, _ = n._owner;
|
|
164
164
|
if (i != null) {
|
|
165
|
-
if (i.ref !== void 0 && (
|
|
165
|
+
if (i.ref !== void 0 && (b = i.ref, _ = ie.current), i.key !== void 0 && (g = "" + i.key), n.type && n.type.defaultProps)
|
|
166
166
|
var T = n.type.defaultProps;
|
|
167
|
-
for (
|
|
168
|
-
f.call(i,
|
|
167
|
+
for (x in i)
|
|
168
|
+
f.call(i, x) && !Ee.hasOwnProperty(x) && (v[x] = i[x] === void 0 && T !== void 0 ? T[x] : i[x]);
|
|
169
169
|
}
|
|
170
|
-
var
|
|
171
|
-
if (
|
|
170
|
+
var x = arguments.length - 2;
|
|
171
|
+
if (x === 1)
|
|
172
172
|
v.children = h;
|
|
173
|
-
else if (1 <
|
|
174
|
-
T = Array(
|
|
175
|
-
for (var A = 0; A <
|
|
173
|
+
else if (1 < x) {
|
|
174
|
+
T = Array(x);
|
|
175
|
+
for (var A = 0; A < x; A++)
|
|
176
176
|
T[A] = arguments[A + 2];
|
|
177
177
|
v.children = T;
|
|
178
178
|
}
|
|
179
|
-
return { $$typeof: c, type: n.type, key:
|
|
179
|
+
return { $$typeof: c, type: n.type, key: g, ref: b, props: v, _owner: _ };
|
|
180
180
|
}, q.createContext = function(n) {
|
|
181
|
-
return n = { $$typeof:
|
|
181
|
+
return n = { $$typeof: L, _currentValue: n, _currentValue2: n, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, n.Provider = { $$typeof: E, _context: n }, n.Consumer = n;
|
|
182
182
|
}, q.createElement = we, q.createFactory = function(n) {
|
|
183
183
|
var i = we.bind(null, n);
|
|
184
184
|
return i.type = n, i;
|
|
185
185
|
}, q.createRef = function() {
|
|
186
186
|
return { current: null };
|
|
187
187
|
}, q.forwardRef = function(n) {
|
|
188
|
-
return { $$typeof:
|
|
188
|
+
return { $$typeof: w, render: n };
|
|
189
189
|
}, q.isValidElement = Te, q.lazy = function(n) {
|
|
190
|
-
return { $$typeof:
|
|
190
|
+
return { $$typeof: O, _payload: { _status: -1, _result: n }, _init: ce };
|
|
191
191
|
}, q.memo = function(n, i) {
|
|
192
|
-
return { $$typeof:
|
|
192
|
+
return { $$typeof: F, type: n, compare: i === void 0 ? null : i };
|
|
193
193
|
}, q.startTransition = function(n) {
|
|
194
194
|
var i = _e.transition;
|
|
195
195
|
_e.transition = {};
|
|
@@ -199,37 +199,37 @@ function fn() {
|
|
|
199
199
|
_e.transition = i;
|
|
200
200
|
}
|
|
201
201
|
}, q.unstable_act = u, q.useCallback = function(n, i) {
|
|
202
|
-
return
|
|
202
|
+
return S.current.useCallback(n, i);
|
|
203
203
|
}, q.useContext = function(n) {
|
|
204
|
-
return
|
|
204
|
+
return S.current.useContext(n);
|
|
205
205
|
}, q.useDebugValue = function() {
|
|
206
206
|
}, q.useDeferredValue = function(n) {
|
|
207
|
-
return
|
|
207
|
+
return S.current.useDeferredValue(n);
|
|
208
208
|
}, q.useEffect = function(n, i) {
|
|
209
|
-
return
|
|
209
|
+
return S.current.useEffect(n, i);
|
|
210
210
|
}, q.useId = function() {
|
|
211
|
-
return
|
|
211
|
+
return S.current.useId();
|
|
212
212
|
}, q.useImperativeHandle = function(n, i, h) {
|
|
213
|
-
return
|
|
213
|
+
return S.current.useImperativeHandle(n, i, h);
|
|
214
214
|
}, q.useInsertionEffect = function(n, i) {
|
|
215
|
-
return
|
|
215
|
+
return S.current.useInsertionEffect(n, i);
|
|
216
216
|
}, q.useLayoutEffect = function(n, i) {
|
|
217
|
-
return
|
|
217
|
+
return S.current.useLayoutEffect(n, i);
|
|
218
218
|
}, q.useMemo = function(n, i) {
|
|
219
|
-
return
|
|
219
|
+
return S.current.useMemo(n, i);
|
|
220
220
|
}, q.useReducer = function(n, i, h) {
|
|
221
|
-
return
|
|
221
|
+
return S.current.useReducer(n, i, h);
|
|
222
222
|
}, q.useRef = function(n) {
|
|
223
|
-
return
|
|
223
|
+
return S.current.useRef(n);
|
|
224
224
|
}, q.useState = function(n) {
|
|
225
|
-
return
|
|
225
|
+
return S.current.useState(n);
|
|
226
226
|
}, q.useSyncExternalStore = function(n, i, h) {
|
|
227
|
-
return
|
|
227
|
+
return S.current.useSyncExternalStore(n, i, h);
|
|
228
228
|
}, q.useTransition = function() {
|
|
229
|
-
return
|
|
229
|
+
return S.current.useTransition();
|
|
230
230
|
}, q.version = "18.3.1", q;
|
|
231
231
|
}
|
|
232
|
-
var
|
|
232
|
+
var ar = { exports: {} };
|
|
233
233
|
/**
|
|
234
234
|
* @license React
|
|
235
235
|
* react.development.js
|
|
@@ -239,17 +239,17 @@ var or = { exports: {} };
|
|
|
239
239
|
* This source code is licensed under the MIT license found in the
|
|
240
240
|
* LICENSE file in the root directory of this source tree.
|
|
241
241
|
*/
|
|
242
|
-
|
|
242
|
+
ar.exports;
|
|
243
243
|
var Ot;
|
|
244
244
|
function dn() {
|
|
245
245
|
return Ot || (Ot = 1, function(c, p) {
|
|
246
246
|
process.env.NODE_ENV !== "production" && function() {
|
|
247
247
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
248
|
-
var I = "18.3.1", R = Symbol.for("react.element"),
|
|
249
|
-
function
|
|
248
|
+
var I = "18.3.1", R = Symbol.for("react.element"), P = Symbol.for("react.portal"), E = Symbol.for("react.fragment"), L = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), F = Symbol.for("react.context"), O = Symbol.for("react.forward_ref"), $ = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), U = Symbol.for("react.memo"), z = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), ee = Symbol.iterator, ne = "@@iterator";
|
|
249
|
+
function X(e) {
|
|
250
250
|
if (e === null || typeof e != "object")
|
|
251
251
|
return null;
|
|
252
|
-
var r =
|
|
252
|
+
var r = ee && e[ee] || e[ne];
|
|
253
253
|
return typeof r == "function" ? r : null;
|
|
254
254
|
}
|
|
255
255
|
var te = {
|
|
@@ -258,7 +258,7 @@ function dn() {
|
|
|
258
258
|
* @type {ReactComponent}
|
|
259
259
|
*/
|
|
260
260
|
current: null
|
|
261
|
-
},
|
|
261
|
+
}, K = {
|
|
262
262
|
transition: null
|
|
263
263
|
}, f = {
|
|
264
264
|
current: null,
|
|
@@ -285,7 +285,7 @@ function dn() {
|
|
|
285
285
|
};
|
|
286
286
|
var Te = !1, Oe = !1, Se = !1, pe = !1, fe = !1, de = {
|
|
287
287
|
ReactCurrentDispatcher: te,
|
|
288
|
-
ReactCurrentBatchConfig:
|
|
288
|
+
ReactCurrentBatchConfig: K,
|
|
289
289
|
ReactCurrentOwner: ie
|
|
290
290
|
};
|
|
291
291
|
de.ReactDebugCurrentFrame = Ee, de.ReactCurrentActQueue = f;
|
|
@@ -296,7 +296,7 @@ function dn() {
|
|
|
296
296
|
_e("warn", e, a);
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function S(e) {
|
|
300
300
|
{
|
|
301
301
|
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
|
|
302
302
|
a[o - 1] = arguments[o];
|
|
@@ -307,10 +307,10 @@ function dn() {
|
|
|
307
307
|
{
|
|
308
308
|
var o = de.ReactDebugCurrentFrame, d = o.getStackAddendum();
|
|
309
309
|
d !== "" && (r += "%s", a = a.concat([d]));
|
|
310
|
-
var
|
|
311
|
-
return String(
|
|
310
|
+
var D = a.map(function(C) {
|
|
311
|
+
return String(C);
|
|
312
312
|
});
|
|
313
|
-
|
|
313
|
+
D.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, D);
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
var xe = {};
|
|
@@ -319,7 +319,7 @@ function dn() {
|
|
|
319
319
|
var a = e.constructor, o = a && (a.displayName || a.name) || "ReactClass", d = o + "." + r;
|
|
320
320
|
if (xe[d])
|
|
321
321
|
return;
|
|
322
|
-
|
|
322
|
+
S("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", r, o), xe[d] = !0;
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
var n = {
|
|
@@ -395,27 +395,27 @@ function dn() {
|
|
|
395
395
|
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
|
|
396
396
|
};
|
|
397
397
|
{
|
|
398
|
-
var
|
|
398
|
+
var g = {
|
|
399
399
|
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
|
|
400
400
|
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
|
|
401
|
-
},
|
|
401
|
+
}, b = function(e, r) {
|
|
402
402
|
Object.defineProperty(v.prototype, e, {
|
|
403
403
|
get: function() {
|
|
404
404
|
ce("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
|
|
405
405
|
}
|
|
406
406
|
});
|
|
407
407
|
};
|
|
408
|
-
for (var
|
|
409
|
-
|
|
408
|
+
for (var _ in g)
|
|
409
|
+
g.hasOwnProperty(_) && b(_, g[_]);
|
|
410
410
|
}
|
|
411
411
|
function T() {
|
|
412
412
|
}
|
|
413
413
|
T.prototype = v.prototype;
|
|
414
|
-
function
|
|
414
|
+
function x(e, r, a) {
|
|
415
415
|
this.props = e, this.context = r, this.refs = h, this.updater = a || n;
|
|
416
416
|
}
|
|
417
|
-
var A =
|
|
418
|
-
A.constructor =
|
|
417
|
+
var A = x.prototype = new T();
|
|
418
|
+
A.constructor = x, i(A, v.prototype), A.isPureReactComponent = !0;
|
|
419
419
|
function ye() {
|
|
420
420
|
var e = {
|
|
421
421
|
current: null
|
|
@@ -434,66 +434,66 @@ function dn() {
|
|
|
434
434
|
}
|
|
435
435
|
function Pe(e) {
|
|
436
436
|
try {
|
|
437
|
-
return
|
|
437
|
+
return Fe(e), !1;
|
|
438
438
|
} catch {
|
|
439
439
|
return !0;
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
-
function
|
|
442
|
+
function Fe(e) {
|
|
443
443
|
return "" + e;
|
|
444
444
|
}
|
|
445
445
|
function Ne(e) {
|
|
446
446
|
if (Pe(e))
|
|
447
|
-
return
|
|
447
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", $e(e)), Fe(e);
|
|
448
448
|
}
|
|
449
|
-
function
|
|
449
|
+
function or(e, r, a) {
|
|
450
450
|
var o = e.displayName;
|
|
451
451
|
if (o)
|
|
452
452
|
return o;
|
|
453
453
|
var d = r.displayName || r.name || "";
|
|
454
454
|
return d !== "" ? a + "(" + d + ")" : a;
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function Ye(e) {
|
|
457
457
|
return e.displayName || "Context";
|
|
458
458
|
}
|
|
459
459
|
function je(e) {
|
|
460
460
|
if (e == null)
|
|
461
461
|
return null;
|
|
462
|
-
if (typeof e.tag == "number" &&
|
|
462
|
+
if (typeof e.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
463
463
|
return e.displayName || e.name || null;
|
|
464
464
|
if (typeof e == "string")
|
|
465
465
|
return e;
|
|
466
466
|
switch (e) {
|
|
467
|
-
case
|
|
467
|
+
case E:
|
|
468
468
|
return "Fragment";
|
|
469
|
-
case
|
|
469
|
+
case P:
|
|
470
470
|
return "Portal";
|
|
471
|
-
case
|
|
471
|
+
case w:
|
|
472
472
|
return "Profiler";
|
|
473
|
-
case
|
|
473
|
+
case L:
|
|
474
474
|
return "StrictMode";
|
|
475
|
-
case
|
|
475
|
+
case $:
|
|
476
476
|
return "Suspense";
|
|
477
|
-
case
|
|
477
|
+
case k:
|
|
478
478
|
return "SuspenseList";
|
|
479
479
|
}
|
|
480
480
|
if (typeof e == "object")
|
|
481
481
|
switch (e.$$typeof) {
|
|
482
|
-
case
|
|
482
|
+
case F:
|
|
483
483
|
var r = e;
|
|
484
|
-
return
|
|
485
|
-
case
|
|
484
|
+
return Ye(r) + ".Consumer";
|
|
485
|
+
case j:
|
|
486
486
|
var a = e;
|
|
487
|
-
return
|
|
488
|
-
case
|
|
489
|
-
return
|
|
490
|
-
case
|
|
487
|
+
return Ye(a._context) + ".Provider";
|
|
488
|
+
case O:
|
|
489
|
+
return or(e, e.render, "ForwardRef");
|
|
490
|
+
case U:
|
|
491
491
|
var o = e.displayName || null;
|
|
492
492
|
return o !== null ? o : je(e.type) || "Memo";
|
|
493
|
-
case
|
|
494
|
-
var d = e,
|
|
493
|
+
case z: {
|
|
494
|
+
var d = e, D = d._payload, C = d._init;
|
|
495
495
|
try {
|
|
496
|
-
return je(
|
|
496
|
+
return je(C(D));
|
|
497
497
|
} catch {
|
|
498
498
|
return null;
|
|
499
499
|
}
|
|
@@ -501,23 +501,23 @@ function dn() {
|
|
|
501
501
|
}
|
|
502
502
|
return null;
|
|
503
503
|
}
|
|
504
|
-
var
|
|
504
|
+
var We = Object.prototype.hasOwnProperty, Be = {
|
|
505
505
|
key: !0,
|
|
506
506
|
ref: !0,
|
|
507
507
|
__self: !0,
|
|
508
508
|
__source: !0
|
|
509
|
-
},
|
|
509
|
+
}, ir, sr, He;
|
|
510
510
|
He = {};
|
|
511
|
-
function
|
|
512
|
-
if (
|
|
511
|
+
function Ze(e) {
|
|
512
|
+
if (We.call(e, "ref")) {
|
|
513
513
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
514
514
|
if (r && r.isReactWarning)
|
|
515
515
|
return !1;
|
|
516
516
|
}
|
|
517
517
|
return e.ref !== void 0;
|
|
518
518
|
}
|
|
519
|
-
function
|
|
520
|
-
if (
|
|
519
|
+
function Ie(e) {
|
|
520
|
+
if (We.call(e, "key")) {
|
|
521
521
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
522
522
|
if (r && r.isReactWarning)
|
|
523
523
|
return !1;
|
|
@@ -526,29 +526,29 @@ function dn() {
|
|
|
526
526
|
}
|
|
527
527
|
function Sr(e, r) {
|
|
528
528
|
var a = function() {
|
|
529
|
-
|
|
529
|
+
ir || (ir = !0, S("%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,
|
|
533
533
|
configurable: !0
|
|
534
534
|
});
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function ur(e, r) {
|
|
537
537
|
var a = function() {
|
|
538
|
-
|
|
538
|
+
sr || (sr = !0, S("%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,
|
|
542
542
|
configurable: !0
|
|
543
543
|
});
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function cr(e) {
|
|
546
546
|
if (typeof e.ref == "string" && ie.current && e.__self && ie.current.stateNode !== e.__self) {
|
|
547
547
|
var r = je(ie.current.type);
|
|
548
|
-
He[r] || (
|
|
548
|
+
He[r] || (S('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', r, e.ref), He[r] = !0);
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
var Ue = function(e, r, a, o, d,
|
|
551
|
+
var Ue = function(e, r, a, o, d, D, C) {
|
|
552
552
|
var N = {
|
|
553
553
|
// This tag allows us to uniquely identify this as a React Element
|
|
554
554
|
$$typeof: R,
|
|
@@ -556,9 +556,9 @@ function dn() {
|
|
|
556
556
|
type: e,
|
|
557
557
|
key: r,
|
|
558
558
|
ref: a,
|
|
559
|
-
props:
|
|
559
|
+
props: C,
|
|
560
560
|
// Record the component responsible for creating this element.
|
|
561
|
-
_owner:
|
|
561
|
+
_owner: D
|
|
562
562
|
};
|
|
563
563
|
return N._store = {}, Object.defineProperty(N._store, "validated", {
|
|
564
564
|
configurable: !1,
|
|
@@ -578,17 +578,17 @@ function dn() {
|
|
|
578
578
|
}), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
|
|
579
579
|
};
|
|
580
580
|
function xr(e, r, a) {
|
|
581
|
-
var o, d = {},
|
|
581
|
+
var o, d = {}, D = null, C = null, N = null, H = null;
|
|
582
582
|
if (r != null) {
|
|
583
|
-
|
|
583
|
+
Ze(r) && (C = r.ref, cr(r)), Ie(r) && (Ne(r.key), D = "" + r.key), N = r.__self === void 0 ? null : r.__self, H = r.__source === void 0 ? null : r.__source;
|
|
584
584
|
for (o in r)
|
|
585
|
-
|
|
585
|
+
We.call(r, o) && !Be.hasOwnProperty(o) && (d[o] = r[o]);
|
|
586
586
|
}
|
|
587
|
-
var
|
|
588
|
-
if (
|
|
587
|
+
var re = arguments.length - 2;
|
|
588
|
+
if (re === 1)
|
|
589
589
|
d.children = a;
|
|
590
|
-
else if (
|
|
591
|
-
for (var ae = Array(
|
|
590
|
+
else if (re > 1) {
|
|
591
|
+
for (var ae = Array(re), oe = 0; oe < re; oe++)
|
|
592
592
|
ae[oe] = arguments[oe + 2];
|
|
593
593
|
Object.freeze && Object.freeze(ae), d.children = ae;
|
|
594
594
|
}
|
|
@@ -597,11 +597,11 @@ function dn() {
|
|
|
597
597
|
for (o in ue)
|
|
598
598
|
d[o] === void 0 && (d[o] = ue[o]);
|
|
599
599
|
}
|
|
600
|
-
if (
|
|
600
|
+
if (D || C) {
|
|
601
601
|
var ve = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
602
|
-
|
|
602
|
+
D && Sr(d, ve), C && ur(d, ve);
|
|
603
603
|
}
|
|
604
|
-
return Ue(e,
|
|
604
|
+
return Ue(e, D, C, N, H, ie.current, d);
|
|
605
605
|
}
|
|
606
606
|
function Or(e, r) {
|
|
607
607
|
var a = Ue(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
|
|
@@ -610,13 +610,13 @@ function dn() {
|
|
|
610
610
|
function jr(e, r, a) {
|
|
611
611
|
if (e == null)
|
|
612
612
|
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
|
|
613
|
-
var o, d = i({}, e.props),
|
|
613
|
+
var o, d = i({}, e.props), D = e.key, C = e.ref, N = e._self, H = e._source, re = e._owner;
|
|
614
614
|
if (r != null) {
|
|
615
|
-
|
|
615
|
+
Ze(r) && (C = r.ref, re = ie.current), Ie(r) && (Ne(r.key), D = "" + r.key);
|
|
616
616
|
var ae;
|
|
617
617
|
e.type && e.type.defaultProps && (ae = e.type.defaultProps);
|
|
618
618
|
for (o in r)
|
|
619
|
-
|
|
619
|
+
We.call(r, o) && !Be.hasOwnProperty(o) && (r[o] === void 0 && ae !== void 0 ? d[o] = ae[o] : d[o] = r[o]);
|
|
620
620
|
}
|
|
621
621
|
var oe = arguments.length - 2;
|
|
622
622
|
if (oe === 1)
|
|
@@ -626,12 +626,12 @@ function dn() {
|
|
|
626
626
|
ue[ve] = arguments[ve + 2];
|
|
627
627
|
d.children = ue;
|
|
628
628
|
}
|
|
629
|
-
return Ue(e.type,
|
|
629
|
+
return Ue(e.type, D, C, N, H, re, d);
|
|
630
630
|
}
|
|
631
631
|
function De(e) {
|
|
632
632
|
return typeof e == "object" && e !== null && e.$$typeof === R;
|
|
633
633
|
}
|
|
634
|
-
var
|
|
634
|
+
var lr = ".", Pr = ":";
|
|
635
635
|
function kr(e) {
|
|
636
636
|
var r = /[=:]/g, a = {
|
|
637
637
|
"=": "=0",
|
|
@@ -641,65 +641,65 @@ function dn() {
|
|
|
641
641
|
});
|
|
642
642
|
return "$" + o;
|
|
643
643
|
}
|
|
644
|
-
var Ge = !1,
|
|
644
|
+
var Ge = !1, fr = /\/+/g;
|
|
645
645
|
function ke(e) {
|
|
646
|
-
return e.replace(
|
|
646
|
+
return e.replace(fr, "$&/");
|
|
647
647
|
}
|
|
648
648
|
function Ve(e, r) {
|
|
649
649
|
return typeof e == "object" && e !== null && e.key != null ? (Ne(e.key), kr("" + e.key)) : r.toString(36);
|
|
650
650
|
}
|
|
651
651
|
function Me(e, r, a, o, d) {
|
|
652
|
-
var
|
|
653
|
-
(
|
|
654
|
-
var
|
|
652
|
+
var D = typeof e;
|
|
653
|
+
(D === "undefined" || D === "boolean") && (e = null);
|
|
654
|
+
var C = !1;
|
|
655
655
|
if (e === null)
|
|
656
|
-
|
|
656
|
+
C = !0;
|
|
657
657
|
else
|
|
658
|
-
switch (
|
|
658
|
+
switch (D) {
|
|
659
659
|
case "string":
|
|
660
660
|
case "number":
|
|
661
|
-
|
|
661
|
+
C = !0;
|
|
662
662
|
break;
|
|
663
663
|
case "object":
|
|
664
664
|
switch (e.$$typeof) {
|
|
665
665
|
case R:
|
|
666
|
-
case
|
|
667
|
-
|
|
666
|
+
case P:
|
|
667
|
+
C = !0;
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
|
-
if (
|
|
671
|
-
var N = e,
|
|
672
|
-
if (he(
|
|
670
|
+
if (C) {
|
|
671
|
+
var N = e, H = d(N), re = o === "" ? lr + Ve(N, 0) : o;
|
|
672
|
+
if (he(H)) {
|
|
673
673
|
var ae = "";
|
|
674
|
-
|
|
674
|
+
re != null && (ae = ke(re) + "/"), Me(H, r, ae, "", function(cn) {
|
|
675
675
|
return cn;
|
|
676
676
|
});
|
|
677
677
|
} else
|
|
678
|
-
|
|
679
|
-
|
|
678
|
+
H != null && (De(H) && (H.key && (!N || N.key !== H.key) && Ne(H.key), H = Or(
|
|
679
|
+
H,
|
|
680
680
|
// Keep both the (mapped) and old keys if they differ, just as
|
|
681
681
|
// traverseAllChildren used to do for objects as children
|
|
682
682
|
a + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
|
|
683
|
-
(
|
|
683
|
+
(H.key && (!N || N.key !== H.key) ? (
|
|
684
684
|
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
|
685
685
|
// eslint-disable-next-line react-internal/safe-string-coercion
|
|
686
|
-
ke("" +
|
|
687
|
-
) : "") +
|
|
688
|
-
)), r.push(
|
|
686
|
+
ke("" + H.key) + "/"
|
|
687
|
+
) : "") + re
|
|
688
|
+
)), r.push(H));
|
|
689
689
|
return 1;
|
|
690
690
|
}
|
|
691
|
-
var oe, ue, ve = 0, ge = o === "" ?
|
|
691
|
+
var oe, ue, ve = 0, ge = o === "" ? lr : o + Pr;
|
|
692
692
|
if (he(e))
|
|
693
|
-
for (var
|
|
694
|
-
oe = e[
|
|
693
|
+
for (var wr = 0; wr < e.length; wr++)
|
|
694
|
+
oe = e[wr], ue = ge + Ve(oe, wr), ve += Me(oe, r, a, ue, d);
|
|
695
695
|
else {
|
|
696
|
-
var
|
|
697
|
-
if (typeof
|
|
696
|
+
var Br = X(e);
|
|
697
|
+
if (typeof Br == "function") {
|
|
698
698
|
var Ct = e;
|
|
699
|
-
|
|
700
|
-
for (var sn =
|
|
699
|
+
Br === Ct.entries && (Ge || ce("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Ge = !0);
|
|
700
|
+
for (var sn = Br.call(Ct), Tt, un = 0; !(Tt = sn.next()).done; )
|
|
701
701
|
oe = Tt.value, ue = ge + Ve(oe, un++), ve += Me(oe, r, a, ue, d);
|
|
702
|
-
} else if (
|
|
702
|
+
} else if (D === "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.");
|
|
705
705
|
}
|
|
@@ -710,8 +710,8 @@ function dn() {
|
|
|
710
710
|
if (e == null)
|
|
711
711
|
return e;
|
|
712
712
|
var o = [], d = 0;
|
|
713
|
-
return Me(e, o, "", "", function(
|
|
714
|
-
return r.call(a,
|
|
713
|
+
return Me(e, o, "", "", function(D) {
|
|
714
|
+
return r.call(a, D, d++);
|
|
715
715
|
}), o;
|
|
716
716
|
}
|
|
717
717
|
function Ar(e) {
|
|
@@ -720,7 +720,7 @@ function dn() {
|
|
|
720
720
|
r++;
|
|
721
721
|
}), r;
|
|
722
722
|
}
|
|
723
|
-
function
|
|
723
|
+
function dr(e, r, a) {
|
|
724
724
|
qe(e, function() {
|
|
725
725
|
r.apply(this, arguments);
|
|
726
726
|
}, a);
|
|
@@ -730,14 +730,14 @@ function dn() {
|
|
|
730
730
|
return r;
|
|
731
731
|
}) || [];
|
|
732
732
|
}
|
|
733
|
-
function
|
|
733
|
+
function pr(e) {
|
|
734
734
|
if (!De(e))
|
|
735
735
|
throw new Error("React.Children.only expected to receive a single React element child.");
|
|
736
736
|
return e;
|
|
737
737
|
}
|
|
738
|
-
function
|
|
738
|
+
function vr(e) {
|
|
739
739
|
var r = {
|
|
740
|
-
$$typeof:
|
|
740
|
+
$$typeof: F,
|
|
741
741
|
// As a workaround to support multiple concurrent renderers, we categorize
|
|
742
742
|
// some renderers as primary and others as secondary. We only expect
|
|
743
743
|
// there to be two concurrent renderers at most: React Native (primary) and
|
|
@@ -756,107 +756,107 @@ function dn() {
|
|
|
756
756
|
_globalName: null
|
|
757
757
|
};
|
|
758
758
|
r.Provider = {
|
|
759
|
-
$$typeof:
|
|
759
|
+
$$typeof: j,
|
|
760
760
|
_context: r
|
|
761
761
|
};
|
|
762
762
|
var a = !1, o = !1, d = !1;
|
|
763
763
|
{
|
|
764
|
-
var
|
|
765
|
-
$$typeof:
|
|
764
|
+
var D = {
|
|
765
|
+
$$typeof: F,
|
|
766
766
|
_context: r
|
|
767
767
|
};
|
|
768
|
-
Object.defineProperties(
|
|
768
|
+
Object.defineProperties(D, {
|
|
769
769
|
Provider: {
|
|
770
770
|
get: function() {
|
|
771
|
-
return o || (o = !0,
|
|
771
|
+
return o || (o = !0, S("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), r.Provider;
|
|
772
772
|
},
|
|
773
|
-
set: function(
|
|
774
|
-
r.Provider =
|
|
773
|
+
set: function(C) {
|
|
774
|
+
r.Provider = C;
|
|
775
775
|
}
|
|
776
776
|
},
|
|
777
777
|
_currentValue: {
|
|
778
778
|
get: function() {
|
|
779
779
|
return r._currentValue;
|
|
780
780
|
},
|
|
781
|
-
set: function(
|
|
782
|
-
r._currentValue =
|
|
781
|
+
set: function(C) {
|
|
782
|
+
r._currentValue = C;
|
|
783
783
|
}
|
|
784
784
|
},
|
|
785
785
|
_currentValue2: {
|
|
786
786
|
get: function() {
|
|
787
787
|
return r._currentValue2;
|
|
788
788
|
},
|
|
789
|
-
set: function(
|
|
790
|
-
r._currentValue2 =
|
|
789
|
+
set: function(C) {
|
|
790
|
+
r._currentValue2 = C;
|
|
791
791
|
}
|
|
792
792
|
},
|
|
793
793
|
_threadCount: {
|
|
794
794
|
get: function() {
|
|
795
795
|
return r._threadCount;
|
|
796
796
|
},
|
|
797
|
-
set: function(
|
|
798
|
-
r._threadCount =
|
|
797
|
+
set: function(C) {
|
|
798
|
+
r._threadCount = C;
|
|
799
799
|
}
|
|
800
800
|
},
|
|
801
801
|
Consumer: {
|
|
802
802
|
get: function() {
|
|
803
|
-
return a || (a = !0,
|
|
803
|
+
return a || (a = !0, S("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), r.Consumer;
|
|
804
804
|
}
|
|
805
805
|
},
|
|
806
806
|
displayName: {
|
|
807
807
|
get: function() {
|
|
808
808
|
return r.displayName;
|
|
809
809
|
},
|
|
810
|
-
set: function(
|
|
811
|
-
d || (ce("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",
|
|
810
|
+
set: function(C) {
|
|
811
|
+
d || (ce("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", C), d = !0);
|
|
812
812
|
}
|
|
813
813
|
}
|
|
814
|
-
}), r.Consumer =
|
|
814
|
+
}), r.Consumer = D;
|
|
815
815
|
}
|
|
816
816
|
return r._currentRenderer = null, r._currentRenderer2 = null, r;
|
|
817
817
|
}
|
|
818
|
-
var
|
|
819
|
-
function
|
|
820
|
-
if (e._status ===
|
|
818
|
+
var ze = -1, Xe = 0, Qe = 1, yr = 2;
|
|
819
|
+
function Fr(e) {
|
|
820
|
+
if (e._status === ze) {
|
|
821
821
|
var r = e._result, a = r();
|
|
822
|
-
if (a.then(function(
|
|
823
|
-
if (e._status ===
|
|
824
|
-
var
|
|
825
|
-
|
|
822
|
+
if (a.then(function(D) {
|
|
823
|
+
if (e._status === Xe || e._status === ze) {
|
|
824
|
+
var C = e;
|
|
825
|
+
C._status = Qe, C._result = D;
|
|
826
826
|
}
|
|
827
|
-
}, function(
|
|
828
|
-
if (e._status ===
|
|
829
|
-
var
|
|
830
|
-
|
|
827
|
+
}, function(D) {
|
|
828
|
+
if (e._status === Xe || e._status === ze) {
|
|
829
|
+
var C = e;
|
|
830
|
+
C._status = yr, C._result = D;
|
|
831
831
|
}
|
|
832
|
-
}), e._status ===
|
|
832
|
+
}), e._status === ze) {
|
|
833
833
|
var o = e;
|
|
834
|
-
o._status =
|
|
834
|
+
o._status = Xe, o._result = a;
|
|
835
835
|
}
|
|
836
836
|
}
|
|
837
|
-
if (e._status ===
|
|
837
|
+
if (e._status === Qe) {
|
|
838
838
|
var d = e._result;
|
|
839
|
-
return d === void 0 &&
|
|
839
|
+
return d === void 0 && S(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
840
840
|
|
|
841
841
|
Your code should look like:
|
|
842
842
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
843
843
|
|
|
844
|
-
Did you accidentally put curly braces around the import?`, d), "default" in d ||
|
|
844
|
+
Did you accidentally put curly braces around the import?`, d), "default" in d || S(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
845
845
|
|
|
846
846
|
Your code should look like:
|
|
847
847
|
const MyComponent = lazy(() => import('./MyComponent'))`, d), d.default;
|
|
848
848
|
} else
|
|
849
849
|
throw e._result;
|
|
850
850
|
}
|
|
851
|
-
function
|
|
851
|
+
function Ir(e) {
|
|
852
852
|
var r = {
|
|
853
853
|
// We use these fields to store the result.
|
|
854
|
-
_status:
|
|
854
|
+
_status: ze,
|
|
855
855
|
_result: e
|
|
856
856
|
}, a = {
|
|
857
|
-
$$typeof:
|
|
857
|
+
$$typeof: z,
|
|
858
858
|
_payload: r,
|
|
859
|
-
_init:
|
|
859
|
+
_init: Fr
|
|
860
860
|
};
|
|
861
861
|
{
|
|
862
862
|
var o, d;
|
|
@@ -866,8 +866,8 @@ Your code should look like:
|
|
|
866
866
|
get: function() {
|
|
867
867
|
return o;
|
|
868
868
|
},
|
|
869
|
-
set: function(
|
|
870
|
-
|
|
869
|
+
set: function(D) {
|
|
870
|
+
S("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), o = D, Object.defineProperty(a, "defaultProps", {
|
|
871
871
|
enumerable: !0
|
|
872
872
|
});
|
|
873
873
|
}
|
|
@@ -877,8 +877,8 @@ Your code should look like:
|
|
|
877
877
|
get: function() {
|
|
878
878
|
return d;
|
|
879
879
|
},
|
|
880
|
-
set: function(
|
|
881
|
-
|
|
880
|
+
set: function(D) {
|
|
881
|
+
S("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), d = D, Object.defineProperty(a, "propTypes", {
|
|
882
882
|
enumerable: !0
|
|
883
883
|
});
|
|
884
884
|
}
|
|
@@ -888,9 +888,9 @@ Your code should look like:
|
|
|
888
888
|
return a;
|
|
889
889
|
}
|
|
890
890
|
function Dr(e) {
|
|
891
|
-
e != null && e.$$typeof ===
|
|
891
|
+
e != null && e.$$typeof === U ? S("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? S("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && S("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), e != null && (e.defaultProps != null || e.propTypes != null) && S("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
|
|
892
892
|
var r = {
|
|
893
|
-
$$typeof:
|
|
893
|
+
$$typeof: O,
|
|
894
894
|
render: e
|
|
895
895
|
};
|
|
896
896
|
{
|
|
@@ -908,19 +908,19 @@ Your code should look like:
|
|
|
908
908
|
}
|
|
909
909
|
return r;
|
|
910
910
|
}
|
|
911
|
-
var
|
|
912
|
-
|
|
911
|
+
var hr;
|
|
912
|
+
hr = Symbol.for("react.module.reference");
|
|
913
913
|
function t(e) {
|
|
914
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
914
|
+
return !!(typeof e == "string" || typeof e == "function" || e === E || e === w || fe || e === L || e === $ || e === k || pe || e === Y || Te || Oe || Se || typeof e == "object" && e !== null && (e.$$typeof === z || e.$$typeof === U || e.$$typeof === j || e.$$typeof === F || e.$$typeof === O || // This needs to include all possible module reference object
|
|
915
915
|
// types supported by any Flight configuration anywhere since
|
|
916
916
|
// we don't know which Flight build this will end up being used
|
|
917
917
|
// with.
|
|
918
|
-
e.$$typeof ===
|
|
918
|
+
e.$$typeof === hr || e.getModuleId !== void 0));
|
|
919
919
|
}
|
|
920
920
|
function s(e, r) {
|
|
921
|
-
t(e) ||
|
|
921
|
+
t(e) || S("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
|
|
922
922
|
var a = {
|
|
923
|
-
$$typeof:
|
|
923
|
+
$$typeof: U,
|
|
924
924
|
type: e,
|
|
925
925
|
compare: r === void 0 ? null : r
|
|
926
926
|
};
|
|
@@ -941,25 +941,25 @@ Your code should look like:
|
|
|
941
941
|
}
|
|
942
942
|
function l() {
|
|
943
943
|
var e = te.current;
|
|
944
|
-
return e === null &&
|
|
944
|
+
return e === null && S(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
945
945
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
946
946
|
2. You might be breaking the Rules of Hooks
|
|
947
947
|
3. You might have more than one copy of React in the same app
|
|
948
948
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
|
|
949
949
|
}
|
|
950
|
-
function
|
|
950
|
+
function M(e) {
|
|
951
951
|
var r = l();
|
|
952
952
|
if (e._context !== void 0) {
|
|
953
953
|
var a = e._context;
|
|
954
|
-
a.Consumer === e ?
|
|
954
|
+
a.Consumer === e ? S("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : a.Provider === e && S("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
|
|
955
955
|
}
|
|
956
956
|
return r.useContext(e);
|
|
957
957
|
}
|
|
958
|
-
function
|
|
958
|
+
function G(e) {
|
|
959
959
|
var r = l();
|
|
960
960
|
return r.useState(e);
|
|
961
961
|
}
|
|
962
|
-
function
|
|
962
|
+
function Q(e, r, a) {
|
|
963
963
|
var o = l();
|
|
964
964
|
return o.useReducer(e, r, a);
|
|
965
965
|
}
|
|
@@ -1001,7 +1001,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1001
1001
|
var e = l();
|
|
1002
1002
|
return e.useTransition();
|
|
1003
1003
|
}
|
|
1004
|
-
function
|
|
1004
|
+
function er(e) {
|
|
1005
1005
|
var r = l();
|
|
1006
1006
|
return r.useDeferredValue(e);
|
|
1007
1007
|
}
|
|
@@ -1013,13 +1013,13 @@ 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
|
|
1016
|
+
var rr = 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
|
-
if (
|
|
1022
|
+
if (rr === 0) {
|
|
1023
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,
|
|
@@ -1037,12 +1037,12 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1037
1037
|
groupEnd: e
|
|
1038
1038
|
});
|
|
1039
1039
|
}
|
|
1040
|
-
|
|
1040
|
+
rr++;
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
function Vt() {
|
|
1044
1044
|
{
|
|
1045
|
-
if (
|
|
1045
|
+
if (rr--, rr === 0) {
|
|
1046
1046
|
var e = {
|
|
1047
1047
|
configurable: !0,
|
|
1048
1048
|
enumerable: !0,
|
|
@@ -1072,65 +1072,65 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1072
1072
|
})
|
|
1073
1073
|
});
|
|
1074
1074
|
}
|
|
1075
|
-
|
|
1075
|
+
rr < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1076
1076
|
}
|
|
1077
1077
|
}
|
|
1078
|
-
var Nr = de.ReactCurrentDispatcher,
|
|
1079
|
-
function
|
|
1078
|
+
var Nr = de.ReactCurrentDispatcher, Yr;
|
|
1079
|
+
function mr(e, r, a) {
|
|
1080
1080
|
{
|
|
1081
|
-
if (
|
|
1081
|
+
if (Yr === void 0)
|
|
1082
1082
|
try {
|
|
1083
1083
|
throw Error();
|
|
1084
1084
|
} catch (d) {
|
|
1085
1085
|
var o = d.stack.trim().match(/\n( *(at )?)/);
|
|
1086
|
-
|
|
1086
|
+
Yr = o && o[1] || "";
|
|
1087
1087
|
}
|
|
1088
1088
|
return `
|
|
1089
|
-
` +
|
|
1089
|
+
` + Yr + e;
|
|
1090
1090
|
}
|
|
1091
1091
|
}
|
|
1092
|
-
var
|
|
1092
|
+
var Wr = !1, gr;
|
|
1093
1093
|
{
|
|
1094
1094
|
var qt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1095
|
-
|
|
1095
|
+
gr = new qt();
|
|
1096
1096
|
}
|
|
1097
1097
|
function ft(e, r) {
|
|
1098
|
-
if (!e ||
|
|
1098
|
+
if (!e || Wr)
|
|
1099
1099
|
return "";
|
|
1100
1100
|
{
|
|
1101
|
-
var a =
|
|
1101
|
+
var a = gr.get(e);
|
|
1102
1102
|
if (a !== void 0)
|
|
1103
1103
|
return a;
|
|
1104
1104
|
}
|
|
1105
1105
|
var o;
|
|
1106
|
-
|
|
1106
|
+
Wr = !0;
|
|
1107
1107
|
var d = Error.prepareStackTrace;
|
|
1108
1108
|
Error.prepareStackTrace = void 0;
|
|
1109
|
-
var
|
|
1110
|
-
|
|
1109
|
+
var D;
|
|
1110
|
+
D = Nr.current, Nr.current = null, Ut();
|
|
1111
1111
|
try {
|
|
1112
1112
|
if (r) {
|
|
1113
|
-
var
|
|
1113
|
+
var C = function() {
|
|
1114
1114
|
throw Error();
|
|
1115
1115
|
};
|
|
1116
|
-
if (Object.defineProperty(
|
|
1116
|
+
if (Object.defineProperty(C.prototype, "props", {
|
|
1117
1117
|
set: function() {
|
|
1118
1118
|
throw Error();
|
|
1119
1119
|
}
|
|
1120
1120
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1121
1121
|
try {
|
|
1122
|
-
Reflect.construct(
|
|
1122
|
+
Reflect.construct(C, []);
|
|
1123
1123
|
} catch (ge) {
|
|
1124
1124
|
o = ge;
|
|
1125
1125
|
}
|
|
1126
|
-
Reflect.construct(e, [],
|
|
1126
|
+
Reflect.construct(e, [], C);
|
|
1127
1127
|
} else {
|
|
1128
1128
|
try {
|
|
1129
|
-
|
|
1129
|
+
C.call();
|
|
1130
1130
|
} catch (ge) {
|
|
1131
1131
|
o = ge;
|
|
1132
1132
|
}
|
|
1133
|
-
e.call(
|
|
1133
|
+
e.call(C.prototype);
|
|
1134
1134
|
}
|
|
1135
1135
|
} else {
|
|
1136
1136
|
try {
|
|
@@ -1143,58 +1143,58 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1143
1143
|
} catch (ge) {
|
|
1144
1144
|
if (ge && o && typeof ge.stack == "string") {
|
|
1145
1145
|
for (var N = ge.stack.split(`
|
|
1146
|
-
`),
|
|
1147
|
-
`),
|
|
1146
|
+
`), H = o.stack.split(`
|
|
1147
|
+
`), re = N.length - 1, ae = H.length - 1; re >= 1 && ae >= 0 && N[re] !== H[ae]; )
|
|
1148
1148
|
ae--;
|
|
1149
|
-
for (;
|
|
1150
|
-
if (N[
|
|
1151
|
-
if (
|
|
1149
|
+
for (; re >= 1 && ae >= 0; re--, ae--)
|
|
1150
|
+
if (N[re] !== H[ae]) {
|
|
1151
|
+
if (re !== 1 || ae !== 1)
|
|
1152
1152
|
do
|
|
1153
|
-
if (
|
|
1153
|
+
if (re--, ae--, ae < 0 || N[re] !== H[ae]) {
|
|
1154
1154
|
var oe = `
|
|
1155
|
-
` + N[
|
|
1156
|
-
return e.displayName && oe.includes("<anonymous>") && (oe = oe.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
1155
|
+
` + N[re].replace(" at new ", " at ");
|
|
1156
|
+
return e.displayName && oe.includes("<anonymous>") && (oe = oe.replace("<anonymous>", e.displayName)), typeof e == "function" && gr.set(e, oe), oe;
|
|
1157
1157
|
}
|
|
1158
|
-
while (
|
|
1158
|
+
while (re >= 1 && ae >= 0);
|
|
1159
1159
|
break;
|
|
1160
1160
|
}
|
|
1161
1161
|
}
|
|
1162
1162
|
} finally {
|
|
1163
|
-
|
|
1163
|
+
Wr = !1, Nr.current = D, Vt(), Error.prepareStackTrace = d;
|
|
1164
1164
|
}
|
|
1165
|
-
var ue = e ? e.displayName || e.name : "", ve = ue ?
|
|
1166
|
-
return typeof e == "function" &&
|
|
1165
|
+
var ue = e ? e.displayName || e.name : "", ve = ue ? mr(ue) : "";
|
|
1166
|
+
return typeof e == "function" && gr.set(e, ve), ve;
|
|
1167
1167
|
}
|
|
1168
|
-
function
|
|
1168
|
+
function zt(e, r, a) {
|
|
1169
1169
|
return ft(e, !1);
|
|
1170
1170
|
}
|
|
1171
|
-
function
|
|
1171
|
+
function Bt(e) {
|
|
1172
1172
|
var r = e.prototype;
|
|
1173
1173
|
return !!(r && r.isReactComponent);
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1175
|
+
function br(e, r, a) {
|
|
1176
1176
|
if (e == null)
|
|
1177
1177
|
return "";
|
|
1178
1178
|
if (typeof e == "function")
|
|
1179
|
-
return ft(e,
|
|
1179
|
+
return ft(e, Bt(e));
|
|
1180
1180
|
if (typeof e == "string")
|
|
1181
|
-
return
|
|
1181
|
+
return mr(e);
|
|
1182
1182
|
switch (e) {
|
|
1183
|
-
case
|
|
1184
|
-
return
|
|
1185
|
-
case
|
|
1186
|
-
return
|
|
1183
|
+
case $:
|
|
1184
|
+
return mr("Suspense");
|
|
1185
|
+
case k:
|
|
1186
|
+
return mr("SuspenseList");
|
|
1187
1187
|
}
|
|
1188
1188
|
if (typeof e == "object")
|
|
1189
1189
|
switch (e.$$typeof) {
|
|
1190
|
-
case
|
|
1191
|
-
return
|
|
1192
|
-
case
|
|
1193
|
-
return
|
|
1194
|
-
case
|
|
1195
|
-
var o = e, d = o._payload,
|
|
1190
|
+
case O:
|
|
1191
|
+
return zt(e.render);
|
|
1192
|
+
case U:
|
|
1193
|
+
return br(e.type, r, a);
|
|
1194
|
+
case z: {
|
|
1195
|
+
var o = e, d = o._payload, D = o._init;
|
|
1196
1196
|
try {
|
|
1197
|
-
return
|
|
1197
|
+
return br(D(d), r, a);
|
|
1198
1198
|
} catch {
|
|
1199
1199
|
}
|
|
1200
1200
|
}
|
|
@@ -1202,35 +1202,35 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1202
1202
|
return "";
|
|
1203
1203
|
}
|
|
1204
1204
|
var dt = {}, pt = de.ReactDebugCurrentFrame;
|
|
1205
|
-
function
|
|
1205
|
+
function _r(e) {
|
|
1206
1206
|
if (e) {
|
|
1207
|
-
var r = e._owner, a =
|
|
1207
|
+
var r = e._owner, a = br(e.type, e._source, r ? r.type : null);
|
|
1208
1208
|
pt.setExtraStackFrame(a);
|
|
1209
1209
|
} else
|
|
1210
1210
|
pt.setExtraStackFrame(null);
|
|
1211
1211
|
}
|
|
1212
1212
|
function Ht(e, r, a, o, d) {
|
|
1213
1213
|
{
|
|
1214
|
-
var
|
|
1215
|
-
for (var
|
|
1216
|
-
if (
|
|
1214
|
+
var D = Function.call.bind(We);
|
|
1215
|
+
for (var C in e)
|
|
1216
|
+
if (D(e, C)) {
|
|
1217
1217
|
var N = void 0;
|
|
1218
1218
|
try {
|
|
1219
|
-
if (typeof e[
|
|
1220
|
-
var
|
|
1221
|
-
throw
|
|
1219
|
+
if (typeof e[C] != "function") {
|
|
1220
|
+
var H = Error((o || "React class") + ": " + a + " type `" + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[C] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1221
|
+
throw H.name = "Invariant Violation", H;
|
|
1222
1222
|
}
|
|
1223
|
-
N = e[
|
|
1224
|
-
} catch (
|
|
1225
|
-
N =
|
|
1223
|
+
N = e[C](r, C, o, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1224
|
+
} catch (re) {
|
|
1225
|
+
N = re;
|
|
1226
1226
|
}
|
|
1227
|
-
N && !(N instanceof Error) && (
|
|
1227
|
+
N && !(N instanceof Error) && (_r(d), S("%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).", o || "React class", a, C, typeof N), _r(null)), N instanceof Error && !(N.message in dt) && (dt[N.message] = !0, _r(d), S("Failed %s type: %s", a, N.message), _r(null));
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
1231
1231
|
function Ke(e) {
|
|
1232
1232
|
if (e) {
|
|
1233
|
-
var r = e._owner, a =
|
|
1233
|
+
var r = e._owner, a = br(e.type, e._source, r ? r.type : null);
|
|
1234
1234
|
Ce(a);
|
|
1235
1235
|
} else
|
|
1236
1236
|
Ce(null);
|
|
@@ -1277,7 +1277,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1277
1277
|
if (!yt[a]) {
|
|
1278
1278
|
yt[a] = !0;
|
|
1279
1279
|
var o = "";
|
|
1280
|
-
e && e._owner && e._owner !== ie.current && (o = " It was passed a child from " + je(e._owner.type) + "."), Ke(e),
|
|
1280
|
+
e && e._owner && e._owner !== ie.current && (o = " It was passed a child from " + je(e._owner.type) + "."), Ke(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, o), Ke(null);
|
|
1281
1281
|
}
|
|
1282
1282
|
}
|
|
1283
1283
|
}
|
|
@@ -1291,10 +1291,10 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1291
1291
|
else if (De(e))
|
|
1292
1292
|
e._store && (e._store.validated = !0);
|
|
1293
1293
|
else if (e) {
|
|
1294
|
-
var d =
|
|
1294
|
+
var d = X(e);
|
|
1295
1295
|
if (typeof d == "function" && d !== e.entries)
|
|
1296
|
-
for (var
|
|
1297
|
-
De(
|
|
1296
|
+
for (var D = d.call(e), C; !(C = D.next()).done; )
|
|
1297
|
+
De(C.value) && ht(C.value, r);
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
1300
1300
|
}
|
|
@@ -1306,9 +1306,9 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1306
1306
|
var a;
|
|
1307
1307
|
if (typeof r == "function")
|
|
1308
1308
|
a = r.propTypes;
|
|
1309
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
1309
|
+
else if (typeof r == "object" && (r.$$typeof === O || // Note: Memo only checks outer props here.
|
|
1310
1310
|
// Inner props are checked in the reconciler.
|
|
1311
|
-
r.$$typeof ===
|
|
1311
|
+
r.$$typeof === U))
|
|
1312
1312
|
a = r.propTypes;
|
|
1313
1313
|
else
|
|
1314
1314
|
return;
|
|
@@ -1318,9 +1318,9 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1318
1318
|
} else if (r.PropTypes !== void 0 && !Ur) {
|
|
1319
1319
|
Ur = !0;
|
|
1320
1320
|
var d = je(r);
|
|
1321
|
-
|
|
1321
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
|
|
1322
1322
|
}
|
|
1323
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
1323
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1324
1324
|
}
|
|
1325
1325
|
}
|
|
1326
1326
|
function Zt(e) {
|
|
@@ -1328,11 +1328,11 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1328
1328
|
for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
|
|
1329
1329
|
var o = r[a];
|
|
1330
1330
|
if (o !== "children" && o !== "key") {
|
|
1331
|
-
Ke(e),
|
|
1331
|
+
Ke(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), Ke(null);
|
|
1332
1332
|
break;
|
|
1333
1333
|
}
|
|
1334
1334
|
}
|
|
1335
|
-
e.ref !== null && (Ke(e),
|
|
1335
|
+
e.ref !== null && (Ke(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), Ke(null));
|
|
1336
1336
|
}
|
|
1337
1337
|
}
|
|
1338
1338
|
function bt(e, r, a) {
|
|
@@ -1340,18 +1340,18 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1340
1340
|
if (!o) {
|
|
1341
1341
|
var d = "";
|
|
1342
1342
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1343
|
-
var
|
|
1344
|
-
|
|
1345
|
-
var
|
|
1346
|
-
e === null ?
|
|
1343
|
+
var D = Kt(r);
|
|
1344
|
+
D ? d += D : d += vt();
|
|
1345
|
+
var C;
|
|
1346
|
+
e === null ? C = "null" : he(e) ? C = "array" : e !== void 0 && e.$$typeof === R ? (C = "<" + (je(e.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : C = typeof e, S("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", C, d);
|
|
1347
1347
|
}
|
|
1348
1348
|
var N = xr.apply(this, arguments);
|
|
1349
1349
|
if (N == null)
|
|
1350
1350
|
return N;
|
|
1351
1351
|
if (o)
|
|
1352
|
-
for (var
|
|
1353
|
-
mt(arguments[
|
|
1354
|
-
return e ===
|
|
1352
|
+
for (var H = 2; H < arguments.length; H++)
|
|
1353
|
+
mt(arguments[H], e);
|
|
1354
|
+
return e === E ? Zt(N) : gt(N), N;
|
|
1355
1355
|
}
|
|
1356
1356
|
var _t = !1;
|
|
1357
1357
|
function Xt(e) {
|
|
@@ -1371,33 +1371,33 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1371
1371
|
return gt(o), o;
|
|
1372
1372
|
}
|
|
1373
1373
|
function en(e, r) {
|
|
1374
|
-
var a =
|
|
1375
|
-
|
|
1376
|
-
var o =
|
|
1377
|
-
|
|
1374
|
+
var a = K.transition;
|
|
1375
|
+
K.transition = {};
|
|
1376
|
+
var o = K.transition;
|
|
1377
|
+
K.transition._updatedFibers = /* @__PURE__ */ new Set();
|
|
1378
1378
|
try {
|
|
1379
1379
|
e();
|
|
1380
1380
|
} finally {
|
|
1381
|
-
if (
|
|
1381
|
+
if (K.transition = a, a === null && o._updatedFibers) {
|
|
1382
1382
|
var d = o._updatedFibers.size;
|
|
1383
1383
|
d > 10 && ce("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."), o._updatedFibers.clear();
|
|
1384
1384
|
}
|
|
1385
1385
|
}
|
|
1386
1386
|
}
|
|
1387
|
-
var Et = !1,
|
|
1387
|
+
var Et = !1, Er = null;
|
|
1388
1388
|
function rn(e) {
|
|
1389
|
-
if (
|
|
1389
|
+
if (Er === null)
|
|
1390
1390
|
try {
|
|
1391
1391
|
var r = ("require" + Math.random()).slice(0, 7), a = c && c[r];
|
|
1392
|
-
|
|
1392
|
+
Er = a.call(c, "timers").setImmediate;
|
|
1393
1393
|
} catch {
|
|
1394
|
-
|
|
1395
|
-
Et === !1 && (Et = !0, typeof MessageChannel > "u" &&
|
|
1396
|
-
var
|
|
1397
|
-
|
|
1394
|
+
Er = function(d) {
|
|
1395
|
+
Et === !1 && (Et = !0, typeof MessageChannel > "u" && S("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
|
|
1396
|
+
var D = new MessageChannel();
|
|
1397
|
+
D.port1.onmessage = d, D.port2.postMessage(void 0);
|
|
1398
1398
|
};
|
|
1399
1399
|
}
|
|
1400
|
-
return
|
|
1400
|
+
return Er(e);
|
|
1401
1401
|
}
|
|
1402
1402
|
var Je = 0, Rt = !1;
|
|
1403
1403
|
function wt(e) {
|
|
@@ -1408,42 +1408,42 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1408
1408
|
try {
|
|
1409
1409
|
if (f.isBatchingLegacy = !0, o = e(), !a && f.didScheduleLegacyUpdate) {
|
|
1410
1410
|
var d = f.current;
|
|
1411
|
-
d !== null && (f.didScheduleLegacyUpdate = !1,
|
|
1411
|
+
d !== null && (f.didScheduleLegacyUpdate = !1, zr(d));
|
|
1412
1412
|
}
|
|
1413
1413
|
} catch (ue) {
|
|
1414
|
-
throw
|
|
1414
|
+
throw Rr(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
|
-
var
|
|
1419
|
+
var D = o, C = !1, N = {
|
|
1420
1420
|
then: function(ue, ve) {
|
|
1421
|
-
|
|
1422
|
-
|
|
1421
|
+
C = !0, D.then(function(ge) {
|
|
1422
|
+
Rr(r), Je === 0 ? Vr(ge, ue, ve) : ue(ge);
|
|
1423
1423
|
}, function(ge) {
|
|
1424
|
-
|
|
1424
|
+
Rr(r), ve(ge);
|
|
1425
1425
|
});
|
|
1426
1426
|
}
|
|
1427
1427
|
};
|
|
1428
1428
|
return !Rt && typeof Promise < "u" && Promise.resolve().then(function() {
|
|
1429
1429
|
}).then(function() {
|
|
1430
|
-
|
|
1430
|
+
C || (Rt = !0, S("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
|
|
1431
1431
|
}), N;
|
|
1432
1432
|
} else {
|
|
1433
|
-
var
|
|
1434
|
-
if (
|
|
1435
|
-
var
|
|
1436
|
-
|
|
1433
|
+
var H = o;
|
|
1434
|
+
if (Rr(r), Je === 0) {
|
|
1435
|
+
var re = f.current;
|
|
1436
|
+
re !== null && (zr(re), f.current = null);
|
|
1437
1437
|
var ae = {
|
|
1438
1438
|
then: function(ue, ve) {
|
|
1439
|
-
f.current === null ? (f.current = [], Vr(
|
|
1439
|
+
f.current === null ? (f.current = [], Vr(H, ue, ve)) : ue(H);
|
|
1440
1440
|
}
|
|
1441
1441
|
};
|
|
1442
1442
|
return ae;
|
|
1443
1443
|
} else {
|
|
1444
1444
|
var oe = {
|
|
1445
1445
|
then: function(ue, ve) {
|
|
1446
|
-
ue(
|
|
1446
|
+
ue(H);
|
|
1447
1447
|
}
|
|
1448
1448
|
};
|
|
1449
1449
|
return oe;
|
|
@@ -1451,15 +1451,15 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1451
1451
|
}
|
|
1452
1452
|
}
|
|
1453
1453
|
}
|
|
1454
|
-
function
|
|
1455
|
-
e !== Je - 1 &&
|
|
1454
|
+
function Rr(e) {
|
|
1455
|
+
e !== Je - 1 && S("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), Je = e;
|
|
1456
1456
|
}
|
|
1457
1457
|
function Vr(e, r, a) {
|
|
1458
1458
|
{
|
|
1459
1459
|
var o = f.current;
|
|
1460
1460
|
if (o !== null)
|
|
1461
1461
|
try {
|
|
1462
|
-
|
|
1462
|
+
zr(o), rn(function() {
|
|
1463
1463
|
o.length === 0 ? (f.current = null, r(e)) : Vr(e, r, a);
|
|
1464
1464
|
});
|
|
1465
1465
|
} catch (d) {
|
|
@@ -1470,7 +1470,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1470
1470
|
}
|
|
1471
1471
|
}
|
|
1472
1472
|
var qr = !1;
|
|
1473
|
-
function
|
|
1473
|
+
function zr(e) {
|
|
1474
1474
|
if (!qr) {
|
|
1475
1475
|
qr = !0;
|
|
1476
1476
|
var r = 0;
|
|
@@ -1491,17 +1491,17 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1491
1491
|
}
|
|
1492
1492
|
var tn = bt, nn = Qt, an = Xt, on = {
|
|
1493
1493
|
map: qe,
|
|
1494
|
-
forEach:
|
|
1494
|
+
forEach: dr,
|
|
1495
1495
|
count: Ar,
|
|
1496
1496
|
toArray: $r,
|
|
1497
|
-
only:
|
|
1497
|
+
only: pr
|
|
1498
1498
|
};
|
|
1499
|
-
p.Children = on, p.Component = v, p.Fragment =
|
|
1499
|
+
p.Children = on, p.Component = v, p.Fragment = E, p.Profiler = w, p.PureComponent = x, p.StrictMode = L, p.Suspense = $, p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = de, p.act = wt, p.cloneElement = nn, p.createContext = vr, p.createElement = tn, p.createFactory = an, p.createRef = ye, p.forwardRef = Dr, p.isValidElement = De, p.lazy = Ir, p.memo = s, p.startTransition = en, p.unstable_act = wt, p.useCallback = le, p.useContext = M, p.useDebugValue = Ae, p.useDeferredValue = er, p.useEffect = V, p.useId = Mr, p.useImperativeHandle = Le, p.useInsertionEffect = me, p.useLayoutEffect = se, p.useMemo = Re, p.useReducer = Q, p.useRef = B, p.useState = G, 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
|
+
}(ar, ar.exports)), ar.exports;
|
|
1502
1502
|
}
|
|
1503
1503
|
process.env.NODE_ENV === "production" ? et.exports = fn() : et.exports = dn();
|
|
1504
|
-
var
|
|
1504
|
+
var Tr = et.exports;
|
|
1505
1505
|
/**
|
|
1506
1506
|
* @license React
|
|
1507
1507
|
* react-jsx-runtime.production.min.js
|
|
@@ -1514,22 +1514,22 @@ var Ze = et.exports;
|
|
|
1514
1514
|
var jt;
|
|
1515
1515
|
function pn() {
|
|
1516
1516
|
if (jt)
|
|
1517
|
-
return
|
|
1517
|
+
return tr;
|
|
1518
1518
|
jt = 1;
|
|
1519
|
-
var c =
|
|
1520
|
-
function
|
|
1521
|
-
var
|
|
1522
|
-
|
|
1523
|
-
for (
|
|
1524
|
-
R.call(
|
|
1525
|
-
if (
|
|
1526
|
-
for (
|
|
1527
|
-
|
|
1528
|
-
return { $$typeof: p, type:
|
|
1519
|
+
var c = Tr, p = Symbol.for("react.element"), I = Symbol.for("react.fragment"), R = Object.prototype.hasOwnProperty, P = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, E = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1520
|
+
function L(w, j, F) {
|
|
1521
|
+
var O, $ = {}, k = null, U = null;
|
|
1522
|
+
F !== void 0 && (k = "" + F), j.key !== void 0 && (k = "" + j.key), j.ref !== void 0 && (U = j.ref);
|
|
1523
|
+
for (O in j)
|
|
1524
|
+
R.call(j, O) && !E.hasOwnProperty(O) && ($[O] = j[O]);
|
|
1525
|
+
if (w && w.defaultProps)
|
|
1526
|
+
for (O in j = w.defaultProps, j)
|
|
1527
|
+
$[O] === void 0 && ($[O] = j[O]);
|
|
1528
|
+
return { $$typeof: p, type: w, key: k, ref: U, props: $, _owner: P.current };
|
|
1529
1529
|
}
|
|
1530
|
-
return
|
|
1530
|
+
return tr.Fragment = I, tr.jsx = L, tr.jsxs = L, tr;
|
|
1531
1531
|
}
|
|
1532
|
-
var
|
|
1532
|
+
var nr = {};
|
|
1533
1533
|
/**
|
|
1534
1534
|
* @license React
|
|
1535
1535
|
* react-jsx-runtime.development.js
|
|
@@ -1542,46 +1542,46 @@ var ar = {};
|
|
|
1542
1542
|
var Pt;
|
|
1543
1543
|
function vn() {
|
|
1544
1544
|
return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1545
|
-
var c =
|
|
1546
|
-
function
|
|
1545
|
+
var c = Tr, p = Symbol.for("react.element"), I = Symbol.for("react.portal"), R = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), E = Symbol.for("react.profiler"), L = Symbol.for("react.provider"), w = Symbol.for("react.context"), j = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), O = Symbol.for("react.suspense_list"), $ = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), U = Symbol.for("react.offscreen"), z = Symbol.iterator, Y = "@@iterator";
|
|
1546
|
+
function ee(t) {
|
|
1547
1547
|
if (t === null || typeof t != "object")
|
|
1548
1548
|
return null;
|
|
1549
|
-
var s =
|
|
1549
|
+
var s = z && t[z] || t[Y];
|
|
1550
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
|
-
function
|
|
1553
|
+
function X(t) {
|
|
1554
1554
|
{
|
|
1555
|
-
for (var s = arguments.length, l = new Array(s > 1 ? s - 1 : 0),
|
|
1556
|
-
l[
|
|
1555
|
+
for (var s = arguments.length, l = new Array(s > 1 ? s - 1 : 0), M = 1; M < s; M++)
|
|
1556
|
+
l[M - 1] = arguments[M];
|
|
1557
1557
|
te("error", t, l);
|
|
1558
1558
|
}
|
|
1559
1559
|
}
|
|
1560
1560
|
function te(t, s, l) {
|
|
1561
1561
|
{
|
|
1562
|
-
var
|
|
1563
|
-
|
|
1564
|
-
var
|
|
1562
|
+
var M = ne.ReactDebugCurrentFrame, G = M.getStackAddendum();
|
|
1563
|
+
G !== "" && (s += "%s", l = l.concat([G]));
|
|
1564
|
+
var Q = l.map(function(B) {
|
|
1565
1565
|
return String(B);
|
|
1566
1566
|
});
|
|
1567
|
-
|
|
1567
|
+
Q.unshift("Warning: " + s), Function.prototype.apply.call(console[t], console, Q);
|
|
1568
1568
|
}
|
|
1569
1569
|
}
|
|
1570
|
-
var
|
|
1570
|
+
var K = !1, f = !1, ie = !1, Ee = !1, we = !1, Ce;
|
|
1571
1571
|
Ce = Symbol.for("react.module.reference");
|
|
1572
1572
|
function Te(t) {
|
|
1573
|
-
return !!(typeof t == "string" || typeof t == "function" || t === R || t ===
|
|
1573
|
+
return !!(typeof t == "string" || typeof t == "function" || t === R || t === E || we || t === P || t === F || t === O || Ee || t === U || K || f || ie || typeof t == "object" && t !== null && (t.$$typeof === k || t.$$typeof === $ || t.$$typeof === L || t.$$typeof === w || t.$$typeof === j || // This needs to include all possible module reference object
|
|
1574
1574
|
// types supported by any Flight configuration anywhere since
|
|
1575
1575
|
// we don't know which Flight build this will end up being used
|
|
1576
1576
|
// with.
|
|
1577
1577
|
t.$$typeof === Ce || t.getModuleId !== void 0));
|
|
1578
1578
|
}
|
|
1579
1579
|
function Oe(t, s, l) {
|
|
1580
|
-
var
|
|
1581
|
-
if (
|
|
1582
|
-
return
|
|
1583
|
-
var
|
|
1584
|
-
return
|
|
1580
|
+
var M = t.displayName;
|
|
1581
|
+
if (M)
|
|
1582
|
+
return M;
|
|
1583
|
+
var G = s.displayName || s.name || "";
|
|
1584
|
+
return G !== "" ? l + "(" + G + ")" : l;
|
|
1585
1585
|
}
|
|
1586
1586
|
function Se(t) {
|
|
1587
1587
|
return t.displayName || "Context";
|
|
@@ -1589,7 +1589,7 @@ function vn() {
|
|
|
1589
1589
|
function pe(t) {
|
|
1590
1590
|
if (t == null)
|
|
1591
1591
|
return null;
|
|
1592
|
-
if (typeof t.tag == "number" &&
|
|
1592
|
+
if (typeof t.tag == "number" && X("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
1593
1593
|
return t.displayName || t.name || null;
|
|
1594
1594
|
if (typeof t == "string")
|
|
1595
1595
|
return t;
|
|
@@ -1598,32 +1598,32 @@ function vn() {
|
|
|
1598
1598
|
return "Fragment";
|
|
1599
1599
|
case I:
|
|
1600
1600
|
return "Portal";
|
|
1601
|
-
case
|
|
1601
|
+
case E:
|
|
1602
1602
|
return "Profiler";
|
|
1603
|
-
case
|
|
1603
|
+
case P:
|
|
1604
1604
|
return "StrictMode";
|
|
1605
|
-
case
|
|
1605
|
+
case F:
|
|
1606
1606
|
return "Suspense";
|
|
1607
|
-
case
|
|
1607
|
+
case O:
|
|
1608
1608
|
return "SuspenseList";
|
|
1609
1609
|
}
|
|
1610
1610
|
if (typeof t == "object")
|
|
1611
1611
|
switch (t.$$typeof) {
|
|
1612
|
-
case
|
|
1612
|
+
case w:
|
|
1613
1613
|
var s = t;
|
|
1614
1614
|
return Se(s) + ".Consumer";
|
|
1615
|
-
case
|
|
1615
|
+
case L:
|
|
1616
1616
|
var l = t;
|
|
1617
1617
|
return Se(l._context) + ".Provider";
|
|
1618
|
-
case
|
|
1618
|
+
case j:
|
|
1619
1619
|
return Oe(t, t.render, "ForwardRef");
|
|
1620
|
-
case
|
|
1621
|
-
var
|
|
1622
|
-
return
|
|
1623
|
-
case
|
|
1624
|
-
var
|
|
1620
|
+
case $:
|
|
1621
|
+
var M = t.displayName || null;
|
|
1622
|
+
return M !== null ? M : pe(t.type) || "Memo";
|
|
1623
|
+
case k: {
|
|
1624
|
+
var G = t, Q = G._payload, B = G._init;
|
|
1625
1625
|
try {
|
|
1626
|
-
return pe(B(
|
|
1626
|
+
return pe(B(Q));
|
|
1627
1627
|
} catch {
|
|
1628
1628
|
return null;
|
|
1629
1629
|
}
|
|
@@ -1631,14 +1631,14 @@ function vn() {
|
|
|
1631
1631
|
}
|
|
1632
1632
|
return null;
|
|
1633
1633
|
}
|
|
1634
|
-
var fe = Object.assign, de = 0, ce,
|
|
1634
|
+
var fe = Object.assign, de = 0, ce, S, _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,
|
|
1641
|
+
ce = console.log, S = 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,
|
|
@@ -1658,7 +1658,7 @@ function vn() {
|
|
|
1658
1658
|
de++;
|
|
1659
1659
|
}
|
|
1660
1660
|
}
|
|
1661
|
-
function
|
|
1661
|
+
function g() {
|
|
1662
1662
|
{
|
|
1663
1663
|
if (de--, de === 0) {
|
|
1664
1664
|
var t = {
|
|
@@ -1671,7 +1671,7 @@ function vn() {
|
|
|
1671
1671
|
value: ce
|
|
1672
1672
|
}),
|
|
1673
1673
|
info: fe({}, t, {
|
|
1674
|
-
value:
|
|
1674
|
+
value: S
|
|
1675
1675
|
}),
|
|
1676
1676
|
warn: fe({}, t, {
|
|
1677
1677
|
value: _e
|
|
@@ -1690,42 +1690,42 @@ function vn() {
|
|
|
1690
1690
|
})
|
|
1691
1691
|
});
|
|
1692
1692
|
}
|
|
1693
|
-
de < 0 &&
|
|
1693
|
+
de < 0 && X("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1694
1694
|
}
|
|
1695
1695
|
}
|
|
1696
|
-
var
|
|
1696
|
+
var b = ne.ReactCurrentDispatcher, _;
|
|
1697
1697
|
function T(t, s, l) {
|
|
1698
1698
|
{
|
|
1699
|
-
if (
|
|
1699
|
+
if (_ === void 0)
|
|
1700
1700
|
try {
|
|
1701
1701
|
throw Error();
|
|
1702
|
-
} catch (
|
|
1703
|
-
var
|
|
1704
|
-
|
|
1702
|
+
} catch (G) {
|
|
1703
|
+
var M = G.stack.trim().match(/\n( *(at )?)/);
|
|
1704
|
+
_ = M && M[1] || "";
|
|
1705
1705
|
}
|
|
1706
1706
|
return `
|
|
1707
|
-
` +
|
|
1707
|
+
` + _ + t;
|
|
1708
1708
|
}
|
|
1709
1709
|
}
|
|
1710
|
-
var
|
|
1710
|
+
var x = !1, A;
|
|
1711
1711
|
{
|
|
1712
1712
|
var ye = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1713
1713
|
A = new ye();
|
|
1714
1714
|
}
|
|
1715
1715
|
function m(t, s) {
|
|
1716
|
-
if (!t ||
|
|
1716
|
+
if (!t || x)
|
|
1717
1717
|
return "";
|
|
1718
1718
|
{
|
|
1719
1719
|
var l = A.get(t);
|
|
1720
1720
|
if (l !== void 0)
|
|
1721
1721
|
return l;
|
|
1722
1722
|
}
|
|
1723
|
-
var
|
|
1724
|
-
|
|
1725
|
-
var
|
|
1723
|
+
var M;
|
|
1724
|
+
x = !0;
|
|
1725
|
+
var G = Error.prepareStackTrace;
|
|
1726
1726
|
Error.prepareStackTrace = void 0;
|
|
1727
|
-
var
|
|
1728
|
-
|
|
1727
|
+
var Q;
|
|
1728
|
+
Q = b.current, b.current = null, v();
|
|
1729
1729
|
try {
|
|
1730
1730
|
if (s) {
|
|
1731
1731
|
var B = function() {
|
|
@@ -1739,14 +1739,14 @@ function vn() {
|
|
|
1739
1739
|
try {
|
|
1740
1740
|
Reflect.construct(B, []);
|
|
1741
1741
|
} catch (be) {
|
|
1742
|
-
|
|
1742
|
+
M = be;
|
|
1743
1743
|
}
|
|
1744
1744
|
Reflect.construct(t, [], B);
|
|
1745
1745
|
} else {
|
|
1746
1746
|
try {
|
|
1747
1747
|
B.call();
|
|
1748
1748
|
} catch (be) {
|
|
1749
|
-
|
|
1749
|
+
M = be;
|
|
1750
1750
|
}
|
|
1751
1751
|
t.call(B.prototype);
|
|
1752
1752
|
}
|
|
@@ -1754,14 +1754,14 @@ function vn() {
|
|
|
1754
1754
|
try {
|
|
1755
1755
|
throw Error();
|
|
1756
1756
|
} catch (be) {
|
|
1757
|
-
|
|
1757
|
+
M = be;
|
|
1758
1758
|
}
|
|
1759
1759
|
t();
|
|
1760
1760
|
}
|
|
1761
1761
|
} catch (be) {
|
|
1762
|
-
if (be &&
|
|
1762
|
+
if (be && M && typeof be.stack == "string") {
|
|
1763
1763
|
for (var V = be.stack.split(`
|
|
1764
|
-
`), me =
|
|
1764
|
+
`), me = M.stack.split(`
|
|
1765
1765
|
`), se = V.length - 1, le = me.length - 1; se >= 1 && le >= 0 && V[se] !== me[le]; )
|
|
1766
1766
|
le--;
|
|
1767
1767
|
for (; se >= 1 && le >= 0; se--, le--)
|
|
@@ -1778,7 +1778,7 @@ function vn() {
|
|
|
1778
1778
|
}
|
|
1779
1779
|
}
|
|
1780
1780
|
} finally {
|
|
1781
|
-
|
|
1781
|
+
x = !1, b.current = Q, g(), Error.prepareStackTrace = G;
|
|
1782
1782
|
}
|
|
1783
1783
|
var Le = t ? t.displayName || t.name : "", Ae = Le ? T(Le) : "";
|
|
1784
1784
|
return typeof t == "function" && A.set(t, Ae), Ae;
|
|
@@ -1798,65 +1798,65 @@ function vn() {
|
|
|
1798
1798
|
if (typeof t == "string")
|
|
1799
1799
|
return T(t);
|
|
1800
1800
|
switch (t) {
|
|
1801
|
-
case
|
|
1801
|
+
case F:
|
|
1802
1802
|
return T("Suspense");
|
|
1803
|
-
case
|
|
1803
|
+
case O:
|
|
1804
1804
|
return T("SuspenseList");
|
|
1805
1805
|
}
|
|
1806
1806
|
if (typeof t == "object")
|
|
1807
1807
|
switch (t.$$typeof) {
|
|
1808
|
-
case
|
|
1808
|
+
case j:
|
|
1809
1809
|
return he(t.render);
|
|
1810
|
-
case
|
|
1810
|
+
case $:
|
|
1811
1811
|
return Pe(t.type, s, l);
|
|
1812
|
-
case
|
|
1813
|
-
var
|
|
1812
|
+
case k: {
|
|
1813
|
+
var M = t, G = M._payload, Q = M._init;
|
|
1814
1814
|
try {
|
|
1815
|
-
return Pe(
|
|
1815
|
+
return Pe(Q(G), s, l);
|
|
1816
1816
|
} catch {
|
|
1817
1817
|
}
|
|
1818
1818
|
}
|
|
1819
1819
|
}
|
|
1820
1820
|
return "";
|
|
1821
1821
|
}
|
|
1822
|
-
var
|
|
1823
|
-
function
|
|
1822
|
+
var Fe = Object.prototype.hasOwnProperty, Ne = {}, or = ne.ReactDebugCurrentFrame;
|
|
1823
|
+
function Ye(t) {
|
|
1824
1824
|
if (t) {
|
|
1825
1825
|
var s = t._owner, l = Pe(t.type, t._source, s ? s.type : null);
|
|
1826
|
-
|
|
1826
|
+
or.setExtraStackFrame(l);
|
|
1827
1827
|
} else
|
|
1828
|
-
|
|
1828
|
+
or.setExtraStackFrame(null);
|
|
1829
1829
|
}
|
|
1830
|
-
function je(t, s, l,
|
|
1830
|
+
function je(t, s, l, M, G) {
|
|
1831
1831
|
{
|
|
1832
|
-
var
|
|
1832
|
+
var Q = Function.call.bind(Fe);
|
|
1833
1833
|
for (var B in t)
|
|
1834
|
-
if (
|
|
1834
|
+
if (Q(t, B)) {
|
|
1835
1835
|
var V = void 0;
|
|
1836
1836
|
try {
|
|
1837
1837
|
if (typeof t[B] != "function") {
|
|
1838
|
-
var me = Error((
|
|
1838
|
+
var me = Error((M || "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](s, B,
|
|
1841
|
+
V = t[B](s, B, M, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1842
1842
|
} catch (se) {
|
|
1843
1843
|
V = se;
|
|
1844
1844
|
}
|
|
1845
|
-
V && !(V instanceof Error) && (
|
|
1845
|
+
V && !(V instanceof Error) && (Ye(G), X("%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).", M || "React class", l, B, typeof V), Ye(null)), V instanceof Error && !(V.message in Ne) && (Ne[V.message] = !0, Ye(G), X("Failed %s type: %s", l, V.message), Ye(null));
|
|
1846
1846
|
}
|
|
1847
1847
|
}
|
|
1848
1848
|
}
|
|
1849
|
-
var
|
|
1850
|
-
function
|
|
1851
|
-
return
|
|
1849
|
+
var We = Array.isArray;
|
|
1850
|
+
function Be(t) {
|
|
1851
|
+
return We(t);
|
|
1852
1852
|
}
|
|
1853
|
-
function
|
|
1853
|
+
function ir(t) {
|
|
1854
1854
|
{
|
|
1855
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 sr(t) {
|
|
1860
1860
|
try {
|
|
1861
1861
|
return He(t), !1;
|
|
1862
1862
|
} catch {
|
|
@@ -1866,19 +1866,19 @@ function vn() {
|
|
|
1866
1866
|
function He(t) {
|
|
1867
1867
|
return "" + t;
|
|
1868
1868
|
}
|
|
1869
|
-
function
|
|
1870
|
-
if (
|
|
1871
|
-
return
|
|
1869
|
+
function Ze(t) {
|
|
1870
|
+
if (sr(t))
|
|
1871
|
+
return X("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ir(t)), He(t);
|
|
1872
1872
|
}
|
|
1873
|
-
var
|
|
1873
|
+
var Ie = ne.ReactCurrentOwner, Sr = {
|
|
1874
1874
|
key: !0,
|
|
1875
1875
|
ref: !0,
|
|
1876
1876
|
__self: !0,
|
|
1877
1877
|
__source: !0
|
|
1878
|
-
},
|
|
1878
|
+
}, ur, cr, Ue;
|
|
1879
1879
|
Ue = {};
|
|
1880
1880
|
function xr(t) {
|
|
1881
|
-
if (
|
|
1881
|
+
if (Fe.call(t, "ref")) {
|
|
1882
1882
|
var s = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
1883
1883
|
if (s && s.isReactWarning)
|
|
1884
1884
|
return !1;
|
|
@@ -1886,7 +1886,7 @@ function vn() {
|
|
|
1886
1886
|
return t.ref !== void 0;
|
|
1887
1887
|
}
|
|
1888
1888
|
function Or(t) {
|
|
1889
|
-
if (
|
|
1889
|
+
if (Fe.call(t, "key")) {
|
|
1890
1890
|
var s = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
1891
1891
|
if (s && s.isReactWarning)
|
|
1892
1892
|
return !1;
|
|
@@ -1894,15 +1894,15 @@ function vn() {
|
|
|
1894
1894
|
return t.key !== void 0;
|
|
1895
1895
|
}
|
|
1896
1896
|
function jr(t, s) {
|
|
1897
|
-
if (typeof t.ref == "string" &&
|
|
1898
|
-
var l = pe(
|
|
1899
|
-
Ue[l] || (
|
|
1897
|
+
if (typeof t.ref == "string" && Ie.current && s && Ie.current.stateNode !== s) {
|
|
1898
|
+
var l = pe(Ie.current.type);
|
|
1899
|
+
Ue[l] || (X('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(Ie.current.type), t.ref), Ue[l] = !0);
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
1902
|
function De(t, s) {
|
|
1903
1903
|
{
|
|
1904
1904
|
var l = function() {
|
|
1905
|
-
|
|
1905
|
+
ur || (ur = !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)", 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
|
|
1913
|
+
function lr(t, s) {
|
|
1914
1914
|
{
|
|
1915
1915
|
var l = function() {
|
|
1916
|
-
|
|
1916
|
+
cr || (cr = !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)", s));
|
|
1917
1917
|
};
|
|
1918
1918
|
l.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
1919
1919
|
get: l,
|
|
@@ -1921,7 +1921,7 @@ function vn() {
|
|
|
1921
1921
|
});
|
|
1922
1922
|
}
|
|
1923
1923
|
}
|
|
1924
|
-
var Pr = function(t, s, l,
|
|
1924
|
+
var Pr = function(t, s, l, M, G, Q, B) {
|
|
1925
1925
|
var V = {
|
|
1926
1926
|
// This tag allows us to uniquely identify this as a React Element
|
|
1927
1927
|
$$typeof: p,
|
|
@@ -1931,7 +1931,7 @@ function vn() {
|
|
|
1931
1931
|
ref: l,
|
|
1932
1932
|
props: B,
|
|
1933
1933
|
// Record the component responsible for creating this element.
|
|
1934
|
-
_owner:
|
|
1934
|
+
_owner: Q
|
|
1935
1935
|
};
|
|
1936
1936
|
return V._store = {}, Object.defineProperty(V._store, "validated", {
|
|
1937
1937
|
configurable: !1,
|
|
@@ -1942,39 +1942,39 @@ function vn() {
|
|
|
1942
1942
|
configurable: !1,
|
|
1943
1943
|
enumerable: !1,
|
|
1944
1944
|
writable: !1,
|
|
1945
|
-
value:
|
|
1945
|
+
value: M
|
|
1946
1946
|
}), Object.defineProperty(V, "_source", {
|
|
1947
1947
|
configurable: !1,
|
|
1948
1948
|
enumerable: !1,
|
|
1949
1949
|
writable: !1,
|
|
1950
|
-
value:
|
|
1950
|
+
value: G
|
|
1951
1951
|
}), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
|
|
1952
1952
|
};
|
|
1953
|
-
function kr(t, s, l,
|
|
1953
|
+
function kr(t, s, l, M, G) {
|
|
1954
1954
|
{
|
|
1955
|
-
var
|
|
1956
|
-
l !== void 0 && (
|
|
1957
|
-
for (
|
|
1958
|
-
|
|
1955
|
+
var Q, B = {}, V = null, me = null;
|
|
1956
|
+
l !== void 0 && (Ze(l), V = "" + l), Or(s) && (Ze(s.key), V = "" + s.key), xr(s) && (me = s.ref, jr(s, G));
|
|
1957
|
+
for (Q in s)
|
|
1958
|
+
Fe.call(s, Q) && !Sr.hasOwnProperty(Q) && (B[Q] = s[Q]);
|
|
1959
1959
|
if (t && t.defaultProps) {
|
|
1960
1960
|
var se = t.defaultProps;
|
|
1961
|
-
for (
|
|
1962
|
-
B[
|
|
1961
|
+
for (Q in se)
|
|
1962
|
+
B[Q] === void 0 && (B[Q] = se[Q]);
|
|
1963
1963
|
}
|
|
1964
1964
|
if (V || me) {
|
|
1965
1965
|
var le = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
1966
|
-
V && De(B, le), me &&
|
|
1966
|
+
V && De(B, le), me && lr(B, le);
|
|
1967
1967
|
}
|
|
1968
|
-
return Pr(t, V, me,
|
|
1968
|
+
return Pr(t, V, me, G, M, Ie.current, B);
|
|
1969
1969
|
}
|
|
1970
1970
|
}
|
|
1971
|
-
var Ge = ne.ReactCurrentOwner,
|
|
1971
|
+
var Ge = ne.ReactCurrentOwner, fr = ne.ReactDebugCurrentFrame;
|
|
1972
1972
|
function ke(t) {
|
|
1973
1973
|
if (t) {
|
|
1974
1974
|
var s = t._owner, l = Pe(t.type, t._source, s ? s.type : null);
|
|
1975
|
-
|
|
1975
|
+
fr.setExtraStackFrame(l);
|
|
1976
1976
|
} else
|
|
1977
|
-
|
|
1977
|
+
fr.setExtraStackFrame(null);
|
|
1978
1978
|
}
|
|
1979
1979
|
var Ve;
|
|
1980
1980
|
Ve = !1;
|
|
@@ -2004,7 +2004,7 @@ Check your code at ` + s + ":" + l + ".";
|
|
|
2004
2004
|
return "";
|
|
2005
2005
|
}
|
|
2006
2006
|
}
|
|
2007
|
-
var
|
|
2007
|
+
var dr = {};
|
|
2008
2008
|
function $r(t) {
|
|
2009
2009
|
{
|
|
2010
2010
|
var s = qe();
|
|
@@ -2017,39 +2017,39 @@ Check the top-level render call using <` + l + ">.");
|
|
|
2017
2017
|
return s;
|
|
2018
2018
|
}
|
|
2019
2019
|
}
|
|
2020
|
-
function
|
|
2020
|
+
function pr(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
2025
|
var l = $r(s);
|
|
2026
|
-
if (
|
|
2026
|
+
if (dr[l])
|
|
2027
2027
|
return;
|
|
2028
|
-
|
|
2029
|
-
var
|
|
2030
|
-
t && t._owner && t._owner !== Ge.current && (
|
|
2028
|
+
dr[l] = !0;
|
|
2029
|
+
var M = "";
|
|
2030
|
+
t && t._owner && t._owner !== Ge.current && (M = " It was passed a child from " + pe(t._owner.type) + "."), ke(t), X('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, M), ke(null);
|
|
2031
2031
|
}
|
|
2032
2032
|
}
|
|
2033
|
-
function
|
|
2033
|
+
function vr(t, s) {
|
|
2034
2034
|
{
|
|
2035
2035
|
if (typeof t != "object")
|
|
2036
2036
|
return;
|
|
2037
|
-
if (
|
|
2037
|
+
if (Be(t))
|
|
2038
2038
|
for (var l = 0; l < t.length; l++) {
|
|
2039
|
-
var
|
|
2040
|
-
Me(
|
|
2039
|
+
var M = t[l];
|
|
2040
|
+
Me(M) && pr(M, s);
|
|
2041
2041
|
}
|
|
2042
2042
|
else if (Me(t))
|
|
2043
2043
|
t._store && (t._store.validated = !0);
|
|
2044
2044
|
else if (t) {
|
|
2045
|
-
var
|
|
2046
|
-
if (typeof
|
|
2047
|
-
for (var
|
|
2048
|
-
Me(B.value) &&
|
|
2045
|
+
var G = ee(t);
|
|
2046
|
+
if (typeof G == "function" && G !== t.entries)
|
|
2047
|
+
for (var Q = G.call(t), B; !(B = Q.next()).done; )
|
|
2048
|
+
Me(B.value) && pr(B.value, s);
|
|
2049
2049
|
}
|
|
2050
2050
|
}
|
|
2051
2051
|
}
|
|
2052
|
-
function
|
|
2052
|
+
function ze(t) {
|
|
2053
2053
|
{
|
|
2054
2054
|
var s = t.type;
|
|
2055
2055
|
if (s == null || typeof s == "string")
|
|
@@ -2057,92 +2057,92 @@ Check the top-level render call using <` + l + ">.");
|
|
|
2057
2057
|
var l;
|
|
2058
2058
|
if (typeof s == "function")
|
|
2059
2059
|
l = s.propTypes;
|
|
2060
|
-
else if (typeof s == "object" && (s.$$typeof ===
|
|
2060
|
+
else if (typeof s == "object" && (s.$$typeof === j || // Note: Memo only checks outer props here.
|
|
2061
2061
|
// Inner props are checked in the reconciler.
|
|
2062
|
-
s.$$typeof ===
|
|
2062
|
+
s.$$typeof === $))
|
|
2063
2063
|
l = s.propTypes;
|
|
2064
2064
|
else
|
|
2065
2065
|
return;
|
|
2066
2066
|
if (l) {
|
|
2067
|
-
var
|
|
2068
|
-
je(l, t.props, "prop",
|
|
2067
|
+
var M = pe(s);
|
|
2068
|
+
je(l, t.props, "prop", M, t);
|
|
2069
2069
|
} else if (s.PropTypes !== void 0 && !Ve) {
|
|
2070
2070
|
Ve = !0;
|
|
2071
|
-
var
|
|
2072
|
-
|
|
2071
|
+
var G = pe(s);
|
|
2072
|
+
X("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", G || "Unknown");
|
|
2073
2073
|
}
|
|
2074
|
-
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved &&
|
|
2074
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && X("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2075
2075
|
}
|
|
2076
2076
|
}
|
|
2077
|
-
function
|
|
2077
|
+
function Xe(t) {
|
|
2078
2078
|
{
|
|
2079
2079
|
for (var s = Object.keys(t.props), l = 0; l < s.length; l++) {
|
|
2080
|
-
var
|
|
2081
|
-
if (
|
|
2082
|
-
ke(t),
|
|
2080
|
+
var M = s[l];
|
|
2081
|
+
if (M !== "children" && M !== "key") {
|
|
2082
|
+
ke(t), X("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", M), ke(null);
|
|
2083
2083
|
break;
|
|
2084
2084
|
}
|
|
2085
2085
|
}
|
|
2086
|
-
t.ref !== null && (ke(t),
|
|
2086
|
+
t.ref !== null && (ke(t), X("Invalid attribute `ref` supplied to `React.Fragment`."), ke(null));
|
|
2087
2087
|
}
|
|
2088
2088
|
}
|
|
2089
|
-
var
|
|
2090
|
-
function
|
|
2089
|
+
var Qe = {};
|
|
2090
|
+
function yr(t, s, l, M, G, Q) {
|
|
2091
2091
|
{
|
|
2092
2092
|
var B = Te(t);
|
|
2093
2093
|
if (!B) {
|
|
2094
2094
|
var V = "";
|
|
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
|
-
var me = Ar(
|
|
2096
|
+
var me = Ar(G);
|
|
2097
2097
|
me ? V += me : V += qe();
|
|
2098
2098
|
var se;
|
|
2099
|
-
t === null ? se = "null" :
|
|
2099
|
+
t === null ? se = "null" : Be(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, X("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, s, l,
|
|
2101
|
+
var le = kr(t, s, l, G, Q);
|
|
2102
2102
|
if (le == null)
|
|
2103
2103
|
return le;
|
|
2104
2104
|
if (B) {
|
|
2105
2105
|
var Re = s.children;
|
|
2106
2106
|
if (Re !== void 0)
|
|
2107
|
-
if (
|
|
2108
|
-
if (
|
|
2107
|
+
if (M)
|
|
2108
|
+
if (Be(Re)) {
|
|
2109
2109
|
for (var Le = 0; Le < Re.length; Le++)
|
|
2110
|
-
|
|
2110
|
+
vr(Re[Le], t);
|
|
2111
2111
|
Object.freeze && Object.freeze(Re);
|
|
2112
2112
|
} else
|
|
2113
|
-
|
|
2113
|
+
X("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2114
2114
|
else
|
|
2115
|
-
|
|
2115
|
+
vr(Re, t);
|
|
2116
2116
|
}
|
|
2117
|
-
if (
|
|
2117
|
+
if (Fe.call(s, "key")) {
|
|
2118
2118
|
var Ae = pe(t), be = Object.keys(s).filter(function(Lr) {
|
|
2119
2119
|
return Lr !== "key";
|
|
2120
|
-
}),
|
|
2121
|
-
if (!
|
|
2120
|
+
}), er = be.length > 0 ? "{key: someKey, " + be.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2121
|
+
if (!Qe[Ae + er]) {
|
|
2122
2122
|
var Mr = be.length > 0 ? "{" + be.join(": ..., ") + ": ...}" : "{}";
|
|
2123
|
-
|
|
2123
|
+
X(`A props object containing a "key" prop is being spread into JSX:
|
|
2124
2124
|
let props = %s;
|
|
2125
2125
|
<%s {...props} />
|
|
2126
2126
|
React keys must be passed directly to JSX without using spread:
|
|
2127
2127
|
let props = %s;
|
|
2128
|
-
<%s key={someKey} {...props} />`,
|
|
2128
|
+
<%s key={someKey} {...props} />`, er, Ae, Mr, Ae), Qe[Ae + er] = !0;
|
|
2129
2129
|
}
|
|
2130
2130
|
}
|
|
2131
|
-
return t === R ?
|
|
2131
|
+
return t === R ? Xe(le) : ze(le), le;
|
|
2132
2132
|
}
|
|
2133
2133
|
}
|
|
2134
|
-
function Ir(t, s, l) {
|
|
2135
|
-
return hr(t, s, l, !0);
|
|
2136
|
-
}
|
|
2137
2134
|
function Fr(t, s, l) {
|
|
2138
|
-
return
|
|
2135
|
+
return yr(t, s, l, !0);
|
|
2139
2136
|
}
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2137
|
+
function Ir(t, s, l) {
|
|
2138
|
+
return yr(t, s, l, !1);
|
|
2139
|
+
}
|
|
2140
|
+
var Dr = Ir, hr = Fr;
|
|
2141
|
+
nr.Fragment = R, nr.jsx = Dr, nr.jsxs = hr;
|
|
2142
|
+
}()), nr;
|
|
2143
2143
|
}
|
|
2144
2144
|
process.env.NODE_ENV === "production" ? Qr.exports = pn() : Qr.exports = vn();
|
|
2145
|
-
var y = Qr.exports, rt = { exports: {} },
|
|
2145
|
+
var y = Qr.exports, rt = { exports: {} }, Cr = { exports: {} }, J = {};
|
|
2146
2146
|
/** @license React v16.13.1
|
|
2147
2147
|
* react-is.production.min.js
|
|
2148
2148
|
*
|
|
@@ -2154,29 +2154,29 @@ var y = Qr.exports, rt = { exports: {} }, Tr = { exports: {} }, K = {};
|
|
|
2154
2154
|
var kt;
|
|
2155
2155
|
function yn() {
|
|
2156
2156
|
if (kt)
|
|
2157
|
-
return
|
|
2157
|
+
return J;
|
|
2158
2158
|
kt = 1;
|
|
2159
|
-
var c = typeof Symbol == "function" && Symbol.for, p = c ? Symbol.for("react.element") : 60103, I = c ? Symbol.for("react.portal") : 60106, R = c ? Symbol.for("react.fragment") : 60107,
|
|
2159
|
+
var c = typeof Symbol == "function" && Symbol.for, p = c ? Symbol.for("react.element") : 60103, I = c ? Symbol.for("react.portal") : 60106, R = c ? Symbol.for("react.fragment") : 60107, P = c ? Symbol.for("react.strict_mode") : 60108, E = c ? Symbol.for("react.profiler") : 60114, L = c ? Symbol.for("react.provider") : 60109, w = c ? Symbol.for("react.context") : 60110, j = c ? Symbol.for("react.async_mode") : 60111, F = c ? Symbol.for("react.concurrent_mode") : 60111, O = c ? Symbol.for("react.forward_ref") : 60112, $ = c ? Symbol.for("react.suspense") : 60113, k = c ? Symbol.for("react.suspense_list") : 60120, U = c ? Symbol.for("react.memo") : 60115, z = c ? Symbol.for("react.lazy") : 60116, Y = c ? Symbol.for("react.block") : 60121, ee = c ? Symbol.for("react.fundamental") : 60117, ne = c ? Symbol.for("react.responder") : 60118, X = c ? Symbol.for("react.scope") : 60119;
|
|
2160
2160
|
function te(f) {
|
|
2161
2161
|
if (typeof f == "object" && f !== null) {
|
|
2162
2162
|
var ie = f.$$typeof;
|
|
2163
2163
|
switch (ie) {
|
|
2164
2164
|
case p:
|
|
2165
2165
|
switch (f = f.type, f) {
|
|
2166
|
+
case j:
|
|
2167
|
+
case F:
|
|
2168
|
+
case R:
|
|
2169
|
+
case E:
|
|
2166
2170
|
case P:
|
|
2167
2171
|
case $:
|
|
2168
|
-
case R:
|
|
2169
|
-
case C:
|
|
2170
|
-
case k:
|
|
2171
|
-
case g:
|
|
2172
2172
|
return f;
|
|
2173
2173
|
default:
|
|
2174
2174
|
switch (f = f && f.$$typeof, f) {
|
|
2175
|
-
case
|
|
2176
|
-
case
|
|
2177
|
-
case
|
|
2175
|
+
case w:
|
|
2176
|
+
case O:
|
|
2177
|
+
case z:
|
|
2178
|
+
case U:
|
|
2178
2179
|
case L:
|
|
2179
|
-
case M:
|
|
2180
2180
|
return f;
|
|
2181
2181
|
default:
|
|
2182
2182
|
return ie;
|
|
@@ -2187,38 +2187,38 @@ function yn() {
|
|
|
2187
2187
|
}
|
|
2188
2188
|
}
|
|
2189
2189
|
}
|
|
2190
|
-
function
|
|
2191
|
-
return te(f) ===
|
|
2190
|
+
function K(f) {
|
|
2191
|
+
return te(f) === F;
|
|
2192
2192
|
}
|
|
2193
|
-
return
|
|
2194
|
-
return
|
|
2195
|
-
},
|
|
2196
|
-
return te(f) ===
|
|
2197
|
-
},
|
|
2198
|
-
return te(f) ===
|
|
2199
|
-
},
|
|
2193
|
+
return J.AsyncMode = j, J.ConcurrentMode = F, J.ContextConsumer = w, J.ContextProvider = L, J.Element = p, J.ForwardRef = O, J.Fragment = R, J.Lazy = z, J.Memo = U, J.Portal = I, J.Profiler = E, J.StrictMode = P, J.Suspense = $, J.isAsyncMode = function(f) {
|
|
2194
|
+
return K(f) || te(f) === j;
|
|
2195
|
+
}, J.isConcurrentMode = K, J.isContextConsumer = function(f) {
|
|
2196
|
+
return te(f) === w;
|
|
2197
|
+
}, J.isContextProvider = function(f) {
|
|
2198
|
+
return te(f) === L;
|
|
2199
|
+
}, J.isElement = function(f) {
|
|
2200
2200
|
return typeof f == "object" && f !== null && f.$$typeof === p;
|
|
2201
|
-
},
|
|
2202
|
-
return te(f) ===
|
|
2203
|
-
},
|
|
2201
|
+
}, J.isForwardRef = function(f) {
|
|
2202
|
+
return te(f) === O;
|
|
2203
|
+
}, J.isFragment = function(f) {
|
|
2204
2204
|
return te(f) === R;
|
|
2205
|
-
},
|
|
2206
|
-
return te(f) ===
|
|
2207
|
-
},
|
|
2208
|
-
return te(f) ===
|
|
2209
|
-
},
|
|
2205
|
+
}, J.isLazy = function(f) {
|
|
2206
|
+
return te(f) === z;
|
|
2207
|
+
}, J.isMemo = function(f) {
|
|
2208
|
+
return te(f) === U;
|
|
2209
|
+
}, J.isPortal = function(f) {
|
|
2210
2210
|
return te(f) === I;
|
|
2211
|
-
},
|
|
2212
|
-
return te(f) ===
|
|
2213
|
-
},
|
|
2214
|
-
return te(f) ===
|
|
2215
|
-
},
|
|
2216
|
-
return te(f) ===
|
|
2217
|
-
},
|
|
2218
|
-
return typeof f == "string" || typeof f == "function" || f === R || f ===
|
|
2219
|
-
},
|
|
2211
|
+
}, J.isProfiler = function(f) {
|
|
2212
|
+
return te(f) === E;
|
|
2213
|
+
}, J.isStrictMode = function(f) {
|
|
2214
|
+
return te(f) === P;
|
|
2215
|
+
}, J.isSuspense = function(f) {
|
|
2216
|
+
return te(f) === $;
|
|
2217
|
+
}, J.isValidElementType = function(f) {
|
|
2218
|
+
return typeof f == "string" || typeof f == "function" || f === R || f === F || f === E || f === P || f === $ || f === k || typeof f == "object" && f !== null && (f.$$typeof === z || f.$$typeof === U || f.$$typeof === L || f.$$typeof === w || f.$$typeof === O || f.$$typeof === ee || f.$$typeof === ne || f.$$typeof === X || f.$$typeof === Y);
|
|
2219
|
+
}, J.typeOf = te, J;
|
|
2220
2220
|
}
|
|
2221
|
-
var
|
|
2221
|
+
var Z = {};
|
|
2222
2222
|
/** @license React v16.13.1
|
|
2223
2223
|
* react-is.development.js
|
|
2224
2224
|
*
|
|
@@ -2230,33 +2230,33 @@ var J = {};
|
|
|
2230
2230
|
var At;
|
|
2231
2231
|
function hn() {
|
|
2232
2232
|
return At || (At = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2233
|
-
var c = typeof Symbol == "function" && Symbol.for, p = c ? Symbol.for("react.element") : 60103, I = c ? Symbol.for("react.portal") : 60106, R = c ? Symbol.for("react.fragment") : 60107,
|
|
2233
|
+
var c = typeof Symbol == "function" && Symbol.for, p = c ? Symbol.for("react.element") : 60103, I = c ? Symbol.for("react.portal") : 60106, R = c ? Symbol.for("react.fragment") : 60107, P = c ? Symbol.for("react.strict_mode") : 60108, E = c ? Symbol.for("react.profiler") : 60114, L = c ? Symbol.for("react.provider") : 60109, w = c ? Symbol.for("react.context") : 60110, j = c ? Symbol.for("react.async_mode") : 60111, F = c ? Symbol.for("react.concurrent_mode") : 60111, O = c ? Symbol.for("react.forward_ref") : 60112, $ = c ? Symbol.for("react.suspense") : 60113, k = c ? Symbol.for("react.suspense_list") : 60120, U = c ? Symbol.for("react.memo") : 60115, z = c ? Symbol.for("react.lazy") : 60116, Y = c ? Symbol.for("react.block") : 60121, ee = c ? Symbol.for("react.fundamental") : 60117, ne = c ? Symbol.for("react.responder") : 60118, X = c ? Symbol.for("react.scope") : 60119;
|
|
2234
2234
|
function te(m) {
|
|
2235
2235
|
return typeof m == "string" || typeof m == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2236
|
-
m === R || m ===
|
|
2236
|
+
m === R || m === F || m === E || m === P || m === $ || m === k || typeof m == "object" && m !== null && (m.$$typeof === z || m.$$typeof === U || m.$$typeof === L || m.$$typeof === w || m.$$typeof === O || m.$$typeof === ee || m.$$typeof === ne || m.$$typeof === X || m.$$typeof === Y);
|
|
2237
2237
|
}
|
|
2238
|
-
function
|
|
2238
|
+
function K(m) {
|
|
2239
2239
|
if (typeof m == "object" && m !== null) {
|
|
2240
2240
|
var he = m.$$typeof;
|
|
2241
2241
|
switch (he) {
|
|
2242
2242
|
case p:
|
|
2243
2243
|
var $e = m.type;
|
|
2244
2244
|
switch ($e) {
|
|
2245
|
+
case j:
|
|
2246
|
+
case F:
|
|
2247
|
+
case R:
|
|
2248
|
+
case E:
|
|
2245
2249
|
case P:
|
|
2246
2250
|
case $:
|
|
2247
|
-
case R:
|
|
2248
|
-
case C:
|
|
2249
|
-
case k:
|
|
2250
|
-
case g:
|
|
2251
2251
|
return $e;
|
|
2252
2252
|
default:
|
|
2253
2253
|
var Pe = $e && $e.$$typeof;
|
|
2254
2254
|
switch (Pe) {
|
|
2255
|
-
case
|
|
2256
|
-
case
|
|
2257
|
-
case
|
|
2255
|
+
case w:
|
|
2256
|
+
case O:
|
|
2257
|
+
case z:
|
|
2258
|
+
case U:
|
|
2258
2259
|
case L:
|
|
2259
|
-
case M:
|
|
2260
2260
|
return Pe;
|
|
2261
2261
|
default:
|
|
2262
2262
|
return he;
|
|
@@ -2267,115 +2267,115 @@ function hn() {
|
|
|
2267
2267
|
}
|
|
2268
2268
|
}
|
|
2269
2269
|
}
|
|
2270
|
-
var f =
|
|
2270
|
+
var f = j, ie = F, Ee = w, we = L, Ce = p, Te = O, Oe = R, Se = z, pe = U, fe = I, de = E, ce = P, S = $, _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.")), u(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.")), u(m) || K(m) === j;
|
|
2273
2273
|
}
|
|
2274
2274
|
function u(m) {
|
|
2275
|
-
return
|
|
2275
|
+
return K(m) === F;
|
|
2276
2276
|
}
|
|
2277
2277
|
function n(m) {
|
|
2278
|
-
return
|
|
2278
|
+
return K(m) === w;
|
|
2279
2279
|
}
|
|
2280
2280
|
function i(m) {
|
|
2281
|
-
return
|
|
2281
|
+
return K(m) === L;
|
|
2282
2282
|
}
|
|
2283
2283
|
function h(m) {
|
|
2284
2284
|
return typeof m == "object" && m !== null && m.$$typeof === p;
|
|
2285
2285
|
}
|
|
2286
2286
|
function v(m) {
|
|
2287
|
-
return
|
|
2287
|
+
return K(m) === O;
|
|
2288
|
+
}
|
|
2289
|
+
function g(m) {
|
|
2290
|
+
return K(m) === R;
|
|
2288
2291
|
}
|
|
2289
2292
|
function b(m) {
|
|
2290
|
-
return
|
|
2293
|
+
return K(m) === z;
|
|
2291
2294
|
}
|
|
2292
2295
|
function _(m) {
|
|
2293
|
-
return
|
|
2294
|
-
}
|
|
2295
|
-
function E(m) {
|
|
2296
|
-
return G(m) === L;
|
|
2296
|
+
return K(m) === U;
|
|
2297
2297
|
}
|
|
2298
2298
|
function T(m) {
|
|
2299
|
-
return
|
|
2299
|
+
return K(m) === I;
|
|
2300
2300
|
}
|
|
2301
|
-
function
|
|
2302
|
-
return
|
|
2301
|
+
function x(m) {
|
|
2302
|
+
return K(m) === E;
|
|
2303
2303
|
}
|
|
2304
2304
|
function A(m) {
|
|
2305
|
-
return
|
|
2305
|
+
return K(m) === P;
|
|
2306
2306
|
}
|
|
2307
2307
|
function ye(m) {
|
|
2308
|
-
return
|
|
2308
|
+
return K(m) === $;
|
|
2309
2309
|
}
|
|
2310
|
-
|
|
2311
|
-
}()),
|
|
2310
|
+
Z.AsyncMode = f, Z.ConcurrentMode = ie, Z.ContextConsumer = Ee, Z.ContextProvider = we, Z.Element = Ce, Z.ForwardRef = Te, Z.Fragment = Oe, Z.Lazy = Se, Z.Memo = pe, Z.Portal = fe, Z.Profiler = de, Z.StrictMode = ce, Z.Suspense = S, Z.isAsyncMode = xe, Z.isConcurrentMode = u, Z.isContextConsumer = n, Z.isContextProvider = i, Z.isElement = h, Z.isForwardRef = v, Z.isFragment = g, Z.isLazy = b, Z.isMemo = _, Z.isPortal = T, Z.isProfiler = x, Z.isStrictMode = A, Z.isSuspense = ye, Z.isValidElementType = te, Z.typeOf = K;
|
|
2311
|
+
}()), Z;
|
|
2312
2312
|
}
|
|
2313
2313
|
var $t;
|
|
2314
|
-
function
|
|
2315
|
-
return $t || ($t = 1, process.env.NODE_ENV === "production" ?
|
|
2314
|
+
function Yt() {
|
|
2315
|
+
return $t || ($t = 1, process.env.NODE_ENV === "production" ? Cr.exports = yn() : Cr.exports = hn()), Cr.exports;
|
|
2316
2316
|
}
|
|
2317
2317
|
/*
|
|
2318
2318
|
object-assign
|
|
2319
2319
|
(c) Sindre Sorhus
|
|
2320
2320
|
@license MIT
|
|
2321
2321
|
*/
|
|
2322
|
-
var Hr,
|
|
2322
|
+
var Hr, Ft;
|
|
2323
2323
|
function mn() {
|
|
2324
|
-
if (
|
|
2324
|
+
if (Ft)
|
|
2325
2325
|
return Hr;
|
|
2326
|
-
|
|
2326
|
+
Ft = 1;
|
|
2327
2327
|
var c = Object.getOwnPropertySymbols, p = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
|
|
2328
|
-
function R(
|
|
2329
|
-
if (
|
|
2328
|
+
function R(E) {
|
|
2329
|
+
if (E == null)
|
|
2330
2330
|
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
2331
|
-
return Object(
|
|
2331
|
+
return Object(E);
|
|
2332
2332
|
}
|
|
2333
|
-
function
|
|
2333
|
+
function P() {
|
|
2334
2334
|
try {
|
|
2335
2335
|
if (!Object.assign)
|
|
2336
2336
|
return !1;
|
|
2337
|
-
var
|
|
2338
|
-
if (
|
|
2337
|
+
var E = new String("abc");
|
|
2338
|
+
if (E[5] = "de", Object.getOwnPropertyNames(E)[0] === "5")
|
|
2339
2339
|
return !1;
|
|
2340
|
-
for (var
|
|
2341
|
-
|
|
2342
|
-
var
|
|
2343
|
-
return
|
|
2340
|
+
for (var L = {}, w = 0; w < 10; w++)
|
|
2341
|
+
L["_" + String.fromCharCode(w)] = w;
|
|
2342
|
+
var j = Object.getOwnPropertyNames(L).map(function(O) {
|
|
2343
|
+
return L[O];
|
|
2344
2344
|
});
|
|
2345
|
-
if (
|
|
2345
|
+
if (j.join("") !== "0123456789")
|
|
2346
2346
|
return !1;
|
|
2347
|
-
var
|
|
2348
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
2349
|
-
|
|
2350
|
-
}), Object.keys(Object.assign({},
|
|
2347
|
+
var F = {};
|
|
2348
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(O) {
|
|
2349
|
+
F[O] = O;
|
|
2350
|
+
}), Object.keys(Object.assign({}, F)).join("") === "abcdefghijklmnopqrst";
|
|
2351
2351
|
} catch {
|
|
2352
2352
|
return !1;
|
|
2353
2353
|
}
|
|
2354
2354
|
}
|
|
2355
|
-
return Hr =
|
|
2356
|
-
for (var
|
|
2357
|
-
|
|
2358
|
-
for (var
|
|
2359
|
-
p.call(
|
|
2355
|
+
return Hr = P() ? Object.assign : function(E, L) {
|
|
2356
|
+
for (var w, j = R(E), F, O = 1; O < arguments.length; O++) {
|
|
2357
|
+
w = Object(arguments[O]);
|
|
2358
|
+
for (var $ in w)
|
|
2359
|
+
p.call(w, $) && (j[$] = w[$]);
|
|
2360
2360
|
if (c) {
|
|
2361
|
-
|
|
2362
|
-
for (var
|
|
2363
|
-
I.call(
|
|
2361
|
+
F = c(w);
|
|
2362
|
+
for (var k = 0; k < F.length; k++)
|
|
2363
|
+
I.call(w, F[k]) && (j[F[k]] = w[F[k]]);
|
|
2364
2364
|
}
|
|
2365
2365
|
}
|
|
2366
|
-
return
|
|
2366
|
+
return j;
|
|
2367
2367
|
}, Hr;
|
|
2368
2368
|
}
|
|
2369
|
-
var Gr,
|
|
2369
|
+
var Gr, It;
|
|
2370
2370
|
function tt() {
|
|
2371
|
-
if (
|
|
2371
|
+
if (It)
|
|
2372
2372
|
return Gr;
|
|
2373
|
-
|
|
2373
|
+
It = 1;
|
|
2374
2374
|
var c = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
2375
2375
|
return Gr = c, Gr;
|
|
2376
2376
|
}
|
|
2377
2377
|
var Kr, Dt;
|
|
2378
|
-
function
|
|
2378
|
+
function Wt() {
|
|
2379
2379
|
return Dt || (Dt = 1, Kr = Function.call.bind(Object.prototype.hasOwnProperty)), Kr;
|
|
2380
2380
|
}
|
|
2381
2381
|
var Jr, Mt;
|
|
@@ -2386,74 +2386,74 @@ function gn() {
|
|
|
2386
2386
|
var c = function() {
|
|
2387
2387
|
};
|
|
2388
2388
|
if (process.env.NODE_ENV !== "production") {
|
|
2389
|
-
var p = tt(), I = {}, R =
|
|
2390
|
-
c = function(
|
|
2391
|
-
var
|
|
2392
|
-
typeof console < "u" && console.error(
|
|
2389
|
+
var p = tt(), I = {}, R = Wt();
|
|
2390
|
+
c = function(E) {
|
|
2391
|
+
var L = "Warning: " + E;
|
|
2392
|
+
typeof console < "u" && console.error(L);
|
|
2393
2393
|
try {
|
|
2394
|
-
throw new Error(
|
|
2394
|
+
throw new Error(L);
|
|
2395
2395
|
} catch {
|
|
2396
2396
|
}
|
|
2397
2397
|
};
|
|
2398
2398
|
}
|
|
2399
|
-
function
|
|
2399
|
+
function P(E, L, w, j, F) {
|
|
2400
2400
|
if (process.env.NODE_ENV !== "production") {
|
|
2401
|
-
for (var
|
|
2402
|
-
if (R(
|
|
2403
|
-
var
|
|
2401
|
+
for (var O in E)
|
|
2402
|
+
if (R(E, O)) {
|
|
2403
|
+
var $;
|
|
2404
2404
|
try {
|
|
2405
|
-
if (typeof
|
|
2406
|
-
var
|
|
2407
|
-
(
|
|
2405
|
+
if (typeof E[O] != "function") {
|
|
2406
|
+
var k = Error(
|
|
2407
|
+
(j || "React class") + ": " + w + " type `" + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof E[O] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
2408
2408
|
);
|
|
2409
|
-
throw
|
|
2409
|
+
throw k.name = "Invariant Violation", k;
|
|
2410
2410
|
}
|
|
2411
|
-
|
|
2412
|
-
} catch (
|
|
2413
|
-
|
|
2411
|
+
$ = E[O](L, O, j, w, null, p);
|
|
2412
|
+
} catch (z) {
|
|
2413
|
+
$ = z;
|
|
2414
2414
|
}
|
|
2415
|
-
if (
|
|
2416
|
-
(
|
|
2417
|
-
),
|
|
2418
|
-
I[
|
|
2419
|
-
var
|
|
2415
|
+
if ($ && !($ instanceof Error) && c(
|
|
2416
|
+
(j || "React class") + ": type specification of " + w + " `" + O + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof $ + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
2417
|
+
), $ instanceof Error && !($.message in I)) {
|
|
2418
|
+
I[$.message] = !0;
|
|
2419
|
+
var U = F ? F() : "";
|
|
2420
2420
|
c(
|
|
2421
|
-
"Failed " +
|
|
2421
|
+
"Failed " + w + " type: " + $.message + (U ?? "")
|
|
2422
2422
|
);
|
|
2423
2423
|
}
|
|
2424
2424
|
}
|
|
2425
2425
|
}
|
|
2426
2426
|
}
|
|
2427
|
-
return
|
|
2427
|
+
return P.resetWarningCache = function() {
|
|
2428
2428
|
process.env.NODE_ENV !== "production" && (I = {});
|
|
2429
|
-
}, Jr =
|
|
2429
|
+
}, Jr = P, Jr;
|
|
2430
2430
|
}
|
|
2431
2431
|
var Zr, Lt;
|
|
2432
2432
|
function bn() {
|
|
2433
2433
|
if (Lt)
|
|
2434
2434
|
return Zr;
|
|
2435
2435
|
Lt = 1;
|
|
2436
|
-
var c =
|
|
2436
|
+
var c = Yt(), p = mn(), I = tt(), R = Wt(), P = gn(), E = function() {
|
|
2437
2437
|
};
|
|
2438
|
-
process.env.NODE_ENV !== "production" && (
|
|
2439
|
-
var
|
|
2440
|
-
typeof console < "u" && console.error(
|
|
2438
|
+
process.env.NODE_ENV !== "production" && (E = function(w) {
|
|
2439
|
+
var j = "Warning: " + w;
|
|
2440
|
+
typeof console < "u" && console.error(j);
|
|
2441
2441
|
try {
|
|
2442
|
-
throw new Error(
|
|
2442
|
+
throw new Error(j);
|
|
2443
2443
|
} catch {
|
|
2444
2444
|
}
|
|
2445
2445
|
});
|
|
2446
|
-
function
|
|
2446
|
+
function L() {
|
|
2447
2447
|
return null;
|
|
2448
2448
|
}
|
|
2449
|
-
return Zr = function(
|
|
2450
|
-
var
|
|
2451
|
-
function
|
|
2452
|
-
var n = u && (
|
|
2449
|
+
return Zr = function(w, j) {
|
|
2450
|
+
var F = typeof Symbol == "function" && Symbol.iterator, O = "@@iterator";
|
|
2451
|
+
function $(u) {
|
|
2452
|
+
var n = u && (F && u[F] || u[O]);
|
|
2453
2453
|
if (typeof n == "function")
|
|
2454
2454
|
return n;
|
|
2455
2455
|
}
|
|
2456
|
-
var
|
|
2456
|
+
var k = "<<anonymous>>", U = {
|
|
2457
2457
|
array: ne("array"),
|
|
2458
2458
|
bigint: ne("bigint"),
|
|
2459
2459
|
bool: ne("boolean"),
|
|
@@ -2462,9 +2462,9 @@ function bn() {
|
|
|
2462
2462
|
object: ne("object"),
|
|
2463
2463
|
string: ne("string"),
|
|
2464
2464
|
symbol: ne("symbol"),
|
|
2465
|
-
any:
|
|
2465
|
+
any: X(),
|
|
2466
2466
|
arrayOf: te,
|
|
2467
|
-
element:
|
|
2467
|
+
element: K(),
|
|
2468
2468
|
elementType: f(),
|
|
2469
2469
|
instanceOf: ie,
|
|
2470
2470
|
node: Te(),
|
|
@@ -2474,164 +2474,164 @@ function bn() {
|
|
|
2474
2474
|
shape: Se,
|
|
2475
2475
|
exact: pe
|
|
2476
2476
|
};
|
|
2477
|
-
function
|
|
2477
|
+
function z(u, n) {
|
|
2478
2478
|
return u === n ? u !== 0 || 1 / u === 1 / n : u !== u && n !== n;
|
|
2479
2479
|
}
|
|
2480
2480
|
function Y(u, n) {
|
|
2481
2481
|
this.message = u, this.data = n && typeof n == "object" ? n : {}, this.stack = "";
|
|
2482
2482
|
}
|
|
2483
2483
|
Y.prototype = Error.prototype;
|
|
2484
|
-
function
|
|
2484
|
+
function ee(u) {
|
|
2485
2485
|
if (process.env.NODE_ENV !== "production")
|
|
2486
2486
|
var n = {}, i = 0;
|
|
2487
|
-
function h(b, _,
|
|
2488
|
-
if (T = T ||
|
|
2489
|
-
if (
|
|
2487
|
+
function h(g, b, _, T, x, A, ye) {
|
|
2488
|
+
if (T = T || k, A = A || _, ye !== I) {
|
|
2489
|
+
if (j) {
|
|
2490
2490
|
var m = new Error(
|
|
2491
2491
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
2492
2492
|
);
|
|
2493
2493
|
throw m.name = "Invariant Violation", m;
|
|
2494
2494
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
2495
|
-
var he = T + ":" +
|
|
2495
|
+
var he = T + ":" + _;
|
|
2496
2496
|
!n[he] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
2497
|
-
i < 3 && (
|
|
2497
|
+
i < 3 && (E(
|
|
2498
2498
|
"You are manually calling a React.PropTypes validation function for the `" + A + "` prop on `" + T + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
2499
2499
|
), n[he] = !0, i++);
|
|
2500
2500
|
}
|
|
2501
2501
|
}
|
|
2502
|
-
return _
|
|
2502
|
+
return b[_] == null ? g ? b[_] === null ? new Y("The " + x + " `" + A + "` is marked as required " + ("in `" + T + "`, but its value is `null`.")) : new Y("The " + x + " `" + A + "` is marked as required in " + ("`" + T + "`, but its value is `undefined`.")) : null : u(b, _, T, x, A);
|
|
2503
2503
|
}
|
|
2504
2504
|
var v = h.bind(null, !1);
|
|
2505
2505
|
return v.isRequired = h.bind(null, !0), v;
|
|
2506
2506
|
}
|
|
2507
2507
|
function ne(u) {
|
|
2508
|
-
function n(i, h, v, b, _
|
|
2509
|
-
var T = i[h],
|
|
2510
|
-
if (
|
|
2511
|
-
var A =
|
|
2508
|
+
function n(i, h, v, g, b, _) {
|
|
2509
|
+
var T = i[h], x = ce(T);
|
|
2510
|
+
if (x !== u) {
|
|
2511
|
+
var A = S(T);
|
|
2512
2512
|
return new Y(
|
|
2513
|
-
"Invalid " +
|
|
2513
|
+
"Invalid " + g + " `" + b + "` of type " + ("`" + A + "` supplied to `" + v + "`, expected ") + ("`" + u + "`."),
|
|
2514
2514
|
{ expectedType: u }
|
|
2515
2515
|
);
|
|
2516
2516
|
}
|
|
2517
2517
|
return null;
|
|
2518
2518
|
}
|
|
2519
|
-
return
|
|
2519
|
+
return ee(n);
|
|
2520
2520
|
}
|
|
2521
|
-
function
|
|
2522
|
-
return
|
|
2521
|
+
function X() {
|
|
2522
|
+
return ee(L);
|
|
2523
2523
|
}
|
|
2524
2524
|
function te(u) {
|
|
2525
|
-
function n(i, h, v,
|
|
2525
|
+
function n(i, h, v, g, b) {
|
|
2526
2526
|
if (typeof u != "function")
|
|
2527
|
-
return new Y("Property `" +
|
|
2528
|
-
var
|
|
2529
|
-
if (!Array.isArray(
|
|
2530
|
-
var T = ce(
|
|
2531
|
-
return new Y("Invalid " +
|
|
2532
|
-
}
|
|
2533
|
-
for (var
|
|
2534
|
-
var A = u(
|
|
2527
|
+
return new Y("Property `" + b + "` of component `" + v + "` has invalid PropType notation inside arrayOf.");
|
|
2528
|
+
var _ = i[h];
|
|
2529
|
+
if (!Array.isArray(_)) {
|
|
2530
|
+
var T = ce(_);
|
|
2531
|
+
return new Y("Invalid " + g + " `" + b + "` of type " + ("`" + T + "` supplied to `" + v + "`, expected an array."));
|
|
2532
|
+
}
|
|
2533
|
+
for (var x = 0; x < _.length; x++) {
|
|
2534
|
+
var A = u(_, x, v, g, b + "[" + x + "]", I);
|
|
2535
2535
|
if (A instanceof Error)
|
|
2536
2536
|
return A;
|
|
2537
2537
|
}
|
|
2538
2538
|
return null;
|
|
2539
2539
|
}
|
|
2540
|
-
return
|
|
2540
|
+
return ee(n);
|
|
2541
2541
|
}
|
|
2542
|
-
function
|
|
2543
|
-
function u(n, i, h, v,
|
|
2544
|
-
var
|
|
2545
|
-
if (!
|
|
2546
|
-
var
|
|
2547
|
-
return new Y("Invalid " + v + " `" +
|
|
2542
|
+
function K() {
|
|
2543
|
+
function u(n, i, h, v, g) {
|
|
2544
|
+
var b = n[i];
|
|
2545
|
+
if (!w(b)) {
|
|
2546
|
+
var _ = ce(b);
|
|
2547
|
+
return new Y("Invalid " + v + " `" + g + "` of type " + ("`" + _ + "` supplied to `" + h + "`, expected a single ReactElement."));
|
|
2548
2548
|
}
|
|
2549
2549
|
return null;
|
|
2550
2550
|
}
|
|
2551
|
-
return
|
|
2551
|
+
return ee(u);
|
|
2552
2552
|
}
|
|
2553
2553
|
function f() {
|
|
2554
|
-
function u(n, i, h, v,
|
|
2555
|
-
var
|
|
2556
|
-
if (!c.isValidElementType(
|
|
2557
|
-
var
|
|
2558
|
-
return new Y("Invalid " + v + " `" +
|
|
2554
|
+
function u(n, i, h, v, g) {
|
|
2555
|
+
var b = n[i];
|
|
2556
|
+
if (!c.isValidElementType(b)) {
|
|
2557
|
+
var _ = ce(b);
|
|
2558
|
+
return new Y("Invalid " + v + " `" + g + "` of type " + ("`" + _ + "` supplied to `" + h + "`, expected a single ReactElement type."));
|
|
2559
2559
|
}
|
|
2560
2560
|
return null;
|
|
2561
2561
|
}
|
|
2562
|
-
return
|
|
2562
|
+
return ee(u);
|
|
2563
2563
|
}
|
|
2564
2564
|
function ie(u) {
|
|
2565
|
-
function n(i, h, v,
|
|
2565
|
+
function n(i, h, v, g, b) {
|
|
2566
2566
|
if (!(i[h] instanceof u)) {
|
|
2567
|
-
var
|
|
2568
|
-
return new Y("Invalid " +
|
|
2567
|
+
var _ = u.name || k, T = xe(i[h]);
|
|
2568
|
+
return new Y("Invalid " + g + " `" + b + "` of type " + ("`" + T + "` supplied to `" + v + "`, expected ") + ("instance of `" + _ + "`."));
|
|
2569
2569
|
}
|
|
2570
2570
|
return null;
|
|
2571
2571
|
}
|
|
2572
|
-
return
|
|
2572
|
+
return ee(n);
|
|
2573
2573
|
}
|
|
2574
2574
|
function Ee(u) {
|
|
2575
2575
|
if (!Array.isArray(u))
|
|
2576
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ?
|
|
2576
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? E(
|
|
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
|
-
) :
|
|
2579
|
-
function n(i, h, v,
|
|
2580
|
-
for (var
|
|
2581
|
-
if (
|
|
2578
|
+
) : E("Invalid argument supplied to oneOf, expected an array.")), L;
|
|
2579
|
+
function n(i, h, v, g, b) {
|
|
2580
|
+
for (var _ = i[h], T = 0; T < u.length; T++)
|
|
2581
|
+
if (z(_, u[T]))
|
|
2582
2582
|
return null;
|
|
2583
|
-
var
|
|
2584
|
-
var he =
|
|
2583
|
+
var x = JSON.stringify(u, function(ye, m) {
|
|
2584
|
+
var he = S(m);
|
|
2585
2585
|
return he === "symbol" ? String(m) : m;
|
|
2586
2586
|
});
|
|
2587
|
-
return new Y("Invalid " +
|
|
2587
|
+
return new Y("Invalid " + g + " `" + b + "` of value `" + String(_) + "` " + ("supplied to `" + v + "`, expected one of " + x + "."));
|
|
2588
2588
|
}
|
|
2589
|
-
return
|
|
2589
|
+
return ee(n);
|
|
2590
2590
|
}
|
|
2591
2591
|
function we(u) {
|
|
2592
|
-
function n(i, h, v,
|
|
2592
|
+
function n(i, h, v, g, b) {
|
|
2593
2593
|
if (typeof u != "function")
|
|
2594
|
-
return new Y("Property `" +
|
|
2595
|
-
var
|
|
2594
|
+
return new Y("Property `" + b + "` of component `" + v + "` has invalid PropType notation inside objectOf.");
|
|
2595
|
+
var _ = i[h], T = ce(_);
|
|
2596
2596
|
if (T !== "object")
|
|
2597
|
-
return new Y("Invalid " +
|
|
2598
|
-
for (var
|
|
2599
|
-
if (R(
|
|
2600
|
-
var A = u(
|
|
2597
|
+
return new Y("Invalid " + g + " `" + b + "` of type " + ("`" + T + "` supplied to `" + v + "`, expected an object."));
|
|
2598
|
+
for (var x in _)
|
|
2599
|
+
if (R(_, x)) {
|
|
2600
|
+
var A = u(_, x, v, g, b + "." + x, I);
|
|
2601
2601
|
if (A instanceof Error)
|
|
2602
2602
|
return A;
|
|
2603
2603
|
}
|
|
2604
2604
|
return null;
|
|
2605
2605
|
}
|
|
2606
|
-
return
|
|
2606
|
+
return ee(n);
|
|
2607
2607
|
}
|
|
2608
2608
|
function Ce(u) {
|
|
2609
2609
|
if (!Array.isArray(u))
|
|
2610
|
-
return process.env.NODE_ENV !== "production" &&
|
|
2610
|
+
return process.env.NODE_ENV !== "production" && E("Invalid argument supplied to oneOfType, expected an instance of array."), L;
|
|
2611
2611
|
for (var n = 0; n < u.length; n++) {
|
|
2612
2612
|
var i = u[n];
|
|
2613
2613
|
if (typeof i != "function")
|
|
2614
|
-
return
|
|
2614
|
+
return E(
|
|
2615
2615
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + _e(i) + " at index " + n + "."
|
|
2616
|
-
),
|
|
2616
|
+
), L;
|
|
2617
2617
|
}
|
|
2618
|
-
function h(v, b, _,
|
|
2619
|
-
for (var
|
|
2620
|
-
var ye = u[A], m = ye(v, b, _,
|
|
2618
|
+
function h(v, g, b, _, T) {
|
|
2619
|
+
for (var x = [], A = 0; A < u.length; A++) {
|
|
2620
|
+
var ye = u[A], m = ye(v, g, b, _, T, I);
|
|
2621
2621
|
if (m == null)
|
|
2622
2622
|
return null;
|
|
2623
|
-
m.data && R(m.data, "expectedType") &&
|
|
2623
|
+
m.data && R(m.data, "expectedType") && x.push(m.data.expectedType);
|
|
2624
2624
|
}
|
|
2625
|
-
var he =
|
|
2626
|
-
return new Y("Invalid " +
|
|
2625
|
+
var he = x.length > 0 ? ", expected one of type [" + x.join(", ") + "]" : "";
|
|
2626
|
+
return new Y("Invalid " + _ + " `" + T + "` supplied to " + ("`" + b + "`" + he + "."));
|
|
2627
2627
|
}
|
|
2628
|
-
return
|
|
2628
|
+
return ee(h);
|
|
2629
2629
|
}
|
|
2630
2630
|
function Te() {
|
|
2631
|
-
function u(n, i, h, v,
|
|
2632
|
-
return fe(n[i]) ? null : new Y("Invalid " + v + " `" +
|
|
2631
|
+
function u(n, i, h, v, g) {
|
|
2632
|
+
return fe(n[i]) ? null : new Y("Invalid " + v + " `" + g + "` supplied to " + ("`" + h + "`, expected a ReactNode."));
|
|
2633
2633
|
}
|
|
2634
|
-
return
|
|
2634
|
+
return ee(u);
|
|
2635
2635
|
}
|
|
2636
2636
|
function Oe(u, n, i, h, v) {
|
|
2637
2637
|
return new Y(
|
|
@@ -2639,44 +2639,44 @@ function bn() {
|
|
|
2639
2639
|
);
|
|
2640
2640
|
}
|
|
2641
2641
|
function Se(u) {
|
|
2642
|
-
function n(i, h, v,
|
|
2643
|
-
var
|
|
2642
|
+
function n(i, h, v, g, b) {
|
|
2643
|
+
var _ = i[h], T = ce(_);
|
|
2644
2644
|
if (T !== "object")
|
|
2645
|
-
return new Y("Invalid " +
|
|
2646
|
-
for (var
|
|
2647
|
-
var A = u[
|
|
2645
|
+
return new Y("Invalid " + g + " `" + b + "` of type `" + T + "` " + ("supplied to `" + v + "`, expected `object`."));
|
|
2646
|
+
for (var x in u) {
|
|
2647
|
+
var A = u[x];
|
|
2648
2648
|
if (typeof A != "function")
|
|
2649
|
-
return Oe(v,
|
|
2650
|
-
var ye = A(
|
|
2649
|
+
return Oe(v, g, b, x, S(A));
|
|
2650
|
+
var ye = A(_, x, v, g, b + "." + x, I);
|
|
2651
2651
|
if (ye)
|
|
2652
2652
|
return ye;
|
|
2653
2653
|
}
|
|
2654
2654
|
return null;
|
|
2655
2655
|
}
|
|
2656
|
-
return
|
|
2656
|
+
return ee(n);
|
|
2657
2657
|
}
|
|
2658
2658
|
function pe(u) {
|
|
2659
|
-
function n(i, h, v,
|
|
2660
|
-
var
|
|
2659
|
+
function n(i, h, v, g, b) {
|
|
2660
|
+
var _ = i[h], T = ce(_);
|
|
2661
2661
|
if (T !== "object")
|
|
2662
|
-
return new Y("Invalid " +
|
|
2663
|
-
var
|
|
2664
|
-
for (var A in
|
|
2662
|
+
return new Y("Invalid " + g + " `" + b + "` of type `" + T + "` " + ("supplied to `" + v + "`, expected `object`."));
|
|
2663
|
+
var x = p({}, i[h], u);
|
|
2664
|
+
for (var A in x) {
|
|
2665
2665
|
var ye = u[A];
|
|
2666
2666
|
if (R(u, A) && typeof ye != "function")
|
|
2667
|
-
return Oe(v,
|
|
2667
|
+
return Oe(v, g, b, A, S(ye));
|
|
2668
2668
|
if (!ye)
|
|
2669
2669
|
return new Y(
|
|
2670
|
-
"Invalid " +
|
|
2670
|
+
"Invalid " + g + " `" + b + "` key `" + A + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(i[h], null, " ") + `
|
|
2671
2671
|
Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
|
|
2672
2672
|
);
|
|
2673
|
-
var m = ye(
|
|
2673
|
+
var m = ye(_, A, v, g, b + "." + A, I);
|
|
2674
2674
|
if (m)
|
|
2675
2675
|
return m;
|
|
2676
2676
|
}
|
|
2677
2677
|
return null;
|
|
2678
2678
|
}
|
|
2679
|
-
return
|
|
2679
|
+
return ee(n);
|
|
2680
2680
|
}
|
|
2681
2681
|
function fe(u) {
|
|
2682
2682
|
switch (typeof u) {
|
|
@@ -2689,9 +2689,9 @@ Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
|
|
|
2689
2689
|
case "object":
|
|
2690
2690
|
if (Array.isArray(u))
|
|
2691
2691
|
return u.every(fe);
|
|
2692
|
-
if (u === null ||
|
|
2692
|
+
if (u === null || w(u))
|
|
2693
2693
|
return !0;
|
|
2694
|
-
var n =
|
|
2694
|
+
var n = $(u);
|
|
2695
2695
|
if (n) {
|
|
2696
2696
|
var i = n.call(u), h;
|
|
2697
2697
|
if (n !== u.entries) {
|
|
@@ -2718,7 +2718,7 @@ Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
|
|
|
2718
2718
|
var n = typeof u;
|
|
2719
2719
|
return Array.isArray(u) ? "array" : u instanceof RegExp ? "object" : de(n, u) ? "symbol" : n;
|
|
2720
2720
|
}
|
|
2721
|
-
function
|
|
2721
|
+
function S(u) {
|
|
2722
2722
|
if (typeof u > "u" || u === null)
|
|
2723
2723
|
return "" + u;
|
|
2724
2724
|
var n = ce(u);
|
|
@@ -2731,7 +2731,7 @@ Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
|
|
|
2731
2731
|
return n;
|
|
2732
2732
|
}
|
|
2733
2733
|
function _e(u) {
|
|
2734
|
-
var n =
|
|
2734
|
+
var n = S(u);
|
|
2735
2735
|
switch (n) {
|
|
2736
2736
|
case "array":
|
|
2737
2737
|
case "object":
|
|
@@ -2745,9 +2745,9 @@ Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
|
|
|
2745
2745
|
}
|
|
2746
2746
|
}
|
|
2747
2747
|
function xe(u) {
|
|
2748
|
-
return !u.constructor || !u.constructor.name ?
|
|
2748
|
+
return !u.constructor || !u.constructor.name ? k : u.constructor.name;
|
|
2749
2749
|
}
|
|
2750
|
-
return
|
|
2750
|
+
return U.checkPropTypes = P, U.resetWarningCache = P.resetWarningCache, U.PropTypes = U, U;
|
|
2751
2751
|
}, Zr;
|
|
2752
2752
|
}
|
|
2753
2753
|
var Xr, Nt;
|
|
@@ -2761,19 +2761,19 @@ function _n() {
|
|
|
2761
2761
|
function I() {
|
|
2762
2762
|
}
|
|
2763
2763
|
return I.resetWarningCache = p, Xr = function() {
|
|
2764
|
-
function R(
|
|
2765
|
-
if (
|
|
2766
|
-
var
|
|
2764
|
+
function R(L, w, j, F, O, $) {
|
|
2765
|
+
if ($ !== c) {
|
|
2766
|
+
var k = new Error(
|
|
2767
2767
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
2768
2768
|
);
|
|
2769
|
-
throw
|
|
2769
|
+
throw k.name = "Invariant Violation", k;
|
|
2770
2770
|
}
|
|
2771
2771
|
}
|
|
2772
2772
|
R.isRequired = R;
|
|
2773
|
-
function
|
|
2773
|
+
function P() {
|
|
2774
2774
|
return R;
|
|
2775
2775
|
}
|
|
2776
|
-
var
|
|
2776
|
+
var E = {
|
|
2777
2777
|
array: R,
|
|
2778
2778
|
bigint: R,
|
|
2779
2779
|
bool: R,
|
|
@@ -2783,41 +2783,41 @@ function _n() {
|
|
|
2783
2783
|
string: R,
|
|
2784
2784
|
symbol: R,
|
|
2785
2785
|
any: R,
|
|
2786
|
-
arrayOf:
|
|
2786
|
+
arrayOf: P,
|
|
2787
2787
|
element: R,
|
|
2788
2788
|
elementType: R,
|
|
2789
|
-
instanceOf:
|
|
2789
|
+
instanceOf: P,
|
|
2790
2790
|
node: R,
|
|
2791
|
-
objectOf:
|
|
2792
|
-
oneOf:
|
|
2793
|
-
oneOfType:
|
|
2794
|
-
shape:
|
|
2795
|
-
exact:
|
|
2791
|
+
objectOf: P,
|
|
2792
|
+
oneOf: P,
|
|
2793
|
+
oneOfType: P,
|
|
2794
|
+
shape: P,
|
|
2795
|
+
exact: P,
|
|
2796
2796
|
checkPropTypes: I,
|
|
2797
2797
|
resetWarningCache: p
|
|
2798
2798
|
};
|
|
2799
|
-
return
|
|
2799
|
+
return E.PropTypes = E, E;
|
|
2800
2800
|
}, Xr;
|
|
2801
2801
|
}
|
|
2802
2802
|
if (process.env.NODE_ENV !== "production") {
|
|
2803
|
-
var En =
|
|
2803
|
+
var En = Yt(), Rn = !0;
|
|
2804
2804
|
rt.exports = bn()(En.isElement, Rn);
|
|
2805
2805
|
} else
|
|
2806
2806
|
rt.exports = _n()();
|
|
2807
2807
|
var wn = rt.exports;
|
|
2808
|
-
const
|
|
2808
|
+
const W = /* @__PURE__ */ ln(wn), Cn = ({ title: c = "", id: p = "", children: I = /* @__PURE__ */ y.jsx("div", {}) }) => /* @__PURE__ */ y.jsxs("div", { className: "u-accordion", children: [
|
|
2809
2809
|
/* @__PURE__ */ y.jsx("div", { className: "u-accordion-title", children: c }),
|
|
2810
2810
|
/* @__PURE__ */ y.jsx("input", { className: "u-accordion-input", type: "checkbox", id: `u-accordion${p}` }),
|
|
2811
2811
|
/* @__PURE__ */ y.jsx("label", { className: "u-accordion-toggle", htmlFor: `u-accordion${p}` }),
|
|
2812
2812
|
/* @__PURE__ */ y.jsx("div", { className: "u-accordion-content", children: I })
|
|
2813
2813
|
] });
|
|
2814
2814
|
Cn.propTypes = {
|
|
2815
|
-
title:
|
|
2816
|
-
id:
|
|
2817
|
-
children:
|
|
2815
|
+
title: W.string,
|
|
2816
|
+
id: W.string,
|
|
2817
|
+
children: W.node
|
|
2818
2818
|
};
|
|
2819
|
-
const Tn = ({ onClick: c, variant: p = "primary", size: I = "medium", type: R = "button", icon:
|
|
2820
|
-
const
|
|
2819
|
+
const Tn = ({ onClick: c, variant: p = "primary", size: I = "medium", type: R = "button", icon: P = "", iconLeft: E = !1, iconOnly: L = !1, iconSize: w, disabled: j = !1, children: F = "ОК" }) => {
|
|
2820
|
+
const O = (Y) => {
|
|
2821
2821
|
switch (Y) {
|
|
2822
2822
|
case "primary":
|
|
2823
2823
|
return "u-button";
|
|
@@ -2834,7 +2834,7 @@ const Tn = ({ onClick: c, variant: p = "primary", size: I = "medium", type: R =
|
|
|
2834
2834
|
case "text-danger":
|
|
2835
2835
|
return "u-button-text u-button-text-danger";
|
|
2836
2836
|
}
|
|
2837
|
-
},
|
|
2837
|
+
}, $ = (Y) => {
|
|
2838
2838
|
switch (Y) {
|
|
2839
2839
|
case "medium":
|
|
2840
2840
|
return "";
|
|
@@ -2843,29 +2843,29 @@ const Tn = ({ onClick: c, variant: p = "primary", size: I = "medium", type: R =
|
|
|
2843
2843
|
default:
|
|
2844
2844
|
return "";
|
|
2845
2845
|
}
|
|
2846
|
-
},
|
|
2846
|
+
}, k = (Y) => Y ? " u-button-text-icon-left" : "", U = (Y) => Y ? " icon-only" : "", z = (Y) => typeof Y == "number" ? `${Y}px` : String(Y);
|
|
2847
2847
|
return /* @__PURE__ */ y.jsxs(
|
|
2848
2848
|
"button",
|
|
2849
2849
|
{
|
|
2850
|
-
className: `${
|
|
2850
|
+
className: `${O(p)}${$(I)}${k(E)}`,
|
|
2851
2851
|
type: R,
|
|
2852
2852
|
onClick: c,
|
|
2853
|
-
disabled:
|
|
2853
|
+
disabled: j,
|
|
2854
2854
|
children: [
|
|
2855
|
-
|
|
2855
|
+
F,
|
|
2856
2856
|
" ",
|
|
2857
|
-
|
|
2857
|
+
P && /* @__PURE__ */ y.jsx("i", { style: w && { fontSize: z(w) }, className: `u-icon${U(L)} icon-${P}` })
|
|
2858
2858
|
]
|
|
2859
2859
|
}
|
|
2860
2860
|
);
|
|
2861
2861
|
};
|
|
2862
2862
|
Tn.propTypes = {
|
|
2863
|
-
variant:
|
|
2864
|
-
type:
|
|
2865
|
-
size:
|
|
2866
|
-
children:
|
|
2867
|
-
onClick:
|
|
2868
|
-
icon:
|
|
2863
|
+
variant: W.oneOf(["primary", "danger", "outline", "danger-outline", "simple", "text", "text-danger"]),
|
|
2864
|
+
type: W.string,
|
|
2865
|
+
size: W.string,
|
|
2866
|
+
children: W.string,
|
|
2867
|
+
onClick: W.func,
|
|
2868
|
+
icon: W.oneOf([
|
|
2869
2869
|
"active",
|
|
2870
2870
|
"application",
|
|
2871
2871
|
"attention",
|
|
@@ -2957,13 +2957,13 @@ Tn.propTypes = {
|
|
|
2957
2957
|
])
|
|
2958
2958
|
};
|
|
2959
2959
|
const Sn = ({ name: c = "", size: p = "", color: I = "" }) => {
|
|
2960
|
-
const R = (
|
|
2960
|
+
const R = (P) => typeof P == "number" ? `${P}px` : String(P);
|
|
2961
2961
|
return /* @__PURE__ */ y.jsx("i", { style: { fontSize: R(p), color: I }, className: `u-icon icon-${c}` });
|
|
2962
2962
|
};
|
|
2963
2963
|
Sn.propTypes = {
|
|
2964
|
-
size:
|
|
2965
|
-
color:
|
|
2966
|
-
name:
|
|
2964
|
+
size: W.string,
|
|
2965
|
+
color: W.string,
|
|
2966
|
+
name: W.oneOf([
|
|
2967
2967
|
"active",
|
|
2968
2968
|
"application",
|
|
2969
2969
|
"attention",
|
|
@@ -3054,8 +3054,8 @@ Sn.propTypes = {
|
|
|
3054
3054
|
"zip"
|
|
3055
3055
|
])
|
|
3056
3056
|
};
|
|
3057
|
-
const xn = ({ title: c = "", defaultValue: p = "", onChange: I, required: R = !1, disabled:
|
|
3058
|
-
const
|
|
3057
|
+
const xn = ({ title: c = "", defaultValue: p = "", onChange: I, required: R = !1, disabled: P = !1, lineUp: E = !1, rowGap: L = 4, columnGap: w = 20, styleInputContainer: j, styleTitle: F, styleInput: O }) => {
|
|
3058
|
+
const $ = (k) => typeof k == "number" ? `${k}px` : String(k);
|
|
3059
3059
|
return /* @__PURE__ */ y.jsxs(
|
|
3060
3060
|
"div",
|
|
3061
3061
|
{
|
|
@@ -3063,33 +3063,33 @@ const xn = ({ title: c = "", defaultValue: p = "", onChange: I, required: R = !1
|
|
|
3063
3063
|
style: Object.assign(
|
|
3064
3064
|
{
|
|
3065
3065
|
display: "flex",
|
|
3066
|
-
flexDirection:
|
|
3067
|
-
rowGap:
|
|
3068
|
-
columnGap:
|
|
3066
|
+
flexDirection: E ? "row" : "column",
|
|
3067
|
+
rowGap: E ? null : $(L),
|
|
3068
|
+
columnGap: E ? $(w) : null
|
|
3069
3069
|
},
|
|
3070
|
-
|
|
3070
|
+
j
|
|
3071
3071
|
),
|
|
3072
3072
|
children: [
|
|
3073
|
-
c && /* @__PURE__ */ y.jsx("div", { className: `${R && "u-required"} u-react-input-title`, style:
|
|
3074
|
-
/* @__PURE__ */ y.jsx("input", { className: "u-react-input u-input", style:
|
|
3073
|
+
c && /* @__PURE__ */ y.jsx("div", { className: `${R && "u-required"} u-react-input-title`, style: F, children: c }),
|
|
3074
|
+
/* @__PURE__ */ y.jsx("input", { className: "u-react-input u-input", style: O, type: "text", placeholder: "введите", value: p, disabled: P, onChange: I })
|
|
3075
3075
|
]
|
|
3076
3076
|
}
|
|
3077
3077
|
);
|
|
3078
3078
|
};
|
|
3079
3079
|
xn.propTypes = {
|
|
3080
|
-
title:
|
|
3081
|
-
required:
|
|
3082
|
-
disabled:
|
|
3083
|
-
lineUp:
|
|
3084
|
-
rowGap:
|
|
3085
|
-
columnGap:
|
|
3086
|
-
styleInputContainer:
|
|
3087
|
-
styleTitle:
|
|
3088
|
-
styleInput:
|
|
3080
|
+
title: W.string,
|
|
3081
|
+
required: W.bool,
|
|
3082
|
+
disabled: W.bool,
|
|
3083
|
+
lineUp: W.bool,
|
|
3084
|
+
rowGap: W.bool,
|
|
3085
|
+
columnGap: W.bool,
|
|
3086
|
+
styleInputContainer: W.object,
|
|
3087
|
+
styleTitle: W.object,
|
|
3088
|
+
styleInput: W.object
|
|
3089
3089
|
};
|
|
3090
3090
|
const On = ({ size: c = "medium", variant: p = "info", children: I }) => {
|
|
3091
|
-
const R = (
|
|
3092
|
-
switch (`${
|
|
3091
|
+
const R = (P, E) => {
|
|
3092
|
+
switch (`${P}-${E}`) {
|
|
3093
3093
|
case "medium-info":
|
|
3094
3094
|
return "u-message";
|
|
3095
3095
|
case "medium-fail":
|
|
@@ -3111,9 +3111,9 @@ const On = ({ size: c = "medium", variant: p = "info", children: I }) => {
|
|
|
3111
3111
|
return /* @__PURE__ */ y.jsx("div", { className: R(c, p), children: I });
|
|
3112
3112
|
};
|
|
3113
3113
|
On.propTypes = {
|
|
3114
|
-
size:
|
|
3115
|
-
variant:
|
|
3116
|
-
children:
|
|
3114
|
+
size: W.string,
|
|
3115
|
+
variant: W.string,
|
|
3116
|
+
children: W.node
|
|
3117
3117
|
};
|
|
3118
3118
|
const jn = ({ variant: c = "small-primary" }) => /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
3119
3119
|
c === "small-primary" && /* @__PURE__ */ y.jsx("div", { className: "u-preloader-mini", children: /* @__PURE__ */ y.jsxs("svg", { className: "u-preloader-mini-container", width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
@@ -3165,32 +3165,28 @@ const jn = ({ variant: c = "small-primary" }) => /* @__PURE__ */ y.jsxs(y.Fragme
|
|
|
3165
3165
|
] }) })
|
|
3166
3166
|
] });
|
|
3167
3167
|
jn.propTypes = {
|
|
3168
|
-
variant:
|
|
3168
|
+
variant: W.string
|
|
3169
3169
|
};
|
|
3170
|
-
const Pn = ({ options: c, placeholder: p = "Не выбрано",
|
|
3171
|
-
const [
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
const S = (g) => {
|
|
3176
|
-
g.target.closest(".u-selectbox") || k(!1);
|
|
3170
|
+
const Pn = ({ options: c, placeholder: p = "Не выбрано", value: I, onChange: R }) => {
|
|
3171
|
+
const [P, E] = Tr.useState(!1);
|
|
3172
|
+
Tr.useEffect(() => (document.addEventListener("click", L), () => document.removeEventListener("click", L)), []);
|
|
3173
|
+
const L = (w) => {
|
|
3174
|
+
w.target.closest(".u-selectbox") || E(!1);
|
|
3177
3175
|
};
|
|
3178
3176
|
return /* @__PURE__ */ y.jsxs("div", { className: "u-selectbox", children: [
|
|
3179
3177
|
/* @__PURE__ */ y.jsxs(
|
|
3180
3178
|
"div",
|
|
3181
3179
|
{
|
|
3182
|
-
className:
|
|
3183
|
-
onClick: () =>
|
|
3184
|
-
k(!R);
|
|
3185
|
-
},
|
|
3180
|
+
className: P ? "u-selectbox-select u-selectbox-select-open" : "u-selectbox-select",
|
|
3181
|
+
onClick: () => E(!P),
|
|
3186
3182
|
children: [
|
|
3187
|
-
/* @__PURE__ */ y.jsx("span", { className: "u-selectbox-select-title", children:
|
|
3188
|
-
|
|
3183
|
+
/* @__PURE__ */ y.jsx("span", { className: "u-selectbox-select-title", children: I.label }),
|
|
3184
|
+
I ? /* @__PURE__ */ y.jsx(
|
|
3189
3185
|
"i",
|
|
3190
3186
|
{
|
|
3191
3187
|
className: "u-selectbox-select-icon-cross",
|
|
3192
|
-
onClick: (
|
|
3193
|
-
|
|
3188
|
+
onClick: (w) => {
|
|
3189
|
+
w.stopPropagation(), R({ value: null, label: p });
|
|
3194
3190
|
}
|
|
3195
3191
|
}
|
|
3196
3192
|
) : /* @__PURE__ */ y.jsx(y.Fragment, {}),
|
|
@@ -3202,21 +3198,23 @@ const Pn = ({ options: c, placeholder: p = "Не выбрано", defaultValue:
|
|
|
3202
3198
|
"div",
|
|
3203
3199
|
{
|
|
3204
3200
|
className: "u-selectbox-options",
|
|
3205
|
-
onClick: () =>
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
children:
|
|
3201
|
+
onClick: () => E(!1),
|
|
3202
|
+
children: c.map((w, j) => /* @__PURE__ */ y.jsx("div", { className: "u-selectbox-option", onClick: (F) => {
|
|
3203
|
+
F.stopPropagation(), R(w);
|
|
3204
|
+
}, children: w.label }, j))
|
|
3209
3205
|
}
|
|
3210
3206
|
)
|
|
3211
3207
|
] });
|
|
3212
3208
|
};
|
|
3213
3209
|
Pn.propTypes = {
|
|
3214
|
-
options:
|
|
3215
|
-
placeholder:
|
|
3210
|
+
options: W.array,
|
|
3211
|
+
placeholder: W.string,
|
|
3212
|
+
value: W.object,
|
|
3213
|
+
onChange: W.func
|
|
3216
3214
|
};
|
|
3217
3215
|
const kn = ({ size: c = "medium", variant: p = "", children: I }) => {
|
|
3218
|
-
const R = (
|
|
3219
|
-
switch (
|
|
3216
|
+
const R = (P) => {
|
|
3217
|
+
switch (P) {
|
|
3220
3218
|
case "warning":
|
|
3221
3219
|
return "u-status-warning";
|
|
3222
3220
|
case "info":
|
|
@@ -3236,69 +3234,80 @@ const kn = ({ size: c = "medium", variant: p = "", children: I }) => {
|
|
|
3236
3234
|
return /* @__PURE__ */ y.jsx("div", { className: `u-status ${c === "large" ? "u-status-large" : ""} ${R(p)}`, children: I });
|
|
3237
3235
|
};
|
|
3238
3236
|
kn.propTypes = {
|
|
3239
|
-
children:
|
|
3240
|
-
variant:
|
|
3241
|
-
size:
|
|
3237
|
+
children: W.string,
|
|
3238
|
+
variant: W.string,
|
|
3239
|
+
size: W.string
|
|
3242
3240
|
};
|
|
3243
|
-
const An = ({ data: c, columns: p,
|
|
3244
|
-
const
|
|
3241
|
+
const An = ({ data: c, columns: p, borders: I = "horizontal", striped: R, linesNotActive: P, fixedHeader: E, tdStyle: L, thStyle: w, cellStyle: j }) => {
|
|
3242
|
+
const F = (k) => `${k}px`, O = "auto", $ = (k) => {
|
|
3243
|
+
switch (k) {
|
|
3244
|
+
case "horizontal":
|
|
3245
|
+
return "";
|
|
3246
|
+
case "vertical":
|
|
3247
|
+
return " vertical-borders";
|
|
3248
|
+
case "none":
|
|
3249
|
+
return " none-borders";
|
|
3250
|
+
}
|
|
3251
|
+
};
|
|
3245
3252
|
return /* @__PURE__ */ y.jsx(
|
|
3246
3253
|
"div",
|
|
3247
3254
|
{
|
|
3248
|
-
className: `u-table${I ?
|
|
3255
|
+
className: `u-table${["horizontal", "vertical", "none"].includes(I) ? $(I) : ""}${R ? " striped" : ""}${P ? " not-active-lines" : ""}${E ? " thead-fixed" : ""}`,
|
|
3249
3256
|
children: /* @__PURE__ */ y.jsxs("table", { className: "table", children: [
|
|
3250
3257
|
/* @__PURE__ */ y.jsx("thead", { children: /* @__PURE__ */ y.jsx("tr", { children: p.map(
|
|
3251
|
-
(
|
|
3258
|
+
(k, U) => /* @__PURE__ */ y.jsx(
|
|
3252
3259
|
"th",
|
|
3253
3260
|
{
|
|
3254
|
-
className: `${
|
|
3261
|
+
className: `${k.sticky ? "sticky" : ""}`,
|
|
3255
3262
|
style: Object.assign(
|
|
3256
3263
|
{
|
|
3257
|
-
left:
|
|
3264
|
+
left: k.leftForSticky ? F(k.leftForSticky) : ""
|
|
3258
3265
|
},
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3266
|
+
k.thStyle,
|
|
3267
|
+
k.cellStyle,
|
|
3268
|
+
w,
|
|
3269
|
+
j
|
|
3263
3270
|
),
|
|
3264
|
-
children: /* @__PURE__ */ y.jsx("p", { children:
|
|
3265
|
-
}
|
|
3271
|
+
children: /* @__PURE__ */ y.jsx("p", { children: k.title })
|
|
3272
|
+
},
|
|
3273
|
+
U
|
|
3266
3274
|
)
|
|
3267
3275
|
) }) }),
|
|
3268
|
-
/* @__PURE__ */ y.jsx("tbody", { children: c == null ? void 0 : c.map((
|
|
3269
|
-
(
|
|
3276
|
+
/* @__PURE__ */ y.jsx("tbody", { children: c == null ? void 0 : c.map((k, U) => /* @__PURE__ */ y.jsx("tr", { children: p == null ? void 0 : p.map(
|
|
3277
|
+
(z, Y) => /* @__PURE__ */ y.jsx(
|
|
3270
3278
|
"td",
|
|
3271
3279
|
{
|
|
3272
|
-
className: `${
|
|
3280
|
+
className: `${z.sticky ? "sticky" : ""}`,
|
|
3273
3281
|
style: Object.assign(
|
|
3274
3282
|
{
|
|
3275
|
-
left:
|
|
3283
|
+
left: z.leftForSticky ? F(z.leftForSticky) : ""
|
|
3276
3284
|
},
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3285
|
+
z.tdStyle,
|
|
3286
|
+
z.cellStyle,
|
|
3287
|
+
L,
|
|
3288
|
+
j
|
|
3281
3289
|
),
|
|
3282
3290
|
children: /* @__PURE__ */ y.jsx("div", { style: {
|
|
3283
|
-
width:
|
|
3284
|
-
}, children:
|
|
3285
|
-
}
|
|
3291
|
+
width: z.width ? F(z.width) : O
|
|
3292
|
+
}, children: z.render ? z.render(k) : k[z.field] })
|
|
3293
|
+
},
|
|
3294
|
+
Y
|
|
3286
3295
|
)
|
|
3287
|
-
) },
|
|
3296
|
+
) }, U)) })
|
|
3288
3297
|
] })
|
|
3289
3298
|
}
|
|
3290
3299
|
);
|
|
3291
3300
|
};
|
|
3292
3301
|
An.propTypes = {
|
|
3293
|
-
data:
|
|
3294
|
-
columns:
|
|
3295
|
-
verticalBorders:
|
|
3296
|
-
striped:
|
|
3297
|
-
linesNotActive:
|
|
3298
|
-
fixedHeader:
|
|
3299
|
-
tdStyle:
|
|
3300
|
-
thStyle:
|
|
3301
|
-
cellStyle:
|
|
3302
|
+
data: W.array,
|
|
3303
|
+
columns: W.array,
|
|
3304
|
+
verticalBorders: W.bool,
|
|
3305
|
+
striped: W.bool,
|
|
3306
|
+
linesNotActive: W.bool,
|
|
3307
|
+
fixedHeader: W.bool,
|
|
3308
|
+
tdStyle: W.object,
|
|
3309
|
+
thStyle: W.object,
|
|
3310
|
+
cellStyle: W.object
|
|
3302
3311
|
};
|
|
3303
3312
|
export {
|
|
3304
3313
|
Cn as Accordion,
|