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