desktop-tool-pl-qrcode 1.0.2 → 1.0.4
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 +496 -1989
- package/manifest.json +12 -0
- package/package.json +1 -3
- package/src/QRCodePlugin.tsx +13 -2
- package/vite.config.ts +3 -1
package/dist/index.js
CHANGED
|
@@ -1,1505 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
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;
|
|
1
|
+
import ke, { useState as I, useMemo as dr, useEffect as vr } from "react";
|
|
2
|
+
import pr from "qrcode";
|
|
3
|
+
var ne = { exports: {} }, L = {};
|
|
1503
4
|
/**
|
|
1504
5
|
* @license React
|
|
1505
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -1509,25 +10,25 @@ var Te = qr.exports;
|
|
|
1509
10
|
* This source code is licensed under the MIT license found in the
|
|
1510
11
|
* LICENSE file in the root directory of this source tree.
|
|
1511
12
|
*/
|
|
1512
|
-
var
|
|
1513
|
-
function
|
|
1514
|
-
if (
|
|
1515
|
-
return
|
|
1516
|
-
|
|
1517
|
-
var
|
|
1518
|
-
function
|
|
1519
|
-
var
|
|
1520
|
-
|
|
1521
|
-
for (
|
|
1522
|
-
|
|
1523
|
-
if (
|
|
1524
|
-
for (
|
|
1525
|
-
|
|
1526
|
-
return { $$typeof:
|
|
13
|
+
var Oe;
|
|
14
|
+
function hr() {
|
|
15
|
+
if (Oe)
|
|
16
|
+
return L;
|
|
17
|
+
Oe = 1;
|
|
18
|
+
var R = ke, j = Symbol.for("react.element"), y = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, S = R.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, E = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
+
function k(_, d, O) {
|
|
20
|
+
var h, w = {}, l = null, C = null;
|
|
21
|
+
O !== void 0 && (l = "" + O), d.key !== void 0 && (l = "" + d.key), d.ref !== void 0 && (C = d.ref);
|
|
22
|
+
for (h in d)
|
|
23
|
+
m.call(d, h) && !E.hasOwnProperty(h) && (w[h] = d[h]);
|
|
24
|
+
if (_ && _.defaultProps)
|
|
25
|
+
for (h in d = _.defaultProps, d)
|
|
26
|
+
w[h] === void 0 && (w[h] = d[h]);
|
|
27
|
+
return { $$typeof: j, type: _, key: l, ref: C, props: w, _owner: S.current };
|
|
1527
28
|
}
|
|
1528
|
-
return
|
|
29
|
+
return L.Fragment = y, L.jsx = k, L.jsxs = k, L;
|
|
1529
30
|
}
|
|
1530
|
-
var
|
|
31
|
+
var W = {};
|
|
1531
32
|
/**
|
|
1532
33
|
* @license React
|
|
1533
34
|
* react-jsx-runtime.development.js
|
|
@@ -1537,91 +38,91 @@ var Xe = {};
|
|
|
1537
38
|
* This source code is licensed under the MIT license found in the
|
|
1538
39
|
* LICENSE file in the root directory of this source tree.
|
|
1539
40
|
*/
|
|
1540
|
-
var
|
|
1541
|
-
function
|
|
1542
|
-
return
|
|
1543
|
-
var
|
|
1544
|
-
function
|
|
1545
|
-
if (
|
|
41
|
+
var Se;
|
|
42
|
+
function mr() {
|
|
43
|
+
return Se || (Se = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
+
var R = ke, j = Symbol.for("react.element"), y = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), S = Symbol.for("react.strict_mode"), E = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), _ = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), O = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), Y = Symbol.iterator, J = "@@iterator";
|
|
45
|
+
function Q(e) {
|
|
46
|
+
if (e === null || typeof e != "object")
|
|
1546
47
|
return null;
|
|
1547
|
-
var
|
|
1548
|
-
return typeof
|
|
48
|
+
var r = Y && e[Y] || e[J];
|
|
49
|
+
return typeof r == "function" ? r : null;
|
|
1549
50
|
}
|
|
1550
|
-
var
|
|
1551
|
-
function
|
|
51
|
+
var u = R.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
|
+
function p(e) {
|
|
1552
53
|
{
|
|
1553
|
-
for (var
|
|
1554
|
-
|
|
1555
|
-
|
|
54
|
+
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
55
|
+
t[n - 1] = arguments[n];
|
|
56
|
+
Pe("error", e, t);
|
|
1556
57
|
}
|
|
1557
58
|
}
|
|
1558
|
-
function
|
|
59
|
+
function Pe(e, r, t) {
|
|
1559
60
|
{
|
|
1560
|
-
var
|
|
1561
|
-
|
|
1562
|
-
var
|
|
1563
|
-
return String(
|
|
61
|
+
var n = u.ReactDebugCurrentFrame, s = n.getStackAddendum();
|
|
62
|
+
s !== "" && (r += "%s", t = t.concat([s]));
|
|
63
|
+
var c = t.map(function(i) {
|
|
64
|
+
return String(i);
|
|
1564
65
|
});
|
|
1565
|
-
|
|
66
|
+
c.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, c);
|
|
1566
67
|
}
|
|
1567
68
|
}
|
|
1568
|
-
var
|
|
1569
|
-
|
|
1570
|
-
function
|
|
1571
|
-
return !!(typeof
|
|
69
|
+
var Ne = !1, De = !1, qe = !1, Fe = !1, Ae = !1, ae;
|
|
70
|
+
ae = Symbol.for("react.module.reference");
|
|
71
|
+
function $e(e) {
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === m || e === E || Ae || e === S || e === O || e === h || Fe || e === C || Ne || De || qe || typeof e == "object" && e !== null && (e.$$typeof === l || e.$$typeof === w || e.$$typeof === k || e.$$typeof === _ || e.$$typeof === d || // This needs to include all possible module reference object
|
|
1572
73
|
// types supported by any Flight configuration anywhere since
|
|
1573
74
|
// we don't know which Flight build this will end up being used
|
|
1574
75
|
// with.
|
|
1575
|
-
|
|
76
|
+
e.$$typeof === ae || e.getModuleId !== void 0));
|
|
1576
77
|
}
|
|
1577
|
-
function
|
|
1578
|
-
var
|
|
1579
|
-
if (
|
|
1580
|
-
return
|
|
1581
|
-
var
|
|
1582
|
-
return
|
|
78
|
+
function Ie(e, r, t) {
|
|
79
|
+
var n = e.displayName;
|
|
80
|
+
if (n)
|
|
81
|
+
return n;
|
|
82
|
+
var s = r.displayName || r.name || "";
|
|
83
|
+
return s !== "" ? t + "(" + s + ")" : t;
|
|
1583
84
|
}
|
|
1584
|
-
function
|
|
1585
|
-
return
|
|
85
|
+
function oe(e) {
|
|
86
|
+
return e.displayName || "Context";
|
|
1586
87
|
}
|
|
1587
|
-
function
|
|
1588
|
-
if (
|
|
88
|
+
function T(e) {
|
|
89
|
+
if (e == null)
|
|
1589
90
|
return null;
|
|
1590
|
-
if (typeof
|
|
1591
|
-
return
|
|
1592
|
-
if (typeof
|
|
1593
|
-
return
|
|
1594
|
-
switch (
|
|
1595
|
-
case
|
|
91
|
+
if (typeof e.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
92
|
+
return e.displayName || e.name || null;
|
|
93
|
+
if (typeof e == "string")
|
|
94
|
+
return e;
|
|
95
|
+
switch (e) {
|
|
96
|
+
case m:
|
|
1596
97
|
return "Fragment";
|
|
1597
|
-
case
|
|
98
|
+
case y:
|
|
1598
99
|
return "Portal";
|
|
1599
|
-
case
|
|
100
|
+
case E:
|
|
1600
101
|
return "Profiler";
|
|
1601
|
-
case
|
|
102
|
+
case S:
|
|
1602
103
|
return "StrictMode";
|
|
1603
|
-
case
|
|
104
|
+
case O:
|
|
1604
105
|
return "Suspense";
|
|
1605
|
-
case
|
|
106
|
+
case h:
|
|
1606
107
|
return "SuspenseList";
|
|
1607
108
|
}
|
|
1608
|
-
if (typeof
|
|
1609
|
-
switch (
|
|
1610
|
-
case
|
|
1611
|
-
var
|
|
1612
|
-
return
|
|
1613
|
-
case
|
|
1614
|
-
var
|
|
1615
|
-
return
|
|
1616
|
-
case
|
|
1617
|
-
return
|
|
1618
|
-
case
|
|
1619
|
-
var
|
|
1620
|
-
return
|
|
1621
|
-
case
|
|
1622
|
-
var
|
|
109
|
+
if (typeof e == "object")
|
|
110
|
+
switch (e.$$typeof) {
|
|
111
|
+
case _:
|
|
112
|
+
var r = e;
|
|
113
|
+
return oe(r) + ".Consumer";
|
|
114
|
+
case k:
|
|
115
|
+
var t = e;
|
|
116
|
+
return oe(t._context) + ".Provider";
|
|
117
|
+
case d:
|
|
118
|
+
return Ie(e, e.render, "ForwardRef");
|
|
119
|
+
case w:
|
|
120
|
+
var n = e.displayName || null;
|
|
121
|
+
return n !== null ? n : T(e.type) || "Memo";
|
|
122
|
+
case l: {
|
|
123
|
+
var s = e, c = s._payload, i = s._init;
|
|
1623
124
|
try {
|
|
1624
|
-
return
|
|
125
|
+
return T(i(c));
|
|
1625
126
|
} catch {
|
|
1626
127
|
return null;
|
|
1627
128
|
}
|
|
@@ -1629,715 +130,721 @@ function qt() {
|
|
|
1629
130
|
}
|
|
1630
131
|
return null;
|
|
1631
132
|
}
|
|
1632
|
-
var
|
|
1633
|
-
function
|
|
133
|
+
var P = Object.assign, F = 0, ie, se, le, ce, ue, fe, de;
|
|
134
|
+
function ve() {
|
|
1634
135
|
}
|
|
1635
|
-
|
|
1636
|
-
function
|
|
136
|
+
ve.__reactDisabledLog = !0;
|
|
137
|
+
function Le() {
|
|
1637
138
|
{
|
|
1638
|
-
if (
|
|
1639
|
-
|
|
1640
|
-
var
|
|
139
|
+
if (F === 0) {
|
|
140
|
+
ie = console.log, se = console.info, le = console.warn, ce = console.error, ue = console.group, fe = console.groupCollapsed, de = console.groupEnd;
|
|
141
|
+
var e = {
|
|
1641
142
|
configurable: !0,
|
|
1642
143
|
enumerable: !0,
|
|
1643
|
-
value:
|
|
144
|
+
value: ve,
|
|
1644
145
|
writable: !0
|
|
1645
146
|
};
|
|
1646
147
|
Object.defineProperties(console, {
|
|
1647
|
-
info:
|
|
1648
|
-
log:
|
|
1649
|
-
warn:
|
|
1650
|
-
error:
|
|
1651
|
-
group:
|
|
1652
|
-
groupCollapsed:
|
|
1653
|
-
groupEnd:
|
|
148
|
+
info: e,
|
|
149
|
+
log: e,
|
|
150
|
+
warn: e,
|
|
151
|
+
error: e,
|
|
152
|
+
group: e,
|
|
153
|
+
groupCollapsed: e,
|
|
154
|
+
groupEnd: e
|
|
1654
155
|
});
|
|
1655
156
|
}
|
|
1656
|
-
|
|
157
|
+
F++;
|
|
1657
158
|
}
|
|
1658
159
|
}
|
|
1659
|
-
function
|
|
160
|
+
function We() {
|
|
1660
161
|
{
|
|
1661
|
-
if (
|
|
1662
|
-
var
|
|
162
|
+
if (F--, F === 0) {
|
|
163
|
+
var e = {
|
|
1663
164
|
configurable: !0,
|
|
1664
165
|
enumerable: !0,
|
|
1665
166
|
writable: !0
|
|
1666
167
|
};
|
|
1667
168
|
Object.defineProperties(console, {
|
|
1668
|
-
log:
|
|
1669
|
-
value:
|
|
169
|
+
log: P({}, e, {
|
|
170
|
+
value: ie
|
|
1670
171
|
}),
|
|
1671
|
-
info:
|
|
1672
|
-
value:
|
|
172
|
+
info: P({}, e, {
|
|
173
|
+
value: se
|
|
1673
174
|
}),
|
|
1674
|
-
warn:
|
|
1675
|
-
value:
|
|
175
|
+
warn: P({}, e, {
|
|
176
|
+
value: le
|
|
1676
177
|
}),
|
|
1677
|
-
error:
|
|
1678
|
-
value:
|
|
178
|
+
error: P({}, e, {
|
|
179
|
+
value: ce
|
|
1679
180
|
}),
|
|
1680
|
-
group:
|
|
1681
|
-
value:
|
|
181
|
+
group: P({}, e, {
|
|
182
|
+
value: ue
|
|
1682
183
|
}),
|
|
1683
|
-
groupCollapsed:
|
|
1684
|
-
value:
|
|
184
|
+
groupCollapsed: P({}, e, {
|
|
185
|
+
value: fe
|
|
1685
186
|
}),
|
|
1686
|
-
groupEnd:
|
|
1687
|
-
value:
|
|
187
|
+
groupEnd: P({}, e, {
|
|
188
|
+
value: de
|
|
1688
189
|
})
|
|
1689
190
|
});
|
|
1690
191
|
}
|
|
1691
|
-
|
|
192
|
+
F < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1692
193
|
}
|
|
1693
194
|
}
|
|
1694
|
-
var
|
|
1695
|
-
function
|
|
195
|
+
var K = u.ReactCurrentDispatcher, G;
|
|
196
|
+
function M(e, r, t) {
|
|
1696
197
|
{
|
|
1697
|
-
if (
|
|
198
|
+
if (G === void 0)
|
|
1698
199
|
try {
|
|
1699
200
|
throw Error();
|
|
1700
|
-
} catch (
|
|
1701
|
-
var
|
|
1702
|
-
|
|
201
|
+
} catch (s) {
|
|
202
|
+
var n = s.stack.trim().match(/\n( *(at )?)/);
|
|
203
|
+
G = n && n[1] || "";
|
|
1703
204
|
}
|
|
1704
205
|
return `
|
|
1705
|
-
` +
|
|
206
|
+
` + G + e;
|
|
1706
207
|
}
|
|
1707
208
|
}
|
|
1708
|
-
var
|
|
209
|
+
var z = !1, U;
|
|
1709
210
|
{
|
|
1710
|
-
var
|
|
1711
|
-
|
|
211
|
+
var Ye = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
U = new Ye();
|
|
1712
213
|
}
|
|
1713
|
-
function
|
|
1714
|
-
if (!
|
|
214
|
+
function pe(e, r) {
|
|
215
|
+
if (!e || z)
|
|
1715
216
|
return "";
|
|
1716
217
|
{
|
|
1717
|
-
var
|
|
1718
|
-
if (
|
|
1719
|
-
return
|
|
218
|
+
var t = U.get(e);
|
|
219
|
+
if (t !== void 0)
|
|
220
|
+
return t;
|
|
1720
221
|
}
|
|
1721
|
-
var
|
|
1722
|
-
|
|
1723
|
-
var
|
|
222
|
+
var n;
|
|
223
|
+
z = !0;
|
|
224
|
+
var s = Error.prepareStackTrace;
|
|
1724
225
|
Error.prepareStackTrace = void 0;
|
|
1725
|
-
var
|
|
1726
|
-
|
|
226
|
+
var c;
|
|
227
|
+
c = K.current, K.current = null, Le();
|
|
1727
228
|
try {
|
|
1728
|
-
if (
|
|
1729
|
-
var
|
|
229
|
+
if (r) {
|
|
230
|
+
var i = function() {
|
|
1730
231
|
throw Error();
|
|
1731
232
|
};
|
|
1732
|
-
if (Object.defineProperty(
|
|
233
|
+
if (Object.defineProperty(i.prototype, "props", {
|
|
1733
234
|
set: function() {
|
|
1734
235
|
throw Error();
|
|
1735
236
|
}
|
|
1736
237
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1737
238
|
try {
|
|
1738
|
-
Reflect.construct(
|
|
1739
|
-
} catch (
|
|
1740
|
-
|
|
239
|
+
Reflect.construct(i, []);
|
|
240
|
+
} catch (b) {
|
|
241
|
+
n = b;
|
|
1741
242
|
}
|
|
1742
|
-
Reflect.construct(
|
|
243
|
+
Reflect.construct(e, [], i);
|
|
1743
244
|
} else {
|
|
1744
245
|
try {
|
|
1745
|
-
|
|
1746
|
-
} catch (
|
|
1747
|
-
|
|
246
|
+
i.call();
|
|
247
|
+
} catch (b) {
|
|
248
|
+
n = b;
|
|
1748
249
|
}
|
|
1749
|
-
|
|
250
|
+
e.call(i.prototype);
|
|
1750
251
|
}
|
|
1751
252
|
} else {
|
|
1752
253
|
try {
|
|
1753
254
|
throw Error();
|
|
1754
|
-
} catch (
|
|
1755
|
-
|
|
255
|
+
} catch (b) {
|
|
256
|
+
n = b;
|
|
1756
257
|
}
|
|
1757
|
-
|
|
258
|
+
e();
|
|
1758
259
|
}
|
|
1759
|
-
} catch (
|
|
1760
|
-
if (
|
|
1761
|
-
for (var
|
|
1762
|
-
`),
|
|
1763
|
-
`),
|
|
1764
|
-
|
|
1765
|
-
for (;
|
|
1766
|
-
if (
|
|
1767
|
-
if (
|
|
260
|
+
} catch (b) {
|
|
261
|
+
if (b && n && typeof b.stack == "string") {
|
|
262
|
+
for (var o = b.stack.split(`
|
|
263
|
+
`), g = n.stack.split(`
|
|
264
|
+
`), f = o.length - 1, v = g.length - 1; f >= 1 && v >= 0 && o[f] !== g[v]; )
|
|
265
|
+
v--;
|
|
266
|
+
for (; f >= 1 && v >= 0; f--, v--)
|
|
267
|
+
if (o[f] !== g[v]) {
|
|
268
|
+
if (f !== 1 || v !== 1)
|
|
1768
269
|
do
|
|
1769
|
-
if (
|
|
1770
|
-
var
|
|
1771
|
-
` +
|
|
1772
|
-
return
|
|
270
|
+
if (f--, v--, v < 0 || o[f] !== g[v]) {
|
|
271
|
+
var x = `
|
|
272
|
+
` + o[f].replace(" at new ", " at ");
|
|
273
|
+
return e.displayName && x.includes("<anonymous>") && (x = x.replace("<anonymous>", e.displayName)), typeof e == "function" && U.set(e, x), x;
|
|
1773
274
|
}
|
|
1774
|
-
while (
|
|
275
|
+
while (f >= 1 && v >= 0);
|
|
1775
276
|
break;
|
|
1776
277
|
}
|
|
1777
278
|
}
|
|
1778
279
|
} finally {
|
|
1779
|
-
|
|
280
|
+
z = !1, K.current = c, We(), Error.prepareStackTrace = s;
|
|
1780
281
|
}
|
|
1781
|
-
var
|
|
1782
|
-
return typeof
|
|
282
|
+
var q = e ? e.displayName || e.name : "", N = q ? M(q) : "";
|
|
283
|
+
return typeof e == "function" && U.set(e, N), N;
|
|
1783
284
|
}
|
|
1784
|
-
function
|
|
1785
|
-
return
|
|
285
|
+
function Me(e, r, t) {
|
|
286
|
+
return pe(e, !1);
|
|
1786
287
|
}
|
|
1787
|
-
function
|
|
1788
|
-
var
|
|
1789
|
-
return !!(
|
|
288
|
+
function Ue(e) {
|
|
289
|
+
var r = e.prototype;
|
|
290
|
+
return !!(r && r.isReactComponent);
|
|
1790
291
|
}
|
|
1791
|
-
function
|
|
1792
|
-
if (
|
|
292
|
+
function V(e, r, t) {
|
|
293
|
+
if (e == null)
|
|
1793
294
|
return "";
|
|
1794
|
-
if (typeof
|
|
1795
|
-
return
|
|
1796
|
-
if (typeof
|
|
1797
|
-
return
|
|
1798
|
-
switch (
|
|
1799
|
-
case
|
|
1800
|
-
return
|
|
1801
|
-
case
|
|
1802
|
-
return
|
|
1803
|
-
}
|
|
1804
|
-
if (typeof
|
|
1805
|
-
switch (
|
|
1806
|
-
case
|
|
1807
|
-
return
|
|
1808
|
-
case
|
|
1809
|
-
return
|
|
1810
|
-
case
|
|
1811
|
-
var
|
|
295
|
+
if (typeof e == "function")
|
|
296
|
+
return pe(e, Ue(e));
|
|
297
|
+
if (typeof e == "string")
|
|
298
|
+
return M(e);
|
|
299
|
+
switch (e) {
|
|
300
|
+
case O:
|
|
301
|
+
return M("Suspense");
|
|
302
|
+
case h:
|
|
303
|
+
return M("SuspenseList");
|
|
304
|
+
}
|
|
305
|
+
if (typeof e == "object")
|
|
306
|
+
switch (e.$$typeof) {
|
|
307
|
+
case d:
|
|
308
|
+
return Me(e.render);
|
|
309
|
+
case w:
|
|
310
|
+
return V(e.type, r, t);
|
|
311
|
+
case l: {
|
|
312
|
+
var n = e, s = n._payload, c = n._init;
|
|
1812
313
|
try {
|
|
1813
|
-
return
|
|
314
|
+
return V(c(s), r, t);
|
|
1814
315
|
} catch {
|
|
1815
316
|
}
|
|
1816
317
|
}
|
|
1817
318
|
}
|
|
1818
319
|
return "";
|
|
1819
320
|
}
|
|
1820
|
-
var
|
|
1821
|
-
function
|
|
1822
|
-
if (
|
|
1823
|
-
var
|
|
1824
|
-
|
|
321
|
+
var A = Object.prototype.hasOwnProperty, he = {}, me = u.ReactDebugCurrentFrame;
|
|
322
|
+
function B(e) {
|
|
323
|
+
if (e) {
|
|
324
|
+
var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
|
|
325
|
+
me.setExtraStackFrame(t);
|
|
1825
326
|
} else
|
|
1826
|
-
|
|
327
|
+
me.setExtraStackFrame(null);
|
|
1827
328
|
}
|
|
1828
|
-
function
|
|
329
|
+
function Ve(e, r, t, n, s) {
|
|
1829
330
|
{
|
|
1830
|
-
var
|
|
1831
|
-
for (var
|
|
1832
|
-
if (
|
|
1833
|
-
var
|
|
331
|
+
var c = Function.call.bind(A);
|
|
332
|
+
for (var i in e)
|
|
333
|
+
if (c(e, i)) {
|
|
334
|
+
var o = void 0;
|
|
1834
335
|
try {
|
|
1835
|
-
if (typeof
|
|
1836
|
-
var
|
|
1837
|
-
throw
|
|
336
|
+
if (typeof e[i] != "function") {
|
|
337
|
+
var g = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
|
+
throw g.name = "Invariant Violation", g;
|
|
1838
339
|
}
|
|
1839
|
-
|
|
1840
|
-
} catch (
|
|
1841
|
-
|
|
340
|
+
o = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
|
+
} catch (f) {
|
|
342
|
+
o = f;
|
|
1842
343
|
}
|
|
1843
|
-
|
|
344
|
+
o && !(o instanceof Error) && (B(s), p("%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).", n || "React class", t, i, typeof o), B(null)), o instanceof Error && !(o.message in he) && (he[o.message] = !0, B(s), p("Failed %s type: %s", t, o.message), B(null));
|
|
1844
345
|
}
|
|
1845
346
|
}
|
|
1846
347
|
}
|
|
1847
|
-
var
|
|
1848
|
-
function
|
|
1849
|
-
return
|
|
348
|
+
var Be = Array.isArray;
|
|
349
|
+
function H(e) {
|
|
350
|
+
return Be(e);
|
|
1850
351
|
}
|
|
1851
|
-
function
|
|
352
|
+
function Je(e) {
|
|
1852
353
|
{
|
|
1853
|
-
var
|
|
1854
|
-
return
|
|
354
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
355
|
+
return t;
|
|
1855
356
|
}
|
|
1856
357
|
}
|
|
1857
|
-
function
|
|
358
|
+
function Qe(e) {
|
|
1858
359
|
try {
|
|
1859
|
-
return
|
|
360
|
+
return ge(e), !1;
|
|
1860
361
|
} catch {
|
|
1861
362
|
return !0;
|
|
1862
363
|
}
|
|
1863
364
|
}
|
|
1864
|
-
function
|
|
1865
|
-
return "" +
|
|
365
|
+
function ge(e) {
|
|
366
|
+
return "" + e;
|
|
1866
367
|
}
|
|
1867
|
-
function
|
|
1868
|
-
if (
|
|
1869
|
-
return
|
|
368
|
+
function be(e) {
|
|
369
|
+
if (Qe(e))
|
|
370
|
+
return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), ge(e);
|
|
1870
371
|
}
|
|
1871
|
-
var
|
|
372
|
+
var $ = u.ReactCurrentOwner, Ke = {
|
|
1872
373
|
key: !0,
|
|
1873
374
|
ref: !0,
|
|
1874
375
|
__self: !0,
|
|
1875
376
|
__source: !0
|
|
1876
|
-
},
|
|
1877
|
-
|
|
1878
|
-
function
|
|
1879
|
-
if (
|
|
1880
|
-
var
|
|
1881
|
-
if (
|
|
377
|
+
}, ye, Re, X;
|
|
378
|
+
X = {};
|
|
379
|
+
function Ge(e) {
|
|
380
|
+
if (A.call(e, "ref")) {
|
|
381
|
+
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
382
|
+
if (r && r.isReactWarning)
|
|
1882
383
|
return !1;
|
|
1883
384
|
}
|
|
1884
|
-
return
|
|
385
|
+
return e.ref !== void 0;
|
|
1885
386
|
}
|
|
1886
|
-
function
|
|
1887
|
-
if (
|
|
1888
|
-
var
|
|
1889
|
-
if (
|
|
387
|
+
function ze(e) {
|
|
388
|
+
if (A.call(e, "key")) {
|
|
389
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
390
|
+
if (r && r.isReactWarning)
|
|
1890
391
|
return !1;
|
|
1891
392
|
}
|
|
1892
|
-
return
|
|
393
|
+
return e.key !== void 0;
|
|
1893
394
|
}
|
|
1894
|
-
function
|
|
1895
|
-
if (typeof
|
|
1896
|
-
var
|
|
1897
|
-
|
|
395
|
+
function He(e, r) {
|
|
396
|
+
if (typeof e.ref == "string" && $.current && r && $.current.stateNode !== r) {
|
|
397
|
+
var t = T($.current.type);
|
|
398
|
+
X[t] || (p('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', T($.current.type), e.ref), X[t] = !0);
|
|
1898
399
|
}
|
|
1899
400
|
}
|
|
1900
|
-
function
|
|
401
|
+
function Xe(e, r) {
|
|
1901
402
|
{
|
|
1902
|
-
var
|
|
1903
|
-
|
|
403
|
+
var t = function() {
|
|
404
|
+
ye || (ye = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
1904
405
|
};
|
|
1905
|
-
|
|
1906
|
-
get:
|
|
406
|
+
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
407
|
+
get: t,
|
|
1907
408
|
configurable: !0
|
|
1908
409
|
});
|
|
1909
410
|
}
|
|
1910
411
|
}
|
|
1911
|
-
function
|
|
412
|
+
function Ze(e, r) {
|
|
1912
413
|
{
|
|
1913
|
-
var
|
|
1914
|
-
|
|
414
|
+
var t = function() {
|
|
415
|
+
Re || (Re = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
1915
416
|
};
|
|
1916
|
-
|
|
1917
|
-
get:
|
|
417
|
+
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
418
|
+
get: t,
|
|
1918
419
|
configurable: !0
|
|
1919
420
|
});
|
|
1920
421
|
}
|
|
1921
422
|
}
|
|
1922
|
-
var
|
|
1923
|
-
var
|
|
423
|
+
var er = function(e, r, t, n, s, c, i) {
|
|
424
|
+
var o = {
|
|
1924
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
1925
|
-
$$typeof:
|
|
426
|
+
$$typeof: j,
|
|
1926
427
|
// Built-in properties that belong on the element
|
|
1927
|
-
type:
|
|
1928
|
-
key:
|
|
1929
|
-
ref:
|
|
1930
|
-
props:
|
|
428
|
+
type: e,
|
|
429
|
+
key: r,
|
|
430
|
+
ref: t,
|
|
431
|
+
props: i,
|
|
1931
432
|
// Record the component responsible for creating this element.
|
|
1932
|
-
_owner:
|
|
433
|
+
_owner: c
|
|
1933
434
|
};
|
|
1934
|
-
return
|
|
435
|
+
return o._store = {}, Object.defineProperty(o._store, "validated", {
|
|
1935
436
|
configurable: !1,
|
|
1936
437
|
enumerable: !1,
|
|
1937
438
|
writable: !0,
|
|
1938
439
|
value: !1
|
|
1939
|
-
}), Object.defineProperty(
|
|
440
|
+
}), Object.defineProperty(o, "_self", {
|
|
1940
441
|
configurable: !1,
|
|
1941
442
|
enumerable: !1,
|
|
1942
443
|
writable: !1,
|
|
1943
|
-
value:
|
|
1944
|
-
}), Object.defineProperty(
|
|
444
|
+
value: n
|
|
445
|
+
}), Object.defineProperty(o, "_source", {
|
|
1945
446
|
configurable: !1,
|
|
1946
447
|
enumerable: !1,
|
|
1947
448
|
writable: !1,
|
|
1948
|
-
value:
|
|
1949
|
-
}), Object.freeze && (Object.freeze(
|
|
449
|
+
value: s
|
|
450
|
+
}), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
|
|
1950
451
|
};
|
|
1951
|
-
function
|
|
452
|
+
function rr(e, r, t, n, s) {
|
|
1952
453
|
{
|
|
1953
|
-
var
|
|
1954
|
-
|
|
1955
|
-
for (
|
|
1956
|
-
|
|
1957
|
-
if (
|
|
1958
|
-
var
|
|
1959
|
-
for (
|
|
1960
|
-
|
|
454
|
+
var c, i = {}, o = null, g = null;
|
|
455
|
+
t !== void 0 && (be(t), o = "" + t), ze(r) && (be(r.key), o = "" + r.key), Ge(r) && (g = r.ref, He(r, s));
|
|
456
|
+
for (c in r)
|
|
457
|
+
A.call(r, c) && !Ke.hasOwnProperty(c) && (i[c] = r[c]);
|
|
458
|
+
if (e && e.defaultProps) {
|
|
459
|
+
var f = e.defaultProps;
|
|
460
|
+
for (c in f)
|
|
461
|
+
i[c] === void 0 && (i[c] = f[c]);
|
|
1961
462
|
}
|
|
1962
|
-
if (
|
|
1963
|
-
var
|
|
1964
|
-
|
|
463
|
+
if (o || g) {
|
|
464
|
+
var v = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
465
|
+
o && Xe(i, v), g && Ze(i, v);
|
|
1965
466
|
}
|
|
1966
|
-
return
|
|
467
|
+
return er(e, o, g, s, n, $.current, i);
|
|
1967
468
|
}
|
|
1968
469
|
}
|
|
1969
|
-
var
|
|
1970
|
-
function
|
|
1971
|
-
if (
|
|
1972
|
-
var
|
|
1973
|
-
|
|
470
|
+
var Z = u.ReactCurrentOwner, Ee = u.ReactDebugCurrentFrame;
|
|
471
|
+
function D(e) {
|
|
472
|
+
if (e) {
|
|
473
|
+
var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
|
|
474
|
+
Ee.setExtraStackFrame(t);
|
|
1974
475
|
} else
|
|
1975
|
-
|
|
476
|
+
Ee.setExtraStackFrame(null);
|
|
1976
477
|
}
|
|
1977
|
-
var
|
|
1978
|
-
|
|
1979
|
-
function
|
|
1980
|
-
return typeof
|
|
478
|
+
var ee;
|
|
479
|
+
ee = !1;
|
|
480
|
+
function re(e) {
|
|
481
|
+
return typeof e == "object" && e !== null && e.$$typeof === j;
|
|
1981
482
|
}
|
|
1982
|
-
function
|
|
483
|
+
function _e() {
|
|
1983
484
|
{
|
|
1984
|
-
if (
|
|
1985
|
-
var
|
|
1986
|
-
if (
|
|
485
|
+
if (Z.current) {
|
|
486
|
+
var e = T(Z.current.type);
|
|
487
|
+
if (e)
|
|
1987
488
|
return `
|
|
1988
489
|
|
|
1989
|
-
Check the render method of \`` +
|
|
490
|
+
Check the render method of \`` + e + "`.";
|
|
1990
491
|
}
|
|
1991
492
|
return "";
|
|
1992
493
|
}
|
|
1993
494
|
}
|
|
1994
|
-
function
|
|
495
|
+
function tr(e) {
|
|
1995
496
|
{
|
|
1996
|
-
if (
|
|
1997
|
-
var
|
|
497
|
+
if (e !== void 0) {
|
|
498
|
+
var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
|
|
1998
499
|
return `
|
|
1999
500
|
|
|
2000
|
-
Check your code at ` +
|
|
501
|
+
Check your code at ` + r + ":" + t + ".";
|
|
2001
502
|
}
|
|
2002
503
|
return "";
|
|
2003
504
|
}
|
|
2004
505
|
}
|
|
2005
|
-
var
|
|
2006
|
-
function
|
|
506
|
+
var xe = {};
|
|
507
|
+
function nr(e) {
|
|
2007
508
|
{
|
|
2008
|
-
var
|
|
2009
|
-
if (!
|
|
2010
|
-
var
|
|
2011
|
-
|
|
509
|
+
var r = _e();
|
|
510
|
+
if (!r) {
|
|
511
|
+
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
512
|
+
t && (r = `
|
|
2012
513
|
|
|
2013
|
-
Check the top-level render call using <` +
|
|
514
|
+
Check the top-level render call using <` + t + ">.");
|
|
2014
515
|
}
|
|
2015
|
-
return
|
|
516
|
+
return r;
|
|
2016
517
|
}
|
|
2017
518
|
}
|
|
2018
|
-
function
|
|
519
|
+
function je(e, r) {
|
|
2019
520
|
{
|
|
2020
|
-
if (!
|
|
521
|
+
if (!e._store || e._store.validated || e.key != null)
|
|
2021
522
|
return;
|
|
2022
|
-
|
|
2023
|
-
var
|
|
2024
|
-
if (
|
|
523
|
+
e._store.validated = !0;
|
|
524
|
+
var t = nr(r);
|
|
525
|
+
if (xe[t])
|
|
2025
526
|
return;
|
|
2026
|
-
|
|
2027
|
-
var
|
|
2028
|
-
|
|
527
|
+
xe[t] = !0;
|
|
528
|
+
var n = "";
|
|
529
|
+
e && e._owner && e._owner !== Z.current && (n = " It was passed a child from " + T(e._owner.type) + "."), D(e), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), D(null);
|
|
2029
530
|
}
|
|
2030
531
|
}
|
|
2031
|
-
function
|
|
532
|
+
function we(e, r) {
|
|
2032
533
|
{
|
|
2033
|
-
if (typeof
|
|
534
|
+
if (typeof e != "object")
|
|
2034
535
|
return;
|
|
2035
|
-
if (
|
|
2036
|
-
for (var
|
|
2037
|
-
var
|
|
2038
|
-
|
|
536
|
+
if (H(e))
|
|
537
|
+
for (var t = 0; t < e.length; t++) {
|
|
538
|
+
var n = e[t];
|
|
539
|
+
re(n) && je(n, r);
|
|
2039
540
|
}
|
|
2040
|
-
else if (
|
|
2041
|
-
|
|
2042
|
-
else if (
|
|
2043
|
-
var
|
|
2044
|
-
if (typeof
|
|
2045
|
-
for (var
|
|
2046
|
-
|
|
541
|
+
else if (re(e))
|
|
542
|
+
e._store && (e._store.validated = !0);
|
|
543
|
+
else if (e) {
|
|
544
|
+
var s = Q(e);
|
|
545
|
+
if (typeof s == "function" && s !== e.entries)
|
|
546
|
+
for (var c = s.call(e), i; !(i = c.next()).done; )
|
|
547
|
+
re(i.value) && je(i.value, r);
|
|
2047
548
|
}
|
|
2048
549
|
}
|
|
2049
550
|
}
|
|
2050
|
-
function
|
|
551
|
+
function ar(e) {
|
|
2051
552
|
{
|
|
2052
|
-
var
|
|
2053
|
-
if (
|
|
553
|
+
var r = e.type;
|
|
554
|
+
if (r == null || typeof r == "string")
|
|
2054
555
|
return;
|
|
2055
|
-
var
|
|
2056
|
-
if (typeof
|
|
2057
|
-
|
|
2058
|
-
else if (typeof
|
|
556
|
+
var t;
|
|
557
|
+
if (typeof r == "function")
|
|
558
|
+
t = r.propTypes;
|
|
559
|
+
else if (typeof r == "object" && (r.$$typeof === d || // Note: Memo only checks outer props here.
|
|
2059
560
|
// Inner props are checked in the reconciler.
|
|
2060
|
-
|
|
2061
|
-
|
|
561
|
+
r.$$typeof === w))
|
|
562
|
+
t = r.propTypes;
|
|
2062
563
|
else
|
|
2063
564
|
return;
|
|
2064
|
-
if (
|
|
2065
|
-
var
|
|
2066
|
-
|
|
2067
|
-
} else if (
|
|
2068
|
-
|
|
2069
|
-
var
|
|
2070
|
-
|
|
565
|
+
if (t) {
|
|
566
|
+
var n = T(r);
|
|
567
|
+
Ve(t, e.props, "prop", n, e);
|
|
568
|
+
} else if (r.PropTypes !== void 0 && !ee) {
|
|
569
|
+
ee = !0;
|
|
570
|
+
var s = T(r);
|
|
571
|
+
p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", s || "Unknown");
|
|
2071
572
|
}
|
|
2072
|
-
typeof
|
|
573
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2073
574
|
}
|
|
2074
575
|
}
|
|
2075
|
-
function
|
|
576
|
+
function or(e) {
|
|
2076
577
|
{
|
|
2077
|
-
for (var
|
|
2078
|
-
var
|
|
2079
|
-
if (
|
|
2080
|
-
|
|
578
|
+
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
579
|
+
var n = r[t];
|
|
580
|
+
if (n !== "children" && n !== "key") {
|
|
581
|
+
D(e), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), D(null);
|
|
2081
582
|
break;
|
|
2082
583
|
}
|
|
2083
584
|
}
|
|
2084
|
-
|
|
585
|
+
e.ref !== null && (D(e), p("Invalid attribute `ref` supplied to `React.Fragment`."), D(null));
|
|
2085
586
|
}
|
|
2086
587
|
}
|
|
2087
|
-
var
|
|
2088
|
-
function
|
|
588
|
+
var Ce = {};
|
|
589
|
+
function Te(e, r, t, n, s, c) {
|
|
2089
590
|
{
|
|
2090
|
-
var
|
|
2091
|
-
if (!
|
|
2092
|
-
var
|
|
2093
|
-
(
|
|
2094
|
-
var
|
|
2095
|
-
|
|
2096
|
-
var
|
|
2097
|
-
|
|
2098
|
-
}
|
|
2099
|
-
var
|
|
2100
|
-
if (
|
|
2101
|
-
return
|
|
2102
|
-
if (
|
|
2103
|
-
var
|
|
2104
|
-
if (
|
|
2105
|
-
if (
|
|
2106
|
-
if (
|
|
2107
|
-
for (var
|
|
2108
|
-
|
|
2109
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
var i = $e(e);
|
|
592
|
+
if (!i) {
|
|
593
|
+
var o = "";
|
|
594
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
595
|
+
var g = tr(s);
|
|
596
|
+
g ? o += g : o += _e();
|
|
597
|
+
var f;
|
|
598
|
+
e === null ? f = "null" : H(e) ? f = "array" : e !== void 0 && e.$$typeof === j ? (f = "<" + (T(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : f = typeof e, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", f, o);
|
|
599
|
+
}
|
|
600
|
+
var v = rr(e, r, t, s, c);
|
|
601
|
+
if (v == null)
|
|
602
|
+
return v;
|
|
603
|
+
if (i) {
|
|
604
|
+
var x = r.children;
|
|
605
|
+
if (x !== void 0)
|
|
606
|
+
if (n)
|
|
607
|
+
if (H(x)) {
|
|
608
|
+
for (var q = 0; q < x.length; q++)
|
|
609
|
+
we(x[q], e);
|
|
610
|
+
Object.freeze && Object.freeze(x);
|
|
2110
611
|
} else
|
|
2111
|
-
|
|
612
|
+
p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2112
613
|
else
|
|
2113
|
-
|
|
2114
|
-
}
|
|
2115
|
-
if (
|
|
2116
|
-
var
|
|
2117
|
-
return
|
|
2118
|
-
}),
|
|
2119
|
-
if (!
|
|
2120
|
-
var
|
|
2121
|
-
|
|
614
|
+
we(x, e);
|
|
615
|
+
}
|
|
616
|
+
if (A.call(r, "key")) {
|
|
617
|
+
var N = T(e), b = Object.keys(r).filter(function(fr) {
|
|
618
|
+
return fr !== "key";
|
|
619
|
+
}), te = b.length > 0 ? "{key: someKey, " + b.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
620
|
+
if (!Ce[N + te]) {
|
|
621
|
+
var ur = b.length > 0 ? "{" + b.join(": ..., ") + ": ...}" : "{}";
|
|
622
|
+
p(`A props object containing a "key" prop is being spread into JSX:
|
|
2122
623
|
let props = %s;
|
|
2123
624
|
<%s {...props} />
|
|
2124
625
|
React keys must be passed directly to JSX without using spread:
|
|
2125
626
|
let props = %s;
|
|
2126
|
-
<%s key={someKey} {...props} />`,
|
|
627
|
+
<%s key={someKey} {...props} />`, te, N, ur, N), Ce[N + te] = !0;
|
|
2127
628
|
}
|
|
2128
629
|
}
|
|
2129
|
-
return
|
|
630
|
+
return e === m ? or(v) : ar(v), v;
|
|
2130
631
|
}
|
|
2131
632
|
}
|
|
2132
|
-
function
|
|
2133
|
-
return
|
|
633
|
+
function ir(e, r, t) {
|
|
634
|
+
return Te(e, r, t, !0);
|
|
2134
635
|
}
|
|
2135
|
-
function
|
|
2136
|
-
return
|
|
636
|
+
function sr(e, r, t) {
|
|
637
|
+
return Te(e, r, t, !1);
|
|
2137
638
|
}
|
|
2138
|
-
var
|
|
2139
|
-
|
|
2140
|
-
}()),
|
|
639
|
+
var lr = sr, cr = ir;
|
|
640
|
+
W.Fragment = m, W.jsx = lr, W.jsxs = cr;
|
|
641
|
+
}()), W;
|
|
2141
642
|
}
|
|
2142
|
-
process.env.NODE_ENV === "production" ?
|
|
2143
|
-
var
|
|
2144
|
-
async function
|
|
2145
|
-
const
|
|
643
|
+
process.env.NODE_ENV === "production" ? ne.exports = hr() : ne.exports = mr();
|
|
644
|
+
var a = ne.exports;
|
|
645
|
+
async function gr(R, j = {}) {
|
|
646
|
+
const y = {
|
|
2146
647
|
width: 300,
|
|
2147
648
|
margin: 2,
|
|
2148
649
|
color: { dark: "#000000", light: "#ffffff" },
|
|
2149
650
|
errorCorrectionLevel: "M",
|
|
2150
|
-
...
|
|
651
|
+
...j
|
|
2151
652
|
};
|
|
2152
|
-
if (!
|
|
653
|
+
if (!R || R.trim() === "")
|
|
2153
654
|
throw new Error("输入内容不能为空");
|
|
2154
655
|
try {
|
|
2155
|
-
return await
|
|
2156
|
-
} catch (
|
|
2157
|
-
throw new Error(`生成二维码失败: ${
|
|
656
|
+
return await pr.toDataURL(R, y);
|
|
657
|
+
} catch (m) {
|
|
658
|
+
throw new Error(`生成二维码失败: ${m.message}`);
|
|
2158
659
|
}
|
|
2159
660
|
}
|
|
2160
|
-
function
|
|
2161
|
-
const
|
|
2162
|
-
|
|
661
|
+
function br(R, j = "qrcode.png") {
|
|
662
|
+
const y = document.createElement("a");
|
|
663
|
+
y.href = R, y.download = j, document.body.appendChild(y), y.click(), document.body.removeChild(y);
|
|
2163
664
|
}
|
|
2164
|
-
function
|
|
2165
|
-
const [
|
|
665
|
+
function Er({ onClose: R, onMinimize: j, onMaximize: y }) {
|
|
666
|
+
const [m, S] = I("text"), [E, k] = I(""), [_, d] = I(""), [O, h] = I(""), w = dr(() => {
|
|
667
|
+
try {
|
|
668
|
+
return window.self !== window.top;
|
|
669
|
+
} catch {
|
|
670
|
+
return !0;
|
|
671
|
+
}
|
|
672
|
+
}, []), [l, C] = I({
|
|
2166
673
|
width: 300,
|
|
2167
674
|
margin: 2,
|
|
2168
675
|
color: "#000000",
|
|
2169
676
|
bgColor: "#ffffff",
|
|
2170
677
|
errorLevel: "M"
|
|
2171
678
|
});
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
}, [
|
|
2175
|
-
const
|
|
2176
|
-
if (!
|
|
2177
|
-
|
|
679
|
+
vr(() => {
|
|
680
|
+
E.trim() ? Y() : d("");
|
|
681
|
+
}, [E, l, m]);
|
|
682
|
+
const Y = async () => {
|
|
683
|
+
if (!E.trim()) {
|
|
684
|
+
d("");
|
|
2178
685
|
return;
|
|
2179
686
|
}
|
|
2180
|
-
|
|
687
|
+
h("");
|
|
2181
688
|
try {
|
|
2182
|
-
const
|
|
2183
|
-
width:
|
|
2184
|
-
margin:
|
|
2185
|
-
color: { dark:
|
|
2186
|
-
errorCorrectionLevel:
|
|
689
|
+
const u = m === "url" && !E.match(/^https?:\/\//) ? `https://${E}` : E, p = await gr(u, {
|
|
690
|
+
width: l.width,
|
|
691
|
+
margin: l.margin,
|
|
692
|
+
color: { dark: l.color, light: l.bgColor },
|
|
693
|
+
errorCorrectionLevel: l.errorLevel
|
|
2187
694
|
});
|
|
2188
|
-
|
|
2189
|
-
} catch (
|
|
2190
|
-
|
|
695
|
+
d(p);
|
|
696
|
+
} catch (u) {
|
|
697
|
+
h(u.message), d("");
|
|
2191
698
|
}
|
|
2192
|
-
},
|
|
2193
|
-
if (
|
|
2194
|
-
const
|
|
2195
|
-
|
|
699
|
+
}, J = () => {
|
|
700
|
+
if (_) {
|
|
701
|
+
const u = (/* @__PURE__ */ new Date()).getTime();
|
|
702
|
+
br(_, `qrcode-${u}.png`);
|
|
2196
703
|
}
|
|
2197
|
-
},
|
|
2198
|
-
|
|
704
|
+
}, Q = (u) => {
|
|
705
|
+
k(u.target.value);
|
|
2199
706
|
};
|
|
2200
|
-
return /* @__PURE__ */
|
|
2201
|
-
/* @__PURE__ */
|
|
2202
|
-
/* @__PURE__ */
|
|
2203
|
-
|
|
2204
|
-
/* @__PURE__ */
|
|
2205
|
-
/* @__PURE__ */
|
|
2206
|
-
/* @__PURE__ */
|
|
707
|
+
return /* @__PURE__ */ a.jsxs("div", { className: "qrcode-plugin", children: [
|
|
708
|
+
/* @__PURE__ */ a.jsxs("div", { className: "qrcode-header", children: [
|
|
709
|
+
/* @__PURE__ */ a.jsx("h2", { children: "📱 二维码生成器" }),
|
|
710
|
+
R && !w && /* @__PURE__ */ a.jsxs("div", { className: "qrcode-window-controls", children: [
|
|
711
|
+
/* @__PURE__ */ a.jsx("button", { onClick: j, title: "最小化", children: "─" }),
|
|
712
|
+
/* @__PURE__ */ a.jsx("button", { onClick: y, title: "最大化", children: "□" }),
|
|
713
|
+
/* @__PURE__ */ a.jsx("button", { onClick: R, title: "关闭", children: "✕" })
|
|
2207
714
|
] })
|
|
2208
715
|
] }),
|
|
2209
|
-
/* @__PURE__ */
|
|
2210
|
-
/* @__PURE__ */
|
|
716
|
+
/* @__PURE__ */ a.jsxs("div", { className: "qrcode-tabs", children: [
|
|
717
|
+
/* @__PURE__ */ a.jsx(
|
|
2211
718
|
"button",
|
|
2212
719
|
{
|
|
2213
|
-
className: `qrcode-tab ${
|
|
2214
|
-
onClick: () =>
|
|
720
|
+
className: `qrcode-tab ${m === "text" ? "active" : ""}`,
|
|
721
|
+
onClick: () => S("text"),
|
|
2215
722
|
children: "文本"
|
|
2216
723
|
}
|
|
2217
724
|
),
|
|
2218
|
-
/* @__PURE__ */
|
|
725
|
+
/* @__PURE__ */ a.jsx(
|
|
2219
726
|
"button",
|
|
2220
727
|
{
|
|
2221
|
-
className: `qrcode-tab ${
|
|
2222
|
-
onClick: () =>
|
|
728
|
+
className: `qrcode-tab ${m === "url" ? "active" : ""}`,
|
|
729
|
+
onClick: () => S("url"),
|
|
2223
730
|
children: "链接"
|
|
2224
731
|
}
|
|
2225
732
|
)
|
|
2226
733
|
] }),
|
|
2227
|
-
/* @__PURE__ */
|
|
2228
|
-
/* @__PURE__ */
|
|
2229
|
-
/* @__PURE__ */
|
|
2230
|
-
/* @__PURE__ */
|
|
734
|
+
/* @__PURE__ */ a.jsxs("div", { className: "qrcode-content", children: [
|
|
735
|
+
/* @__PURE__ */ a.jsxs("div", { className: "qrcode-input-section", children: [
|
|
736
|
+
/* @__PURE__ */ a.jsx("label", { children: m === "text" ? "输入文本内容" : "输入链接地址" }),
|
|
737
|
+
/* @__PURE__ */ a.jsx(
|
|
2231
738
|
"textarea",
|
|
2232
739
|
{
|
|
2233
|
-
value:
|
|
2234
|
-
onChange:
|
|
2235
|
-
placeholder:
|
|
740
|
+
value: E,
|
|
741
|
+
onChange: Q,
|
|
742
|
+
placeholder: m === "text" ? "请输入要生成二维码的文本内容..." : "请输入 URL 地址...",
|
|
2236
743
|
className: "qrcode-textarea",
|
|
2237
744
|
rows: 4
|
|
2238
745
|
}
|
|
2239
746
|
)
|
|
2240
747
|
] }),
|
|
2241
|
-
|
|
748
|
+
O && /* @__PURE__ */ a.jsxs("div", { className: "qrcode-error", children: [
|
|
2242
749
|
"⚠️ ",
|
|
2243
|
-
|
|
750
|
+
O
|
|
2244
751
|
] }),
|
|
2245
|
-
|
|
2246
|
-
/* @__PURE__ */
|
|
752
|
+
_ && /* @__PURE__ */ a.jsx("div", { className: "qrcode-preview-section", children: /* @__PURE__ */ a.jsxs("div", { className: "qrcode-preview-card", children: [
|
|
753
|
+
/* @__PURE__ */ a.jsx(
|
|
2247
754
|
"img",
|
|
2248
755
|
{
|
|
2249
|
-
src:
|
|
756
|
+
src: _,
|
|
2250
757
|
alt: "二维码",
|
|
2251
758
|
className: "qrcode-image",
|
|
2252
|
-
style: { width: `${
|
|
759
|
+
style: { width: `${l.width}px` }
|
|
2253
760
|
}
|
|
2254
761
|
),
|
|
2255
|
-
/* @__PURE__ */
|
|
762
|
+
/* @__PURE__ */ a.jsx(
|
|
2256
763
|
"button",
|
|
2257
764
|
{
|
|
2258
765
|
className: "qrcode-download-btn",
|
|
2259
|
-
onClick:
|
|
766
|
+
onClick: J,
|
|
2260
767
|
children: "📥 下载二维码"
|
|
2261
768
|
}
|
|
2262
769
|
)
|
|
2263
770
|
] }) }),
|
|
2264
|
-
/* @__PURE__ */
|
|
2265
|
-
/* @__PURE__ */
|
|
2266
|
-
/* @__PURE__ */
|
|
2267
|
-
/* @__PURE__ */
|
|
2268
|
-
/* @__PURE__ */
|
|
771
|
+
/* @__PURE__ */ a.jsxs("div", { className: "qrcode-settings", children: [
|
|
772
|
+
/* @__PURE__ */ a.jsx("h3", { children: "⚙️ 设置" }),
|
|
773
|
+
/* @__PURE__ */ a.jsxs("div", { className: "qrcode-settings-grid", children: [
|
|
774
|
+
/* @__PURE__ */ a.jsxs("div", { className: "qrcode-setting-item", children: [
|
|
775
|
+
/* @__PURE__ */ a.jsxs("label", { children: [
|
|
2269
776
|
"尺寸: ",
|
|
2270
|
-
|
|
777
|
+
l.width,
|
|
2271
778
|
"px"
|
|
2272
779
|
] }),
|
|
2273
|
-
/* @__PURE__ */
|
|
780
|
+
/* @__PURE__ */ a.jsx(
|
|
2274
781
|
"input",
|
|
2275
782
|
{
|
|
2276
783
|
type: "range",
|
|
2277
784
|
min: "200",
|
|
2278
785
|
max: "600",
|
|
2279
786
|
step: "50",
|
|
2280
|
-
value:
|
|
2281
|
-
onChange: (
|
|
787
|
+
value: l.width,
|
|
788
|
+
onChange: (u) => C({ ...l, width: Number(u.target.value) }),
|
|
2282
789
|
className: "qrcode-slider"
|
|
2283
790
|
}
|
|
2284
791
|
)
|
|
2285
792
|
] }),
|
|
2286
|
-
/* @__PURE__ */
|
|
2287
|
-
/* @__PURE__ */
|
|
793
|
+
/* @__PURE__ */ a.jsxs("div", { className: "qrcode-setting-item", children: [
|
|
794
|
+
/* @__PURE__ */ a.jsxs("label", { children: [
|
|
2288
795
|
"边距: ",
|
|
2289
|
-
|
|
796
|
+
l.margin
|
|
2290
797
|
] }),
|
|
2291
|
-
/* @__PURE__ */
|
|
798
|
+
/* @__PURE__ */ a.jsx(
|
|
2292
799
|
"input",
|
|
2293
800
|
{
|
|
2294
801
|
type: "range",
|
|
2295
802
|
min: "0",
|
|
2296
803
|
max: "4",
|
|
2297
804
|
step: "1",
|
|
2298
|
-
value:
|
|
2299
|
-
onChange: (
|
|
805
|
+
value: l.margin,
|
|
806
|
+
onChange: (u) => C({ ...l, margin: Number(u.target.value) }),
|
|
2300
807
|
className: "qrcode-slider"
|
|
2301
808
|
}
|
|
2302
809
|
)
|
|
2303
810
|
] }),
|
|
2304
|
-
/* @__PURE__ */
|
|
2305
|
-
/* @__PURE__ */
|
|
2306
|
-
/* @__PURE__ */
|
|
811
|
+
/* @__PURE__ */ a.jsxs("div", { className: "qrcode-setting-item", children: [
|
|
812
|
+
/* @__PURE__ */ a.jsx("label", { children: "前景色" }),
|
|
813
|
+
/* @__PURE__ */ a.jsx(
|
|
2307
814
|
"input",
|
|
2308
815
|
{
|
|
2309
816
|
type: "color",
|
|
2310
|
-
value:
|
|
2311
|
-
onChange: (
|
|
817
|
+
value: l.color,
|
|
818
|
+
onChange: (u) => C({ ...l, color: u.target.value }),
|
|
2312
819
|
className: "qrcode-color-picker"
|
|
2313
820
|
}
|
|
2314
821
|
)
|
|
2315
822
|
] }),
|
|
2316
|
-
/* @__PURE__ */
|
|
2317
|
-
/* @__PURE__ */
|
|
2318
|
-
/* @__PURE__ */
|
|
823
|
+
/* @__PURE__ */ a.jsxs("div", { className: "qrcode-setting-item", children: [
|
|
824
|
+
/* @__PURE__ */ a.jsx("label", { children: "背景色" }),
|
|
825
|
+
/* @__PURE__ */ a.jsx(
|
|
2319
826
|
"input",
|
|
2320
827
|
{
|
|
2321
828
|
type: "color",
|
|
2322
|
-
value:
|
|
2323
|
-
onChange: (
|
|
829
|
+
value: l.bgColor,
|
|
830
|
+
onChange: (u) => C({ ...l, bgColor: u.target.value }),
|
|
2324
831
|
className: "qrcode-color-picker"
|
|
2325
832
|
}
|
|
2326
833
|
)
|
|
2327
834
|
] }),
|
|
2328
|
-
/* @__PURE__ */
|
|
2329
|
-
/* @__PURE__ */
|
|
2330
|
-
/* @__PURE__ */
|
|
835
|
+
/* @__PURE__ */ a.jsxs("div", { className: "qrcode-setting-item", children: [
|
|
836
|
+
/* @__PURE__ */ a.jsx("label", { children: "容错率" }),
|
|
837
|
+
/* @__PURE__ */ a.jsxs(
|
|
2331
838
|
"select",
|
|
2332
839
|
{
|
|
2333
|
-
value:
|
|
2334
|
-
onChange: (
|
|
840
|
+
value: l.errorLevel,
|
|
841
|
+
onChange: (u) => C({ ...l, errorLevel: u.target.value }),
|
|
2335
842
|
className: "qrcode-select",
|
|
2336
843
|
children: [
|
|
2337
|
-
/* @__PURE__ */
|
|
2338
|
-
/* @__PURE__ */
|
|
2339
|
-
/* @__PURE__ */
|
|
2340
|
-
/* @__PURE__ */
|
|
844
|
+
/* @__PURE__ */ a.jsx("option", { value: "L", children: "L (7%)" }),
|
|
845
|
+
/* @__PURE__ */ a.jsx("option", { value: "M", children: "M (15%)" }),
|
|
846
|
+
/* @__PURE__ */ a.jsx("option", { value: "Q", children: "Q (25%)" }),
|
|
847
|
+
/* @__PURE__ */ a.jsx("option", { value: "H", children: "H (30%)" })
|
|
2341
848
|
]
|
|
2342
849
|
}
|
|
2343
850
|
)
|
|
@@ -2347,7 +854,7 @@ function Ht({ onClose: W, onMinimize: d, onMaximize: G }) {
|
|
|
2347
854
|
] })
|
|
2348
855
|
] });
|
|
2349
856
|
}
|
|
2350
|
-
const
|
|
857
|
+
const _r = {
|
|
2351
858
|
id: "com.desktop-tool.plugin.qrcode",
|
|
2352
859
|
name: "二维码生成器",
|
|
2353
860
|
version: "1.0.0",
|
|
@@ -2358,6 +865,6 @@ const Gt = {
|
|
|
2358
865
|
permissions: []
|
|
2359
866
|
};
|
|
2360
867
|
export {
|
|
2361
|
-
|
|
2362
|
-
|
|
868
|
+
Er as default,
|
|
869
|
+
_r as manifest
|
|
2363
870
|
};
|