@hievilmath/browser-formidavim 0.0.1
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/index.d.ts +1 -0
- package/index.js +70 -0
- package/index.mjs +2130 -0
- package/lib/components/render.d.ts +6 -0
- package/package.json +7 -0
package/index.mjs
ADDED
|
@@ -0,0 +1,2130 @@
|
|
|
1
|
+
var pr = { exports: {} }, yr = {};
|
|
2
|
+
/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-jsx-dev-runtime.production.min.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/
|
|
11
|
+
var lt;
|
|
12
|
+
function Ut() {
|
|
13
|
+
if (lt) return yr;
|
|
14
|
+
lt = 1;
|
|
15
|
+
var z = Symbol.for("react.fragment");
|
|
16
|
+
return yr.Fragment = z, yr.jsxDEV = void 0, yr;
|
|
17
|
+
}
|
|
18
|
+
var mr = {}, hr = { exports: {} }, g = {};
|
|
19
|
+
/**
|
|
20
|
+
* @license React
|
|
21
|
+
* react.production.min.js
|
|
22
|
+
*
|
|
23
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
24
|
+
*
|
|
25
|
+
* This source code is licensed under the MIT license found in the
|
|
26
|
+
* LICENSE file in the root directory of this source tree.
|
|
27
|
+
*/
|
|
28
|
+
var dt;
|
|
29
|
+
function Wt() {
|
|
30
|
+
if (dt) return g;
|
|
31
|
+
dt = 1;
|
|
32
|
+
var z = Symbol.for("react.element"), y = Symbol.for("react.portal"), We = Symbol.for("react.fragment"), G = Symbol.for("react.strict_mode"), Re = Symbol.for("react.profiler"), se = Symbol.for("react.provider"), pe = Symbol.for("react.context"), ye = Symbol.for("react.forward_ref"), te = Symbol.for("react.suspense"), ne = Symbol.for("react.memo"), J = Symbol.for("react.lazy"), K = Symbol.iterator;
|
|
33
|
+
function ce(n) {
|
|
34
|
+
return n === null || typeof n != "object" ? null : (n = K && n[K] || n["@@iterator"], typeof n == "function" ? n : null);
|
|
35
|
+
}
|
|
36
|
+
var X = { isMounted: function() {
|
|
37
|
+
return !1;
|
|
38
|
+
}, enqueueForceUpdate: function() {
|
|
39
|
+
}, enqueueReplaceState: function() {
|
|
40
|
+
}, enqueueSetState: function() {
|
|
41
|
+
} }, ae = Object.assign, Ie = {};
|
|
42
|
+
function Q(n, u, b) {
|
|
43
|
+
this.props = n, this.context = u, this.refs = Ie, this.updater = b || X;
|
|
44
|
+
}
|
|
45
|
+
Q.prototype.isReactComponent = {}, Q.prototype.setState = function(n, u) {
|
|
46
|
+
if (typeof n != "object" && typeof n != "function" && n != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
47
|
+
this.updater.enqueueSetState(this, n, u, "setState");
|
|
48
|
+
}, Q.prototype.forceUpdate = function(n) {
|
|
49
|
+
this.updater.enqueueForceUpdate(this, n, "forceUpdate");
|
|
50
|
+
};
|
|
51
|
+
function Z() {
|
|
52
|
+
}
|
|
53
|
+
Z.prototype = Q.prototype;
|
|
54
|
+
function A(n, u, b) {
|
|
55
|
+
this.props = n, this.context = u, this.refs = Ie, this.updater = b || X;
|
|
56
|
+
}
|
|
57
|
+
var me = A.prototype = new Z();
|
|
58
|
+
me.constructor = A, ae(me, Q.prototype), me.isPureReactComponent = !0;
|
|
59
|
+
var ee = Array.isArray, $ = Object.prototype.hasOwnProperty, B = { current: null }, oe = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
60
|
+
function fe(n, u, b) {
|
|
61
|
+
var E, w = {}, k = null, O = null;
|
|
62
|
+
if (u != null) for (E in u.ref !== void 0 && (O = u.ref), u.key !== void 0 && (k = "" + u.key), u) $.call(u, E) && !oe.hasOwnProperty(E) && (w[E] = u[E]);
|
|
63
|
+
var T = arguments.length - 2;
|
|
64
|
+
if (T === 1) w.children = b;
|
|
65
|
+
else if (1 < T) {
|
|
66
|
+
for (var S = Array(T), N = 0; N < T; N++) S[N] = arguments[N + 2];
|
|
67
|
+
w.children = S;
|
|
68
|
+
}
|
|
69
|
+
if (n && n.defaultProps) for (E in T = n.defaultProps, T) w[E] === void 0 && (w[E] = T[E]);
|
|
70
|
+
return { $$typeof: z, type: n, key: k, ref: O, props: w, _owner: B.current };
|
|
71
|
+
}
|
|
72
|
+
function Ce(n, u) {
|
|
73
|
+
return { $$typeof: z, type: n.type, key: u, ref: n.ref, props: n.props, _owner: n._owner };
|
|
74
|
+
}
|
|
75
|
+
function we(n) {
|
|
76
|
+
return typeof n == "object" && n !== null && n.$$typeof === z;
|
|
77
|
+
}
|
|
78
|
+
function Ye(n) {
|
|
79
|
+
var u = { "=": "=0", ":": "=2" };
|
|
80
|
+
return "$" + n.replace(/[=:]/g, function(b) {
|
|
81
|
+
return u[b];
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
var Se = /\/+/g;
|
|
85
|
+
function W(n, u) {
|
|
86
|
+
return typeof n == "object" && n !== null && n.key != null ? Ye("" + n.key) : u.toString(36);
|
|
87
|
+
}
|
|
88
|
+
function q(n, u, b, E, w) {
|
|
89
|
+
var k = typeof n;
|
|
90
|
+
(k === "undefined" || k === "boolean") && (n = null);
|
|
91
|
+
var O = !1;
|
|
92
|
+
if (n === null) O = !0;
|
|
93
|
+
else switch (k) {
|
|
94
|
+
case "string":
|
|
95
|
+
case "number":
|
|
96
|
+
O = !0;
|
|
97
|
+
break;
|
|
98
|
+
case "object":
|
|
99
|
+
switch (n.$$typeof) {
|
|
100
|
+
case z:
|
|
101
|
+
case y:
|
|
102
|
+
O = !0;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
if (O) return O = n, w = w(O), n = E === "" ? "." + W(O, 0) : E, ee(w) ? (b = "", n != null && (b = n.replace(Se, "$&/") + "/"), q(w, u, b, "", function(N) {
|
|
106
|
+
return N;
|
|
107
|
+
})) : w != null && (we(w) && (w = Ce(w, b + (!w.key || O && O.key === w.key ? "" : ("" + w.key).replace(Se, "$&/") + "/") + n)), u.push(w)), 1;
|
|
108
|
+
if (O = 0, E = E === "" ? "." : E + ":", ee(n)) for (var T = 0; T < n.length; T++) {
|
|
109
|
+
k = n[T];
|
|
110
|
+
var S = E + W(k, T);
|
|
111
|
+
O += q(k, u, b, S, w);
|
|
112
|
+
}
|
|
113
|
+
else if (S = ce(n), typeof S == "function") for (n = S.call(n), T = 0; !(k = n.next()).done; ) k = k.value, S = E + W(k, T++), O += q(k, u, b, S, w);
|
|
114
|
+
else if (k === "object") throw u = String(n), Error("Objects are not valid as a React child (found: " + (u === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : u) + "). If you meant to render a collection of children, use an array instead.");
|
|
115
|
+
return O;
|
|
116
|
+
}
|
|
117
|
+
function V(n, u, b) {
|
|
118
|
+
if (n == null) return n;
|
|
119
|
+
var E = [], w = 0;
|
|
120
|
+
return q(n, E, "", "", function(k) {
|
|
121
|
+
return u.call(b, k, w++);
|
|
122
|
+
}), E;
|
|
123
|
+
}
|
|
124
|
+
function re(n) {
|
|
125
|
+
if (n._status === -1) {
|
|
126
|
+
var u = n._result;
|
|
127
|
+
u = u(), u.then(function(b) {
|
|
128
|
+
(n._status === 0 || n._status === -1) && (n._status = 1, n._result = b);
|
|
129
|
+
}, function(b) {
|
|
130
|
+
(n._status === 0 || n._status === -1) && (n._status = 2, n._result = b);
|
|
131
|
+
}), n._status === -1 && (n._status = 0, n._result = u);
|
|
132
|
+
}
|
|
133
|
+
if (n._status === 1) return n._result.default;
|
|
134
|
+
throw n._result;
|
|
135
|
+
}
|
|
136
|
+
var l = { current: null }, ie = { transition: null }, Te = { ReactCurrentDispatcher: l, ReactCurrentBatchConfig: ie, ReactCurrentOwner: B };
|
|
137
|
+
function le() {
|
|
138
|
+
throw Error("act(...) is not supported in production builds of React.");
|
|
139
|
+
}
|
|
140
|
+
return g.Children = { map: V, forEach: function(n, u, b) {
|
|
141
|
+
V(n, function() {
|
|
142
|
+
u.apply(this, arguments);
|
|
143
|
+
}, b);
|
|
144
|
+
}, count: function(n) {
|
|
145
|
+
var u = 0;
|
|
146
|
+
return V(n, function() {
|
|
147
|
+
u++;
|
|
148
|
+
}), u;
|
|
149
|
+
}, toArray: function(n) {
|
|
150
|
+
return V(n, function(u) {
|
|
151
|
+
return u;
|
|
152
|
+
}) || [];
|
|
153
|
+
}, only: function(n) {
|
|
154
|
+
if (!we(n)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
155
|
+
return n;
|
|
156
|
+
} }, g.Component = Q, g.Fragment = We, g.Profiler = Re, g.PureComponent = A, g.StrictMode = G, g.Suspense = te, g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Te, g.act = le, g.cloneElement = function(n, u, b) {
|
|
157
|
+
if (n == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + n + ".");
|
|
158
|
+
var E = ae({}, n.props), w = n.key, k = n.ref, O = n._owner;
|
|
159
|
+
if (u != null) {
|
|
160
|
+
if (u.ref !== void 0 && (k = u.ref, O = B.current), u.key !== void 0 && (w = "" + u.key), n.type && n.type.defaultProps) var T = n.type.defaultProps;
|
|
161
|
+
for (S in u) $.call(u, S) && !oe.hasOwnProperty(S) && (E[S] = u[S] === void 0 && T !== void 0 ? T[S] : u[S]);
|
|
162
|
+
}
|
|
163
|
+
var S = arguments.length - 2;
|
|
164
|
+
if (S === 1) E.children = b;
|
|
165
|
+
else if (1 < S) {
|
|
166
|
+
T = Array(S);
|
|
167
|
+
for (var N = 0; N < S; N++) T[N] = arguments[N + 2];
|
|
168
|
+
E.children = T;
|
|
169
|
+
}
|
|
170
|
+
return { $$typeof: z, type: n.type, key: w, ref: k, props: E, _owner: O };
|
|
171
|
+
}, g.createContext = function(n) {
|
|
172
|
+
return n = { $$typeof: pe, _currentValue: n, _currentValue2: n, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, n.Provider = { $$typeof: se, _context: n }, n.Consumer = n;
|
|
173
|
+
}, g.createElement = fe, g.createFactory = function(n) {
|
|
174
|
+
var u = fe.bind(null, n);
|
|
175
|
+
return u.type = n, u;
|
|
176
|
+
}, g.createRef = function() {
|
|
177
|
+
return { current: null };
|
|
178
|
+
}, g.forwardRef = function(n) {
|
|
179
|
+
return { $$typeof: ye, render: n };
|
|
180
|
+
}, g.isValidElement = we, g.lazy = function(n) {
|
|
181
|
+
return { $$typeof: J, _payload: { _status: -1, _result: n }, _init: re };
|
|
182
|
+
}, g.memo = function(n, u) {
|
|
183
|
+
return { $$typeof: ne, type: n, compare: u === void 0 ? null : u };
|
|
184
|
+
}, g.startTransition = function(n) {
|
|
185
|
+
var u = ie.transition;
|
|
186
|
+
ie.transition = {};
|
|
187
|
+
try {
|
|
188
|
+
n();
|
|
189
|
+
} finally {
|
|
190
|
+
ie.transition = u;
|
|
191
|
+
}
|
|
192
|
+
}, g.unstable_act = le, g.useCallback = function(n, u) {
|
|
193
|
+
return l.current.useCallback(n, u);
|
|
194
|
+
}, g.useContext = function(n) {
|
|
195
|
+
return l.current.useContext(n);
|
|
196
|
+
}, g.useDebugValue = function() {
|
|
197
|
+
}, g.useDeferredValue = function(n) {
|
|
198
|
+
return l.current.useDeferredValue(n);
|
|
199
|
+
}, g.useEffect = function(n, u) {
|
|
200
|
+
return l.current.useEffect(n, u);
|
|
201
|
+
}, g.useId = function() {
|
|
202
|
+
return l.current.useId();
|
|
203
|
+
}, g.useImperativeHandle = function(n, u, b) {
|
|
204
|
+
return l.current.useImperativeHandle(n, u, b);
|
|
205
|
+
}, g.useInsertionEffect = function(n, u) {
|
|
206
|
+
return l.current.useInsertionEffect(n, u);
|
|
207
|
+
}, g.useLayoutEffect = function(n, u) {
|
|
208
|
+
return l.current.useLayoutEffect(n, u);
|
|
209
|
+
}, g.useMemo = function(n, u) {
|
|
210
|
+
return l.current.useMemo(n, u);
|
|
211
|
+
}, g.useReducer = function(n, u, b) {
|
|
212
|
+
return l.current.useReducer(n, u, b);
|
|
213
|
+
}, g.useRef = function(n) {
|
|
214
|
+
return l.current.useRef(n);
|
|
215
|
+
}, g.useState = function(n) {
|
|
216
|
+
return l.current.useState(n);
|
|
217
|
+
}, g.useSyncExternalStore = function(n, u, b) {
|
|
218
|
+
return l.current.useSyncExternalStore(n, u, b);
|
|
219
|
+
}, g.useTransition = function() {
|
|
220
|
+
return l.current.useTransition();
|
|
221
|
+
}, g.version = "18.3.1", g;
|
|
222
|
+
}
|
|
223
|
+
var Ge = { exports: {} };
|
|
224
|
+
/**
|
|
225
|
+
* @license React
|
|
226
|
+
* react.development.js
|
|
227
|
+
*
|
|
228
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
229
|
+
*
|
|
230
|
+
* This source code is licensed under the MIT license found in the
|
|
231
|
+
* LICENSE file in the root directory of this source tree.
|
|
232
|
+
*/
|
|
233
|
+
Ge.exports;
|
|
234
|
+
var vt;
|
|
235
|
+
function Yt() {
|
|
236
|
+
return vt || (vt = 1, function(z, y) {
|
|
237
|
+
process.env.NODE_ENV !== "production" && function() {
|
|
238
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
239
|
+
var We = "18.3.1", G = Symbol.for("react.element"), Re = Symbol.for("react.portal"), se = Symbol.for("react.fragment"), pe = Symbol.for("react.strict_mode"), ye = Symbol.for("react.profiler"), te = Symbol.for("react.provider"), ne = Symbol.for("react.context"), J = Symbol.for("react.forward_ref"), K = Symbol.for("react.suspense"), ce = Symbol.for("react.suspense_list"), X = Symbol.for("react.memo"), ae = Symbol.for("react.lazy"), Ie = Symbol.for("react.offscreen"), Q = Symbol.iterator, Z = "@@iterator";
|
|
240
|
+
function A(e) {
|
|
241
|
+
if (e === null || typeof e != "object")
|
|
242
|
+
return null;
|
|
243
|
+
var r = Q && e[Q] || e[Z];
|
|
244
|
+
return typeof r == "function" ? r : null;
|
|
245
|
+
}
|
|
246
|
+
var me = {
|
|
247
|
+
/**
|
|
248
|
+
* @internal
|
|
249
|
+
* @type {ReactComponent}
|
|
250
|
+
*/
|
|
251
|
+
current: null
|
|
252
|
+
}, ee = {
|
|
253
|
+
transition: null
|
|
254
|
+
}, $ = {
|
|
255
|
+
current: null,
|
|
256
|
+
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
|
|
257
|
+
isBatchingLegacy: !1,
|
|
258
|
+
didScheduleLegacyUpdate: !1
|
|
259
|
+
}, B = {
|
|
260
|
+
/**
|
|
261
|
+
* @internal
|
|
262
|
+
* @type {ReactComponent}
|
|
263
|
+
*/
|
|
264
|
+
current: null
|
|
265
|
+
}, oe = {}, fe = null;
|
|
266
|
+
function Ce(e) {
|
|
267
|
+
fe = e;
|
|
268
|
+
}
|
|
269
|
+
oe.setExtraStackFrame = function(e) {
|
|
270
|
+
fe = e;
|
|
271
|
+
}, oe.getCurrentStack = null, oe.getStackAddendum = function() {
|
|
272
|
+
var e = "";
|
|
273
|
+
fe && (e += fe);
|
|
274
|
+
var r = oe.getCurrentStack;
|
|
275
|
+
return r && (e += r() || ""), e;
|
|
276
|
+
};
|
|
277
|
+
var we = !1, Ye = !1, Se = !1, W = !1, q = !1, V = {
|
|
278
|
+
ReactCurrentDispatcher: me,
|
|
279
|
+
ReactCurrentBatchConfig: ee,
|
|
280
|
+
ReactCurrentOwner: B
|
|
281
|
+
};
|
|
282
|
+
V.ReactDebugCurrentFrame = oe, V.ReactCurrentActQueue = $;
|
|
283
|
+
function re(e) {
|
|
284
|
+
{
|
|
285
|
+
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
|
|
286
|
+
a[o - 1] = arguments[o];
|
|
287
|
+
ie("warn", e, a);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
function l(e) {
|
|
291
|
+
{
|
|
292
|
+
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
|
|
293
|
+
a[o - 1] = arguments[o];
|
|
294
|
+
ie("error", e, a);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
function ie(e, r, a) {
|
|
298
|
+
{
|
|
299
|
+
var o = V.ReactDebugCurrentFrame, s = o.getStackAddendum();
|
|
300
|
+
s !== "" && (r += "%s", a = a.concat([s]));
|
|
301
|
+
var v = a.map(function(f) {
|
|
302
|
+
return String(f);
|
|
303
|
+
});
|
|
304
|
+
v.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, v);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
var Te = {};
|
|
308
|
+
function le(e, r) {
|
|
309
|
+
{
|
|
310
|
+
var a = e.constructor, o = a && (a.displayName || a.name) || "ReactClass", s = o + "." + r;
|
|
311
|
+
if (Te[s])
|
|
312
|
+
return;
|
|
313
|
+
l("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), Te[s] = !0;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
var n = {
|
|
317
|
+
/**
|
|
318
|
+
* Checks whether or not this composite component is mounted.
|
|
319
|
+
* @param {ReactClass} publicInstance The instance we want to test.
|
|
320
|
+
* @return {boolean} True if mounted, false otherwise.
|
|
321
|
+
* @protected
|
|
322
|
+
* @final
|
|
323
|
+
*/
|
|
324
|
+
isMounted: function(e) {
|
|
325
|
+
return !1;
|
|
326
|
+
},
|
|
327
|
+
/**
|
|
328
|
+
* Forces an update. This should only be invoked when it is known with
|
|
329
|
+
* certainty that we are **not** in a DOM transaction.
|
|
330
|
+
*
|
|
331
|
+
* You may want to call this when you know that some deeper aspect of the
|
|
332
|
+
* component's state has changed but `setState` was not called.
|
|
333
|
+
*
|
|
334
|
+
* This will not invoke `shouldComponentUpdate`, but it will invoke
|
|
335
|
+
* `componentWillUpdate` and `componentDidUpdate`.
|
|
336
|
+
*
|
|
337
|
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
338
|
+
* @param {?function} callback Called after component is updated.
|
|
339
|
+
* @param {?string} callerName name of the calling function in the public API.
|
|
340
|
+
* @internal
|
|
341
|
+
*/
|
|
342
|
+
enqueueForceUpdate: function(e, r, a) {
|
|
343
|
+
le(e, "forceUpdate");
|
|
344
|
+
},
|
|
345
|
+
/**
|
|
346
|
+
* Replaces all of the state. Always use this or `setState` to mutate state.
|
|
347
|
+
* You should treat `this.state` as immutable.
|
|
348
|
+
*
|
|
349
|
+
* There is no guarantee that `this.state` will be immediately updated, so
|
|
350
|
+
* accessing `this.state` after calling this method may return the old value.
|
|
351
|
+
*
|
|
352
|
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
353
|
+
* @param {object} completeState Next state.
|
|
354
|
+
* @param {?function} callback Called after component is updated.
|
|
355
|
+
* @param {?string} callerName name of the calling function in the public API.
|
|
356
|
+
* @internal
|
|
357
|
+
*/
|
|
358
|
+
enqueueReplaceState: function(e, r, a, o) {
|
|
359
|
+
le(e, "replaceState");
|
|
360
|
+
},
|
|
361
|
+
/**
|
|
362
|
+
* Sets a subset of the state. This only exists because _pendingState is
|
|
363
|
+
* internal. This provides a merging strategy that is not available to deep
|
|
364
|
+
* properties which is confusing. TODO: Expose pendingState or don't use it
|
|
365
|
+
* during the merge.
|
|
366
|
+
*
|
|
367
|
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
368
|
+
* @param {object} partialState Next partial state to be merged with state.
|
|
369
|
+
* @param {?function} callback Called after component is updated.
|
|
370
|
+
* @param {?string} Name of the calling function in the public API.
|
|
371
|
+
* @internal
|
|
372
|
+
*/
|
|
373
|
+
enqueueSetState: function(e, r, a, o) {
|
|
374
|
+
le(e, "setState");
|
|
375
|
+
}
|
|
376
|
+
}, u = Object.assign, b = {};
|
|
377
|
+
Object.freeze(b);
|
|
378
|
+
function E(e, r, a) {
|
|
379
|
+
this.props = e, this.context = r, this.refs = b, this.updater = a || n;
|
|
380
|
+
}
|
|
381
|
+
E.prototype.isReactComponent = {}, E.prototype.setState = function(e, r) {
|
|
382
|
+
if (typeof e != "object" && typeof e != "function" && e != null)
|
|
383
|
+
throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
384
|
+
this.updater.enqueueSetState(this, e, r, "setState");
|
|
385
|
+
}, E.prototype.forceUpdate = function(e) {
|
|
386
|
+
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
|
|
387
|
+
};
|
|
388
|
+
{
|
|
389
|
+
var w = {
|
|
390
|
+
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
|
|
391
|
+
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
|
|
392
|
+
}, k = function(e, r) {
|
|
393
|
+
Object.defineProperty(E.prototype, e, {
|
|
394
|
+
get: function() {
|
|
395
|
+
re("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
|
|
396
|
+
}
|
|
397
|
+
});
|
|
398
|
+
};
|
|
399
|
+
for (var O in w)
|
|
400
|
+
w.hasOwnProperty(O) && k(O, w[O]);
|
|
401
|
+
}
|
|
402
|
+
function T() {
|
|
403
|
+
}
|
|
404
|
+
T.prototype = E.prototype;
|
|
405
|
+
function S(e, r, a) {
|
|
406
|
+
this.props = e, this.context = r, this.refs = b, this.updater = a || n;
|
|
407
|
+
}
|
|
408
|
+
var N = S.prototype = new T();
|
|
409
|
+
N.constructor = S, u(N, E.prototype), N.isPureReactComponent = !0;
|
|
410
|
+
function br() {
|
|
411
|
+
var e = {
|
|
412
|
+
current: null
|
|
413
|
+
};
|
|
414
|
+
return Object.seal(e), e;
|
|
415
|
+
}
|
|
416
|
+
var Je = Array.isArray;
|
|
417
|
+
function Fe(e) {
|
|
418
|
+
return Je(e);
|
|
419
|
+
}
|
|
420
|
+
function _r(e) {
|
|
421
|
+
{
|
|
422
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
423
|
+
return a;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
function $e(e) {
|
|
427
|
+
try {
|
|
428
|
+
return he(e), !1;
|
|
429
|
+
} catch {
|
|
430
|
+
return !0;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
function he(e) {
|
|
434
|
+
return "" + e;
|
|
435
|
+
}
|
|
436
|
+
function Oe(e) {
|
|
437
|
+
if ($e(e))
|
|
438
|
+
return l("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", _r(e)), he(e);
|
|
439
|
+
}
|
|
440
|
+
function Xe(e, r, a) {
|
|
441
|
+
var o = e.displayName;
|
|
442
|
+
if (o)
|
|
443
|
+
return o;
|
|
444
|
+
var s = r.displayName || r.name || "";
|
|
445
|
+
return s !== "" ? a + "(" + s + ")" : a;
|
|
446
|
+
}
|
|
447
|
+
function Pe(e) {
|
|
448
|
+
return e.displayName || "Context";
|
|
449
|
+
}
|
|
450
|
+
function ue(e) {
|
|
451
|
+
if (e == null)
|
|
452
|
+
return null;
|
|
453
|
+
if (typeof e.tag == "number" && l("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
454
|
+
return e.displayName || e.name || null;
|
|
455
|
+
if (typeof e == "string")
|
|
456
|
+
return e;
|
|
457
|
+
switch (e) {
|
|
458
|
+
case se:
|
|
459
|
+
return "Fragment";
|
|
460
|
+
case Re:
|
|
461
|
+
return "Portal";
|
|
462
|
+
case ye:
|
|
463
|
+
return "Profiler";
|
|
464
|
+
case pe:
|
|
465
|
+
return "StrictMode";
|
|
466
|
+
case K:
|
|
467
|
+
return "Suspense";
|
|
468
|
+
case ce:
|
|
469
|
+
return "SuspenseList";
|
|
470
|
+
}
|
|
471
|
+
if (typeof e == "object")
|
|
472
|
+
switch (e.$$typeof) {
|
|
473
|
+
case ne:
|
|
474
|
+
var r = e;
|
|
475
|
+
return Pe(r) + ".Consumer";
|
|
476
|
+
case te:
|
|
477
|
+
var a = e;
|
|
478
|
+
return Pe(a._context) + ".Provider";
|
|
479
|
+
case J:
|
|
480
|
+
return Xe(e, e.render, "ForwardRef");
|
|
481
|
+
case X:
|
|
482
|
+
var o = e.displayName || null;
|
|
483
|
+
return o !== null ? o : ue(e.type) || "Memo";
|
|
484
|
+
case ae: {
|
|
485
|
+
var s = e, v = s._payload, f = s._init;
|
|
486
|
+
try {
|
|
487
|
+
return ue(f(v));
|
|
488
|
+
} catch {
|
|
489
|
+
return null;
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
return null;
|
|
494
|
+
}
|
|
495
|
+
var ke = Object.prototype.hasOwnProperty, Ne = {
|
|
496
|
+
key: !0,
|
|
497
|
+
ref: !0,
|
|
498
|
+
__self: !0,
|
|
499
|
+
__source: !0
|
|
500
|
+
}, Qe, Ze, Le;
|
|
501
|
+
Le = {};
|
|
502
|
+
function Be(e) {
|
|
503
|
+
if (ke.call(e, "ref")) {
|
|
504
|
+
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
505
|
+
if (r && r.isReactWarning)
|
|
506
|
+
return !1;
|
|
507
|
+
}
|
|
508
|
+
return e.ref !== void 0;
|
|
509
|
+
}
|
|
510
|
+
function ge(e) {
|
|
511
|
+
if (ke.call(e, "key")) {
|
|
512
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
513
|
+
if (r && r.isReactWarning)
|
|
514
|
+
return !1;
|
|
515
|
+
}
|
|
516
|
+
return e.key !== void 0;
|
|
517
|
+
}
|
|
518
|
+
function Er(e, r) {
|
|
519
|
+
var a = function() {
|
|
520
|
+
Qe || (Qe = !0, l("%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));
|
|
521
|
+
};
|
|
522
|
+
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
523
|
+
get: a,
|
|
524
|
+
configurable: !0
|
|
525
|
+
});
|
|
526
|
+
}
|
|
527
|
+
function er(e, r) {
|
|
528
|
+
var a = function() {
|
|
529
|
+
Ze || (Ze = !0, l("%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));
|
|
530
|
+
};
|
|
531
|
+
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
532
|
+
get: a,
|
|
533
|
+
configurable: !0
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
function rr(e) {
|
|
537
|
+
if (typeof e.ref == "string" && B.current && e.__self && B.current.stateNode !== e.__self) {
|
|
538
|
+
var r = ue(B.current.type);
|
|
539
|
+
Le[r] || (l('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), Le[r] = !0);
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
var je = function(e, r, a, o, s, v, f) {
|
|
543
|
+
var p = {
|
|
544
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
545
|
+
$$typeof: G,
|
|
546
|
+
// Built-in properties that belong on the element
|
|
547
|
+
type: e,
|
|
548
|
+
key: r,
|
|
549
|
+
ref: a,
|
|
550
|
+
props: f,
|
|
551
|
+
// Record the component responsible for creating this element.
|
|
552
|
+
_owner: v
|
|
553
|
+
};
|
|
554
|
+
return p._store = {}, Object.defineProperty(p._store, "validated", {
|
|
555
|
+
configurable: !1,
|
|
556
|
+
enumerable: !1,
|
|
557
|
+
writable: !0,
|
|
558
|
+
value: !1
|
|
559
|
+
}), Object.defineProperty(p, "_self", {
|
|
560
|
+
configurable: !1,
|
|
561
|
+
enumerable: !1,
|
|
562
|
+
writable: !1,
|
|
563
|
+
value: o
|
|
564
|
+
}), Object.defineProperty(p, "_source", {
|
|
565
|
+
configurable: !1,
|
|
566
|
+
enumerable: !1,
|
|
567
|
+
writable: !1,
|
|
568
|
+
value: s
|
|
569
|
+
}), Object.freeze && (Object.freeze(p.props), Object.freeze(p)), p;
|
|
570
|
+
};
|
|
571
|
+
function Rr(e, r, a) {
|
|
572
|
+
var o, s = {}, v = null, f = null, p = null, R = null;
|
|
573
|
+
if (r != null) {
|
|
574
|
+
Be(r) && (f = r.ref, rr(r)), ge(r) && (Oe(r.key), v = "" + r.key), p = r.__self === void 0 ? null : r.__self, R = r.__source === void 0 ? null : r.__source;
|
|
575
|
+
for (o in r)
|
|
576
|
+
ke.call(r, o) && !Ne.hasOwnProperty(o) && (s[o] = r[o]);
|
|
577
|
+
}
|
|
578
|
+
var P = arguments.length - 2;
|
|
579
|
+
if (P === 1)
|
|
580
|
+
s.children = a;
|
|
581
|
+
else if (P > 1) {
|
|
582
|
+
for (var j = Array(P), D = 0; D < P; D++)
|
|
583
|
+
j[D] = arguments[D + 2];
|
|
584
|
+
Object.freeze && Object.freeze(j), s.children = j;
|
|
585
|
+
}
|
|
586
|
+
if (e && e.defaultProps) {
|
|
587
|
+
var I = e.defaultProps;
|
|
588
|
+
for (o in I)
|
|
589
|
+
s[o] === void 0 && (s[o] = I[o]);
|
|
590
|
+
}
|
|
591
|
+
if (v || f) {
|
|
592
|
+
var L = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
593
|
+
v && Er(s, L), f && er(s, L);
|
|
594
|
+
}
|
|
595
|
+
return je(e, v, f, p, R, B.current, s);
|
|
596
|
+
}
|
|
597
|
+
function Cr(e, r) {
|
|
598
|
+
var a = je(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
|
|
599
|
+
return a;
|
|
600
|
+
}
|
|
601
|
+
function wr(e, r, a) {
|
|
602
|
+
if (e == null)
|
|
603
|
+
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
|
|
604
|
+
var o, s = u({}, e.props), v = e.key, f = e.ref, p = e._self, R = e._source, P = e._owner;
|
|
605
|
+
if (r != null) {
|
|
606
|
+
Be(r) && (f = r.ref, P = B.current), ge(r) && (Oe(r.key), v = "" + r.key);
|
|
607
|
+
var j;
|
|
608
|
+
e.type && e.type.defaultProps && (j = e.type.defaultProps);
|
|
609
|
+
for (o in r)
|
|
610
|
+
ke.call(r, o) && !Ne.hasOwnProperty(o) && (r[o] === void 0 && j !== void 0 ? s[o] = j[o] : s[o] = r[o]);
|
|
611
|
+
}
|
|
612
|
+
var D = arguments.length - 2;
|
|
613
|
+
if (D === 1)
|
|
614
|
+
s.children = a;
|
|
615
|
+
else if (D > 1) {
|
|
616
|
+
for (var I = Array(D), L = 0; L < D; L++)
|
|
617
|
+
I[L] = arguments[L + 2];
|
|
618
|
+
s.children = I;
|
|
619
|
+
}
|
|
620
|
+
return je(e.type, v, f, p, R, P, s);
|
|
621
|
+
}
|
|
622
|
+
function be(e) {
|
|
623
|
+
return typeof e == "object" && e !== null && e.$$typeof === G;
|
|
624
|
+
}
|
|
625
|
+
var tr = ".", Sr = ":";
|
|
626
|
+
function Tr(e) {
|
|
627
|
+
var r = /[=:]/g, a = {
|
|
628
|
+
"=": "=0",
|
|
629
|
+
":": "=2"
|
|
630
|
+
}, o = e.replace(r, function(s) {
|
|
631
|
+
return a[s];
|
|
632
|
+
});
|
|
633
|
+
return "$" + o;
|
|
634
|
+
}
|
|
635
|
+
var Ve = !1, nr = /\/+/g;
|
|
636
|
+
function de(e) {
|
|
637
|
+
return e.replace(nr, "$&/");
|
|
638
|
+
}
|
|
639
|
+
function De(e, r) {
|
|
640
|
+
return typeof e == "object" && e !== null && e.key != null ? (Oe(e.key), Tr("" + e.key)) : r.toString(36);
|
|
641
|
+
}
|
|
642
|
+
function _e(e, r, a, o, s) {
|
|
643
|
+
var v = typeof e;
|
|
644
|
+
(v === "undefined" || v === "boolean") && (e = null);
|
|
645
|
+
var f = !1;
|
|
646
|
+
if (e === null)
|
|
647
|
+
f = !0;
|
|
648
|
+
else
|
|
649
|
+
switch (v) {
|
|
650
|
+
case "string":
|
|
651
|
+
case "number":
|
|
652
|
+
f = !0;
|
|
653
|
+
break;
|
|
654
|
+
case "object":
|
|
655
|
+
switch (e.$$typeof) {
|
|
656
|
+
case G:
|
|
657
|
+
case Re:
|
|
658
|
+
f = !0;
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
if (f) {
|
|
662
|
+
var p = e, R = s(p), P = o === "" ? tr + De(p, 0) : o;
|
|
663
|
+
if (Fe(R)) {
|
|
664
|
+
var j = "";
|
|
665
|
+
P != null && (j = de(P) + "/"), _e(R, r, j, "", function(Mt) {
|
|
666
|
+
return Mt;
|
|
667
|
+
});
|
|
668
|
+
} else R != null && (be(R) && (R.key && (!p || p.key !== R.key) && Oe(R.key), R = Cr(
|
|
669
|
+
R,
|
|
670
|
+
// Keep both the (mapped) and old keys if they differ, just as
|
|
671
|
+
// traverseAllChildren used to do for objects as children
|
|
672
|
+
a + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
|
|
673
|
+
(R.key && (!p || p.key !== R.key) ? (
|
|
674
|
+
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
|
675
|
+
// eslint-disable-next-line react-internal/safe-string-coercion
|
|
676
|
+
de("" + R.key) + "/"
|
|
677
|
+
) : "") + P
|
|
678
|
+
)), r.push(R));
|
|
679
|
+
return 1;
|
|
680
|
+
}
|
|
681
|
+
var D, I, L = 0, U = o === "" ? tr : o + Sr;
|
|
682
|
+
if (Fe(e))
|
|
683
|
+
for (var vr = 0; vr < e.length; vr++)
|
|
684
|
+
D = e[vr], I = U + De(D, vr), L += _e(D, r, a, I, s);
|
|
685
|
+
else {
|
|
686
|
+
var Mr = A(e);
|
|
687
|
+
if (typeof Mr == "function") {
|
|
688
|
+
var st = e;
|
|
689
|
+
Mr === st.entries && (Ve || re("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Ve = !0);
|
|
690
|
+
for (var Lt = Mr.call(st), ct, Vt = 0; !(ct = Lt.next()).done; )
|
|
691
|
+
D = ct.value, I = U + De(D, Vt++), L += _e(D, r, a, I, s);
|
|
692
|
+
} else if (v === "object") {
|
|
693
|
+
var ft = String(e);
|
|
694
|
+
throw new Error("Objects are not valid as a React child (found: " + (ft === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : ft) + "). If you meant to render a collection of children, use an array instead.");
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
return L;
|
|
698
|
+
}
|
|
699
|
+
function Ae(e, r, a) {
|
|
700
|
+
if (e == null)
|
|
701
|
+
return e;
|
|
702
|
+
var o = [], s = 0;
|
|
703
|
+
return _e(e, o, "", "", function(v) {
|
|
704
|
+
return r.call(a, v, s++);
|
|
705
|
+
}), o;
|
|
706
|
+
}
|
|
707
|
+
function Or(e) {
|
|
708
|
+
var r = 0;
|
|
709
|
+
return Ae(e, function() {
|
|
710
|
+
r++;
|
|
711
|
+
}), r;
|
|
712
|
+
}
|
|
713
|
+
function ar(e, r, a) {
|
|
714
|
+
Ae(e, function() {
|
|
715
|
+
r.apply(this, arguments);
|
|
716
|
+
}, a);
|
|
717
|
+
}
|
|
718
|
+
function Pr(e) {
|
|
719
|
+
return Ae(e, function(r) {
|
|
720
|
+
return r;
|
|
721
|
+
}) || [];
|
|
722
|
+
}
|
|
723
|
+
function or(e) {
|
|
724
|
+
if (!be(e))
|
|
725
|
+
throw new Error("React.Children.only expected to receive a single React element child.");
|
|
726
|
+
return e;
|
|
727
|
+
}
|
|
728
|
+
function ir(e) {
|
|
729
|
+
var r = {
|
|
730
|
+
$$typeof: ne,
|
|
731
|
+
// As a workaround to support multiple concurrent renderers, we categorize
|
|
732
|
+
// some renderers as primary and others as secondary. We only expect
|
|
733
|
+
// there to be two concurrent renderers at most: React Native (primary) and
|
|
734
|
+
// Fabric (secondary); React DOM (primary) and React ART (secondary).
|
|
735
|
+
// Secondary renderers store their context values on separate fields.
|
|
736
|
+
_currentValue: e,
|
|
737
|
+
_currentValue2: e,
|
|
738
|
+
// Used to track how many concurrent renderers this context currently
|
|
739
|
+
// supports within in a single renderer. Such as parallel server rendering.
|
|
740
|
+
_threadCount: 0,
|
|
741
|
+
// These are circular
|
|
742
|
+
Provider: null,
|
|
743
|
+
Consumer: null,
|
|
744
|
+
// Add these to use same hidden class in VM as ServerContext
|
|
745
|
+
_defaultValue: null,
|
|
746
|
+
_globalName: null
|
|
747
|
+
};
|
|
748
|
+
r.Provider = {
|
|
749
|
+
$$typeof: te,
|
|
750
|
+
_context: r
|
|
751
|
+
};
|
|
752
|
+
var a = !1, o = !1, s = !1;
|
|
753
|
+
{
|
|
754
|
+
var v = {
|
|
755
|
+
$$typeof: ne,
|
|
756
|
+
_context: r
|
|
757
|
+
};
|
|
758
|
+
Object.defineProperties(v, {
|
|
759
|
+
Provider: {
|
|
760
|
+
get: function() {
|
|
761
|
+
return o || (o = !0, l("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;
|
|
762
|
+
},
|
|
763
|
+
set: function(f) {
|
|
764
|
+
r.Provider = f;
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
_currentValue: {
|
|
768
|
+
get: function() {
|
|
769
|
+
return r._currentValue;
|
|
770
|
+
},
|
|
771
|
+
set: function(f) {
|
|
772
|
+
r._currentValue = f;
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
_currentValue2: {
|
|
776
|
+
get: function() {
|
|
777
|
+
return r._currentValue2;
|
|
778
|
+
},
|
|
779
|
+
set: function(f) {
|
|
780
|
+
r._currentValue2 = f;
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
_threadCount: {
|
|
784
|
+
get: function() {
|
|
785
|
+
return r._threadCount;
|
|
786
|
+
},
|
|
787
|
+
set: function(f) {
|
|
788
|
+
r._threadCount = f;
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
Consumer: {
|
|
792
|
+
get: function() {
|
|
793
|
+
return a || (a = !0, l("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;
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
displayName: {
|
|
797
|
+
get: function() {
|
|
798
|
+
return r.displayName;
|
|
799
|
+
},
|
|
800
|
+
set: function(f) {
|
|
801
|
+
s || (re("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", f), s = !0);
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
}), r.Consumer = v;
|
|
805
|
+
}
|
|
806
|
+
return r._currentRenderer = null, r._currentRenderer2 = null, r;
|
|
807
|
+
}
|
|
808
|
+
var xe = -1, ze = 0, qe = 1, kr = 2;
|
|
809
|
+
function jr(e) {
|
|
810
|
+
if (e._status === xe) {
|
|
811
|
+
var r = e._result, a = r();
|
|
812
|
+
if (a.then(function(v) {
|
|
813
|
+
if (e._status === ze || e._status === xe) {
|
|
814
|
+
var f = e;
|
|
815
|
+
f._status = qe, f._result = v;
|
|
816
|
+
}
|
|
817
|
+
}, function(v) {
|
|
818
|
+
if (e._status === ze || e._status === xe) {
|
|
819
|
+
var f = e;
|
|
820
|
+
f._status = kr, f._result = v;
|
|
821
|
+
}
|
|
822
|
+
}), e._status === xe) {
|
|
823
|
+
var o = e;
|
|
824
|
+
o._status = ze, o._result = a;
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
if (e._status === qe) {
|
|
828
|
+
var s = e._result;
|
|
829
|
+
return s === void 0 && l(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
830
|
+
|
|
831
|
+
Your code should look like:
|
|
832
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
833
|
+
|
|
834
|
+
Did you accidentally put curly braces around the import?`, s), "default" in s || l(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
835
|
+
|
|
836
|
+
Your code should look like:
|
|
837
|
+
const MyComponent = lazy(() => import('./MyComponent'))`, s), s.default;
|
|
838
|
+
} else
|
|
839
|
+
throw e._result;
|
|
840
|
+
}
|
|
841
|
+
function t(e) {
|
|
842
|
+
var r = {
|
|
843
|
+
// We use these fields to store the result.
|
|
844
|
+
_status: xe,
|
|
845
|
+
_result: e
|
|
846
|
+
}, a = {
|
|
847
|
+
$$typeof: ae,
|
|
848
|
+
_payload: r,
|
|
849
|
+
_init: jr
|
|
850
|
+
};
|
|
851
|
+
{
|
|
852
|
+
var o, s;
|
|
853
|
+
Object.defineProperties(a, {
|
|
854
|
+
defaultProps: {
|
|
855
|
+
configurable: !0,
|
|
856
|
+
get: function() {
|
|
857
|
+
return o;
|
|
858
|
+
},
|
|
859
|
+
set: function(v) {
|
|
860
|
+
l("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 = v, Object.defineProperty(a, "defaultProps", {
|
|
861
|
+
enumerable: !0
|
|
862
|
+
});
|
|
863
|
+
}
|
|
864
|
+
},
|
|
865
|
+
propTypes: {
|
|
866
|
+
configurable: !0,
|
|
867
|
+
get: function() {
|
|
868
|
+
return s;
|
|
869
|
+
},
|
|
870
|
+
set: function(v) {
|
|
871
|
+
l("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."), s = v, Object.defineProperty(a, "propTypes", {
|
|
872
|
+
enumerable: !0
|
|
873
|
+
});
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
});
|
|
877
|
+
}
|
|
878
|
+
return a;
|
|
879
|
+
}
|
|
880
|
+
function i(e) {
|
|
881
|
+
e != null && e.$$typeof === X ? l("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? l("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && l("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) && l("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
|
|
882
|
+
var r = {
|
|
883
|
+
$$typeof: J,
|
|
884
|
+
render: e
|
|
885
|
+
};
|
|
886
|
+
{
|
|
887
|
+
var a;
|
|
888
|
+
Object.defineProperty(r, "displayName", {
|
|
889
|
+
enumerable: !1,
|
|
890
|
+
configurable: !0,
|
|
891
|
+
get: function() {
|
|
892
|
+
return a;
|
|
893
|
+
},
|
|
894
|
+
set: function(o) {
|
|
895
|
+
a = o, !e.name && !e.displayName && (e.displayName = o);
|
|
896
|
+
}
|
|
897
|
+
});
|
|
898
|
+
}
|
|
899
|
+
return r;
|
|
900
|
+
}
|
|
901
|
+
var c;
|
|
902
|
+
c = Symbol.for("react.module.reference");
|
|
903
|
+
function d(e) {
|
|
904
|
+
return !!(typeof e == "string" || typeof e == "function" || e === se || e === ye || q || e === pe || e === K || e === ce || W || e === Ie || we || Ye || Se || typeof e == "object" && e !== null && (e.$$typeof === ae || e.$$typeof === X || e.$$typeof === te || e.$$typeof === ne || e.$$typeof === J || // This needs to include all possible module reference object
|
|
905
|
+
// types supported by any Flight configuration anywhere since
|
|
906
|
+
// we don't know which Flight build this will end up being used
|
|
907
|
+
// with.
|
|
908
|
+
e.$$typeof === c || e.getModuleId !== void 0));
|
|
909
|
+
}
|
|
910
|
+
function C(e, r) {
|
|
911
|
+
d(e) || l("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
|
|
912
|
+
var a = {
|
|
913
|
+
$$typeof: X,
|
|
914
|
+
type: e,
|
|
915
|
+
compare: r === void 0 ? null : r
|
|
916
|
+
};
|
|
917
|
+
{
|
|
918
|
+
var o;
|
|
919
|
+
Object.defineProperty(a, "displayName", {
|
|
920
|
+
enumerable: !1,
|
|
921
|
+
configurable: !0,
|
|
922
|
+
get: function() {
|
|
923
|
+
return o;
|
|
924
|
+
},
|
|
925
|
+
set: function(s) {
|
|
926
|
+
o = s, !e.name && !e.displayName && (e.displayName = s);
|
|
927
|
+
}
|
|
928
|
+
});
|
|
929
|
+
}
|
|
930
|
+
return a;
|
|
931
|
+
}
|
|
932
|
+
function m() {
|
|
933
|
+
var e = me.current;
|
|
934
|
+
return e === null && l(`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:
|
|
935
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
936
|
+
2. You might be breaking the Rules of Hooks
|
|
937
|
+
3. You might have more than one copy of React in the same app
|
|
938
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
|
|
939
|
+
}
|
|
940
|
+
function _(e) {
|
|
941
|
+
var r = m();
|
|
942
|
+
if (e._context !== void 0) {
|
|
943
|
+
var a = e._context;
|
|
944
|
+
a.Consumer === e ? l("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 && l("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
|
|
945
|
+
}
|
|
946
|
+
return r.useContext(e);
|
|
947
|
+
}
|
|
948
|
+
function h(e) {
|
|
949
|
+
var r = m();
|
|
950
|
+
return r.useState(e);
|
|
951
|
+
}
|
|
952
|
+
function M(e, r, a) {
|
|
953
|
+
var o = m();
|
|
954
|
+
return o.useReducer(e, r, a);
|
|
955
|
+
}
|
|
956
|
+
function x(e) {
|
|
957
|
+
var r = m();
|
|
958
|
+
return r.useRef(e);
|
|
959
|
+
}
|
|
960
|
+
function F(e, r) {
|
|
961
|
+
var a = m();
|
|
962
|
+
return a.useEffect(e, r);
|
|
963
|
+
}
|
|
964
|
+
function H(e, r) {
|
|
965
|
+
var a = m();
|
|
966
|
+
return a.useInsertionEffect(e, r);
|
|
967
|
+
}
|
|
968
|
+
function Ee(e, r) {
|
|
969
|
+
var a = m();
|
|
970
|
+
return a.useLayoutEffect(e, r);
|
|
971
|
+
}
|
|
972
|
+
function ve(e, r) {
|
|
973
|
+
var a = m();
|
|
974
|
+
return a.useCallback(e, r);
|
|
975
|
+
}
|
|
976
|
+
function Y(e, r) {
|
|
977
|
+
var a = m();
|
|
978
|
+
return a.useMemo(e, r);
|
|
979
|
+
}
|
|
980
|
+
function He(e, r, a) {
|
|
981
|
+
var o = m();
|
|
982
|
+
return o.useImperativeHandle(e, r, a);
|
|
983
|
+
}
|
|
984
|
+
function Dr(e, r) {
|
|
985
|
+
{
|
|
986
|
+
var a = m();
|
|
987
|
+
return a.useDebugValue(e, r);
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
function Ar() {
|
|
991
|
+
var e = m();
|
|
992
|
+
return e.useTransition();
|
|
993
|
+
}
|
|
994
|
+
function ht(e) {
|
|
995
|
+
var r = m();
|
|
996
|
+
return r.useDeferredValue(e);
|
|
997
|
+
}
|
|
998
|
+
function gt() {
|
|
999
|
+
var e = m();
|
|
1000
|
+
return e.useId();
|
|
1001
|
+
}
|
|
1002
|
+
function bt(e, r, a) {
|
|
1003
|
+
var o = m();
|
|
1004
|
+
return o.useSyncExternalStore(e, r, a);
|
|
1005
|
+
}
|
|
1006
|
+
var Ke = 0, Ur, Wr, Yr, Br, zr, qr, Hr;
|
|
1007
|
+
function Kr() {
|
|
1008
|
+
}
|
|
1009
|
+
Kr.__reactDisabledLog = !0;
|
|
1010
|
+
function _t() {
|
|
1011
|
+
{
|
|
1012
|
+
if (Ke === 0) {
|
|
1013
|
+
Ur = console.log, Wr = console.info, Yr = console.warn, Br = console.error, zr = console.group, qr = console.groupCollapsed, Hr = console.groupEnd;
|
|
1014
|
+
var e = {
|
|
1015
|
+
configurable: !0,
|
|
1016
|
+
enumerable: !0,
|
|
1017
|
+
value: Kr,
|
|
1018
|
+
writable: !0
|
|
1019
|
+
};
|
|
1020
|
+
Object.defineProperties(console, {
|
|
1021
|
+
info: e,
|
|
1022
|
+
log: e,
|
|
1023
|
+
warn: e,
|
|
1024
|
+
error: e,
|
|
1025
|
+
group: e,
|
|
1026
|
+
groupCollapsed: e,
|
|
1027
|
+
groupEnd: e
|
|
1028
|
+
});
|
|
1029
|
+
}
|
|
1030
|
+
Ke++;
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
function Et() {
|
|
1034
|
+
{
|
|
1035
|
+
if (Ke--, Ke === 0) {
|
|
1036
|
+
var e = {
|
|
1037
|
+
configurable: !0,
|
|
1038
|
+
enumerable: !0,
|
|
1039
|
+
writable: !0
|
|
1040
|
+
};
|
|
1041
|
+
Object.defineProperties(console, {
|
|
1042
|
+
log: u({}, e, {
|
|
1043
|
+
value: Ur
|
|
1044
|
+
}),
|
|
1045
|
+
info: u({}, e, {
|
|
1046
|
+
value: Wr
|
|
1047
|
+
}),
|
|
1048
|
+
warn: u({}, e, {
|
|
1049
|
+
value: Yr
|
|
1050
|
+
}),
|
|
1051
|
+
error: u({}, e, {
|
|
1052
|
+
value: Br
|
|
1053
|
+
}),
|
|
1054
|
+
group: u({}, e, {
|
|
1055
|
+
value: zr
|
|
1056
|
+
}),
|
|
1057
|
+
groupCollapsed: u({}, e, {
|
|
1058
|
+
value: qr
|
|
1059
|
+
}),
|
|
1060
|
+
groupEnd: u({}, e, {
|
|
1061
|
+
value: Hr
|
|
1062
|
+
})
|
|
1063
|
+
});
|
|
1064
|
+
}
|
|
1065
|
+
Ke < 0 && l("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
var xr = V.ReactCurrentDispatcher, Ir;
|
|
1069
|
+
function ur(e, r, a) {
|
|
1070
|
+
{
|
|
1071
|
+
if (Ir === void 0)
|
|
1072
|
+
try {
|
|
1073
|
+
throw Error();
|
|
1074
|
+
} catch (s) {
|
|
1075
|
+
var o = s.stack.trim().match(/\n( *(at )?)/);
|
|
1076
|
+
Ir = o && o[1] || "";
|
|
1077
|
+
}
|
|
1078
|
+
return `
|
|
1079
|
+
` + Ir + e;
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
var Fr = !1, sr;
|
|
1083
|
+
{
|
|
1084
|
+
var Rt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1085
|
+
sr = new Rt();
|
|
1086
|
+
}
|
|
1087
|
+
function Gr(e, r) {
|
|
1088
|
+
if (!e || Fr)
|
|
1089
|
+
return "";
|
|
1090
|
+
{
|
|
1091
|
+
var a = sr.get(e);
|
|
1092
|
+
if (a !== void 0)
|
|
1093
|
+
return a;
|
|
1094
|
+
}
|
|
1095
|
+
var o;
|
|
1096
|
+
Fr = !0;
|
|
1097
|
+
var s = Error.prepareStackTrace;
|
|
1098
|
+
Error.prepareStackTrace = void 0;
|
|
1099
|
+
var v;
|
|
1100
|
+
v = xr.current, xr.current = null, _t();
|
|
1101
|
+
try {
|
|
1102
|
+
if (r) {
|
|
1103
|
+
var f = function() {
|
|
1104
|
+
throw Error();
|
|
1105
|
+
};
|
|
1106
|
+
if (Object.defineProperty(f.prototype, "props", {
|
|
1107
|
+
set: function() {
|
|
1108
|
+
throw Error();
|
|
1109
|
+
}
|
|
1110
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1111
|
+
try {
|
|
1112
|
+
Reflect.construct(f, []);
|
|
1113
|
+
} catch (U) {
|
|
1114
|
+
o = U;
|
|
1115
|
+
}
|
|
1116
|
+
Reflect.construct(e, [], f);
|
|
1117
|
+
} else {
|
|
1118
|
+
try {
|
|
1119
|
+
f.call();
|
|
1120
|
+
} catch (U) {
|
|
1121
|
+
o = U;
|
|
1122
|
+
}
|
|
1123
|
+
e.call(f.prototype);
|
|
1124
|
+
}
|
|
1125
|
+
} else {
|
|
1126
|
+
try {
|
|
1127
|
+
throw Error();
|
|
1128
|
+
} catch (U) {
|
|
1129
|
+
o = U;
|
|
1130
|
+
}
|
|
1131
|
+
e();
|
|
1132
|
+
}
|
|
1133
|
+
} catch (U) {
|
|
1134
|
+
if (U && o && typeof U.stack == "string") {
|
|
1135
|
+
for (var p = U.stack.split(`
|
|
1136
|
+
`), R = o.stack.split(`
|
|
1137
|
+
`), P = p.length - 1, j = R.length - 1; P >= 1 && j >= 0 && p[P] !== R[j]; )
|
|
1138
|
+
j--;
|
|
1139
|
+
for (; P >= 1 && j >= 0; P--, j--)
|
|
1140
|
+
if (p[P] !== R[j]) {
|
|
1141
|
+
if (P !== 1 || j !== 1)
|
|
1142
|
+
do
|
|
1143
|
+
if (P--, j--, j < 0 || p[P] !== R[j]) {
|
|
1144
|
+
var D = `
|
|
1145
|
+
` + p[P].replace(" at new ", " at ");
|
|
1146
|
+
return e.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", e.displayName)), typeof e == "function" && sr.set(e, D), D;
|
|
1147
|
+
}
|
|
1148
|
+
while (P >= 1 && j >= 0);
|
|
1149
|
+
break;
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
} finally {
|
|
1153
|
+
Fr = !1, xr.current = v, Et(), Error.prepareStackTrace = s;
|
|
1154
|
+
}
|
|
1155
|
+
var I = e ? e.displayName || e.name : "", L = I ? ur(I) : "";
|
|
1156
|
+
return typeof e == "function" && sr.set(e, L), L;
|
|
1157
|
+
}
|
|
1158
|
+
function Ct(e, r, a) {
|
|
1159
|
+
return Gr(e, !1);
|
|
1160
|
+
}
|
|
1161
|
+
function wt(e) {
|
|
1162
|
+
var r = e.prototype;
|
|
1163
|
+
return !!(r && r.isReactComponent);
|
|
1164
|
+
}
|
|
1165
|
+
function cr(e, r, a) {
|
|
1166
|
+
if (e == null)
|
|
1167
|
+
return "";
|
|
1168
|
+
if (typeof e == "function")
|
|
1169
|
+
return Gr(e, wt(e));
|
|
1170
|
+
if (typeof e == "string")
|
|
1171
|
+
return ur(e);
|
|
1172
|
+
switch (e) {
|
|
1173
|
+
case K:
|
|
1174
|
+
return ur("Suspense");
|
|
1175
|
+
case ce:
|
|
1176
|
+
return ur("SuspenseList");
|
|
1177
|
+
}
|
|
1178
|
+
if (typeof e == "object")
|
|
1179
|
+
switch (e.$$typeof) {
|
|
1180
|
+
case J:
|
|
1181
|
+
return Ct(e.render);
|
|
1182
|
+
case X:
|
|
1183
|
+
return cr(e.type, r, a);
|
|
1184
|
+
case ae: {
|
|
1185
|
+
var o = e, s = o._payload, v = o._init;
|
|
1186
|
+
try {
|
|
1187
|
+
return cr(v(s), r, a);
|
|
1188
|
+
} catch {
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
return "";
|
|
1193
|
+
}
|
|
1194
|
+
var Jr = {}, Xr = V.ReactDebugCurrentFrame;
|
|
1195
|
+
function fr(e) {
|
|
1196
|
+
if (e) {
|
|
1197
|
+
var r = e._owner, a = cr(e.type, e._source, r ? r.type : null);
|
|
1198
|
+
Xr.setExtraStackFrame(a);
|
|
1199
|
+
} else
|
|
1200
|
+
Xr.setExtraStackFrame(null);
|
|
1201
|
+
}
|
|
1202
|
+
function St(e, r, a, o, s) {
|
|
1203
|
+
{
|
|
1204
|
+
var v = Function.call.bind(ke);
|
|
1205
|
+
for (var f in e)
|
|
1206
|
+
if (v(e, f)) {
|
|
1207
|
+
var p = void 0;
|
|
1208
|
+
try {
|
|
1209
|
+
if (typeof e[f] != "function") {
|
|
1210
|
+
var R = Error((o || "React class") + ": " + a + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1211
|
+
throw R.name = "Invariant Violation", R;
|
|
1212
|
+
}
|
|
1213
|
+
p = e[f](r, f, o, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1214
|
+
} catch (P) {
|
|
1215
|
+
p = P;
|
|
1216
|
+
}
|
|
1217
|
+
p && !(p instanceof Error) && (fr(s), l("%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, f, typeof p), fr(null)), p instanceof Error && !(p.message in Jr) && (Jr[p.message] = !0, fr(s), l("Failed %s type: %s", a, p.message), fr(null));
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
function Me(e) {
|
|
1222
|
+
if (e) {
|
|
1223
|
+
var r = e._owner, a = cr(e.type, e._source, r ? r.type : null);
|
|
1224
|
+
Ce(a);
|
|
1225
|
+
} else
|
|
1226
|
+
Ce(null);
|
|
1227
|
+
}
|
|
1228
|
+
var $r;
|
|
1229
|
+
$r = !1;
|
|
1230
|
+
function Qr() {
|
|
1231
|
+
if (B.current) {
|
|
1232
|
+
var e = ue(B.current.type);
|
|
1233
|
+
if (e)
|
|
1234
|
+
return `
|
|
1235
|
+
|
|
1236
|
+
Check the render method of \`` + e + "`.";
|
|
1237
|
+
}
|
|
1238
|
+
return "";
|
|
1239
|
+
}
|
|
1240
|
+
function Tt(e) {
|
|
1241
|
+
if (e !== void 0) {
|
|
1242
|
+
var r = e.fileName.replace(/^.*[\\\/]/, ""), a = e.lineNumber;
|
|
1243
|
+
return `
|
|
1244
|
+
|
|
1245
|
+
Check your code at ` + r + ":" + a + ".";
|
|
1246
|
+
}
|
|
1247
|
+
return "";
|
|
1248
|
+
}
|
|
1249
|
+
function Ot(e) {
|
|
1250
|
+
return e != null ? Tt(e.__source) : "";
|
|
1251
|
+
}
|
|
1252
|
+
var Zr = {};
|
|
1253
|
+
function Pt(e) {
|
|
1254
|
+
var r = Qr();
|
|
1255
|
+
if (!r) {
|
|
1256
|
+
var a = typeof e == "string" ? e : e.displayName || e.name;
|
|
1257
|
+
a && (r = `
|
|
1258
|
+
|
|
1259
|
+
Check the top-level render call using <` + a + ">.");
|
|
1260
|
+
}
|
|
1261
|
+
return r;
|
|
1262
|
+
}
|
|
1263
|
+
function et(e, r) {
|
|
1264
|
+
if (!(!e._store || e._store.validated || e.key != null)) {
|
|
1265
|
+
e._store.validated = !0;
|
|
1266
|
+
var a = Pt(r);
|
|
1267
|
+
if (!Zr[a]) {
|
|
1268
|
+
Zr[a] = !0;
|
|
1269
|
+
var o = "";
|
|
1270
|
+
e && e._owner && e._owner !== B.current && (o = " It was passed a child from " + ue(e._owner.type) + "."), Me(e), l('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), Me(null);
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
function rt(e, r) {
|
|
1275
|
+
if (typeof e == "object") {
|
|
1276
|
+
if (Fe(e))
|
|
1277
|
+
for (var a = 0; a < e.length; a++) {
|
|
1278
|
+
var o = e[a];
|
|
1279
|
+
be(o) && et(o, r);
|
|
1280
|
+
}
|
|
1281
|
+
else if (be(e))
|
|
1282
|
+
e._store && (e._store.validated = !0);
|
|
1283
|
+
else if (e) {
|
|
1284
|
+
var s = A(e);
|
|
1285
|
+
if (typeof s == "function" && s !== e.entries)
|
|
1286
|
+
for (var v = s.call(e), f; !(f = v.next()).done; )
|
|
1287
|
+
be(f.value) && et(f.value, r);
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
function tt(e) {
|
|
1292
|
+
{
|
|
1293
|
+
var r = e.type;
|
|
1294
|
+
if (r == null || typeof r == "string")
|
|
1295
|
+
return;
|
|
1296
|
+
var a;
|
|
1297
|
+
if (typeof r == "function")
|
|
1298
|
+
a = r.propTypes;
|
|
1299
|
+
else if (typeof r == "object" && (r.$$typeof === J || // Note: Memo only checks outer props here.
|
|
1300
|
+
// Inner props are checked in the reconciler.
|
|
1301
|
+
r.$$typeof === X))
|
|
1302
|
+
a = r.propTypes;
|
|
1303
|
+
else
|
|
1304
|
+
return;
|
|
1305
|
+
if (a) {
|
|
1306
|
+
var o = ue(r);
|
|
1307
|
+
St(a, e.props, "prop", o, e);
|
|
1308
|
+
} else if (r.PropTypes !== void 0 && !$r) {
|
|
1309
|
+
$r = !0;
|
|
1310
|
+
var s = ue(r);
|
|
1311
|
+
l("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", s || "Unknown");
|
|
1312
|
+
}
|
|
1313
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && l("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
function kt(e) {
|
|
1317
|
+
{
|
|
1318
|
+
for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
|
|
1319
|
+
var o = r[a];
|
|
1320
|
+
if (o !== "children" && o !== "key") {
|
|
1321
|
+
Me(e), l("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), Me(null);
|
|
1322
|
+
break;
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
e.ref !== null && (Me(e), l("Invalid attribute `ref` supplied to `React.Fragment`."), Me(null));
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
function nt(e, r, a) {
|
|
1329
|
+
var o = d(e);
|
|
1330
|
+
if (!o) {
|
|
1331
|
+
var s = "";
|
|
1332
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (s += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1333
|
+
var v = Ot(r);
|
|
1334
|
+
v ? s += v : s += Qr();
|
|
1335
|
+
var f;
|
|
1336
|
+
e === null ? f = "null" : Fe(e) ? f = "array" : e !== void 0 && e.$$typeof === G ? (f = "<" + (ue(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : f = typeof e, l("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", f, s);
|
|
1337
|
+
}
|
|
1338
|
+
var p = Rr.apply(this, arguments);
|
|
1339
|
+
if (p == null)
|
|
1340
|
+
return p;
|
|
1341
|
+
if (o)
|
|
1342
|
+
for (var R = 2; R < arguments.length; R++)
|
|
1343
|
+
rt(arguments[R], e);
|
|
1344
|
+
return e === se ? kt(p) : tt(p), p;
|
|
1345
|
+
}
|
|
1346
|
+
var at = !1;
|
|
1347
|
+
function jt(e) {
|
|
1348
|
+
var r = nt.bind(null, e);
|
|
1349
|
+
return r.type = e, at || (at = !0, re("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(r, "type", {
|
|
1350
|
+
enumerable: !1,
|
|
1351
|
+
get: function() {
|
|
1352
|
+
return re("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
|
|
1353
|
+
value: e
|
|
1354
|
+
}), e;
|
|
1355
|
+
}
|
|
1356
|
+
}), r;
|
|
1357
|
+
}
|
|
1358
|
+
function Dt(e, r, a) {
|
|
1359
|
+
for (var o = wr.apply(this, arguments), s = 2; s < arguments.length; s++)
|
|
1360
|
+
rt(arguments[s], o.type);
|
|
1361
|
+
return tt(o), o;
|
|
1362
|
+
}
|
|
1363
|
+
function At(e, r) {
|
|
1364
|
+
var a = ee.transition;
|
|
1365
|
+
ee.transition = {};
|
|
1366
|
+
var o = ee.transition;
|
|
1367
|
+
ee.transition._updatedFibers = /* @__PURE__ */ new Set();
|
|
1368
|
+
try {
|
|
1369
|
+
e();
|
|
1370
|
+
} finally {
|
|
1371
|
+
if (ee.transition = a, a === null && o._updatedFibers) {
|
|
1372
|
+
var s = o._updatedFibers.size;
|
|
1373
|
+
s > 10 && re("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();
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
}
|
|
1377
|
+
var ot = !1, lr = null;
|
|
1378
|
+
function xt(e) {
|
|
1379
|
+
if (lr === null)
|
|
1380
|
+
try {
|
|
1381
|
+
var r = ("require" + Math.random()).slice(0, 7), a = z && z[r];
|
|
1382
|
+
lr = a.call(z, "timers").setImmediate;
|
|
1383
|
+
} catch {
|
|
1384
|
+
lr = function(s) {
|
|
1385
|
+
ot === !1 && (ot = !0, typeof MessageChannel > "u" && l("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."));
|
|
1386
|
+
var v = new MessageChannel();
|
|
1387
|
+
v.port1.onmessage = s, v.port2.postMessage(void 0);
|
|
1388
|
+
};
|
|
1389
|
+
}
|
|
1390
|
+
return lr(e);
|
|
1391
|
+
}
|
|
1392
|
+
var Ue = 0, it = !1;
|
|
1393
|
+
function ut(e) {
|
|
1394
|
+
{
|
|
1395
|
+
var r = Ue;
|
|
1396
|
+
Ue++, $.current === null && ($.current = []);
|
|
1397
|
+
var a = $.isBatchingLegacy, o;
|
|
1398
|
+
try {
|
|
1399
|
+
if ($.isBatchingLegacy = !0, o = e(), !a && $.didScheduleLegacyUpdate) {
|
|
1400
|
+
var s = $.current;
|
|
1401
|
+
s !== null && ($.didScheduleLegacyUpdate = !1, Vr(s));
|
|
1402
|
+
}
|
|
1403
|
+
} catch (I) {
|
|
1404
|
+
throw dr(r), I;
|
|
1405
|
+
} finally {
|
|
1406
|
+
$.isBatchingLegacy = a;
|
|
1407
|
+
}
|
|
1408
|
+
if (o !== null && typeof o == "object" && typeof o.then == "function") {
|
|
1409
|
+
var v = o, f = !1, p = {
|
|
1410
|
+
then: function(I, L) {
|
|
1411
|
+
f = !0, v.then(function(U) {
|
|
1412
|
+
dr(r), Ue === 0 ? Nr(U, I, L) : I(U);
|
|
1413
|
+
}, function(U) {
|
|
1414
|
+
dr(r), L(U);
|
|
1415
|
+
});
|
|
1416
|
+
}
|
|
1417
|
+
};
|
|
1418
|
+
return !it && typeof Promise < "u" && Promise.resolve().then(function() {
|
|
1419
|
+
}).then(function() {
|
|
1420
|
+
f || (it = !0, l("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 () => ...);"));
|
|
1421
|
+
}), p;
|
|
1422
|
+
} else {
|
|
1423
|
+
var R = o;
|
|
1424
|
+
if (dr(r), Ue === 0) {
|
|
1425
|
+
var P = $.current;
|
|
1426
|
+
P !== null && (Vr(P), $.current = null);
|
|
1427
|
+
var j = {
|
|
1428
|
+
then: function(I, L) {
|
|
1429
|
+
$.current === null ? ($.current = [], Nr(R, I, L)) : I(R);
|
|
1430
|
+
}
|
|
1431
|
+
};
|
|
1432
|
+
return j;
|
|
1433
|
+
} else {
|
|
1434
|
+
var D = {
|
|
1435
|
+
then: function(I, L) {
|
|
1436
|
+
I(R);
|
|
1437
|
+
}
|
|
1438
|
+
};
|
|
1439
|
+
return D;
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
}
|
|
1444
|
+
function dr(e) {
|
|
1445
|
+
e !== Ue - 1 && l("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), Ue = e;
|
|
1446
|
+
}
|
|
1447
|
+
function Nr(e, r, a) {
|
|
1448
|
+
{
|
|
1449
|
+
var o = $.current;
|
|
1450
|
+
if (o !== null)
|
|
1451
|
+
try {
|
|
1452
|
+
Vr(o), xt(function() {
|
|
1453
|
+
o.length === 0 ? ($.current = null, r(e)) : Nr(e, r, a);
|
|
1454
|
+
});
|
|
1455
|
+
} catch (s) {
|
|
1456
|
+
a(s);
|
|
1457
|
+
}
|
|
1458
|
+
else
|
|
1459
|
+
r(e);
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
var Lr = !1;
|
|
1463
|
+
function Vr(e) {
|
|
1464
|
+
if (!Lr) {
|
|
1465
|
+
Lr = !0;
|
|
1466
|
+
var r = 0;
|
|
1467
|
+
try {
|
|
1468
|
+
for (; r < e.length; r++) {
|
|
1469
|
+
var a = e[r];
|
|
1470
|
+
do
|
|
1471
|
+
a = a(!0);
|
|
1472
|
+
while (a !== null);
|
|
1473
|
+
}
|
|
1474
|
+
e.length = 0;
|
|
1475
|
+
} catch (o) {
|
|
1476
|
+
throw e = e.slice(r + 1), o;
|
|
1477
|
+
} finally {
|
|
1478
|
+
Lr = !1;
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
var It = nt, Ft = Dt, $t = jt, Nt = {
|
|
1483
|
+
map: Ae,
|
|
1484
|
+
forEach: ar,
|
|
1485
|
+
count: Or,
|
|
1486
|
+
toArray: Pr,
|
|
1487
|
+
only: or
|
|
1488
|
+
};
|
|
1489
|
+
y.Children = Nt, y.Component = E, y.Fragment = se, y.Profiler = ye, y.PureComponent = S, y.StrictMode = pe, y.Suspense = K, y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = V, y.act = ut, y.cloneElement = Ft, y.createContext = ir, y.createElement = It, y.createFactory = $t, y.createRef = br, y.forwardRef = i, y.isValidElement = be, y.lazy = t, y.memo = C, y.startTransition = At, y.unstable_act = ut, y.useCallback = ve, y.useContext = _, y.useDebugValue = Dr, y.useDeferredValue = ht, y.useEffect = F, y.useId = gt, y.useImperativeHandle = He, y.useInsertionEffect = H, y.useLayoutEffect = Ee, y.useMemo = Y, y.useReducer = M, y.useRef = x, y.useState = h, y.useSyncExternalStore = bt, y.useTransition = Ar, y.version = We, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
1490
|
+
}();
|
|
1491
|
+
}(Ge, Ge.exports)), Ge.exports;
|
|
1492
|
+
}
|
|
1493
|
+
var pt;
|
|
1494
|
+
function Bt() {
|
|
1495
|
+
return pt || (pt = 1, process.env.NODE_ENV === "production" ? hr.exports = Wt() : hr.exports = Yt()), hr.exports;
|
|
1496
|
+
}
|
|
1497
|
+
/**
|
|
1498
|
+
* @license React
|
|
1499
|
+
* react-jsx-dev-runtime.development.js
|
|
1500
|
+
*
|
|
1501
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1502
|
+
*
|
|
1503
|
+
* This source code is licensed under the MIT license found in the
|
|
1504
|
+
* LICENSE file in the root directory of this source tree.
|
|
1505
|
+
*/
|
|
1506
|
+
var yt;
|
|
1507
|
+
function zt() {
|
|
1508
|
+
return yt || (yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1509
|
+
var z = Bt(), y = Symbol.for("react.element"), We = Symbol.for("react.portal"), G = Symbol.for("react.fragment"), Re = Symbol.for("react.strict_mode"), se = Symbol.for("react.profiler"), pe = Symbol.for("react.provider"), ye = Symbol.for("react.context"), te = Symbol.for("react.forward_ref"), ne = Symbol.for("react.suspense"), J = Symbol.for("react.suspense_list"), K = Symbol.for("react.memo"), ce = Symbol.for("react.lazy"), X = Symbol.for("react.offscreen"), ae = Symbol.iterator, Ie = "@@iterator";
|
|
1510
|
+
function Q(t) {
|
|
1511
|
+
if (t === null || typeof t != "object")
|
|
1512
|
+
return null;
|
|
1513
|
+
var i = ae && t[ae] || t[Ie];
|
|
1514
|
+
return typeof i == "function" ? i : null;
|
|
1515
|
+
}
|
|
1516
|
+
var Z = z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1517
|
+
function A(t) {
|
|
1518
|
+
{
|
|
1519
|
+
for (var i = arguments.length, c = new Array(i > 1 ? i - 1 : 0), d = 1; d < i; d++)
|
|
1520
|
+
c[d - 1] = arguments[d];
|
|
1521
|
+
me("error", t, c);
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
function me(t, i, c) {
|
|
1525
|
+
{
|
|
1526
|
+
var d = Z.ReactDebugCurrentFrame, C = d.getStackAddendum();
|
|
1527
|
+
C !== "" && (i += "%s", c = c.concat([C]));
|
|
1528
|
+
var m = c.map(function(_) {
|
|
1529
|
+
return String(_);
|
|
1530
|
+
});
|
|
1531
|
+
m.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, m);
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
var ee = !1, $ = !1, B = !1, oe = !1, fe = !1, Ce;
|
|
1535
|
+
Ce = Symbol.for("react.module.reference");
|
|
1536
|
+
function we(t) {
|
|
1537
|
+
return !!(typeof t == "string" || typeof t == "function" || t === G || t === se || fe || t === Re || t === ne || t === J || oe || t === X || ee || $ || B || typeof t == "object" && t !== null && (t.$$typeof === ce || t.$$typeof === K || t.$$typeof === pe || t.$$typeof === ye || t.$$typeof === te || // This needs to include all possible module reference object
|
|
1538
|
+
// types supported by any Flight configuration anywhere since
|
|
1539
|
+
// we don't know which Flight build this will end up being used
|
|
1540
|
+
// with.
|
|
1541
|
+
t.$$typeof === Ce || t.getModuleId !== void 0));
|
|
1542
|
+
}
|
|
1543
|
+
function Ye(t, i, c) {
|
|
1544
|
+
var d = t.displayName;
|
|
1545
|
+
if (d)
|
|
1546
|
+
return d;
|
|
1547
|
+
var C = i.displayName || i.name || "";
|
|
1548
|
+
return C !== "" ? c + "(" + C + ")" : c;
|
|
1549
|
+
}
|
|
1550
|
+
function Se(t) {
|
|
1551
|
+
return t.displayName || "Context";
|
|
1552
|
+
}
|
|
1553
|
+
function W(t) {
|
|
1554
|
+
if (t == null)
|
|
1555
|
+
return null;
|
|
1556
|
+
if (typeof t.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
1557
|
+
return t.displayName || t.name || null;
|
|
1558
|
+
if (typeof t == "string")
|
|
1559
|
+
return t;
|
|
1560
|
+
switch (t) {
|
|
1561
|
+
case G:
|
|
1562
|
+
return "Fragment";
|
|
1563
|
+
case We:
|
|
1564
|
+
return "Portal";
|
|
1565
|
+
case se:
|
|
1566
|
+
return "Profiler";
|
|
1567
|
+
case Re:
|
|
1568
|
+
return "StrictMode";
|
|
1569
|
+
case ne:
|
|
1570
|
+
return "Suspense";
|
|
1571
|
+
case J:
|
|
1572
|
+
return "SuspenseList";
|
|
1573
|
+
}
|
|
1574
|
+
if (typeof t == "object")
|
|
1575
|
+
switch (t.$$typeof) {
|
|
1576
|
+
case ye:
|
|
1577
|
+
var i = t;
|
|
1578
|
+
return Se(i) + ".Consumer";
|
|
1579
|
+
case pe:
|
|
1580
|
+
var c = t;
|
|
1581
|
+
return Se(c._context) + ".Provider";
|
|
1582
|
+
case te:
|
|
1583
|
+
return Ye(t, t.render, "ForwardRef");
|
|
1584
|
+
case K:
|
|
1585
|
+
var d = t.displayName || null;
|
|
1586
|
+
return d !== null ? d : W(t.type) || "Memo";
|
|
1587
|
+
case ce: {
|
|
1588
|
+
var C = t, m = C._payload, _ = C._init;
|
|
1589
|
+
try {
|
|
1590
|
+
return W(_(m));
|
|
1591
|
+
} catch {
|
|
1592
|
+
return null;
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
return null;
|
|
1597
|
+
}
|
|
1598
|
+
var q = Object.assign, V = 0, re, l, ie, Te, le, n, u;
|
|
1599
|
+
function b() {
|
|
1600
|
+
}
|
|
1601
|
+
b.__reactDisabledLog = !0;
|
|
1602
|
+
function E() {
|
|
1603
|
+
{
|
|
1604
|
+
if (V === 0) {
|
|
1605
|
+
re = console.log, l = console.info, ie = console.warn, Te = console.error, le = console.group, n = console.groupCollapsed, u = console.groupEnd;
|
|
1606
|
+
var t = {
|
|
1607
|
+
configurable: !0,
|
|
1608
|
+
enumerable: !0,
|
|
1609
|
+
value: b,
|
|
1610
|
+
writable: !0
|
|
1611
|
+
};
|
|
1612
|
+
Object.defineProperties(console, {
|
|
1613
|
+
info: t,
|
|
1614
|
+
log: t,
|
|
1615
|
+
warn: t,
|
|
1616
|
+
error: t,
|
|
1617
|
+
group: t,
|
|
1618
|
+
groupCollapsed: t,
|
|
1619
|
+
groupEnd: t
|
|
1620
|
+
});
|
|
1621
|
+
}
|
|
1622
|
+
V++;
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
function w() {
|
|
1626
|
+
{
|
|
1627
|
+
if (V--, V === 0) {
|
|
1628
|
+
var t = {
|
|
1629
|
+
configurable: !0,
|
|
1630
|
+
enumerable: !0,
|
|
1631
|
+
writable: !0
|
|
1632
|
+
};
|
|
1633
|
+
Object.defineProperties(console, {
|
|
1634
|
+
log: q({}, t, {
|
|
1635
|
+
value: re
|
|
1636
|
+
}),
|
|
1637
|
+
info: q({}, t, {
|
|
1638
|
+
value: l
|
|
1639
|
+
}),
|
|
1640
|
+
warn: q({}, t, {
|
|
1641
|
+
value: ie
|
|
1642
|
+
}),
|
|
1643
|
+
error: q({}, t, {
|
|
1644
|
+
value: Te
|
|
1645
|
+
}),
|
|
1646
|
+
group: q({}, t, {
|
|
1647
|
+
value: le
|
|
1648
|
+
}),
|
|
1649
|
+
groupCollapsed: q({}, t, {
|
|
1650
|
+
value: n
|
|
1651
|
+
}),
|
|
1652
|
+
groupEnd: q({}, t, {
|
|
1653
|
+
value: u
|
|
1654
|
+
})
|
|
1655
|
+
});
|
|
1656
|
+
}
|
|
1657
|
+
V < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1658
|
+
}
|
|
1659
|
+
}
|
|
1660
|
+
var k = Z.ReactCurrentDispatcher, O;
|
|
1661
|
+
function T(t, i, c) {
|
|
1662
|
+
{
|
|
1663
|
+
if (O === void 0)
|
|
1664
|
+
try {
|
|
1665
|
+
throw Error();
|
|
1666
|
+
} catch (C) {
|
|
1667
|
+
var d = C.stack.trim().match(/\n( *(at )?)/);
|
|
1668
|
+
O = d && d[1] || "";
|
|
1669
|
+
}
|
|
1670
|
+
return `
|
|
1671
|
+
` + O + t;
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
var S = !1, N;
|
|
1675
|
+
{
|
|
1676
|
+
var br = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1677
|
+
N = new br();
|
|
1678
|
+
}
|
|
1679
|
+
function Je(t, i) {
|
|
1680
|
+
if (!t || S)
|
|
1681
|
+
return "";
|
|
1682
|
+
{
|
|
1683
|
+
var c = N.get(t);
|
|
1684
|
+
if (c !== void 0)
|
|
1685
|
+
return c;
|
|
1686
|
+
}
|
|
1687
|
+
var d;
|
|
1688
|
+
S = !0;
|
|
1689
|
+
var C = Error.prepareStackTrace;
|
|
1690
|
+
Error.prepareStackTrace = void 0;
|
|
1691
|
+
var m;
|
|
1692
|
+
m = k.current, k.current = null, E();
|
|
1693
|
+
try {
|
|
1694
|
+
if (i) {
|
|
1695
|
+
var _ = function() {
|
|
1696
|
+
throw Error();
|
|
1697
|
+
};
|
|
1698
|
+
if (Object.defineProperty(_.prototype, "props", {
|
|
1699
|
+
set: function() {
|
|
1700
|
+
throw Error();
|
|
1701
|
+
}
|
|
1702
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1703
|
+
try {
|
|
1704
|
+
Reflect.construct(_, []);
|
|
1705
|
+
} catch (Y) {
|
|
1706
|
+
d = Y;
|
|
1707
|
+
}
|
|
1708
|
+
Reflect.construct(t, [], _);
|
|
1709
|
+
} else {
|
|
1710
|
+
try {
|
|
1711
|
+
_.call();
|
|
1712
|
+
} catch (Y) {
|
|
1713
|
+
d = Y;
|
|
1714
|
+
}
|
|
1715
|
+
t.call(_.prototype);
|
|
1716
|
+
}
|
|
1717
|
+
} else {
|
|
1718
|
+
try {
|
|
1719
|
+
throw Error();
|
|
1720
|
+
} catch (Y) {
|
|
1721
|
+
d = Y;
|
|
1722
|
+
}
|
|
1723
|
+
t();
|
|
1724
|
+
}
|
|
1725
|
+
} catch (Y) {
|
|
1726
|
+
if (Y && d && typeof Y.stack == "string") {
|
|
1727
|
+
for (var h = Y.stack.split(`
|
|
1728
|
+
`), M = d.stack.split(`
|
|
1729
|
+
`), x = h.length - 1, F = M.length - 1; x >= 1 && F >= 0 && h[x] !== M[F]; )
|
|
1730
|
+
F--;
|
|
1731
|
+
for (; x >= 1 && F >= 0; x--, F--)
|
|
1732
|
+
if (h[x] !== M[F]) {
|
|
1733
|
+
if (x !== 1 || F !== 1)
|
|
1734
|
+
do
|
|
1735
|
+
if (x--, F--, F < 0 || h[x] !== M[F]) {
|
|
1736
|
+
var H = `
|
|
1737
|
+
` + h[x].replace(" at new ", " at ");
|
|
1738
|
+
return t.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", t.displayName)), typeof t == "function" && N.set(t, H), H;
|
|
1739
|
+
}
|
|
1740
|
+
while (x >= 1 && F >= 0);
|
|
1741
|
+
break;
|
|
1742
|
+
}
|
|
1743
|
+
}
|
|
1744
|
+
} finally {
|
|
1745
|
+
S = !1, k.current = m, w(), Error.prepareStackTrace = C;
|
|
1746
|
+
}
|
|
1747
|
+
var Ee = t ? t.displayName || t.name : "", ve = Ee ? T(Ee) : "";
|
|
1748
|
+
return typeof t == "function" && N.set(t, ve), ve;
|
|
1749
|
+
}
|
|
1750
|
+
function Fe(t, i, c) {
|
|
1751
|
+
return Je(t, !1);
|
|
1752
|
+
}
|
|
1753
|
+
function _r(t) {
|
|
1754
|
+
var i = t.prototype;
|
|
1755
|
+
return !!(i && i.isReactComponent);
|
|
1756
|
+
}
|
|
1757
|
+
function $e(t, i, c) {
|
|
1758
|
+
if (t == null)
|
|
1759
|
+
return "";
|
|
1760
|
+
if (typeof t == "function")
|
|
1761
|
+
return Je(t, _r(t));
|
|
1762
|
+
if (typeof t == "string")
|
|
1763
|
+
return T(t);
|
|
1764
|
+
switch (t) {
|
|
1765
|
+
case ne:
|
|
1766
|
+
return T("Suspense");
|
|
1767
|
+
case J:
|
|
1768
|
+
return T("SuspenseList");
|
|
1769
|
+
}
|
|
1770
|
+
if (typeof t == "object")
|
|
1771
|
+
switch (t.$$typeof) {
|
|
1772
|
+
case te:
|
|
1773
|
+
return Fe(t.render);
|
|
1774
|
+
case K:
|
|
1775
|
+
return $e(t.type, i, c);
|
|
1776
|
+
case ce: {
|
|
1777
|
+
var d = t, C = d._payload, m = d._init;
|
|
1778
|
+
try {
|
|
1779
|
+
return $e(m(C), i, c);
|
|
1780
|
+
} catch {
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
return "";
|
|
1785
|
+
}
|
|
1786
|
+
var he = Object.prototype.hasOwnProperty, Oe = {}, Xe = Z.ReactDebugCurrentFrame;
|
|
1787
|
+
function Pe(t) {
|
|
1788
|
+
if (t) {
|
|
1789
|
+
var i = t._owner, c = $e(t.type, t._source, i ? i.type : null);
|
|
1790
|
+
Xe.setExtraStackFrame(c);
|
|
1791
|
+
} else
|
|
1792
|
+
Xe.setExtraStackFrame(null);
|
|
1793
|
+
}
|
|
1794
|
+
function ue(t, i, c, d, C) {
|
|
1795
|
+
{
|
|
1796
|
+
var m = Function.call.bind(he);
|
|
1797
|
+
for (var _ in t)
|
|
1798
|
+
if (m(t, _)) {
|
|
1799
|
+
var h = void 0;
|
|
1800
|
+
try {
|
|
1801
|
+
if (typeof t[_] != "function") {
|
|
1802
|
+
var M = Error((d || "React class") + ": " + c + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1803
|
+
throw M.name = "Invariant Violation", M;
|
|
1804
|
+
}
|
|
1805
|
+
h = t[_](i, _, d, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1806
|
+
} catch (x) {
|
|
1807
|
+
h = x;
|
|
1808
|
+
}
|
|
1809
|
+
h && !(h instanceof Error) && (Pe(C), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", d || "React class", c, _, typeof h), Pe(null)), h instanceof Error && !(h.message in Oe) && (Oe[h.message] = !0, Pe(C), A("Failed %s type: %s", c, h.message), Pe(null));
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
var ke = Array.isArray;
|
|
1814
|
+
function Ne(t) {
|
|
1815
|
+
return ke(t);
|
|
1816
|
+
}
|
|
1817
|
+
function Qe(t) {
|
|
1818
|
+
{
|
|
1819
|
+
var i = typeof Symbol == "function" && Symbol.toStringTag, c = i && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
1820
|
+
return c;
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
function Ze(t) {
|
|
1824
|
+
try {
|
|
1825
|
+
return Le(t), !1;
|
|
1826
|
+
} catch {
|
|
1827
|
+
return !0;
|
|
1828
|
+
}
|
|
1829
|
+
}
|
|
1830
|
+
function Le(t) {
|
|
1831
|
+
return "" + t;
|
|
1832
|
+
}
|
|
1833
|
+
function Be(t) {
|
|
1834
|
+
if (Ze(t))
|
|
1835
|
+
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Qe(t)), Le(t);
|
|
1836
|
+
}
|
|
1837
|
+
var ge = Z.ReactCurrentOwner, Er = {
|
|
1838
|
+
key: !0,
|
|
1839
|
+
ref: !0,
|
|
1840
|
+
__self: !0,
|
|
1841
|
+
__source: !0
|
|
1842
|
+
}, er, rr, je;
|
|
1843
|
+
je = {};
|
|
1844
|
+
function Rr(t) {
|
|
1845
|
+
if (he.call(t, "ref")) {
|
|
1846
|
+
var i = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
1847
|
+
if (i && i.isReactWarning)
|
|
1848
|
+
return !1;
|
|
1849
|
+
}
|
|
1850
|
+
return t.ref !== void 0;
|
|
1851
|
+
}
|
|
1852
|
+
function Cr(t) {
|
|
1853
|
+
if (he.call(t, "key")) {
|
|
1854
|
+
var i = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
1855
|
+
if (i && i.isReactWarning)
|
|
1856
|
+
return !1;
|
|
1857
|
+
}
|
|
1858
|
+
return t.key !== void 0;
|
|
1859
|
+
}
|
|
1860
|
+
function wr(t, i) {
|
|
1861
|
+
if (typeof t.ref == "string" && ge.current && i && ge.current.stateNode !== i) {
|
|
1862
|
+
var c = W(ge.current.type);
|
|
1863
|
+
je[c] || (A('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', W(ge.current.type), t.ref), je[c] = !0);
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
function be(t, i) {
|
|
1867
|
+
{
|
|
1868
|
+
var c = function() {
|
|
1869
|
+
er || (er = !0, A("%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)", i));
|
|
1870
|
+
};
|
|
1871
|
+
c.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
1872
|
+
get: c,
|
|
1873
|
+
configurable: !0
|
|
1874
|
+
});
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1877
|
+
function tr(t, i) {
|
|
1878
|
+
{
|
|
1879
|
+
var c = function() {
|
|
1880
|
+
rr || (rr = !0, A("%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)", i));
|
|
1881
|
+
};
|
|
1882
|
+
c.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
1883
|
+
get: c,
|
|
1884
|
+
configurable: !0
|
|
1885
|
+
});
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
var Sr = function(t, i, c, d, C, m, _) {
|
|
1889
|
+
var h = {
|
|
1890
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
1891
|
+
$$typeof: y,
|
|
1892
|
+
// Built-in properties that belong on the element
|
|
1893
|
+
type: t,
|
|
1894
|
+
key: i,
|
|
1895
|
+
ref: c,
|
|
1896
|
+
props: _,
|
|
1897
|
+
// Record the component responsible for creating this element.
|
|
1898
|
+
_owner: m
|
|
1899
|
+
};
|
|
1900
|
+
return h._store = {}, Object.defineProperty(h._store, "validated", {
|
|
1901
|
+
configurable: !1,
|
|
1902
|
+
enumerable: !1,
|
|
1903
|
+
writable: !0,
|
|
1904
|
+
value: !1
|
|
1905
|
+
}), Object.defineProperty(h, "_self", {
|
|
1906
|
+
configurable: !1,
|
|
1907
|
+
enumerable: !1,
|
|
1908
|
+
writable: !1,
|
|
1909
|
+
value: d
|
|
1910
|
+
}), Object.defineProperty(h, "_source", {
|
|
1911
|
+
configurable: !1,
|
|
1912
|
+
enumerable: !1,
|
|
1913
|
+
writable: !1,
|
|
1914
|
+
value: C
|
|
1915
|
+
}), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
|
|
1916
|
+
};
|
|
1917
|
+
function Tr(t, i, c, d, C) {
|
|
1918
|
+
{
|
|
1919
|
+
var m, _ = {}, h = null, M = null;
|
|
1920
|
+
c !== void 0 && (Be(c), h = "" + c), Cr(i) && (Be(i.key), h = "" + i.key), Rr(i) && (M = i.ref, wr(i, C));
|
|
1921
|
+
for (m in i)
|
|
1922
|
+
he.call(i, m) && !Er.hasOwnProperty(m) && (_[m] = i[m]);
|
|
1923
|
+
if (t && t.defaultProps) {
|
|
1924
|
+
var x = t.defaultProps;
|
|
1925
|
+
for (m in x)
|
|
1926
|
+
_[m] === void 0 && (_[m] = x[m]);
|
|
1927
|
+
}
|
|
1928
|
+
if (h || M) {
|
|
1929
|
+
var F = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
1930
|
+
h && be(_, F), M && tr(_, F);
|
|
1931
|
+
}
|
|
1932
|
+
return Sr(t, h, M, C, d, ge.current, _);
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1935
|
+
var Ve = Z.ReactCurrentOwner, nr = Z.ReactDebugCurrentFrame;
|
|
1936
|
+
function de(t) {
|
|
1937
|
+
if (t) {
|
|
1938
|
+
var i = t._owner, c = $e(t.type, t._source, i ? i.type : null);
|
|
1939
|
+
nr.setExtraStackFrame(c);
|
|
1940
|
+
} else
|
|
1941
|
+
nr.setExtraStackFrame(null);
|
|
1942
|
+
}
|
|
1943
|
+
var De;
|
|
1944
|
+
De = !1;
|
|
1945
|
+
function _e(t) {
|
|
1946
|
+
return typeof t == "object" && t !== null && t.$$typeof === y;
|
|
1947
|
+
}
|
|
1948
|
+
function Ae() {
|
|
1949
|
+
{
|
|
1950
|
+
if (Ve.current) {
|
|
1951
|
+
var t = W(Ve.current.type);
|
|
1952
|
+
if (t)
|
|
1953
|
+
return `
|
|
1954
|
+
|
|
1955
|
+
Check the render method of \`` + t + "`.";
|
|
1956
|
+
}
|
|
1957
|
+
return "";
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1960
|
+
function Or(t) {
|
|
1961
|
+
{
|
|
1962
|
+
if (t !== void 0) {
|
|
1963
|
+
var i = t.fileName.replace(/^.*[\\\/]/, ""), c = t.lineNumber;
|
|
1964
|
+
return `
|
|
1965
|
+
|
|
1966
|
+
Check your code at ` + i + ":" + c + ".";
|
|
1967
|
+
}
|
|
1968
|
+
return "";
|
|
1969
|
+
}
|
|
1970
|
+
}
|
|
1971
|
+
var ar = {};
|
|
1972
|
+
function Pr(t) {
|
|
1973
|
+
{
|
|
1974
|
+
var i = Ae();
|
|
1975
|
+
if (!i) {
|
|
1976
|
+
var c = typeof t == "string" ? t : t.displayName || t.name;
|
|
1977
|
+
c && (i = `
|
|
1978
|
+
|
|
1979
|
+
Check the top-level render call using <` + c + ">.");
|
|
1980
|
+
}
|
|
1981
|
+
return i;
|
|
1982
|
+
}
|
|
1983
|
+
}
|
|
1984
|
+
function or(t, i) {
|
|
1985
|
+
{
|
|
1986
|
+
if (!t._store || t._store.validated || t.key != null)
|
|
1987
|
+
return;
|
|
1988
|
+
t._store.validated = !0;
|
|
1989
|
+
var c = Pr(i);
|
|
1990
|
+
if (ar[c])
|
|
1991
|
+
return;
|
|
1992
|
+
ar[c] = !0;
|
|
1993
|
+
var d = "";
|
|
1994
|
+
t && t._owner && t._owner !== Ve.current && (d = " It was passed a child from " + W(t._owner.type) + "."), de(t), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, d), de(null);
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1997
|
+
function ir(t, i) {
|
|
1998
|
+
{
|
|
1999
|
+
if (typeof t != "object")
|
|
2000
|
+
return;
|
|
2001
|
+
if (Ne(t))
|
|
2002
|
+
for (var c = 0; c < t.length; c++) {
|
|
2003
|
+
var d = t[c];
|
|
2004
|
+
_e(d) && or(d, i);
|
|
2005
|
+
}
|
|
2006
|
+
else if (_e(t))
|
|
2007
|
+
t._store && (t._store.validated = !0);
|
|
2008
|
+
else if (t) {
|
|
2009
|
+
var C = Q(t);
|
|
2010
|
+
if (typeof C == "function" && C !== t.entries)
|
|
2011
|
+
for (var m = C.call(t), _; !(_ = m.next()).done; )
|
|
2012
|
+
_e(_.value) && or(_.value, i);
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
}
|
|
2016
|
+
function xe(t) {
|
|
2017
|
+
{
|
|
2018
|
+
var i = t.type;
|
|
2019
|
+
if (i == null || typeof i == "string")
|
|
2020
|
+
return;
|
|
2021
|
+
var c;
|
|
2022
|
+
if (typeof i == "function")
|
|
2023
|
+
c = i.propTypes;
|
|
2024
|
+
else if (typeof i == "object" && (i.$$typeof === te || // Note: Memo only checks outer props here.
|
|
2025
|
+
// Inner props are checked in the reconciler.
|
|
2026
|
+
i.$$typeof === K))
|
|
2027
|
+
c = i.propTypes;
|
|
2028
|
+
else
|
|
2029
|
+
return;
|
|
2030
|
+
if (c) {
|
|
2031
|
+
var d = W(i);
|
|
2032
|
+
ue(c, t.props, "prop", d, t);
|
|
2033
|
+
} else if (i.PropTypes !== void 0 && !De) {
|
|
2034
|
+
De = !0;
|
|
2035
|
+
var C = W(i);
|
|
2036
|
+
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
|
|
2037
|
+
}
|
|
2038
|
+
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2039
|
+
}
|
|
2040
|
+
}
|
|
2041
|
+
function ze(t) {
|
|
2042
|
+
{
|
|
2043
|
+
for (var i = Object.keys(t.props), c = 0; c < i.length; c++) {
|
|
2044
|
+
var d = i[c];
|
|
2045
|
+
if (d !== "children" && d !== "key") {
|
|
2046
|
+
de(t), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", d), de(null);
|
|
2047
|
+
break;
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
2050
|
+
t.ref !== null && (de(t), A("Invalid attribute `ref` supplied to `React.Fragment`."), de(null));
|
|
2051
|
+
}
|
|
2052
|
+
}
|
|
2053
|
+
var qe = {};
|
|
2054
|
+
function kr(t, i, c, d, C, m) {
|
|
2055
|
+
{
|
|
2056
|
+
var _ = we(t);
|
|
2057
|
+
if (!_) {
|
|
2058
|
+
var h = "";
|
|
2059
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (h += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2060
|
+
var M = Or(C);
|
|
2061
|
+
M ? h += M : h += Ae();
|
|
2062
|
+
var x;
|
|
2063
|
+
t === null ? x = "null" : Ne(t) ? x = "array" : t !== void 0 && t.$$typeof === y ? (x = "<" + (W(t.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : x = typeof t, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, h);
|
|
2064
|
+
}
|
|
2065
|
+
var F = Tr(t, i, c, C, m);
|
|
2066
|
+
if (F == null)
|
|
2067
|
+
return F;
|
|
2068
|
+
if (_) {
|
|
2069
|
+
var H = i.children;
|
|
2070
|
+
if (H !== void 0)
|
|
2071
|
+
if (d)
|
|
2072
|
+
if (Ne(H)) {
|
|
2073
|
+
for (var Ee = 0; Ee < H.length; Ee++)
|
|
2074
|
+
ir(H[Ee], t);
|
|
2075
|
+
Object.freeze && Object.freeze(H);
|
|
2076
|
+
} else
|
|
2077
|
+
A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2078
|
+
else
|
|
2079
|
+
ir(H, t);
|
|
2080
|
+
}
|
|
2081
|
+
if (he.call(i, "key")) {
|
|
2082
|
+
var ve = W(t), Y = Object.keys(i).filter(function(Ar) {
|
|
2083
|
+
return Ar !== "key";
|
|
2084
|
+
}), He = Y.length > 0 ? "{key: someKey, " + Y.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2085
|
+
if (!qe[ve + He]) {
|
|
2086
|
+
var Dr = Y.length > 0 ? "{" + Y.join(": ..., ") + ": ...}" : "{}";
|
|
2087
|
+
A(`A props object containing a "key" prop is being spread into JSX:
|
|
2088
|
+
let props = %s;
|
|
2089
|
+
<%s {...props} />
|
|
2090
|
+
React keys must be passed directly to JSX without using spread:
|
|
2091
|
+
let props = %s;
|
|
2092
|
+
<%s key={someKey} {...props} />`, He, ve, Dr, ve), qe[ve + He] = !0;
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
return t === G ? ze(F) : xe(F), F;
|
|
2096
|
+
}
|
|
2097
|
+
}
|
|
2098
|
+
var jr = kr;
|
|
2099
|
+
mr.Fragment = G, mr.jsxDEV = jr;
|
|
2100
|
+
}()), mr;
|
|
2101
|
+
}
|
|
2102
|
+
var mt;
|
|
2103
|
+
function qt() {
|
|
2104
|
+
return mt || (mt = 1, process.env.NODE_ENV === "production" ? pr.exports = Ut() : pr.exports = zt()), pr.exports;
|
|
2105
|
+
}
|
|
2106
|
+
var gr = qt();
|
|
2107
|
+
const Ht = ({ data: z, config: y }) => /* @__PURE__ */ gr.jsxDEV("div", { children: [
|
|
2108
|
+
/* @__PURE__ */ gr.jsxDEV("h1", { children: "Formidavim" }, void 0, !1, {
|
|
2109
|
+
fileName: "/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/render.tsx",
|
|
2110
|
+
lineNumber: 7,
|
|
2111
|
+
columnNumber: 7
|
|
2112
|
+
}, void 0),
|
|
2113
|
+
/* @__PURE__ */ gr.jsxDEV("p", { children: "This is the Formidavim application." }, void 0, !1, {
|
|
2114
|
+
fileName: "/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/render.tsx",
|
|
2115
|
+
lineNumber: 8,
|
|
2116
|
+
columnNumber: 7
|
|
2117
|
+
}, void 0),
|
|
2118
|
+
/* @__PURE__ */ gr.jsxDEV("p", { children: "Routes and components will be rendered here." }, void 0, !1, {
|
|
2119
|
+
fileName: "/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/render.tsx",
|
|
2120
|
+
lineNumber: 9,
|
|
2121
|
+
columnNumber: 7
|
|
2122
|
+
}, void 0)
|
|
2123
|
+
] }, void 0, !0, {
|
|
2124
|
+
fileName: "/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/render.tsx",
|
|
2125
|
+
lineNumber: 6,
|
|
2126
|
+
columnNumber: 5
|
|
2127
|
+
}, void 0);
|
|
2128
|
+
export {
|
|
2129
|
+
Ht as Render
|
|
2130
|
+
};
|