@syntrologie/adapt-faq 2.26.0 → 2.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/editor.js CHANGED
@@ -15,975 +15,486 @@ import {
15
15
  __toESM
16
16
  } from "./chunk-5WRI5ZAA.js";
17
17
 
18
- // ../../../node_modules/react/cjs/react.development.js
19
- var require_react_development = __commonJS({
20
- "../../../node_modules/react/cjs/react.development.js"(exports, module) {
18
+ // ../../../node_modules/react/cjs/react-jsx-runtime.production.js
19
+ var require_react_jsx_runtime_production = __commonJS({
20
+ "../../../node_modules/react/cjs/react-jsx-runtime.production.js"(exports) {
21
21
  "use strict";
22
- (function() {
23
- function defineDeprecationWarning(methodName, info) {
24
- Object.defineProperty(Component.prototype, methodName, {
25
- get: function() {
26
- console.warn(
27
- "%s(...) is deprecated in plain JavaScript React classes. %s",
28
- info[0],
29
- info[1]
30
- );
31
- }
32
- });
33
- }
34
- function getIteratorFn(maybeIterable) {
35
- if (null === maybeIterable || "object" !== typeof maybeIterable)
36
- return null;
37
- maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
38
- return "function" === typeof maybeIterable ? maybeIterable : null;
39
- }
40
- function warnNoop(publicInstance, callerName) {
41
- publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass";
42
- var warningKey = publicInstance + "." + callerName;
43
- didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error(
44
- "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.",
45
- callerName,
46
- publicInstance
47
- ), didWarnStateUpdateForUnmountedComponent[warningKey] = true);
48
- }
49
- function Component(props, context, updater) {
50
- this.props = props;
51
- this.context = context;
52
- this.refs = emptyObject;
53
- this.updater = updater || ReactNoopUpdateQueue;
54
- }
55
- function ComponentDummy() {
56
- }
57
- function PureComponent(props, context, updater) {
58
- this.props = props;
59
- this.context = context;
60
- this.refs = emptyObject;
61
- this.updater = updater || ReactNoopUpdateQueue;
62
- }
63
- function noop() {
64
- }
65
- function testStringCoercion(value) {
66
- return "" + value;
67
- }
68
- function checkKeyStringCoercion(value) {
69
- try {
70
- testStringCoercion(value);
71
- var JSCompiler_inline_result = false;
72
- } catch (e) {
73
- JSCompiler_inline_result = true;
74
- }
75
- if (JSCompiler_inline_result) {
76
- JSCompiler_inline_result = console;
77
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
78
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
79
- JSCompiler_temp_const.call(
80
- JSCompiler_inline_result,
81
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
82
- JSCompiler_inline_result$jscomp$0
83
- );
84
- return testStringCoercion(value);
85
- }
86
- }
87
- function getComponentNameFromType(type) {
88
- if (null == type) return null;
89
- if ("function" === typeof type)
90
- return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
91
- if ("string" === typeof type) return type;
92
- switch (type) {
93
- case REACT_FRAGMENT_TYPE:
94
- return "Fragment";
95
- case REACT_PROFILER_TYPE:
96
- return "Profiler";
97
- case REACT_STRICT_MODE_TYPE:
98
- return "StrictMode";
99
- case REACT_SUSPENSE_TYPE:
100
- return "Suspense";
101
- case REACT_SUSPENSE_LIST_TYPE:
102
- return "SuspenseList";
103
- case REACT_ACTIVITY_TYPE:
104
- return "Activity";
105
- }
106
- if ("object" === typeof type)
107
- switch ("number" === typeof type.tag && console.error(
108
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
109
- ), type.$$typeof) {
110
- case REACT_PORTAL_TYPE:
111
- return "Portal";
112
- case REACT_CONTEXT_TYPE:
113
- return type.displayName || "Context";
114
- case REACT_CONSUMER_TYPE:
115
- return (type._context.displayName || "Context") + ".Consumer";
116
- case REACT_FORWARD_REF_TYPE:
117
- var innerType = type.render;
118
- type = type.displayName;
119
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
120
- return type;
121
- case REACT_MEMO_TYPE:
122
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
123
- case REACT_LAZY_TYPE:
124
- innerType = type._payload;
125
- type = type._init;
126
- try {
127
- return getComponentNameFromType(type(innerType));
128
- } catch (x) {
129
- }
130
- }
131
- return null;
132
- }
133
- function getTaskName(type) {
134
- if (type === REACT_FRAGMENT_TYPE) return "<>";
135
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
136
- return "<...>";
137
- try {
138
- var name = getComponentNameFromType(type);
139
- return name ? "<" + name + ">" : "<...>";
140
- } catch (x) {
141
- return "<...>";
142
- }
143
- }
144
- function getOwner() {
145
- var dispatcher = ReactSharedInternals.A;
146
- return null === dispatcher ? null : dispatcher.getOwner();
147
- }
148
- function UnknownOwner() {
149
- return Error("react-stack-top-frame");
150
- }
151
- function hasValidKey(config) {
152
- if (hasOwnProperty.call(config, "key")) {
153
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
154
- if (getter && getter.isReactWarning) return false;
155
- }
156
- return void 0 !== config.key;
157
- }
158
- function defineKeyPropWarningGetter(props, displayName) {
159
- function warnAboutAccessingKey() {
160
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
161
- "%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)",
162
- displayName
163
- ));
164
- }
165
- warnAboutAccessingKey.isReactWarning = true;
166
- Object.defineProperty(props, "key", {
167
- get: warnAboutAccessingKey,
168
- configurable: true
169
- });
170
- }
171
- function elementRefGetterWithDeprecationWarning() {
172
- var componentName = getComponentNameFromType(this.type);
173
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
174
- "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."
175
- ));
176
- componentName = this.props.ref;
177
- return void 0 !== componentName ? componentName : null;
178
- }
179
- function ReactElement(type, key, props, owner, debugStack, debugTask) {
180
- var refProp = props.ref;
181
- type = {
182
- $$typeof: REACT_ELEMENT_TYPE,
183
- type,
184
- key,
185
- props,
186
- _owner: owner
187
- };
188
- null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
189
- enumerable: false,
190
- get: elementRefGetterWithDeprecationWarning
191
- }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
192
- type._store = {};
193
- Object.defineProperty(type._store, "validated", {
194
- configurable: false,
195
- enumerable: false,
196
- writable: true,
197
- value: 0
198
- });
199
- Object.defineProperty(type, "_debugInfo", {
200
- configurable: false,
201
- enumerable: false,
202
- writable: true,
203
- value: null
204
- });
205
- Object.defineProperty(type, "_debugStack", {
206
- configurable: false,
207
- enumerable: false,
208
- writable: true,
209
- value: debugStack
210
- });
211
- Object.defineProperty(type, "_debugTask", {
212
- configurable: false,
213
- enumerable: false,
214
- writable: true,
215
- value: debugTask
216
- });
217
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
218
- return type;
22
+ var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element");
23
+ var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
24
+ function jsxProd(type, config, maybeKey) {
25
+ var key = null;
26
+ void 0 !== maybeKey && (key = "" + maybeKey);
27
+ void 0 !== config.key && (key = "" + config.key);
28
+ if ("key" in config) {
29
+ maybeKey = {};
30
+ for (var propName in config)
31
+ "key" !== propName && (maybeKey[propName] = config[propName]);
32
+ } else maybeKey = config;
33
+ config = maybeKey.ref;
34
+ return {
35
+ $$typeof: REACT_ELEMENT_TYPE,
36
+ type,
37
+ key,
38
+ ref: void 0 !== config ? config : null,
39
+ props: maybeKey
40
+ };
41
+ }
42
+ exports.Fragment = REACT_FRAGMENT_TYPE;
43
+ exports.jsx = jsxProd;
44
+ exports.jsxs = jsxProd;
45
+ }
46
+ });
47
+
48
+ // ../../../node_modules/react/jsx-runtime.js
49
+ var require_jsx_runtime = __commonJS({
50
+ "../../../node_modules/react/jsx-runtime.js"(exports, module) {
51
+ "use strict";
52
+ if (true) {
53
+ module.exports = require_react_jsx_runtime_production();
54
+ } else {
55
+ module.exports = null;
56
+ }
57
+ }
58
+ });
59
+
60
+ // ../../../node_modules/react/cjs/react.production.js
61
+ var require_react_production = __commonJS({
62
+ "../../../node_modules/react/cjs/react.production.js"(exports) {
63
+ "use strict";
64
+ var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element");
65
+ var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
66
+ var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
67
+ var REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode");
68
+ var REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler");
69
+ var REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer");
70
+ var REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context");
71
+ var REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref");
72
+ var REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense");
73
+ var REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo");
74
+ var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy");
75
+ var REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity");
76
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
77
+ function getIteratorFn(maybeIterable) {
78
+ if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
79
+ maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
80
+ return "function" === typeof maybeIterable ? maybeIterable : null;
81
+ }
82
+ var ReactNoopUpdateQueue = {
83
+ isMounted: function() {
84
+ return false;
85
+ },
86
+ enqueueForceUpdate: function() {
87
+ },
88
+ enqueueReplaceState: function() {
89
+ },
90
+ enqueueSetState: function() {
219
91
  }
220
- function cloneAndReplaceKey(oldElement, newKey) {
221
- newKey = ReactElement(
222
- oldElement.type,
223
- newKey,
224
- oldElement.props,
225
- oldElement._owner,
226
- oldElement._debugStack,
227
- oldElement._debugTask
92
+ };
93
+ var assign = Object.assign;
94
+ var emptyObject = {};
95
+ function Component(props, context, updater) {
96
+ this.props = props;
97
+ this.context = context;
98
+ this.refs = emptyObject;
99
+ this.updater = updater || ReactNoopUpdateQueue;
100
+ }
101
+ Component.prototype.isReactComponent = {};
102
+ Component.prototype.setState = function(partialState, callback) {
103
+ if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
104
+ throw Error(
105
+ "takes an object of state variables to update or a function which returns an object of state variables."
228
106
  );
229
- oldElement._store && (newKey._store.validated = oldElement._store.validated);
230
- return newKey;
231
- }
232
- function validateChildKeys(node) {
233
- 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));
234
- }
235
- function isValidElement(object) {
236
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
237
- }
238
- function escape2(key) {
239
- var escaperLookup = { "=": "=0", ":": "=2" };
240
- return "$" + key.replace(/[=:]/g, function(match) {
241
- return escaperLookup[match];
242
- });
243
- }
244
- function getElementKey(element, index) {
245
- return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape2("" + element.key)) : index.toString(36);
246
- }
247
- function resolveThenable(thenable) {
248
- switch (thenable.status) {
249
- case "fulfilled":
250
- return thenable.value;
251
- case "rejected":
252
- throw thenable.reason;
253
- default:
254
- switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
255
- function(fulfilledValue) {
256
- "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
257
- },
258
- function(error) {
259
- "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
260
- }
261
- )), thenable.status) {
262
- case "fulfilled":
263
- return thenable.value;
264
- case "rejected":
265
- throw thenable.reason;
266
- }
267
- }
268
- throw thenable;
269
- }
270
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
271
- var type = typeof children;
272
- if ("undefined" === type || "boolean" === type) children = null;
273
- var invokeCallback = false;
274
- if (null === children) invokeCallback = true;
275
- else
276
- switch (type) {
277
- case "bigint":
278
- case "string":
279
- case "number":
280
- invokeCallback = true;
281
- break;
282
- case "object":
283
- switch (children.$$typeof) {
284
- case REACT_ELEMENT_TYPE:
285
- case REACT_PORTAL_TYPE:
286
- invokeCallback = true;
287
- break;
288
- case REACT_LAZY_TYPE:
289
- return invokeCallback = children._init, mapIntoArray(
290
- invokeCallback(children._payload),
291
- array,
292
- escapedPrefix,
293
- nameSoFar,
294
- callback
295
- );
296
- }
297
- }
298
- if (invokeCallback) {
299
- invokeCallback = children;
300
- callback = callback(invokeCallback);
301
- var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
302
- isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
303
- return c;
304
- })) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(
305
- callback,
306
- escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(
307
- userProvidedKeyEscapeRegex,
308
- "$&/"
309
- ) + "/") + childKey
310
- ), "" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));
311
- return 1;
312
- }
313
- invokeCallback = 0;
314
- childKey = "" === nameSoFar ? "." : nameSoFar + ":";
315
- if (isArrayImpl(children))
316
- for (var i = 0; i < children.length; i++)
317
- nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
318
- nameSoFar,
319
- array,
320
- escapedPrefix,
321
- type,
322
- callback
323
- );
324
- else if (i = getIteratorFn(children), "function" === typeof i)
325
- for (i === children.entries && (didWarnAboutMaps || console.warn(
326
- "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
327
- ), didWarnAboutMaps = true), children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
328
- nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
329
- nameSoFar,
330
- array,
331
- escapedPrefix,
332
- type,
333
- callback
334
- );
335
- else if ("object" === type) {
336
- if ("function" === typeof children.then)
337
- return mapIntoArray(
338
- resolveThenable(children),
339
- array,
340
- escapedPrefix,
341
- nameSoFar,
342
- callback
343
- );
344
- array = String(children);
345
- throw Error(
346
- "Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
347
- );
348
- }
349
- return invokeCallback;
350
- }
351
- function mapChildren(children, func, context) {
352
- if (null == children) return children;
353
- var result = [], count = 0;
354
- mapIntoArray(children, result, "", "", function(child) {
355
- return func.call(context, child, count++);
356
- });
357
- return result;
358
- }
359
- function lazyInitializer(payload) {
360
- if (-1 === payload._status) {
361
- var ioInfo = payload._ioInfo;
362
- null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
363
- ioInfo = payload._result;
364
- var thenable = ioInfo();
365
- thenable.then(
366
- function(moduleObject) {
367
- if (0 === payload._status || -1 === payload._status) {
368
- payload._status = 1;
369
- payload._result = moduleObject;
370
- var _ioInfo = payload._ioInfo;
371
- null != _ioInfo && (_ioInfo.end = performance.now());
372
- void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
373
- }
107
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
108
+ };
109
+ Component.prototype.forceUpdate = function(callback) {
110
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
111
+ };
112
+ function ComponentDummy() {
113
+ }
114
+ ComponentDummy.prototype = Component.prototype;
115
+ function PureComponent(props, context, updater) {
116
+ this.props = props;
117
+ this.context = context;
118
+ this.refs = emptyObject;
119
+ this.updater = updater || ReactNoopUpdateQueue;
120
+ }
121
+ var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
122
+ pureComponentPrototype.constructor = PureComponent;
123
+ assign(pureComponentPrototype, Component.prototype);
124
+ pureComponentPrototype.isPureReactComponent = true;
125
+ var isArrayImpl = Array.isArray;
126
+ function noop() {
127
+ }
128
+ var ReactSharedInternals = { H: null, A: null, T: null, S: null };
129
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
130
+ function ReactElement(type, key, props) {
131
+ var refProp = props.ref;
132
+ return {
133
+ $$typeof: REACT_ELEMENT_TYPE,
134
+ type,
135
+ key,
136
+ ref: void 0 !== refProp ? refProp : null,
137
+ props
138
+ };
139
+ }
140
+ function cloneAndReplaceKey(oldElement, newKey) {
141
+ return ReactElement(oldElement.type, newKey, oldElement.props);
142
+ }
143
+ function isValidElement(object) {
144
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
145
+ }
146
+ function escape2(key) {
147
+ var escaperLookup = { "=": "=0", ":": "=2" };
148
+ return "$" + key.replace(/[=:]/g, function(match) {
149
+ return escaperLookup[match];
150
+ });
151
+ }
152
+ var userProvidedKeyEscapeRegex = /\/+/g;
153
+ function getElementKey(element, index) {
154
+ return "object" === typeof element && null !== element && null != element.key ? escape2("" + element.key) : index.toString(36);
155
+ }
156
+ function resolveThenable(thenable) {
157
+ switch (thenable.status) {
158
+ case "fulfilled":
159
+ return thenable.value;
160
+ case "rejected":
161
+ throw thenable.reason;
162
+ default:
163
+ switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
164
+ function(fulfilledValue) {
165
+ "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
374
166
  },
375
167
  function(error) {
376
- if (0 === payload._status || -1 === payload._status) {
377
- payload._status = 2;
378
- payload._result = error;
379
- var _ioInfo2 = payload._ioInfo;
380
- null != _ioInfo2 && (_ioInfo2.end = performance.now());
381
- void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
382
- }
168
+ "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
383
169
  }
384
- );
385
- ioInfo = payload._ioInfo;
386
- if (null != ioInfo) {
387
- ioInfo.value = thenable;
388
- var displayName = thenable.displayName;
389
- "string" === typeof displayName && (ioInfo.name = displayName);
390
- }
391
- -1 === payload._status && (payload._status = 0, payload._result = thenable);
392
- }
393
- if (1 === payload._status)
394
- return ioInfo = payload._result, void 0 === ioInfo && console.error(
395
- "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?",
396
- ioInfo
397
- ), "default" in ioInfo || console.error(
398
- "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
399
- ioInfo
400
- ), ioInfo.default;
401
- throw payload._result;
402
- }
403
- function resolveDispatcher() {
404
- var dispatcher = ReactSharedInternals.H;
405
- null === dispatcher && console.error(
406
- "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://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
407
- );
408
- return dispatcher;
409
- }
410
- function releaseAsyncTransition() {
411
- ReactSharedInternals.asyncTransitions--;
412
- }
413
- function enqueueTask(task) {
414
- if (null === enqueueTaskImpl)
415
- try {
416
- var requireString = ("require" + Math.random()).slice(0, 7);
417
- enqueueTaskImpl = (module && module[requireString]).call(
418
- module,
419
- "timers"
420
- ).setImmediate;
421
- } catch (_err) {
422
- enqueueTaskImpl = function(callback) {
423
- false === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = true, "undefined" === typeof MessageChannel && console.error(
424
- "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."
425
- ));
426
- var channel = new MessageChannel();
427
- channel.port1.onmessage = callback;
428
- channel.port2.postMessage(void 0);
429
- };
170
+ )), thenable.status) {
171
+ case "fulfilled":
172
+ return thenable.value;
173
+ case "rejected":
174
+ throw thenable.reason;
430
175
  }
431
- return enqueueTaskImpl(task);
432
- }
433
- function aggregateErrors(errors) {
434
- return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0];
435
176
  }
436
- function popActScope(prevActQueue, prevActScopeDepth) {
437
- prevActScopeDepth !== actScopeDepth - 1 && console.error(
438
- "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
439
- );
440
- actScopeDepth = prevActScopeDepth;
441
- }
442
- function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
443
- var queue = ReactSharedInternals.actQueue;
444
- if (null !== queue)
445
- if (0 !== queue.length)
446
- try {
447
- flushActQueue(queue);
448
- enqueueTask(function() {
449
- return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
450
- });
451
- return;
452
- } catch (error) {
453
- ReactSharedInternals.thrownErrors.push(error);
454
- }
455
- else ReactSharedInternals.actQueue = null;
456
- 0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);
457
- }
458
- function flushActQueue(queue) {
459
- if (!isFlushing) {
460
- isFlushing = true;
461
- var i = 0;
462
- try {
463
- for (; i < queue.length; i++) {
464
- var callback = queue[i];
465
- do {
466
- ReactSharedInternals.didUsePromise = false;
467
- var continuation = callback(false);
468
- if (null !== continuation) {
469
- if (ReactSharedInternals.didUsePromise) {
470
- queue[i] = callback;
471
- queue.splice(0, i);
472
- return;
473
- }
474
- callback = continuation;
475
- } else break;
476
- } while (1);
177
+ throw thenable;
178
+ }
179
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
180
+ var type = typeof children;
181
+ if ("undefined" === type || "boolean" === type) children = null;
182
+ var invokeCallback = false;
183
+ if (null === children) invokeCallback = true;
184
+ else
185
+ switch (type) {
186
+ case "bigint":
187
+ case "string":
188
+ case "number":
189
+ invokeCallback = true;
190
+ break;
191
+ case "object":
192
+ switch (children.$$typeof) {
193
+ case REACT_ELEMENT_TYPE:
194
+ case REACT_PORTAL_TYPE:
195
+ invokeCallback = true;
196
+ break;
197
+ case REACT_LAZY_TYPE:
198
+ return invokeCallback = children._init, mapIntoArray(
199
+ invokeCallback(children._payload),
200
+ array,
201
+ escapedPrefix,
202
+ nameSoFar,
203
+ callback
204
+ );
477
205
  }
478
- queue.length = 0;
479
- } catch (error) {
480
- queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
481
- } finally {
482
- isFlushing = false;
483
- }
484
206
  }
485
- }
486
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
487
- var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
488
- isMounted: function() {
489
- return false;
490
- },
491
- enqueueForceUpdate: function(publicInstance) {
492
- warnNoop(publicInstance, "forceUpdate");
493
- },
494
- enqueueReplaceState: function(publicInstance) {
495
- warnNoop(publicInstance, "replaceState");
496
- },
497
- enqueueSetState: function(publicInstance) {
498
- warnNoop(publicInstance, "setState");
499
- }
500
- }, assign = Object.assign, emptyObject = {};
501
- Object.freeze(emptyObject);
502
- Component.prototype.isReactComponent = {};
503
- Component.prototype.setState = function(partialState, callback) {
504
- if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
505
- throw Error(
506
- "takes an object of state variables to update or a function which returns an object of state variables."
207
+ if (invokeCallback)
208
+ return callback = callback(children), invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
209
+ return c;
210
+ })) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey(
211
+ callback,
212
+ escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(
213
+ userProvidedKeyEscapeRegex,
214
+ "$&/"
215
+ ) + "/") + invokeCallback
216
+ )), array.push(callback)), 1;
217
+ invokeCallback = 0;
218
+ var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
219
+ if (isArrayImpl(children))
220
+ for (var i = 0; i < children.length; i++)
221
+ nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
222
+ nameSoFar,
223
+ array,
224
+ escapedPrefix,
225
+ type,
226
+ callback
507
227
  );
508
- this.updater.enqueueSetState(this, partialState, callback, "setState");
509
- };
510
- Component.prototype.forceUpdate = function(callback) {
511
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
512
- };
513
- var deprecatedAPIs = {
514
- isMounted: [
515
- "isMounted",
516
- "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
517
- ],
518
- replaceState: [
519
- "replaceState",
520
- "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
521
- ]
522
- };
523
- for (fnName in deprecatedAPIs)
524
- deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
525
- ComponentDummy.prototype = Component.prototype;
526
- deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
527
- deprecatedAPIs.constructor = PureComponent;
528
- assign(deprecatedAPIs, Component.prototype);
529
- deprecatedAPIs.isPureReactComponent = true;
530
- var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = {
531
- H: null,
532
- A: null,
533
- T: null,
534
- S: null,
535
- actQueue: null,
536
- asyncTransitions: 0,
537
- isBatchingLegacy: false,
538
- didScheduleLegacyUpdate: false,
539
- didUsePromise: false,
540
- thrownErrors: [],
541
- getCurrentStack: null,
542
- recentlyCreatedOwnerStacks: 0
543
- }, hasOwnProperty = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() {
544
- return null;
545
- };
546
- deprecatedAPIs = {
547
- react_stack_bottom_frame: function(callStackForError) {
548
- return callStackForError();
549
- }
550
- };
551
- var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
552
- var didWarnAboutElementRef = {};
553
- var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
554
- deprecatedAPIs,
555
- UnknownOwner
556
- )();
557
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
558
- var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
559
- if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
560
- var event = new window.ErrorEvent("error", {
561
- bubbles: true,
562
- cancelable: true,
563
- message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
564
- error
565
- });
566
- if (!window.dispatchEvent(event)) return;
567
- } else if ("object" === typeof process && "function" === typeof process.emit) {
568
- process.emit("uncaughtException", error);
569
- return;
570
- }
571
- console.error(error);
572
- }, didWarnAboutMessageChannel = false, enqueueTaskImpl = null, actScopeDepth = 0, didWarnNoAwaitAct = false, isFlushing = false, queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function(callback) {
573
- queueMicrotask(function() {
574
- return queueMicrotask(callback);
575
- });
576
- } : enqueueTask;
577
- deprecatedAPIs = Object.freeze({
578
- __proto__: null,
579
- c: function(size) {
580
- return resolveDispatcher().useMemoCache(size);
581
- }
582
- });
583
- var fnName = {
584
- map: mapChildren,
585
- forEach: function(children, forEachFunc, forEachContext) {
586
- mapChildren(
587
- children,
588
- function() {
589
- forEachFunc.apply(this, arguments);
590
- },
591
- forEachContext
228
+ else if (i = getIteratorFn(children), "function" === typeof i)
229
+ for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
230
+ nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
231
+ nameSoFar,
232
+ array,
233
+ escapedPrefix,
234
+ type,
235
+ callback
592
236
  );
593
- },
594
- count: function(children) {
595
- var n = 0;
596
- mapChildren(children, function() {
597
- n++;
598
- });
599
- return n;
600
- },
601
- toArray: function(children) {
602
- return mapChildren(children, function(child) {
603
- return child;
604
- }) || [];
605
- },
606
- only: function(children) {
607
- if (!isValidElement(children))
608
- throw Error(
609
- "React.Children.only expected to receive a single React element child."
610
- );
611
- return children;
612
- }
613
- };
614
- exports.Activity = REACT_ACTIVITY_TYPE;
615
- exports.Children = fnName;
616
- exports.Component = Component;
617
- exports.Fragment = REACT_FRAGMENT_TYPE;
618
- exports.Profiler = REACT_PROFILER_TYPE;
619
- exports.PureComponent = PureComponent;
620
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
621
- exports.Suspense = REACT_SUSPENSE_TYPE;
622
- exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
623
- exports.__COMPILER_RUNTIME = deprecatedAPIs;
624
- exports.act = function(callback) {
625
- var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
626
- actScopeDepth++;
627
- var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = false;
628
- try {
629
- var result = callback();
630
- } catch (error) {
631
- ReactSharedInternals.thrownErrors.push(error);
632
- }
633
- if (0 < ReactSharedInternals.thrownErrors.length)
634
- throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
635
- if (null !== result && "object" === typeof result && "function" === typeof result.then) {
636
- var thenable = result;
637
- queueSeveralMicrotasks(function() {
638
- didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
639
- "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 () => ...);"
640
- ));
641
- });
642
- return {
643
- then: function(resolve, reject) {
644
- didAwaitActCall = true;
645
- thenable.then(
646
- function(returnValue) {
647
- popActScope(prevActQueue, prevActScopeDepth);
648
- if (0 === prevActScopeDepth) {
649
- try {
650
- flushActQueue(queue), enqueueTask(function() {
651
- return recursivelyFlushAsyncActWork(
652
- returnValue,
653
- resolve,
654
- reject
655
- );
656
- });
657
- } catch (error$0) {
658
- ReactSharedInternals.thrownErrors.push(error$0);
659
- }
660
- if (0 < ReactSharedInternals.thrownErrors.length) {
661
- var _thrownError = aggregateErrors(
662
- ReactSharedInternals.thrownErrors
663
- );
664
- ReactSharedInternals.thrownErrors.length = 0;
665
- reject(_thrownError);
666
- }
667
- } else resolve(returnValue);
668
- },
669
- function(error) {
670
- popActScope(prevActQueue, prevActScopeDepth);
671
- 0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(
672
- ReactSharedInternals.thrownErrors
673
- ), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);
674
- }
675
- );
676
- }
677
- };
678
- }
679
- var returnValue$jscomp$0 = result;
680
- popActScope(prevActQueue, prevActScopeDepth);
681
- 0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function() {
682
- didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
683
- "A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
684
- ));
685
- }), ReactSharedInternals.actQueue = null);
686
- if (0 < ReactSharedInternals.thrownErrors.length)
687
- throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
688
- return {
689
- then: function(resolve, reject) {
690
- didAwaitActCall = true;
691
- 0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function() {
692
- return recursivelyFlushAsyncActWork(
693
- returnValue$jscomp$0,
694
- resolve,
695
- reject
696
- );
697
- })) : resolve(returnValue$jscomp$0);
698
- }
699
- };
700
- };
701
- exports.cache = function(fn) {
702
- return function() {
703
- return fn.apply(null, arguments);
704
- };
705
- };
706
- exports.cacheSignal = function() {
707
- return null;
708
- };
709
- exports.captureOwnerStack = function() {
710
- var getCurrentStack = ReactSharedInternals.getCurrentStack;
711
- return null === getCurrentStack ? null : getCurrentStack();
712
- };
713
- exports.cloneElement = function(element, config, children) {
714
- if (null === element || void 0 === element)
715
- throw Error(
716
- "The argument must be a React element, but you passed " + element + "."
237
+ else if ("object" === type) {
238
+ if ("function" === typeof children.then)
239
+ return mapIntoArray(
240
+ resolveThenable(children),
241
+ array,
242
+ escapedPrefix,
243
+ nameSoFar,
244
+ callback
717
245
  );
718
- var props = assign({}, element.props), key = element.key, owner = element._owner;
719
- if (null != config) {
720
- var JSCompiler_inline_result;
721
- a: {
722
- if (hasOwnProperty.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
723
- config,
724
- "ref"
725
- ).get) && JSCompiler_inline_result.isReactWarning) {
726
- JSCompiler_inline_result = false;
727
- break a;
728
- }
729
- JSCompiler_inline_result = void 0 !== config.ref;
730
- }
731
- JSCompiler_inline_result && (owner = getOwner());
732
- hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key);
733
- for (propName in config)
734
- !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
735
- }
736
- var propName = arguments.length - 2;
737
- if (1 === propName) props.children = children;
738
- else if (1 < propName) {
739
- JSCompiler_inline_result = Array(propName);
740
- for (var i = 0; i < propName; i++)
741
- JSCompiler_inline_result[i] = arguments[i + 2];
742
- props.children = JSCompiler_inline_result;
743
- }
744
- props = ReactElement(
745
- element.type,
746
- key,
747
- props,
748
- owner,
749
- element._debugStack,
750
- element._debugTask
246
+ array = String(children);
247
+ throw Error(
248
+ "Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
751
249
  );
752
- for (key = 2; key < arguments.length; key++)
753
- validateChildKeys(arguments[key]);
754
- return props;
755
- };
756
- exports.createContext = function(defaultValue) {
757
- defaultValue = {
758
- $$typeof: REACT_CONTEXT_TYPE,
759
- _currentValue: defaultValue,
760
- _currentValue2: defaultValue,
761
- _threadCount: 0,
762
- Provider: null,
763
- Consumer: null
764
- };
765
- defaultValue.Provider = defaultValue;
766
- defaultValue.Consumer = {
767
- $$typeof: REACT_CONSUMER_TYPE,
768
- _context: defaultValue
769
- };
770
- defaultValue._currentRenderer = null;
771
- defaultValue._currentRenderer2 = null;
772
- return defaultValue;
773
- };
774
- exports.createElement = function(type, config, children) {
775
- for (var i = 2; i < arguments.length; i++)
776
- validateChildKeys(arguments[i]);
777
- i = {};
778
- var key = null;
779
- if (null != config)
780
- for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
781
- "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
782
- )), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config)
783
- hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
784
- var childrenLength = arguments.length - 2;
785
- if (1 === childrenLength) i.children = children;
786
- else if (1 < childrenLength) {
787
- for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++)
788
- childArray[_i] = arguments[_i + 2];
789
- Object.freeze && Object.freeze(childArray);
790
- i.children = childArray;
791
- }
792
- if (type && type.defaultProps)
793
- for (propName in childrenLength = type.defaultProps, childrenLength)
794
- void 0 === i[propName] && (i[propName] = childrenLength[propName]);
795
- key && defineKeyPropWarningGetter(
796
- i,
797
- "function" === typeof type ? type.displayName || type.name || "Unknown" : type
798
- );
799
- var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
800
- return ReactElement(
801
- type,
802
- key,
803
- i,
804
- getOwner(),
805
- propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
806
- propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
807
- );
808
- };
809
- exports.createRef = function() {
810
- var refObject = { current: null };
811
- Object.seal(refObject);
812
- return refObject;
813
- };
814
- exports.forwardRef = function(render) {
815
- null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error(
816
- "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
817
- ) : "function" !== typeof render ? console.error(
818
- "forwardRef requires a render function but was given %s.",
819
- null === render ? "null" : typeof render
820
- ) : 0 !== render.length && 2 !== render.length && console.error(
821
- "forwardRef render functions accept exactly two parameters: props and ref. %s",
822
- 1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."
823
- );
824
- null != render && null != render.defaultProps && console.error(
825
- "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
826
- );
827
- var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render }, ownName;
828
- Object.defineProperty(elementType, "displayName", {
829
- enumerable: false,
830
- configurable: true,
831
- get: function() {
832
- return ownName;
250
+ }
251
+ return invokeCallback;
252
+ }
253
+ function mapChildren(children, func, context) {
254
+ if (null == children) return children;
255
+ var result = [], count = 0;
256
+ mapIntoArray(children, result, "", "", function(child) {
257
+ return func.call(context, child, count++);
258
+ });
259
+ return result;
260
+ }
261
+ function lazyInitializer(payload) {
262
+ if (-1 === payload._status) {
263
+ var ctor = payload._result;
264
+ ctor = ctor();
265
+ ctor.then(
266
+ function(moduleObject) {
267
+ if (0 === payload._status || -1 === payload._status)
268
+ payload._status = 1, payload._result = moduleObject;
833
269
  },
834
- set: function(name) {
835
- ownName = name;
836
- render.name || render.displayName || (Object.defineProperty(render, "name", { value: name }), render.displayName = name);
270
+ function(error) {
271
+ if (0 === payload._status || -1 === payload._status)
272
+ payload._status = 2, payload._result = error;
837
273
  }
838
- });
839
- return elementType;
840
- };
841
- exports.isValidElement = isValidElement;
842
- exports.lazy = function(ctor) {
843
- ctor = { _status: -1, _result: ctor };
844
- var lazyType = {
845
- $$typeof: REACT_LAZY_TYPE,
846
- _payload: ctor,
847
- _init: lazyInitializer
848
- }, ioInfo = {
849
- name: "lazy",
850
- start: -1,
851
- end: -1,
852
- value: null,
853
- owner: null,
854
- debugStack: Error("react-stack-top-frame"),
855
- debugTask: console.createTask ? console.createTask("lazy()") : null
856
- };
857
- ctor._ioInfo = ioInfo;
858
- lazyType._debugInfo = [{ awaited: ioInfo }];
859
- return lazyType;
860
- };
861
- exports.memo = function(type, compare) {
862
- null == type && console.error(
863
- "memo: The first argument must be a component. Instead received: %s",
864
- null === type ? "null" : typeof type
865
274
  );
866
- compare = {
867
- $$typeof: REACT_MEMO_TYPE,
868
- type,
869
- compare: void 0 === compare ? null : compare
870
- };
871
- var ownName;
872
- Object.defineProperty(compare, "displayName", {
873
- enumerable: false,
874
- configurable: true,
875
- get: function() {
876
- return ownName;
877
- },
878
- set: function(name) {
879
- ownName = name;
880
- type.name || type.displayName || (Object.defineProperty(type, "name", { value: name }), type.displayName = name);
881
- }
275
+ -1 === payload._status && (payload._status = 0, payload._result = ctor);
276
+ }
277
+ if (1 === payload._status) return payload._result.default;
278
+ throw payload._result;
279
+ }
280
+ var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
281
+ if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
282
+ var event = new window.ErrorEvent("error", {
283
+ bubbles: true,
284
+ cancelable: true,
285
+ message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
286
+ error
882
287
  });
883
- return compare;
884
- };
885
- exports.startTransition = function(scope) {
886
- var prevTransition = ReactSharedInternals.T, currentTransition = {};
887
- currentTransition._updatedFibers = /* @__PURE__ */ new Set();
888
- ReactSharedInternals.T = currentTransition;
889
- try {
890
- var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
891
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
892
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
893
- } catch (error) {
894
- reportGlobalError(error);
895
- } finally {
896
- null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
897
- "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."
898
- )), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
899
- "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
900
- ), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
901
- }
902
- };
903
- exports.unstable_useCacheRefresh = function() {
904
- return resolveDispatcher().useCacheRefresh();
905
- };
906
- exports.use = function(usable) {
907
- return resolveDispatcher().use(usable);
908
- };
909
- exports.useActionState = function(action, initialState, permalink) {
910
- return resolveDispatcher().useActionState(
911
- action,
912
- initialState,
913
- permalink
914
- );
915
- };
916
- exports.useCallback = function(callback, deps) {
917
- return resolveDispatcher().useCallback(callback, deps);
918
- };
919
- exports.useContext = function(Context) {
920
- var dispatcher = resolveDispatcher();
921
- Context.$$typeof === REACT_CONSUMER_TYPE && console.error(
922
- "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
923
- );
924
- return dispatcher.useContext(Context);
925
- };
926
- exports.useDebugValue = function(value, formatterFn) {
927
- return resolveDispatcher().useDebugValue(value, formatterFn);
928
- };
929
- exports.useDeferredValue = function(value, initialValue) {
930
- return resolveDispatcher().useDeferredValue(value, initialValue);
931
- };
932
- exports.useEffect = function(create, deps) {
933
- null == create && console.warn(
934
- "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
935
- );
936
- return resolveDispatcher().useEffect(create, deps);
937
- };
938
- exports.useEffectEvent = function(callback) {
939
- return resolveDispatcher().useEffectEvent(callback);
940
- };
941
- exports.useId = function() {
942
- return resolveDispatcher().useId();
943
- };
944
- exports.useImperativeHandle = function(ref, create, deps) {
945
- return resolveDispatcher().useImperativeHandle(ref, create, deps);
946
- };
947
- exports.useInsertionEffect = function(create, deps) {
948
- null == create && console.warn(
949
- "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
288
+ if (!window.dispatchEvent(event)) return;
289
+ } else if ("object" === typeof process && "function" === typeof process.emit) {
290
+ process.emit("uncaughtException", error);
291
+ return;
292
+ }
293
+ console.error(error);
294
+ };
295
+ var Children = {
296
+ map: mapChildren,
297
+ forEach: function(children, forEachFunc, forEachContext) {
298
+ mapChildren(
299
+ children,
300
+ function() {
301
+ forEachFunc.apply(this, arguments);
302
+ },
303
+ forEachContext
950
304
  );
951
- return resolveDispatcher().useInsertionEffect(create, deps);
305
+ },
306
+ count: function(children) {
307
+ var n = 0;
308
+ mapChildren(children, function() {
309
+ n++;
310
+ });
311
+ return n;
312
+ },
313
+ toArray: function(children) {
314
+ return mapChildren(children, function(child) {
315
+ return child;
316
+ }) || [];
317
+ },
318
+ only: function(children) {
319
+ if (!isValidElement(children))
320
+ throw Error(
321
+ "React.Children.only expected to receive a single React element child."
322
+ );
323
+ return children;
324
+ }
325
+ };
326
+ exports.Activity = REACT_ACTIVITY_TYPE;
327
+ exports.Children = Children;
328
+ exports.Component = Component;
329
+ exports.Fragment = REACT_FRAGMENT_TYPE;
330
+ exports.Profiler = REACT_PROFILER_TYPE;
331
+ exports.PureComponent = PureComponent;
332
+ exports.StrictMode = REACT_STRICT_MODE_TYPE;
333
+ exports.Suspense = REACT_SUSPENSE_TYPE;
334
+ exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
335
+ exports.__COMPILER_RUNTIME = {
336
+ __proto__: null,
337
+ c: function(size) {
338
+ return ReactSharedInternals.H.useMemoCache(size);
339
+ }
340
+ };
341
+ exports.cache = function(fn) {
342
+ return function() {
343
+ return fn.apply(null, arguments);
952
344
  };
953
- exports.useLayoutEffect = function(create, deps) {
954
- null == create && console.warn(
955
- "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
345
+ };
346
+ exports.cacheSignal = function() {
347
+ return null;
348
+ };
349
+ exports.cloneElement = function(element, config, children) {
350
+ if (null === element || void 0 === element)
351
+ throw Error(
352
+ "The argument must be a React element, but you passed " + element + "."
956
353
  );
957
- return resolveDispatcher().useLayoutEffect(create, deps);
958
- };
959
- exports.useMemo = function(create, deps) {
960
- return resolveDispatcher().useMemo(create, deps);
961
- };
962
- exports.useOptimistic = function(passthrough, reducer) {
963
- return resolveDispatcher().useOptimistic(passthrough, reducer);
964
- };
965
- exports.useReducer = function(reducer, initialArg, init) {
966
- return resolveDispatcher().useReducer(reducer, initialArg, init);
967
- };
968
- exports.useRef = function(initialValue) {
969
- return resolveDispatcher().useRef(initialValue);
354
+ var props = assign({}, element.props), key = element.key;
355
+ if (null != config)
356
+ for (propName in void 0 !== config.key && (key = "" + config.key), config)
357
+ !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
358
+ var propName = arguments.length - 2;
359
+ if (1 === propName) props.children = children;
360
+ else if (1 < propName) {
361
+ for (var childArray = Array(propName), i = 0; i < propName; i++)
362
+ childArray[i] = arguments[i + 2];
363
+ props.children = childArray;
364
+ }
365
+ return ReactElement(element.type, key, props);
366
+ };
367
+ exports.createContext = function(defaultValue) {
368
+ defaultValue = {
369
+ $$typeof: REACT_CONTEXT_TYPE,
370
+ _currentValue: defaultValue,
371
+ _currentValue2: defaultValue,
372
+ _threadCount: 0,
373
+ Provider: null,
374
+ Consumer: null
970
375
  };
971
- exports.useState = function(initialState) {
972
- return resolveDispatcher().useState(initialState);
376
+ defaultValue.Provider = defaultValue;
377
+ defaultValue.Consumer = {
378
+ $$typeof: REACT_CONSUMER_TYPE,
379
+ _context: defaultValue
973
380
  };
974
- exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
975
- return resolveDispatcher().useSyncExternalStore(
976
- subscribe,
977
- getSnapshot,
978
- getServerSnapshot
979
- );
381
+ return defaultValue;
382
+ };
383
+ exports.createElement = function(type, config, children) {
384
+ var propName, props = {}, key = null;
385
+ if (null != config)
386
+ for (propName in void 0 !== config.key && (key = "" + config.key), config)
387
+ hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]);
388
+ var childrenLength = arguments.length - 2;
389
+ if (1 === childrenLength) props.children = children;
390
+ else if (1 < childrenLength) {
391
+ for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
392
+ childArray[i] = arguments[i + 2];
393
+ props.children = childArray;
394
+ }
395
+ if (type && type.defaultProps)
396
+ for (propName in childrenLength = type.defaultProps, childrenLength)
397
+ void 0 === props[propName] && (props[propName] = childrenLength[propName]);
398
+ return ReactElement(type, key, props);
399
+ };
400
+ exports.createRef = function() {
401
+ return { current: null };
402
+ };
403
+ exports.forwardRef = function(render) {
404
+ return { $$typeof: REACT_FORWARD_REF_TYPE, render };
405
+ };
406
+ exports.isValidElement = isValidElement;
407
+ exports.lazy = function(ctor) {
408
+ return {
409
+ $$typeof: REACT_LAZY_TYPE,
410
+ _payload: { _status: -1, _result: ctor },
411
+ _init: lazyInitializer
980
412
  };
981
- exports.useTransition = function() {
982
- return resolveDispatcher().useTransition();
413
+ };
414
+ exports.memo = function(type, compare) {
415
+ return {
416
+ $$typeof: REACT_MEMO_TYPE,
417
+ type,
418
+ compare: void 0 === compare ? null : compare
983
419
  };
984
- exports.version = "19.2.1";
985
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
986
- })();
420
+ };
421
+ exports.startTransition = function(scope) {
422
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
423
+ ReactSharedInternals.T = currentTransition;
424
+ try {
425
+ var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
426
+ null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
427
+ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
428
+ } catch (error) {
429
+ reportGlobalError(error);
430
+ } finally {
431
+ null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
432
+ }
433
+ };
434
+ exports.unstable_useCacheRefresh = function() {
435
+ return ReactSharedInternals.H.useCacheRefresh();
436
+ };
437
+ exports.use = function(usable) {
438
+ return ReactSharedInternals.H.use(usable);
439
+ };
440
+ exports.useActionState = function(action, initialState, permalink) {
441
+ return ReactSharedInternals.H.useActionState(action, initialState, permalink);
442
+ };
443
+ exports.useCallback = function(callback, deps) {
444
+ return ReactSharedInternals.H.useCallback(callback, deps);
445
+ };
446
+ exports.useContext = function(Context) {
447
+ return ReactSharedInternals.H.useContext(Context);
448
+ };
449
+ exports.useDebugValue = function() {
450
+ };
451
+ exports.useDeferredValue = function(value, initialValue) {
452
+ return ReactSharedInternals.H.useDeferredValue(value, initialValue);
453
+ };
454
+ exports.useEffect = function(create, deps) {
455
+ return ReactSharedInternals.H.useEffect(create, deps);
456
+ };
457
+ exports.useEffectEvent = function(callback) {
458
+ return ReactSharedInternals.H.useEffectEvent(callback);
459
+ };
460
+ exports.useId = function() {
461
+ return ReactSharedInternals.H.useId();
462
+ };
463
+ exports.useImperativeHandle = function(ref, create, deps) {
464
+ return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
465
+ };
466
+ exports.useInsertionEffect = function(create, deps) {
467
+ return ReactSharedInternals.H.useInsertionEffect(create, deps);
468
+ };
469
+ exports.useLayoutEffect = function(create, deps) {
470
+ return ReactSharedInternals.H.useLayoutEffect(create, deps);
471
+ };
472
+ exports.useMemo = function(create, deps) {
473
+ return ReactSharedInternals.H.useMemo(create, deps);
474
+ };
475
+ exports.useOptimistic = function(passthrough, reducer) {
476
+ return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
477
+ };
478
+ exports.useReducer = function(reducer, initialArg, init) {
479
+ return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
480
+ };
481
+ exports.useRef = function(initialValue) {
482
+ return ReactSharedInternals.H.useRef(initialValue);
483
+ };
484
+ exports.useState = function(initialState) {
485
+ return ReactSharedInternals.H.useState(initialState);
486
+ };
487
+ exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
488
+ return ReactSharedInternals.H.useSyncExternalStore(
489
+ subscribe,
490
+ getSnapshot,
491
+ getServerSnapshot
492
+ );
493
+ };
494
+ exports.useTransition = function() {
495
+ return ReactSharedInternals.H.useTransition();
496
+ };
497
+ exports.version = "19.2.1";
987
498
  }
988
499
  });
989
500
 
@@ -991,524 +502,160 @@ var require_react_development = __commonJS({
991
502
  var require_react = __commonJS({
992
503
  "../../../node_modules/react/index.js"(exports, module) {
993
504
  "use strict";
994
- if (false) {
995
- module.exports = null;
505
+ if (true) {
506
+ module.exports = require_react_production();
996
507
  } else {
997
- module.exports = require_react_development();
508
+ module.exports = null;
998
509
  }
999
510
  }
1000
511
  });
1001
512
 
1002
- // ../../../node_modules/react/cjs/react-jsx-runtime.development.js
1003
- var require_react_jsx_runtime_development = __commonJS({
1004
- "../../../node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
513
+ // ../../../node_modules/react-dom/cjs/react-dom.production.js
514
+ var require_react_dom_production = __commonJS({
515
+ "../../../node_modules/react-dom/cjs/react-dom.production.js"(exports) {
1005
516
  "use strict";
1006
- (function() {
1007
- function getComponentNameFromType(type) {
1008
- if (null == type) return null;
1009
- if ("function" === typeof type)
1010
- return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
1011
- if ("string" === typeof type) return type;
1012
- switch (type) {
1013
- case REACT_FRAGMENT_TYPE:
1014
- return "Fragment";
1015
- case REACT_PROFILER_TYPE:
1016
- return "Profiler";
1017
- case REACT_STRICT_MODE_TYPE:
1018
- return "StrictMode";
1019
- case REACT_SUSPENSE_TYPE:
1020
- return "Suspense";
1021
- case REACT_SUSPENSE_LIST_TYPE:
1022
- return "SuspenseList";
1023
- case REACT_ACTIVITY_TYPE:
1024
- return "Activity";
1025
- }
1026
- if ("object" === typeof type)
1027
- switch ("number" === typeof type.tag && console.error(
1028
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
1029
- ), type.$$typeof) {
1030
- case REACT_PORTAL_TYPE:
1031
- return "Portal";
1032
- case REACT_CONTEXT_TYPE:
1033
- return type.displayName || "Context";
1034
- case REACT_CONSUMER_TYPE:
1035
- return (type._context.displayName || "Context") + ".Consumer";
1036
- case REACT_FORWARD_REF_TYPE:
1037
- var innerType = type.render;
1038
- type = type.displayName;
1039
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
1040
- return type;
1041
- case REACT_MEMO_TYPE:
1042
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
1043
- case REACT_LAZY_TYPE:
1044
- innerType = type._payload;
1045
- type = type._init;
1046
- try {
1047
- return getComponentNameFromType(type(innerType));
1048
- } catch (x) {
1049
- }
1050
- }
1051
- return null;
1052
- }
1053
- function testStringCoercion(value) {
1054
- return "" + value;
1055
- }
1056
- function checkKeyStringCoercion(value) {
1057
- try {
1058
- testStringCoercion(value);
1059
- var JSCompiler_inline_result = false;
1060
- } catch (e) {
1061
- JSCompiler_inline_result = true;
1062
- }
1063
- if (JSCompiler_inline_result) {
1064
- JSCompiler_inline_result = console;
1065
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
1066
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
1067
- JSCompiler_temp_const.call(
1068
- JSCompiler_inline_result,
1069
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
1070
- JSCompiler_inline_result$jscomp$0
1071
- );
1072
- return testStringCoercion(value);
1073
- }
1074
- }
1075
- function getTaskName(type) {
1076
- if (type === REACT_FRAGMENT_TYPE) return "<>";
1077
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
1078
- return "<...>";
1079
- try {
1080
- var name = getComponentNameFromType(type);
1081
- return name ? "<" + name + ">" : "<...>";
1082
- } catch (x) {
1083
- return "<...>";
1084
- }
1085
- }
1086
- function getOwner() {
1087
- var dispatcher = ReactSharedInternals.A;
1088
- return null === dispatcher ? null : dispatcher.getOwner();
1089
- }
1090
- function UnknownOwner() {
1091
- return Error("react-stack-top-frame");
1092
- }
1093
- function hasValidKey(config) {
1094
- if (hasOwnProperty.call(config, "key")) {
1095
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
1096
- if (getter && getter.isReactWarning) return false;
1097
- }
1098
- return void 0 !== config.key;
1099
- }
1100
- function defineKeyPropWarningGetter(props, displayName) {
1101
- function warnAboutAccessingKey() {
1102
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
1103
- "%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)",
1104
- displayName
1105
- ));
1106
- }
1107
- warnAboutAccessingKey.isReactWarning = true;
1108
- Object.defineProperty(props, "key", {
1109
- get: warnAboutAccessingKey,
1110
- configurable: true
1111
- });
1112
- }
1113
- function elementRefGetterWithDeprecationWarning() {
1114
- var componentName = getComponentNameFromType(this.type);
1115
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
1116
- "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."
1117
- ));
1118
- componentName = this.props.ref;
1119
- return void 0 !== componentName ? componentName : null;
1120
- }
1121
- function ReactElement(type, key, props, owner, debugStack, debugTask) {
1122
- var refProp = props.ref;
1123
- type = {
1124
- $$typeof: REACT_ELEMENT_TYPE,
1125
- type,
1126
- key,
1127
- props,
1128
- _owner: owner
1129
- };
1130
- null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
1131
- enumerable: false,
1132
- get: elementRefGetterWithDeprecationWarning
1133
- }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
1134
- type._store = {};
1135
- Object.defineProperty(type._store, "validated", {
1136
- configurable: false,
1137
- enumerable: false,
1138
- writable: true,
1139
- value: 0
1140
- });
1141
- Object.defineProperty(type, "_debugInfo", {
1142
- configurable: false,
1143
- enumerable: false,
1144
- writable: true,
1145
- value: null
1146
- });
1147
- Object.defineProperty(type, "_debugStack", {
1148
- configurable: false,
1149
- enumerable: false,
1150
- writable: true,
1151
- value: debugStack
1152
- });
1153
- Object.defineProperty(type, "_debugTask", {
1154
- configurable: false,
1155
- enumerable: false,
1156
- writable: true,
1157
- value: debugTask
1158
- });
1159
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
1160
- return type;
1161
- }
1162
- function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
1163
- var children = config.children;
1164
- if (void 0 !== children)
1165
- if (isStaticChildren)
1166
- if (isArrayImpl(children)) {
1167
- for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++)
1168
- validateChildKeys(children[isStaticChildren]);
1169
- Object.freeze && Object.freeze(children);
1170
- } else
1171
- console.error(
1172
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
1173
- );
1174
- else validateChildKeys(children);
1175
- if (hasOwnProperty.call(config, "key")) {
1176
- children = getComponentNameFromType(type);
1177
- var keys = Object.keys(config).filter(function(k) {
1178
- return "key" !== k;
1179
- });
1180
- isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
1181
- didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error(
1182
- '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} />',
1183
- isStaticChildren,
1184
- children,
1185
- keys,
1186
- children
1187
- ), didWarnAboutKeySpread[children + isStaticChildren] = true);
1188
- }
1189
- children = null;
1190
- void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
1191
- hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
1192
- if ("key" in config) {
1193
- maybeKey = {};
1194
- for (var propName in config)
1195
- "key" !== propName && (maybeKey[propName] = config[propName]);
1196
- } else maybeKey = config;
1197
- children && defineKeyPropWarningGetter(
1198
- maybeKey,
1199
- "function" === typeof type ? type.displayName || type.name || "Unknown" : type
1200
- );
1201
- return ReactElement(
1202
- type,
1203
- children,
1204
- maybeKey,
1205
- getOwner(),
1206
- debugStack,
1207
- debugTask
1208
- );
1209
- }
1210
- function validateChildKeys(node) {
1211
- 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));
1212
- }
1213
- function isValidElement(object) {
1214
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
517
+ var React = require_react();
518
+ function formatProdErrorMessage(code) {
519
+ var url = "https://react.dev/errors/" + code;
520
+ if (1 < arguments.length) {
521
+ url += "?args[]=" + encodeURIComponent(arguments[1]);
522
+ for (var i = 2; i < arguments.length; i++)
523
+ url += "&args[]=" + encodeURIComponent(arguments[i]);
1215
524
  }
1216
- var React = require_react(), REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = /* @__PURE__ */ 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() {
1217
- return null;
1218
- };
1219
- React = {
1220
- react_stack_bottom_frame: function(callStackForError) {
1221
- return callStackForError();
1222
- }
1223
- };
1224
- var specialPropKeyWarningShown;
1225
- var didWarnAboutElementRef = {};
1226
- var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
1227
- React,
1228
- UnknownOwner
1229
- )();
1230
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
1231
- var didWarnAboutKeySpread = {};
1232
- exports.Fragment = REACT_FRAGMENT_TYPE;
1233
- exports.jsx = function(type, config, maybeKey) {
1234
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1235
- return jsxDEVImpl(
1236
- type,
1237
- config,
1238
- maybeKey,
1239
- false,
1240
- trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1241
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1242
- );
1243
- };
1244
- exports.jsxs = function(type, config, maybeKey) {
1245
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1246
- return jsxDEVImpl(
1247
- type,
1248
- config,
1249
- maybeKey,
1250
- true,
1251
- trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1252
- trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1253
- );
525
+ return "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
526
+ }
527
+ function noop() {
528
+ }
529
+ var Internals = {
530
+ d: {
531
+ f: noop,
532
+ r: function() {
533
+ throw Error(formatProdErrorMessage(522));
534
+ },
535
+ D: noop,
536
+ C: noop,
537
+ L: noop,
538
+ m: noop,
539
+ X: noop,
540
+ S: noop,
541
+ M: noop
542
+ },
543
+ p: 0,
544
+ findDOMNode: null
545
+ };
546
+ var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
547
+ function createPortal$1(children, containerInfo, implementation) {
548
+ var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
549
+ return {
550
+ $$typeof: REACT_PORTAL_TYPE,
551
+ key: null == key ? null : "" + key,
552
+ children,
553
+ containerInfo,
554
+ implementation
1254
555
  };
1255
- })();
1256
- }
1257
- });
1258
-
1259
- // ../../../node_modules/react/jsx-runtime.js
1260
- var require_jsx_runtime = __commonJS({
1261
- "../../../node_modules/react/jsx-runtime.js"(exports, module) {
1262
- "use strict";
1263
- if (false) {
1264
- module.exports = null;
1265
- } else {
1266
- module.exports = require_react_jsx_runtime_development();
1267
556
  }
1268
- }
1269
- });
1270
-
1271
- // ../../../node_modules/react-dom/cjs/react-dom.development.js
1272
- var require_react_dom_development = __commonJS({
1273
- "../../../node_modules/react-dom/cjs/react-dom.development.js"(exports) {
1274
- "use strict";
1275
- (function() {
1276
- function noop() {
1277
- }
1278
- function testStringCoercion(value) {
1279
- return "" + value;
1280
- }
1281
- function createPortal$1(children, containerInfo, implementation) {
1282
- var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
1283
- try {
1284
- testStringCoercion(key);
1285
- var JSCompiler_inline_result = false;
1286
- } catch (e) {
1287
- JSCompiler_inline_result = true;
1288
- }
1289
- JSCompiler_inline_result && (console.error(
1290
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
1291
- "function" === typeof Symbol && Symbol.toStringTag && key[Symbol.toStringTag] || key.constructor.name || "Object"
1292
- ), testStringCoercion(key));
1293
- return {
1294
- $$typeof: REACT_PORTAL_TYPE,
1295
- key: null == key ? null : "" + key,
1296
- children,
1297
- containerInfo,
1298
- implementation
1299
- };
1300
- }
1301
- function getCrossOriginStringAs(as, input) {
1302
- if ("font" === as) return "";
1303
- if ("string" === typeof input)
1304
- return "use-credentials" === input ? input : "";
1305
- }
1306
- function getValueDescriptorExpectingObjectForWarning(thing) {
1307
- return null === thing ? "`null`" : void 0 === thing ? "`undefined`" : "" === thing ? "an empty string" : 'something with type "' + typeof thing + '"';
1308
- }
1309
- function getValueDescriptorExpectingEnumForWarning(thing) {
1310
- return null === thing ? "`null`" : void 0 === thing ? "`undefined`" : "" === thing ? "an empty string" : "string" === typeof thing ? JSON.stringify(thing) : "number" === typeof thing ? "`" + thing + "`" : 'something with type "' + typeof thing + '"';
557
+ var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
558
+ function getCrossOriginStringAs(as, input) {
559
+ if ("font" === as) return "";
560
+ if ("string" === typeof input)
561
+ return "use-credentials" === input ? input : "";
562
+ }
563
+ exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
564
+ exports.createPortal = function(children, container) {
565
+ var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
566
+ if (!container || 1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType)
567
+ throw Error(formatProdErrorMessage(299));
568
+ return createPortal$1(children, container, null, key);
569
+ };
570
+ exports.flushSync = function(fn) {
571
+ var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p;
572
+ try {
573
+ if (ReactSharedInternals.T = null, Internals.p = 2, fn) return fn();
574
+ } finally {
575
+ ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f();
1311
576
  }
1312
- function resolveDispatcher() {
1313
- var dispatcher = ReactSharedInternals.H;
1314
- null === dispatcher && console.error(
1315
- "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://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
1316
- );
1317
- return dispatcher;
577
+ };
578
+ exports.preconnect = function(href, options) {
579
+ "string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0) : options = null, Internals.d.C(href, options));
580
+ };
581
+ exports.prefetchDNS = function(href) {
582
+ "string" === typeof href && Internals.d.D(href);
583
+ };
584
+ exports.preinit = function(href, options) {
585
+ if ("string" === typeof href && options && "string" === typeof options.as) {
586
+ var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin), integrity = "string" === typeof options.integrity ? options.integrity : void 0, fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : void 0;
587
+ "style" === as ? Internals.d.S(
588
+ href,
589
+ "string" === typeof options.precedence ? options.precedence : void 0,
590
+ {
591
+ crossOrigin,
592
+ integrity,
593
+ fetchPriority
594
+ }
595
+ ) : "script" === as && Internals.d.X(href, {
596
+ crossOrigin,
597
+ integrity,
598
+ fetchPriority,
599
+ nonce: "string" === typeof options.nonce ? options.nonce : void 0
600
+ });
1318
601
  }
1319
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1320
- var React = require_react(), Internals = {
1321
- d: {
1322
- f: noop,
1323
- r: function() {
1324
- throw Error(
1325
- "Invalid form element. requestFormReset must be passed a form that was rendered by React."
602
+ };
603
+ exports.preinitModule = function(href, options) {
604
+ if ("string" === typeof href)
605
+ if ("object" === typeof options && null !== options) {
606
+ if (null == options.as || "script" === options.as) {
607
+ var crossOrigin = getCrossOriginStringAs(
608
+ options.as,
609
+ options.crossOrigin
1326
610
  );
1327
- },
1328
- D: noop,
1329
- C: noop,
1330
- L: noop,
1331
- m: noop,
1332
- X: noop,
1333
- S: noop,
1334
- M: noop
1335
- },
1336
- p: 0,
1337
- findDOMNode: null
1338
- }, REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
1339
- "function" === typeof Map && null != Map.prototype && "function" === typeof Map.prototype.forEach && "function" === typeof Set && null != Set.prototype && "function" === typeof Set.prototype.clear && "function" === typeof Set.prototype.forEach || console.error(
1340
- "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
1341
- );
1342
- exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
1343
- exports.createPortal = function(children, container) {
1344
- var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
1345
- if (!container || 1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType)
1346
- throw Error("Target container is not a DOM element.");
1347
- return createPortal$1(children, container, null, key);
1348
- };
1349
- exports.flushSync = function(fn) {
1350
- var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p;
1351
- try {
1352
- if (ReactSharedInternals.T = null, Internals.p = 2, fn)
1353
- return fn();
1354
- } finally {
1355
- ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f() && console.error(
1356
- "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
1357
- );
1358
- }
1359
- };
1360
- exports.preconnect = function(href, options) {
1361
- "string" === typeof href && href ? null != options && "object" !== typeof options ? console.error(
1362
- "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
1363
- getValueDescriptorExpectingEnumForWarning(options)
1364
- ) : null != options && "string" !== typeof options.crossOrigin && console.error(
1365
- "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
1366
- getValueDescriptorExpectingObjectForWarning(options.crossOrigin)
1367
- ) : console.error(
1368
- "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
1369
- getValueDescriptorExpectingObjectForWarning(href)
1370
- );
1371
- "string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0) : options = null, Internals.d.C(href, options));
1372
- };
1373
- exports.prefetchDNS = function(href) {
1374
- if ("string" !== typeof href || !href)
1375
- console.error(
1376
- "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
1377
- getValueDescriptorExpectingObjectForWarning(href)
1378
- );
1379
- else if (1 < arguments.length) {
1380
- var options = arguments[1];
1381
- "object" === typeof options && options.hasOwnProperty("crossOrigin") ? console.error(
1382
- "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
1383
- getValueDescriptorExpectingEnumForWarning(options)
1384
- ) : console.error(
1385
- "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
1386
- getValueDescriptorExpectingEnumForWarning(options)
1387
- );
1388
- }
1389
- "string" === typeof href && Internals.d.D(href);
1390
- };
1391
- exports.preinit = function(href, options) {
1392
- "string" === typeof href && href ? null == options || "object" !== typeof options ? console.error(
1393
- "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
1394
- getValueDescriptorExpectingEnumForWarning(options)
1395
- ) : "style" !== options.as && "script" !== options.as && console.error(
1396
- 'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
1397
- getValueDescriptorExpectingEnumForWarning(options.as)
1398
- ) : console.error(
1399
- "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
1400
- getValueDescriptorExpectingObjectForWarning(href)
1401
- );
1402
- if ("string" === typeof href && options && "string" === typeof options.as) {
1403
- var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin), integrity = "string" === typeof options.integrity ? options.integrity : void 0, fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : void 0;
1404
- "style" === as ? Internals.d.S(
1405
- href,
1406
- "string" === typeof options.precedence ? options.precedence : void 0,
1407
- {
611
+ Internals.d.M(href, {
1408
612
  crossOrigin,
1409
- integrity,
1410
- fetchPriority
1411
- }
1412
- ) : "script" === as && Internals.d.X(href, {
1413
- crossOrigin,
1414
- integrity,
1415
- fetchPriority,
1416
- nonce: "string" === typeof options.nonce ? options.nonce : void 0
1417
- });
1418
- }
1419
- };
1420
- exports.preinitModule = function(href, options) {
1421
- var encountered = "";
1422
- "string" === typeof href && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + ".");
1423
- void 0 !== options && "object" !== typeof options ? encountered += " The `options` argument encountered was " + getValueDescriptorExpectingObjectForWarning(options) + "." : options && "as" in options && "script" !== options.as && (encountered += " The `as` option encountered was " + getValueDescriptorExpectingEnumForWarning(options.as) + ".");
1424
- if (encountered)
1425
- console.error(
1426
- "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
1427
- encountered
1428
- );
1429
- else
1430
- switch (encountered = options && "string" === typeof options.as ? options.as : "script", encountered) {
1431
- case "script":
1432
- break;
1433
- default:
1434
- encountered = getValueDescriptorExpectingEnumForWarning(encountered), console.error(
1435
- 'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
1436
- encountered,
1437
- href
1438
- );
613
+ integrity: "string" === typeof options.integrity ? options.integrity : void 0,
614
+ nonce: "string" === typeof options.nonce ? options.nonce : void 0
615
+ });
1439
616
  }
1440
- if ("string" === typeof href)
1441
- if ("object" === typeof options && null !== options) {
1442
- if (null == options.as || "script" === options.as)
1443
- encountered = getCrossOriginStringAs(
1444
- options.as,
1445
- options.crossOrigin
1446
- ), Internals.d.M(href, {
1447
- crossOrigin: encountered,
1448
- integrity: "string" === typeof options.integrity ? options.integrity : void 0,
1449
- nonce: "string" === typeof options.nonce ? options.nonce : void 0
1450
- });
1451
- } else null == options && Internals.d.M(href);
1452
- };
1453
- exports.preload = function(href, options) {
1454
- var encountered = "";
1455
- "string" === typeof href && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + ".");
1456
- null == options || "object" !== typeof options ? encountered += " The `options` argument encountered was " + getValueDescriptorExpectingObjectForWarning(options) + "." : "string" === typeof options.as && options.as || (encountered += " The `as` option encountered was " + getValueDescriptorExpectingObjectForWarning(options.as) + ".");
1457
- encountered && console.error(
1458
- 'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
1459
- encountered
1460
- );
1461
- if ("string" === typeof href && "object" === typeof options && null !== options && "string" === typeof options.as) {
1462
- encountered = options.as;
1463
- var crossOrigin = getCrossOriginStringAs(
1464
- encountered,
1465
- options.crossOrigin
1466
- );
1467
- Internals.d.L(href, encountered, {
617
+ } else null == options && Internals.d.M(href);
618
+ };
619
+ exports.preload = function(href, options) {
620
+ if ("string" === typeof href && "object" === typeof options && null !== options && "string" === typeof options.as) {
621
+ var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
622
+ Internals.d.L(href, as, {
623
+ crossOrigin,
624
+ integrity: "string" === typeof options.integrity ? options.integrity : void 0,
625
+ nonce: "string" === typeof options.nonce ? options.nonce : void 0,
626
+ type: "string" === typeof options.type ? options.type : void 0,
627
+ fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0,
628
+ referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0,
629
+ imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,
630
+ imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0,
631
+ media: "string" === typeof options.media ? options.media : void 0
632
+ });
633
+ }
634
+ };
635
+ exports.preloadModule = function(href, options) {
636
+ if ("string" === typeof href)
637
+ if (options) {
638
+ var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
639
+ Internals.d.m(href, {
640
+ as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0,
1468
641
  crossOrigin,
1469
- integrity: "string" === typeof options.integrity ? options.integrity : void 0,
1470
- nonce: "string" === typeof options.nonce ? options.nonce : void 0,
1471
- type: "string" === typeof options.type ? options.type : void 0,
1472
- fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0,
1473
- referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0,
1474
- imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,
1475
- imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0,
1476
- media: "string" === typeof options.media ? options.media : void 0
642
+ integrity: "string" === typeof options.integrity ? options.integrity : void 0
1477
643
  });
1478
- }
1479
- };
1480
- exports.preloadModule = function(href, options) {
1481
- var encountered = "";
1482
- "string" === typeof href && href || (encountered += " The `href` argument encountered was " + getValueDescriptorExpectingObjectForWarning(href) + ".");
1483
- void 0 !== options && "object" !== typeof options ? encountered += " The `options` argument encountered was " + getValueDescriptorExpectingObjectForWarning(options) + "." : options && "as" in options && "string" !== typeof options.as && (encountered += " The `as` option encountered was " + getValueDescriptorExpectingObjectForWarning(options.as) + ".");
1484
- encountered && console.error(
1485
- 'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
1486
- encountered
1487
- );
1488
- "string" === typeof href && (options ? (encountered = getCrossOriginStringAs(
1489
- options.as,
1490
- options.crossOrigin
1491
- ), Internals.d.m(href, {
1492
- as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0,
1493
- crossOrigin: encountered,
1494
- integrity: "string" === typeof options.integrity ? options.integrity : void 0
1495
- })) : Internals.d.m(href));
1496
- };
1497
- exports.requestFormReset = function(form) {
1498
- Internals.d.r(form);
1499
- };
1500
- exports.unstable_batchedUpdates = function(fn, a) {
1501
- return fn(a);
1502
- };
1503
- exports.useFormState = function(action, initialState, permalink) {
1504
- return resolveDispatcher().useFormState(action, initialState, permalink);
1505
- };
1506
- exports.useFormStatus = function() {
1507
- return resolveDispatcher().useHostTransitionStatus();
1508
- };
1509
- exports.version = "19.2.1";
1510
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1511
- })();
644
+ } else Internals.d.m(href);
645
+ };
646
+ exports.requestFormReset = function(form) {
647
+ Internals.d.r(form);
648
+ };
649
+ exports.unstable_batchedUpdates = function(fn, a) {
650
+ return fn(a);
651
+ };
652
+ exports.useFormState = function(action, initialState, permalink) {
653
+ return ReactSharedInternals.H.useFormState(action, initialState, permalink);
654
+ };
655
+ exports.useFormStatus = function() {
656
+ return ReactSharedInternals.H.useHostTransitionStatus();
657
+ };
658
+ exports.version = "19.2.1";
1512
659
  }
1513
660
  });
1514
661
 
@@ -1516,11 +663,24 @@ var require_react_dom_development = __commonJS({
1516
663
  var require_react_dom = __commonJS({
1517
664
  "../../../node_modules/react-dom/index.js"(exports, module) {
1518
665
  "use strict";
1519
- if (false) {
666
+ function checkDCE() {
667
+ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") {
668
+ return;
669
+ }
670
+ if (false) {
671
+ throw new Error("^_^");
672
+ }
673
+ try {
674
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
675
+ } catch (err) {
676
+ console.error(err);
677
+ }
678
+ }
679
+ if (true) {
1520
680
  checkDCE();
1521
- module.exports = null;
681
+ module.exports = require_react_dom_production();
1522
682
  } else {
1523
- module.exports = require_react_dom_development();
683
+ module.exports = null;
1524
684
  }
1525
685
  }
1526
686
  });
@@ -5871,10 +5031,10 @@ export {
5871
5031
  };
5872
5032
  /*! Bundled license information:
5873
5033
 
5874
- react/cjs/react.development.js:
5034
+ react/cjs/react-jsx-runtime.production.js:
5875
5035
  (**
5876
5036
  * @license React
5877
- * react.development.js
5037
+ * react-jsx-runtime.production.js
5878
5038
  *
5879
5039
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5880
5040
  *
@@ -5882,10 +5042,10 @@ react/cjs/react.development.js:
5882
5042
  * LICENSE file in the root directory of this source tree.
5883
5043
  *)
5884
5044
 
5885
- react/cjs/react-jsx-runtime.development.js:
5045
+ react/cjs/react.production.js:
5886
5046
  (**
5887
5047
  * @license React
5888
- * react-jsx-runtime.development.js
5048
+ * react.production.js
5889
5049
  *
5890
5050
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5891
5051
  *
@@ -5893,10 +5053,10 @@ react/cjs/react-jsx-runtime.development.js:
5893
5053
  * LICENSE file in the root directory of this source tree.
5894
5054
  *)
5895
5055
 
5896
- react-dom/cjs/react-dom.development.js:
5056
+ react-dom/cjs/react-dom.production.js:
5897
5057
  (**
5898
5058
  * @license React
5899
- * react-dom.development.js
5059
+ * react-dom.production.js
5900
5060
  *
5901
5061
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5902
5062
  *