@karrotmarket/react-multicolor-icon 0.0.17 → 0.0.18
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/lib/index.cjs +3218 -70
- package/lib/index.js +70 -1785
- package/package.json +4 -2
package/lib/index.cjs
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
8
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
9
|
+
};
|
|
5
10
|
var __export = (target, all) => {
|
|
6
11
|
for (var name in all)
|
|
7
12
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -14,8 +19,3105 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
14
19
|
}
|
|
15
20
|
return to;
|
|
16
21
|
};
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
24
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
25
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
27
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
28
|
+
mod
|
|
29
|
+
));
|
|
17
30
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
31
|
|
|
32
|
+
// ../../../../../../.yarn/berry/cache/react-npm-18.3.1-af38f3c1ae-10c0.zip/node_modules/react/cjs/react.production.min.js
|
|
33
|
+
var require_react_production_min = __commonJS({
|
|
34
|
+
"../../../../../../.yarn/berry/cache/react-npm-18.3.1-af38f3c1ae-10c0.zip/node_modules/react/cjs/react.production.min.js"(exports) {
|
|
35
|
+
"use strict";
|
|
36
|
+
var l = Symbol.for("react.element");
|
|
37
|
+
var n = Symbol.for("react.portal");
|
|
38
|
+
var p = Symbol.for("react.fragment");
|
|
39
|
+
var q = Symbol.for("react.strict_mode");
|
|
40
|
+
var r = Symbol.for("react.profiler");
|
|
41
|
+
var t = Symbol.for("react.provider");
|
|
42
|
+
var u = Symbol.for("react.context");
|
|
43
|
+
var v = Symbol.for("react.forward_ref");
|
|
44
|
+
var w = Symbol.for("react.suspense");
|
|
45
|
+
var x = Symbol.for("react.memo");
|
|
46
|
+
var y = Symbol.for("react.lazy");
|
|
47
|
+
var z = Symbol.iterator;
|
|
48
|
+
function A(a) {
|
|
49
|
+
if (null === a || "object" !== typeof a) return null;
|
|
50
|
+
a = z && a[z] || a["@@iterator"];
|
|
51
|
+
return "function" === typeof a ? a : null;
|
|
52
|
+
}
|
|
53
|
+
var B = { isMounted: function() {
|
|
54
|
+
return false;
|
|
55
|
+
}, enqueueForceUpdate: function() {
|
|
56
|
+
}, enqueueReplaceState: function() {
|
|
57
|
+
}, enqueueSetState: function() {
|
|
58
|
+
} };
|
|
59
|
+
var C = Object.assign;
|
|
60
|
+
var D = {};
|
|
61
|
+
function E(a, b, e) {
|
|
62
|
+
this.props = a;
|
|
63
|
+
this.context = b;
|
|
64
|
+
this.refs = D;
|
|
65
|
+
this.updater = e || B;
|
|
66
|
+
}
|
|
67
|
+
E.prototype.isReactComponent = {};
|
|
68
|
+
E.prototype.setState = function(a, b) {
|
|
69
|
+
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.");
|
|
70
|
+
this.updater.enqueueSetState(this, a, b, "setState");
|
|
71
|
+
};
|
|
72
|
+
E.prototype.forceUpdate = function(a) {
|
|
73
|
+
this.updater.enqueueForceUpdate(this, a, "forceUpdate");
|
|
74
|
+
};
|
|
75
|
+
function F() {
|
|
76
|
+
}
|
|
77
|
+
F.prototype = E.prototype;
|
|
78
|
+
function G(a, b, e) {
|
|
79
|
+
this.props = a;
|
|
80
|
+
this.context = b;
|
|
81
|
+
this.refs = D;
|
|
82
|
+
this.updater = e || B;
|
|
83
|
+
}
|
|
84
|
+
var H = G.prototype = new F();
|
|
85
|
+
H.constructor = G;
|
|
86
|
+
C(H, E.prototype);
|
|
87
|
+
H.isPureReactComponent = true;
|
|
88
|
+
var I = Array.isArray;
|
|
89
|
+
var J = Object.prototype.hasOwnProperty;
|
|
90
|
+
var K = { current: null };
|
|
91
|
+
var L = { key: true, ref: true, __self: true, __source: true };
|
|
92
|
+
function M(a, b, e) {
|
|
93
|
+
var d, c = {}, k = null, h = null;
|
|
94
|
+
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]);
|
|
95
|
+
var g = arguments.length - 2;
|
|
96
|
+
if (1 === g) c.children = e;
|
|
97
|
+
else if (1 < g) {
|
|
98
|
+
for (var f = Array(g), m = 0; m < g; m++) f[m] = arguments[m + 2];
|
|
99
|
+
c.children = f;
|
|
100
|
+
}
|
|
101
|
+
if (a && a.defaultProps) for (d in g = a.defaultProps, g) void 0 === c[d] && (c[d] = g[d]);
|
|
102
|
+
return { $$typeof: l, type: a, key: k, ref: h, props: c, _owner: K.current };
|
|
103
|
+
}
|
|
104
|
+
function N(a, b) {
|
|
105
|
+
return { $$typeof: l, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner };
|
|
106
|
+
}
|
|
107
|
+
function O(a) {
|
|
108
|
+
return "object" === typeof a && null !== a && a.$$typeof === l;
|
|
109
|
+
}
|
|
110
|
+
function escape(a) {
|
|
111
|
+
var b = { "=": "=0", ":": "=2" };
|
|
112
|
+
return "$" + a.replace(/[=:]/g, function(a2) {
|
|
113
|
+
return b[a2];
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
var P = /\/+/g;
|
|
117
|
+
function Q(a, b) {
|
|
118
|
+
return "object" === typeof a && null !== a && null != a.key ? escape("" + a.key) : b.toString(36);
|
|
119
|
+
}
|
|
120
|
+
function R(a, b, e, d, c) {
|
|
121
|
+
var k = typeof a;
|
|
122
|
+
if ("undefined" === k || "boolean" === k) a = null;
|
|
123
|
+
var h = false;
|
|
124
|
+
if (null === a) h = true;
|
|
125
|
+
else switch (k) {
|
|
126
|
+
case "string":
|
|
127
|
+
case "number":
|
|
128
|
+
h = true;
|
|
129
|
+
break;
|
|
130
|
+
case "object":
|
|
131
|
+
switch (a.$$typeof) {
|
|
132
|
+
case l:
|
|
133
|
+
case n:
|
|
134
|
+
h = true;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
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) {
|
|
138
|
+
return a2;
|
|
139
|
+
})) : null != c && (O(c) && (c = N(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P, "$&/") + "/") + a)), b.push(c)), 1;
|
|
140
|
+
h = 0;
|
|
141
|
+
d = "" === d ? "." : d + ":";
|
|
142
|
+
if (I(a)) for (var g = 0; g < a.length; g++) {
|
|
143
|
+
k = a[g];
|
|
144
|
+
var f = d + Q(k, g);
|
|
145
|
+
h += R(k, b, e, f, c);
|
|
146
|
+
}
|
|
147
|
+
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);
|
|
148
|
+
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.");
|
|
149
|
+
return h;
|
|
150
|
+
}
|
|
151
|
+
function S(a, b, e) {
|
|
152
|
+
if (null == a) return a;
|
|
153
|
+
var d = [], c = 0;
|
|
154
|
+
R(a, d, "", "", function(a2) {
|
|
155
|
+
return b.call(e, a2, c++);
|
|
156
|
+
});
|
|
157
|
+
return d;
|
|
158
|
+
}
|
|
159
|
+
function T(a) {
|
|
160
|
+
if (-1 === a._status) {
|
|
161
|
+
var b = a._result;
|
|
162
|
+
b = b();
|
|
163
|
+
b.then(function(b2) {
|
|
164
|
+
if (0 === a._status || -1 === a._status) a._status = 1, a._result = b2;
|
|
165
|
+
}, function(b2) {
|
|
166
|
+
if (0 === a._status || -1 === a._status) a._status = 2, a._result = b2;
|
|
167
|
+
});
|
|
168
|
+
-1 === a._status && (a._status = 0, a._result = b);
|
|
169
|
+
}
|
|
170
|
+
if (1 === a._status) return a._result.default;
|
|
171
|
+
throw a._result;
|
|
172
|
+
}
|
|
173
|
+
var U = { current: null };
|
|
174
|
+
var V = { transition: null };
|
|
175
|
+
var W = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K };
|
|
176
|
+
function X() {
|
|
177
|
+
throw Error("act(...) is not supported in production builds of React.");
|
|
178
|
+
}
|
|
179
|
+
exports.Children = { map: S, forEach: function(a, b, e) {
|
|
180
|
+
S(a, function() {
|
|
181
|
+
b.apply(this, arguments);
|
|
182
|
+
}, e);
|
|
183
|
+
}, count: function(a) {
|
|
184
|
+
var b = 0;
|
|
185
|
+
S(a, function() {
|
|
186
|
+
b++;
|
|
187
|
+
});
|
|
188
|
+
return b;
|
|
189
|
+
}, toArray: function(a) {
|
|
190
|
+
return S(a, function(a2) {
|
|
191
|
+
return a2;
|
|
192
|
+
}) || [];
|
|
193
|
+
}, only: function(a) {
|
|
194
|
+
if (!O(a)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
195
|
+
return a;
|
|
196
|
+
} };
|
|
197
|
+
exports.Component = E;
|
|
198
|
+
exports.Fragment = p;
|
|
199
|
+
exports.Profiler = r;
|
|
200
|
+
exports.PureComponent = G;
|
|
201
|
+
exports.StrictMode = q;
|
|
202
|
+
exports.Suspense = w;
|
|
203
|
+
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W;
|
|
204
|
+
exports.act = X;
|
|
205
|
+
exports.cloneElement = function(a, b, e) {
|
|
206
|
+
if (null === a || void 0 === a) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
|
|
207
|
+
var d = C({}, a.props), c = a.key, k = a.ref, h = a._owner;
|
|
208
|
+
if (null != b) {
|
|
209
|
+
void 0 !== b.ref && (k = b.ref, h = K.current);
|
|
210
|
+
void 0 !== b.key && (c = "" + b.key);
|
|
211
|
+
if (a.type && a.type.defaultProps) var g = a.type.defaultProps;
|
|
212
|
+
for (f in b) J.call(b, f) && !L.hasOwnProperty(f) && (d[f] = void 0 === b[f] && void 0 !== g ? g[f] : b[f]);
|
|
213
|
+
}
|
|
214
|
+
var f = arguments.length - 2;
|
|
215
|
+
if (1 === f) d.children = e;
|
|
216
|
+
else if (1 < f) {
|
|
217
|
+
g = Array(f);
|
|
218
|
+
for (var m = 0; m < f; m++) g[m] = arguments[m + 2];
|
|
219
|
+
d.children = g;
|
|
220
|
+
}
|
|
221
|
+
return { $$typeof: l, type: a.type, key: c, ref: k, props: d, _owner: h };
|
|
222
|
+
};
|
|
223
|
+
exports.createContext = function(a) {
|
|
224
|
+
a = { $$typeof: u, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null };
|
|
225
|
+
a.Provider = { $$typeof: t, _context: a };
|
|
226
|
+
return a.Consumer = a;
|
|
227
|
+
};
|
|
228
|
+
exports.createElement = M;
|
|
229
|
+
exports.createFactory = function(a) {
|
|
230
|
+
var b = M.bind(null, a);
|
|
231
|
+
b.type = a;
|
|
232
|
+
return b;
|
|
233
|
+
};
|
|
234
|
+
exports.createRef = function() {
|
|
235
|
+
return { current: null };
|
|
236
|
+
};
|
|
237
|
+
exports.forwardRef = function(a) {
|
|
238
|
+
return { $$typeof: v, render: a };
|
|
239
|
+
};
|
|
240
|
+
exports.isValidElement = O;
|
|
241
|
+
exports.lazy = function(a) {
|
|
242
|
+
return { $$typeof: y, _payload: { _status: -1, _result: a }, _init: T };
|
|
243
|
+
};
|
|
244
|
+
exports.memo = function(a, b) {
|
|
245
|
+
return { $$typeof: x, type: a, compare: void 0 === b ? null : b };
|
|
246
|
+
};
|
|
247
|
+
exports.startTransition = function(a) {
|
|
248
|
+
var b = V.transition;
|
|
249
|
+
V.transition = {};
|
|
250
|
+
try {
|
|
251
|
+
a();
|
|
252
|
+
} finally {
|
|
253
|
+
V.transition = b;
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
exports.unstable_act = X;
|
|
257
|
+
exports.useCallback = function(a, b) {
|
|
258
|
+
return U.current.useCallback(a, b);
|
|
259
|
+
};
|
|
260
|
+
exports.useContext = function(a) {
|
|
261
|
+
return U.current.useContext(a);
|
|
262
|
+
};
|
|
263
|
+
exports.useDebugValue = function() {
|
|
264
|
+
};
|
|
265
|
+
exports.useDeferredValue = function(a) {
|
|
266
|
+
return U.current.useDeferredValue(a);
|
|
267
|
+
};
|
|
268
|
+
exports.useEffect = function(a, b) {
|
|
269
|
+
return U.current.useEffect(a, b);
|
|
270
|
+
};
|
|
271
|
+
exports.useId = function() {
|
|
272
|
+
return U.current.useId();
|
|
273
|
+
};
|
|
274
|
+
exports.useImperativeHandle = function(a, b, e) {
|
|
275
|
+
return U.current.useImperativeHandle(a, b, e);
|
|
276
|
+
};
|
|
277
|
+
exports.useInsertionEffect = function(a, b) {
|
|
278
|
+
return U.current.useInsertionEffect(a, b);
|
|
279
|
+
};
|
|
280
|
+
exports.useLayoutEffect = function(a, b) {
|
|
281
|
+
return U.current.useLayoutEffect(a, b);
|
|
282
|
+
};
|
|
283
|
+
exports.useMemo = function(a, b) {
|
|
284
|
+
return U.current.useMemo(a, b);
|
|
285
|
+
};
|
|
286
|
+
exports.useReducer = function(a, b, e) {
|
|
287
|
+
return U.current.useReducer(a, b, e);
|
|
288
|
+
};
|
|
289
|
+
exports.useRef = function(a) {
|
|
290
|
+
return U.current.useRef(a);
|
|
291
|
+
};
|
|
292
|
+
exports.useState = function(a) {
|
|
293
|
+
return U.current.useState(a);
|
|
294
|
+
};
|
|
295
|
+
exports.useSyncExternalStore = function(a, b, e) {
|
|
296
|
+
return U.current.useSyncExternalStore(a, b, e);
|
|
297
|
+
};
|
|
298
|
+
exports.useTransition = function() {
|
|
299
|
+
return U.current.useTransition();
|
|
300
|
+
};
|
|
301
|
+
exports.version = "18.3.1";
|
|
302
|
+
}
|
|
303
|
+
});
|
|
304
|
+
|
|
305
|
+
// ../../../../../../.yarn/berry/cache/react-npm-18.3.1-af38f3c1ae-10c0.zip/node_modules/react/cjs/react.development.js
|
|
306
|
+
var require_react_development = __commonJS({
|
|
307
|
+
"../../../../../../.yarn/berry/cache/react-npm-18.3.1-af38f3c1ae-10c0.zip/node_modules/react/cjs/react.development.js"(exports, module2) {
|
|
308
|
+
"use strict";
|
|
309
|
+
if (process.env.NODE_ENV !== "production") {
|
|
310
|
+
(function() {
|
|
311
|
+
"use strict";
|
|
312
|
+
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
|
|
313
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
314
|
+
}
|
|
315
|
+
var ReactVersion = "18.3.1";
|
|
316
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.element");
|
|
317
|
+
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
318
|
+
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
319
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
|
320
|
+
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
321
|
+
var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
|
|
322
|
+
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
|
323
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
|
324
|
+
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
325
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
|
|
326
|
+
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
327
|
+
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
328
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
|
|
329
|
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
330
|
+
var FAUX_ITERATOR_SYMBOL = "@@iterator";
|
|
331
|
+
function getIteratorFn(maybeIterable) {
|
|
332
|
+
if (maybeIterable === null || typeof maybeIterable !== "object") {
|
|
333
|
+
return null;
|
|
334
|
+
}
|
|
335
|
+
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
|
336
|
+
if (typeof maybeIterator === "function") {
|
|
337
|
+
return maybeIterator;
|
|
338
|
+
}
|
|
339
|
+
return null;
|
|
340
|
+
}
|
|
341
|
+
var ReactCurrentDispatcher = {
|
|
342
|
+
/**
|
|
343
|
+
* @internal
|
|
344
|
+
* @type {ReactComponent}
|
|
345
|
+
*/
|
|
346
|
+
current: null
|
|
347
|
+
};
|
|
348
|
+
var ReactCurrentBatchConfig = {
|
|
349
|
+
transition: null
|
|
350
|
+
};
|
|
351
|
+
var ReactCurrentActQueue = {
|
|
352
|
+
current: null,
|
|
353
|
+
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
|
|
354
|
+
isBatchingLegacy: false,
|
|
355
|
+
didScheduleLegacyUpdate: false
|
|
356
|
+
};
|
|
357
|
+
var ReactCurrentOwner = {
|
|
358
|
+
/**
|
|
359
|
+
* @internal
|
|
360
|
+
* @type {ReactComponent}
|
|
361
|
+
*/
|
|
362
|
+
current: null
|
|
363
|
+
};
|
|
364
|
+
var ReactDebugCurrentFrame = {};
|
|
365
|
+
var currentExtraStackFrame = null;
|
|
366
|
+
function setExtraStackFrame(stack) {
|
|
367
|
+
{
|
|
368
|
+
currentExtraStackFrame = stack;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
{
|
|
372
|
+
ReactDebugCurrentFrame.setExtraStackFrame = function(stack) {
|
|
373
|
+
{
|
|
374
|
+
currentExtraStackFrame = stack;
|
|
375
|
+
}
|
|
376
|
+
};
|
|
377
|
+
ReactDebugCurrentFrame.getCurrentStack = null;
|
|
378
|
+
ReactDebugCurrentFrame.getStackAddendum = function() {
|
|
379
|
+
var stack = "";
|
|
380
|
+
if (currentExtraStackFrame) {
|
|
381
|
+
stack += currentExtraStackFrame;
|
|
382
|
+
}
|
|
383
|
+
var impl = ReactDebugCurrentFrame.getCurrentStack;
|
|
384
|
+
if (impl) {
|
|
385
|
+
stack += impl() || "";
|
|
386
|
+
}
|
|
387
|
+
return stack;
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
var enableScopeAPI = false;
|
|
391
|
+
var enableCacheElement = false;
|
|
392
|
+
var enableTransitionTracing = false;
|
|
393
|
+
var enableLegacyHidden = false;
|
|
394
|
+
var enableDebugTracing = false;
|
|
395
|
+
var ReactSharedInternals = {
|
|
396
|
+
ReactCurrentDispatcher,
|
|
397
|
+
ReactCurrentBatchConfig,
|
|
398
|
+
ReactCurrentOwner
|
|
399
|
+
};
|
|
400
|
+
{
|
|
401
|
+
ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
|
|
402
|
+
ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
|
|
403
|
+
}
|
|
404
|
+
function warn(format) {
|
|
405
|
+
{
|
|
406
|
+
{
|
|
407
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
408
|
+
args[_key - 1] = arguments[_key];
|
|
409
|
+
}
|
|
410
|
+
printWarning("warn", format, args);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
function error(format) {
|
|
415
|
+
{
|
|
416
|
+
{
|
|
417
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
418
|
+
args[_key2 - 1] = arguments[_key2];
|
|
419
|
+
}
|
|
420
|
+
printWarning("error", format, args);
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
function printWarning(level, format, args) {
|
|
425
|
+
{
|
|
426
|
+
var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
427
|
+
var stack = ReactDebugCurrentFrame2.getStackAddendum();
|
|
428
|
+
if (stack !== "") {
|
|
429
|
+
format += "%s";
|
|
430
|
+
args = args.concat([stack]);
|
|
431
|
+
}
|
|
432
|
+
var argsWithFormat = args.map(function(item) {
|
|
433
|
+
return String(item);
|
|
434
|
+
});
|
|
435
|
+
argsWithFormat.unshift("Warning: " + format);
|
|
436
|
+
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
var didWarnStateUpdateForUnmountedComponent = {};
|
|
440
|
+
function warnNoop(publicInstance, callerName) {
|
|
441
|
+
{
|
|
442
|
+
var _constructor = publicInstance.constructor;
|
|
443
|
+
var componentName = _constructor && (_constructor.displayName || _constructor.name) || "ReactClass";
|
|
444
|
+
var warningKey = componentName + "." + callerName;
|
|
445
|
+
if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
|
|
446
|
+
return;
|
|
447
|
+
}
|
|
448
|
+
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);
|
|
449
|
+
didWarnStateUpdateForUnmountedComponent[warningKey] = true;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
var ReactNoopUpdateQueue = {
|
|
453
|
+
/**
|
|
454
|
+
* Checks whether or not this composite component is mounted.
|
|
455
|
+
* @param {ReactClass} publicInstance The instance we want to test.
|
|
456
|
+
* @return {boolean} True if mounted, false otherwise.
|
|
457
|
+
* @protected
|
|
458
|
+
* @final
|
|
459
|
+
*/
|
|
460
|
+
isMounted: function(publicInstance) {
|
|
461
|
+
return false;
|
|
462
|
+
},
|
|
463
|
+
/**
|
|
464
|
+
* Forces an update. This should only be invoked when it is known with
|
|
465
|
+
* certainty that we are **not** in a DOM transaction.
|
|
466
|
+
*
|
|
467
|
+
* You may want to call this when you know that some deeper aspect of the
|
|
468
|
+
* component's state has changed but `setState` was not called.
|
|
469
|
+
*
|
|
470
|
+
* This will not invoke `shouldComponentUpdate`, but it will invoke
|
|
471
|
+
* `componentWillUpdate` and `componentDidUpdate`.
|
|
472
|
+
*
|
|
473
|
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
474
|
+
* @param {?function} callback Called after component is updated.
|
|
475
|
+
* @param {?string} callerName name of the calling function in the public API.
|
|
476
|
+
* @internal
|
|
477
|
+
*/
|
|
478
|
+
enqueueForceUpdate: function(publicInstance, callback, callerName) {
|
|
479
|
+
warnNoop(publicInstance, "forceUpdate");
|
|
480
|
+
},
|
|
481
|
+
/**
|
|
482
|
+
* Replaces all of the state. Always use this or `setState` to mutate state.
|
|
483
|
+
* You should treat `this.state` as immutable.
|
|
484
|
+
*
|
|
485
|
+
* There is no guarantee that `this.state` will be immediately updated, so
|
|
486
|
+
* accessing `this.state` after calling this method may return the old value.
|
|
487
|
+
*
|
|
488
|
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
489
|
+
* @param {object} completeState Next state.
|
|
490
|
+
* @param {?function} callback Called after component is updated.
|
|
491
|
+
* @param {?string} callerName name of the calling function in the public API.
|
|
492
|
+
* @internal
|
|
493
|
+
*/
|
|
494
|
+
enqueueReplaceState: function(publicInstance, completeState, callback, callerName) {
|
|
495
|
+
warnNoop(publicInstance, "replaceState");
|
|
496
|
+
},
|
|
497
|
+
/**
|
|
498
|
+
* Sets a subset of the state. This only exists because _pendingState is
|
|
499
|
+
* internal. This provides a merging strategy that is not available to deep
|
|
500
|
+
* properties which is confusing. TODO: Expose pendingState or don't use it
|
|
501
|
+
* during the merge.
|
|
502
|
+
*
|
|
503
|
+
* @param {ReactClass} publicInstance The instance that should rerender.
|
|
504
|
+
* @param {object} partialState Next partial state to be merged with state.
|
|
505
|
+
* @param {?function} callback Called after component is updated.
|
|
506
|
+
* @param {?string} Name of the calling function in the public API.
|
|
507
|
+
* @internal
|
|
508
|
+
*/
|
|
509
|
+
enqueueSetState: function(publicInstance, partialState, callback, callerName) {
|
|
510
|
+
warnNoop(publicInstance, "setState");
|
|
511
|
+
}
|
|
512
|
+
};
|
|
513
|
+
var assign = Object.assign;
|
|
514
|
+
var emptyObject = {};
|
|
515
|
+
{
|
|
516
|
+
Object.freeze(emptyObject);
|
|
517
|
+
}
|
|
518
|
+
function Component(props, context, updater) {
|
|
519
|
+
this.props = props;
|
|
520
|
+
this.context = context;
|
|
521
|
+
this.refs = emptyObject;
|
|
522
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
523
|
+
}
|
|
524
|
+
Component.prototype.isReactComponent = {};
|
|
525
|
+
Component.prototype.setState = function(partialState, callback) {
|
|
526
|
+
if (typeof partialState !== "object" && typeof partialState !== "function" && partialState != null) {
|
|
527
|
+
throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
528
|
+
}
|
|
529
|
+
this.updater.enqueueSetState(this, partialState, callback, "setState");
|
|
530
|
+
};
|
|
531
|
+
Component.prototype.forceUpdate = function(callback) {
|
|
532
|
+
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
|
533
|
+
};
|
|
534
|
+
{
|
|
535
|
+
var deprecatedAPIs = {
|
|
536
|
+
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
|
|
537
|
+
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
|
|
538
|
+
};
|
|
539
|
+
var defineDeprecationWarning = function(methodName, info) {
|
|
540
|
+
Object.defineProperty(Component.prototype, methodName, {
|
|
541
|
+
get: function() {
|
|
542
|
+
warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]);
|
|
543
|
+
return void 0;
|
|
544
|
+
}
|
|
545
|
+
});
|
|
546
|
+
};
|
|
547
|
+
for (var fnName in deprecatedAPIs) {
|
|
548
|
+
if (deprecatedAPIs.hasOwnProperty(fnName)) {
|
|
549
|
+
defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
function ComponentDummy() {
|
|
554
|
+
}
|
|
555
|
+
ComponentDummy.prototype = Component.prototype;
|
|
556
|
+
function PureComponent(props, context, updater) {
|
|
557
|
+
this.props = props;
|
|
558
|
+
this.context = context;
|
|
559
|
+
this.refs = emptyObject;
|
|
560
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
561
|
+
}
|
|
562
|
+
var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
|
|
563
|
+
pureComponentPrototype.constructor = PureComponent;
|
|
564
|
+
assign(pureComponentPrototype, Component.prototype);
|
|
565
|
+
pureComponentPrototype.isPureReactComponent = true;
|
|
566
|
+
function createRef() {
|
|
567
|
+
var refObject = {
|
|
568
|
+
current: null
|
|
569
|
+
};
|
|
570
|
+
{
|
|
571
|
+
Object.seal(refObject);
|
|
572
|
+
}
|
|
573
|
+
return refObject;
|
|
574
|
+
}
|
|
575
|
+
var isArrayImpl = Array.isArray;
|
|
576
|
+
function isArray(a) {
|
|
577
|
+
return isArrayImpl(a);
|
|
578
|
+
}
|
|
579
|
+
function typeName(value) {
|
|
580
|
+
{
|
|
581
|
+
var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
|
|
582
|
+
var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
|
583
|
+
return type;
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
function willCoercionThrow(value) {
|
|
587
|
+
{
|
|
588
|
+
try {
|
|
589
|
+
testStringCoercion(value);
|
|
590
|
+
return false;
|
|
591
|
+
} catch (e) {
|
|
592
|
+
return true;
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
function testStringCoercion(value) {
|
|
597
|
+
return "" + value;
|
|
598
|
+
}
|
|
599
|
+
function checkKeyStringCoercion(value) {
|
|
600
|
+
{
|
|
601
|
+
if (willCoercionThrow(value)) {
|
|
602
|
+
error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
|
|
603
|
+
return testStringCoercion(value);
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
function getWrappedName(outerType, innerType, wrapperName) {
|
|
608
|
+
var displayName = outerType.displayName;
|
|
609
|
+
if (displayName) {
|
|
610
|
+
return displayName;
|
|
611
|
+
}
|
|
612
|
+
var functionName = innerType.displayName || innerType.name || "";
|
|
613
|
+
return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
|
|
614
|
+
}
|
|
615
|
+
function getContextName(type) {
|
|
616
|
+
return type.displayName || "Context";
|
|
617
|
+
}
|
|
618
|
+
function getComponentNameFromType(type) {
|
|
619
|
+
if (type == null) {
|
|
620
|
+
return null;
|
|
621
|
+
}
|
|
622
|
+
{
|
|
623
|
+
if (typeof type.tag === "number") {
|
|
624
|
+
error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
if (typeof type === "function") {
|
|
628
|
+
return type.displayName || type.name || null;
|
|
629
|
+
}
|
|
630
|
+
if (typeof type === "string") {
|
|
631
|
+
return type;
|
|
632
|
+
}
|
|
633
|
+
switch (type) {
|
|
634
|
+
case REACT_FRAGMENT_TYPE:
|
|
635
|
+
return "Fragment";
|
|
636
|
+
case REACT_PORTAL_TYPE:
|
|
637
|
+
return "Portal";
|
|
638
|
+
case REACT_PROFILER_TYPE:
|
|
639
|
+
return "Profiler";
|
|
640
|
+
case REACT_STRICT_MODE_TYPE:
|
|
641
|
+
return "StrictMode";
|
|
642
|
+
case REACT_SUSPENSE_TYPE:
|
|
643
|
+
return "Suspense";
|
|
644
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
645
|
+
return "SuspenseList";
|
|
646
|
+
}
|
|
647
|
+
if (typeof type === "object") {
|
|
648
|
+
switch (type.$$typeof) {
|
|
649
|
+
case REACT_CONTEXT_TYPE:
|
|
650
|
+
var context = type;
|
|
651
|
+
return getContextName(context) + ".Consumer";
|
|
652
|
+
case REACT_PROVIDER_TYPE:
|
|
653
|
+
var provider = type;
|
|
654
|
+
return getContextName(provider._context) + ".Provider";
|
|
655
|
+
case REACT_FORWARD_REF_TYPE:
|
|
656
|
+
return getWrappedName(type, type.render, "ForwardRef");
|
|
657
|
+
case REACT_MEMO_TYPE:
|
|
658
|
+
var outerName = type.displayName || null;
|
|
659
|
+
if (outerName !== null) {
|
|
660
|
+
return outerName;
|
|
661
|
+
}
|
|
662
|
+
return getComponentNameFromType(type.type) || "Memo";
|
|
663
|
+
case REACT_LAZY_TYPE: {
|
|
664
|
+
var lazyComponent = type;
|
|
665
|
+
var payload = lazyComponent._payload;
|
|
666
|
+
var init = lazyComponent._init;
|
|
667
|
+
try {
|
|
668
|
+
return getComponentNameFromType(init(payload));
|
|
669
|
+
} catch (x) {
|
|
670
|
+
return null;
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
return null;
|
|
676
|
+
}
|
|
677
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
678
|
+
var RESERVED_PROPS = {
|
|
679
|
+
key: true,
|
|
680
|
+
ref: true,
|
|
681
|
+
__self: true,
|
|
682
|
+
__source: true
|
|
683
|
+
};
|
|
684
|
+
var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;
|
|
685
|
+
{
|
|
686
|
+
didWarnAboutStringRefs = {};
|
|
687
|
+
}
|
|
688
|
+
function hasValidRef(config) {
|
|
689
|
+
{
|
|
690
|
+
if (hasOwnProperty.call(config, "ref")) {
|
|
691
|
+
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
|
|
692
|
+
if (getter && getter.isReactWarning) {
|
|
693
|
+
return false;
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
return config.ref !== void 0;
|
|
698
|
+
}
|
|
699
|
+
function hasValidKey(config) {
|
|
700
|
+
{
|
|
701
|
+
if (hasOwnProperty.call(config, "key")) {
|
|
702
|
+
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
703
|
+
if (getter && getter.isReactWarning) {
|
|
704
|
+
return false;
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
return config.key !== void 0;
|
|
709
|
+
}
|
|
710
|
+
function defineKeyPropWarningGetter(props, displayName) {
|
|
711
|
+
var warnAboutAccessingKey = function() {
|
|
712
|
+
{
|
|
713
|
+
if (!specialPropKeyWarningShown) {
|
|
714
|
+
specialPropKeyWarningShown = true;
|
|
715
|
+
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);
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
};
|
|
719
|
+
warnAboutAccessingKey.isReactWarning = true;
|
|
720
|
+
Object.defineProperty(props, "key", {
|
|
721
|
+
get: warnAboutAccessingKey,
|
|
722
|
+
configurable: true
|
|
723
|
+
});
|
|
724
|
+
}
|
|
725
|
+
function defineRefPropWarningGetter(props, displayName) {
|
|
726
|
+
var warnAboutAccessingRef = function() {
|
|
727
|
+
{
|
|
728
|
+
if (!specialPropRefWarningShown) {
|
|
729
|
+
specialPropRefWarningShown = true;
|
|
730
|
+
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);
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
};
|
|
734
|
+
warnAboutAccessingRef.isReactWarning = true;
|
|
735
|
+
Object.defineProperty(props, "ref", {
|
|
736
|
+
get: warnAboutAccessingRef,
|
|
737
|
+
configurable: true
|
|
738
|
+
});
|
|
739
|
+
}
|
|
740
|
+
function warnIfStringRefCannotBeAutoConverted(config) {
|
|
741
|
+
{
|
|
742
|
+
if (typeof config.ref === "string" && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {
|
|
743
|
+
var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
|
|
744
|
+
if (!didWarnAboutStringRefs[componentName]) {
|
|
745
|
+
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);
|
|
746
|
+
didWarnAboutStringRefs[componentName] = true;
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
var ReactElement = function(type, key, ref, self, source, owner, props) {
|
|
752
|
+
var element = {
|
|
753
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
754
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
755
|
+
// Built-in properties that belong on the element
|
|
756
|
+
type,
|
|
757
|
+
key,
|
|
758
|
+
ref,
|
|
759
|
+
props,
|
|
760
|
+
// Record the component responsible for creating this element.
|
|
761
|
+
_owner: owner
|
|
762
|
+
};
|
|
763
|
+
{
|
|
764
|
+
element._store = {};
|
|
765
|
+
Object.defineProperty(element._store, "validated", {
|
|
766
|
+
configurable: false,
|
|
767
|
+
enumerable: false,
|
|
768
|
+
writable: true,
|
|
769
|
+
value: false
|
|
770
|
+
});
|
|
771
|
+
Object.defineProperty(element, "_self", {
|
|
772
|
+
configurable: false,
|
|
773
|
+
enumerable: false,
|
|
774
|
+
writable: false,
|
|
775
|
+
value: self
|
|
776
|
+
});
|
|
777
|
+
Object.defineProperty(element, "_source", {
|
|
778
|
+
configurable: false,
|
|
779
|
+
enumerable: false,
|
|
780
|
+
writable: false,
|
|
781
|
+
value: source
|
|
782
|
+
});
|
|
783
|
+
if (Object.freeze) {
|
|
784
|
+
Object.freeze(element.props);
|
|
785
|
+
Object.freeze(element);
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
return element;
|
|
789
|
+
};
|
|
790
|
+
function createElement(type, config, children) {
|
|
791
|
+
var propName;
|
|
792
|
+
var props = {};
|
|
793
|
+
var key = null;
|
|
794
|
+
var ref = null;
|
|
795
|
+
var self = null;
|
|
796
|
+
var source = null;
|
|
797
|
+
if (config != null) {
|
|
798
|
+
if (hasValidRef(config)) {
|
|
799
|
+
ref = config.ref;
|
|
800
|
+
{
|
|
801
|
+
warnIfStringRefCannotBeAutoConverted(config);
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
if (hasValidKey(config)) {
|
|
805
|
+
{
|
|
806
|
+
checkKeyStringCoercion(config.key);
|
|
807
|
+
}
|
|
808
|
+
key = "" + config.key;
|
|
809
|
+
}
|
|
810
|
+
self = config.__self === void 0 ? null : config.__self;
|
|
811
|
+
source = config.__source === void 0 ? null : config.__source;
|
|
812
|
+
for (propName in config) {
|
|
813
|
+
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
|
814
|
+
props[propName] = config[propName];
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
var childrenLength = arguments.length - 2;
|
|
819
|
+
if (childrenLength === 1) {
|
|
820
|
+
props.children = children;
|
|
821
|
+
} else if (childrenLength > 1) {
|
|
822
|
+
var childArray = Array(childrenLength);
|
|
823
|
+
for (var i = 0; i < childrenLength; i++) {
|
|
824
|
+
childArray[i] = arguments[i + 2];
|
|
825
|
+
}
|
|
826
|
+
{
|
|
827
|
+
if (Object.freeze) {
|
|
828
|
+
Object.freeze(childArray);
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
props.children = childArray;
|
|
832
|
+
}
|
|
833
|
+
if (type && type.defaultProps) {
|
|
834
|
+
var defaultProps = type.defaultProps;
|
|
835
|
+
for (propName in defaultProps) {
|
|
836
|
+
if (props[propName] === void 0) {
|
|
837
|
+
props[propName] = defaultProps[propName];
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
{
|
|
842
|
+
if (key || ref) {
|
|
843
|
+
var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
|
|
844
|
+
if (key) {
|
|
845
|
+
defineKeyPropWarningGetter(props, displayName);
|
|
846
|
+
}
|
|
847
|
+
if (ref) {
|
|
848
|
+
defineRefPropWarningGetter(props, displayName);
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
|
|
853
|
+
}
|
|
854
|
+
function cloneAndReplaceKey(oldElement, newKey) {
|
|
855
|
+
var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
|
|
856
|
+
return newElement;
|
|
857
|
+
}
|
|
858
|
+
function cloneElement(element, config, children) {
|
|
859
|
+
if (element === null || element === void 0) {
|
|
860
|
+
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
|
|
861
|
+
}
|
|
862
|
+
var propName;
|
|
863
|
+
var props = assign({}, element.props);
|
|
864
|
+
var key = element.key;
|
|
865
|
+
var ref = element.ref;
|
|
866
|
+
var self = element._self;
|
|
867
|
+
var source = element._source;
|
|
868
|
+
var owner = element._owner;
|
|
869
|
+
if (config != null) {
|
|
870
|
+
if (hasValidRef(config)) {
|
|
871
|
+
ref = config.ref;
|
|
872
|
+
owner = ReactCurrentOwner.current;
|
|
873
|
+
}
|
|
874
|
+
if (hasValidKey(config)) {
|
|
875
|
+
{
|
|
876
|
+
checkKeyStringCoercion(config.key);
|
|
877
|
+
}
|
|
878
|
+
key = "" + config.key;
|
|
879
|
+
}
|
|
880
|
+
var defaultProps;
|
|
881
|
+
if (element.type && element.type.defaultProps) {
|
|
882
|
+
defaultProps = element.type.defaultProps;
|
|
883
|
+
}
|
|
884
|
+
for (propName in config) {
|
|
885
|
+
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
|
886
|
+
if (config[propName] === void 0 && defaultProps !== void 0) {
|
|
887
|
+
props[propName] = defaultProps[propName];
|
|
888
|
+
} else {
|
|
889
|
+
props[propName] = config[propName];
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
var childrenLength = arguments.length - 2;
|
|
895
|
+
if (childrenLength === 1) {
|
|
896
|
+
props.children = children;
|
|
897
|
+
} else if (childrenLength > 1) {
|
|
898
|
+
var childArray = Array(childrenLength);
|
|
899
|
+
for (var i = 0; i < childrenLength; i++) {
|
|
900
|
+
childArray[i] = arguments[i + 2];
|
|
901
|
+
}
|
|
902
|
+
props.children = childArray;
|
|
903
|
+
}
|
|
904
|
+
return ReactElement(element.type, key, ref, self, source, owner, props);
|
|
905
|
+
}
|
|
906
|
+
function isValidElement(object) {
|
|
907
|
+
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
908
|
+
}
|
|
909
|
+
var SEPARATOR = ".";
|
|
910
|
+
var SUBSEPARATOR = ":";
|
|
911
|
+
function escape(key) {
|
|
912
|
+
var escapeRegex = /[=:]/g;
|
|
913
|
+
var escaperLookup = {
|
|
914
|
+
"=": "=0",
|
|
915
|
+
":": "=2"
|
|
916
|
+
};
|
|
917
|
+
var escapedString = key.replace(escapeRegex, function(match) {
|
|
918
|
+
return escaperLookup[match];
|
|
919
|
+
});
|
|
920
|
+
return "$" + escapedString;
|
|
921
|
+
}
|
|
922
|
+
var didWarnAboutMaps = false;
|
|
923
|
+
var userProvidedKeyEscapeRegex = /\/+/g;
|
|
924
|
+
function escapeUserProvidedKey(text) {
|
|
925
|
+
return text.replace(userProvidedKeyEscapeRegex, "$&/");
|
|
926
|
+
}
|
|
927
|
+
function getElementKey(element, index) {
|
|
928
|
+
if (typeof element === "object" && element !== null && element.key != null) {
|
|
929
|
+
{
|
|
930
|
+
checkKeyStringCoercion(element.key);
|
|
931
|
+
}
|
|
932
|
+
return escape("" + element.key);
|
|
933
|
+
}
|
|
934
|
+
return index.toString(36);
|
|
935
|
+
}
|
|
936
|
+
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
|
937
|
+
var type = typeof children;
|
|
938
|
+
if (type === "undefined" || type === "boolean") {
|
|
939
|
+
children = null;
|
|
940
|
+
}
|
|
941
|
+
var invokeCallback = false;
|
|
942
|
+
if (children === null) {
|
|
943
|
+
invokeCallback = true;
|
|
944
|
+
} else {
|
|
945
|
+
switch (type) {
|
|
946
|
+
case "string":
|
|
947
|
+
case "number":
|
|
948
|
+
invokeCallback = true;
|
|
949
|
+
break;
|
|
950
|
+
case "object":
|
|
951
|
+
switch (children.$$typeof) {
|
|
952
|
+
case REACT_ELEMENT_TYPE:
|
|
953
|
+
case REACT_PORTAL_TYPE:
|
|
954
|
+
invokeCallback = true;
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
if (invokeCallback) {
|
|
959
|
+
var _child = children;
|
|
960
|
+
var mappedChild = callback(_child);
|
|
961
|
+
var childKey = nameSoFar === "" ? SEPARATOR + getElementKey(_child, 0) : nameSoFar;
|
|
962
|
+
if (isArray(mappedChild)) {
|
|
963
|
+
var escapedChildKey = "";
|
|
964
|
+
if (childKey != null) {
|
|
965
|
+
escapedChildKey = escapeUserProvidedKey(childKey) + "/";
|
|
966
|
+
}
|
|
967
|
+
mapIntoArray(mappedChild, array, escapedChildKey, "", function(c) {
|
|
968
|
+
return c;
|
|
969
|
+
});
|
|
970
|
+
} else if (mappedChild != null) {
|
|
971
|
+
if (isValidElement(mappedChild)) {
|
|
972
|
+
{
|
|
973
|
+
if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) {
|
|
974
|
+
checkKeyStringCoercion(mappedChild.key);
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
mappedChild = cloneAndReplaceKey(
|
|
978
|
+
mappedChild,
|
|
979
|
+
// Keep both the (mapped) and old keys if they differ, just as
|
|
980
|
+
// traverseAllChildren used to do for objects as children
|
|
981
|
+
escapedPrefix + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
|
|
982
|
+
(mappedChild.key && (!_child || _child.key !== mappedChild.key) ? (
|
|
983
|
+
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
|
984
|
+
// eslint-disable-next-line react-internal/safe-string-coercion
|
|
985
|
+
escapeUserProvidedKey("" + mappedChild.key) + "/"
|
|
986
|
+
) : "") + childKey
|
|
987
|
+
);
|
|
988
|
+
}
|
|
989
|
+
array.push(mappedChild);
|
|
990
|
+
}
|
|
991
|
+
return 1;
|
|
992
|
+
}
|
|
993
|
+
var child;
|
|
994
|
+
var nextName;
|
|
995
|
+
var subtreeCount = 0;
|
|
996
|
+
var nextNamePrefix = nameSoFar === "" ? SEPARATOR : nameSoFar + SUBSEPARATOR;
|
|
997
|
+
if (isArray(children)) {
|
|
998
|
+
for (var i = 0; i < children.length; i++) {
|
|
999
|
+
child = children[i];
|
|
1000
|
+
nextName = nextNamePrefix + getElementKey(child, i);
|
|
1001
|
+
subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
|
|
1002
|
+
}
|
|
1003
|
+
} else {
|
|
1004
|
+
var iteratorFn = getIteratorFn(children);
|
|
1005
|
+
if (typeof iteratorFn === "function") {
|
|
1006
|
+
var iterableChildren = children;
|
|
1007
|
+
{
|
|
1008
|
+
if (iteratorFn === iterableChildren.entries) {
|
|
1009
|
+
if (!didWarnAboutMaps) {
|
|
1010
|
+
warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");
|
|
1011
|
+
}
|
|
1012
|
+
didWarnAboutMaps = true;
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
var iterator = iteratorFn.call(iterableChildren);
|
|
1016
|
+
var step;
|
|
1017
|
+
var ii = 0;
|
|
1018
|
+
while (!(step = iterator.next()).done) {
|
|
1019
|
+
child = step.value;
|
|
1020
|
+
nextName = nextNamePrefix + getElementKey(child, ii++);
|
|
1021
|
+
subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
|
|
1022
|
+
}
|
|
1023
|
+
} else if (type === "object") {
|
|
1024
|
+
var childrenString = String(children);
|
|
1025
|
+
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.");
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
return subtreeCount;
|
|
1029
|
+
}
|
|
1030
|
+
function mapChildren(children, func, context) {
|
|
1031
|
+
if (children == null) {
|
|
1032
|
+
return children;
|
|
1033
|
+
}
|
|
1034
|
+
var result = [];
|
|
1035
|
+
var count = 0;
|
|
1036
|
+
mapIntoArray(children, result, "", "", function(child) {
|
|
1037
|
+
return func.call(context, child, count++);
|
|
1038
|
+
});
|
|
1039
|
+
return result;
|
|
1040
|
+
}
|
|
1041
|
+
function countChildren(children) {
|
|
1042
|
+
var n = 0;
|
|
1043
|
+
mapChildren(children, function() {
|
|
1044
|
+
n++;
|
|
1045
|
+
});
|
|
1046
|
+
return n;
|
|
1047
|
+
}
|
|
1048
|
+
function forEachChildren(children, forEachFunc, forEachContext) {
|
|
1049
|
+
mapChildren(children, function() {
|
|
1050
|
+
forEachFunc.apply(this, arguments);
|
|
1051
|
+
}, forEachContext);
|
|
1052
|
+
}
|
|
1053
|
+
function toArray(children) {
|
|
1054
|
+
return mapChildren(children, function(child) {
|
|
1055
|
+
return child;
|
|
1056
|
+
}) || [];
|
|
1057
|
+
}
|
|
1058
|
+
function onlyChild(children) {
|
|
1059
|
+
if (!isValidElement(children)) {
|
|
1060
|
+
throw new Error("React.Children.only expected to receive a single React element child.");
|
|
1061
|
+
}
|
|
1062
|
+
return children;
|
|
1063
|
+
}
|
|
1064
|
+
function createContext(defaultValue) {
|
|
1065
|
+
var context = {
|
|
1066
|
+
$$typeof: REACT_CONTEXT_TYPE,
|
|
1067
|
+
// As a workaround to support multiple concurrent renderers, we categorize
|
|
1068
|
+
// some renderers as primary and others as secondary. We only expect
|
|
1069
|
+
// there to be two concurrent renderers at most: React Native (primary) and
|
|
1070
|
+
// Fabric (secondary); React DOM (primary) and React ART (secondary).
|
|
1071
|
+
// Secondary renderers store their context values on separate fields.
|
|
1072
|
+
_currentValue: defaultValue,
|
|
1073
|
+
_currentValue2: defaultValue,
|
|
1074
|
+
// Used to track how many concurrent renderers this context currently
|
|
1075
|
+
// supports within in a single renderer. Such as parallel server rendering.
|
|
1076
|
+
_threadCount: 0,
|
|
1077
|
+
// These are circular
|
|
1078
|
+
Provider: null,
|
|
1079
|
+
Consumer: null,
|
|
1080
|
+
// Add these to use same hidden class in VM as ServerContext
|
|
1081
|
+
_defaultValue: null,
|
|
1082
|
+
_globalName: null
|
|
1083
|
+
};
|
|
1084
|
+
context.Provider = {
|
|
1085
|
+
$$typeof: REACT_PROVIDER_TYPE,
|
|
1086
|
+
_context: context
|
|
1087
|
+
};
|
|
1088
|
+
var hasWarnedAboutUsingNestedContextConsumers = false;
|
|
1089
|
+
var hasWarnedAboutUsingConsumerProvider = false;
|
|
1090
|
+
var hasWarnedAboutDisplayNameOnConsumer = false;
|
|
1091
|
+
{
|
|
1092
|
+
var Consumer = {
|
|
1093
|
+
$$typeof: REACT_CONTEXT_TYPE,
|
|
1094
|
+
_context: context
|
|
1095
|
+
};
|
|
1096
|
+
Object.defineProperties(Consumer, {
|
|
1097
|
+
Provider: {
|
|
1098
|
+
get: function() {
|
|
1099
|
+
if (!hasWarnedAboutUsingConsumerProvider) {
|
|
1100
|
+
hasWarnedAboutUsingConsumerProvider = true;
|
|
1101
|
+
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?");
|
|
1102
|
+
}
|
|
1103
|
+
return context.Provider;
|
|
1104
|
+
},
|
|
1105
|
+
set: function(_Provider) {
|
|
1106
|
+
context.Provider = _Provider;
|
|
1107
|
+
}
|
|
1108
|
+
},
|
|
1109
|
+
_currentValue: {
|
|
1110
|
+
get: function() {
|
|
1111
|
+
return context._currentValue;
|
|
1112
|
+
},
|
|
1113
|
+
set: function(_currentValue) {
|
|
1114
|
+
context._currentValue = _currentValue;
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
_currentValue2: {
|
|
1118
|
+
get: function() {
|
|
1119
|
+
return context._currentValue2;
|
|
1120
|
+
},
|
|
1121
|
+
set: function(_currentValue2) {
|
|
1122
|
+
context._currentValue2 = _currentValue2;
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
|
+
_threadCount: {
|
|
1126
|
+
get: function() {
|
|
1127
|
+
return context._threadCount;
|
|
1128
|
+
},
|
|
1129
|
+
set: function(_threadCount) {
|
|
1130
|
+
context._threadCount = _threadCount;
|
|
1131
|
+
}
|
|
1132
|
+
},
|
|
1133
|
+
Consumer: {
|
|
1134
|
+
get: function() {
|
|
1135
|
+
if (!hasWarnedAboutUsingNestedContextConsumers) {
|
|
1136
|
+
hasWarnedAboutUsingNestedContextConsumers = true;
|
|
1137
|
+
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?");
|
|
1138
|
+
}
|
|
1139
|
+
return context.Consumer;
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
1142
|
+
displayName: {
|
|
1143
|
+
get: function() {
|
|
1144
|
+
return context.displayName;
|
|
1145
|
+
},
|
|
1146
|
+
set: function(displayName) {
|
|
1147
|
+
if (!hasWarnedAboutDisplayNameOnConsumer) {
|
|
1148
|
+
warn("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", displayName);
|
|
1149
|
+
hasWarnedAboutDisplayNameOnConsumer = true;
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
});
|
|
1154
|
+
context.Consumer = Consumer;
|
|
1155
|
+
}
|
|
1156
|
+
{
|
|
1157
|
+
context._currentRenderer = null;
|
|
1158
|
+
context._currentRenderer2 = null;
|
|
1159
|
+
}
|
|
1160
|
+
return context;
|
|
1161
|
+
}
|
|
1162
|
+
var Uninitialized = -1;
|
|
1163
|
+
var Pending = 0;
|
|
1164
|
+
var Resolved = 1;
|
|
1165
|
+
var Rejected = 2;
|
|
1166
|
+
function lazyInitializer(payload) {
|
|
1167
|
+
if (payload._status === Uninitialized) {
|
|
1168
|
+
var ctor = payload._result;
|
|
1169
|
+
var thenable = ctor();
|
|
1170
|
+
thenable.then(function(moduleObject2) {
|
|
1171
|
+
if (payload._status === Pending || payload._status === Uninitialized) {
|
|
1172
|
+
var resolved = payload;
|
|
1173
|
+
resolved._status = Resolved;
|
|
1174
|
+
resolved._result = moduleObject2;
|
|
1175
|
+
}
|
|
1176
|
+
}, function(error2) {
|
|
1177
|
+
if (payload._status === Pending || payload._status === Uninitialized) {
|
|
1178
|
+
var rejected = payload;
|
|
1179
|
+
rejected._status = Rejected;
|
|
1180
|
+
rejected._result = error2;
|
|
1181
|
+
}
|
|
1182
|
+
});
|
|
1183
|
+
if (payload._status === Uninitialized) {
|
|
1184
|
+
var pending = payload;
|
|
1185
|
+
pending._status = Pending;
|
|
1186
|
+
pending._result = thenable;
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
if (payload._status === Resolved) {
|
|
1190
|
+
var moduleObject = payload._result;
|
|
1191
|
+
{
|
|
1192
|
+
if (moduleObject === void 0) {
|
|
1193
|
+
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);
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
{
|
|
1197
|
+
if (!("default" in moduleObject)) {
|
|
1198
|
+
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);
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
return moduleObject.default;
|
|
1202
|
+
} else {
|
|
1203
|
+
throw payload._result;
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
function lazy(ctor) {
|
|
1207
|
+
var payload = {
|
|
1208
|
+
// We use these fields to store the result.
|
|
1209
|
+
_status: Uninitialized,
|
|
1210
|
+
_result: ctor
|
|
1211
|
+
};
|
|
1212
|
+
var lazyType = {
|
|
1213
|
+
$$typeof: REACT_LAZY_TYPE,
|
|
1214
|
+
_payload: payload,
|
|
1215
|
+
_init: lazyInitializer
|
|
1216
|
+
};
|
|
1217
|
+
{
|
|
1218
|
+
var defaultProps;
|
|
1219
|
+
var propTypes;
|
|
1220
|
+
Object.defineProperties(lazyType, {
|
|
1221
|
+
defaultProps: {
|
|
1222
|
+
configurable: true,
|
|
1223
|
+
get: function() {
|
|
1224
|
+
return defaultProps;
|
|
1225
|
+
},
|
|
1226
|
+
set: function(newDefaultProps) {
|
|
1227
|
+
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.");
|
|
1228
|
+
defaultProps = newDefaultProps;
|
|
1229
|
+
Object.defineProperty(lazyType, "defaultProps", {
|
|
1230
|
+
enumerable: true
|
|
1231
|
+
});
|
|
1232
|
+
}
|
|
1233
|
+
},
|
|
1234
|
+
propTypes: {
|
|
1235
|
+
configurable: true,
|
|
1236
|
+
get: function() {
|
|
1237
|
+
return propTypes;
|
|
1238
|
+
},
|
|
1239
|
+
set: function(newPropTypes) {
|
|
1240
|
+
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.");
|
|
1241
|
+
propTypes = newPropTypes;
|
|
1242
|
+
Object.defineProperty(lazyType, "propTypes", {
|
|
1243
|
+
enumerable: true
|
|
1244
|
+
});
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1249
|
+
return lazyType;
|
|
1250
|
+
}
|
|
1251
|
+
function forwardRef36(render) {
|
|
1252
|
+
{
|
|
1253
|
+
if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
|
|
1254
|
+
error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).");
|
|
1255
|
+
} else if (typeof render !== "function") {
|
|
1256
|
+
error("forwardRef requires a render function but was given %s.", render === null ? "null" : typeof render);
|
|
1257
|
+
} else {
|
|
1258
|
+
if (render.length !== 0 && render.length !== 2) {
|
|
1259
|
+
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.");
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
if (render != null) {
|
|
1263
|
+
if (render.defaultProps != null || render.propTypes != null) {
|
|
1264
|
+
error("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
var elementType = {
|
|
1269
|
+
$$typeof: REACT_FORWARD_REF_TYPE,
|
|
1270
|
+
render
|
|
1271
|
+
};
|
|
1272
|
+
{
|
|
1273
|
+
var ownName;
|
|
1274
|
+
Object.defineProperty(elementType, "displayName", {
|
|
1275
|
+
enumerable: false,
|
|
1276
|
+
configurable: true,
|
|
1277
|
+
get: function() {
|
|
1278
|
+
return ownName;
|
|
1279
|
+
},
|
|
1280
|
+
set: function(name) {
|
|
1281
|
+
ownName = name;
|
|
1282
|
+
if (!render.name && !render.displayName) {
|
|
1283
|
+
render.displayName = name;
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
});
|
|
1287
|
+
}
|
|
1288
|
+
return elementType;
|
|
1289
|
+
}
|
|
1290
|
+
var REACT_MODULE_REFERENCE;
|
|
1291
|
+
{
|
|
1292
|
+
REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
|
|
1293
|
+
}
|
|
1294
|
+
function isValidElementType(type) {
|
|
1295
|
+
if (typeof type === "string" || typeof type === "function") {
|
|
1296
|
+
return true;
|
|
1297
|
+
}
|
|
1298
|
+
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) {
|
|
1299
|
+
return true;
|
|
1300
|
+
}
|
|
1301
|
+
if (typeof type === "object" && type !== null) {
|
|
1302
|
+
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
|
|
1303
|
+
// types supported by any Flight configuration anywhere since
|
|
1304
|
+
// we don't know which Flight build this will end up being used
|
|
1305
|
+
// with.
|
|
1306
|
+
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
|
|
1307
|
+
return true;
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
return false;
|
|
1311
|
+
}
|
|
1312
|
+
function memo(type, compare) {
|
|
1313
|
+
{
|
|
1314
|
+
if (!isValidElementType(type)) {
|
|
1315
|
+
error("memo: The first argument must be a component. Instead received: %s", type === null ? "null" : typeof type);
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
var elementType = {
|
|
1319
|
+
$$typeof: REACT_MEMO_TYPE,
|
|
1320
|
+
type,
|
|
1321
|
+
compare: compare === void 0 ? null : compare
|
|
1322
|
+
};
|
|
1323
|
+
{
|
|
1324
|
+
var ownName;
|
|
1325
|
+
Object.defineProperty(elementType, "displayName", {
|
|
1326
|
+
enumerable: false,
|
|
1327
|
+
configurable: true,
|
|
1328
|
+
get: function() {
|
|
1329
|
+
return ownName;
|
|
1330
|
+
},
|
|
1331
|
+
set: function(name) {
|
|
1332
|
+
ownName = name;
|
|
1333
|
+
if (!type.name && !type.displayName) {
|
|
1334
|
+
type.displayName = name;
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
});
|
|
1338
|
+
}
|
|
1339
|
+
return elementType;
|
|
1340
|
+
}
|
|
1341
|
+
function resolveDispatcher() {
|
|
1342
|
+
var dispatcher = ReactCurrentDispatcher.current;
|
|
1343
|
+
{
|
|
1344
|
+
if (dispatcher === null) {
|
|
1345
|
+
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.");
|
|
1346
|
+
}
|
|
1347
|
+
}
|
|
1348
|
+
return dispatcher;
|
|
1349
|
+
}
|
|
1350
|
+
function useContext(Context) {
|
|
1351
|
+
var dispatcher = resolveDispatcher();
|
|
1352
|
+
{
|
|
1353
|
+
if (Context._context !== void 0) {
|
|
1354
|
+
var realContext = Context._context;
|
|
1355
|
+
if (realContext.Consumer === Context) {
|
|
1356
|
+
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?");
|
|
1357
|
+
} else if (realContext.Provider === Context) {
|
|
1358
|
+
error("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
return dispatcher.useContext(Context);
|
|
1363
|
+
}
|
|
1364
|
+
function useState(initialState) {
|
|
1365
|
+
var dispatcher = resolveDispatcher();
|
|
1366
|
+
return dispatcher.useState(initialState);
|
|
1367
|
+
}
|
|
1368
|
+
function useReducer(reducer, initialArg, init) {
|
|
1369
|
+
var dispatcher = resolveDispatcher();
|
|
1370
|
+
return dispatcher.useReducer(reducer, initialArg, init);
|
|
1371
|
+
}
|
|
1372
|
+
function useRef(initialValue) {
|
|
1373
|
+
var dispatcher = resolveDispatcher();
|
|
1374
|
+
return dispatcher.useRef(initialValue);
|
|
1375
|
+
}
|
|
1376
|
+
function useEffect(create, deps) {
|
|
1377
|
+
var dispatcher = resolveDispatcher();
|
|
1378
|
+
return dispatcher.useEffect(create, deps);
|
|
1379
|
+
}
|
|
1380
|
+
function useInsertionEffect(create, deps) {
|
|
1381
|
+
var dispatcher = resolveDispatcher();
|
|
1382
|
+
return dispatcher.useInsertionEffect(create, deps);
|
|
1383
|
+
}
|
|
1384
|
+
function useLayoutEffect(create, deps) {
|
|
1385
|
+
var dispatcher = resolveDispatcher();
|
|
1386
|
+
return dispatcher.useLayoutEffect(create, deps);
|
|
1387
|
+
}
|
|
1388
|
+
function useCallback(callback, deps) {
|
|
1389
|
+
var dispatcher = resolveDispatcher();
|
|
1390
|
+
return dispatcher.useCallback(callback, deps);
|
|
1391
|
+
}
|
|
1392
|
+
function useMemo(create, deps) {
|
|
1393
|
+
var dispatcher = resolveDispatcher();
|
|
1394
|
+
return dispatcher.useMemo(create, deps);
|
|
1395
|
+
}
|
|
1396
|
+
function useImperativeHandle(ref, create, deps) {
|
|
1397
|
+
var dispatcher = resolveDispatcher();
|
|
1398
|
+
return dispatcher.useImperativeHandle(ref, create, deps);
|
|
1399
|
+
}
|
|
1400
|
+
function useDebugValue(value, formatterFn) {
|
|
1401
|
+
{
|
|
1402
|
+
var dispatcher = resolveDispatcher();
|
|
1403
|
+
return dispatcher.useDebugValue(value, formatterFn);
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
1406
|
+
function useTransition() {
|
|
1407
|
+
var dispatcher = resolveDispatcher();
|
|
1408
|
+
return dispatcher.useTransition();
|
|
1409
|
+
}
|
|
1410
|
+
function useDeferredValue(value) {
|
|
1411
|
+
var dispatcher = resolveDispatcher();
|
|
1412
|
+
return dispatcher.useDeferredValue(value);
|
|
1413
|
+
}
|
|
1414
|
+
function useId() {
|
|
1415
|
+
var dispatcher = resolveDispatcher();
|
|
1416
|
+
return dispatcher.useId();
|
|
1417
|
+
}
|
|
1418
|
+
function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
|
|
1419
|
+
var dispatcher = resolveDispatcher();
|
|
1420
|
+
return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
|
|
1421
|
+
}
|
|
1422
|
+
var disabledDepth = 0;
|
|
1423
|
+
var prevLog;
|
|
1424
|
+
var prevInfo;
|
|
1425
|
+
var prevWarn;
|
|
1426
|
+
var prevError;
|
|
1427
|
+
var prevGroup;
|
|
1428
|
+
var prevGroupCollapsed;
|
|
1429
|
+
var prevGroupEnd;
|
|
1430
|
+
function disabledLog() {
|
|
1431
|
+
}
|
|
1432
|
+
disabledLog.__reactDisabledLog = true;
|
|
1433
|
+
function disableLogs() {
|
|
1434
|
+
{
|
|
1435
|
+
if (disabledDepth === 0) {
|
|
1436
|
+
prevLog = console.log;
|
|
1437
|
+
prevInfo = console.info;
|
|
1438
|
+
prevWarn = console.warn;
|
|
1439
|
+
prevError = console.error;
|
|
1440
|
+
prevGroup = console.group;
|
|
1441
|
+
prevGroupCollapsed = console.groupCollapsed;
|
|
1442
|
+
prevGroupEnd = console.groupEnd;
|
|
1443
|
+
var props = {
|
|
1444
|
+
configurable: true,
|
|
1445
|
+
enumerable: true,
|
|
1446
|
+
value: disabledLog,
|
|
1447
|
+
writable: true
|
|
1448
|
+
};
|
|
1449
|
+
Object.defineProperties(console, {
|
|
1450
|
+
info: props,
|
|
1451
|
+
log: props,
|
|
1452
|
+
warn: props,
|
|
1453
|
+
error: props,
|
|
1454
|
+
group: props,
|
|
1455
|
+
groupCollapsed: props,
|
|
1456
|
+
groupEnd: props
|
|
1457
|
+
});
|
|
1458
|
+
}
|
|
1459
|
+
disabledDepth++;
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
function reenableLogs() {
|
|
1463
|
+
{
|
|
1464
|
+
disabledDepth--;
|
|
1465
|
+
if (disabledDepth === 0) {
|
|
1466
|
+
var props = {
|
|
1467
|
+
configurable: true,
|
|
1468
|
+
enumerable: true,
|
|
1469
|
+
writable: true
|
|
1470
|
+
};
|
|
1471
|
+
Object.defineProperties(console, {
|
|
1472
|
+
log: assign({}, props, {
|
|
1473
|
+
value: prevLog
|
|
1474
|
+
}),
|
|
1475
|
+
info: assign({}, props, {
|
|
1476
|
+
value: prevInfo
|
|
1477
|
+
}),
|
|
1478
|
+
warn: assign({}, props, {
|
|
1479
|
+
value: prevWarn
|
|
1480
|
+
}),
|
|
1481
|
+
error: assign({}, props, {
|
|
1482
|
+
value: prevError
|
|
1483
|
+
}),
|
|
1484
|
+
group: assign({}, props, {
|
|
1485
|
+
value: prevGroup
|
|
1486
|
+
}),
|
|
1487
|
+
groupCollapsed: assign({}, props, {
|
|
1488
|
+
value: prevGroupCollapsed
|
|
1489
|
+
}),
|
|
1490
|
+
groupEnd: assign({}, props, {
|
|
1491
|
+
value: prevGroupEnd
|
|
1492
|
+
})
|
|
1493
|
+
});
|
|
1494
|
+
}
|
|
1495
|
+
if (disabledDepth < 0) {
|
|
1496
|
+
error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;
|
|
1501
|
+
var prefix;
|
|
1502
|
+
function describeBuiltInComponentFrame(name, source, ownerFn) {
|
|
1503
|
+
{
|
|
1504
|
+
if (prefix === void 0) {
|
|
1505
|
+
try {
|
|
1506
|
+
throw Error();
|
|
1507
|
+
} catch (x) {
|
|
1508
|
+
var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
1509
|
+
prefix = match && match[1] || "";
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
return "\n" + prefix + name;
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
var reentry = false;
|
|
1516
|
+
var componentFrameCache;
|
|
1517
|
+
{
|
|
1518
|
+
var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
|
|
1519
|
+
componentFrameCache = new PossiblyWeakMap();
|
|
1520
|
+
}
|
|
1521
|
+
function describeNativeComponentFrame(fn, construct) {
|
|
1522
|
+
if (!fn || reentry) {
|
|
1523
|
+
return "";
|
|
1524
|
+
}
|
|
1525
|
+
{
|
|
1526
|
+
var frame = componentFrameCache.get(fn);
|
|
1527
|
+
if (frame !== void 0) {
|
|
1528
|
+
return frame;
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
var control;
|
|
1532
|
+
reentry = true;
|
|
1533
|
+
var previousPrepareStackTrace = Error.prepareStackTrace;
|
|
1534
|
+
Error.prepareStackTrace = void 0;
|
|
1535
|
+
var previousDispatcher;
|
|
1536
|
+
{
|
|
1537
|
+
previousDispatcher = ReactCurrentDispatcher$1.current;
|
|
1538
|
+
ReactCurrentDispatcher$1.current = null;
|
|
1539
|
+
disableLogs();
|
|
1540
|
+
}
|
|
1541
|
+
try {
|
|
1542
|
+
if (construct) {
|
|
1543
|
+
var Fake = function() {
|
|
1544
|
+
throw Error();
|
|
1545
|
+
};
|
|
1546
|
+
Object.defineProperty(Fake.prototype, "props", {
|
|
1547
|
+
set: function() {
|
|
1548
|
+
throw Error();
|
|
1549
|
+
}
|
|
1550
|
+
});
|
|
1551
|
+
if (typeof Reflect === "object" && Reflect.construct) {
|
|
1552
|
+
try {
|
|
1553
|
+
Reflect.construct(Fake, []);
|
|
1554
|
+
} catch (x) {
|
|
1555
|
+
control = x;
|
|
1556
|
+
}
|
|
1557
|
+
Reflect.construct(fn, [], Fake);
|
|
1558
|
+
} else {
|
|
1559
|
+
try {
|
|
1560
|
+
Fake.call();
|
|
1561
|
+
} catch (x) {
|
|
1562
|
+
control = x;
|
|
1563
|
+
}
|
|
1564
|
+
fn.call(Fake.prototype);
|
|
1565
|
+
}
|
|
1566
|
+
} else {
|
|
1567
|
+
try {
|
|
1568
|
+
throw Error();
|
|
1569
|
+
} catch (x) {
|
|
1570
|
+
control = x;
|
|
1571
|
+
}
|
|
1572
|
+
fn();
|
|
1573
|
+
}
|
|
1574
|
+
} catch (sample) {
|
|
1575
|
+
if (sample && control && typeof sample.stack === "string") {
|
|
1576
|
+
var sampleLines = sample.stack.split("\n");
|
|
1577
|
+
var controlLines = control.stack.split("\n");
|
|
1578
|
+
var s = sampleLines.length - 1;
|
|
1579
|
+
var c = controlLines.length - 1;
|
|
1580
|
+
while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
|
|
1581
|
+
c--;
|
|
1582
|
+
}
|
|
1583
|
+
for (; s >= 1 && c >= 0; s--, c--) {
|
|
1584
|
+
if (sampleLines[s] !== controlLines[c]) {
|
|
1585
|
+
if (s !== 1 || c !== 1) {
|
|
1586
|
+
do {
|
|
1587
|
+
s--;
|
|
1588
|
+
c--;
|
|
1589
|
+
if (c < 0 || sampleLines[s] !== controlLines[c]) {
|
|
1590
|
+
var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
|
|
1591
|
+
if (fn.displayName && _frame.includes("<anonymous>")) {
|
|
1592
|
+
_frame = _frame.replace("<anonymous>", fn.displayName);
|
|
1593
|
+
}
|
|
1594
|
+
{
|
|
1595
|
+
if (typeof fn === "function") {
|
|
1596
|
+
componentFrameCache.set(fn, _frame);
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1599
|
+
return _frame;
|
|
1600
|
+
}
|
|
1601
|
+
} while (s >= 1 && c >= 0);
|
|
1602
|
+
}
|
|
1603
|
+
break;
|
|
1604
|
+
}
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1607
|
+
} finally {
|
|
1608
|
+
reentry = false;
|
|
1609
|
+
{
|
|
1610
|
+
ReactCurrentDispatcher$1.current = previousDispatcher;
|
|
1611
|
+
reenableLogs();
|
|
1612
|
+
}
|
|
1613
|
+
Error.prepareStackTrace = previousPrepareStackTrace;
|
|
1614
|
+
}
|
|
1615
|
+
var name = fn ? fn.displayName || fn.name : "";
|
|
1616
|
+
var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
|
|
1617
|
+
{
|
|
1618
|
+
if (typeof fn === "function") {
|
|
1619
|
+
componentFrameCache.set(fn, syntheticFrame);
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
return syntheticFrame;
|
|
1623
|
+
}
|
|
1624
|
+
function describeFunctionComponentFrame(fn, source, ownerFn) {
|
|
1625
|
+
{
|
|
1626
|
+
return describeNativeComponentFrame(fn, false);
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
function shouldConstruct(Component2) {
|
|
1630
|
+
var prototype = Component2.prototype;
|
|
1631
|
+
return !!(prototype && prototype.isReactComponent);
|
|
1632
|
+
}
|
|
1633
|
+
function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
|
|
1634
|
+
if (type == null) {
|
|
1635
|
+
return "";
|
|
1636
|
+
}
|
|
1637
|
+
if (typeof type === "function") {
|
|
1638
|
+
{
|
|
1639
|
+
return describeNativeComponentFrame(type, shouldConstruct(type));
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1642
|
+
if (typeof type === "string") {
|
|
1643
|
+
return describeBuiltInComponentFrame(type);
|
|
1644
|
+
}
|
|
1645
|
+
switch (type) {
|
|
1646
|
+
case REACT_SUSPENSE_TYPE:
|
|
1647
|
+
return describeBuiltInComponentFrame("Suspense");
|
|
1648
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
1649
|
+
return describeBuiltInComponentFrame("SuspenseList");
|
|
1650
|
+
}
|
|
1651
|
+
if (typeof type === "object") {
|
|
1652
|
+
switch (type.$$typeof) {
|
|
1653
|
+
case REACT_FORWARD_REF_TYPE:
|
|
1654
|
+
return describeFunctionComponentFrame(type.render);
|
|
1655
|
+
case REACT_MEMO_TYPE:
|
|
1656
|
+
return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
|
|
1657
|
+
case REACT_LAZY_TYPE: {
|
|
1658
|
+
var lazyComponent = type;
|
|
1659
|
+
var payload = lazyComponent._payload;
|
|
1660
|
+
var init = lazyComponent._init;
|
|
1661
|
+
try {
|
|
1662
|
+
return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
|
|
1663
|
+
} catch (x) {
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
return "";
|
|
1669
|
+
}
|
|
1670
|
+
var loggedTypeFailures = {};
|
|
1671
|
+
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
1672
|
+
function setCurrentlyValidatingElement(element) {
|
|
1673
|
+
{
|
|
1674
|
+
if (element) {
|
|
1675
|
+
var owner = element._owner;
|
|
1676
|
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
|
1677
|
+
ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
|
|
1678
|
+
} else {
|
|
1679
|
+
ReactDebugCurrentFrame$1.setExtraStackFrame(null);
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
|
1684
|
+
{
|
|
1685
|
+
var has = Function.call.bind(hasOwnProperty);
|
|
1686
|
+
for (var typeSpecName in typeSpecs) {
|
|
1687
|
+
if (has(typeSpecs, typeSpecName)) {
|
|
1688
|
+
var error$1 = void 0;
|
|
1689
|
+
try {
|
|
1690
|
+
if (typeof typeSpecs[typeSpecName] !== "function") {
|
|
1691
|
+
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`.");
|
|
1692
|
+
err.name = "Invariant Violation";
|
|
1693
|
+
throw err;
|
|
1694
|
+
}
|
|
1695
|
+
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1696
|
+
} catch (ex) {
|
|
1697
|
+
error$1 = ex;
|
|
1698
|
+
}
|
|
1699
|
+
if (error$1 && !(error$1 instanceof Error)) {
|
|
1700
|
+
setCurrentlyValidatingElement(element);
|
|
1701
|
+
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);
|
|
1702
|
+
setCurrentlyValidatingElement(null);
|
|
1703
|
+
}
|
|
1704
|
+
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
|
|
1705
|
+
loggedTypeFailures[error$1.message] = true;
|
|
1706
|
+
setCurrentlyValidatingElement(element);
|
|
1707
|
+
error("Failed %s type: %s", location, error$1.message);
|
|
1708
|
+
setCurrentlyValidatingElement(null);
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
function setCurrentlyValidatingElement$1(element) {
|
|
1715
|
+
{
|
|
1716
|
+
if (element) {
|
|
1717
|
+
var owner = element._owner;
|
|
1718
|
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
|
1719
|
+
setExtraStackFrame(stack);
|
|
1720
|
+
} else {
|
|
1721
|
+
setExtraStackFrame(null);
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
var propTypesMisspellWarningShown;
|
|
1726
|
+
{
|
|
1727
|
+
propTypesMisspellWarningShown = false;
|
|
1728
|
+
}
|
|
1729
|
+
function getDeclarationErrorAddendum() {
|
|
1730
|
+
if (ReactCurrentOwner.current) {
|
|
1731
|
+
var name = getComponentNameFromType(ReactCurrentOwner.current.type);
|
|
1732
|
+
if (name) {
|
|
1733
|
+
return "\n\nCheck the render method of `" + name + "`.";
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
return "";
|
|
1737
|
+
}
|
|
1738
|
+
function getSourceInfoErrorAddendum(source) {
|
|
1739
|
+
if (source !== void 0) {
|
|
1740
|
+
var fileName = source.fileName.replace(/^.*[\\\/]/, "");
|
|
1741
|
+
var lineNumber = source.lineNumber;
|
|
1742
|
+
return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
|
|
1743
|
+
}
|
|
1744
|
+
return "";
|
|
1745
|
+
}
|
|
1746
|
+
function getSourceInfoErrorAddendumForProps(elementProps) {
|
|
1747
|
+
if (elementProps !== null && elementProps !== void 0) {
|
|
1748
|
+
return getSourceInfoErrorAddendum(elementProps.__source);
|
|
1749
|
+
}
|
|
1750
|
+
return "";
|
|
1751
|
+
}
|
|
1752
|
+
var ownerHasKeyUseWarning = {};
|
|
1753
|
+
function getCurrentComponentErrorInfo(parentType) {
|
|
1754
|
+
var info = getDeclarationErrorAddendum();
|
|
1755
|
+
if (!info) {
|
|
1756
|
+
var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
|
|
1757
|
+
if (parentName) {
|
|
1758
|
+
info = "\n\nCheck the top-level render call using <" + parentName + ">.";
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
return info;
|
|
1762
|
+
}
|
|
1763
|
+
function validateExplicitKey(element, parentType) {
|
|
1764
|
+
if (!element._store || element._store.validated || element.key != null) {
|
|
1765
|
+
return;
|
|
1766
|
+
}
|
|
1767
|
+
element._store.validated = true;
|
|
1768
|
+
var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
|
|
1769
|
+
if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
|
|
1770
|
+
return;
|
|
1771
|
+
}
|
|
1772
|
+
ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
|
|
1773
|
+
var childOwner = "";
|
|
1774
|
+
if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
|
|
1775
|
+
childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
|
|
1776
|
+
}
|
|
1777
|
+
{
|
|
1778
|
+
setCurrentlyValidatingElement$1(element);
|
|
1779
|
+
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);
|
|
1780
|
+
setCurrentlyValidatingElement$1(null);
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
function validateChildKeys(node, parentType) {
|
|
1784
|
+
if (typeof node !== "object") {
|
|
1785
|
+
return;
|
|
1786
|
+
}
|
|
1787
|
+
if (isArray(node)) {
|
|
1788
|
+
for (var i = 0; i < node.length; i++) {
|
|
1789
|
+
var child = node[i];
|
|
1790
|
+
if (isValidElement(child)) {
|
|
1791
|
+
validateExplicitKey(child, parentType);
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
} else if (isValidElement(node)) {
|
|
1795
|
+
if (node._store) {
|
|
1796
|
+
node._store.validated = true;
|
|
1797
|
+
}
|
|
1798
|
+
} else if (node) {
|
|
1799
|
+
var iteratorFn = getIteratorFn(node);
|
|
1800
|
+
if (typeof iteratorFn === "function") {
|
|
1801
|
+
if (iteratorFn !== node.entries) {
|
|
1802
|
+
var iterator = iteratorFn.call(node);
|
|
1803
|
+
var step;
|
|
1804
|
+
while (!(step = iterator.next()).done) {
|
|
1805
|
+
if (isValidElement(step.value)) {
|
|
1806
|
+
validateExplicitKey(step.value, parentType);
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
function validatePropTypes(element) {
|
|
1814
|
+
{
|
|
1815
|
+
var type = element.type;
|
|
1816
|
+
if (type === null || type === void 0 || typeof type === "string") {
|
|
1817
|
+
return;
|
|
1818
|
+
}
|
|
1819
|
+
var propTypes;
|
|
1820
|
+
if (typeof type === "function") {
|
|
1821
|
+
propTypes = type.propTypes;
|
|
1822
|
+
} else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
|
|
1823
|
+
// Inner props are checked in the reconciler.
|
|
1824
|
+
type.$$typeof === REACT_MEMO_TYPE)) {
|
|
1825
|
+
propTypes = type.propTypes;
|
|
1826
|
+
} else {
|
|
1827
|
+
return;
|
|
1828
|
+
}
|
|
1829
|
+
if (propTypes) {
|
|
1830
|
+
var name = getComponentNameFromType(type);
|
|
1831
|
+
checkPropTypes(propTypes, element.props, "prop", name, element);
|
|
1832
|
+
} else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
|
|
1833
|
+
propTypesMisspellWarningShown = true;
|
|
1834
|
+
var _name = getComponentNameFromType(type);
|
|
1835
|
+
error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
|
|
1836
|
+
}
|
|
1837
|
+
if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
|
|
1838
|
+
error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
function validateFragmentProps(fragment) {
|
|
1843
|
+
{
|
|
1844
|
+
var keys = Object.keys(fragment.props);
|
|
1845
|
+
for (var i = 0; i < keys.length; i++) {
|
|
1846
|
+
var key = keys[i];
|
|
1847
|
+
if (key !== "children" && key !== "key") {
|
|
1848
|
+
setCurrentlyValidatingElement$1(fragment);
|
|
1849
|
+
error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
|
|
1850
|
+
setCurrentlyValidatingElement$1(null);
|
|
1851
|
+
break;
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
if (fragment.ref !== null) {
|
|
1855
|
+
setCurrentlyValidatingElement$1(fragment);
|
|
1856
|
+
error("Invalid attribute `ref` supplied to `React.Fragment`.");
|
|
1857
|
+
setCurrentlyValidatingElement$1(null);
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
function createElementWithValidation(type, props, children) {
|
|
1862
|
+
var validType = isValidElementType(type);
|
|
1863
|
+
if (!validType) {
|
|
1864
|
+
var info = "";
|
|
1865
|
+
if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
|
|
1866
|
+
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.";
|
|
1867
|
+
}
|
|
1868
|
+
var sourceInfo = getSourceInfoErrorAddendumForProps(props);
|
|
1869
|
+
if (sourceInfo) {
|
|
1870
|
+
info += sourceInfo;
|
|
1871
|
+
} else {
|
|
1872
|
+
info += getDeclarationErrorAddendum();
|
|
1873
|
+
}
|
|
1874
|
+
var typeString;
|
|
1875
|
+
if (type === null) {
|
|
1876
|
+
typeString = "null";
|
|
1877
|
+
} else if (isArray(type)) {
|
|
1878
|
+
typeString = "array";
|
|
1879
|
+
} else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
|
|
1880
|
+
typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
|
|
1881
|
+
info = " Did you accidentally export a JSX literal instead of a component?";
|
|
1882
|
+
} else {
|
|
1883
|
+
typeString = typeof type;
|
|
1884
|
+
}
|
|
1885
|
+
{
|
|
1886
|
+
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);
|
|
1887
|
+
}
|
|
1888
|
+
}
|
|
1889
|
+
var element = createElement.apply(this, arguments);
|
|
1890
|
+
if (element == null) {
|
|
1891
|
+
return element;
|
|
1892
|
+
}
|
|
1893
|
+
if (validType) {
|
|
1894
|
+
for (var i = 2; i < arguments.length; i++) {
|
|
1895
|
+
validateChildKeys(arguments[i], type);
|
|
1896
|
+
}
|
|
1897
|
+
}
|
|
1898
|
+
if (type === REACT_FRAGMENT_TYPE) {
|
|
1899
|
+
validateFragmentProps(element);
|
|
1900
|
+
} else {
|
|
1901
|
+
validatePropTypes(element);
|
|
1902
|
+
}
|
|
1903
|
+
return element;
|
|
1904
|
+
}
|
|
1905
|
+
var didWarnAboutDeprecatedCreateFactory = false;
|
|
1906
|
+
function createFactoryWithValidation(type) {
|
|
1907
|
+
var validatedFactory = createElementWithValidation.bind(null, type);
|
|
1908
|
+
validatedFactory.type = type;
|
|
1909
|
+
{
|
|
1910
|
+
if (!didWarnAboutDeprecatedCreateFactory) {
|
|
1911
|
+
didWarnAboutDeprecatedCreateFactory = true;
|
|
1912
|
+
warn("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.");
|
|
1913
|
+
}
|
|
1914
|
+
Object.defineProperty(validatedFactory, "type", {
|
|
1915
|
+
enumerable: false,
|
|
1916
|
+
get: function() {
|
|
1917
|
+
warn("Factory.type is deprecated. Access the class directly before passing it to createFactory.");
|
|
1918
|
+
Object.defineProperty(this, "type", {
|
|
1919
|
+
value: type
|
|
1920
|
+
});
|
|
1921
|
+
return type;
|
|
1922
|
+
}
|
|
1923
|
+
});
|
|
1924
|
+
}
|
|
1925
|
+
return validatedFactory;
|
|
1926
|
+
}
|
|
1927
|
+
function cloneElementWithValidation(element, props, children) {
|
|
1928
|
+
var newElement = cloneElement.apply(this, arguments);
|
|
1929
|
+
for (var i = 2; i < arguments.length; i++) {
|
|
1930
|
+
validateChildKeys(arguments[i], newElement.type);
|
|
1931
|
+
}
|
|
1932
|
+
validatePropTypes(newElement);
|
|
1933
|
+
return newElement;
|
|
1934
|
+
}
|
|
1935
|
+
function startTransition(scope, options) {
|
|
1936
|
+
var prevTransition = ReactCurrentBatchConfig.transition;
|
|
1937
|
+
ReactCurrentBatchConfig.transition = {};
|
|
1938
|
+
var currentTransition = ReactCurrentBatchConfig.transition;
|
|
1939
|
+
{
|
|
1940
|
+
ReactCurrentBatchConfig.transition._updatedFibers = /* @__PURE__ */ new Set();
|
|
1941
|
+
}
|
|
1942
|
+
try {
|
|
1943
|
+
scope();
|
|
1944
|
+
} finally {
|
|
1945
|
+
ReactCurrentBatchConfig.transition = prevTransition;
|
|
1946
|
+
{
|
|
1947
|
+
if (prevTransition === null && currentTransition._updatedFibers) {
|
|
1948
|
+
var updatedFibersCount = currentTransition._updatedFibers.size;
|
|
1949
|
+
if (updatedFibersCount > 10) {
|
|
1950
|
+
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.");
|
|
1951
|
+
}
|
|
1952
|
+
currentTransition._updatedFibers.clear();
|
|
1953
|
+
}
|
|
1954
|
+
}
|
|
1955
|
+
}
|
|
1956
|
+
}
|
|
1957
|
+
var didWarnAboutMessageChannel = false;
|
|
1958
|
+
var enqueueTaskImpl = null;
|
|
1959
|
+
function enqueueTask(task) {
|
|
1960
|
+
if (enqueueTaskImpl === null) {
|
|
1961
|
+
try {
|
|
1962
|
+
var requireString = ("require" + Math.random()).slice(0, 7);
|
|
1963
|
+
var nodeRequire = module2 && module2[requireString];
|
|
1964
|
+
enqueueTaskImpl = nodeRequire.call(module2, "timers").setImmediate;
|
|
1965
|
+
} catch (_err) {
|
|
1966
|
+
enqueueTaskImpl = function(callback) {
|
|
1967
|
+
{
|
|
1968
|
+
if (didWarnAboutMessageChannel === false) {
|
|
1969
|
+
didWarnAboutMessageChannel = true;
|
|
1970
|
+
if (typeof MessageChannel === "undefined") {
|
|
1971
|
+
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.");
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1975
|
+
var channel = new MessageChannel();
|
|
1976
|
+
channel.port1.onmessage = callback;
|
|
1977
|
+
channel.port2.postMessage(void 0);
|
|
1978
|
+
};
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
return enqueueTaskImpl(task);
|
|
1982
|
+
}
|
|
1983
|
+
var actScopeDepth = 0;
|
|
1984
|
+
var didWarnNoAwaitAct = false;
|
|
1985
|
+
function act(callback) {
|
|
1986
|
+
{
|
|
1987
|
+
var prevActScopeDepth = actScopeDepth;
|
|
1988
|
+
actScopeDepth++;
|
|
1989
|
+
if (ReactCurrentActQueue.current === null) {
|
|
1990
|
+
ReactCurrentActQueue.current = [];
|
|
1991
|
+
}
|
|
1992
|
+
var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy;
|
|
1993
|
+
var result;
|
|
1994
|
+
try {
|
|
1995
|
+
ReactCurrentActQueue.isBatchingLegacy = true;
|
|
1996
|
+
result = callback();
|
|
1997
|
+
if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) {
|
|
1998
|
+
var queue = ReactCurrentActQueue.current;
|
|
1999
|
+
if (queue !== null) {
|
|
2000
|
+
ReactCurrentActQueue.didScheduleLegacyUpdate = false;
|
|
2001
|
+
flushActQueue(queue);
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
} catch (error2) {
|
|
2005
|
+
popActScope(prevActScopeDepth);
|
|
2006
|
+
throw error2;
|
|
2007
|
+
} finally {
|
|
2008
|
+
ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy;
|
|
2009
|
+
}
|
|
2010
|
+
if (result !== null && typeof result === "object" && typeof result.then === "function") {
|
|
2011
|
+
var thenableResult = result;
|
|
2012
|
+
var wasAwaited = false;
|
|
2013
|
+
var thenable = {
|
|
2014
|
+
then: function(resolve, reject) {
|
|
2015
|
+
wasAwaited = true;
|
|
2016
|
+
thenableResult.then(function(returnValue2) {
|
|
2017
|
+
popActScope(prevActScopeDepth);
|
|
2018
|
+
if (actScopeDepth === 0) {
|
|
2019
|
+
recursivelyFlushAsyncActWork(returnValue2, resolve, reject);
|
|
2020
|
+
} else {
|
|
2021
|
+
resolve(returnValue2);
|
|
2022
|
+
}
|
|
2023
|
+
}, function(error2) {
|
|
2024
|
+
popActScope(prevActScopeDepth);
|
|
2025
|
+
reject(error2);
|
|
2026
|
+
});
|
|
2027
|
+
}
|
|
2028
|
+
};
|
|
2029
|
+
{
|
|
2030
|
+
if (!didWarnNoAwaitAct && typeof Promise !== "undefined") {
|
|
2031
|
+
Promise.resolve().then(function() {
|
|
2032
|
+
}).then(function() {
|
|
2033
|
+
if (!wasAwaited) {
|
|
2034
|
+
didWarnNoAwaitAct = true;
|
|
2035
|
+
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 () => ...);");
|
|
2036
|
+
}
|
|
2037
|
+
});
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
return thenable;
|
|
2041
|
+
} else {
|
|
2042
|
+
var returnValue = result;
|
|
2043
|
+
popActScope(prevActScopeDepth);
|
|
2044
|
+
if (actScopeDepth === 0) {
|
|
2045
|
+
var _queue = ReactCurrentActQueue.current;
|
|
2046
|
+
if (_queue !== null) {
|
|
2047
|
+
flushActQueue(_queue);
|
|
2048
|
+
ReactCurrentActQueue.current = null;
|
|
2049
|
+
}
|
|
2050
|
+
var _thenable = {
|
|
2051
|
+
then: function(resolve, reject) {
|
|
2052
|
+
if (ReactCurrentActQueue.current === null) {
|
|
2053
|
+
ReactCurrentActQueue.current = [];
|
|
2054
|
+
recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
|
2055
|
+
} else {
|
|
2056
|
+
resolve(returnValue);
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
};
|
|
2060
|
+
return _thenable;
|
|
2061
|
+
} else {
|
|
2062
|
+
var _thenable2 = {
|
|
2063
|
+
then: function(resolve, reject) {
|
|
2064
|
+
resolve(returnValue);
|
|
2065
|
+
}
|
|
2066
|
+
};
|
|
2067
|
+
return _thenable2;
|
|
2068
|
+
}
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
2072
|
+
function popActScope(prevActScopeDepth) {
|
|
2073
|
+
{
|
|
2074
|
+
if (prevActScopeDepth !== actScopeDepth - 1) {
|
|
2075
|
+
error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");
|
|
2076
|
+
}
|
|
2077
|
+
actScopeDepth = prevActScopeDepth;
|
|
2078
|
+
}
|
|
2079
|
+
}
|
|
2080
|
+
function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
|
|
2081
|
+
{
|
|
2082
|
+
var queue = ReactCurrentActQueue.current;
|
|
2083
|
+
if (queue !== null) {
|
|
2084
|
+
try {
|
|
2085
|
+
flushActQueue(queue);
|
|
2086
|
+
enqueueTask(function() {
|
|
2087
|
+
if (queue.length === 0) {
|
|
2088
|
+
ReactCurrentActQueue.current = null;
|
|
2089
|
+
resolve(returnValue);
|
|
2090
|
+
} else {
|
|
2091
|
+
recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
|
2092
|
+
}
|
|
2093
|
+
});
|
|
2094
|
+
} catch (error2) {
|
|
2095
|
+
reject(error2);
|
|
2096
|
+
}
|
|
2097
|
+
} else {
|
|
2098
|
+
resolve(returnValue);
|
|
2099
|
+
}
|
|
2100
|
+
}
|
|
2101
|
+
}
|
|
2102
|
+
var isFlushing = false;
|
|
2103
|
+
function flushActQueue(queue) {
|
|
2104
|
+
{
|
|
2105
|
+
if (!isFlushing) {
|
|
2106
|
+
isFlushing = true;
|
|
2107
|
+
var i = 0;
|
|
2108
|
+
try {
|
|
2109
|
+
for (; i < queue.length; i++) {
|
|
2110
|
+
var callback = queue[i];
|
|
2111
|
+
do {
|
|
2112
|
+
callback = callback(true);
|
|
2113
|
+
} while (callback !== null);
|
|
2114
|
+
}
|
|
2115
|
+
queue.length = 0;
|
|
2116
|
+
} catch (error2) {
|
|
2117
|
+
queue = queue.slice(i + 1);
|
|
2118
|
+
throw error2;
|
|
2119
|
+
} finally {
|
|
2120
|
+
isFlushing = false;
|
|
2121
|
+
}
|
|
2122
|
+
}
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
2125
|
+
var createElement$1 = createElementWithValidation;
|
|
2126
|
+
var cloneElement$1 = cloneElementWithValidation;
|
|
2127
|
+
var createFactory = createFactoryWithValidation;
|
|
2128
|
+
var Children = {
|
|
2129
|
+
map: mapChildren,
|
|
2130
|
+
forEach: forEachChildren,
|
|
2131
|
+
count: countChildren,
|
|
2132
|
+
toArray,
|
|
2133
|
+
only: onlyChild
|
|
2134
|
+
};
|
|
2135
|
+
exports.Children = Children;
|
|
2136
|
+
exports.Component = Component;
|
|
2137
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
2138
|
+
exports.Profiler = REACT_PROFILER_TYPE;
|
|
2139
|
+
exports.PureComponent = PureComponent;
|
|
2140
|
+
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
2141
|
+
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
2142
|
+
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
|
|
2143
|
+
exports.act = act;
|
|
2144
|
+
exports.cloneElement = cloneElement$1;
|
|
2145
|
+
exports.createContext = createContext;
|
|
2146
|
+
exports.createElement = createElement$1;
|
|
2147
|
+
exports.createFactory = createFactory;
|
|
2148
|
+
exports.createRef = createRef;
|
|
2149
|
+
exports.forwardRef = forwardRef36;
|
|
2150
|
+
exports.isValidElement = isValidElement;
|
|
2151
|
+
exports.lazy = lazy;
|
|
2152
|
+
exports.memo = memo;
|
|
2153
|
+
exports.startTransition = startTransition;
|
|
2154
|
+
exports.unstable_act = act;
|
|
2155
|
+
exports.useCallback = useCallback;
|
|
2156
|
+
exports.useContext = useContext;
|
|
2157
|
+
exports.useDebugValue = useDebugValue;
|
|
2158
|
+
exports.useDeferredValue = useDeferredValue;
|
|
2159
|
+
exports.useEffect = useEffect;
|
|
2160
|
+
exports.useId = useId;
|
|
2161
|
+
exports.useImperativeHandle = useImperativeHandle;
|
|
2162
|
+
exports.useInsertionEffect = useInsertionEffect;
|
|
2163
|
+
exports.useLayoutEffect = useLayoutEffect;
|
|
2164
|
+
exports.useMemo = useMemo;
|
|
2165
|
+
exports.useReducer = useReducer;
|
|
2166
|
+
exports.useRef = useRef;
|
|
2167
|
+
exports.useState = useState;
|
|
2168
|
+
exports.useSyncExternalStore = useSyncExternalStore;
|
|
2169
|
+
exports.useTransition = useTransition;
|
|
2170
|
+
exports.version = ReactVersion;
|
|
2171
|
+
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
|
|
2172
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
2173
|
+
}
|
|
2174
|
+
})();
|
|
2175
|
+
}
|
|
2176
|
+
}
|
|
2177
|
+
});
|
|
2178
|
+
|
|
2179
|
+
// ../../../../../../.yarn/berry/cache/react-npm-18.3.1-af38f3c1ae-10c0.zip/node_modules/react/index.js
|
|
2180
|
+
var require_react = __commonJS({
|
|
2181
|
+
"../../../../../../.yarn/berry/cache/react-npm-18.3.1-af38f3c1ae-10c0.zip/node_modules/react/index.js"(exports, module2) {
|
|
2182
|
+
"use strict";
|
|
2183
|
+
if (process.env.NODE_ENV === "production") {
|
|
2184
|
+
module2.exports = require_react_production_min();
|
|
2185
|
+
} else {
|
|
2186
|
+
module2.exports = require_react_development();
|
|
2187
|
+
}
|
|
2188
|
+
}
|
|
2189
|
+
});
|
|
2190
|
+
|
|
2191
|
+
// ../../../../../../.yarn/berry/cache/react-npm-18.3.1-af38f3c1ae-10c0.zip/node_modules/react/cjs/react-jsx-runtime.production.min.js
|
|
2192
|
+
var require_react_jsx_runtime_production_min = __commonJS({
|
|
2193
|
+
"../../../../../../.yarn/berry/cache/react-npm-18.3.1-af38f3c1ae-10c0.zip/node_modules/react/cjs/react-jsx-runtime.production.min.js"(exports) {
|
|
2194
|
+
"use strict";
|
|
2195
|
+
var f = require_react();
|
|
2196
|
+
var k = Symbol.for("react.element");
|
|
2197
|
+
var l = Symbol.for("react.fragment");
|
|
2198
|
+
var m = Object.prototype.hasOwnProperty;
|
|
2199
|
+
var n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner;
|
|
2200
|
+
var p = { key: true, ref: true, __self: true, __source: true };
|
|
2201
|
+
function q(c, a, g) {
|
|
2202
|
+
var b, d = {}, e = null, h = null;
|
|
2203
|
+
void 0 !== g && (e = "" + g);
|
|
2204
|
+
void 0 !== a.key && (e = "" + a.key);
|
|
2205
|
+
void 0 !== a.ref && (h = a.ref);
|
|
2206
|
+
for (b in a) m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
|
|
2207
|
+
if (c && c.defaultProps) for (b in a = c.defaultProps, a) void 0 === d[b] && (d[b] = a[b]);
|
|
2208
|
+
return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current };
|
|
2209
|
+
}
|
|
2210
|
+
exports.Fragment = l;
|
|
2211
|
+
exports.jsx = q;
|
|
2212
|
+
exports.jsxs = q;
|
|
2213
|
+
}
|
|
2214
|
+
});
|
|
2215
|
+
|
|
2216
|
+
// ../../../../../../.yarn/berry/cache/react-npm-18.3.1-af38f3c1ae-10c0.zip/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
2217
|
+
var require_react_jsx_runtime_development = __commonJS({
|
|
2218
|
+
"../../../../../../.yarn/berry/cache/react-npm-18.3.1-af38f3c1ae-10c0.zip/node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
|
|
2219
|
+
"use strict";
|
|
2220
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2221
|
+
(function() {
|
|
2222
|
+
"use strict";
|
|
2223
|
+
var React = require_react();
|
|
2224
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.element");
|
|
2225
|
+
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
2226
|
+
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
2227
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
|
2228
|
+
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
2229
|
+
var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
|
|
2230
|
+
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
|
2231
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
|
2232
|
+
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
2233
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
|
|
2234
|
+
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
2235
|
+
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
2236
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
|
|
2237
|
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
2238
|
+
var FAUX_ITERATOR_SYMBOL = "@@iterator";
|
|
2239
|
+
function getIteratorFn(maybeIterable) {
|
|
2240
|
+
if (maybeIterable === null || typeof maybeIterable !== "object") {
|
|
2241
|
+
return null;
|
|
2242
|
+
}
|
|
2243
|
+
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
|
2244
|
+
if (typeof maybeIterator === "function") {
|
|
2245
|
+
return maybeIterator;
|
|
2246
|
+
}
|
|
2247
|
+
return null;
|
|
2248
|
+
}
|
|
2249
|
+
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2250
|
+
function error(format) {
|
|
2251
|
+
{
|
|
2252
|
+
{
|
|
2253
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
2254
|
+
args[_key2 - 1] = arguments[_key2];
|
|
2255
|
+
}
|
|
2256
|
+
printWarning("error", format, args);
|
|
2257
|
+
}
|
|
2258
|
+
}
|
|
2259
|
+
}
|
|
2260
|
+
function printWarning(level, format, args) {
|
|
2261
|
+
{
|
|
2262
|
+
var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
2263
|
+
var stack = ReactDebugCurrentFrame2.getStackAddendum();
|
|
2264
|
+
if (stack !== "") {
|
|
2265
|
+
format += "%s";
|
|
2266
|
+
args = args.concat([stack]);
|
|
2267
|
+
}
|
|
2268
|
+
var argsWithFormat = args.map(function(item) {
|
|
2269
|
+
return String(item);
|
|
2270
|
+
});
|
|
2271
|
+
argsWithFormat.unshift("Warning: " + format);
|
|
2272
|
+
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2275
|
+
var enableScopeAPI = false;
|
|
2276
|
+
var enableCacheElement = false;
|
|
2277
|
+
var enableTransitionTracing = false;
|
|
2278
|
+
var enableLegacyHidden = false;
|
|
2279
|
+
var enableDebugTracing = false;
|
|
2280
|
+
var REACT_MODULE_REFERENCE;
|
|
2281
|
+
{
|
|
2282
|
+
REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
|
|
2283
|
+
}
|
|
2284
|
+
function isValidElementType(type) {
|
|
2285
|
+
if (typeof type === "string" || typeof type === "function") {
|
|
2286
|
+
return true;
|
|
2287
|
+
}
|
|
2288
|
+
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) {
|
|
2289
|
+
return true;
|
|
2290
|
+
}
|
|
2291
|
+
if (typeof type === "object" && type !== null) {
|
|
2292
|
+
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
|
|
2293
|
+
// types supported by any Flight configuration anywhere since
|
|
2294
|
+
// we don't know which Flight build this will end up being used
|
|
2295
|
+
// with.
|
|
2296
|
+
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
|
|
2297
|
+
return true;
|
|
2298
|
+
}
|
|
2299
|
+
}
|
|
2300
|
+
return false;
|
|
2301
|
+
}
|
|
2302
|
+
function getWrappedName(outerType, innerType, wrapperName) {
|
|
2303
|
+
var displayName = outerType.displayName;
|
|
2304
|
+
if (displayName) {
|
|
2305
|
+
return displayName;
|
|
2306
|
+
}
|
|
2307
|
+
var functionName = innerType.displayName || innerType.name || "";
|
|
2308
|
+
return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
|
|
2309
|
+
}
|
|
2310
|
+
function getContextName(type) {
|
|
2311
|
+
return type.displayName || "Context";
|
|
2312
|
+
}
|
|
2313
|
+
function getComponentNameFromType(type) {
|
|
2314
|
+
if (type == null) {
|
|
2315
|
+
return null;
|
|
2316
|
+
}
|
|
2317
|
+
{
|
|
2318
|
+
if (typeof type.tag === "number") {
|
|
2319
|
+
error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
if (typeof type === "function") {
|
|
2323
|
+
return type.displayName || type.name || null;
|
|
2324
|
+
}
|
|
2325
|
+
if (typeof type === "string") {
|
|
2326
|
+
return type;
|
|
2327
|
+
}
|
|
2328
|
+
switch (type) {
|
|
2329
|
+
case REACT_FRAGMENT_TYPE:
|
|
2330
|
+
return "Fragment";
|
|
2331
|
+
case REACT_PORTAL_TYPE:
|
|
2332
|
+
return "Portal";
|
|
2333
|
+
case REACT_PROFILER_TYPE:
|
|
2334
|
+
return "Profiler";
|
|
2335
|
+
case REACT_STRICT_MODE_TYPE:
|
|
2336
|
+
return "StrictMode";
|
|
2337
|
+
case REACT_SUSPENSE_TYPE:
|
|
2338
|
+
return "Suspense";
|
|
2339
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
2340
|
+
return "SuspenseList";
|
|
2341
|
+
}
|
|
2342
|
+
if (typeof type === "object") {
|
|
2343
|
+
switch (type.$$typeof) {
|
|
2344
|
+
case REACT_CONTEXT_TYPE:
|
|
2345
|
+
var context = type;
|
|
2346
|
+
return getContextName(context) + ".Consumer";
|
|
2347
|
+
case REACT_PROVIDER_TYPE:
|
|
2348
|
+
var provider = type;
|
|
2349
|
+
return getContextName(provider._context) + ".Provider";
|
|
2350
|
+
case REACT_FORWARD_REF_TYPE:
|
|
2351
|
+
return getWrappedName(type, type.render, "ForwardRef");
|
|
2352
|
+
case REACT_MEMO_TYPE:
|
|
2353
|
+
var outerName = type.displayName || null;
|
|
2354
|
+
if (outerName !== null) {
|
|
2355
|
+
return outerName;
|
|
2356
|
+
}
|
|
2357
|
+
return getComponentNameFromType(type.type) || "Memo";
|
|
2358
|
+
case REACT_LAZY_TYPE: {
|
|
2359
|
+
var lazyComponent = type;
|
|
2360
|
+
var payload = lazyComponent._payload;
|
|
2361
|
+
var init = lazyComponent._init;
|
|
2362
|
+
try {
|
|
2363
|
+
return getComponentNameFromType(init(payload));
|
|
2364
|
+
} catch (x) {
|
|
2365
|
+
return null;
|
|
2366
|
+
}
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2369
|
+
}
|
|
2370
|
+
return null;
|
|
2371
|
+
}
|
|
2372
|
+
var assign = Object.assign;
|
|
2373
|
+
var disabledDepth = 0;
|
|
2374
|
+
var prevLog;
|
|
2375
|
+
var prevInfo;
|
|
2376
|
+
var prevWarn;
|
|
2377
|
+
var prevError;
|
|
2378
|
+
var prevGroup;
|
|
2379
|
+
var prevGroupCollapsed;
|
|
2380
|
+
var prevGroupEnd;
|
|
2381
|
+
function disabledLog() {
|
|
2382
|
+
}
|
|
2383
|
+
disabledLog.__reactDisabledLog = true;
|
|
2384
|
+
function disableLogs() {
|
|
2385
|
+
{
|
|
2386
|
+
if (disabledDepth === 0) {
|
|
2387
|
+
prevLog = console.log;
|
|
2388
|
+
prevInfo = console.info;
|
|
2389
|
+
prevWarn = console.warn;
|
|
2390
|
+
prevError = console.error;
|
|
2391
|
+
prevGroup = console.group;
|
|
2392
|
+
prevGroupCollapsed = console.groupCollapsed;
|
|
2393
|
+
prevGroupEnd = console.groupEnd;
|
|
2394
|
+
var props = {
|
|
2395
|
+
configurable: true,
|
|
2396
|
+
enumerable: true,
|
|
2397
|
+
value: disabledLog,
|
|
2398
|
+
writable: true
|
|
2399
|
+
};
|
|
2400
|
+
Object.defineProperties(console, {
|
|
2401
|
+
info: props,
|
|
2402
|
+
log: props,
|
|
2403
|
+
warn: props,
|
|
2404
|
+
error: props,
|
|
2405
|
+
group: props,
|
|
2406
|
+
groupCollapsed: props,
|
|
2407
|
+
groupEnd: props
|
|
2408
|
+
});
|
|
2409
|
+
}
|
|
2410
|
+
disabledDepth++;
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
function reenableLogs() {
|
|
2414
|
+
{
|
|
2415
|
+
disabledDepth--;
|
|
2416
|
+
if (disabledDepth === 0) {
|
|
2417
|
+
var props = {
|
|
2418
|
+
configurable: true,
|
|
2419
|
+
enumerable: true,
|
|
2420
|
+
writable: true
|
|
2421
|
+
};
|
|
2422
|
+
Object.defineProperties(console, {
|
|
2423
|
+
log: assign({}, props, {
|
|
2424
|
+
value: prevLog
|
|
2425
|
+
}),
|
|
2426
|
+
info: assign({}, props, {
|
|
2427
|
+
value: prevInfo
|
|
2428
|
+
}),
|
|
2429
|
+
warn: assign({}, props, {
|
|
2430
|
+
value: prevWarn
|
|
2431
|
+
}),
|
|
2432
|
+
error: assign({}, props, {
|
|
2433
|
+
value: prevError
|
|
2434
|
+
}),
|
|
2435
|
+
group: assign({}, props, {
|
|
2436
|
+
value: prevGroup
|
|
2437
|
+
}),
|
|
2438
|
+
groupCollapsed: assign({}, props, {
|
|
2439
|
+
value: prevGroupCollapsed
|
|
2440
|
+
}),
|
|
2441
|
+
groupEnd: assign({}, props, {
|
|
2442
|
+
value: prevGroupEnd
|
|
2443
|
+
})
|
|
2444
|
+
});
|
|
2445
|
+
}
|
|
2446
|
+
if (disabledDepth < 0) {
|
|
2447
|
+
error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
2448
|
+
}
|
|
2449
|
+
}
|
|
2450
|
+
}
|
|
2451
|
+
var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
|
|
2452
|
+
var prefix;
|
|
2453
|
+
function describeBuiltInComponentFrame(name, source, ownerFn) {
|
|
2454
|
+
{
|
|
2455
|
+
if (prefix === void 0) {
|
|
2456
|
+
try {
|
|
2457
|
+
throw Error();
|
|
2458
|
+
} catch (x) {
|
|
2459
|
+
var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
2460
|
+
prefix = match && match[1] || "";
|
|
2461
|
+
}
|
|
2462
|
+
}
|
|
2463
|
+
return "\n" + prefix + name;
|
|
2464
|
+
}
|
|
2465
|
+
}
|
|
2466
|
+
var reentry = false;
|
|
2467
|
+
var componentFrameCache;
|
|
2468
|
+
{
|
|
2469
|
+
var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
|
|
2470
|
+
componentFrameCache = new PossiblyWeakMap();
|
|
2471
|
+
}
|
|
2472
|
+
function describeNativeComponentFrame(fn, construct) {
|
|
2473
|
+
if (!fn || reentry) {
|
|
2474
|
+
return "";
|
|
2475
|
+
}
|
|
2476
|
+
{
|
|
2477
|
+
var frame = componentFrameCache.get(fn);
|
|
2478
|
+
if (frame !== void 0) {
|
|
2479
|
+
return frame;
|
|
2480
|
+
}
|
|
2481
|
+
}
|
|
2482
|
+
var control;
|
|
2483
|
+
reentry = true;
|
|
2484
|
+
var previousPrepareStackTrace = Error.prepareStackTrace;
|
|
2485
|
+
Error.prepareStackTrace = void 0;
|
|
2486
|
+
var previousDispatcher;
|
|
2487
|
+
{
|
|
2488
|
+
previousDispatcher = ReactCurrentDispatcher.current;
|
|
2489
|
+
ReactCurrentDispatcher.current = null;
|
|
2490
|
+
disableLogs();
|
|
2491
|
+
}
|
|
2492
|
+
try {
|
|
2493
|
+
if (construct) {
|
|
2494
|
+
var Fake = function() {
|
|
2495
|
+
throw Error();
|
|
2496
|
+
};
|
|
2497
|
+
Object.defineProperty(Fake.prototype, "props", {
|
|
2498
|
+
set: function() {
|
|
2499
|
+
throw Error();
|
|
2500
|
+
}
|
|
2501
|
+
});
|
|
2502
|
+
if (typeof Reflect === "object" && Reflect.construct) {
|
|
2503
|
+
try {
|
|
2504
|
+
Reflect.construct(Fake, []);
|
|
2505
|
+
} catch (x) {
|
|
2506
|
+
control = x;
|
|
2507
|
+
}
|
|
2508
|
+
Reflect.construct(fn, [], Fake);
|
|
2509
|
+
} else {
|
|
2510
|
+
try {
|
|
2511
|
+
Fake.call();
|
|
2512
|
+
} catch (x) {
|
|
2513
|
+
control = x;
|
|
2514
|
+
}
|
|
2515
|
+
fn.call(Fake.prototype);
|
|
2516
|
+
}
|
|
2517
|
+
} else {
|
|
2518
|
+
try {
|
|
2519
|
+
throw Error();
|
|
2520
|
+
} catch (x) {
|
|
2521
|
+
control = x;
|
|
2522
|
+
}
|
|
2523
|
+
fn();
|
|
2524
|
+
}
|
|
2525
|
+
} catch (sample) {
|
|
2526
|
+
if (sample && control && typeof sample.stack === "string") {
|
|
2527
|
+
var sampleLines = sample.stack.split("\n");
|
|
2528
|
+
var controlLines = control.stack.split("\n");
|
|
2529
|
+
var s = sampleLines.length - 1;
|
|
2530
|
+
var c = controlLines.length - 1;
|
|
2531
|
+
while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
|
|
2532
|
+
c--;
|
|
2533
|
+
}
|
|
2534
|
+
for (; s >= 1 && c >= 0; s--, c--) {
|
|
2535
|
+
if (sampleLines[s] !== controlLines[c]) {
|
|
2536
|
+
if (s !== 1 || c !== 1) {
|
|
2537
|
+
do {
|
|
2538
|
+
s--;
|
|
2539
|
+
c--;
|
|
2540
|
+
if (c < 0 || sampleLines[s] !== controlLines[c]) {
|
|
2541
|
+
var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
|
|
2542
|
+
if (fn.displayName && _frame.includes("<anonymous>")) {
|
|
2543
|
+
_frame = _frame.replace("<anonymous>", fn.displayName);
|
|
2544
|
+
}
|
|
2545
|
+
{
|
|
2546
|
+
if (typeof fn === "function") {
|
|
2547
|
+
componentFrameCache.set(fn, _frame);
|
|
2548
|
+
}
|
|
2549
|
+
}
|
|
2550
|
+
return _frame;
|
|
2551
|
+
}
|
|
2552
|
+
} while (s >= 1 && c >= 0);
|
|
2553
|
+
}
|
|
2554
|
+
break;
|
|
2555
|
+
}
|
|
2556
|
+
}
|
|
2557
|
+
}
|
|
2558
|
+
} finally {
|
|
2559
|
+
reentry = false;
|
|
2560
|
+
{
|
|
2561
|
+
ReactCurrentDispatcher.current = previousDispatcher;
|
|
2562
|
+
reenableLogs();
|
|
2563
|
+
}
|
|
2564
|
+
Error.prepareStackTrace = previousPrepareStackTrace;
|
|
2565
|
+
}
|
|
2566
|
+
var name = fn ? fn.displayName || fn.name : "";
|
|
2567
|
+
var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
|
|
2568
|
+
{
|
|
2569
|
+
if (typeof fn === "function") {
|
|
2570
|
+
componentFrameCache.set(fn, syntheticFrame);
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2573
|
+
return syntheticFrame;
|
|
2574
|
+
}
|
|
2575
|
+
function describeFunctionComponentFrame(fn, source, ownerFn) {
|
|
2576
|
+
{
|
|
2577
|
+
return describeNativeComponentFrame(fn, false);
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
function shouldConstruct(Component) {
|
|
2581
|
+
var prototype = Component.prototype;
|
|
2582
|
+
return !!(prototype && prototype.isReactComponent);
|
|
2583
|
+
}
|
|
2584
|
+
function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
|
|
2585
|
+
if (type == null) {
|
|
2586
|
+
return "";
|
|
2587
|
+
}
|
|
2588
|
+
if (typeof type === "function") {
|
|
2589
|
+
{
|
|
2590
|
+
return describeNativeComponentFrame(type, shouldConstruct(type));
|
|
2591
|
+
}
|
|
2592
|
+
}
|
|
2593
|
+
if (typeof type === "string") {
|
|
2594
|
+
return describeBuiltInComponentFrame(type);
|
|
2595
|
+
}
|
|
2596
|
+
switch (type) {
|
|
2597
|
+
case REACT_SUSPENSE_TYPE:
|
|
2598
|
+
return describeBuiltInComponentFrame("Suspense");
|
|
2599
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
2600
|
+
return describeBuiltInComponentFrame("SuspenseList");
|
|
2601
|
+
}
|
|
2602
|
+
if (typeof type === "object") {
|
|
2603
|
+
switch (type.$$typeof) {
|
|
2604
|
+
case REACT_FORWARD_REF_TYPE:
|
|
2605
|
+
return describeFunctionComponentFrame(type.render);
|
|
2606
|
+
case REACT_MEMO_TYPE:
|
|
2607
|
+
return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
|
|
2608
|
+
case REACT_LAZY_TYPE: {
|
|
2609
|
+
var lazyComponent = type;
|
|
2610
|
+
var payload = lazyComponent._payload;
|
|
2611
|
+
var init = lazyComponent._init;
|
|
2612
|
+
try {
|
|
2613
|
+
return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
|
|
2614
|
+
} catch (x) {
|
|
2615
|
+
}
|
|
2616
|
+
}
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
return "";
|
|
2620
|
+
}
|
|
2621
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
2622
|
+
var loggedTypeFailures = {};
|
|
2623
|
+
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
2624
|
+
function setCurrentlyValidatingElement(element) {
|
|
2625
|
+
{
|
|
2626
|
+
if (element) {
|
|
2627
|
+
var owner = element._owner;
|
|
2628
|
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
|
2629
|
+
ReactDebugCurrentFrame.setExtraStackFrame(stack);
|
|
2630
|
+
} else {
|
|
2631
|
+
ReactDebugCurrentFrame.setExtraStackFrame(null);
|
|
2632
|
+
}
|
|
2633
|
+
}
|
|
2634
|
+
}
|
|
2635
|
+
function checkPropTypes(typeSpecs, values, location, componentName, element) {
|
|
2636
|
+
{
|
|
2637
|
+
var has = Function.call.bind(hasOwnProperty);
|
|
2638
|
+
for (var typeSpecName in typeSpecs) {
|
|
2639
|
+
if (has(typeSpecs, typeSpecName)) {
|
|
2640
|
+
var error$1 = void 0;
|
|
2641
|
+
try {
|
|
2642
|
+
if (typeof typeSpecs[typeSpecName] !== "function") {
|
|
2643
|
+
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`.");
|
|
2644
|
+
err.name = "Invariant Violation";
|
|
2645
|
+
throw err;
|
|
2646
|
+
}
|
|
2647
|
+
error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
2648
|
+
} catch (ex) {
|
|
2649
|
+
error$1 = ex;
|
|
2650
|
+
}
|
|
2651
|
+
if (error$1 && !(error$1 instanceof Error)) {
|
|
2652
|
+
setCurrentlyValidatingElement(element);
|
|
2653
|
+
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);
|
|
2654
|
+
setCurrentlyValidatingElement(null);
|
|
2655
|
+
}
|
|
2656
|
+
if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
|
|
2657
|
+
loggedTypeFailures[error$1.message] = true;
|
|
2658
|
+
setCurrentlyValidatingElement(element);
|
|
2659
|
+
error("Failed %s type: %s", location, error$1.message);
|
|
2660
|
+
setCurrentlyValidatingElement(null);
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
}
|
|
2664
|
+
}
|
|
2665
|
+
}
|
|
2666
|
+
var isArrayImpl = Array.isArray;
|
|
2667
|
+
function isArray(a) {
|
|
2668
|
+
return isArrayImpl(a);
|
|
2669
|
+
}
|
|
2670
|
+
function typeName(value) {
|
|
2671
|
+
{
|
|
2672
|
+
var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
|
|
2673
|
+
var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
|
2674
|
+
return type;
|
|
2675
|
+
}
|
|
2676
|
+
}
|
|
2677
|
+
function willCoercionThrow(value) {
|
|
2678
|
+
{
|
|
2679
|
+
try {
|
|
2680
|
+
testStringCoercion(value);
|
|
2681
|
+
return false;
|
|
2682
|
+
} catch (e) {
|
|
2683
|
+
return true;
|
|
2684
|
+
}
|
|
2685
|
+
}
|
|
2686
|
+
}
|
|
2687
|
+
function testStringCoercion(value) {
|
|
2688
|
+
return "" + value;
|
|
2689
|
+
}
|
|
2690
|
+
function checkKeyStringCoercion(value) {
|
|
2691
|
+
{
|
|
2692
|
+
if (willCoercionThrow(value)) {
|
|
2693
|
+
error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
|
|
2694
|
+
return testStringCoercion(value);
|
|
2695
|
+
}
|
|
2696
|
+
}
|
|
2697
|
+
}
|
|
2698
|
+
var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
|
|
2699
|
+
var RESERVED_PROPS = {
|
|
2700
|
+
key: true,
|
|
2701
|
+
ref: true,
|
|
2702
|
+
__self: true,
|
|
2703
|
+
__source: true
|
|
2704
|
+
};
|
|
2705
|
+
var specialPropKeyWarningShown;
|
|
2706
|
+
var specialPropRefWarningShown;
|
|
2707
|
+
var didWarnAboutStringRefs;
|
|
2708
|
+
{
|
|
2709
|
+
didWarnAboutStringRefs = {};
|
|
2710
|
+
}
|
|
2711
|
+
function hasValidRef(config) {
|
|
2712
|
+
{
|
|
2713
|
+
if (hasOwnProperty.call(config, "ref")) {
|
|
2714
|
+
var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
|
|
2715
|
+
if (getter && getter.isReactWarning) {
|
|
2716
|
+
return false;
|
|
2717
|
+
}
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
return config.ref !== void 0;
|
|
2721
|
+
}
|
|
2722
|
+
function hasValidKey(config) {
|
|
2723
|
+
{
|
|
2724
|
+
if (hasOwnProperty.call(config, "key")) {
|
|
2725
|
+
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
2726
|
+
if (getter && getter.isReactWarning) {
|
|
2727
|
+
return false;
|
|
2728
|
+
}
|
|
2729
|
+
}
|
|
2730
|
+
}
|
|
2731
|
+
return config.key !== void 0;
|
|
2732
|
+
}
|
|
2733
|
+
function warnIfStringRefCannotBeAutoConverted(config, self) {
|
|
2734
|
+
{
|
|
2735
|
+
if (typeof config.ref === "string" && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
|
|
2736
|
+
var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
|
|
2737
|
+
if (!didWarnAboutStringRefs[componentName]) {
|
|
2738
|
+
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);
|
|
2739
|
+
didWarnAboutStringRefs[componentName] = true;
|
|
2740
|
+
}
|
|
2741
|
+
}
|
|
2742
|
+
}
|
|
2743
|
+
}
|
|
2744
|
+
function defineKeyPropWarningGetter(props, displayName) {
|
|
2745
|
+
{
|
|
2746
|
+
var warnAboutAccessingKey = function() {
|
|
2747
|
+
if (!specialPropKeyWarningShown) {
|
|
2748
|
+
specialPropKeyWarningShown = true;
|
|
2749
|
+
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);
|
|
2750
|
+
}
|
|
2751
|
+
};
|
|
2752
|
+
warnAboutAccessingKey.isReactWarning = true;
|
|
2753
|
+
Object.defineProperty(props, "key", {
|
|
2754
|
+
get: warnAboutAccessingKey,
|
|
2755
|
+
configurable: true
|
|
2756
|
+
});
|
|
2757
|
+
}
|
|
2758
|
+
}
|
|
2759
|
+
function defineRefPropWarningGetter(props, displayName) {
|
|
2760
|
+
{
|
|
2761
|
+
var warnAboutAccessingRef = function() {
|
|
2762
|
+
if (!specialPropRefWarningShown) {
|
|
2763
|
+
specialPropRefWarningShown = true;
|
|
2764
|
+
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);
|
|
2765
|
+
}
|
|
2766
|
+
};
|
|
2767
|
+
warnAboutAccessingRef.isReactWarning = true;
|
|
2768
|
+
Object.defineProperty(props, "ref", {
|
|
2769
|
+
get: warnAboutAccessingRef,
|
|
2770
|
+
configurable: true
|
|
2771
|
+
});
|
|
2772
|
+
}
|
|
2773
|
+
}
|
|
2774
|
+
var ReactElement = function(type, key, ref, self, source, owner, props) {
|
|
2775
|
+
var element = {
|
|
2776
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
2777
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
2778
|
+
// Built-in properties that belong on the element
|
|
2779
|
+
type,
|
|
2780
|
+
key,
|
|
2781
|
+
ref,
|
|
2782
|
+
props,
|
|
2783
|
+
// Record the component responsible for creating this element.
|
|
2784
|
+
_owner: owner
|
|
2785
|
+
};
|
|
2786
|
+
{
|
|
2787
|
+
element._store = {};
|
|
2788
|
+
Object.defineProperty(element._store, "validated", {
|
|
2789
|
+
configurable: false,
|
|
2790
|
+
enumerable: false,
|
|
2791
|
+
writable: true,
|
|
2792
|
+
value: false
|
|
2793
|
+
});
|
|
2794
|
+
Object.defineProperty(element, "_self", {
|
|
2795
|
+
configurable: false,
|
|
2796
|
+
enumerable: false,
|
|
2797
|
+
writable: false,
|
|
2798
|
+
value: self
|
|
2799
|
+
});
|
|
2800
|
+
Object.defineProperty(element, "_source", {
|
|
2801
|
+
configurable: false,
|
|
2802
|
+
enumerable: false,
|
|
2803
|
+
writable: false,
|
|
2804
|
+
value: source
|
|
2805
|
+
});
|
|
2806
|
+
if (Object.freeze) {
|
|
2807
|
+
Object.freeze(element.props);
|
|
2808
|
+
Object.freeze(element);
|
|
2809
|
+
}
|
|
2810
|
+
}
|
|
2811
|
+
return element;
|
|
2812
|
+
};
|
|
2813
|
+
function jsxDEV(type, config, maybeKey, source, self) {
|
|
2814
|
+
{
|
|
2815
|
+
var propName;
|
|
2816
|
+
var props = {};
|
|
2817
|
+
var key = null;
|
|
2818
|
+
var ref = null;
|
|
2819
|
+
if (maybeKey !== void 0) {
|
|
2820
|
+
{
|
|
2821
|
+
checkKeyStringCoercion(maybeKey);
|
|
2822
|
+
}
|
|
2823
|
+
key = "" + maybeKey;
|
|
2824
|
+
}
|
|
2825
|
+
if (hasValidKey(config)) {
|
|
2826
|
+
{
|
|
2827
|
+
checkKeyStringCoercion(config.key);
|
|
2828
|
+
}
|
|
2829
|
+
key = "" + config.key;
|
|
2830
|
+
}
|
|
2831
|
+
if (hasValidRef(config)) {
|
|
2832
|
+
ref = config.ref;
|
|
2833
|
+
warnIfStringRefCannotBeAutoConverted(config, self);
|
|
2834
|
+
}
|
|
2835
|
+
for (propName in config) {
|
|
2836
|
+
if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
|
|
2837
|
+
props[propName] = config[propName];
|
|
2838
|
+
}
|
|
2839
|
+
}
|
|
2840
|
+
if (type && type.defaultProps) {
|
|
2841
|
+
var defaultProps = type.defaultProps;
|
|
2842
|
+
for (propName in defaultProps) {
|
|
2843
|
+
if (props[propName] === void 0) {
|
|
2844
|
+
props[propName] = defaultProps[propName];
|
|
2845
|
+
}
|
|
2846
|
+
}
|
|
2847
|
+
}
|
|
2848
|
+
if (key || ref) {
|
|
2849
|
+
var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
|
|
2850
|
+
if (key) {
|
|
2851
|
+
defineKeyPropWarningGetter(props, displayName);
|
|
2852
|
+
}
|
|
2853
|
+
if (ref) {
|
|
2854
|
+
defineRefPropWarningGetter(props, displayName);
|
|
2855
|
+
}
|
|
2856
|
+
}
|
|
2857
|
+
return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
|
|
2858
|
+
}
|
|
2859
|
+
}
|
|
2860
|
+
var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
|
|
2861
|
+
var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
2862
|
+
function setCurrentlyValidatingElement$1(element) {
|
|
2863
|
+
{
|
|
2864
|
+
if (element) {
|
|
2865
|
+
var owner = element._owner;
|
|
2866
|
+
var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
|
|
2867
|
+
ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
|
|
2868
|
+
} else {
|
|
2869
|
+
ReactDebugCurrentFrame$1.setExtraStackFrame(null);
|
|
2870
|
+
}
|
|
2871
|
+
}
|
|
2872
|
+
}
|
|
2873
|
+
var propTypesMisspellWarningShown;
|
|
2874
|
+
{
|
|
2875
|
+
propTypesMisspellWarningShown = false;
|
|
2876
|
+
}
|
|
2877
|
+
function isValidElement(object) {
|
|
2878
|
+
{
|
|
2879
|
+
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
2880
|
+
}
|
|
2881
|
+
}
|
|
2882
|
+
function getDeclarationErrorAddendum() {
|
|
2883
|
+
{
|
|
2884
|
+
if (ReactCurrentOwner$1.current) {
|
|
2885
|
+
var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
|
|
2886
|
+
if (name) {
|
|
2887
|
+
return "\n\nCheck the render method of `" + name + "`.";
|
|
2888
|
+
}
|
|
2889
|
+
}
|
|
2890
|
+
return "";
|
|
2891
|
+
}
|
|
2892
|
+
}
|
|
2893
|
+
function getSourceInfoErrorAddendum(source) {
|
|
2894
|
+
{
|
|
2895
|
+
if (source !== void 0) {
|
|
2896
|
+
var fileName = source.fileName.replace(/^.*[\\\/]/, "");
|
|
2897
|
+
var lineNumber = source.lineNumber;
|
|
2898
|
+
return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
|
|
2899
|
+
}
|
|
2900
|
+
return "";
|
|
2901
|
+
}
|
|
2902
|
+
}
|
|
2903
|
+
var ownerHasKeyUseWarning = {};
|
|
2904
|
+
function getCurrentComponentErrorInfo(parentType) {
|
|
2905
|
+
{
|
|
2906
|
+
var info = getDeclarationErrorAddendum();
|
|
2907
|
+
if (!info) {
|
|
2908
|
+
var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
|
|
2909
|
+
if (parentName) {
|
|
2910
|
+
info = "\n\nCheck the top-level render call using <" + parentName + ">.";
|
|
2911
|
+
}
|
|
2912
|
+
}
|
|
2913
|
+
return info;
|
|
2914
|
+
}
|
|
2915
|
+
}
|
|
2916
|
+
function validateExplicitKey(element, parentType) {
|
|
2917
|
+
{
|
|
2918
|
+
if (!element._store || element._store.validated || element.key != null) {
|
|
2919
|
+
return;
|
|
2920
|
+
}
|
|
2921
|
+
element._store.validated = true;
|
|
2922
|
+
var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
|
|
2923
|
+
if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
|
|
2924
|
+
return;
|
|
2925
|
+
}
|
|
2926
|
+
ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
|
|
2927
|
+
var childOwner = "";
|
|
2928
|
+
if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
|
|
2929
|
+
childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
|
|
2930
|
+
}
|
|
2931
|
+
setCurrentlyValidatingElement$1(element);
|
|
2932
|
+
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);
|
|
2933
|
+
setCurrentlyValidatingElement$1(null);
|
|
2934
|
+
}
|
|
2935
|
+
}
|
|
2936
|
+
function validateChildKeys(node, parentType) {
|
|
2937
|
+
{
|
|
2938
|
+
if (typeof node !== "object") {
|
|
2939
|
+
return;
|
|
2940
|
+
}
|
|
2941
|
+
if (isArray(node)) {
|
|
2942
|
+
for (var i = 0; i < node.length; i++) {
|
|
2943
|
+
var child = node[i];
|
|
2944
|
+
if (isValidElement(child)) {
|
|
2945
|
+
validateExplicitKey(child, parentType);
|
|
2946
|
+
}
|
|
2947
|
+
}
|
|
2948
|
+
} else if (isValidElement(node)) {
|
|
2949
|
+
if (node._store) {
|
|
2950
|
+
node._store.validated = true;
|
|
2951
|
+
}
|
|
2952
|
+
} else if (node) {
|
|
2953
|
+
var iteratorFn = getIteratorFn(node);
|
|
2954
|
+
if (typeof iteratorFn === "function") {
|
|
2955
|
+
if (iteratorFn !== node.entries) {
|
|
2956
|
+
var iterator = iteratorFn.call(node);
|
|
2957
|
+
var step;
|
|
2958
|
+
while (!(step = iterator.next()).done) {
|
|
2959
|
+
if (isValidElement(step.value)) {
|
|
2960
|
+
validateExplicitKey(step.value, parentType);
|
|
2961
|
+
}
|
|
2962
|
+
}
|
|
2963
|
+
}
|
|
2964
|
+
}
|
|
2965
|
+
}
|
|
2966
|
+
}
|
|
2967
|
+
}
|
|
2968
|
+
function validatePropTypes(element) {
|
|
2969
|
+
{
|
|
2970
|
+
var type = element.type;
|
|
2971
|
+
if (type === null || type === void 0 || typeof type === "string") {
|
|
2972
|
+
return;
|
|
2973
|
+
}
|
|
2974
|
+
var propTypes;
|
|
2975
|
+
if (typeof type === "function") {
|
|
2976
|
+
propTypes = type.propTypes;
|
|
2977
|
+
} else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
|
|
2978
|
+
// Inner props are checked in the reconciler.
|
|
2979
|
+
type.$$typeof === REACT_MEMO_TYPE)) {
|
|
2980
|
+
propTypes = type.propTypes;
|
|
2981
|
+
} else {
|
|
2982
|
+
return;
|
|
2983
|
+
}
|
|
2984
|
+
if (propTypes) {
|
|
2985
|
+
var name = getComponentNameFromType(type);
|
|
2986
|
+
checkPropTypes(propTypes, element.props, "prop", name, element);
|
|
2987
|
+
} else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
|
|
2988
|
+
propTypesMisspellWarningShown = true;
|
|
2989
|
+
var _name = getComponentNameFromType(type);
|
|
2990
|
+
error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
|
|
2991
|
+
}
|
|
2992
|
+
if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
|
|
2993
|
+
error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2994
|
+
}
|
|
2995
|
+
}
|
|
2996
|
+
}
|
|
2997
|
+
function validateFragmentProps(fragment) {
|
|
2998
|
+
{
|
|
2999
|
+
var keys = Object.keys(fragment.props);
|
|
3000
|
+
for (var i = 0; i < keys.length; i++) {
|
|
3001
|
+
var key = keys[i];
|
|
3002
|
+
if (key !== "children" && key !== "key") {
|
|
3003
|
+
setCurrentlyValidatingElement$1(fragment);
|
|
3004
|
+
error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
|
|
3005
|
+
setCurrentlyValidatingElement$1(null);
|
|
3006
|
+
break;
|
|
3007
|
+
}
|
|
3008
|
+
}
|
|
3009
|
+
if (fragment.ref !== null) {
|
|
3010
|
+
setCurrentlyValidatingElement$1(fragment);
|
|
3011
|
+
error("Invalid attribute `ref` supplied to `React.Fragment`.");
|
|
3012
|
+
setCurrentlyValidatingElement$1(null);
|
|
3013
|
+
}
|
|
3014
|
+
}
|
|
3015
|
+
}
|
|
3016
|
+
var didWarnAboutKeySpread = {};
|
|
3017
|
+
function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
|
|
3018
|
+
{
|
|
3019
|
+
var validType = isValidElementType(type);
|
|
3020
|
+
if (!validType) {
|
|
3021
|
+
var info = "";
|
|
3022
|
+
if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
|
|
3023
|
+
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.";
|
|
3024
|
+
}
|
|
3025
|
+
var sourceInfo = getSourceInfoErrorAddendum(source);
|
|
3026
|
+
if (sourceInfo) {
|
|
3027
|
+
info += sourceInfo;
|
|
3028
|
+
} else {
|
|
3029
|
+
info += getDeclarationErrorAddendum();
|
|
3030
|
+
}
|
|
3031
|
+
var typeString;
|
|
3032
|
+
if (type === null) {
|
|
3033
|
+
typeString = "null";
|
|
3034
|
+
} else if (isArray(type)) {
|
|
3035
|
+
typeString = "array";
|
|
3036
|
+
} else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
|
|
3037
|
+
typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
|
|
3038
|
+
info = " Did you accidentally export a JSX literal instead of a component?";
|
|
3039
|
+
} else {
|
|
3040
|
+
typeString = typeof type;
|
|
3041
|
+
}
|
|
3042
|
+
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);
|
|
3043
|
+
}
|
|
3044
|
+
var element = jsxDEV(type, props, key, source, self);
|
|
3045
|
+
if (element == null) {
|
|
3046
|
+
return element;
|
|
3047
|
+
}
|
|
3048
|
+
if (validType) {
|
|
3049
|
+
var children = props.children;
|
|
3050
|
+
if (children !== void 0) {
|
|
3051
|
+
if (isStaticChildren) {
|
|
3052
|
+
if (isArray(children)) {
|
|
3053
|
+
for (var i = 0; i < children.length; i++) {
|
|
3054
|
+
validateChildKeys(children[i], type);
|
|
3055
|
+
}
|
|
3056
|
+
if (Object.freeze) {
|
|
3057
|
+
Object.freeze(children);
|
|
3058
|
+
}
|
|
3059
|
+
} else {
|
|
3060
|
+
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.");
|
|
3061
|
+
}
|
|
3062
|
+
} else {
|
|
3063
|
+
validateChildKeys(children, type);
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
}
|
|
3067
|
+
{
|
|
3068
|
+
if (hasOwnProperty.call(props, "key")) {
|
|
3069
|
+
var componentName = getComponentNameFromType(type);
|
|
3070
|
+
var keys = Object.keys(props).filter(function(k) {
|
|
3071
|
+
return k !== "key";
|
|
3072
|
+
});
|
|
3073
|
+
var beforeExample = keys.length > 0 ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3074
|
+
if (!didWarnAboutKeySpread[componentName + beforeExample]) {
|
|
3075
|
+
var afterExample = keys.length > 0 ? "{" + keys.join(": ..., ") + ": ...}" : "{}";
|
|
3076
|
+
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);
|
|
3077
|
+
didWarnAboutKeySpread[componentName + beforeExample] = true;
|
|
3078
|
+
}
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
if (type === REACT_FRAGMENT_TYPE) {
|
|
3082
|
+
validateFragmentProps(element);
|
|
3083
|
+
} else {
|
|
3084
|
+
validatePropTypes(element);
|
|
3085
|
+
}
|
|
3086
|
+
return element;
|
|
3087
|
+
}
|
|
3088
|
+
}
|
|
3089
|
+
function jsxWithValidationStatic(type, props, key) {
|
|
3090
|
+
{
|
|
3091
|
+
return jsxWithValidation(type, props, key, true);
|
|
3092
|
+
}
|
|
3093
|
+
}
|
|
3094
|
+
function jsxWithValidationDynamic(type, props, key) {
|
|
3095
|
+
{
|
|
3096
|
+
return jsxWithValidation(type, props, key, false);
|
|
3097
|
+
}
|
|
3098
|
+
}
|
|
3099
|
+
var jsx36 = jsxWithValidationDynamic;
|
|
3100
|
+
var jsxs35 = jsxWithValidationStatic;
|
|
3101
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
3102
|
+
exports.jsx = jsx36;
|
|
3103
|
+
exports.jsxs = jsxs35;
|
|
3104
|
+
})();
|
|
3105
|
+
}
|
|
3106
|
+
}
|
|
3107
|
+
});
|
|
3108
|
+
|
|
3109
|
+
// ../../../../../../.yarn/berry/cache/react-npm-18.3.1-af38f3c1ae-10c0.zip/node_modules/react/jsx-runtime.js
|
|
3110
|
+
var require_jsx_runtime = __commonJS({
|
|
3111
|
+
"../../../../../../.yarn/berry/cache/react-npm-18.3.1-af38f3c1ae-10c0.zip/node_modules/react/jsx-runtime.js"(exports, module2) {
|
|
3112
|
+
"use strict";
|
|
3113
|
+
if (process.env.NODE_ENV === "production") {
|
|
3114
|
+
module2.exports = require_react_jsx_runtime_production_min();
|
|
3115
|
+
} else {
|
|
3116
|
+
module2.exports = require_react_jsx_runtime_development();
|
|
3117
|
+
}
|
|
3118
|
+
}
|
|
3119
|
+
});
|
|
3120
|
+
|
|
19
3121
|
// src/index.ts
|
|
20
3122
|
var src_exports = {};
|
|
21
3123
|
__export(src_exports, {
|
|
@@ -58,8 +3160,8 @@ __export(src_exports, {
|
|
|
58
3160
|
module.exports = __toCommonJS(src_exports);
|
|
59
3161
|
|
|
60
3162
|
// src/IconShoppingbagItems.tsx
|
|
61
|
-
var import_react =
|
|
62
|
-
var import_jsx_runtime =
|
|
3163
|
+
var import_react = __toESM(require_react(), 1);
|
|
3164
|
+
var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
|
|
63
3165
|
var Icon = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
64
3166
|
"svg",
|
|
65
3167
|
{
|
|
@@ -111,8 +3213,8 @@ var IconShoppingbagItems = (0, import_react.forwardRef)(Icon);
|
|
|
111
3213
|
var IconShoppingbagItems_default = IconShoppingbagItems;
|
|
112
3214
|
|
|
113
3215
|
// src/IconCarFrontside.tsx
|
|
114
|
-
var import_react2 =
|
|
115
|
-
var import_jsx_runtime2 =
|
|
3216
|
+
var import_react2 = __toESM(require_react(), 1);
|
|
3217
|
+
var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1);
|
|
116
3218
|
var Icon2 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
117
3219
|
"svg",
|
|
118
3220
|
{
|
|
@@ -189,8 +3291,8 @@ var IconCarFrontside = (0, import_react2.forwardRef)(Icon2);
|
|
|
189
3291
|
var IconCarFrontside_default = IconCarFrontside;
|
|
190
3292
|
|
|
191
3293
|
// src/IconWindow4House.tsx
|
|
192
|
-
var import_react3 =
|
|
193
|
-
var import_jsx_runtime3 =
|
|
3294
|
+
var import_react3 = __toESM(require_react(), 1);
|
|
3295
|
+
var import_jsx_runtime3 = __toESM(require_jsx_runtime(), 1);
|
|
194
3296
|
var Icon3 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
195
3297
|
"svg",
|
|
196
3298
|
{
|
|
@@ -258,8 +3360,8 @@ var IconWindow4House = (0, import_react3.forwardRef)(Icon3);
|
|
|
258
3360
|
var IconWindow4House_default = IconWindow4House;
|
|
259
3361
|
|
|
260
3362
|
// src/IconPersonMagnifyingglass.tsx
|
|
261
|
-
var import_react4 =
|
|
262
|
-
var import_jsx_runtime4 =
|
|
3363
|
+
var import_react4 = __toESM(require_react(), 1);
|
|
3364
|
+
var import_jsx_runtime4 = __toESM(require_jsx_runtime(), 1);
|
|
263
3365
|
var Icon4 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
264
3366
|
"svg",
|
|
265
3367
|
{
|
|
@@ -306,8 +3408,8 @@ var IconPersonMagnifyingglass = (0, import_react4.forwardRef)(Icon4);
|
|
|
306
3408
|
var IconPersonMagnifyingglass_default = IconPersonMagnifyingglass;
|
|
307
3409
|
|
|
308
3410
|
// src/IconTriangleRightChatbubbleLeft.tsx
|
|
309
|
-
var import_react5 =
|
|
310
|
-
var import_jsx_runtime5 =
|
|
3411
|
+
var import_react5 = __toESM(require_react(), 1);
|
|
3412
|
+
var import_jsx_runtime5 = __toESM(require_jsx_runtime(), 1);
|
|
311
3413
|
var Icon5 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
312
3414
|
"svg",
|
|
313
3415
|
{
|
|
@@ -345,8 +3447,8 @@ var IconTriangleRightChatbubbleLeft = (0, import_react5.forwardRef)(Icon5);
|
|
|
345
3447
|
var IconTriangleRightChatbubbleLeft_default = IconTriangleRightChatbubbleLeft;
|
|
346
3448
|
|
|
347
3449
|
// src/IconWindow2Store.tsx
|
|
348
|
-
var import_react6 =
|
|
349
|
-
var import_jsx_runtime6 =
|
|
3450
|
+
var import_react6 = __toESM(require_react(), 1);
|
|
3451
|
+
var import_jsx_runtime6 = __toESM(require_jsx_runtime(), 1);
|
|
350
3452
|
var Icon6 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
351
3453
|
"svg",
|
|
352
3454
|
{
|
|
@@ -405,8 +3507,8 @@ var IconWindow2Store = (0, import_react6.forwardRef)(Icon6);
|
|
|
405
3507
|
var IconWindow2Store_default = IconWindow2Store;
|
|
406
3508
|
|
|
407
3509
|
// src/IconMegaphoneTilted.tsx
|
|
408
|
-
var import_react7 =
|
|
409
|
-
var import_jsx_runtime7 =
|
|
3510
|
+
var import_react7 = __toESM(require_react(), 1);
|
|
3511
|
+
var import_jsx_runtime7 = __toESM(require_jsx_runtime(), 1);
|
|
410
3512
|
var Icon7 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
411
3513
|
"svg",
|
|
412
3514
|
{
|
|
@@ -444,8 +3546,8 @@ var IconMegaphoneTilted = (0, import_react7.forwardRef)(Icon7);
|
|
|
444
3546
|
var IconMegaphoneTilted_default = IconMegaphoneTilted;
|
|
445
3547
|
|
|
446
3548
|
// src/IconLinechartUpXaxis.tsx
|
|
447
|
-
var import_react8 =
|
|
448
|
-
var import_jsx_runtime8 =
|
|
3549
|
+
var import_react8 = __toESM(require_react(), 1);
|
|
3550
|
+
var import_jsx_runtime8 = __toESM(require_jsx_runtime(), 1);
|
|
449
3551
|
var Icon8 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
450
3552
|
"svg",
|
|
451
3553
|
{
|
|
@@ -481,8 +3583,8 @@ var IconLinechartUpXaxis = (0, import_react8.forwardRef)(Icon8);
|
|
|
481
3583
|
var IconLinechartUpXaxis_default = IconLinechartUpXaxis;
|
|
482
3584
|
|
|
483
3585
|
// src/IconForkSpoonBag.tsx
|
|
484
|
-
var import_react9 =
|
|
485
|
-
var import_jsx_runtime9 =
|
|
3586
|
+
var import_react9 = __toESM(require_react(), 1);
|
|
3587
|
+
var import_jsx_runtime9 = __toESM(require_jsx_runtime(), 1);
|
|
486
3588
|
var Icon9 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
487
3589
|
"svg",
|
|
488
3590
|
{
|
|
@@ -536,8 +3638,8 @@ var IconForkSpoonBag = (0, import_react9.forwardRef)(Icon9);
|
|
|
536
3638
|
var IconForkSpoonBag_default = IconForkSpoonBag;
|
|
537
3639
|
|
|
538
3640
|
// src/IconApple.tsx
|
|
539
|
-
var import_react10 =
|
|
540
|
-
var import_jsx_runtime10 =
|
|
3641
|
+
var import_react10 = __toESM(require_react(), 1);
|
|
3642
|
+
var import_jsx_runtime10 = __toESM(require_jsx_runtime(), 1);
|
|
541
3643
|
var Icon10 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
542
3644
|
"svg",
|
|
543
3645
|
{
|
|
@@ -599,8 +3701,8 @@ var IconApple = (0, import_react10.forwardRef)(Icon10);
|
|
|
599
3701
|
var IconApple_default = IconApple;
|
|
600
3702
|
|
|
601
3703
|
// src/IconPerson2Openarms.tsx
|
|
602
|
-
var import_react11 =
|
|
603
|
-
var import_jsx_runtime11 =
|
|
3704
|
+
var import_react11 = __toESM(require_react(), 1);
|
|
3705
|
+
var import_jsx_runtime11 = __toESM(require_jsx_runtime(), 1);
|
|
604
3706
|
var Icon11 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
605
3707
|
"svg",
|
|
606
3708
|
{
|
|
@@ -654,8 +3756,8 @@ var IconPerson2Openarms = (0, import_react11.forwardRef)(Icon11);
|
|
|
654
3756
|
var IconPerson2Openarms_default = IconPerson2Openarms;
|
|
655
3757
|
|
|
656
3758
|
// src/IconNailpolish.tsx
|
|
657
|
-
var import_react12 =
|
|
658
|
-
var import_jsx_runtime12 =
|
|
3759
|
+
var import_react12 = __toESM(require_react(), 1);
|
|
3760
|
+
var import_jsx_runtime12 = __toESM(require_jsx_runtime(), 1);
|
|
659
3761
|
var Icon12 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
660
3762
|
"svg",
|
|
661
3763
|
{
|
|
@@ -701,8 +3803,8 @@ var IconNailpolish = (0, import_react12.forwardRef)(Icon12);
|
|
|
701
3803
|
var IconNailpolish_default = IconNailpolish;
|
|
702
3804
|
|
|
703
3805
|
// src/IconSpraybottleSponge.tsx
|
|
704
|
-
var import_react13 =
|
|
705
|
-
var import_jsx_runtime13 =
|
|
3806
|
+
var import_react13 = __toESM(require_react(), 1);
|
|
3807
|
+
var import_jsx_runtime13 = __toESM(require_jsx_runtime(), 1);
|
|
706
3808
|
var Icon13 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
707
3809
|
"svg",
|
|
708
3810
|
{
|
|
@@ -745,8 +3847,8 @@ var IconSpraybottleSponge = (0, import_react13.forwardRef)(Icon13);
|
|
|
745
3847
|
var IconSpraybottleSponge_default = IconSpraybottleSponge;
|
|
746
3848
|
|
|
747
3849
|
// src/IconWrench.tsx
|
|
748
|
-
var import_react14 =
|
|
749
|
-
var import_jsx_runtime14 =
|
|
3850
|
+
var import_react14 = __toESM(require_react(), 1);
|
|
3851
|
+
var import_jsx_runtime14 = __toESM(require_jsx_runtime(), 1);
|
|
750
3852
|
var Icon14 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
751
3853
|
"svg",
|
|
752
3854
|
{
|
|
@@ -791,8 +3893,8 @@ var IconWrench = (0, import_react14.forwardRef)(Icon14);
|
|
|
791
3893
|
var IconWrench_default = IconWrench;
|
|
792
3894
|
|
|
793
3895
|
// src/IconPaintroller.tsx
|
|
794
|
-
var import_react15 =
|
|
795
|
-
var import_jsx_runtime15 =
|
|
3896
|
+
var import_react15 = __toESM(require_react(), 1);
|
|
3897
|
+
var import_jsx_runtime15 = __toESM(require_jsx_runtime(), 1);
|
|
796
3898
|
var Icon15 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
797
3899
|
"svg",
|
|
798
3900
|
{
|
|
@@ -837,8 +3939,8 @@ var IconPaintroller = (0, import_react15.forwardRef)(Icon15);
|
|
|
837
3939
|
var IconPaintroller_default = IconPaintroller;
|
|
838
3940
|
|
|
839
3941
|
// src/IconForkSpoon.tsx
|
|
840
|
-
var import_react16 =
|
|
841
|
-
var import_jsx_runtime16 =
|
|
3942
|
+
var import_react16 = __toESM(require_react(), 1);
|
|
3943
|
+
var import_jsx_runtime16 = __toESM(require_jsx_runtime(), 1);
|
|
842
3944
|
var Icon16 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
843
3945
|
"svg",
|
|
844
3946
|
{
|
|
@@ -892,8 +3994,8 @@ var IconForkSpoon = (0, import_react16.forwardRef)(Icon16);
|
|
|
892
3994
|
var IconForkSpoon_default = IconForkSpoon;
|
|
893
3995
|
|
|
894
3996
|
// src/IconDumbbell.tsx
|
|
895
|
-
var import_react17 =
|
|
896
|
-
var import_jsx_runtime17 =
|
|
3997
|
+
var import_react17 = __toESM(require_react(), 1);
|
|
3998
|
+
var import_jsx_runtime17 = __toESM(require_jsx_runtime(), 1);
|
|
897
3999
|
var Icon17 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
898
4000
|
"svg",
|
|
899
4001
|
{
|
|
@@ -938,8 +4040,8 @@ var IconDumbbell = (0, import_react17.forwardRef)(Icon17);
|
|
|
938
4040
|
var IconDumbbell_default = IconDumbbell;
|
|
939
4041
|
|
|
940
4042
|
// src/IconCupHeatwave.tsx
|
|
941
|
-
var import_react18 =
|
|
942
|
-
var import_jsx_runtime18 =
|
|
4043
|
+
var import_react18 = __toESM(require_react(), 1);
|
|
4044
|
+
var import_jsx_runtime18 = __toESM(require_jsx_runtime(), 1);
|
|
943
4045
|
var Icon18 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
944
4046
|
"svg",
|
|
945
4047
|
{
|
|
@@ -975,8 +4077,8 @@ var IconCupHeatwave = (0, import_react18.forwardRef)(Icon18);
|
|
|
975
4077
|
var IconCupHeatwave_default = IconCupHeatwave;
|
|
976
4078
|
|
|
977
4079
|
// src/IconTruck.tsx
|
|
978
|
-
var import_react19 =
|
|
979
|
-
var import_jsx_runtime19 =
|
|
4080
|
+
var import_react19 = __toESM(require_react(), 1);
|
|
4081
|
+
var import_jsx_runtime19 = __toESM(require_jsx_runtime(), 1);
|
|
980
4082
|
var Icon19 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
981
4083
|
"svg",
|
|
982
4084
|
{
|
|
@@ -1035,8 +4137,8 @@ var IconTruck = (0, import_react19.forwardRef)(Icon19);
|
|
|
1035
4137
|
var IconTruck_default = IconTruck;
|
|
1036
4138
|
|
|
1037
4139
|
// src/IconPencil.tsx
|
|
1038
|
-
var import_react20 =
|
|
1039
|
-
var import_jsx_runtime20 =
|
|
4140
|
+
var import_react20 = __toESM(require_react(), 1);
|
|
4141
|
+
var import_jsx_runtime20 = __toESM(require_jsx_runtime(), 1);
|
|
1040
4142
|
var Icon20 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1041
4143
|
"svg",
|
|
1042
4144
|
{
|
|
@@ -1072,8 +4174,8 @@ var IconPencil = (0, import_react20.forwardRef)(Icon20);
|
|
|
1072
4174
|
var IconPencil_default = IconPencil;
|
|
1073
4175
|
|
|
1074
4176
|
// src/IconScissors.tsx
|
|
1075
|
-
var import_react21 =
|
|
1076
|
-
var import_jsx_runtime21 =
|
|
4177
|
+
var import_react21 = __toESM(require_react(), 1);
|
|
4178
|
+
var import_jsx_runtime21 = __toESM(require_jsx_runtime(), 1);
|
|
1077
4179
|
var Icon21 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1078
4180
|
"svg",
|
|
1079
4181
|
{
|
|
@@ -1129,8 +4231,8 @@ var IconScissors = (0, import_react21.forwardRef)(Icon21);
|
|
|
1129
4231
|
var IconScissors_default = IconScissors;
|
|
1130
4232
|
|
|
1131
4233
|
// src/IconPalette.tsx
|
|
1132
|
-
var import_react22 =
|
|
1133
|
-
var import_jsx_runtime22 =
|
|
4234
|
+
var import_react22 = __toESM(require_react(), 1);
|
|
4235
|
+
var import_jsx_runtime22 = __toESM(require_jsx_runtime(), 1);
|
|
1134
4236
|
var Icon22 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1135
4237
|
"svg",
|
|
1136
4238
|
{
|
|
@@ -1157,8 +4259,8 @@ var IconPalette = (0, import_react22.forwardRef)(Icon22);
|
|
|
1157
4259
|
var IconPalette_default = IconPalette;
|
|
1158
4260
|
|
|
1159
4261
|
// src/IconFraction_1NUppercase.tsx
|
|
1160
|
-
var import_react23 =
|
|
1161
|
-
var import_jsx_runtime23 =
|
|
4262
|
+
var import_react23 = __toESM(require_react(), 1);
|
|
4263
|
+
var import_jsx_runtime23 = __toESM(require_jsx_runtime(), 1);
|
|
1162
4264
|
var Icon23 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1163
4265
|
"svg",
|
|
1164
4266
|
{
|
|
@@ -1205,8 +4307,8 @@ var IconFraction_1NUppercase = (0, import_react23.forwardRef)(Icon23);
|
|
|
1205
4307
|
var IconFraction_1NUppercase_default = IconFraction_1NUppercase;
|
|
1206
4308
|
|
|
1207
4309
|
// src/IconShoppingbag2Stacked.tsx
|
|
1208
|
-
var import_react24 =
|
|
1209
|
-
var import_jsx_runtime24 =
|
|
4310
|
+
var import_react24 = __toESM(require_react(), 1);
|
|
4311
|
+
var import_jsx_runtime24 = __toESM(require_jsx_runtime(), 1);
|
|
1210
4312
|
var Icon24 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1211
4313
|
"svg",
|
|
1212
4314
|
{
|
|
@@ -1266,8 +4368,8 @@ var IconShoppingbag2Stacked = (0, import_react24.forwardRef)(Icon24);
|
|
|
1266
4368
|
var IconShoppingbag2Stacked_default = IconShoppingbag2Stacked;
|
|
1267
4369
|
|
|
1268
4370
|
// src/IconHospital.tsx
|
|
1269
|
-
var import_react25 =
|
|
1270
|
-
var import_jsx_runtime25 =
|
|
4371
|
+
var import_react25 = __toESM(require_react(), 1);
|
|
4372
|
+
var import_jsx_runtime25 = __toESM(require_jsx_runtime(), 1);
|
|
1271
4373
|
var Icon25 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1272
4374
|
"svg",
|
|
1273
4375
|
{
|
|
@@ -1310,8 +4412,8 @@ var IconHospital = (0, import_react25.forwardRef)(Icon25);
|
|
|
1310
4412
|
var IconHospital_default = IconHospital;
|
|
1311
4413
|
|
|
1312
4414
|
// src/IconAnimalFace.tsx
|
|
1313
|
-
var import_react26 =
|
|
1314
|
-
var import_jsx_runtime26 =
|
|
4415
|
+
var import_react26 = __toESM(require_react(), 1);
|
|
4416
|
+
var import_jsx_runtime26 = __toESM(require_jsx_runtime(), 1);
|
|
1315
4417
|
var Icon26 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
1316
4418
|
"svg",
|
|
1317
4419
|
{
|
|
@@ -1367,8 +4469,8 @@ var IconAnimalFace = (0, import_react26.forwardRef)(Icon26);
|
|
|
1367
4469
|
var IconAnimalFace_default = IconAnimalFace;
|
|
1368
4470
|
|
|
1369
4471
|
// src/IconCard.tsx
|
|
1370
|
-
var import_react27 =
|
|
1371
|
-
var import_jsx_runtime27 =
|
|
4472
|
+
var import_react27 = __toESM(require_react(), 1);
|
|
4473
|
+
var import_jsx_runtime27 = __toESM(require_jsx_runtime(), 1);
|
|
1372
4474
|
var Icon27 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1373
4475
|
"svg",
|
|
1374
4476
|
{
|
|
@@ -1405,8 +4507,8 @@ var IconCard = (0, import_react27.forwardRef)(Icon27);
|
|
|
1405
4507
|
var IconCard_default = IconCard;
|
|
1406
4508
|
|
|
1407
4509
|
// src/IconBuilding2.tsx
|
|
1408
|
-
var import_react28 =
|
|
1409
|
-
var import_jsx_runtime28 =
|
|
4510
|
+
var import_react28 = __toESM(require_react(), 1);
|
|
4511
|
+
var import_jsx_runtime28 = __toESM(require_jsx_runtime(), 1);
|
|
1410
4512
|
var Icon28 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
1411
4513
|
"svg",
|
|
1412
4514
|
{
|
|
@@ -1476,8 +4578,8 @@ var IconBuilding2 = (0, import_react28.forwardRef)(Icon28);
|
|
|
1476
4578
|
var IconBuilding2_default = IconBuilding2;
|
|
1477
4579
|
|
|
1478
4580
|
// src/IconCheckmarkCalendar.tsx
|
|
1479
|
-
var import_react29 =
|
|
1480
|
-
var import_jsx_runtime29 =
|
|
4581
|
+
var import_react29 = __toESM(require_react(), 1);
|
|
4582
|
+
var import_jsx_runtime29 = __toESM(require_jsx_runtime(), 1);
|
|
1481
4583
|
var Icon29 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
1482
4584
|
"svg",
|
|
1483
4585
|
{
|
|
@@ -1520,8 +4622,8 @@ var IconCheckmarkCalendar = (0, import_react29.forwardRef)(Icon29);
|
|
|
1520
4622
|
var IconCheckmarkCalendar_default = IconCheckmarkCalendar;
|
|
1521
4623
|
|
|
1522
4624
|
// src/IconFigureWalk.tsx
|
|
1523
|
-
var import_react30 =
|
|
1524
|
-
var import_jsx_runtime30 =
|
|
4625
|
+
var import_react30 = __toESM(require_react(), 1);
|
|
4626
|
+
var import_jsx_runtime30 = __toESM(require_jsx_runtime(), 1);
|
|
1525
4627
|
var Icon30 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
1526
4628
|
"svg",
|
|
1527
4629
|
{
|
|
@@ -1571,8 +4673,8 @@ var IconFigureWalk = (0, import_react30.forwardRef)(Icon30);
|
|
|
1571
4673
|
var IconFigureWalk_default = IconFigureWalk;
|
|
1572
4674
|
|
|
1573
4675
|
// src/IconPlateCovered.tsx
|
|
1574
|
-
var import_react31 =
|
|
1575
|
-
var import_jsx_runtime31 =
|
|
4676
|
+
var import_react31 = __toESM(require_react(), 1);
|
|
4677
|
+
var import_jsx_runtime31 = __toESM(require_jsx_runtime(), 1);
|
|
1576
4678
|
var Icon31 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1577
4679
|
"svg",
|
|
1578
4680
|
{
|
|
@@ -1622,8 +4724,8 @@ var IconPlateCovered = (0, import_react31.forwardRef)(Icon31);
|
|
|
1622
4724
|
var IconPlateCovered_default = IconPlateCovered;
|
|
1623
4725
|
|
|
1624
4726
|
// src/IconWindow2StoreDoubleband.tsx
|
|
1625
|
-
var import_react32 =
|
|
1626
|
-
var import_jsx_runtime32 =
|
|
4727
|
+
var import_react32 = __toESM(require_react(), 1);
|
|
4728
|
+
var import_jsx_runtime32 = __toESM(require_jsx_runtime(), 1);
|
|
1627
4729
|
var Icon32 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1628
4730
|
"svg",
|
|
1629
4731
|
{
|
|
@@ -1674,8 +4776,8 @@ var IconWindow2StoreDoubleband = (0, import_react32.forwardRef)(Icon32);
|
|
|
1674
4776
|
var IconWindow2StoreDoubleband_default = IconWindow2StoreDoubleband;
|
|
1675
4777
|
|
|
1676
4778
|
// src/IconMonitor.tsx
|
|
1677
|
-
var import_react33 =
|
|
1678
|
-
var import_jsx_runtime33 =
|
|
4779
|
+
var import_react33 = __toESM(require_react(), 1);
|
|
4780
|
+
var import_jsx_runtime33 = __toESM(require_jsx_runtime(), 1);
|
|
1679
4781
|
var Icon33 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1680
4782
|
"svg",
|
|
1681
4783
|
{
|
|
@@ -1718,8 +4820,8 @@ var IconMonitor = (0, import_react33.forwardRef)(Icon33);
|
|
|
1718
4820
|
var IconMonitor_default = IconMonitor;
|
|
1719
4821
|
|
|
1720
4822
|
// src/IconBoxFlap.tsx
|
|
1721
|
-
var import_react34 =
|
|
1722
|
-
var import_jsx_runtime34 =
|
|
4823
|
+
var import_react34 = __toESM(require_react(), 1);
|
|
4824
|
+
var import_jsx_runtime34 = __toESM(require_jsx_runtime(), 1);
|
|
1723
4825
|
var Icon34 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1724
4826
|
"svg",
|
|
1725
4827
|
{
|
|
@@ -1749,8 +4851,8 @@ var IconBoxFlap = (0, import_react34.forwardRef)(Icon34);
|
|
|
1749
4851
|
var IconBoxFlap_default = IconBoxFlap;
|
|
1750
4852
|
|
|
1751
4853
|
// src/IconCartLoad.tsx
|
|
1752
|
-
var import_react35 =
|
|
1753
|
-
var import_jsx_runtime35 =
|
|
4854
|
+
var import_react35 = __toESM(require_react(), 1);
|
|
4855
|
+
var import_jsx_runtime35 = __toESM(require_jsx_runtime(), 1);
|
|
1754
4856
|
var Icon35 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1755
4857
|
"svg",
|
|
1756
4858
|
{
|
|
@@ -1807,3 +4909,49 @@ var Icon35 = ({ size = 24, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_ru
|
|
|
1807
4909
|
);
|
|
1808
4910
|
var IconCartLoad = (0, import_react35.forwardRef)(Icon35);
|
|
1809
4911
|
var IconCartLoad_default = IconCartLoad;
|
|
4912
|
+
/*! Bundled license information:
|
|
4913
|
+
|
|
4914
|
+
react/cjs/react.production.min.js:
|
|
4915
|
+
(**
|
|
4916
|
+
* @license React
|
|
4917
|
+
* react.production.min.js
|
|
4918
|
+
*
|
|
4919
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
4920
|
+
*
|
|
4921
|
+
* This source code is licensed under the MIT license found in the
|
|
4922
|
+
* LICENSE file in the root directory of this source tree.
|
|
4923
|
+
*)
|
|
4924
|
+
|
|
4925
|
+
react/cjs/react.development.js:
|
|
4926
|
+
(**
|
|
4927
|
+
* @license React
|
|
4928
|
+
* react.development.js
|
|
4929
|
+
*
|
|
4930
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
4931
|
+
*
|
|
4932
|
+
* This source code is licensed under the MIT license found in the
|
|
4933
|
+
* LICENSE file in the root directory of this source tree.
|
|
4934
|
+
*)
|
|
4935
|
+
|
|
4936
|
+
react/cjs/react-jsx-runtime.production.min.js:
|
|
4937
|
+
(**
|
|
4938
|
+
* @license React
|
|
4939
|
+
* react-jsx-runtime.production.min.js
|
|
4940
|
+
*
|
|
4941
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
4942
|
+
*
|
|
4943
|
+
* This source code is licensed under the MIT license found in the
|
|
4944
|
+
* LICENSE file in the root directory of this source tree.
|
|
4945
|
+
*)
|
|
4946
|
+
|
|
4947
|
+
react/cjs/react-jsx-runtime.development.js:
|
|
4948
|
+
(**
|
|
4949
|
+
* @license React
|
|
4950
|
+
* react-jsx-runtime.development.js
|
|
4951
|
+
*
|
|
4952
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
4953
|
+
*
|
|
4954
|
+
* This source code is licensed under the MIT license found in the
|
|
4955
|
+
* LICENSE file in the root directory of this source tree.
|
|
4956
|
+
*)
|
|
4957
|
+
*/
|