@iota/apps-ui-icons 0.3.1 → 0.4.0

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 CHANGED
@@ -1,3123 +1,21 @@
1
1
  "use strict";
2
- var __create = Object.create;
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __commonJS = (cb, mod) => function __require() {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
- };
11
- var __export = (target, all) => {
12
- for (var name in all)
13
- __defProp(target, name, { get: all[name], enumerable: true });
14
- };
15
- var __copyProps = (to, from, except, desc) => {
16
- if (from && typeof from === "object" || typeof from === "function") {
17
- for (let key of __getOwnPropNames(from))
18
- if (!__hasOwnProp.call(to, key) && key !== except)
19
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
20
- }
21
- return to;
22
- };
23
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
24
- // If the importer is in node compatibility mode or this is not an ESM
25
- // file that has been converted to a CommonJS file using a Babel-
26
- // compatible transform (i.e. "__esModule" has not been set), then set
27
- // "default" to the CommonJS "module.exports" for node compatibility.
28
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
29
- mod
30
- ));
31
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
32
-
33
- // ../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js
34
- var require_react_production_min = __commonJS({
35
- "../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js"(exports2) {
36
- "use strict";
37
- var l = Symbol.for("react.element");
38
- var n = Symbol.for("react.portal");
39
- var p = Symbol.for("react.fragment");
40
- var q = Symbol.for("react.strict_mode");
41
- var r = Symbol.for("react.profiler");
42
- var t = Symbol.for("react.provider");
43
- var u = Symbol.for("react.context");
44
- var v = Symbol.for("react.forward_ref");
45
- var w = Symbol.for("react.suspense");
46
- var x = Symbol.for("react.memo");
47
- var y = Symbol.for("react.lazy");
48
- var z = Symbol.iterator;
49
- function A(a) {
50
- if (null === a || "object" !== typeof a) return null;
51
- a = z && a[z] || a["@@iterator"];
52
- return "function" === typeof a ? a : null;
53
- }
54
- var B = { isMounted: function() {
55
- return false;
56
- }, enqueueForceUpdate: function() {
57
- }, enqueueReplaceState: function() {
58
- }, enqueueSetState: function() {
59
- } };
60
- var C = Object.assign;
61
- var D = {};
62
- function E(a, b, e) {
63
- this.props = a;
64
- this.context = b;
65
- this.refs = D;
66
- this.updater = e || B;
67
- }
68
- E.prototype.isReactComponent = {};
69
- E.prototype.setState = function(a, b) {
70
- if ("object" !== typeof a && "function" !== typeof a && null != a) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
71
- this.updater.enqueueSetState(this, a, b, "setState");
72
- };
73
- E.prototype.forceUpdate = function(a) {
74
- this.updater.enqueueForceUpdate(this, a, "forceUpdate");
75
- };
76
- function F() {
77
- }
78
- F.prototype = E.prototype;
79
- function G(a, b, e) {
80
- this.props = a;
81
- this.context = b;
82
- this.refs = D;
83
- this.updater = e || B;
84
- }
85
- var H = G.prototype = new F();
86
- H.constructor = G;
87
- C(H, E.prototype);
88
- H.isPureReactComponent = true;
89
- var I = Array.isArray;
90
- var J = Object.prototype.hasOwnProperty;
91
- var K = { current: null };
92
- var L = { key: true, ref: true, __self: true, __source: true };
93
- function M(a, b, e) {
94
- var d, c = {}, k = null, h = null;
95
- if (null != b) for (d in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (k = "" + b.key), b) J.call(b, d) && !L.hasOwnProperty(d) && (c[d] = b[d]);
96
- var g = arguments.length - 2;
97
- if (1 === g) c.children = e;
98
- else if (1 < g) {
99
- for (var f = Array(g), m = 0; m < g; m++) f[m] = arguments[m + 2];
100
- c.children = f;
101
- }
102
- if (a && a.defaultProps) for (d in g = a.defaultProps, g) void 0 === c[d] && (c[d] = g[d]);
103
- return { $$typeof: l, type: a, key: k, ref: h, props: c, _owner: K.current };
104
- }
105
- function N(a, b) {
106
- return { $$typeof: l, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner };
107
- }
108
- function O(a) {
109
- return "object" === typeof a && null !== a && a.$$typeof === l;
110
- }
111
- function escape(a) {
112
- var b = { "=": "=0", ":": "=2" };
113
- return "$" + a.replace(/[=:]/g, function(a2) {
114
- return b[a2];
115
- });
116
- }
117
- var P = /\/+/g;
118
- function Q(a, b) {
119
- return "object" === typeof a && null !== a && null != a.key ? escape("" + a.key) : b.toString(36);
120
- }
121
- function R(a, b, e, d, c) {
122
- var k = typeof a;
123
- if ("undefined" === k || "boolean" === k) a = null;
124
- var h = false;
125
- if (null === a) h = true;
126
- else switch (k) {
127
- case "string":
128
- case "number":
129
- h = true;
130
- break;
131
- case "object":
132
- switch (a.$$typeof) {
133
- case l:
134
- case n:
135
- h = true;
136
- }
137
- }
138
- if (h) return h = a, c = c(h), a = "" === d ? "." + Q(h, 0) : d, I(c) ? (e = "", null != a && (e = a.replace(P, "$&/") + "/"), R(c, b, e, "", function(a2) {
139
- return a2;
140
- })) : null != c && (O(c) && (c = N(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P, "$&/") + "/") + a)), b.push(c)), 1;
141
- h = 0;
142
- d = "" === d ? "." : d + ":";
143
- if (I(a)) for (var g = 0; g < a.length; g++) {
144
- k = a[g];
145
- var f = d + Q(k, g);
146
- h += R(k, b, e, f, c);
147
- }
148
- else if (f = A(a), "function" === typeof f) for (a = f.call(a), g = 0; !(k = a.next()).done; ) k = k.value, f = d + Q(k, g++), h += R(k, b, e, f, c);
149
- else if ("object" === k) throw b = String(a), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b ? "object with keys {" + Object.keys(a).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead.");
150
- return h;
151
- }
152
- function S(a, b, e) {
153
- if (null == a) return a;
154
- var d = [], c = 0;
155
- R(a, d, "", "", function(a2) {
156
- return b.call(e, a2, c++);
157
- });
158
- return d;
159
- }
160
- function T(a) {
161
- if (-1 === a._status) {
162
- var b = a._result;
163
- b = b();
164
- b.then(function(b2) {
165
- if (0 === a._status || -1 === a._status) a._status = 1, a._result = b2;
166
- }, function(b2) {
167
- if (0 === a._status || -1 === a._status) a._status = 2, a._result = b2;
168
- });
169
- -1 === a._status && (a._status = 0, a._result = b);
170
- }
171
- if (1 === a._status) return a._result.default;
172
- throw a._result;
173
- }
174
- var U = { current: null };
175
- var V = { transition: null };
176
- var W = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K };
177
- function X() {
178
- throw Error("act(...) is not supported in production builds of React.");
179
- }
180
- exports2.Children = { map: S, forEach: function(a, b, e) {
181
- S(a, function() {
182
- b.apply(this, arguments);
183
- }, e);
184
- }, count: function(a) {
185
- var b = 0;
186
- S(a, function() {
187
- b++;
188
- });
189
- return b;
190
- }, toArray: function(a) {
191
- return S(a, function(a2) {
192
- return a2;
193
- }) || [];
194
- }, only: function(a) {
195
- if (!O(a)) throw Error("React.Children.only expected to receive a single React element child.");
196
- return a;
197
- } };
198
- exports2.Component = E;
199
- exports2.Fragment = p;
200
- exports2.Profiler = r;
201
- exports2.PureComponent = G;
202
- exports2.StrictMode = q;
203
- exports2.Suspense = w;
204
- exports2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W;
205
- exports2.act = X;
206
- exports2.cloneElement = function(a, b, e) {
207
- if (null === a || void 0 === a) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
208
- var d = C({}, a.props), c = a.key, k = a.ref, h = a._owner;
209
- if (null != b) {
210
- void 0 !== b.ref && (k = b.ref, h = K.current);
211
- void 0 !== b.key && (c = "" + b.key);
212
- if (a.type && a.type.defaultProps) var g = a.type.defaultProps;
213
- for (f in b) J.call(b, f) && !L.hasOwnProperty(f) && (d[f] = void 0 === b[f] && void 0 !== g ? g[f] : b[f]);
214
- }
215
- var f = arguments.length - 2;
216
- if (1 === f) d.children = e;
217
- else if (1 < f) {
218
- g = Array(f);
219
- for (var m = 0; m < f; m++) g[m] = arguments[m + 2];
220
- d.children = g;
221
- }
222
- return { $$typeof: l, type: a.type, key: c, ref: k, props: d, _owner: h };
223
- };
224
- exports2.createContext = function(a) {
225
- a = { $$typeof: u, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null };
226
- a.Provider = { $$typeof: t, _context: a };
227
- return a.Consumer = a;
228
- };
229
- exports2.createElement = M;
230
- exports2.createFactory = function(a) {
231
- var b = M.bind(null, a);
232
- b.type = a;
233
- return b;
234
- };
235
- exports2.createRef = function() {
236
- return { current: null };
237
- };
238
- exports2.forwardRef = function(a) {
239
- return { $$typeof: v, render: a };
240
- };
241
- exports2.isValidElement = O;
242
- exports2.lazy = function(a) {
243
- return { $$typeof: y, _payload: { _status: -1, _result: a }, _init: T };
244
- };
245
- exports2.memo = function(a, b) {
246
- return { $$typeof: x, type: a, compare: void 0 === b ? null : b };
247
- };
248
- exports2.startTransition = function(a) {
249
- var b = V.transition;
250
- V.transition = {};
251
- try {
252
- a();
253
- } finally {
254
- V.transition = b;
255
- }
256
- };
257
- exports2.unstable_act = X;
258
- exports2.useCallback = function(a, b) {
259
- return U.current.useCallback(a, b);
260
- };
261
- exports2.useContext = function(a) {
262
- return U.current.useContext(a);
263
- };
264
- exports2.useDebugValue = function() {
265
- };
266
- exports2.useDeferredValue = function(a) {
267
- return U.current.useDeferredValue(a);
268
- };
269
- exports2.useEffect = function(a, b) {
270
- return U.current.useEffect(a, b);
271
- };
272
- exports2.useId = function() {
273
- return U.current.useId();
274
- };
275
- exports2.useImperativeHandle = function(a, b, e) {
276
- return U.current.useImperativeHandle(a, b, e);
277
- };
278
- exports2.useInsertionEffect = function(a, b) {
279
- return U.current.useInsertionEffect(a, b);
280
- };
281
- exports2.useLayoutEffect = function(a, b) {
282
- return U.current.useLayoutEffect(a, b);
283
- };
284
- exports2.useMemo = function(a, b) {
285
- return U.current.useMemo(a, b);
286
- };
287
- exports2.useReducer = function(a, b, e) {
288
- return U.current.useReducer(a, b, e);
289
- };
290
- exports2.useRef = function(a) {
291
- return U.current.useRef(a);
292
- };
293
- exports2.useState = function(a) {
294
- return U.current.useState(a);
295
- };
296
- exports2.useSyncExternalStore = function(a, b, e) {
297
- return U.current.useSyncExternalStore(a, b, e);
298
- };
299
- exports2.useTransition = function() {
300
- return U.current.useTransition();
301
- };
302
- exports2.version = "18.3.1";
303
- }
304
- });
305
-
306
- // ../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js
307
- var require_react_development = __commonJS({
308
- "../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.development.js"(exports2, module2) {
309
- "use strict";
310
- if (process.env.NODE_ENV !== "production") {
311
- (function() {
312
- "use strict";
313
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
314
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
315
- }
316
- var ReactVersion = "18.3.1";
317
- var REACT_ELEMENT_TYPE = Symbol.for("react.element");
318
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
319
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
320
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
321
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
322
- var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
323
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
324
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
325
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
326
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
327
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
328
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
329
- var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
330
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
331
- var FAUX_ITERATOR_SYMBOL = "@@iterator";
332
- function getIteratorFn(maybeIterable) {
333
- if (maybeIterable === null || typeof maybeIterable !== "object") {
334
- return null;
335
- }
336
- var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
337
- if (typeof maybeIterator === "function") {
338
- return maybeIterator;
339
- }
340
- return null;
341
- }
342
- var ReactCurrentDispatcher = {
343
- /**
344
- * @internal
345
- * @type {ReactComponent}
346
- */
347
- current: null
348
- };
349
- var ReactCurrentBatchConfig = {
350
- transition: null
351
- };
352
- var ReactCurrentActQueue = {
353
- current: null,
354
- // Used to reproduce behavior of `batchedUpdates` in legacy mode.
355
- isBatchingLegacy: false,
356
- didScheduleLegacyUpdate: false
357
- };
358
- var ReactCurrentOwner = {
359
- /**
360
- * @internal
361
- * @type {ReactComponent}
362
- */
363
- current: null
364
- };
365
- var ReactDebugCurrentFrame = {};
366
- var currentExtraStackFrame = null;
367
- function setExtraStackFrame(stack) {
368
- {
369
- currentExtraStackFrame = stack;
370
- }
371
- }
372
- {
373
- ReactDebugCurrentFrame.setExtraStackFrame = function(stack) {
374
- {
375
- currentExtraStackFrame = stack;
376
- }
377
- };
378
- ReactDebugCurrentFrame.getCurrentStack = null;
379
- ReactDebugCurrentFrame.getStackAddendum = function() {
380
- var stack = "";
381
- if (currentExtraStackFrame) {
382
- stack += currentExtraStackFrame;
383
- }
384
- var impl = ReactDebugCurrentFrame.getCurrentStack;
385
- if (impl) {
386
- stack += impl() || "";
387
- }
388
- return stack;
389
- };
390
- }
391
- var enableScopeAPI = false;
392
- var enableCacheElement = false;
393
- var enableTransitionTracing = false;
394
- var enableLegacyHidden = false;
395
- var enableDebugTracing = false;
396
- var ReactSharedInternals = {
397
- ReactCurrentDispatcher,
398
- ReactCurrentBatchConfig,
399
- ReactCurrentOwner
400
- };
401
- {
402
- ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
403
- ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
404
- }
405
- function warn(format) {
406
- {
407
- {
408
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
409
- args[_key - 1] = arguments[_key];
410
- }
411
- printWarning("warn", format, args);
412
- }
413
- }
414
- }
415
- function error(format) {
416
- {
417
- {
418
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
419
- args[_key2 - 1] = arguments[_key2];
420
- }
421
- printWarning("error", format, args);
422
- }
423
- }
424
- }
425
- function printWarning(level, format, args) {
426
- {
427
- var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
428
- var stack = ReactDebugCurrentFrame2.getStackAddendum();
429
- if (stack !== "") {
430
- format += "%s";
431
- args = args.concat([stack]);
432
- }
433
- var argsWithFormat = args.map(function(item) {
434
- return String(item);
435
- });
436
- argsWithFormat.unshift("Warning: " + format);
437
- Function.prototype.apply.call(console[level], console, argsWithFormat);
438
- }
439
- }
440
- var didWarnStateUpdateForUnmountedComponent = {};
441
- function warnNoop(publicInstance, callerName) {
442
- {
443
- var _constructor = publicInstance.constructor;
444
- var componentName = _constructor && (_constructor.displayName || _constructor.name) || "ReactClass";
445
- var warningKey = componentName + "." + callerName;
446
- if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
447
- return;
448
- }
449
- error("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.", callerName, componentName);
450
- didWarnStateUpdateForUnmountedComponent[warningKey] = true;
451
- }
452
- }
453
- var ReactNoopUpdateQueue = {
454
- /**
455
- * Checks whether or not this composite component is mounted.
456
- * @param {ReactClass} publicInstance The instance we want to test.
457
- * @return {boolean} True if mounted, false otherwise.
458
- * @protected
459
- * @final
460
- */
461
- isMounted: function(publicInstance) {
462
- return false;
463
- },
464
- /**
465
- * Forces an update. This should only be invoked when it is known with
466
- * certainty that we are **not** in a DOM transaction.
467
- *
468
- * You may want to call this when you know that some deeper aspect of the
469
- * component's state has changed but `setState` was not called.
470
- *
471
- * This will not invoke `shouldComponentUpdate`, but it will invoke
472
- * `componentWillUpdate` and `componentDidUpdate`.
473
- *
474
- * @param {ReactClass} publicInstance The instance that should rerender.
475
- * @param {?function} callback Called after component is updated.
476
- * @param {?string} callerName name of the calling function in the public API.
477
- * @internal
478
- */
479
- enqueueForceUpdate: function(publicInstance, callback, callerName) {
480
- warnNoop(publicInstance, "forceUpdate");
481
- },
482
- /**
483
- * Replaces all of the state. Always use this or `setState` to mutate state.
484
- * You should treat `this.state` as immutable.
485
- *
486
- * There is no guarantee that `this.state` will be immediately updated, so
487
- * accessing `this.state` after calling this method may return the old value.
488
- *
489
- * @param {ReactClass} publicInstance The instance that should rerender.
490
- * @param {object} completeState Next state.
491
- * @param {?function} callback Called after component is updated.
492
- * @param {?string} callerName name of the calling function in the public API.
493
- * @internal
494
- */
495
- enqueueReplaceState: function(publicInstance, completeState, callback, callerName) {
496
- warnNoop(publicInstance, "replaceState");
497
- },
498
- /**
499
- * Sets a subset of the state. This only exists because _pendingState is
500
- * internal. This provides a merging strategy that is not available to deep
501
- * properties which is confusing. TODO: Expose pendingState or don't use it
502
- * during the merge.
503
- *
504
- * @param {ReactClass} publicInstance The instance that should rerender.
505
- * @param {object} partialState Next partial state to be merged with state.
506
- * @param {?function} callback Called after component is updated.
507
- * @param {?string} Name of the calling function in the public API.
508
- * @internal
509
- */
510
- enqueueSetState: function(publicInstance, partialState, callback, callerName) {
511
- warnNoop(publicInstance, "setState");
512
- }
513
- };
514
- var assign = Object.assign;
515
- var emptyObject = {};
516
- {
517
- Object.freeze(emptyObject);
518
- }
519
- function Component(props, context, updater) {
520
- this.props = props;
521
- this.context = context;
522
- this.refs = emptyObject;
523
- this.updater = updater || ReactNoopUpdateQueue;
524
- }
525
- Component.prototype.isReactComponent = {};
526
- Component.prototype.setState = function(partialState, callback) {
527
- if (typeof partialState !== "object" && typeof partialState !== "function" && partialState != null) {
528
- throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
529
- }
530
- this.updater.enqueueSetState(this, partialState, callback, "setState");
531
- };
532
- Component.prototype.forceUpdate = function(callback) {
533
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
534
- };
535
- {
536
- var deprecatedAPIs = {
537
- isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
538
- replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
539
- };
540
- var defineDeprecationWarning = function(methodName, info) {
541
- Object.defineProperty(Component.prototype, methodName, {
542
- get: function() {
543
- warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]);
544
- return void 0;
545
- }
546
- });
547
- };
548
- for (var fnName in deprecatedAPIs) {
549
- if (deprecatedAPIs.hasOwnProperty(fnName)) {
550
- defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
551
- }
552
- }
553
- }
554
- function ComponentDummy() {
555
- }
556
- ComponentDummy.prototype = Component.prototype;
557
- function PureComponent(props, context, updater) {
558
- this.props = props;
559
- this.context = context;
560
- this.refs = emptyObject;
561
- this.updater = updater || ReactNoopUpdateQueue;
562
- }
563
- var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
564
- pureComponentPrototype.constructor = PureComponent;
565
- assign(pureComponentPrototype, Component.prototype);
566
- pureComponentPrototype.isPureReactComponent = true;
567
- function createRef() {
568
- var refObject = {
569
- current: null
570
- };
571
- {
572
- Object.seal(refObject);
573
- }
574
- return refObject;
575
- }
576
- var isArrayImpl = Array.isArray;
577
- function isArray(a) {
578
- return isArrayImpl(a);
579
- }
580
- function typeName(value) {
581
- {
582
- var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
583
- var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
584
- return type;
585
- }
586
- }
587
- function willCoercionThrow(value) {
588
- {
589
- try {
590
- testStringCoercion(value);
591
- return false;
592
- } catch (e) {
593
- return true;
594
- }
595
- }
596
- }
597
- function testStringCoercion(value) {
598
- return "" + value;
599
- }
600
- function checkKeyStringCoercion(value) {
601
- {
602
- if (willCoercionThrow(value)) {
603
- error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
604
- return testStringCoercion(value);
605
- }
606
- }
607
- }
608
- function getWrappedName(outerType, innerType, wrapperName) {
609
- var displayName = outerType.displayName;
610
- if (displayName) {
611
- return displayName;
612
- }
613
- var functionName = innerType.displayName || innerType.name || "";
614
- return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
615
- }
616
- function getContextName(type) {
617
- return type.displayName || "Context";
618
- }
619
- function getComponentNameFromType(type) {
620
- if (type == null) {
621
- return null;
622
- }
623
- {
624
- if (typeof type.tag === "number") {
625
- error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
626
- }
627
- }
628
- if (typeof type === "function") {
629
- return type.displayName || type.name || null;
630
- }
631
- if (typeof type === "string") {
632
- return type;
633
- }
634
- switch (type) {
635
- case REACT_FRAGMENT_TYPE:
636
- return "Fragment";
637
- case REACT_PORTAL_TYPE:
638
- return "Portal";
639
- case REACT_PROFILER_TYPE:
640
- return "Profiler";
641
- case REACT_STRICT_MODE_TYPE:
642
- return "StrictMode";
643
- case REACT_SUSPENSE_TYPE:
644
- return "Suspense";
645
- case REACT_SUSPENSE_LIST_TYPE:
646
- return "SuspenseList";
647
- }
648
- if (typeof type === "object") {
649
- switch (type.$$typeof) {
650
- case REACT_CONTEXT_TYPE:
651
- var context = type;
652
- return getContextName(context) + ".Consumer";
653
- case REACT_PROVIDER_TYPE:
654
- var provider = type;
655
- return getContextName(provider._context) + ".Provider";
656
- case REACT_FORWARD_REF_TYPE:
657
- return getWrappedName(type, type.render, "ForwardRef");
658
- case REACT_MEMO_TYPE:
659
- var outerName = type.displayName || null;
660
- if (outerName !== null) {
661
- return outerName;
662
- }
663
- return getComponentNameFromType(type.type) || "Memo";
664
- case REACT_LAZY_TYPE: {
665
- var lazyComponent = type;
666
- var payload = lazyComponent._payload;
667
- var init = lazyComponent._init;
668
- try {
669
- return getComponentNameFromType(init(payload));
670
- } catch (x) {
671
- return null;
672
- }
673
- }
674
- }
675
- }
676
- return null;
677
- }
678
- var hasOwnProperty = Object.prototype.hasOwnProperty;
679
- var RESERVED_PROPS = {
680
- key: true,
681
- ref: true,
682
- __self: true,
683
- __source: true
684
- };
685
- var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;
686
- {
687
- didWarnAboutStringRefs = {};
688
- }
689
- function hasValidRef(config) {
690
- {
691
- if (hasOwnProperty.call(config, "ref")) {
692
- var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
693
- if (getter && getter.isReactWarning) {
694
- return false;
695
- }
696
- }
697
- }
698
- return config.ref !== void 0;
699
- }
700
- function hasValidKey(config) {
701
- {
702
- if (hasOwnProperty.call(config, "key")) {
703
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
704
- if (getter && getter.isReactWarning) {
705
- return false;
706
- }
707
- }
708
- }
709
- return config.key !== void 0;
710
- }
711
- function defineKeyPropWarningGetter(props, displayName) {
712
- var warnAboutAccessingKey = function() {
713
- {
714
- if (!specialPropKeyWarningShown) {
715
- specialPropKeyWarningShown = true;
716
- error("%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)", displayName);
717
- }
718
- }
719
- };
720
- warnAboutAccessingKey.isReactWarning = true;
721
- Object.defineProperty(props, "key", {
722
- get: warnAboutAccessingKey,
723
- configurable: true
724
- });
725
- }
726
- function defineRefPropWarningGetter(props, displayName) {
727
- var warnAboutAccessingRef = function() {
728
- {
729
- if (!specialPropRefWarningShown) {
730
- specialPropRefWarningShown = true;
731
- error("%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)", displayName);
732
- }
733
- }
734
- };
735
- warnAboutAccessingRef.isReactWarning = true;
736
- Object.defineProperty(props, "ref", {
737
- get: warnAboutAccessingRef,
738
- configurable: true
739
- });
740
- }
741
- function warnIfStringRefCannotBeAutoConverted(config) {
742
- {
743
- if (typeof config.ref === "string" && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {
744
- var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
745
- if (!didWarnAboutStringRefs[componentName]) {
746
- error('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', componentName, config.ref);
747
- didWarnAboutStringRefs[componentName] = true;
748
- }
749
- }
750
- }
751
- }
752
- var ReactElement = function(type, key, ref, self, source, owner, props) {
753
- var element = {
754
- // This tag allows us to uniquely identify this as a React Element
755
- $$typeof: REACT_ELEMENT_TYPE,
756
- // Built-in properties that belong on the element
757
- type,
758
- key,
759
- ref,
760
- props,
761
- // Record the component responsible for creating this element.
762
- _owner: owner
763
- };
764
- {
765
- element._store = {};
766
- Object.defineProperty(element._store, "validated", {
767
- configurable: false,
768
- enumerable: false,
769
- writable: true,
770
- value: false
771
- });
772
- Object.defineProperty(element, "_self", {
773
- configurable: false,
774
- enumerable: false,
775
- writable: false,
776
- value: self
777
- });
778
- Object.defineProperty(element, "_source", {
779
- configurable: false,
780
- enumerable: false,
781
- writable: false,
782
- value: source
783
- });
784
- if (Object.freeze) {
785
- Object.freeze(element.props);
786
- Object.freeze(element);
787
- }
788
- }
789
- return element;
790
- };
791
- function createElement(type, config, children) {
792
- var propName;
793
- var props = {};
794
- var key = null;
795
- var ref = null;
796
- var self = null;
797
- var source = null;
798
- if (config != null) {
799
- if (hasValidRef(config)) {
800
- ref = config.ref;
801
- {
802
- warnIfStringRefCannotBeAutoConverted(config);
803
- }
804
- }
805
- if (hasValidKey(config)) {
806
- {
807
- checkKeyStringCoercion(config.key);
808
- }
809
- key = "" + config.key;
810
- }
811
- self = config.__self === void 0 ? null : config.__self;
812
- source = config.__source === void 0 ? null : config.__source;
813
- for (propName in config) {
814
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
815
- props[propName] = config[propName];
816
- }
817
- }
818
- }
819
- var childrenLength = arguments.length - 2;
820
- if (childrenLength === 1) {
821
- props.children = children;
822
- } else if (childrenLength > 1) {
823
- var childArray = Array(childrenLength);
824
- for (var i = 0; i < childrenLength; i++) {
825
- childArray[i] = arguments[i + 2];
826
- }
827
- {
828
- if (Object.freeze) {
829
- Object.freeze(childArray);
830
- }
831
- }
832
- props.children = childArray;
833
- }
834
- if (type && type.defaultProps) {
835
- var defaultProps = type.defaultProps;
836
- for (propName in defaultProps) {
837
- if (props[propName] === void 0) {
838
- props[propName] = defaultProps[propName];
839
- }
840
- }
841
- }
842
- {
843
- if (key || ref) {
844
- var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
845
- if (key) {
846
- defineKeyPropWarningGetter(props, displayName);
847
- }
848
- if (ref) {
849
- defineRefPropWarningGetter(props, displayName);
850
- }
851
- }
852
- }
853
- return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
854
- }
855
- function cloneAndReplaceKey(oldElement, newKey) {
856
- var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
857
- return newElement;
858
- }
859
- function cloneElement(element, config, children) {
860
- if (element === null || element === void 0) {
861
- throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
862
- }
863
- var propName;
864
- var props = assign({}, element.props);
865
- var key = element.key;
866
- var ref = element.ref;
867
- var self = element._self;
868
- var source = element._source;
869
- var owner = element._owner;
870
- if (config != null) {
871
- if (hasValidRef(config)) {
872
- ref = config.ref;
873
- owner = ReactCurrentOwner.current;
874
- }
875
- if (hasValidKey(config)) {
876
- {
877
- checkKeyStringCoercion(config.key);
878
- }
879
- key = "" + config.key;
880
- }
881
- var defaultProps;
882
- if (element.type && element.type.defaultProps) {
883
- defaultProps = element.type.defaultProps;
884
- }
885
- for (propName in config) {
886
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
887
- if (config[propName] === void 0 && defaultProps !== void 0) {
888
- props[propName] = defaultProps[propName];
889
- } else {
890
- props[propName] = config[propName];
891
- }
892
- }
893
- }
894
- }
895
- var childrenLength = arguments.length - 2;
896
- if (childrenLength === 1) {
897
- props.children = children;
898
- } else if (childrenLength > 1) {
899
- var childArray = Array(childrenLength);
900
- for (var i = 0; i < childrenLength; i++) {
901
- childArray[i] = arguments[i + 2];
902
- }
903
- props.children = childArray;
904
- }
905
- return ReactElement(element.type, key, ref, self, source, owner, props);
906
- }
907
- function isValidElement(object) {
908
- return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
909
- }
910
- var SEPARATOR = ".";
911
- var SUBSEPARATOR = ":";
912
- function escape(key) {
913
- var escapeRegex = /[=:]/g;
914
- var escaperLookup = {
915
- "=": "=0",
916
- ":": "=2"
917
- };
918
- var escapedString = key.replace(escapeRegex, function(match) {
919
- return escaperLookup[match];
920
- });
921
- return "$" + escapedString;
922
- }
923
- var didWarnAboutMaps = false;
924
- var userProvidedKeyEscapeRegex = /\/+/g;
925
- function escapeUserProvidedKey(text) {
926
- return text.replace(userProvidedKeyEscapeRegex, "$&/");
927
- }
928
- function getElementKey(element, index) {
929
- if (typeof element === "object" && element !== null && element.key != null) {
930
- {
931
- checkKeyStringCoercion(element.key);
932
- }
933
- return escape("" + element.key);
934
- }
935
- return index.toString(36);
936
- }
937
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
938
- var type = typeof children;
939
- if (type === "undefined" || type === "boolean") {
940
- children = null;
941
- }
942
- var invokeCallback = false;
943
- if (children === null) {
944
- invokeCallback = true;
945
- } else {
946
- switch (type) {
947
- case "string":
948
- case "number":
949
- invokeCallback = true;
950
- break;
951
- case "object":
952
- switch (children.$$typeof) {
953
- case REACT_ELEMENT_TYPE:
954
- case REACT_PORTAL_TYPE:
955
- invokeCallback = true;
956
- }
957
- }
958
- }
959
- if (invokeCallback) {
960
- var _child = children;
961
- var mappedChild = callback(_child);
962
- var childKey = nameSoFar === "" ? SEPARATOR + getElementKey(_child, 0) : nameSoFar;
963
- if (isArray(mappedChild)) {
964
- var escapedChildKey = "";
965
- if (childKey != null) {
966
- escapedChildKey = escapeUserProvidedKey(childKey) + "/";
967
- }
968
- mapIntoArray(mappedChild, array, escapedChildKey, "", function(c) {
969
- return c;
970
- });
971
- } else if (mappedChild != null) {
972
- if (isValidElement(mappedChild)) {
973
- {
974
- if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) {
975
- checkKeyStringCoercion(mappedChild.key);
976
- }
977
- }
978
- mappedChild = cloneAndReplaceKey(
979
- mappedChild,
980
- // Keep both the (mapped) and old keys if they differ, just as
981
- // traverseAllChildren used to do for objects as children
982
- escapedPrefix + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
983
- (mappedChild.key && (!_child || _child.key !== mappedChild.key) ? (
984
- // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
985
- // eslint-disable-next-line react-internal/safe-string-coercion
986
- escapeUserProvidedKey("" + mappedChild.key) + "/"
987
- ) : "") + childKey
988
- );
989
- }
990
- array.push(mappedChild);
991
- }
992
- return 1;
993
- }
994
- var child;
995
- var nextName;
996
- var subtreeCount = 0;
997
- var nextNamePrefix = nameSoFar === "" ? SEPARATOR : nameSoFar + SUBSEPARATOR;
998
- if (isArray(children)) {
999
- for (var i = 0; i < children.length; i++) {
1000
- child = children[i];
1001
- nextName = nextNamePrefix + getElementKey(child, i);
1002
- subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
1003
- }
1004
- } else {
1005
- var iteratorFn = getIteratorFn(children);
1006
- if (typeof iteratorFn === "function") {
1007
- var iterableChildren = children;
1008
- {
1009
- if (iteratorFn === iterableChildren.entries) {
1010
- if (!didWarnAboutMaps) {
1011
- warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");
1012
- }
1013
- didWarnAboutMaps = true;
1014
- }
1015
- }
1016
- var iterator = iteratorFn.call(iterableChildren);
1017
- var step;
1018
- var ii = 0;
1019
- while (!(step = iterator.next()).done) {
1020
- child = step.value;
1021
- nextName = nextNamePrefix + getElementKey(child, ii++);
1022
- subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
1023
- }
1024
- } else if (type === "object") {
1025
- var childrenString = String(children);
1026
- throw new Error("Objects are not valid as a React child (found: " + (childrenString === "[object Object]" ? "object with keys {" + Object.keys(children).join(", ") + "}" : childrenString) + "). If you meant to render a collection of children, use an array instead.");
1027
- }
1028
- }
1029
- return subtreeCount;
1030
- }
1031
- function mapChildren(children, func, context) {
1032
- if (children == null) {
1033
- return children;
1034
- }
1035
- var result = [];
1036
- var count = 0;
1037
- mapIntoArray(children, result, "", "", function(child) {
1038
- return func.call(context, child, count++);
1039
- });
1040
- return result;
1041
- }
1042
- function countChildren(children) {
1043
- var n = 0;
1044
- mapChildren(children, function() {
1045
- n++;
1046
- });
1047
- return n;
1048
- }
1049
- function forEachChildren(children, forEachFunc, forEachContext) {
1050
- mapChildren(children, function() {
1051
- forEachFunc.apply(this, arguments);
1052
- }, forEachContext);
1053
- }
1054
- function toArray(children) {
1055
- return mapChildren(children, function(child) {
1056
- return child;
1057
- }) || [];
1058
- }
1059
- function onlyChild(children) {
1060
- if (!isValidElement(children)) {
1061
- throw new Error("React.Children.only expected to receive a single React element child.");
1062
- }
1063
- return children;
1064
- }
1065
- function createContext(defaultValue) {
1066
- var context = {
1067
- $$typeof: REACT_CONTEXT_TYPE,
1068
- // As a workaround to support multiple concurrent renderers, we categorize
1069
- // some renderers as primary and others as secondary. We only expect
1070
- // there to be two concurrent renderers at most: React Native (primary) and
1071
- // Fabric (secondary); React DOM (primary) and React ART (secondary).
1072
- // Secondary renderers store their context values on separate fields.
1073
- _currentValue: defaultValue,
1074
- _currentValue2: defaultValue,
1075
- // Used to track how many concurrent renderers this context currently
1076
- // supports within in a single renderer. Such as parallel server rendering.
1077
- _threadCount: 0,
1078
- // These are circular
1079
- Provider: null,
1080
- Consumer: null,
1081
- // Add these to use same hidden class in VM as ServerContext
1082
- _defaultValue: null,
1083
- _globalName: null
1084
- };
1085
- context.Provider = {
1086
- $$typeof: REACT_PROVIDER_TYPE,
1087
- _context: context
1088
- };
1089
- var hasWarnedAboutUsingNestedContextConsumers = false;
1090
- var hasWarnedAboutUsingConsumerProvider = false;
1091
- var hasWarnedAboutDisplayNameOnConsumer = false;
1092
- {
1093
- var Consumer = {
1094
- $$typeof: REACT_CONTEXT_TYPE,
1095
- _context: context
1096
- };
1097
- Object.defineProperties(Consumer, {
1098
- Provider: {
1099
- get: function() {
1100
- if (!hasWarnedAboutUsingConsumerProvider) {
1101
- hasWarnedAboutUsingConsumerProvider = true;
1102
- error("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?");
1103
- }
1104
- return context.Provider;
1105
- },
1106
- set: function(_Provider) {
1107
- context.Provider = _Provider;
1108
- }
1109
- },
1110
- _currentValue: {
1111
- get: function() {
1112
- return context._currentValue;
1113
- },
1114
- set: function(_currentValue) {
1115
- context._currentValue = _currentValue;
1116
- }
1117
- },
1118
- _currentValue2: {
1119
- get: function() {
1120
- return context._currentValue2;
1121
- },
1122
- set: function(_currentValue2) {
1123
- context._currentValue2 = _currentValue2;
1124
- }
1125
- },
1126
- _threadCount: {
1127
- get: function() {
1128
- return context._threadCount;
1129
- },
1130
- set: function(_threadCount) {
1131
- context._threadCount = _threadCount;
1132
- }
1133
- },
1134
- Consumer: {
1135
- get: function() {
1136
- if (!hasWarnedAboutUsingNestedContextConsumers) {
1137
- hasWarnedAboutUsingNestedContextConsumers = true;
1138
- error("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?");
1139
- }
1140
- return context.Consumer;
1141
- }
1142
- },
1143
- displayName: {
1144
- get: function() {
1145
- return context.displayName;
1146
- },
1147
- set: function(displayName) {
1148
- if (!hasWarnedAboutDisplayNameOnConsumer) {
1149
- warn("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", displayName);
1150
- hasWarnedAboutDisplayNameOnConsumer = true;
1151
- }
1152
- }
1153
- }
1154
- });
1155
- context.Consumer = Consumer;
1156
- }
1157
- {
1158
- context._currentRenderer = null;
1159
- context._currentRenderer2 = null;
1160
- }
1161
- return context;
1162
- }
1163
- var Uninitialized = -1;
1164
- var Pending = 0;
1165
- var Resolved = 1;
1166
- var Rejected = 2;
1167
- function lazyInitializer(payload) {
1168
- if (payload._status === Uninitialized) {
1169
- var ctor = payload._result;
1170
- var thenable = ctor();
1171
- thenable.then(function(moduleObject2) {
1172
- if (payload._status === Pending || payload._status === Uninitialized) {
1173
- var resolved = payload;
1174
- resolved._status = Resolved;
1175
- resolved._result = moduleObject2;
1176
- }
1177
- }, function(error2) {
1178
- if (payload._status === Pending || payload._status === Uninitialized) {
1179
- var rejected = payload;
1180
- rejected._status = Rejected;
1181
- rejected._result = error2;
1182
- }
1183
- });
1184
- if (payload._status === Uninitialized) {
1185
- var pending = payload;
1186
- pending._status = Pending;
1187
- pending._result = thenable;
1188
- }
1189
- }
1190
- if (payload._status === Resolved) {
1191
- var moduleObject = payload._result;
1192
- {
1193
- if (moduleObject === void 0) {
1194
- error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?", moduleObject);
1195
- }
1196
- }
1197
- {
1198
- if (!("default" in moduleObject)) {
1199
- error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))", moduleObject);
1200
- }
1201
- }
1202
- return moduleObject.default;
1203
- } else {
1204
- throw payload._result;
1205
- }
1206
- }
1207
- function lazy(ctor) {
1208
- var payload = {
1209
- // We use these fields to store the result.
1210
- _status: Uninitialized,
1211
- _result: ctor
1212
- };
1213
- var lazyType = {
1214
- $$typeof: REACT_LAZY_TYPE,
1215
- _payload: payload,
1216
- _init: lazyInitializer
1217
- };
1218
- {
1219
- var defaultProps;
1220
- var propTypes;
1221
- Object.defineProperties(lazyType, {
1222
- defaultProps: {
1223
- configurable: true,
1224
- get: function() {
1225
- return defaultProps;
1226
- },
1227
- set: function(newDefaultProps) {
1228
- error("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.");
1229
- defaultProps = newDefaultProps;
1230
- Object.defineProperty(lazyType, "defaultProps", {
1231
- enumerable: true
1232
- });
1233
- }
1234
- },
1235
- propTypes: {
1236
- configurable: true,
1237
- get: function() {
1238
- return propTypes;
1239
- },
1240
- set: function(newPropTypes) {
1241
- error("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.");
1242
- propTypes = newPropTypes;
1243
- Object.defineProperty(lazyType, "propTypes", {
1244
- enumerable: true
1245
- });
1246
- }
1247
- }
1248
- });
1249
- }
1250
- return lazyType;
1251
- }
1252
- function forwardRef(render) {
1253
- {
1254
- if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
1255
- error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).");
1256
- } else if (typeof render !== "function") {
1257
- error("forwardRef requires a render function but was given %s.", render === null ? "null" : typeof render);
1258
- } else {
1259
- if (render.length !== 0 && render.length !== 2) {
1260
- error("forwardRef render functions accept exactly two parameters: props and ref. %s", render.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.");
1261
- }
1262
- }
1263
- if (render != null) {
1264
- if (render.defaultProps != null || render.propTypes != null) {
1265
- error("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
1266
- }
1267
- }
1268
- }
1269
- var elementType = {
1270
- $$typeof: REACT_FORWARD_REF_TYPE,
1271
- render
1272
- };
1273
- {
1274
- var ownName;
1275
- Object.defineProperty(elementType, "displayName", {
1276
- enumerable: false,
1277
- configurable: true,
1278
- get: function() {
1279
- return ownName;
1280
- },
1281
- set: function(name) {
1282
- ownName = name;
1283
- if (!render.name && !render.displayName) {
1284
- render.displayName = name;
1285
- }
1286
- }
1287
- });
1288
- }
1289
- return elementType;
1290
- }
1291
- var REACT_MODULE_REFERENCE;
1292
- {
1293
- REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
1294
- }
1295
- function isValidElementType(type) {
1296
- if (typeof type === "string" || typeof type === "function") {
1297
- return true;
1298
- }
1299
- if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
1300
- return true;
1301
- }
1302
- if (typeof type === "object" && type !== null) {
1303
- if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
1304
- // types supported by any Flight configuration anywhere since
1305
- // we don't know which Flight build this will end up being used
1306
- // with.
1307
- type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
1308
- return true;
1309
- }
1310
- }
1311
- return false;
1312
- }
1313
- function memo(type, compare) {
1314
- {
1315
- if (!isValidElementType(type)) {
1316
- error("memo: The first argument must be a component. Instead received: %s", type === null ? "null" : typeof type);
1317
- }
1318
- }
1319
- var elementType = {
1320
- $$typeof: REACT_MEMO_TYPE,
1321
- type,
1322
- compare: compare === void 0 ? null : compare
1323
- };
1324
- {
1325
- var ownName;
1326
- Object.defineProperty(elementType, "displayName", {
1327
- enumerable: false,
1328
- configurable: true,
1329
- get: function() {
1330
- return ownName;
1331
- },
1332
- set: function(name) {
1333
- ownName = name;
1334
- if (!type.name && !type.displayName) {
1335
- type.displayName = name;
1336
- }
1337
- }
1338
- });
1339
- }
1340
- return elementType;
1341
- }
1342
- function resolveDispatcher() {
1343
- var dispatcher = ReactCurrentDispatcher.current;
1344
- {
1345
- if (dispatcher === null) {
1346
- error("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:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");
1347
- }
1348
- }
1349
- return dispatcher;
1350
- }
1351
- function useContext(Context) {
1352
- var dispatcher = resolveDispatcher();
1353
- {
1354
- if (Context._context !== void 0) {
1355
- var realContext = Context._context;
1356
- if (realContext.Consumer === Context) {
1357
- error("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?");
1358
- } else if (realContext.Provider === Context) {
1359
- error("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
1360
- }
1361
- }
1362
- }
1363
- return dispatcher.useContext(Context);
1364
- }
1365
- function useState(initialState) {
1366
- var dispatcher = resolveDispatcher();
1367
- return dispatcher.useState(initialState);
1368
- }
1369
- function useReducer(reducer, initialArg, init) {
1370
- var dispatcher = resolveDispatcher();
1371
- return dispatcher.useReducer(reducer, initialArg, init);
1372
- }
1373
- function useRef(initialValue) {
1374
- var dispatcher = resolveDispatcher();
1375
- return dispatcher.useRef(initialValue);
1376
- }
1377
- function useEffect(create, deps) {
1378
- var dispatcher = resolveDispatcher();
1379
- return dispatcher.useEffect(create, deps);
1380
- }
1381
- function useInsertionEffect(create, deps) {
1382
- var dispatcher = resolveDispatcher();
1383
- return dispatcher.useInsertionEffect(create, deps);
1384
- }
1385
- function useLayoutEffect(create, deps) {
1386
- var dispatcher = resolveDispatcher();
1387
- return dispatcher.useLayoutEffect(create, deps);
1388
- }
1389
- function useCallback(callback, deps) {
1390
- var dispatcher = resolveDispatcher();
1391
- return dispatcher.useCallback(callback, deps);
1392
- }
1393
- function useMemo(create, deps) {
1394
- var dispatcher = resolveDispatcher();
1395
- return dispatcher.useMemo(create, deps);
1396
- }
1397
- function useImperativeHandle(ref, create, deps) {
1398
- var dispatcher = resolveDispatcher();
1399
- return dispatcher.useImperativeHandle(ref, create, deps);
1400
- }
1401
- function useDebugValue(value, formatterFn) {
1402
- {
1403
- var dispatcher = resolveDispatcher();
1404
- return dispatcher.useDebugValue(value, formatterFn);
1405
- }
1406
- }
1407
- function useTransition() {
1408
- var dispatcher = resolveDispatcher();
1409
- return dispatcher.useTransition();
1410
- }
1411
- function useDeferredValue(value) {
1412
- var dispatcher = resolveDispatcher();
1413
- return dispatcher.useDeferredValue(value);
1414
- }
1415
- function useId() {
1416
- var dispatcher = resolveDispatcher();
1417
- return dispatcher.useId();
1418
- }
1419
- function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
1420
- var dispatcher = resolveDispatcher();
1421
- return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
1422
- }
1423
- var disabledDepth = 0;
1424
- var prevLog;
1425
- var prevInfo;
1426
- var prevWarn;
1427
- var prevError;
1428
- var prevGroup;
1429
- var prevGroupCollapsed;
1430
- var prevGroupEnd;
1431
- function disabledLog() {
1432
- }
1433
- disabledLog.__reactDisabledLog = true;
1434
- function disableLogs() {
1435
- {
1436
- if (disabledDepth === 0) {
1437
- prevLog = console.log;
1438
- prevInfo = console.info;
1439
- prevWarn = console.warn;
1440
- prevError = console.error;
1441
- prevGroup = console.group;
1442
- prevGroupCollapsed = console.groupCollapsed;
1443
- prevGroupEnd = console.groupEnd;
1444
- var props = {
1445
- configurable: true,
1446
- enumerable: true,
1447
- value: disabledLog,
1448
- writable: true
1449
- };
1450
- Object.defineProperties(console, {
1451
- info: props,
1452
- log: props,
1453
- warn: props,
1454
- error: props,
1455
- group: props,
1456
- groupCollapsed: props,
1457
- groupEnd: props
1458
- });
1459
- }
1460
- disabledDepth++;
1461
- }
1462
- }
1463
- function reenableLogs() {
1464
- {
1465
- disabledDepth--;
1466
- if (disabledDepth === 0) {
1467
- var props = {
1468
- configurable: true,
1469
- enumerable: true,
1470
- writable: true
1471
- };
1472
- Object.defineProperties(console, {
1473
- log: assign({}, props, {
1474
- value: prevLog
1475
- }),
1476
- info: assign({}, props, {
1477
- value: prevInfo
1478
- }),
1479
- warn: assign({}, props, {
1480
- value: prevWarn
1481
- }),
1482
- error: assign({}, props, {
1483
- value: prevError
1484
- }),
1485
- group: assign({}, props, {
1486
- value: prevGroup
1487
- }),
1488
- groupCollapsed: assign({}, props, {
1489
- value: prevGroupCollapsed
1490
- }),
1491
- groupEnd: assign({}, props, {
1492
- value: prevGroupEnd
1493
- })
1494
- });
1495
- }
1496
- if (disabledDepth < 0) {
1497
- error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1498
- }
1499
- }
1500
- }
1501
- var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;
1502
- var prefix;
1503
- function describeBuiltInComponentFrame(name, source, ownerFn) {
1504
- {
1505
- if (prefix === void 0) {
1506
- try {
1507
- throw Error();
1508
- } catch (x) {
1509
- var match = x.stack.trim().match(/\n( *(at )?)/);
1510
- prefix = match && match[1] || "";
1511
- }
1512
- }
1513
- return "\n" + prefix + name;
1514
- }
1515
- }
1516
- var reentry = false;
1517
- var componentFrameCache;
1518
- {
1519
- var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
1520
- componentFrameCache = new PossiblyWeakMap();
1521
- }
1522
- function describeNativeComponentFrame(fn, construct) {
1523
- if (!fn || reentry) {
1524
- return "";
1525
- }
1526
- {
1527
- var frame = componentFrameCache.get(fn);
1528
- if (frame !== void 0) {
1529
- return frame;
1530
- }
1531
- }
1532
- var control;
1533
- reentry = true;
1534
- var previousPrepareStackTrace = Error.prepareStackTrace;
1535
- Error.prepareStackTrace = void 0;
1536
- var previousDispatcher;
1537
- {
1538
- previousDispatcher = ReactCurrentDispatcher$1.current;
1539
- ReactCurrentDispatcher$1.current = null;
1540
- disableLogs();
1541
- }
1542
- try {
1543
- if (construct) {
1544
- var Fake = function() {
1545
- throw Error();
1546
- };
1547
- Object.defineProperty(Fake.prototype, "props", {
1548
- set: function() {
1549
- throw Error();
1550
- }
1551
- });
1552
- if (typeof Reflect === "object" && Reflect.construct) {
1553
- try {
1554
- Reflect.construct(Fake, []);
1555
- } catch (x) {
1556
- control = x;
1557
- }
1558
- Reflect.construct(fn, [], Fake);
1559
- } else {
1560
- try {
1561
- Fake.call();
1562
- } catch (x) {
1563
- control = x;
1564
- }
1565
- fn.call(Fake.prototype);
1566
- }
1567
- } else {
1568
- try {
1569
- throw Error();
1570
- } catch (x) {
1571
- control = x;
1572
- }
1573
- fn();
1574
- }
1575
- } catch (sample) {
1576
- if (sample && control && typeof sample.stack === "string") {
1577
- var sampleLines = sample.stack.split("\n");
1578
- var controlLines = control.stack.split("\n");
1579
- var s = sampleLines.length - 1;
1580
- var c = controlLines.length - 1;
1581
- while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
1582
- c--;
1583
- }
1584
- for (; s >= 1 && c >= 0; s--, c--) {
1585
- if (sampleLines[s] !== controlLines[c]) {
1586
- if (s !== 1 || c !== 1) {
1587
- do {
1588
- s--;
1589
- c--;
1590
- if (c < 0 || sampleLines[s] !== controlLines[c]) {
1591
- var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
1592
- if (fn.displayName && _frame.includes("<anonymous>")) {
1593
- _frame = _frame.replace("<anonymous>", fn.displayName);
1594
- }
1595
- {
1596
- if (typeof fn === "function") {
1597
- componentFrameCache.set(fn, _frame);
1598
- }
1599
- }
1600
- return _frame;
1601
- }
1602
- } while (s >= 1 && c >= 0);
1603
- }
1604
- break;
1605
- }
1606
- }
1607
- }
1608
- } finally {
1609
- reentry = false;
1610
- {
1611
- ReactCurrentDispatcher$1.current = previousDispatcher;
1612
- reenableLogs();
1613
- }
1614
- Error.prepareStackTrace = previousPrepareStackTrace;
1615
- }
1616
- var name = fn ? fn.displayName || fn.name : "";
1617
- var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
1618
- {
1619
- if (typeof fn === "function") {
1620
- componentFrameCache.set(fn, syntheticFrame);
1621
- }
1622
- }
1623
- return syntheticFrame;
1624
- }
1625
- function describeFunctionComponentFrame(fn, source, ownerFn) {
1626
- {
1627
- return describeNativeComponentFrame(fn, false);
1628
- }
1629
- }
1630
- function shouldConstruct(Component2) {
1631
- var prototype = Component2.prototype;
1632
- return !!(prototype && prototype.isReactComponent);
1633
- }
1634
- function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
1635
- if (type == null) {
1636
- return "";
1637
- }
1638
- if (typeof type === "function") {
1639
- {
1640
- return describeNativeComponentFrame(type, shouldConstruct(type));
1641
- }
1642
- }
1643
- if (typeof type === "string") {
1644
- return describeBuiltInComponentFrame(type);
1645
- }
1646
- switch (type) {
1647
- case REACT_SUSPENSE_TYPE:
1648
- return describeBuiltInComponentFrame("Suspense");
1649
- case REACT_SUSPENSE_LIST_TYPE:
1650
- return describeBuiltInComponentFrame("SuspenseList");
1651
- }
1652
- if (typeof type === "object") {
1653
- switch (type.$$typeof) {
1654
- case REACT_FORWARD_REF_TYPE:
1655
- return describeFunctionComponentFrame(type.render);
1656
- case REACT_MEMO_TYPE:
1657
- return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
1658
- case REACT_LAZY_TYPE: {
1659
- var lazyComponent = type;
1660
- var payload = lazyComponent._payload;
1661
- var init = lazyComponent._init;
1662
- try {
1663
- return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
1664
- } catch (x) {
1665
- }
1666
- }
1667
- }
1668
- }
1669
- return "";
1670
- }
1671
- var loggedTypeFailures = {};
1672
- var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
1673
- function setCurrentlyValidatingElement(element) {
1674
- {
1675
- if (element) {
1676
- var owner = element._owner;
1677
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
1678
- ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
1679
- } else {
1680
- ReactDebugCurrentFrame$1.setExtraStackFrame(null);
1681
- }
1682
- }
1683
- }
1684
- function checkPropTypes(typeSpecs, values, location, componentName, element) {
1685
- {
1686
- var has = Function.call.bind(hasOwnProperty);
1687
- for (var typeSpecName in typeSpecs) {
1688
- if (has(typeSpecs, typeSpecName)) {
1689
- var error$1 = void 0;
1690
- try {
1691
- if (typeof typeSpecs[typeSpecName] !== "function") {
1692
- var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1693
- err.name = "Invariant Violation";
1694
- throw err;
1695
- }
1696
- error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1697
- } catch (ex) {
1698
- error$1 = ex;
1699
- }
1700
- if (error$1 && !(error$1 instanceof Error)) {
1701
- setCurrentlyValidatingElement(element);
1702
- error("%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).", componentName || "React class", location, typeSpecName, typeof error$1);
1703
- setCurrentlyValidatingElement(null);
1704
- }
1705
- if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
1706
- loggedTypeFailures[error$1.message] = true;
1707
- setCurrentlyValidatingElement(element);
1708
- error("Failed %s type: %s", location, error$1.message);
1709
- setCurrentlyValidatingElement(null);
1710
- }
1711
- }
1712
- }
1713
- }
1714
- }
1715
- function setCurrentlyValidatingElement$1(element) {
1716
- {
1717
- if (element) {
1718
- var owner = element._owner;
1719
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
1720
- setExtraStackFrame(stack);
1721
- } else {
1722
- setExtraStackFrame(null);
1723
- }
1724
- }
1725
- }
1726
- var propTypesMisspellWarningShown;
1727
- {
1728
- propTypesMisspellWarningShown = false;
1729
- }
1730
- function getDeclarationErrorAddendum() {
1731
- if (ReactCurrentOwner.current) {
1732
- var name = getComponentNameFromType(ReactCurrentOwner.current.type);
1733
- if (name) {
1734
- return "\n\nCheck the render method of `" + name + "`.";
1735
- }
1736
- }
1737
- return "";
1738
- }
1739
- function getSourceInfoErrorAddendum(source) {
1740
- if (source !== void 0) {
1741
- var fileName = source.fileName.replace(/^.*[\\\/]/, "");
1742
- var lineNumber = source.lineNumber;
1743
- return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
1744
- }
1745
- return "";
1746
- }
1747
- function getSourceInfoErrorAddendumForProps(elementProps) {
1748
- if (elementProps !== null && elementProps !== void 0) {
1749
- return getSourceInfoErrorAddendum(elementProps.__source);
1750
- }
1751
- return "";
1752
- }
1753
- var ownerHasKeyUseWarning = {};
1754
- function getCurrentComponentErrorInfo(parentType) {
1755
- var info = getDeclarationErrorAddendum();
1756
- if (!info) {
1757
- var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
1758
- if (parentName) {
1759
- info = "\n\nCheck the top-level render call using <" + parentName + ">.";
1760
- }
1761
- }
1762
- return info;
1763
- }
1764
- function validateExplicitKey(element, parentType) {
1765
- if (!element._store || element._store.validated || element.key != null) {
1766
- return;
1767
- }
1768
- element._store.validated = true;
1769
- var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
1770
- if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
1771
- return;
1772
- }
1773
- ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
1774
- var childOwner = "";
1775
- if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
1776
- childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
1777
- }
1778
- {
1779
- setCurrentlyValidatingElement$1(element);
1780
- error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
1781
- setCurrentlyValidatingElement$1(null);
1782
- }
1783
- }
1784
- function validateChildKeys(node, parentType) {
1785
- if (typeof node !== "object") {
1786
- return;
1787
- }
1788
- if (isArray(node)) {
1789
- for (var i = 0; i < node.length; i++) {
1790
- var child = node[i];
1791
- if (isValidElement(child)) {
1792
- validateExplicitKey(child, parentType);
1793
- }
1794
- }
1795
- } else if (isValidElement(node)) {
1796
- if (node._store) {
1797
- node._store.validated = true;
1798
- }
1799
- } else if (node) {
1800
- var iteratorFn = getIteratorFn(node);
1801
- if (typeof iteratorFn === "function") {
1802
- if (iteratorFn !== node.entries) {
1803
- var iterator = iteratorFn.call(node);
1804
- var step;
1805
- while (!(step = iterator.next()).done) {
1806
- if (isValidElement(step.value)) {
1807
- validateExplicitKey(step.value, parentType);
1808
- }
1809
- }
1810
- }
1811
- }
1812
- }
1813
- }
1814
- function validatePropTypes(element) {
1815
- {
1816
- var type = element.type;
1817
- if (type === null || type === void 0 || typeof type === "string") {
1818
- return;
1819
- }
1820
- var propTypes;
1821
- if (typeof type === "function") {
1822
- propTypes = type.propTypes;
1823
- } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
1824
- // Inner props are checked in the reconciler.
1825
- type.$$typeof === REACT_MEMO_TYPE)) {
1826
- propTypes = type.propTypes;
1827
- } else {
1828
- return;
1829
- }
1830
- if (propTypes) {
1831
- var name = getComponentNameFromType(type);
1832
- checkPropTypes(propTypes, element.props, "prop", name, element);
1833
- } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
1834
- propTypesMisspellWarningShown = true;
1835
- var _name = getComponentNameFromType(type);
1836
- error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
1837
- }
1838
- if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
1839
- error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1840
- }
1841
- }
1842
- }
1843
- function validateFragmentProps(fragment) {
1844
- {
1845
- var keys = Object.keys(fragment.props);
1846
- for (var i = 0; i < keys.length; i++) {
1847
- var key = keys[i];
1848
- if (key !== "children" && key !== "key") {
1849
- setCurrentlyValidatingElement$1(fragment);
1850
- error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
1851
- setCurrentlyValidatingElement$1(null);
1852
- break;
1853
- }
1854
- }
1855
- if (fragment.ref !== null) {
1856
- setCurrentlyValidatingElement$1(fragment);
1857
- error("Invalid attribute `ref` supplied to `React.Fragment`.");
1858
- setCurrentlyValidatingElement$1(null);
1859
- }
1860
- }
1861
- }
1862
- function createElementWithValidation(type, props, children) {
1863
- var validType = isValidElementType(type);
1864
- if (!validType) {
1865
- var info = "";
1866
- if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
1867
- info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
1868
- }
1869
- var sourceInfo = getSourceInfoErrorAddendumForProps(props);
1870
- if (sourceInfo) {
1871
- info += sourceInfo;
1872
- } else {
1873
- info += getDeclarationErrorAddendum();
1874
- }
1875
- var typeString;
1876
- if (type === null) {
1877
- typeString = "null";
1878
- } else if (isArray(type)) {
1879
- typeString = "array";
1880
- } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
1881
- typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
1882
- info = " Did you accidentally export a JSX literal instead of a component?";
1883
- } else {
1884
- typeString = typeof type;
1885
- }
1886
- {
1887
- error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
1888
- }
1889
- }
1890
- var element = createElement.apply(this, arguments);
1891
- if (element == null) {
1892
- return element;
1893
- }
1894
- if (validType) {
1895
- for (var i = 2; i < arguments.length; i++) {
1896
- validateChildKeys(arguments[i], type);
1897
- }
1898
- }
1899
- if (type === REACT_FRAGMENT_TYPE) {
1900
- validateFragmentProps(element);
1901
- } else {
1902
- validatePropTypes(element);
1903
- }
1904
- return element;
1905
- }
1906
- var didWarnAboutDeprecatedCreateFactory = false;
1907
- function createFactoryWithValidation(type) {
1908
- var validatedFactory = createElementWithValidation.bind(null, type);
1909
- validatedFactory.type = type;
1910
- {
1911
- if (!didWarnAboutDeprecatedCreateFactory) {
1912
- didWarnAboutDeprecatedCreateFactory = true;
1913
- warn("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.");
1914
- }
1915
- Object.defineProperty(validatedFactory, "type", {
1916
- enumerable: false,
1917
- get: function() {
1918
- warn("Factory.type is deprecated. Access the class directly before passing it to createFactory.");
1919
- Object.defineProperty(this, "type", {
1920
- value: type
1921
- });
1922
- return type;
1923
- }
1924
- });
1925
- }
1926
- return validatedFactory;
1927
- }
1928
- function cloneElementWithValidation(element, props, children) {
1929
- var newElement = cloneElement.apply(this, arguments);
1930
- for (var i = 2; i < arguments.length; i++) {
1931
- validateChildKeys(arguments[i], newElement.type);
1932
- }
1933
- validatePropTypes(newElement);
1934
- return newElement;
1935
- }
1936
- function startTransition(scope, options) {
1937
- var prevTransition = ReactCurrentBatchConfig.transition;
1938
- ReactCurrentBatchConfig.transition = {};
1939
- var currentTransition = ReactCurrentBatchConfig.transition;
1940
- {
1941
- ReactCurrentBatchConfig.transition._updatedFibers = /* @__PURE__ */ new Set();
1942
- }
1943
- try {
1944
- scope();
1945
- } finally {
1946
- ReactCurrentBatchConfig.transition = prevTransition;
1947
- {
1948
- if (prevTransition === null && currentTransition._updatedFibers) {
1949
- var updatedFibersCount = currentTransition._updatedFibers.size;
1950
- if (updatedFibersCount > 10) {
1951
- warn("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.");
1952
- }
1953
- currentTransition._updatedFibers.clear();
1954
- }
1955
- }
1956
- }
1957
- }
1958
- var didWarnAboutMessageChannel = false;
1959
- var enqueueTaskImpl = null;
1960
- function enqueueTask(task) {
1961
- if (enqueueTaskImpl === null) {
1962
- try {
1963
- var requireString = ("require" + Math.random()).slice(0, 7);
1964
- var nodeRequire = module2 && module2[requireString];
1965
- enqueueTaskImpl = nodeRequire.call(module2, "timers").setImmediate;
1966
- } catch (_err) {
1967
- enqueueTaskImpl = function(callback) {
1968
- {
1969
- if (didWarnAboutMessageChannel === false) {
1970
- didWarnAboutMessageChannel = true;
1971
- if (typeof MessageChannel === "undefined") {
1972
- error("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.");
1973
- }
1974
- }
1975
- }
1976
- var channel = new MessageChannel();
1977
- channel.port1.onmessage = callback;
1978
- channel.port2.postMessage(void 0);
1979
- };
1980
- }
1981
- }
1982
- return enqueueTaskImpl(task);
1983
- }
1984
- var actScopeDepth = 0;
1985
- var didWarnNoAwaitAct = false;
1986
- function act(callback) {
1987
- {
1988
- var prevActScopeDepth = actScopeDepth;
1989
- actScopeDepth++;
1990
- if (ReactCurrentActQueue.current === null) {
1991
- ReactCurrentActQueue.current = [];
1992
- }
1993
- var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy;
1994
- var result;
1995
- try {
1996
- ReactCurrentActQueue.isBatchingLegacy = true;
1997
- result = callback();
1998
- if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) {
1999
- var queue = ReactCurrentActQueue.current;
2000
- if (queue !== null) {
2001
- ReactCurrentActQueue.didScheduleLegacyUpdate = false;
2002
- flushActQueue(queue);
2003
- }
2004
- }
2005
- } catch (error2) {
2006
- popActScope(prevActScopeDepth);
2007
- throw error2;
2008
- } finally {
2009
- ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy;
2010
- }
2011
- if (result !== null && typeof result === "object" && typeof result.then === "function") {
2012
- var thenableResult = result;
2013
- var wasAwaited = false;
2014
- var thenable = {
2015
- then: function(resolve, reject) {
2016
- wasAwaited = true;
2017
- thenableResult.then(function(returnValue2) {
2018
- popActScope(prevActScopeDepth);
2019
- if (actScopeDepth === 0) {
2020
- recursivelyFlushAsyncActWork(returnValue2, resolve, reject);
2021
- } else {
2022
- resolve(returnValue2);
2023
- }
2024
- }, function(error2) {
2025
- popActScope(prevActScopeDepth);
2026
- reject(error2);
2027
- });
2028
- }
2029
- };
2030
- {
2031
- if (!didWarnNoAwaitAct && typeof Promise !== "undefined") {
2032
- Promise.resolve().then(function() {
2033
- }).then(function() {
2034
- if (!wasAwaited) {
2035
- didWarnNoAwaitAct = true;
2036
- error("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 () => ...);");
2037
- }
2038
- });
2039
- }
2040
- }
2041
- return thenable;
2042
- } else {
2043
- var returnValue = result;
2044
- popActScope(prevActScopeDepth);
2045
- if (actScopeDepth === 0) {
2046
- var _queue = ReactCurrentActQueue.current;
2047
- if (_queue !== null) {
2048
- flushActQueue(_queue);
2049
- ReactCurrentActQueue.current = null;
2050
- }
2051
- var _thenable = {
2052
- then: function(resolve, reject) {
2053
- if (ReactCurrentActQueue.current === null) {
2054
- ReactCurrentActQueue.current = [];
2055
- recursivelyFlushAsyncActWork(returnValue, resolve, reject);
2056
- } else {
2057
- resolve(returnValue);
2058
- }
2059
- }
2060
- };
2061
- return _thenable;
2062
- } else {
2063
- var _thenable2 = {
2064
- then: function(resolve, reject) {
2065
- resolve(returnValue);
2066
- }
2067
- };
2068
- return _thenable2;
2069
- }
2070
- }
2071
- }
2072
- }
2073
- function popActScope(prevActScopeDepth) {
2074
- {
2075
- if (prevActScopeDepth !== actScopeDepth - 1) {
2076
- error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");
2077
- }
2078
- actScopeDepth = prevActScopeDepth;
2079
- }
2080
- }
2081
- function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
2082
- {
2083
- var queue = ReactCurrentActQueue.current;
2084
- if (queue !== null) {
2085
- try {
2086
- flushActQueue(queue);
2087
- enqueueTask(function() {
2088
- if (queue.length === 0) {
2089
- ReactCurrentActQueue.current = null;
2090
- resolve(returnValue);
2091
- } else {
2092
- recursivelyFlushAsyncActWork(returnValue, resolve, reject);
2093
- }
2094
- });
2095
- } catch (error2) {
2096
- reject(error2);
2097
- }
2098
- } else {
2099
- resolve(returnValue);
2100
- }
2101
- }
2102
- }
2103
- var isFlushing = false;
2104
- function flushActQueue(queue) {
2105
- {
2106
- if (!isFlushing) {
2107
- isFlushing = true;
2108
- var i = 0;
2109
- try {
2110
- for (; i < queue.length; i++) {
2111
- var callback = queue[i];
2112
- do {
2113
- callback = callback(true);
2114
- } while (callback !== null);
2115
- }
2116
- queue.length = 0;
2117
- } catch (error2) {
2118
- queue = queue.slice(i + 1);
2119
- throw error2;
2120
- } finally {
2121
- isFlushing = false;
2122
- }
2123
- }
2124
- }
2125
- }
2126
- var createElement$1 = createElementWithValidation;
2127
- var cloneElement$1 = cloneElementWithValidation;
2128
- var createFactory = createFactoryWithValidation;
2129
- var Children = {
2130
- map: mapChildren,
2131
- forEach: forEachChildren,
2132
- count: countChildren,
2133
- toArray,
2134
- only: onlyChild
2135
- };
2136
- exports2.Children = Children;
2137
- exports2.Component = Component;
2138
- exports2.Fragment = REACT_FRAGMENT_TYPE;
2139
- exports2.Profiler = REACT_PROFILER_TYPE;
2140
- exports2.PureComponent = PureComponent;
2141
- exports2.StrictMode = REACT_STRICT_MODE_TYPE;
2142
- exports2.Suspense = REACT_SUSPENSE_TYPE;
2143
- exports2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
2144
- exports2.act = act;
2145
- exports2.cloneElement = cloneElement$1;
2146
- exports2.createContext = createContext;
2147
- exports2.createElement = createElement$1;
2148
- exports2.createFactory = createFactory;
2149
- exports2.createRef = createRef;
2150
- exports2.forwardRef = forwardRef;
2151
- exports2.isValidElement = isValidElement;
2152
- exports2.lazy = lazy;
2153
- exports2.memo = memo;
2154
- exports2.startTransition = startTransition;
2155
- exports2.unstable_act = act;
2156
- exports2.useCallback = useCallback;
2157
- exports2.useContext = useContext;
2158
- exports2.useDebugValue = useDebugValue;
2159
- exports2.useDeferredValue = useDeferredValue;
2160
- exports2.useEffect = useEffect;
2161
- exports2.useId = useId;
2162
- exports2.useImperativeHandle = useImperativeHandle;
2163
- exports2.useInsertionEffect = useInsertionEffect;
2164
- exports2.useLayoutEffect = useLayoutEffect;
2165
- exports2.useMemo = useMemo;
2166
- exports2.useReducer = useReducer;
2167
- exports2.useRef = useRef;
2168
- exports2.useState = useState;
2169
- exports2.useSyncExternalStore = useSyncExternalStore;
2170
- exports2.useTransition = useTransition;
2171
- exports2.version = ReactVersion;
2172
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
2173
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
2174
- }
2175
- })();
2176
- }
2177
- }
2178
- });
2179
-
2180
- // ../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js
2181
- var require_react = __commonJS({
2182
- "../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js"(exports2, module2) {
2183
- "use strict";
2184
- if (process.env.NODE_ENV === "production") {
2185
- module2.exports = require_react_production_min();
2186
- } else {
2187
- module2.exports = require_react_development();
2188
- }
2189
- }
2190
- });
2191
-
2192
- // ../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js
2193
- var require_react_jsx_runtime_production_min = __commonJS({
2194
- "../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js"(exports2) {
2195
- "use strict";
2196
- var f = require_react();
2197
- var k = Symbol.for("react.element");
2198
- var l = Symbol.for("react.fragment");
2199
- var m = Object.prototype.hasOwnProperty;
2200
- var n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
2201
- var p = { key: true, ref: true, __self: true, __source: true };
2202
- function q(c, a, g) {
2203
- var b, d = {}, e = null, h = null;
2204
- void 0 !== g && (e = "" + g);
2205
- void 0 !== a.key && (e = "" + a.key);
2206
- void 0 !== a.ref && (h = a.ref);
2207
- for (b in a) m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
2208
- if (c && c.defaultProps) for (b in a = c.defaultProps, a) void 0 === d[b] && (d[b] = a[b]);
2209
- return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current };
2210
- }
2211
- exports2.Fragment = l;
2212
- exports2.jsx = q;
2213
- exports2.jsxs = q;
2214
- }
2215
- });
2216
-
2217
- // ../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js
2218
- var require_react_jsx_runtime_development = __commonJS({
2219
- "../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js"(exports2) {
2220
- "use strict";
2221
- if (process.env.NODE_ENV !== "production") {
2222
- (function() {
2223
- "use strict";
2224
- var React = require_react();
2225
- var REACT_ELEMENT_TYPE = Symbol.for("react.element");
2226
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
2227
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
2228
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
2229
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
2230
- var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
2231
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
2232
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
2233
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
2234
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
2235
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
2236
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
2237
- var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
2238
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
2239
- var FAUX_ITERATOR_SYMBOL = "@@iterator";
2240
- function getIteratorFn(maybeIterable) {
2241
- if (maybeIterable === null || typeof maybeIterable !== "object") {
2242
- return null;
2243
- }
2244
- var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
2245
- if (typeof maybeIterator === "function") {
2246
- return maybeIterator;
2247
- }
2248
- return null;
2249
- }
2250
- var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2251
- function error(format) {
2252
- {
2253
- {
2254
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
2255
- args[_key2 - 1] = arguments[_key2];
2256
- }
2257
- printWarning("error", format, args);
2258
- }
2259
- }
2260
- }
2261
- function printWarning(level, format, args) {
2262
- {
2263
- var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
2264
- var stack = ReactDebugCurrentFrame2.getStackAddendum();
2265
- if (stack !== "") {
2266
- format += "%s";
2267
- args = args.concat([stack]);
2268
- }
2269
- var argsWithFormat = args.map(function(item) {
2270
- return String(item);
2271
- });
2272
- argsWithFormat.unshift("Warning: " + format);
2273
- Function.prototype.apply.call(console[level], console, argsWithFormat);
2274
- }
2275
- }
2276
- var enableScopeAPI = false;
2277
- var enableCacheElement = false;
2278
- var enableTransitionTracing = false;
2279
- var enableLegacyHidden = false;
2280
- var enableDebugTracing = false;
2281
- var REACT_MODULE_REFERENCE;
2282
- {
2283
- REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
2284
- }
2285
- function isValidElementType(type) {
2286
- if (typeof type === "string" || typeof type === "function") {
2287
- return true;
2288
- }
2289
- if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
2290
- return true;
2291
- }
2292
- if (typeof type === "object" && type !== null) {
2293
- if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
2294
- // types supported by any Flight configuration anywhere since
2295
- // we don't know which Flight build this will end up being used
2296
- // with.
2297
- type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
2298
- return true;
2299
- }
2300
- }
2301
- return false;
2302
- }
2303
- function getWrappedName(outerType, innerType, wrapperName) {
2304
- var displayName = outerType.displayName;
2305
- if (displayName) {
2306
- return displayName;
2307
- }
2308
- var functionName = innerType.displayName || innerType.name || "";
2309
- return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
2310
- }
2311
- function getContextName(type) {
2312
- return type.displayName || "Context";
2313
- }
2314
- function getComponentNameFromType(type) {
2315
- if (type == null) {
2316
- return null;
2317
- }
2318
- {
2319
- if (typeof type.tag === "number") {
2320
- error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
2321
- }
2322
- }
2323
- if (typeof type === "function") {
2324
- return type.displayName || type.name || null;
2325
- }
2326
- if (typeof type === "string") {
2327
- return type;
2328
- }
2329
- switch (type) {
2330
- case REACT_FRAGMENT_TYPE:
2331
- return "Fragment";
2332
- case REACT_PORTAL_TYPE:
2333
- return "Portal";
2334
- case REACT_PROFILER_TYPE:
2335
- return "Profiler";
2336
- case REACT_STRICT_MODE_TYPE:
2337
- return "StrictMode";
2338
- case REACT_SUSPENSE_TYPE:
2339
- return "Suspense";
2340
- case REACT_SUSPENSE_LIST_TYPE:
2341
- return "SuspenseList";
2342
- }
2343
- if (typeof type === "object") {
2344
- switch (type.$$typeof) {
2345
- case REACT_CONTEXT_TYPE:
2346
- var context = type;
2347
- return getContextName(context) + ".Consumer";
2348
- case REACT_PROVIDER_TYPE:
2349
- var provider = type;
2350
- return getContextName(provider._context) + ".Provider";
2351
- case REACT_FORWARD_REF_TYPE:
2352
- return getWrappedName(type, type.render, "ForwardRef");
2353
- case REACT_MEMO_TYPE:
2354
- var outerName = type.displayName || null;
2355
- if (outerName !== null) {
2356
- return outerName;
2357
- }
2358
- return getComponentNameFromType(type.type) || "Memo";
2359
- case REACT_LAZY_TYPE: {
2360
- var lazyComponent = type;
2361
- var payload = lazyComponent._payload;
2362
- var init = lazyComponent._init;
2363
- try {
2364
- return getComponentNameFromType(init(payload));
2365
- } catch (x) {
2366
- return null;
2367
- }
2368
- }
2369
- }
2370
- }
2371
- return null;
2372
- }
2373
- var assign = Object.assign;
2374
- var disabledDepth = 0;
2375
- var prevLog;
2376
- var prevInfo;
2377
- var prevWarn;
2378
- var prevError;
2379
- var prevGroup;
2380
- var prevGroupCollapsed;
2381
- var prevGroupEnd;
2382
- function disabledLog() {
2383
- }
2384
- disabledLog.__reactDisabledLog = true;
2385
- function disableLogs() {
2386
- {
2387
- if (disabledDepth === 0) {
2388
- prevLog = console.log;
2389
- prevInfo = console.info;
2390
- prevWarn = console.warn;
2391
- prevError = console.error;
2392
- prevGroup = console.group;
2393
- prevGroupCollapsed = console.groupCollapsed;
2394
- prevGroupEnd = console.groupEnd;
2395
- var props = {
2396
- configurable: true,
2397
- enumerable: true,
2398
- value: disabledLog,
2399
- writable: true
2400
- };
2401
- Object.defineProperties(console, {
2402
- info: props,
2403
- log: props,
2404
- warn: props,
2405
- error: props,
2406
- group: props,
2407
- groupCollapsed: props,
2408
- groupEnd: props
2409
- });
2410
- }
2411
- disabledDepth++;
2412
- }
2413
- }
2414
- function reenableLogs() {
2415
- {
2416
- disabledDepth--;
2417
- if (disabledDepth === 0) {
2418
- var props = {
2419
- configurable: true,
2420
- enumerable: true,
2421
- writable: true
2422
- };
2423
- Object.defineProperties(console, {
2424
- log: assign({}, props, {
2425
- value: prevLog
2426
- }),
2427
- info: assign({}, props, {
2428
- value: prevInfo
2429
- }),
2430
- warn: assign({}, props, {
2431
- value: prevWarn
2432
- }),
2433
- error: assign({}, props, {
2434
- value: prevError
2435
- }),
2436
- group: assign({}, props, {
2437
- value: prevGroup
2438
- }),
2439
- groupCollapsed: assign({}, props, {
2440
- value: prevGroupCollapsed
2441
- }),
2442
- groupEnd: assign({}, props, {
2443
- value: prevGroupEnd
2444
- })
2445
- });
2446
- }
2447
- if (disabledDepth < 0) {
2448
- error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
2449
- }
2450
- }
2451
- }
2452
- var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
2453
- var prefix;
2454
- function describeBuiltInComponentFrame(name, source, ownerFn) {
2455
- {
2456
- if (prefix === void 0) {
2457
- try {
2458
- throw Error();
2459
- } catch (x) {
2460
- var match = x.stack.trim().match(/\n( *(at )?)/);
2461
- prefix = match && match[1] || "";
2462
- }
2463
- }
2464
- return "\n" + prefix + name;
2465
- }
2466
- }
2467
- var reentry = false;
2468
- var componentFrameCache;
2469
- {
2470
- var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
2471
- componentFrameCache = new PossiblyWeakMap();
2472
- }
2473
- function describeNativeComponentFrame(fn, construct) {
2474
- if (!fn || reentry) {
2475
- return "";
2476
- }
2477
- {
2478
- var frame = componentFrameCache.get(fn);
2479
- if (frame !== void 0) {
2480
- return frame;
2481
- }
2482
- }
2483
- var control;
2484
- reentry = true;
2485
- var previousPrepareStackTrace = Error.prepareStackTrace;
2486
- Error.prepareStackTrace = void 0;
2487
- var previousDispatcher;
2488
- {
2489
- previousDispatcher = ReactCurrentDispatcher.current;
2490
- ReactCurrentDispatcher.current = null;
2491
- disableLogs();
2492
- }
2493
- try {
2494
- if (construct) {
2495
- var Fake = function() {
2496
- throw Error();
2497
- };
2498
- Object.defineProperty(Fake.prototype, "props", {
2499
- set: function() {
2500
- throw Error();
2501
- }
2502
- });
2503
- if (typeof Reflect === "object" && Reflect.construct) {
2504
- try {
2505
- Reflect.construct(Fake, []);
2506
- } catch (x) {
2507
- control = x;
2508
- }
2509
- Reflect.construct(fn, [], Fake);
2510
- } else {
2511
- try {
2512
- Fake.call();
2513
- } catch (x) {
2514
- control = x;
2515
- }
2516
- fn.call(Fake.prototype);
2517
- }
2518
- } else {
2519
- try {
2520
- throw Error();
2521
- } catch (x) {
2522
- control = x;
2523
- }
2524
- fn();
2525
- }
2526
- } catch (sample) {
2527
- if (sample && control && typeof sample.stack === "string") {
2528
- var sampleLines = sample.stack.split("\n");
2529
- var controlLines = control.stack.split("\n");
2530
- var s = sampleLines.length - 1;
2531
- var c = controlLines.length - 1;
2532
- while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
2533
- c--;
2534
- }
2535
- for (; s >= 1 && c >= 0; s--, c--) {
2536
- if (sampleLines[s] !== controlLines[c]) {
2537
- if (s !== 1 || c !== 1) {
2538
- do {
2539
- s--;
2540
- c--;
2541
- if (c < 0 || sampleLines[s] !== controlLines[c]) {
2542
- var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
2543
- if (fn.displayName && _frame.includes("<anonymous>")) {
2544
- _frame = _frame.replace("<anonymous>", fn.displayName);
2545
- }
2546
- {
2547
- if (typeof fn === "function") {
2548
- componentFrameCache.set(fn, _frame);
2549
- }
2550
- }
2551
- return _frame;
2552
- }
2553
- } while (s >= 1 && c >= 0);
2554
- }
2555
- break;
2556
- }
2557
- }
2558
- }
2559
- } finally {
2560
- reentry = false;
2561
- {
2562
- ReactCurrentDispatcher.current = previousDispatcher;
2563
- reenableLogs();
2564
- }
2565
- Error.prepareStackTrace = previousPrepareStackTrace;
2566
- }
2567
- var name = fn ? fn.displayName || fn.name : "";
2568
- var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
2569
- {
2570
- if (typeof fn === "function") {
2571
- componentFrameCache.set(fn, syntheticFrame);
2572
- }
2573
- }
2574
- return syntheticFrame;
2575
- }
2576
- function describeFunctionComponentFrame(fn, source, ownerFn) {
2577
- {
2578
- return describeNativeComponentFrame(fn, false);
2579
- }
2580
- }
2581
- function shouldConstruct(Component) {
2582
- var prototype = Component.prototype;
2583
- return !!(prototype && prototype.isReactComponent);
2584
- }
2585
- function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
2586
- if (type == null) {
2587
- return "";
2588
- }
2589
- if (typeof type === "function") {
2590
- {
2591
- return describeNativeComponentFrame(type, shouldConstruct(type));
2592
- }
2593
- }
2594
- if (typeof type === "string") {
2595
- return describeBuiltInComponentFrame(type);
2596
- }
2597
- switch (type) {
2598
- case REACT_SUSPENSE_TYPE:
2599
- return describeBuiltInComponentFrame("Suspense");
2600
- case REACT_SUSPENSE_LIST_TYPE:
2601
- return describeBuiltInComponentFrame("SuspenseList");
2602
- }
2603
- if (typeof type === "object") {
2604
- switch (type.$$typeof) {
2605
- case REACT_FORWARD_REF_TYPE:
2606
- return describeFunctionComponentFrame(type.render);
2607
- case REACT_MEMO_TYPE:
2608
- return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
2609
- case REACT_LAZY_TYPE: {
2610
- var lazyComponent = type;
2611
- var payload = lazyComponent._payload;
2612
- var init = lazyComponent._init;
2613
- try {
2614
- return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
2615
- } catch (x) {
2616
- }
2617
- }
2618
- }
2619
- }
2620
- return "";
2621
- }
2622
- var hasOwnProperty = Object.prototype.hasOwnProperty;
2623
- var loggedTypeFailures = {};
2624
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
2625
- function setCurrentlyValidatingElement(element) {
2626
- {
2627
- if (element) {
2628
- var owner = element._owner;
2629
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
2630
- ReactDebugCurrentFrame.setExtraStackFrame(stack);
2631
- } else {
2632
- ReactDebugCurrentFrame.setExtraStackFrame(null);
2633
- }
2634
- }
2635
- }
2636
- function checkPropTypes(typeSpecs, values, location, componentName, element) {
2637
- {
2638
- var has = Function.call.bind(hasOwnProperty);
2639
- for (var typeSpecName in typeSpecs) {
2640
- if (has(typeSpecs, typeSpecName)) {
2641
- var error$1 = void 0;
2642
- try {
2643
- if (typeof typeSpecs[typeSpecName] !== "function") {
2644
- var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
2645
- err.name = "Invariant Violation";
2646
- throw err;
2647
- }
2648
- error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
2649
- } catch (ex) {
2650
- error$1 = ex;
2651
- }
2652
- if (error$1 && !(error$1 instanceof Error)) {
2653
- setCurrentlyValidatingElement(element);
2654
- error("%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).", componentName || "React class", location, typeSpecName, typeof error$1);
2655
- setCurrentlyValidatingElement(null);
2656
- }
2657
- if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
2658
- loggedTypeFailures[error$1.message] = true;
2659
- setCurrentlyValidatingElement(element);
2660
- error("Failed %s type: %s", location, error$1.message);
2661
- setCurrentlyValidatingElement(null);
2662
- }
2663
- }
2664
- }
2665
- }
2666
- }
2667
- var isArrayImpl = Array.isArray;
2668
- function isArray(a) {
2669
- return isArrayImpl(a);
2670
- }
2671
- function typeName(value) {
2672
- {
2673
- var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
2674
- var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
2675
- return type;
2676
- }
2677
- }
2678
- function willCoercionThrow(value) {
2679
- {
2680
- try {
2681
- testStringCoercion(value);
2682
- return false;
2683
- } catch (e) {
2684
- return true;
2685
- }
2686
- }
2687
- }
2688
- function testStringCoercion(value) {
2689
- return "" + value;
2690
- }
2691
- function checkKeyStringCoercion(value) {
2692
- {
2693
- if (willCoercionThrow(value)) {
2694
- error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
2695
- return testStringCoercion(value);
2696
- }
2697
- }
2698
- }
2699
- var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
2700
- var RESERVED_PROPS = {
2701
- key: true,
2702
- ref: true,
2703
- __self: true,
2704
- __source: true
2705
- };
2706
- var specialPropKeyWarningShown;
2707
- var specialPropRefWarningShown;
2708
- var didWarnAboutStringRefs;
2709
- {
2710
- didWarnAboutStringRefs = {};
2711
- }
2712
- function hasValidRef(config) {
2713
- {
2714
- if (hasOwnProperty.call(config, "ref")) {
2715
- var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
2716
- if (getter && getter.isReactWarning) {
2717
- return false;
2718
- }
2719
- }
2720
- }
2721
- return config.ref !== void 0;
2722
- }
2723
- function hasValidKey(config) {
2724
- {
2725
- if (hasOwnProperty.call(config, "key")) {
2726
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
2727
- if (getter && getter.isReactWarning) {
2728
- return false;
2729
- }
2730
- }
2731
- }
2732
- return config.key !== void 0;
2733
- }
2734
- function warnIfStringRefCannotBeAutoConverted(config, self) {
2735
- {
2736
- if (typeof config.ref === "string" && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
2737
- var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
2738
- if (!didWarnAboutStringRefs[componentName]) {
2739
- error('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', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);
2740
- didWarnAboutStringRefs[componentName] = true;
2741
- }
2742
- }
2743
- }
2744
- }
2745
- function defineKeyPropWarningGetter(props, displayName) {
2746
- {
2747
- var warnAboutAccessingKey = function() {
2748
- if (!specialPropKeyWarningShown) {
2749
- specialPropKeyWarningShown = true;
2750
- error("%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)", displayName);
2751
- }
2752
- };
2753
- warnAboutAccessingKey.isReactWarning = true;
2754
- Object.defineProperty(props, "key", {
2755
- get: warnAboutAccessingKey,
2756
- configurable: true
2757
- });
2758
- }
2759
- }
2760
- function defineRefPropWarningGetter(props, displayName) {
2761
- {
2762
- var warnAboutAccessingRef = function() {
2763
- if (!specialPropRefWarningShown) {
2764
- specialPropRefWarningShown = true;
2765
- error("%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)", displayName);
2766
- }
2767
- };
2768
- warnAboutAccessingRef.isReactWarning = true;
2769
- Object.defineProperty(props, "ref", {
2770
- get: warnAboutAccessingRef,
2771
- configurable: true
2772
- });
2773
- }
2774
- }
2775
- var ReactElement = function(type, key, ref, self, source, owner, props) {
2776
- var element = {
2777
- // This tag allows us to uniquely identify this as a React Element
2778
- $$typeof: REACT_ELEMENT_TYPE,
2779
- // Built-in properties that belong on the element
2780
- type,
2781
- key,
2782
- ref,
2783
- props,
2784
- // Record the component responsible for creating this element.
2785
- _owner: owner
2786
- };
2787
- {
2788
- element._store = {};
2789
- Object.defineProperty(element._store, "validated", {
2790
- configurable: false,
2791
- enumerable: false,
2792
- writable: true,
2793
- value: false
2794
- });
2795
- Object.defineProperty(element, "_self", {
2796
- configurable: false,
2797
- enumerable: false,
2798
- writable: false,
2799
- value: self
2800
- });
2801
- Object.defineProperty(element, "_source", {
2802
- configurable: false,
2803
- enumerable: false,
2804
- writable: false,
2805
- value: source
2806
- });
2807
- if (Object.freeze) {
2808
- Object.freeze(element.props);
2809
- Object.freeze(element);
2810
- }
2811
- }
2812
- return element;
2813
- };
2814
- function jsxDEV(type, config, maybeKey, source, self) {
2815
- {
2816
- var propName;
2817
- var props = {};
2818
- var key = null;
2819
- var ref = null;
2820
- if (maybeKey !== void 0) {
2821
- {
2822
- checkKeyStringCoercion(maybeKey);
2823
- }
2824
- key = "" + maybeKey;
2825
- }
2826
- if (hasValidKey(config)) {
2827
- {
2828
- checkKeyStringCoercion(config.key);
2829
- }
2830
- key = "" + config.key;
2831
- }
2832
- if (hasValidRef(config)) {
2833
- ref = config.ref;
2834
- warnIfStringRefCannotBeAutoConverted(config, self);
2835
- }
2836
- for (propName in config) {
2837
- if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
2838
- props[propName] = config[propName];
2839
- }
2840
- }
2841
- if (type && type.defaultProps) {
2842
- var defaultProps = type.defaultProps;
2843
- for (propName in defaultProps) {
2844
- if (props[propName] === void 0) {
2845
- props[propName] = defaultProps[propName];
2846
- }
2847
- }
2848
- }
2849
- if (key || ref) {
2850
- var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
2851
- if (key) {
2852
- defineKeyPropWarningGetter(props, displayName);
2853
- }
2854
- if (ref) {
2855
- defineRefPropWarningGetter(props, displayName);
2856
- }
2857
- }
2858
- return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
2859
- }
2860
- }
2861
- var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
2862
- var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
2863
- function setCurrentlyValidatingElement$1(element) {
2864
- {
2865
- if (element) {
2866
- var owner = element._owner;
2867
- var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
2868
- ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
2869
- } else {
2870
- ReactDebugCurrentFrame$1.setExtraStackFrame(null);
2871
- }
2872
- }
2873
- }
2874
- var propTypesMisspellWarningShown;
2875
- {
2876
- propTypesMisspellWarningShown = false;
2877
- }
2878
- function isValidElement(object) {
2879
- {
2880
- return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
2881
- }
2882
- }
2883
- function getDeclarationErrorAddendum() {
2884
- {
2885
- if (ReactCurrentOwner$1.current) {
2886
- var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
2887
- if (name) {
2888
- return "\n\nCheck the render method of `" + name + "`.";
2889
- }
2890
- }
2891
- return "";
2892
- }
2893
- }
2894
- function getSourceInfoErrorAddendum(source) {
2895
- {
2896
- if (source !== void 0) {
2897
- var fileName = source.fileName.replace(/^.*[\\\/]/, "");
2898
- var lineNumber = source.lineNumber;
2899
- return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
2900
- }
2901
- return "";
2902
- }
2903
- }
2904
- var ownerHasKeyUseWarning = {};
2905
- function getCurrentComponentErrorInfo(parentType) {
2906
- {
2907
- var info = getDeclarationErrorAddendum();
2908
- if (!info) {
2909
- var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
2910
- if (parentName) {
2911
- info = "\n\nCheck the top-level render call using <" + parentName + ">.";
2912
- }
2913
- }
2914
- return info;
2915
- }
2916
- }
2917
- function validateExplicitKey(element, parentType) {
2918
- {
2919
- if (!element._store || element._store.validated || element.key != null) {
2920
- return;
2921
- }
2922
- element._store.validated = true;
2923
- var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
2924
- if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
2925
- return;
2926
- }
2927
- ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
2928
- var childOwner = "";
2929
- if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
2930
- childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
2931
- }
2932
- setCurrentlyValidatingElement$1(element);
2933
- error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
2934
- setCurrentlyValidatingElement$1(null);
2935
- }
2936
- }
2937
- function validateChildKeys(node, parentType) {
2938
- {
2939
- if (typeof node !== "object") {
2940
- return;
2941
- }
2942
- if (isArray(node)) {
2943
- for (var i = 0; i < node.length; i++) {
2944
- var child = node[i];
2945
- if (isValidElement(child)) {
2946
- validateExplicitKey(child, parentType);
2947
- }
2948
- }
2949
- } else if (isValidElement(node)) {
2950
- if (node._store) {
2951
- node._store.validated = true;
2952
- }
2953
- } else if (node) {
2954
- var iteratorFn = getIteratorFn(node);
2955
- if (typeof iteratorFn === "function") {
2956
- if (iteratorFn !== node.entries) {
2957
- var iterator = iteratorFn.call(node);
2958
- var step;
2959
- while (!(step = iterator.next()).done) {
2960
- if (isValidElement(step.value)) {
2961
- validateExplicitKey(step.value, parentType);
2962
- }
2963
- }
2964
- }
2965
- }
2966
- }
2967
- }
2968
- }
2969
- function validatePropTypes(element) {
2970
- {
2971
- var type = element.type;
2972
- if (type === null || type === void 0 || typeof type === "string") {
2973
- return;
2974
- }
2975
- var propTypes;
2976
- if (typeof type === "function") {
2977
- propTypes = type.propTypes;
2978
- } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
2979
- // Inner props are checked in the reconciler.
2980
- type.$$typeof === REACT_MEMO_TYPE)) {
2981
- propTypes = type.propTypes;
2982
- } else {
2983
- return;
2984
- }
2985
- if (propTypes) {
2986
- var name = getComponentNameFromType(type);
2987
- checkPropTypes(propTypes, element.props, "prop", name, element);
2988
- } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
2989
- propTypesMisspellWarningShown = true;
2990
- var _name = getComponentNameFromType(type);
2991
- error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
2992
- }
2993
- if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
2994
- error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2995
- }
2996
- }
2997
- }
2998
- function validateFragmentProps(fragment) {
2999
- {
3000
- var keys = Object.keys(fragment.props);
3001
- for (var i = 0; i < keys.length; i++) {
3002
- var key = keys[i];
3003
- if (key !== "children" && key !== "key") {
3004
- setCurrentlyValidatingElement$1(fragment);
3005
- error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
3006
- setCurrentlyValidatingElement$1(null);
3007
- break;
3008
- }
3009
- }
3010
- if (fragment.ref !== null) {
3011
- setCurrentlyValidatingElement$1(fragment);
3012
- error("Invalid attribute `ref` supplied to `React.Fragment`.");
3013
- setCurrentlyValidatingElement$1(null);
3014
- }
3015
- }
3016
- }
3017
- var didWarnAboutKeySpread = {};
3018
- function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
3019
- {
3020
- var validType = isValidElementType(type);
3021
- if (!validType) {
3022
- var info = "";
3023
- if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
3024
- info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
3025
- }
3026
- var sourceInfo = getSourceInfoErrorAddendum(source);
3027
- if (sourceInfo) {
3028
- info += sourceInfo;
3029
- } else {
3030
- info += getDeclarationErrorAddendum();
3031
- }
3032
- var typeString;
3033
- if (type === null) {
3034
- typeString = "null";
3035
- } else if (isArray(type)) {
3036
- typeString = "array";
3037
- } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
3038
- typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
3039
- info = " Did you accidentally export a JSX literal instead of a component?";
3040
- } else {
3041
- typeString = typeof type;
3042
- }
3043
- error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
3044
- }
3045
- var element = jsxDEV(type, props, key, source, self);
3046
- if (element == null) {
3047
- return element;
3048
- }
3049
- if (validType) {
3050
- var children = props.children;
3051
- if (children !== void 0) {
3052
- if (isStaticChildren) {
3053
- if (isArray(children)) {
3054
- for (var i = 0; i < children.length; i++) {
3055
- validateChildKeys(children[i], type);
3056
- }
3057
- if (Object.freeze) {
3058
- Object.freeze(children);
3059
- }
3060
- } else {
3061
- error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
3062
- }
3063
- } else {
3064
- validateChildKeys(children, type);
3065
- }
3066
- }
3067
- }
3068
- {
3069
- if (hasOwnProperty.call(props, "key")) {
3070
- var componentName = getComponentNameFromType(type);
3071
- var keys = Object.keys(props).filter(function(k) {
3072
- return k !== "key";
3073
- });
3074
- var beforeExample = keys.length > 0 ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
3075
- if (!didWarnAboutKeySpread[componentName + beforeExample]) {
3076
- var afterExample = keys.length > 0 ? "{" + keys.join(": ..., ") + ": ...}" : "{}";
3077
- error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);
3078
- didWarnAboutKeySpread[componentName + beforeExample] = true;
3079
- }
3080
- }
3081
- }
3082
- if (type === REACT_FRAGMENT_TYPE) {
3083
- validateFragmentProps(element);
3084
- } else {
3085
- validatePropTypes(element);
3086
- }
3087
- return element;
3088
- }
3089
- }
3090
- function jsxWithValidationStatic(type, props, key) {
3091
- {
3092
- return jsxWithValidation(type, props, key, true);
3093
- }
3094
- }
3095
- function jsxWithValidationDynamic(type, props, key) {
3096
- {
3097
- return jsxWithValidation(type, props, key, false);
3098
- }
3099
- }
3100
- var jsx94 = jsxWithValidationDynamic;
3101
- var jsxs29 = jsxWithValidationStatic;
3102
- exports2.Fragment = REACT_FRAGMENT_TYPE;
3103
- exports2.jsx = jsx94;
3104
- exports2.jsxs = jsxs29;
3105
- })();
3106
- }
3107
- }
3108
- });
3109
-
3110
- // ../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js
3111
- var require_jsx_runtime = __commonJS({
3112
- "../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js"(exports2, module2) {
3113
- "use strict";
3114
- if (process.env.NODE_ENV === "production") {
3115
- module2.exports = require_react_jsx_runtime_production_min();
3116
- } else {
3117
- module2.exports = require_react_jsx_runtime_development();
3118
- }
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
3119
15
  }
3120
- });
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
3121
19
 
3122
20
  // src/index.ts
3123
21
  var index_exports = {};
@@ -3219,7 +117,7 @@ __export(index_exports, {
3219
117
  module.exports = __toCommonJS(index_exports);
3220
118
 
3221
119
  // src/Activity.tsx
3222
- var import_jsx_runtime = __toESM(require_jsx_runtime());
120
+ var import_jsx_runtime = require("react/jsx-runtime");
3223
121
  function SvgActivity(props) {
3224
122
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
3225
123
  "svg",
@@ -3253,7 +151,7 @@ function SvgActivity(props) {
3253
151
  }
3254
152
 
3255
153
  // src/Add.tsx
3256
- var import_jsx_runtime2 = __toESM(require_jsx_runtime());
154
+ var import_jsx_runtime2 = require("react/jsx-runtime");
3257
155
  function SvgAdd(props) {
3258
156
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
3259
157
  "svg",
@@ -3276,7 +174,7 @@ function SvgAdd(props) {
3276
174
  }
3277
175
 
3278
176
  // src/Apps.tsx
3279
- var import_jsx_runtime3 = __toESM(require_jsx_runtime());
177
+ var import_jsx_runtime3 = require("react/jsx-runtime");
3280
178
  function SvgApps(props) {
3281
179
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
3282
180
  "svg",
@@ -3319,7 +217,7 @@ function SvgApps(props) {
3319
217
  }
3320
218
 
3321
219
  // src/ArrowBack.tsx
3322
- var import_jsx_runtime4 = __toESM(require_jsx_runtime());
220
+ var import_jsx_runtime4 = require("react/jsx-runtime");
3323
221
  function SvgArrowBack(props) {
3324
222
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
3325
223
  "svg",
@@ -3342,7 +240,7 @@ function SvgArrowBack(props) {
3342
240
  }
3343
241
 
3344
242
  // src/ArrowBottomLeft.tsx
3345
- var import_jsx_runtime5 = __toESM(require_jsx_runtime());
243
+ var import_jsx_runtime5 = require("react/jsx-runtime");
3346
244
  function SvgArrowBottomLeft(props) {
3347
245
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
3348
246
  "svg",
@@ -3365,7 +263,7 @@ function SvgArrowBottomLeft(props) {
3365
263
  }
3366
264
 
3367
265
  // src/ArrowDown.tsx
3368
- var import_jsx_runtime6 = __toESM(require_jsx_runtime());
266
+ var import_jsx_runtime6 = require("react/jsx-runtime");
3369
267
  function SvgArrowDown(props) {
3370
268
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
3371
269
  "svg",
@@ -3388,7 +286,7 @@ function SvgArrowDown(props) {
3388
286
  }
3389
287
 
3390
288
  // src/ArrowForward.tsx
3391
- var import_jsx_runtime7 = __toESM(require_jsx_runtime());
289
+ var import_jsx_runtime7 = require("react/jsx-runtime");
3392
290
  function SvgArrowForward(props) {
3393
291
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
3394
292
  "svg",
@@ -3411,7 +309,7 @@ function SvgArrowForward(props) {
3411
309
  }
3412
310
 
3413
311
  // src/ArrowLeft.tsx
3414
- var import_jsx_runtime8 = __toESM(require_jsx_runtime());
312
+ var import_jsx_runtime8 = require("react/jsx-runtime");
3415
313
  function SvgArrowLeft(props) {
3416
314
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
3417
315
  "svg",
@@ -3434,7 +332,7 @@ function SvgArrowLeft(props) {
3434
332
  }
3435
333
 
3436
334
  // src/ArrowRight.tsx
3437
- var import_jsx_runtime9 = __toESM(require_jsx_runtime());
335
+ var import_jsx_runtime9 = require("react/jsx-runtime");
3438
336
  function SvgArrowRight(props) {
3439
337
  return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
3440
338
  "svg",
@@ -3457,7 +355,7 @@ function SvgArrowRight(props) {
3457
355
  }
3458
356
 
3459
357
  // src/ArrowTopRight.tsx
3460
- var import_jsx_runtime10 = __toESM(require_jsx_runtime());
358
+ var import_jsx_runtime10 = require("react/jsx-runtime");
3461
359
  function SvgArrowTopRight(props) {
3462
360
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
3463
361
  "svg",
@@ -3480,7 +378,7 @@ function SvgArrowTopRight(props) {
3480
378
  }
3481
379
 
3482
380
  // src/ArrowUp.tsx
3483
- var import_jsx_runtime11 = __toESM(require_jsx_runtime());
381
+ var import_jsx_runtime11 = require("react/jsx-runtime");
3484
382
  function SvgArrowUp(props) {
3485
383
  return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
3486
384
  "svg",
@@ -3503,7 +401,7 @@ function SvgArrowUp(props) {
3503
401
  }
3504
402
 
3505
403
  // src/Assets.tsx
3506
- var import_jsx_runtime12 = __toESM(require_jsx_runtime());
404
+ var import_jsx_runtime12 = require("react/jsx-runtime");
3507
405
  function SvgAssets(props) {
3508
406
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
3509
407
  "svg",
@@ -3528,7 +426,7 @@ function SvgAssets(props) {
3528
426
  }
3529
427
 
3530
428
  // src/Calendar.tsx
3531
- var import_jsx_runtime13 = __toESM(require_jsx_runtime());
429
+ var import_jsx_runtime13 = require("react/jsx-runtime");
3532
430
  function SvgCalendar(props) {
3533
431
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
3534
432
  "svg",
@@ -3556,7 +454,7 @@ function SvgCalendar(props) {
3556
454
  }
3557
455
 
3558
456
  // src/Checkmark.tsx
3559
- var import_jsx_runtime14 = __toESM(require_jsx_runtime());
457
+ var import_jsx_runtime14 = require("react/jsx-runtime");
3560
458
  function SvgCheckmark(props) {
3561
459
  return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
3562
460
  "svg",
@@ -3581,7 +479,7 @@ function SvgCheckmark(props) {
3581
479
  }
3582
480
 
3583
481
  // src/CheckmarkFilled.tsx
3584
- var import_jsx_runtime15 = __toESM(require_jsx_runtime());
482
+ var import_jsx_runtime15 = require("react/jsx-runtime");
3585
483
  function SvgCheckmarkFilled(props) {
3586
484
  return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
3587
485
  "svg",
@@ -3606,7 +504,7 @@ function SvgCheckmarkFilled(props) {
3606
504
  }
3607
505
 
3608
506
  // src/CircleEmitter.tsx
3609
- var import_jsx_runtime16 = __toESM(require_jsx_runtime());
507
+ var import_jsx_runtime16 = require("react/jsx-runtime");
3610
508
  function SvgCircleEmitter(props) {
3611
509
  return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
3612
510
  "svg",
@@ -3640,7 +538,7 @@ function SvgCircleEmitter(props) {
3640
538
  }
3641
539
 
3642
540
  // src/Clock.tsx
3643
- var import_jsx_runtime17 = __toESM(require_jsx_runtime());
541
+ var import_jsx_runtime17 = require("react/jsx-runtime");
3644
542
  function SvgClock(props) {
3645
543
  return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
3646
544
  "svg",
@@ -3665,7 +563,7 @@ function SvgClock(props) {
3665
563
  }
3666
564
 
3667
565
  // src/Close.tsx
3668
- var import_jsx_runtime18 = __toESM(require_jsx_runtime());
566
+ var import_jsx_runtime18 = require("react/jsx-runtime");
3669
567
  function SvgClose(props) {
3670
568
  return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3671
569
  "svg",
@@ -3690,7 +588,7 @@ function SvgClose(props) {
3690
588
  }
3691
589
 
3692
590
  // src/Copy.tsx
3693
- var import_jsx_runtime19 = __toESM(require_jsx_runtime());
591
+ var import_jsx_runtime19 = require("react/jsx-runtime");
3694
592
  function SvgCopy(props) {
3695
593
  return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
3696
594
  "svg",
@@ -3715,7 +613,7 @@ function SvgCopy(props) {
3715
613
  }
3716
614
 
3717
615
  // src/Create.tsx
3718
- var import_jsx_runtime20 = __toESM(require_jsx_runtime());
616
+ var import_jsx_runtime20 = require("react/jsx-runtime");
3719
617
  function SvgCreate(props) {
3720
618
  return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
3721
619
  "svg",
@@ -3749,7 +647,7 @@ function SvgCreate(props) {
3749
647
  }
3750
648
 
3751
649
  // src/DarkMode.tsx
3752
- var import_jsx_runtime21 = __toESM(require_jsx_runtime());
650
+ var import_jsx_runtime21 = require("react/jsx-runtime");
3753
651
  function SvgDarkMode(props) {
3754
652
  return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
3755
653
  "svg",
@@ -3774,7 +672,7 @@ function SvgDarkMode(props) {
3774
672
  }
3775
673
 
3776
674
  // src/Dash.tsx
3777
- var import_jsx_runtime22 = __toESM(require_jsx_runtime());
675
+ var import_jsx_runtime22 = require("react/jsx-runtime");
3778
676
  function SvgDash(props) {
3779
677
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
3780
678
  "svg",
@@ -3791,7 +689,7 @@ function SvgDash(props) {
3791
689
  }
3792
690
 
3793
691
  // src/DataStack.tsx
3794
- var import_jsx_runtime23 = __toESM(require_jsx_runtime());
692
+ var import_jsx_runtime23 = require("react/jsx-runtime");
3795
693
  function SvgDataStack(props) {
3796
694
  return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
3797
695
  "svg",
@@ -3830,7 +728,7 @@ function SvgDataStack(props) {
3830
728
  }
3831
729
 
3832
730
  // src/Delete.tsx
3833
- var import_jsx_runtime24 = __toESM(require_jsx_runtime());
731
+ var import_jsx_runtime24 = require("react/jsx-runtime");
3834
732
  function SvgDelete(props) {
3835
733
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
3836
734
  "svg",
@@ -3855,7 +753,7 @@ function SvgDelete(props) {
3855
753
  }
3856
754
 
3857
755
  // src/Disconnect.tsx
3858
- var import_jsx_runtime25 = __toESM(require_jsx_runtime());
756
+ var import_jsx_runtime25 = require("react/jsx-runtime");
3859
757
  function SvgDisconnect(props) {
3860
758
  return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
3861
759
  "svg",
@@ -3878,7 +776,7 @@ function SvgDisconnect(props) {
3878
776
  }
3879
777
 
3880
778
  // src/Discord.tsx
3881
- var import_jsx_runtime26 = __toESM(require_jsx_runtime());
779
+ var import_jsx_runtime26 = require("react/jsx-runtime");
3882
780
  function SvgDiscord(props) {
3883
781
  return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
3884
782
  "svg",
@@ -3901,7 +799,7 @@ function SvgDiscord(props) {
3901
799
  }
3902
800
 
3903
801
  // src/DoubleArrowLeft.tsx
3904
- var import_jsx_runtime27 = __toESM(require_jsx_runtime());
802
+ var import_jsx_runtime27 = require("react/jsx-runtime");
3905
803
  function SvgDoubleArrowLeft(props) {
3906
804
  return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
3907
805
  "svg",
@@ -3933,7 +831,7 @@ function SvgDoubleArrowLeft(props) {
3933
831
  }
3934
832
 
3935
833
  // src/DoubleArrowRight.tsx
3936
- var import_jsx_runtime28 = __toESM(require_jsx_runtime());
834
+ var import_jsx_runtime28 = require("react/jsx-runtime");
3937
835
  function SvgDoubleArrowRight(props) {
3938
836
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
3939
837
  "svg",
@@ -3965,7 +863,7 @@ function SvgDoubleArrowRight(props) {
3965
863
  }
3966
864
 
3967
865
  // src/Edit.tsx
3968
- var import_jsx_runtime29 = __toESM(require_jsx_runtime());
866
+ var import_jsx_runtime29 = require("react/jsx-runtime");
3969
867
  function SvgEdit(props) {
3970
868
  return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3971
869
  "svg",
@@ -3990,7 +888,7 @@ function SvgEdit(props) {
3990
888
  }
3991
889
 
3992
890
  // src/Exclamation.tsx
3993
- var import_jsx_runtime30 = __toESM(require_jsx_runtime());
891
+ var import_jsx_runtime30 = require("react/jsx-runtime");
3994
892
  function SvgExclamation(props) {
3995
893
  return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3996
894
  "svg",
@@ -4015,7 +913,7 @@ function SvgExclamation(props) {
4015
913
  }
4016
914
 
4017
915
  // src/Expand.tsx
4018
- var import_jsx_runtime31 = __toESM(require_jsx_runtime());
916
+ var import_jsx_runtime31 = require("react/jsx-runtime");
4019
917
  function SvgExpand(props) {
4020
918
  return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
4021
919
  "svg",
@@ -4038,7 +936,7 @@ function SvgExpand(props) {
4038
936
  }
4039
937
 
4040
938
  // src/Export.tsx
4041
- var import_jsx_runtime32 = __toESM(require_jsx_runtime());
939
+ var import_jsx_runtime32 = require("react/jsx-runtime");
4042
940
  function SvgExport(props) {
4043
941
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
4044
942
  "svg",
@@ -4070,7 +968,7 @@ function SvgExport(props) {
4070
968
  }
4071
969
 
4072
970
  // src/FilterList.tsx
4073
- var import_jsx_runtime33 = __toESM(require_jsx_runtime());
971
+ var import_jsx_runtime33 = require("react/jsx-runtime");
4074
972
  function SvgFilterList(props) {
4075
973
  return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
4076
974
  "svg",
@@ -4093,7 +991,7 @@ function SvgFilterList(props) {
4093
991
  }
4094
992
 
4095
993
  // src/Flag.tsx
4096
- var import_jsx_runtime34 = __toESM(require_jsx_runtime());
994
+ var import_jsx_runtime34 = require("react/jsx-runtime");
4097
995
  function SvgFlag(props) {
4098
996
  return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
4099
997
  "svg",
@@ -4116,7 +1014,7 @@ function SvgFlag(props) {
4116
1014
  }
4117
1015
 
4118
1016
  // src/Globe.tsx
4119
- var import_jsx_runtime35 = __toESM(require_jsx_runtime());
1017
+ var import_jsx_runtime35 = require("react/jsx-runtime");
4120
1018
  function SvgGlobe(props) {
4121
1019
  return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
4122
1020
  "svg",
@@ -4141,7 +1039,7 @@ function SvgGlobe(props) {
4141
1039
  }
4142
1040
 
4143
1041
  // src/Handler.tsx
4144
- var import_jsx_runtime36 = __toESM(require_jsx_runtime());
1042
+ var import_jsx_runtime36 = require("react/jsx-runtime");
4145
1043
  function SvgHandler(props) {
4146
1044
  return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
4147
1045
  "svg",
@@ -4164,7 +1062,7 @@ function SvgHandler(props) {
4164
1062
  }
4165
1063
 
4166
1064
  // src/Home.tsx
4167
- var import_jsx_runtime37 = __toESM(require_jsx_runtime());
1065
+ var import_jsx_runtime37 = require("react/jsx-runtime");
4168
1066
  function SvgHome(props) {
4169
1067
  return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
4170
1068
  "svg",
@@ -4192,7 +1090,7 @@ function SvgHome(props) {
4192
1090
  }
4193
1091
 
4194
1092
  // src/ImageIcon.tsx
4195
- var import_jsx_runtime38 = __toESM(require_jsx_runtime());
1093
+ var import_jsx_runtime38 = require("react/jsx-runtime");
4196
1094
  function SvgImageIcon(props) {
4197
1095
  return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
4198
1096
  "svg",
@@ -4220,7 +1118,7 @@ function SvgImageIcon(props) {
4220
1118
  }
4221
1119
 
4222
1120
  // src/ImportPass.tsx
4223
- var import_jsx_runtime39 = __toESM(require_jsx_runtime());
1121
+ var import_jsx_runtime39 = require("react/jsx-runtime");
4224
1122
  function SvgImportPass(props) {
4225
1123
  return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
4226
1124
  "svg",
@@ -4252,7 +1150,7 @@ function SvgImportPass(props) {
4252
1150
  }
4253
1151
 
4254
1152
  // src/Info.tsx
4255
- var import_jsx_runtime40 = __toESM(require_jsx_runtime());
1153
+ var import_jsx_runtime40 = require("react/jsx-runtime");
4256
1154
  function SvgInfo(props) {
4257
1155
  return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4258
1156
  "svg",
@@ -4277,7 +1175,7 @@ function SvgInfo(props) {
4277
1175
  }
4278
1176
 
4279
1177
  // src/IotaLogoMark.tsx
4280
- var import_jsx_runtime41 = __toESM(require_jsx_runtime());
1178
+ var import_jsx_runtime41 = require("react/jsx-runtime");
4281
1179
  function SvgIotaLogoMark(props) {
4282
1180
  return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4283
1181
  "svg",
@@ -4300,7 +1198,7 @@ function SvgIotaLogoMark(props) {
4300
1198
  }
4301
1199
 
4302
1200
  // src/IotaLogoSmall.tsx
4303
- var import_jsx_runtime42 = __toESM(require_jsx_runtime());
1201
+ var import_jsx_runtime42 = require("react/jsx-runtime");
4304
1202
  function SvgIotaLogoSmall(props) {
4305
1203
  return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4306
1204
  "svg",
@@ -4323,7 +1221,7 @@ function SvgIotaLogoSmall(props) {
4323
1221
  }
4324
1222
 
4325
1223
  // src/IotaLogoWeb.tsx
4326
- var import_jsx_runtime43 = __toESM(require_jsx_runtime());
1224
+ var import_jsx_runtime43 = require("react/jsx-runtime");
4327
1225
  function SvgIotaLogoWeb(props) {
4328
1226
  return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4329
1227
  "svg",
@@ -4353,7 +1251,7 @@ function SvgIotaLogoWeb(props) {
4353
1251
  }
4354
1252
 
4355
1253
  // src/Key.tsx
4356
- var import_jsx_runtime44 = __toESM(require_jsx_runtime());
1254
+ var import_jsx_runtime44 = require("react/jsx-runtime");
4357
1255
  function SvgKey(props) {
4358
1256
  return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
4359
1257
  "svg",
@@ -4381,7 +1279,7 @@ function SvgKey(props) {
4381
1279
  }
4382
1280
 
4383
1281
  // src/Ledger.tsx
4384
- var import_jsx_runtime45 = __toESM(require_jsx_runtime());
1282
+ var import_jsx_runtime45 = require("react/jsx-runtime");
4385
1283
  function SvgLedger(props) {
4386
1284
  return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4387
1285
  "svg",
@@ -4404,7 +1302,7 @@ function SvgLedger(props) {
4404
1302
  }
4405
1303
 
4406
1304
  // src/LightMode.tsx
4407
- var import_jsx_runtime46 = __toESM(require_jsx_runtime());
1305
+ var import_jsx_runtime46 = require("react/jsx-runtime");
4408
1306
  function SvgLightMode(props) {
4409
1307
  return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4410
1308
  "svg",
@@ -4439,7 +1337,7 @@ function SvgLightMode(props) {
4439
1337
  }
4440
1338
 
4441
1339
  // src/Link.tsx
4442
- var import_jsx_runtime47 = __toESM(require_jsx_runtime());
1340
+ var import_jsx_runtime47 = require("react/jsx-runtime");
4443
1341
  function SvgLink(props) {
4444
1342
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4445
1343
  "svg",
@@ -4462,7 +1360,7 @@ function SvgLink(props) {
4462
1360
  }
4463
1361
 
4464
1362
  // src/ListViewLarge.tsx
4465
- var import_jsx_runtime48 = __toESM(require_jsx_runtime());
1363
+ var import_jsx_runtime48 = require("react/jsx-runtime");
4466
1364
  function SvgListViewLarge(props) {
4467
1365
  return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4468
1366
  "svg",
@@ -4485,7 +1383,7 @@ function SvgListViewLarge(props) {
4485
1383
  }
4486
1384
 
4487
1385
  // src/ListViewMedium.tsx
4488
- var import_jsx_runtime49 = __toESM(require_jsx_runtime());
1386
+ var import_jsx_runtime49 = require("react/jsx-runtime");
4489
1387
  function SvgListViewMedium(props) {
4490
1388
  return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
4491
1389
  "svg",
@@ -4519,7 +1417,7 @@ function SvgListViewMedium(props) {
4519
1417
  }
4520
1418
 
4521
1419
  // src/ListViewSmall.tsx
4522
- var import_jsx_runtime50 = __toESM(require_jsx_runtime());
1420
+ var import_jsx_runtime50 = require("react/jsx-runtime");
4523
1421
  function SvgListViewSmall(props) {
4524
1422
  return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4525
1423
  "svg",
@@ -4542,7 +1440,7 @@ function SvgListViewSmall(props) {
4542
1440
  }
4543
1441
 
4544
1442
  // src/Loader.tsx
4545
- var import_jsx_runtime51 = __toESM(require_jsx_runtime());
1443
+ var import_jsx_runtime51 = require("react/jsx-runtime");
4546
1444
  function SvgLoader(props) {
4547
1445
  return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4548
1446
  "svg",
@@ -4567,7 +1465,7 @@ function SvgLoader(props) {
4567
1465
  }
4568
1466
 
4569
1467
  // src/LockLocked.tsx
4570
- var import_jsx_runtime52 = __toESM(require_jsx_runtime());
1468
+ var import_jsx_runtime52 = require("react/jsx-runtime");
4571
1469
  function SvgLockLocked(props) {
4572
1470
  return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
4573
1471
  "svg",
@@ -4592,7 +1490,7 @@ function SvgLockLocked(props) {
4592
1490
  }
4593
1491
 
4594
1492
  // src/LockUnlocked.tsx
4595
- var import_jsx_runtime53 = __toESM(require_jsx_runtime());
1493
+ var import_jsx_runtime53 = require("react/jsx-runtime");
4596
1494
  function SvgLockUnlocked(props) {
4597
1495
  return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
4598
1496
  "svg",
@@ -4617,7 +1515,7 @@ function SvgLockUnlocked(props) {
4617
1515
  }
4618
1516
 
4619
1517
  // src/Logout.tsx
4620
- var import_jsx_runtime54 = __toESM(require_jsx_runtime());
1518
+ var import_jsx_runtime54 = require("react/jsx-runtime");
4621
1519
  function SvgLogout(props) {
4622
1520
  return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
4623
1521
  "svg",
@@ -4649,7 +1547,7 @@ function SvgLogout(props) {
4649
1547
  }
4650
1548
 
4651
1549
  // src/MenuIcon.tsx
4652
- var import_jsx_runtime55 = __toESM(require_jsx_runtime());
1550
+ var import_jsx_runtime55 = require("react/jsx-runtime");
4653
1551
  function SvgMenuIcon(props) {
4654
1552
  return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
4655
1553
  "svg",
@@ -4672,7 +1570,7 @@ function SvgMenuIcon(props) {
4672
1570
  }
4673
1571
 
4674
1572
  // src/Migration.tsx
4675
- var import_jsx_runtime56 = __toESM(require_jsx_runtime());
1573
+ var import_jsx_runtime56 = require("react/jsx-runtime");
4676
1574
  function SvgMigration(props) {
4677
1575
  return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
4678
1576
  "svg",
@@ -4704,7 +1602,7 @@ function SvgMigration(props) {
4704
1602
  }
4705
1603
 
4706
1604
  // src/MoreHoriz.tsx
4707
- var import_jsx_runtime57 = __toESM(require_jsx_runtime());
1605
+ var import_jsx_runtime57 = require("react/jsx-runtime");
4708
1606
  function SvgMoreHoriz(props) {
4709
1607
  return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
4710
1608
  "svg",
@@ -4727,7 +1625,7 @@ function SvgMoreHoriz(props) {
4727
1625
  }
4728
1626
 
4729
1627
  // src/MoreVert.tsx
4730
- var import_jsx_runtime58 = __toESM(require_jsx_runtime());
1628
+ var import_jsx_runtime58 = require("react/jsx-runtime");
4731
1629
  function SvgMoreVert(props) {
4732
1630
  return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4733
1631
  "svg",
@@ -4750,7 +1648,7 @@ function SvgMoreVert(props) {
4750
1648
  }
4751
1649
 
4752
1650
  // src/OutboundLink.tsx
4753
- var import_jsx_runtime59 = __toESM(require_jsx_runtime());
1651
+ var import_jsx_runtime59 = require("react/jsx-runtime");
4754
1652
  function SvgOutboundLink(props) {
4755
1653
  return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4756
1654
  "svg",
@@ -4782,7 +1680,7 @@ function SvgOutboundLink(props) {
4782
1680
  }
4783
1681
 
4784
1682
  // src/Pause.tsx
4785
- var import_jsx_runtime60 = __toESM(require_jsx_runtime());
1683
+ var import_jsx_runtime60 = require("react/jsx-runtime");
4786
1684
  function SvgPause(props) {
4787
1685
  return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4788
1686
  "svg",
@@ -4805,7 +1703,7 @@ function SvgPause(props) {
4805
1703
  }
4806
1704
 
4807
1705
  // src/Person.tsx
4808
- var import_jsx_runtime61 = __toESM(require_jsx_runtime());
1706
+ var import_jsx_runtime61 = require("react/jsx-runtime");
4809
1707
  function SvgPerson(props) {
4810
1708
  return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
4811
1709
  "svg",
@@ -4830,7 +1728,7 @@ function SvgPerson(props) {
4830
1728
  }
4831
1729
 
4832
1730
  // src/Pined.tsx
4833
- var import_jsx_runtime62 = __toESM(require_jsx_runtime());
1731
+ var import_jsx_runtime62 = require("react/jsx-runtime");
4834
1732
  function SvgPined(props) {
4835
1733
  return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
4836
1734
  "svg",
@@ -4847,7 +1745,7 @@ function SvgPined(props) {
4847
1745
  }
4848
1746
 
4849
1747
  // src/PlaceholderReplace.tsx
4850
- var import_jsx_runtime63 = __toESM(require_jsx_runtime());
1748
+ var import_jsx_runtime63 = require("react/jsx-runtime");
4851
1749
  function SvgPlaceholderReplace(props) {
4852
1750
  return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
4853
1751
  "svg",
@@ -4881,7 +1779,7 @@ function SvgPlaceholderReplace(props) {
4881
1779
  }
4882
1780
 
4883
1781
  // src/Play.tsx
4884
- var import_jsx_runtime64 = __toESM(require_jsx_runtime());
1782
+ var import_jsx_runtime64 = require("react/jsx-runtime");
4885
1783
  function SvgPlay(props) {
4886
1784
  return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
4887
1785
  "svg",
@@ -4904,7 +1802,7 @@ function SvgPlay(props) {
4904
1802
  }
4905
1803
 
4906
1804
  // src/QrCode.tsx
4907
- var import_jsx_runtime65 = __toESM(require_jsx_runtime());
1805
+ var import_jsx_runtime65 = require("react/jsx-runtime");
4908
1806
  function SvgQrCode(props) {
4909
1807
  return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
4910
1808
  "svg",
@@ -4938,7 +1836,7 @@ function SvgQrCode(props) {
4938
1836
  }
4939
1837
 
4940
1838
  // src/RadioOff.tsx
4941
- var import_jsx_runtime66 = __toESM(require_jsx_runtime());
1839
+ var import_jsx_runtime66 = require("react/jsx-runtime");
4942
1840
  function SvgRadioOff(props) {
4943
1841
  return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4944
1842
  "svg",
@@ -4961,7 +1859,7 @@ function SvgRadioOff(props) {
4961
1859
  }
4962
1860
 
4963
1861
  // src/RadioOn.tsx
4964
- var import_jsx_runtime67 = __toESM(require_jsx_runtime());
1862
+ var import_jsx_runtime67 = require("react/jsx-runtime");
4965
1863
  function SvgRadioOn(props) {
4966
1864
  return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
4967
1865
  "svg",
@@ -4987,7 +1885,7 @@ function SvgRadioOn(props) {
4987
1885
  }
4988
1886
 
4989
1887
  // src/RecognizedBadge.tsx
4990
- var import_jsx_runtime68 = __toESM(require_jsx_runtime());
1888
+ var import_jsx_runtime68 = require("react/jsx-runtime");
4991
1889
  function SvgRecognizedBadge(props) {
4992
1890
  return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
4993
1891
  "svg",
@@ -5012,7 +1910,7 @@ function SvgRecognizedBadge(props) {
5012
1910
  }
5013
1911
 
5014
1912
  // src/Refresh.tsx
5015
- var import_jsx_runtime69 = __toESM(require_jsx_runtime());
1913
+ var import_jsx_runtime69 = require("react/jsx-runtime");
5016
1914
  function SvgRefresh(props) {
5017
1915
  return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
5018
1916
  "svg",
@@ -5035,7 +1933,7 @@ function SvgRefresh(props) {
5035
1933
  }
5036
1934
 
5037
1935
  // src/RewardsOff.tsx
5038
- var import_jsx_runtime70 = __toESM(require_jsx_runtime());
1936
+ var import_jsx_runtime70 = require("react/jsx-runtime");
5039
1937
  function SvgRewardsOff(props) {
5040
1938
  return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
5041
1939
  "svg",
@@ -5058,7 +1956,7 @@ function SvgRewardsOff(props) {
5058
1956
  }
5059
1957
 
5060
1958
  // src/Save.tsx
5061
- var import_jsx_runtime71 = __toESM(require_jsx_runtime());
1959
+ var import_jsx_runtime71 = require("react/jsx-runtime");
5062
1960
  function SvgSave(props) {
5063
1961
  return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
5064
1962
  "svg",
@@ -5083,7 +1981,7 @@ function SvgSave(props) {
5083
1981
  }
5084
1982
 
5085
1983
  // src/Search.tsx
5086
- var import_jsx_runtime72 = __toESM(require_jsx_runtime());
1984
+ var import_jsx_runtime72 = require("react/jsx-runtime");
5087
1985
  function SvgSearch(props) {
5088
1986
  return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
5089
1987
  "svg",
@@ -5108,7 +2006,7 @@ function SvgSearch(props) {
5108
2006
  }
5109
2007
 
5110
2008
  // src/Seed.tsx
5111
- var import_jsx_runtime73 = __toESM(require_jsx_runtime());
2009
+ var import_jsx_runtime73 = require("react/jsx-runtime");
5112
2010
  function SvgSeed(props) {
5113
2011
  return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
5114
2012
  "svg",
@@ -5131,7 +2029,7 @@ function SvgSeed(props) {
5131
2029
  }
5132
2030
 
5133
2031
  // src/Send.tsx
5134
- var import_jsx_runtime74 = __toESM(require_jsx_runtime());
2032
+ var import_jsx_runtime74 = require("react/jsx-runtime");
5135
2033
  function SvgSend(props) {
5136
2034
  return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
5137
2035
  "svg",
@@ -5156,7 +2054,7 @@ function SvgSend(props) {
5156
2054
  }
5157
2055
 
5158
2056
  // src/Settings.tsx
5159
- var import_jsx_runtime75 = __toESM(require_jsx_runtime());
2057
+ var import_jsx_runtime75 = require("react/jsx-runtime");
5160
2058
  function SvgSettings(props) {
5161
2059
  return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
5162
2060
  "svg",
@@ -5181,7 +2079,7 @@ function SvgSettings(props) {
5181
2079
  }
5182
2080
 
5183
2081
  // src/SortByDefault.tsx
5184
- var import_jsx_runtime76 = __toESM(require_jsx_runtime());
2082
+ var import_jsx_runtime76 = require("react/jsx-runtime");
5185
2083
  function SvgSortByDefault(props) {
5186
2084
  return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
5187
2085
  "svg",
@@ -5204,7 +2102,7 @@ function SvgSortByDefault(props) {
5204
2102
  }
5205
2103
 
5206
2104
  // src/SortByDown.tsx
5207
- var import_jsx_runtime77 = __toESM(require_jsx_runtime());
2105
+ var import_jsx_runtime77 = require("react/jsx-runtime");
5208
2106
  function SvgSortByDown(props) {
5209
2107
  return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
5210
2108
  "svg",
@@ -5227,7 +2125,7 @@ function SvgSortByDown(props) {
5227
2125
  }
5228
2126
 
5229
2127
  // src/SortByUp.tsx
5230
- var import_jsx_runtime78 = __toESM(require_jsx_runtime());
2128
+ var import_jsx_runtime78 = require("react/jsx-runtime");
5231
2129
  function SvgSortByUp(props) {
5232
2130
  return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
5233
2131
  "svg",
@@ -5250,7 +2148,7 @@ function SvgSortByUp(props) {
5250
2148
  }
5251
2149
 
5252
2150
  // src/Stake.tsx
5253
- var import_jsx_runtime79 = __toESM(require_jsx_runtime());
2151
+ var import_jsx_runtime79 = require("react/jsx-runtime");
5254
2152
  function SvgStake(props) {
5255
2153
  return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
5256
2154
  "svg",
@@ -5275,7 +2173,7 @@ function SvgStake(props) {
5275
2173
  }
5276
2174
 
5277
2175
  // src/StarHex.tsx
5278
- var import_jsx_runtime80 = __toESM(require_jsx_runtime());
2176
+ var import_jsx_runtime80 = require("react/jsx-runtime");
5279
2177
  function SvgStarHex(props) {
5280
2178
  return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
5281
2179
  "svg",
@@ -5309,7 +2207,7 @@ function SvgStarHex(props) {
5309
2207
  }
5310
2208
 
5311
2209
  // src/SwapAccount.tsx
5312
- var import_jsx_runtime81 = __toESM(require_jsx_runtime());
2210
+ var import_jsx_runtime81 = require("react/jsx-runtime");
5313
2211
  function SvgSwapAccount(props) {
5314
2212
  return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
5315
2213
  "svg",
@@ -5332,7 +2230,7 @@ function SvgSwapAccount(props) {
5332
2230
  }
5333
2231
 
5334
2232
  // src/ThumbUp.tsx
5335
- var import_jsx_runtime82 = __toESM(require_jsx_runtime());
2233
+ var import_jsx_runtime82 = require("react/jsx-runtime");
5336
2234
  function SvgThumbUp(props) {
5337
2235
  return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
5338
2236
  "svg",
@@ -5355,7 +2253,7 @@ function SvgThumbUp(props) {
5355
2253
  }
5356
2254
 
5357
2255
  // src/TriangleDown.tsx
5358
- var import_jsx_runtime83 = __toESM(require_jsx_runtime());
2256
+ var import_jsx_runtime83 = require("react/jsx-runtime");
5359
2257
  function SvgTriangleDown(props) {
5360
2258
  return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
5361
2259
  "svg",
@@ -5378,7 +2276,7 @@ function SvgTriangleDown(props) {
5378
2276
  }
5379
2277
 
5380
2278
  // src/TriangleLeft.tsx
5381
- var import_jsx_runtime84 = __toESM(require_jsx_runtime());
2279
+ var import_jsx_runtime84 = require("react/jsx-runtime");
5382
2280
  function SvgTriangleLeft(props) {
5383
2281
  return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
5384
2282
  "svg",
@@ -5401,7 +2299,7 @@ function SvgTriangleLeft(props) {
5401
2299
  }
5402
2300
 
5403
2301
  // src/TriangleRight.tsx
5404
- var import_jsx_runtime85 = __toESM(require_jsx_runtime());
2302
+ var import_jsx_runtime85 = require("react/jsx-runtime");
5405
2303
  function SvgTriangleRight(props) {
5406
2304
  return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
5407
2305
  "svg",
@@ -5424,7 +2322,7 @@ function SvgTriangleRight(props) {
5424
2322
  }
5425
2323
 
5426
2324
  // src/TriangleUp.tsx
5427
- var import_jsx_runtime86 = __toESM(require_jsx_runtime());
2325
+ var import_jsx_runtime86 = require("react/jsx-runtime");
5428
2326
  function SvgTriangleUp(props) {
5429
2327
  return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
5430
2328
  "svg",
@@ -5447,7 +2345,7 @@ function SvgTriangleUp(props) {
5447
2345
  }
5448
2346
 
5449
2347
  // src/Unpined.tsx
5450
- var import_jsx_runtime87 = __toESM(require_jsx_runtime());
2348
+ var import_jsx_runtime87 = require("react/jsx-runtime");
5451
2349
  function SvgUnpined(props) {
5452
2350
  return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
5453
2351
  "svg",
@@ -5470,7 +2368,7 @@ function SvgUnpined(props) {
5470
2368
  }
5471
2369
 
5472
2370
  // src/Unstake.tsx
5473
- var import_jsx_runtime88 = __toESM(require_jsx_runtime());
2371
+ var import_jsx_runtime88 = require("react/jsx-runtime");
5474
2372
  function SvgUnstake(props) {
5475
2373
  return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
5476
2374
  "svg",
@@ -5505,7 +2403,7 @@ function SvgUnstake(props) {
5505
2403
  }
5506
2404
 
5507
2405
  // src/Vest.tsx
5508
- var import_jsx_runtime89 = __toESM(require_jsx_runtime());
2406
+ var import_jsx_runtime89 = require("react/jsx-runtime");
5509
2407
  function SvgVest(props) {
5510
2408
  return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
5511
2409
  "svg",
@@ -5539,7 +2437,7 @@ function SvgVest(props) {
5539
2437
  }
5540
2438
 
5541
2439
  // src/Vesting.tsx
5542
- var import_jsx_runtime90 = __toESM(require_jsx_runtime());
2440
+ var import_jsx_runtime90 = require("react/jsx-runtime");
5543
2441
  function SvgVesting(props) {
5544
2442
  return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
5545
2443
  "svg",
@@ -5570,7 +2468,7 @@ function SvgVesting(props) {
5570
2468
  }
5571
2469
 
5572
2470
  // src/VisibilityOff.tsx
5573
- var import_jsx_runtime91 = __toESM(require_jsx_runtime());
2471
+ var import_jsx_runtime91 = require("react/jsx-runtime");
5574
2472
  function SvgVisibilityOff(props) {
5575
2473
  return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
5576
2474
  "svg",
@@ -5604,7 +2502,7 @@ function SvgVisibilityOff(props) {
5604
2502
  }
5605
2503
 
5606
2504
  // src/VisibilityOn.tsx
5607
- var import_jsx_runtime92 = __toESM(require_jsx_runtime());
2505
+ var import_jsx_runtime92 = require("react/jsx-runtime");
5608
2506
  function SvgVisibilityOn(props) {
5609
2507
  return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
5610
2508
  "svg",
@@ -5632,7 +2530,7 @@ function SvgVisibilityOn(props) {
5632
2530
  }
5633
2531
 
5634
2532
  // src/Warning.tsx
5635
- var import_jsx_runtime93 = __toESM(require_jsx_runtime());
2533
+ var import_jsx_runtime93 = require("react/jsx-runtime");
5636
2534
  function SvgWarning(props) {
5637
2535
  return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
5638
2536
  "svg",
@@ -5751,49 +2649,3 @@ function SvgWarning(props) {
5751
2649
  VisibilityOn,
5752
2650
  Warning
5753
2651
  });
5754
- /*! Bundled license information:
5755
-
5756
- react/cjs/react.production.min.js:
5757
- (**
5758
- * @license React
5759
- * react.production.min.js
5760
- *
5761
- * Copyright (c) Facebook, Inc. and its affiliates.
5762
- *
5763
- * This source code is licensed under the MIT license found in the
5764
- * LICENSE file in the root directory of this source tree.
5765
- *)
5766
-
5767
- react/cjs/react.development.js:
5768
- (**
5769
- * @license React
5770
- * react.development.js
5771
- *
5772
- * Copyright (c) Facebook, Inc. and its affiliates.
5773
- *
5774
- * This source code is licensed under the MIT license found in the
5775
- * LICENSE file in the root directory of this source tree.
5776
- *)
5777
-
5778
- react/cjs/react-jsx-runtime.production.min.js:
5779
- (**
5780
- * @license React
5781
- * react-jsx-runtime.production.min.js
5782
- *
5783
- * Copyright (c) Facebook, Inc. and its affiliates.
5784
- *
5785
- * This source code is licensed under the MIT license found in the
5786
- * LICENSE file in the root directory of this source tree.
5787
- *)
5788
-
5789
- react/cjs/react-jsx-runtime.development.js:
5790
- (**
5791
- * @license React
5792
- * react-jsx-runtime.development.js
5793
- *
5794
- * Copyright (c) Facebook, Inc. and its affiliates.
5795
- *
5796
- * This source code is licensed under the MIT license found in the
5797
- * LICENSE file in the root directory of this source tree.
5798
- *)
5799
- */