@sudobility/auth-components-rn 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -4,50 +4,41 @@ const require$$0 = require("react");
4
4
  const reactNative = require("react-native");
5
5
  const componentsRn = require("@sudobility/components-rn");
6
6
  var jsxRuntime = { exports: {} };
7
- var reactJsxRuntime_production = {};
7
+ var reactJsxRuntime_production_min = {};
8
8
  /**
9
9
  * @license React
10
- * react-jsx-runtime.production.js
10
+ * react-jsx-runtime.production.min.js
11
11
  *
12
- * Copyright (c) Meta Platforms, Inc. and affiliates.
12
+ * Copyright (c) Facebook, Inc. and its affiliates.
13
13
  *
14
14
  * This source code is licensed under the MIT license found in the
15
15
  * LICENSE file in the root directory of this source tree.
16
16
  */
17
- var hasRequiredReactJsxRuntime_production;
18
- function requireReactJsxRuntime_production() {
19
- if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
20
- hasRequiredReactJsxRuntime_production = 1;
21
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
22
- function jsxProd(type, config, maybeKey) {
23
- var key = null;
24
- void 0 !== maybeKey && (key = "" + maybeKey);
25
- void 0 !== config.key && (key = "" + config.key);
26
- if ("key" in config) {
27
- maybeKey = {};
28
- for (var propName in config)
29
- "key" !== propName && (maybeKey[propName] = config[propName]);
30
- } else maybeKey = config;
31
- config = maybeKey.ref;
32
- return {
33
- $$typeof: REACT_ELEMENT_TYPE,
34
- type,
35
- key,
36
- ref: void 0 !== config ? config : null,
37
- props: maybeKey
38
- };
17
+ var hasRequiredReactJsxRuntime_production_min;
18
+ function requireReactJsxRuntime_production_min() {
19
+ if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
20
+ hasRequiredReactJsxRuntime_production_min = 1;
21
+ var f = require$$0, k = Symbol.for("react.element"), l = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: true, ref: true, __self: true, __source: true };
22
+ function q(c, a, g) {
23
+ var b, d = {}, e = null, h = null;
24
+ void 0 !== g && (e = "" + g);
25
+ void 0 !== a.key && (e = "" + a.key);
26
+ void 0 !== a.ref && (h = a.ref);
27
+ for (b in a) m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
28
+ if (c && c.defaultProps) for (b in a = c.defaultProps, a) void 0 === d[b] && (d[b] = a[b]);
29
+ return { $$typeof: k, type: c, key: e, ref: h, props: d, _owner: n.current };
39
30
  }
40
- reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
41
- reactJsxRuntime_production.jsx = jsxProd;
42
- reactJsxRuntime_production.jsxs = jsxProd;
43
- return reactJsxRuntime_production;
31
+ reactJsxRuntime_production_min.Fragment = l;
32
+ reactJsxRuntime_production_min.jsx = q;
33
+ reactJsxRuntime_production_min.jsxs = q;
34
+ return reactJsxRuntime_production_min;
44
35
  }
45
36
  var reactJsxRuntime_development = {};
46
37
  /**
47
38
  * @license React
48
39
  * react-jsx-runtime.development.js
49
40
  *
50
- * Copyright (c) Meta Platforms, Inc. and affiliates.
41
+ * Copyright (c) Facebook, Inc. and its affiliates.
51
42
  *
52
43
  * This source code is licensed under the MIT license found in the
53
44
  * LICENSE file in the root directory of this source tree.
@@ -56,256 +47,876 @@ var hasRequiredReactJsxRuntime_development;
56
47
  function requireReactJsxRuntime_development() {
57
48
  if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
58
49
  hasRequiredReactJsxRuntime_development = 1;
59
- "production" !== process.env.NODE_ENV && (function() {
60
- function getComponentNameFromType(type) {
61
- if (null == type) return null;
62
- if ("function" === typeof type)
63
- return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
64
- if ("string" === typeof type) return type;
65
- switch (type) {
66
- case REACT_FRAGMENT_TYPE:
67
- return "Fragment";
68
- case REACT_PROFILER_TYPE:
69
- return "Profiler";
70
- case REACT_STRICT_MODE_TYPE:
71
- return "StrictMode";
72
- case REACT_SUSPENSE_TYPE:
73
- return "Suspense";
74
- case REACT_SUSPENSE_LIST_TYPE:
75
- return "SuspenseList";
76
- case REACT_ACTIVITY_TYPE:
77
- return "Activity";
50
+ if (process.env.NODE_ENV !== "production") {
51
+ (function() {
52
+ var React = require$$0;
53
+ var REACT_ELEMENT_TYPE = Symbol.for("react.element");
54
+ var REACT_PORTAL_TYPE = Symbol.for("react.portal");
55
+ var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
56
+ var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
57
+ var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
58
+ var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
59
+ var REACT_CONTEXT_TYPE = Symbol.for("react.context");
60
+ var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
61
+ var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
62
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
63
+ var REACT_MEMO_TYPE = Symbol.for("react.memo");
64
+ var REACT_LAZY_TYPE = Symbol.for("react.lazy");
65
+ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
66
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
67
+ var FAUX_ITERATOR_SYMBOL = "@@iterator";
68
+ function getIteratorFn(maybeIterable) {
69
+ if (maybeIterable === null || typeof maybeIterable !== "object") {
70
+ return null;
71
+ }
72
+ var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
73
+ if (typeof maybeIterator === "function") {
74
+ return maybeIterator;
75
+ }
76
+ return null;
77
+ }
78
+ var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
79
+ function error(format) {
80
+ {
81
+ {
82
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
83
+ args[_key2 - 1] = arguments[_key2];
84
+ }
85
+ printWarning("error", format, args);
86
+ }
87
+ }
88
+ }
89
+ function printWarning(level, format, args) {
90
+ {
91
+ var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
92
+ var stack = ReactDebugCurrentFrame2.getStackAddendum();
93
+ if (stack !== "") {
94
+ format += "%s";
95
+ args = args.concat([stack]);
96
+ }
97
+ var argsWithFormat = args.map(function(item) {
98
+ return String(item);
99
+ });
100
+ argsWithFormat.unshift("Warning: " + format);
101
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
102
+ }
103
+ }
104
+ var enableScopeAPI = false;
105
+ var enableCacheElement = false;
106
+ var enableTransitionTracing = false;
107
+ var enableLegacyHidden = false;
108
+ var enableDebugTracing = false;
109
+ var REACT_MODULE_REFERENCE;
110
+ {
111
+ REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
78
112
  }
79
- if ("object" === typeof type)
80
- switch ("number" === typeof type.tag && console.error(
81
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
82
- ), type.$$typeof) {
113
+ function isValidElementType(type) {
114
+ if (typeof type === "string" || typeof type === "function") {
115
+ return true;
116
+ }
117
+ 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) {
118
+ return true;
119
+ }
120
+ if (typeof type === "object" && type !== null) {
121
+ 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
122
+ // types supported by any Flight configuration anywhere since
123
+ // we don't know which Flight build this will end up being used
124
+ // with.
125
+ type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
126
+ return true;
127
+ }
128
+ }
129
+ return false;
130
+ }
131
+ function getWrappedName(outerType, innerType, wrapperName) {
132
+ var displayName = outerType.displayName;
133
+ if (displayName) {
134
+ return displayName;
135
+ }
136
+ var functionName = innerType.displayName || innerType.name || "";
137
+ return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
138
+ }
139
+ function getContextName(type) {
140
+ return type.displayName || "Context";
141
+ }
142
+ function getComponentNameFromType(type) {
143
+ if (type == null) {
144
+ return null;
145
+ }
146
+ {
147
+ if (typeof type.tag === "number") {
148
+ error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
149
+ }
150
+ }
151
+ if (typeof type === "function") {
152
+ return type.displayName || type.name || null;
153
+ }
154
+ if (typeof type === "string") {
155
+ return type;
156
+ }
157
+ switch (type) {
158
+ case REACT_FRAGMENT_TYPE:
159
+ return "Fragment";
83
160
  case REACT_PORTAL_TYPE:
84
161
  return "Portal";
85
- case REACT_CONTEXT_TYPE:
86
- return type.displayName || "Context";
87
- case REACT_CONSUMER_TYPE:
88
- return (type._context.displayName || "Context") + ".Consumer";
89
- case REACT_FORWARD_REF_TYPE:
90
- var innerType = type.render;
91
- type = type.displayName;
92
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
93
- return type;
94
- case REACT_MEMO_TYPE:
95
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
96
- case REACT_LAZY_TYPE:
97
- innerType = type._payload;
98
- type = type._init;
162
+ case REACT_PROFILER_TYPE:
163
+ return "Profiler";
164
+ case REACT_STRICT_MODE_TYPE:
165
+ return "StrictMode";
166
+ case REACT_SUSPENSE_TYPE:
167
+ return "Suspense";
168
+ case REACT_SUSPENSE_LIST_TYPE:
169
+ return "SuspenseList";
170
+ }
171
+ if (typeof type === "object") {
172
+ switch (type.$$typeof) {
173
+ case REACT_CONTEXT_TYPE:
174
+ var context = type;
175
+ return getContextName(context) + ".Consumer";
176
+ case REACT_PROVIDER_TYPE:
177
+ var provider = type;
178
+ return getContextName(provider._context) + ".Provider";
179
+ case REACT_FORWARD_REF_TYPE:
180
+ return getWrappedName(type, type.render, "ForwardRef");
181
+ case REACT_MEMO_TYPE:
182
+ var outerName = type.displayName || null;
183
+ if (outerName !== null) {
184
+ return outerName;
185
+ }
186
+ return getComponentNameFromType(type.type) || "Memo";
187
+ case REACT_LAZY_TYPE: {
188
+ var lazyComponent = type;
189
+ var payload = lazyComponent._payload;
190
+ var init = lazyComponent._init;
191
+ try {
192
+ return getComponentNameFromType(init(payload));
193
+ } catch (x) {
194
+ return null;
195
+ }
196
+ }
197
+ }
198
+ }
199
+ return null;
200
+ }
201
+ var assign = Object.assign;
202
+ var disabledDepth = 0;
203
+ var prevLog;
204
+ var prevInfo;
205
+ var prevWarn;
206
+ var prevError;
207
+ var prevGroup;
208
+ var prevGroupCollapsed;
209
+ var prevGroupEnd;
210
+ function disabledLog() {
211
+ }
212
+ disabledLog.__reactDisabledLog = true;
213
+ function disableLogs() {
214
+ {
215
+ if (disabledDepth === 0) {
216
+ prevLog = console.log;
217
+ prevInfo = console.info;
218
+ prevWarn = console.warn;
219
+ prevError = console.error;
220
+ prevGroup = console.group;
221
+ prevGroupCollapsed = console.groupCollapsed;
222
+ prevGroupEnd = console.groupEnd;
223
+ var props = {
224
+ configurable: true,
225
+ enumerable: true,
226
+ value: disabledLog,
227
+ writable: true
228
+ };
229
+ Object.defineProperties(console, {
230
+ info: props,
231
+ log: props,
232
+ warn: props,
233
+ error: props,
234
+ group: props,
235
+ groupCollapsed: props,
236
+ groupEnd: props
237
+ });
238
+ }
239
+ disabledDepth++;
240
+ }
241
+ }
242
+ function reenableLogs() {
243
+ {
244
+ disabledDepth--;
245
+ if (disabledDepth === 0) {
246
+ var props = {
247
+ configurable: true,
248
+ enumerable: true,
249
+ writable: true
250
+ };
251
+ Object.defineProperties(console, {
252
+ log: assign({}, props, {
253
+ value: prevLog
254
+ }),
255
+ info: assign({}, props, {
256
+ value: prevInfo
257
+ }),
258
+ warn: assign({}, props, {
259
+ value: prevWarn
260
+ }),
261
+ error: assign({}, props, {
262
+ value: prevError
263
+ }),
264
+ group: assign({}, props, {
265
+ value: prevGroup
266
+ }),
267
+ groupCollapsed: assign({}, props, {
268
+ value: prevGroupCollapsed
269
+ }),
270
+ groupEnd: assign({}, props, {
271
+ value: prevGroupEnd
272
+ })
273
+ });
274
+ }
275
+ if (disabledDepth < 0) {
276
+ error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
277
+ }
278
+ }
279
+ }
280
+ var ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
281
+ var prefix;
282
+ function describeBuiltInComponentFrame(name, source, ownerFn) {
283
+ {
284
+ if (prefix === void 0) {
99
285
  try {
100
- return getComponentNameFromType(type(innerType));
286
+ throw Error();
101
287
  } catch (x) {
288
+ var match = x.stack.trim().match(/\n( *(at )?)/);
289
+ prefix = match && match[1] || "";
102
290
  }
291
+ }
292
+ return "\n" + prefix + name;
103
293
  }
104
- return null;
105
- }
106
- function testStringCoercion(value) {
107
- return "" + value;
108
- }
109
- function checkKeyStringCoercion(value) {
110
- try {
111
- testStringCoercion(value);
112
- var JSCompiler_inline_result = false;
113
- } catch (e) {
114
- JSCompiler_inline_result = true;
115
294
  }
116
- if (JSCompiler_inline_result) {
117
- JSCompiler_inline_result = console;
118
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
119
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
120
- JSCompiler_temp_const.call(
121
- JSCompiler_inline_result,
122
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
123
- JSCompiler_inline_result$jscomp$0
124
- );
125
- return testStringCoercion(value);
295
+ var reentry = false;
296
+ var componentFrameCache;
297
+ {
298
+ var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
299
+ componentFrameCache = new PossiblyWeakMap();
126
300
  }
127
- }
128
- function getTaskName(type) {
129
- if (type === REACT_FRAGMENT_TYPE) return "<>";
130
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
131
- return "<...>";
132
- try {
133
- var name = getComponentNameFromType(type);
134
- return name ? "<" + name + ">" : "<...>";
135
- } catch (x) {
136
- return "<...>";
301
+ function describeNativeComponentFrame(fn, construct) {
302
+ if (!fn || reentry) {
303
+ return "";
304
+ }
305
+ {
306
+ var frame = componentFrameCache.get(fn);
307
+ if (frame !== void 0) {
308
+ return frame;
309
+ }
310
+ }
311
+ var control;
312
+ reentry = true;
313
+ var previousPrepareStackTrace = Error.prepareStackTrace;
314
+ Error.prepareStackTrace = void 0;
315
+ var previousDispatcher;
316
+ {
317
+ previousDispatcher = ReactCurrentDispatcher.current;
318
+ ReactCurrentDispatcher.current = null;
319
+ disableLogs();
320
+ }
321
+ try {
322
+ if (construct) {
323
+ var Fake = function() {
324
+ throw Error();
325
+ };
326
+ Object.defineProperty(Fake.prototype, "props", {
327
+ set: function() {
328
+ throw Error();
329
+ }
330
+ });
331
+ if (typeof Reflect === "object" && Reflect.construct) {
332
+ try {
333
+ Reflect.construct(Fake, []);
334
+ } catch (x) {
335
+ control = x;
336
+ }
337
+ Reflect.construct(fn, [], Fake);
338
+ } else {
339
+ try {
340
+ Fake.call();
341
+ } catch (x) {
342
+ control = x;
343
+ }
344
+ fn.call(Fake.prototype);
345
+ }
346
+ } else {
347
+ try {
348
+ throw Error();
349
+ } catch (x) {
350
+ control = x;
351
+ }
352
+ fn();
353
+ }
354
+ } catch (sample) {
355
+ if (sample && control && typeof sample.stack === "string") {
356
+ var sampleLines = sample.stack.split("\n");
357
+ var controlLines = control.stack.split("\n");
358
+ var s = sampleLines.length - 1;
359
+ var c = controlLines.length - 1;
360
+ while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
361
+ c--;
362
+ }
363
+ for (; s >= 1 && c >= 0; s--, c--) {
364
+ if (sampleLines[s] !== controlLines[c]) {
365
+ if (s !== 1 || c !== 1) {
366
+ do {
367
+ s--;
368
+ c--;
369
+ if (c < 0 || sampleLines[s] !== controlLines[c]) {
370
+ var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
371
+ if (fn.displayName && _frame.includes("<anonymous>")) {
372
+ _frame = _frame.replace("<anonymous>", fn.displayName);
373
+ }
374
+ {
375
+ if (typeof fn === "function") {
376
+ componentFrameCache.set(fn, _frame);
377
+ }
378
+ }
379
+ return _frame;
380
+ }
381
+ } while (s >= 1 && c >= 0);
382
+ }
383
+ break;
384
+ }
385
+ }
386
+ }
387
+ } finally {
388
+ reentry = false;
389
+ {
390
+ ReactCurrentDispatcher.current = previousDispatcher;
391
+ reenableLogs();
392
+ }
393
+ Error.prepareStackTrace = previousPrepareStackTrace;
394
+ }
395
+ var name = fn ? fn.displayName || fn.name : "";
396
+ var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
397
+ {
398
+ if (typeof fn === "function") {
399
+ componentFrameCache.set(fn, syntheticFrame);
400
+ }
401
+ }
402
+ return syntheticFrame;
137
403
  }
138
- }
139
- function getOwner() {
140
- var dispatcher = ReactSharedInternals.A;
141
- return null === dispatcher ? null : dispatcher.getOwner();
142
- }
143
- function UnknownOwner() {
144
- return Error("react-stack-top-frame");
145
- }
146
- function hasValidKey(config) {
147
- if (hasOwnProperty.call(config, "key")) {
148
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
149
- if (getter && getter.isReactWarning) return false;
404
+ function describeFunctionComponentFrame(fn, source, ownerFn) {
405
+ {
406
+ return describeNativeComponentFrame(fn, false);
407
+ }
150
408
  }
151
- return void 0 !== config.key;
152
- }
153
- function defineKeyPropWarningGetter(props, displayName) {
154
- function warnAboutAccessingKey() {
155
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
156
- "%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://react.dev/link/special-props)",
157
- displayName
158
- ));
409
+ function shouldConstruct(Component) {
410
+ var prototype = Component.prototype;
411
+ return !!(prototype && prototype.isReactComponent);
159
412
  }
160
- warnAboutAccessingKey.isReactWarning = true;
161
- Object.defineProperty(props, "key", {
162
- get: warnAboutAccessingKey,
163
- configurable: true
164
- });
165
- }
166
- function elementRefGetterWithDeprecationWarning() {
167
- var componentName = getComponentNameFromType(this.type);
168
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
169
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
170
- ));
171
- componentName = this.props.ref;
172
- return void 0 !== componentName ? componentName : null;
173
- }
174
- function ReactElement(type, key, props, owner, debugStack, debugTask) {
175
- var refProp = props.ref;
176
- type = {
177
- $$typeof: REACT_ELEMENT_TYPE,
178
- type,
179
- key,
180
- props,
181
- _owner: owner
413
+ function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
414
+ if (type == null) {
415
+ return "";
416
+ }
417
+ if (typeof type === "function") {
418
+ {
419
+ return describeNativeComponentFrame(type, shouldConstruct(type));
420
+ }
421
+ }
422
+ if (typeof type === "string") {
423
+ return describeBuiltInComponentFrame(type);
424
+ }
425
+ switch (type) {
426
+ case REACT_SUSPENSE_TYPE:
427
+ return describeBuiltInComponentFrame("Suspense");
428
+ case REACT_SUSPENSE_LIST_TYPE:
429
+ return describeBuiltInComponentFrame("SuspenseList");
430
+ }
431
+ if (typeof type === "object") {
432
+ switch (type.$$typeof) {
433
+ case REACT_FORWARD_REF_TYPE:
434
+ return describeFunctionComponentFrame(type.render);
435
+ case REACT_MEMO_TYPE:
436
+ return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
437
+ case REACT_LAZY_TYPE: {
438
+ var lazyComponent = type;
439
+ var payload = lazyComponent._payload;
440
+ var init = lazyComponent._init;
441
+ try {
442
+ return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
443
+ } catch (x) {
444
+ }
445
+ }
446
+ }
447
+ }
448
+ return "";
449
+ }
450
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
451
+ var loggedTypeFailures = {};
452
+ var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
453
+ function setCurrentlyValidatingElement(element) {
454
+ {
455
+ if (element) {
456
+ var owner = element._owner;
457
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
458
+ ReactDebugCurrentFrame.setExtraStackFrame(stack);
459
+ } else {
460
+ ReactDebugCurrentFrame.setExtraStackFrame(null);
461
+ }
462
+ }
463
+ }
464
+ function checkPropTypes(typeSpecs, values, location, componentName, element) {
465
+ {
466
+ var has = Function.call.bind(hasOwnProperty);
467
+ for (var typeSpecName in typeSpecs) {
468
+ if (has(typeSpecs, typeSpecName)) {
469
+ var error$1 = void 0;
470
+ try {
471
+ if (typeof typeSpecs[typeSpecName] !== "function") {
472
+ 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`.");
473
+ err.name = "Invariant Violation";
474
+ throw err;
475
+ }
476
+ error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
477
+ } catch (ex) {
478
+ error$1 = ex;
479
+ }
480
+ if (error$1 && !(error$1 instanceof Error)) {
481
+ setCurrentlyValidatingElement(element);
482
+ 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);
483
+ setCurrentlyValidatingElement(null);
484
+ }
485
+ if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
486
+ loggedTypeFailures[error$1.message] = true;
487
+ setCurrentlyValidatingElement(element);
488
+ error("Failed %s type: %s", location, error$1.message);
489
+ setCurrentlyValidatingElement(null);
490
+ }
491
+ }
492
+ }
493
+ }
494
+ }
495
+ var isArrayImpl = Array.isArray;
496
+ function isArray(a) {
497
+ return isArrayImpl(a);
498
+ }
499
+ function typeName(value) {
500
+ {
501
+ var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
502
+ var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
503
+ return type;
504
+ }
505
+ }
506
+ function willCoercionThrow(value) {
507
+ {
508
+ try {
509
+ testStringCoercion(value);
510
+ return false;
511
+ } catch (e) {
512
+ return true;
513
+ }
514
+ }
515
+ }
516
+ function testStringCoercion(value) {
517
+ return "" + value;
518
+ }
519
+ function checkKeyStringCoercion(value) {
520
+ {
521
+ if (willCoercionThrow(value)) {
522
+ error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
523
+ return testStringCoercion(value);
524
+ }
525
+ }
526
+ }
527
+ var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
528
+ var RESERVED_PROPS = {
529
+ key: true,
530
+ ref: true,
531
+ __self: true,
532
+ __source: true
182
533
  };
183
- null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
184
- enumerable: false,
185
- get: elementRefGetterWithDeprecationWarning
186
- }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
187
- type._store = {};
188
- Object.defineProperty(type._store, "validated", {
189
- configurable: false,
190
- enumerable: false,
191
- writable: true,
192
- value: 0
193
- });
194
- Object.defineProperty(type, "_debugInfo", {
195
- configurable: false,
196
- enumerable: false,
197
- writable: true,
198
- value: null
199
- });
200
- Object.defineProperty(type, "_debugStack", {
201
- configurable: false,
202
- enumerable: false,
203
- writable: true,
204
- value: debugStack
205
- });
206
- Object.defineProperty(type, "_debugTask", {
207
- configurable: false,
208
- enumerable: false,
209
- writable: true,
210
- value: debugTask
211
- });
212
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
213
- return type;
214
- }
215
- function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
216
- var children = config.children;
217
- if (void 0 !== children)
218
- if (isStaticChildren)
219
- if (isArrayImpl(children)) {
220
- for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
221
- validateChildKeys(children[isStaticChildren]);
222
- Object.freeze && Object.freeze(children);
223
- } else
224
- console.error(
225
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
226
- );
227
- else validateChildKeys(children);
228
- if (hasOwnProperty.call(config, "key")) {
229
- children = getComponentNameFromType(type);
230
- var keys = Object.keys(config).filter(function(k) {
231
- return "key" !== k;
232
- });
233
- isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
234
- didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
235
- '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} />',
236
- isStaticChildren,
237
- children,
238
- keys,
239
- children
240
- ), didWarnAboutKeySpread[children + isStaticChildren] = true);
534
+ var specialPropKeyWarningShown;
535
+ var specialPropRefWarningShown;
536
+ function hasValidRef(config) {
537
+ {
538
+ if (hasOwnProperty.call(config, "ref")) {
539
+ var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
540
+ if (getter && getter.isReactWarning) {
541
+ return false;
542
+ }
543
+ }
544
+ }
545
+ return config.ref !== void 0;
241
546
  }
242
- children = null;
243
- void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
244
- hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
245
- if ("key" in config) {
246
- maybeKey = {};
247
- for (var propName in config)
248
- "key" !== propName && (maybeKey[propName] = config[propName]);
249
- } else maybeKey = config;
250
- children && defineKeyPropWarningGetter(
251
- maybeKey,
252
- "function" === typeof type ? type.displayName || type.name || "Unknown" : type
253
- );
254
- return ReactElement(
255
- type,
256
- children,
257
- maybeKey,
258
- getOwner(),
259
- debugStack,
260
- debugTask
261
- );
262
- }
263
- function validateChildKeys(node) {
264
- isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
265
- }
266
- function isValidElement(object) {
267
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
268
- }
269
- var React = require$$0, REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
270
- return null;
271
- };
272
- React = {
273
- react_stack_bottom_frame: function(callStackForError) {
274
- return callStackForError();
547
+ function hasValidKey(config) {
548
+ {
549
+ if (hasOwnProperty.call(config, "key")) {
550
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
551
+ if (getter && getter.isReactWarning) {
552
+ return false;
553
+ }
554
+ }
555
+ }
556
+ return config.key !== void 0;
557
+ }
558
+ function warnIfStringRefCannotBeAutoConverted(config, self) {
559
+ {
560
+ if (typeof config.ref === "string" && ReactCurrentOwner.current && self) ;
561
+ }
562
+ }
563
+ function defineKeyPropWarningGetter(props, displayName) {
564
+ {
565
+ var warnAboutAccessingKey = function() {
566
+ if (!specialPropKeyWarningShown) {
567
+ specialPropKeyWarningShown = true;
568
+ 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);
569
+ }
570
+ };
571
+ warnAboutAccessingKey.isReactWarning = true;
572
+ Object.defineProperty(props, "key", {
573
+ get: warnAboutAccessingKey,
574
+ configurable: true
575
+ });
576
+ }
577
+ }
578
+ function defineRefPropWarningGetter(props, displayName) {
579
+ {
580
+ var warnAboutAccessingRef = function() {
581
+ if (!specialPropRefWarningShown) {
582
+ specialPropRefWarningShown = true;
583
+ 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);
584
+ }
585
+ };
586
+ warnAboutAccessingRef.isReactWarning = true;
587
+ Object.defineProperty(props, "ref", {
588
+ get: warnAboutAccessingRef,
589
+ configurable: true
590
+ });
591
+ }
592
+ }
593
+ var ReactElement = function(type, key, ref, self, source, owner, props) {
594
+ var element = {
595
+ // This tag allows us to uniquely identify this as a React Element
596
+ $$typeof: REACT_ELEMENT_TYPE,
597
+ // Built-in properties that belong on the element
598
+ type,
599
+ key,
600
+ ref,
601
+ props,
602
+ // Record the component responsible for creating this element.
603
+ _owner: owner
604
+ };
605
+ {
606
+ element._store = {};
607
+ Object.defineProperty(element._store, "validated", {
608
+ configurable: false,
609
+ enumerable: false,
610
+ writable: true,
611
+ value: false
612
+ });
613
+ Object.defineProperty(element, "_self", {
614
+ configurable: false,
615
+ enumerable: false,
616
+ writable: false,
617
+ value: self
618
+ });
619
+ Object.defineProperty(element, "_source", {
620
+ configurable: false,
621
+ enumerable: false,
622
+ writable: false,
623
+ value: source
624
+ });
625
+ if (Object.freeze) {
626
+ Object.freeze(element.props);
627
+ Object.freeze(element);
628
+ }
629
+ }
630
+ return element;
631
+ };
632
+ function jsxDEV(type, config, maybeKey, source, self) {
633
+ {
634
+ var propName;
635
+ var props = {};
636
+ var key = null;
637
+ var ref = null;
638
+ if (maybeKey !== void 0) {
639
+ {
640
+ checkKeyStringCoercion(maybeKey);
641
+ }
642
+ key = "" + maybeKey;
643
+ }
644
+ if (hasValidKey(config)) {
645
+ {
646
+ checkKeyStringCoercion(config.key);
647
+ }
648
+ key = "" + config.key;
649
+ }
650
+ if (hasValidRef(config)) {
651
+ ref = config.ref;
652
+ warnIfStringRefCannotBeAutoConverted(config, self);
653
+ }
654
+ for (propName in config) {
655
+ if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
656
+ props[propName] = config[propName];
657
+ }
658
+ }
659
+ if (type && type.defaultProps) {
660
+ var defaultProps = type.defaultProps;
661
+ for (propName in defaultProps) {
662
+ if (props[propName] === void 0) {
663
+ props[propName] = defaultProps[propName];
664
+ }
665
+ }
666
+ }
667
+ if (key || ref) {
668
+ var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
669
+ if (key) {
670
+ defineKeyPropWarningGetter(props, displayName);
671
+ }
672
+ if (ref) {
673
+ defineRefPropWarningGetter(props, displayName);
674
+ }
675
+ }
676
+ return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);
677
+ }
678
+ }
679
+ var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;
680
+ var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
681
+ function setCurrentlyValidatingElement$1(element) {
682
+ {
683
+ if (element) {
684
+ var owner = element._owner;
685
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
686
+ ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
687
+ } else {
688
+ ReactDebugCurrentFrame$1.setExtraStackFrame(null);
689
+ }
690
+ }
691
+ }
692
+ var propTypesMisspellWarningShown;
693
+ {
694
+ propTypesMisspellWarningShown = false;
695
+ }
696
+ function isValidElement(object) {
697
+ {
698
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
699
+ }
700
+ }
701
+ function getDeclarationErrorAddendum() {
702
+ {
703
+ if (ReactCurrentOwner$1.current) {
704
+ var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);
705
+ if (name) {
706
+ return "\n\nCheck the render method of `" + name + "`.";
707
+ }
708
+ }
709
+ return "";
710
+ }
711
+ }
712
+ function getSourceInfoErrorAddendum(source) {
713
+ {
714
+ return "";
715
+ }
716
+ }
717
+ var ownerHasKeyUseWarning = {};
718
+ function getCurrentComponentErrorInfo(parentType) {
719
+ {
720
+ var info = getDeclarationErrorAddendum();
721
+ if (!info) {
722
+ var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
723
+ if (parentName) {
724
+ info = "\n\nCheck the top-level render call using <" + parentName + ">.";
725
+ }
726
+ }
727
+ return info;
728
+ }
729
+ }
730
+ function validateExplicitKey(element, parentType) {
731
+ {
732
+ if (!element._store || element._store.validated || element.key != null) {
733
+ return;
734
+ }
735
+ element._store.validated = true;
736
+ var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
737
+ if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
738
+ return;
739
+ }
740
+ ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
741
+ var childOwner = "";
742
+ if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {
743
+ childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
744
+ }
745
+ setCurrentlyValidatingElement$1(element);
746
+ 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);
747
+ setCurrentlyValidatingElement$1(null);
748
+ }
749
+ }
750
+ function validateChildKeys(node, parentType) {
751
+ {
752
+ if (typeof node !== "object") {
753
+ return;
754
+ }
755
+ if (isArray(node)) {
756
+ for (var i = 0; i < node.length; i++) {
757
+ var child = node[i];
758
+ if (isValidElement(child)) {
759
+ validateExplicitKey(child, parentType);
760
+ }
761
+ }
762
+ } else if (isValidElement(node)) {
763
+ if (node._store) {
764
+ node._store.validated = true;
765
+ }
766
+ } else if (node) {
767
+ var iteratorFn = getIteratorFn(node);
768
+ if (typeof iteratorFn === "function") {
769
+ if (iteratorFn !== node.entries) {
770
+ var iterator = iteratorFn.call(node);
771
+ var step;
772
+ while (!(step = iterator.next()).done) {
773
+ if (isValidElement(step.value)) {
774
+ validateExplicitKey(step.value, parentType);
775
+ }
776
+ }
777
+ }
778
+ }
779
+ }
780
+ }
781
+ }
782
+ function validatePropTypes(element) {
783
+ {
784
+ var type = element.type;
785
+ if (type === null || type === void 0 || typeof type === "string") {
786
+ return;
787
+ }
788
+ var propTypes;
789
+ if (typeof type === "function") {
790
+ propTypes = type.propTypes;
791
+ } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
792
+ // Inner props are checked in the reconciler.
793
+ type.$$typeof === REACT_MEMO_TYPE)) {
794
+ propTypes = type.propTypes;
795
+ } else {
796
+ return;
797
+ }
798
+ if (propTypes) {
799
+ var name = getComponentNameFromType(type);
800
+ checkPropTypes(propTypes, element.props, "prop", name, element);
801
+ } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
802
+ propTypesMisspellWarningShown = true;
803
+ var _name = getComponentNameFromType(type);
804
+ error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
805
+ }
806
+ if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
807
+ error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
808
+ }
809
+ }
810
+ }
811
+ function validateFragmentProps(fragment) {
812
+ {
813
+ var keys = Object.keys(fragment.props);
814
+ for (var i = 0; i < keys.length; i++) {
815
+ var key = keys[i];
816
+ if (key !== "children" && key !== "key") {
817
+ setCurrentlyValidatingElement$1(fragment);
818
+ error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
819
+ setCurrentlyValidatingElement$1(null);
820
+ break;
821
+ }
822
+ }
823
+ if (fragment.ref !== null) {
824
+ setCurrentlyValidatingElement$1(fragment);
825
+ error("Invalid attribute `ref` supplied to `React.Fragment`.");
826
+ setCurrentlyValidatingElement$1(null);
827
+ }
828
+ }
275
829
  }
276
- };
277
- var specialPropKeyWarningShown;
278
- var didWarnAboutElementRef = {};
279
- var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
280
- React,
281
- UnknownOwner
282
- )();
283
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
284
- var didWarnAboutKeySpread = {};
285
- reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
286
- reactJsxRuntime_development.jsx = function(type, config, maybeKey) {
287
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
288
- return jsxDEVImpl(
289
- type,
290
- config,
291
- maybeKey,
292
- false,
293
- trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
294
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
295
- );
296
- };
297
- reactJsxRuntime_development.jsxs = function(type, config, maybeKey) {
298
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
299
- return jsxDEVImpl(
300
- type,
301
- config,
302
- maybeKey,
303
- true,
304
- trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
305
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
306
- );
307
- };
308
- })();
830
+ var didWarnAboutKeySpread = {};
831
+ function jsxWithValidation(type, props, key, isStaticChildren, source, self) {
832
+ {
833
+ var validType = isValidElementType(type);
834
+ if (!validType) {
835
+ var info = "";
836
+ if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
837
+ 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.";
838
+ }
839
+ var sourceInfo = getSourceInfoErrorAddendum();
840
+ if (sourceInfo) {
841
+ info += sourceInfo;
842
+ } else {
843
+ info += getDeclarationErrorAddendum();
844
+ }
845
+ var typeString;
846
+ if (type === null) {
847
+ typeString = "null";
848
+ } else if (isArray(type)) {
849
+ typeString = "array";
850
+ } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
851
+ typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
852
+ info = " Did you accidentally export a JSX literal instead of a component?";
853
+ } else {
854
+ typeString = typeof type;
855
+ }
856
+ 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);
857
+ }
858
+ var element = jsxDEV(type, props, key, source, self);
859
+ if (element == null) {
860
+ return element;
861
+ }
862
+ if (validType) {
863
+ var children = props.children;
864
+ if (children !== void 0) {
865
+ if (isStaticChildren) {
866
+ if (isArray(children)) {
867
+ for (var i = 0; i < children.length; i++) {
868
+ validateChildKeys(children[i], type);
869
+ }
870
+ if (Object.freeze) {
871
+ Object.freeze(children);
872
+ }
873
+ } else {
874
+ 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.");
875
+ }
876
+ } else {
877
+ validateChildKeys(children, type);
878
+ }
879
+ }
880
+ }
881
+ {
882
+ if (hasOwnProperty.call(props, "key")) {
883
+ var componentName = getComponentNameFromType(type);
884
+ var keys = Object.keys(props).filter(function(k) {
885
+ return k !== "key";
886
+ });
887
+ var beforeExample = keys.length > 0 ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
888
+ if (!didWarnAboutKeySpread[componentName + beforeExample]) {
889
+ var afterExample = keys.length > 0 ? "{" + keys.join(": ..., ") + ": ...}" : "{}";
890
+ 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);
891
+ didWarnAboutKeySpread[componentName + beforeExample] = true;
892
+ }
893
+ }
894
+ }
895
+ if (type === REACT_FRAGMENT_TYPE) {
896
+ validateFragmentProps(element);
897
+ } else {
898
+ validatePropTypes(element);
899
+ }
900
+ return element;
901
+ }
902
+ }
903
+ function jsxWithValidationStatic(type, props, key) {
904
+ {
905
+ return jsxWithValidation(type, props, key, true);
906
+ }
907
+ }
908
+ function jsxWithValidationDynamic(type, props, key) {
909
+ {
910
+ return jsxWithValidation(type, props, key, false);
911
+ }
912
+ }
913
+ var jsx = jsxWithValidationDynamic;
914
+ var jsxs = jsxWithValidationStatic;
915
+ reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
916
+ reactJsxRuntime_development.jsx = jsx;
917
+ reactJsxRuntime_development.jsxs = jsxs;
918
+ })();
919
+ }
309
920
  return reactJsxRuntime_development;
310
921
  }
311
922
  var hasRequiredJsxRuntime;
@@ -313,7 +924,7 @@ function requireJsxRuntime() {
313
924
  if (hasRequiredJsxRuntime) return jsxRuntime.exports;
314
925
  hasRequiredJsxRuntime = 1;
315
926
  if (process.env.NODE_ENV === "production") {
316
- jsxRuntime.exports = requireReactJsxRuntime_production();
927
+ jsxRuntime.exports = requireReactJsxRuntime_production_min();
317
928
  } else {
318
929
  jsxRuntime.exports = requireReactJsxRuntime_development();
319
930
  }