@ttoss/react-billing 0.1.0 → 0.1.1

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.
Files changed (3) hide show
  1. package/dist/esm/index.js +27 -1615
  2. package/dist/index.js +15 -1603
  3. package/package.json +7 -4
package/dist/esm/index.js CHANGED
@@ -34,1267 +34,6 @@ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
34
34
  enumerable: true
35
35
  }) : target, mod));
36
36
 
37
- // ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react.production.js
38
- var require_react_production = __commonJS({
39
- "../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react.production.js"(exports) {
40
- "use strict";
41
-
42
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
43
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
44
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
45
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
46
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
47
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
48
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
49
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
50
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
51
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
52
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
53
- var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
54
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
55
- function getIteratorFn(maybeIterable) {
56
- if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
57
- maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
58
- return "function" === typeof maybeIterable ? maybeIterable : null;
59
- }
60
- __name(getIteratorFn, "getIteratorFn");
61
- var ReactNoopUpdateQueue = {
62
- isMounted: /* @__PURE__ */__name(function () {
63
- return false;
64
- }, "isMounted"),
65
- enqueueForceUpdate: /* @__PURE__ */__name(function () {}, "enqueueForceUpdate"),
66
- enqueueReplaceState: /* @__PURE__ */__name(function () {}, "enqueueReplaceState"),
67
- enqueueSetState: /* @__PURE__ */__name(function () {}, "enqueueSetState")
68
- };
69
- var assign2 = Object.assign;
70
- var emptyObject = {};
71
- function Component(props, context, updater) {
72
- this.props = props;
73
- this.context = context;
74
- this.refs = emptyObject;
75
- this.updater = updater || ReactNoopUpdateQueue;
76
- }
77
- __name(Component, "Component");
78
- Component.prototype.isReactComponent = {};
79
- Component.prototype.setState = function (partialState, callback) {
80
- if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
81
- this.updater.enqueueSetState(this, partialState, callback, "setState");
82
- };
83
- Component.prototype.forceUpdate = function (callback) {
84
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
85
- };
86
- function ComponentDummy() {}
87
- __name(ComponentDummy, "ComponentDummy");
88
- ComponentDummy.prototype = Component.prototype;
89
- function PureComponent(props, context, updater) {
90
- this.props = props;
91
- this.context = context;
92
- this.refs = emptyObject;
93
- this.updater = updater || ReactNoopUpdateQueue;
94
- }
95
- __name(PureComponent, "PureComponent");
96
- var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
97
- pureComponentPrototype.constructor = PureComponent;
98
- assign2(pureComponentPrototype, Component.prototype);
99
- pureComponentPrototype.isPureReactComponent = true;
100
- var isArrayImpl = Array.isArray;
101
- function noop() {}
102
- __name(noop, "noop");
103
- var ReactSharedInternals = {
104
- H: null,
105
- A: null,
106
- T: null,
107
- S: null
108
- };
109
- var hasOwnProperty = Object.prototype.hasOwnProperty;
110
- function ReactElement(type, key, props) {
111
- var refProp = props.ref;
112
- return {
113
- $$typeof: REACT_ELEMENT_TYPE,
114
- type,
115
- key,
116
- ref: void 0 !== refProp ? refProp : null,
117
- props
118
- };
119
- }
120
- __name(ReactElement, "ReactElement");
121
- function cloneAndReplaceKey(oldElement, newKey) {
122
- return ReactElement(oldElement.type, newKey, oldElement.props);
123
- }
124
- __name(cloneAndReplaceKey, "cloneAndReplaceKey");
125
- function isValidElement2(object) {
126
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
127
- }
128
- __name(isValidElement2, "isValidElement");
129
- function escape(key) {
130
- var escaperLookup = {
131
- "=": "=0",
132
- ":": "=2"
133
- };
134
- return "$" + key.replace(/[=:]/g, function (match2) {
135
- return escaperLookup[match2];
136
- });
137
- }
138
- __name(escape, "escape");
139
- var userProvidedKeyEscapeRegex = /\/+/g;
140
- function getElementKey(element, index) {
141
- return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
142
- }
143
- __name(getElementKey, "getElementKey");
144
- function resolveThenable(thenable) {
145
- switch (thenable.status) {
146
- case "fulfilled":
147
- return thenable.value;
148
- case "rejected":
149
- throw thenable.reason;
150
- default:
151
- switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(function (fulfilledValue) {
152
- "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
153
- }, function (error) {
154
- "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
155
- })), thenable.status) {
156
- case "fulfilled":
157
- return thenable.value;
158
- case "rejected":
159
- throw thenable.reason;
160
- }
161
- }
162
- throw thenable;
163
- }
164
- __name(resolveThenable, "resolveThenable");
165
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
166
- var type = typeof children;
167
- if ("undefined" === type || "boolean" === type) children = null;
168
- var invokeCallback = false;
169
- if (null === children) invokeCallback = true;else switch (type) {
170
- case "bigint":
171
- case "string":
172
- case "number":
173
- invokeCallback = true;
174
- break;
175
- case "object":
176
- switch (children.$$typeof) {
177
- case REACT_ELEMENT_TYPE:
178
- case REACT_PORTAL_TYPE:
179
- invokeCallback = true;
180
- break;
181
- case REACT_LAZY_TYPE:
182
- return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback);
183
- }
184
- }
185
- if (invokeCallback) 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) {
186
- return c;
187
- })) : null != callback && (isValidElement2(callback) && (callback = cloneAndReplaceKey(callback, escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(userProvidedKeyEscapeRegex, "$&/") + "/") + invokeCallback)), array.push(callback)), 1;
188
- invokeCallback = 0;
189
- var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
190
- if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if (i = getIteratorFn(children), "function" === typeof i) for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done;) nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if ("object" === type) {
191
- if ("function" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);
192
- array = String(children);
193
- throw Error("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.");
194
- }
195
- return invokeCallback;
196
- }
197
- __name(mapIntoArray, "mapIntoArray");
198
- function mapChildren(children, func, context) {
199
- if (null == children) return children;
200
- var result = [],
201
- count = 0;
202
- mapIntoArray(children, result, "", "", function (child) {
203
- return func.call(context, child, count++);
204
- });
205
- return result;
206
- }
207
- __name(mapChildren, "mapChildren");
208
- function lazyInitializer(payload) {
209
- if (-1 === payload._status) {
210
- var ctor = payload._result;
211
- ctor = ctor();
212
- ctor.then(function (moduleObject) {
213
- if (0 === payload._status || -1 === payload._status) payload._status = 1, payload._result = moduleObject;
214
- }, function (error) {
215
- if (0 === payload._status || -1 === payload._status) payload._status = 2, payload._result = error;
216
- });
217
- -1 === payload._status && (payload._status = 0, payload._result = ctor);
218
- }
219
- if (1 === payload._status) return payload._result.default;
220
- throw payload._result;
221
- }
222
- __name(lazyInitializer, "lazyInitializer");
223
- var reportGlobalError = "function" === typeof reportError ? reportError : function (error) {
224
- if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
225
- var event = new window.ErrorEvent("error", {
226
- bubbles: true,
227
- cancelable: true,
228
- message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
229
- error
230
- });
231
- if (!window.dispatchEvent(event)) return;
232
- } else if ("object" === typeof process && "function" === typeof process.emit) {
233
- process.emit("uncaughtException", error);
234
- return;
235
- }
236
- console.error(error);
237
- };
238
- var Children = {
239
- map: mapChildren,
240
- forEach: /* @__PURE__ */__name(function (children, forEachFunc, forEachContext) {
241
- mapChildren(children, function () {
242
- forEachFunc.apply(this, arguments);
243
- }, forEachContext);
244
- }, "forEach"),
245
- count: /* @__PURE__ */__name(function (children) {
246
- var n = 0;
247
- mapChildren(children, function () {
248
- n++;
249
- });
250
- return n;
251
- }, "count"),
252
- toArray: /* @__PURE__ */__name(function (children) {
253
- return mapChildren(children, function (child) {
254
- return child;
255
- }) || [];
256
- }, "toArray"),
257
- only: /* @__PURE__ */__name(function (children) {
258
- if (!isValidElement2(children)) throw Error("React.Children.only expected to receive a single React element child.");
259
- return children;
260
- }, "only")
261
- };
262
- exports.Activity = REACT_ACTIVITY_TYPE;
263
- exports.Children = Children;
264
- exports.Component = Component;
265
- exports.Fragment = REACT_FRAGMENT_TYPE;
266
- exports.Profiler = REACT_PROFILER_TYPE;
267
- exports.PureComponent = PureComponent;
268
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
269
- exports.Suspense = REACT_SUSPENSE_TYPE;
270
- exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
271
- exports.__COMPILER_RUNTIME = {
272
- __proto__: null,
273
- c: /* @__PURE__ */__name(function (size) {
274
- return ReactSharedInternals.H.useMemoCache(size);
275
- }, "c")
276
- };
277
- exports.cache = function (fn) {
278
- return function () {
279
- return fn.apply(null, arguments);
280
- };
281
- };
282
- exports.cacheSignal = function () {
283
- return null;
284
- };
285
- exports.cloneElement = function (element, config, children) {
286
- if (null === element || void 0 === element) throw Error("The argument must be a React element, but you passed " + element + ".");
287
- var props = assign2({}, element.props),
288
- key = element.key;
289
- if (null != config) for (propName in void 0 !== config.key && (key = "" + config.key), config) !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
290
- var propName = arguments.length - 2;
291
- if (1 === propName) props.children = children;else if (1 < propName) {
292
- for (var childArray = Array(propName), i = 0; i < propName; i++) childArray[i] = arguments[i + 2];
293
- props.children = childArray;
294
- }
295
- return ReactElement(element.type, key, props);
296
- };
297
- exports.createContext = function (defaultValue) {
298
- defaultValue = {
299
- $$typeof: REACT_CONTEXT_TYPE,
300
- _currentValue: defaultValue,
301
- _currentValue2: defaultValue,
302
- _threadCount: 0,
303
- Provider: null,
304
- Consumer: null
305
- };
306
- defaultValue.Provider = defaultValue;
307
- defaultValue.Consumer = {
308
- $$typeof: REACT_CONSUMER_TYPE,
309
- _context: defaultValue
310
- };
311
- return defaultValue;
312
- };
313
- exports.createElement = function (type, config, children) {
314
- var propName,
315
- props = {},
316
- key = null;
317
- if (null != config) for (propName in void 0 !== config.key && (key = "" + config.key), config) hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]);
318
- var childrenLength = arguments.length - 2;
319
- if (1 === childrenLength) props.children = children;else if (1 < childrenLength) {
320
- for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 2];
321
- props.children = childArray;
322
- }
323
- if (type && type.defaultProps) for (propName in childrenLength = type.defaultProps, childrenLength) void 0 === props[propName] && (props[propName] = childrenLength[propName]);
324
- return ReactElement(type, key, props);
325
- };
326
- exports.createRef = function () {
327
- return {
328
- current: null
329
- };
330
- };
331
- exports.forwardRef = function (render) {
332
- return {
333
- $$typeof: REACT_FORWARD_REF_TYPE,
334
- render
335
- };
336
- };
337
- exports.isValidElement = isValidElement2;
338
- exports.lazy = function (ctor) {
339
- return {
340
- $$typeof: REACT_LAZY_TYPE,
341
- _payload: {
342
- _status: -1,
343
- _result: ctor
344
- },
345
- _init: lazyInitializer
346
- };
347
- };
348
- exports.memo = function (type, compare) {
349
- return {
350
- $$typeof: REACT_MEMO_TYPE,
351
- type,
352
- compare: void 0 === compare ? null : compare
353
- };
354
- };
355
- exports.startTransition = function (scope) {
356
- var prevTransition = ReactSharedInternals.T,
357
- currentTransition = {};
358
- ReactSharedInternals.T = currentTransition;
359
- try {
360
- var returnValue = scope(),
361
- onStartTransitionFinish = ReactSharedInternals.S;
362
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
363
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
364
- } catch (error) {
365
- reportGlobalError(error);
366
- } finally {
367
- null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
368
- }
369
- };
370
- exports.unstable_useCacheRefresh = function () {
371
- return ReactSharedInternals.H.useCacheRefresh();
372
- };
373
- exports.use = function (usable) {
374
- return ReactSharedInternals.H.use(usable);
375
- };
376
- exports.useActionState = function (action, initialState, permalink) {
377
- return ReactSharedInternals.H.useActionState(action, initialState, permalink);
378
- };
379
- exports.useCallback = function (callback, deps) {
380
- return ReactSharedInternals.H.useCallback(callback, deps);
381
- };
382
- exports.useContext = function (Context) {
383
- return ReactSharedInternals.H.useContext(Context);
384
- };
385
- exports.useDebugValue = function () {};
386
- exports.useDeferredValue = function (value, initialValue) {
387
- return ReactSharedInternals.H.useDeferredValue(value, initialValue);
388
- };
389
- exports.useEffect = function (create, deps) {
390
- return ReactSharedInternals.H.useEffect(create, deps);
391
- };
392
- exports.useEffectEvent = function (callback) {
393
- return ReactSharedInternals.H.useEffectEvent(callback);
394
- };
395
- exports.useId = function () {
396
- return ReactSharedInternals.H.useId();
397
- };
398
- exports.useImperativeHandle = function (ref, create, deps) {
399
- return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
400
- };
401
- exports.useInsertionEffect = function (create, deps) {
402
- return ReactSharedInternals.H.useInsertionEffect(create, deps);
403
- };
404
- exports.useLayoutEffect = function (create, deps) {
405
- return ReactSharedInternals.H.useLayoutEffect(create, deps);
406
- };
407
- exports.useMemo = function (create, deps) {
408
- return ReactSharedInternals.H.useMemo(create, deps);
409
- };
410
- exports.useOptimistic = function (passthrough, reducer) {
411
- return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
412
- };
413
- exports.useReducer = function (reducer, initialArg, init) {
414
- return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
415
- };
416
- exports.useRef = function (initialValue) {
417
- return ReactSharedInternals.H.useRef(initialValue);
418
- };
419
- exports.useState = function (initialState) {
420
- return ReactSharedInternals.H.useState(initialState);
421
- };
422
- exports.useSyncExternalStore = function (subscribe, getSnapshot, getServerSnapshot) {
423
- return ReactSharedInternals.H.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
424
- };
425
- exports.useTransition = function () {
426
- return ReactSharedInternals.H.useTransition();
427
- };
428
- exports.version = "19.2.1";
429
- }
430
- });
431
-
432
- // ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react.development.js
433
- var require_react_development = __commonJS({
434
- "../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react.development.js"(exports, module) {
435
- "use strict";
436
-
437
- "production" !== process.env.NODE_ENV && function () {
438
- function defineDeprecationWarning(methodName, info) {
439
- Object.defineProperty(Component.prototype, methodName, {
440
- get: /* @__PURE__ */__name(function () {
441
- console.warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]);
442
- }, "get")
443
- });
444
- }
445
- __name(defineDeprecationWarning, "defineDeprecationWarning");
446
- function getIteratorFn(maybeIterable) {
447
- if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
448
- maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
449
- return "function" === typeof maybeIterable ? maybeIterable : null;
450
- }
451
- __name(getIteratorFn, "getIteratorFn");
452
- function warnNoop(publicInstance, callerName) {
453
- publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass";
454
- var warningKey = publicInstance + "." + callerName;
455
- didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", callerName, publicInstance), didWarnStateUpdateForUnmountedComponent[warningKey] = true);
456
- }
457
- __name(warnNoop, "warnNoop");
458
- function Component(props, context, updater) {
459
- this.props = props;
460
- this.context = context;
461
- this.refs = emptyObject;
462
- this.updater = updater || ReactNoopUpdateQueue;
463
- }
464
- __name(Component, "Component");
465
- function ComponentDummy() {}
466
- __name(ComponentDummy, "ComponentDummy");
467
- function PureComponent(props, context, updater) {
468
- this.props = props;
469
- this.context = context;
470
- this.refs = emptyObject;
471
- this.updater = updater || ReactNoopUpdateQueue;
472
- }
473
- __name(PureComponent, "PureComponent");
474
- function noop() {}
475
- __name(noop, "noop");
476
- function testStringCoercion(value) {
477
- return "" + value;
478
- }
479
- __name(testStringCoercion, "testStringCoercion");
480
- function checkKeyStringCoercion(value) {
481
- try {
482
- testStringCoercion(value);
483
- var JSCompiler_inline_result = false;
484
- } catch (e) {
485
- JSCompiler_inline_result = true;
486
- }
487
- if (JSCompiler_inline_result) {
488
- JSCompiler_inline_result = console;
489
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
490
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
491
- JSCompiler_temp_const.call(JSCompiler_inline_result, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", JSCompiler_inline_result$jscomp$0);
492
- return testStringCoercion(value);
493
- }
494
- }
495
- __name(checkKeyStringCoercion, "checkKeyStringCoercion");
496
- function getComponentNameFromType(type) {
497
- if (null == type) return null;
498
- if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
499
- if ("string" === typeof type) return type;
500
- switch (type) {
501
- case REACT_FRAGMENT_TYPE:
502
- return "Fragment";
503
- case REACT_PROFILER_TYPE:
504
- return "Profiler";
505
- case REACT_STRICT_MODE_TYPE:
506
- return "StrictMode";
507
- case REACT_SUSPENSE_TYPE:
508
- return "Suspense";
509
- case REACT_SUSPENSE_LIST_TYPE:
510
- return "SuspenseList";
511
- case REACT_ACTIVITY_TYPE:
512
- return "Activity";
513
- }
514
- if ("object" === typeof type) switch ("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof) {
515
- case REACT_PORTAL_TYPE:
516
- return "Portal";
517
- case REACT_CONTEXT_TYPE:
518
- return type.displayName || "Context";
519
- case REACT_CONSUMER_TYPE:
520
- return (type._context.displayName || "Context") + ".Consumer";
521
- case REACT_FORWARD_REF_TYPE:
522
- var innerType = type.render;
523
- type = type.displayName;
524
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
525
- return type;
526
- case REACT_MEMO_TYPE:
527
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
528
- case REACT_LAZY_TYPE:
529
- innerType = type._payload;
530
- type = type._init;
531
- try {
532
- return getComponentNameFromType(type(innerType));
533
- } catch (x) {}
534
- }
535
- return null;
536
- }
537
- __name(getComponentNameFromType, "getComponentNameFromType");
538
- function getTaskName(type) {
539
- if (type === REACT_FRAGMENT_TYPE) return "<>";
540
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE) return "<...>";
541
- try {
542
- var name = getComponentNameFromType(type);
543
- return name ? "<" + name + ">" : "<...>";
544
- } catch (x) {
545
- return "<...>";
546
- }
547
- }
548
- __name(getTaskName, "getTaskName");
549
- function getOwner() {
550
- var dispatcher = ReactSharedInternals.A;
551
- return null === dispatcher ? null : dispatcher.getOwner();
552
- }
553
- __name(getOwner, "getOwner");
554
- function UnknownOwner() {
555
- return Error("react-stack-top-frame");
556
- }
557
- __name(UnknownOwner, "UnknownOwner");
558
- function hasValidKey(config) {
559
- if (hasOwnProperty.call(config, "key")) {
560
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
561
- if (getter && getter.isReactWarning) return false;
562
- }
563
- return void 0 !== config.key;
564
- }
565
- __name(hasValidKey, "hasValidKey");
566
- function defineKeyPropWarningGetter(props, displayName) {
567
- function warnAboutAccessingKey() {
568
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", displayName));
569
- }
570
- __name(warnAboutAccessingKey, "warnAboutAccessingKey");
571
- warnAboutAccessingKey.isReactWarning = true;
572
- Object.defineProperty(props, "key", {
573
- get: warnAboutAccessingKey,
574
- configurable: true
575
- });
576
- }
577
- __name(defineKeyPropWarningGetter, "defineKeyPropWarningGetter");
578
- function elementRefGetterWithDeprecationWarning() {
579
- var componentName = getComponentNameFromType(this.type);
580
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error("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."));
581
- componentName = this.props.ref;
582
- return void 0 !== componentName ? componentName : null;
583
- }
584
- __name(elementRefGetterWithDeprecationWarning, "elementRefGetterWithDeprecationWarning");
585
- function ReactElement(type, key, props, owner, debugStack, debugTask) {
586
- var refProp = props.ref;
587
- type = {
588
- $$typeof: REACT_ELEMENT_TYPE,
589
- type,
590
- key,
591
- props,
592
- _owner: owner
593
- };
594
- null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
595
- enumerable: false,
596
- get: elementRefGetterWithDeprecationWarning
597
- }) : Object.defineProperty(type, "ref", {
598
- enumerable: false,
599
- value: null
600
- });
601
- type._store = {};
602
- Object.defineProperty(type._store, "validated", {
603
- configurable: false,
604
- enumerable: false,
605
- writable: true,
606
- value: 0
607
- });
608
- Object.defineProperty(type, "_debugInfo", {
609
- configurable: false,
610
- enumerable: false,
611
- writable: true,
612
- value: null
613
- });
614
- Object.defineProperty(type, "_debugStack", {
615
- configurable: false,
616
- enumerable: false,
617
- writable: true,
618
- value: debugStack
619
- });
620
- Object.defineProperty(type, "_debugTask", {
621
- configurable: false,
622
- enumerable: false,
623
- writable: true,
624
- value: debugTask
625
- });
626
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
627
- return type;
628
- }
629
- __name(ReactElement, "ReactElement");
630
- function cloneAndReplaceKey(oldElement, newKey) {
631
- newKey = ReactElement(oldElement.type, newKey, oldElement.props, oldElement._owner, oldElement._debugStack, oldElement._debugTask);
632
- oldElement._store && (newKey._store.validated = oldElement._store.validated);
633
- return newKey;
634
- }
635
- __name(cloneAndReplaceKey, "cloneAndReplaceKey");
636
- function validateChildKeys(node2) {
637
- isValidElement2(node2) ? node2._store && (node2._store.validated = 1) : "object" === typeof node2 && null !== node2 && node2.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node2._payload.status ? isValidElement2(node2._payload.value) && node2._payload.value._store && (node2._payload.value._store.validated = 1) : node2._store && (node2._store.validated = 1));
638
- }
639
- __name(validateChildKeys, "validateChildKeys");
640
- function isValidElement2(object) {
641
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
642
- }
643
- __name(isValidElement2, "isValidElement");
644
- function escape(key) {
645
- var escaperLookup = {
646
- "=": "=0",
647
- ":": "=2"
648
- };
649
- return "$" + key.replace(/[=:]/g, function (match2) {
650
- return escaperLookup[match2];
651
- });
652
- }
653
- __name(escape, "escape");
654
- function getElementKey(element, index) {
655
- return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
656
- }
657
- __name(getElementKey, "getElementKey");
658
- function resolveThenable(thenable) {
659
- switch (thenable.status) {
660
- case "fulfilled":
661
- return thenable.value;
662
- case "rejected":
663
- throw thenable.reason;
664
- default:
665
- switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(function (fulfilledValue) {
666
- "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
667
- }, function (error) {
668
- "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
669
- })), thenable.status) {
670
- case "fulfilled":
671
- return thenable.value;
672
- case "rejected":
673
- throw thenable.reason;
674
- }
675
- }
676
- throw thenable;
677
- }
678
- __name(resolveThenable, "resolveThenable");
679
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
680
- var type = typeof children;
681
- if ("undefined" === type || "boolean" === type) children = null;
682
- var invokeCallback = false;
683
- if (null === children) invokeCallback = true;else switch (type) {
684
- case "bigint":
685
- case "string":
686
- case "number":
687
- invokeCallback = true;
688
- break;
689
- case "object":
690
- switch (children.$$typeof) {
691
- case REACT_ELEMENT_TYPE:
692
- case REACT_PORTAL_TYPE:
693
- invokeCallback = true;
694
- break;
695
- case REACT_LAZY_TYPE:
696
- return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback);
697
- }
698
- }
699
- if (invokeCallback) {
700
- invokeCallback = children;
701
- callback = callback(invokeCallback);
702
- var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
703
- isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function (c) {
704
- return c;
705
- })) : null != callback && (isValidElement2(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(callback, escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(userProvidedKeyEscapeRegex, "$&/") + "/") + childKey), "" !== nameSoFar && null != invokeCallback && isValidElement2(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));
706
- return 1;
707
- }
708
- invokeCallback = 0;
709
- childKey = "" === nameSoFar ? "." : nameSoFar + ":";
710
- if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if (i = getIteratorFn(children), "function" === typeof i) for (i === children.entries && (didWarnAboutMaps || console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), didWarnAboutMaps = true), children = i.call(children), i = 0; !(nameSoFar = children.next()).done;) nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);else if ("object" === type) {
711
- if ("function" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);
712
- array = String(children);
713
- throw Error("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.");
714
- }
715
- return invokeCallback;
716
- }
717
- __name(mapIntoArray, "mapIntoArray");
718
- function mapChildren(children, func, context) {
719
- if (null == children) return children;
720
- var result = [],
721
- count = 0;
722
- mapIntoArray(children, result, "", "", function (child) {
723
- return func.call(context, child, count++);
724
- });
725
- return result;
726
- }
727
- __name(mapChildren, "mapChildren");
728
- function lazyInitializer(payload) {
729
- if (-1 === payload._status) {
730
- var ioInfo = payload._ioInfo;
731
- null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
732
- ioInfo = payload._result;
733
- var thenable = ioInfo();
734
- thenable.then(function (moduleObject) {
735
- if (0 === payload._status || -1 === payload._status) {
736
- payload._status = 1;
737
- payload._result = moduleObject;
738
- var _ioInfo = payload._ioInfo;
739
- null != _ioInfo && (_ioInfo.end = performance.now());
740
- void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
741
- }
742
- }, function (error) {
743
- if (0 === payload._status || -1 === payload._status) {
744
- payload._status = 2;
745
- payload._result = error;
746
- var _ioInfo2 = payload._ioInfo;
747
- null != _ioInfo2 && (_ioInfo2.end = performance.now());
748
- void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
749
- }
750
- });
751
- ioInfo = payload._ioInfo;
752
- if (null != ioInfo) {
753
- ioInfo.value = thenable;
754
- var displayName = thenable.displayName;
755
- "string" === typeof displayName && (ioInfo.name = displayName);
756
- }
757
- -1 === payload._status && (payload._status = 0, payload._result = thenable);
758
- }
759
- if (1 === payload._status) return ioInfo = payload._result, void 0 === ioInfo && console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?", ioInfo), "default" in ioInfo || console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))", ioInfo), ioInfo.default;
760
- throw payload._result;
761
- }
762
- __name(lazyInitializer, "lazyInitializer");
763
- function resolveDispatcher() {
764
- var dispatcher = ReactSharedInternals.H;
765
- null === dispatcher && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.");
766
- return dispatcher;
767
- }
768
- __name(resolveDispatcher, "resolveDispatcher");
769
- function releaseAsyncTransition() {
770
- ReactSharedInternals.asyncTransitions--;
771
- }
772
- __name(releaseAsyncTransition, "releaseAsyncTransition");
773
- function enqueueTask(task) {
774
- if (null === enqueueTaskImpl) try {
775
- var requireString = ("require" + Math.random()).slice(0, 7);
776
- enqueueTaskImpl = (module && module[requireString]).call(module, "timers").setImmediate;
777
- } catch (_err) {
778
- enqueueTaskImpl = /* @__PURE__ */__name(function (callback) {
779
- false === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = true, "undefined" === typeof MessageChannel && console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
780
- var channel = new MessageChannel();
781
- channel.port1.onmessage = callback;
782
- channel.port2.postMessage(void 0);
783
- }, "enqueueTaskImpl");
784
- }
785
- return enqueueTaskImpl(task);
786
- }
787
- __name(enqueueTask, "enqueueTask");
788
- function aggregateErrors(errors) {
789
- return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0];
790
- }
791
- __name(aggregateErrors, "aggregateErrors");
792
- function popActScope(prevActQueue, prevActScopeDepth) {
793
- prevActScopeDepth !== actScopeDepth - 1 && console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");
794
- actScopeDepth = prevActScopeDepth;
795
- }
796
- __name(popActScope, "popActScope");
797
- function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
798
- var queue = ReactSharedInternals.actQueue;
799
- if (null !== queue) if (0 !== queue.length) try {
800
- flushActQueue(queue);
801
- enqueueTask(function () {
802
- return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
803
- });
804
- return;
805
- } catch (error) {
806
- ReactSharedInternals.thrownErrors.push(error);
807
- } else ReactSharedInternals.actQueue = null;
808
- 0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);
809
- }
810
- __name(recursivelyFlushAsyncActWork, "recursivelyFlushAsyncActWork");
811
- function flushActQueue(queue) {
812
- if (!isFlushing) {
813
- isFlushing = true;
814
- var i = 0;
815
- try {
816
- for (; i < queue.length; i++) {
817
- var callback = queue[i];
818
- do {
819
- ReactSharedInternals.didUsePromise = false;
820
- var continuation = callback(false);
821
- if (null !== continuation) {
822
- if (ReactSharedInternals.didUsePromise) {
823
- queue[i] = callback;
824
- queue.splice(0, i);
825
- return;
826
- }
827
- callback = continuation;
828
- } else break;
829
- } while (1);
830
- }
831
- queue.length = 0;
832
- } catch (error) {
833
- queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
834
- } finally {
835
- isFlushing = false;
836
- }
837
- }
838
- }
839
- __name(flushActQueue, "flushActQueue");
840
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
841
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
842
- REACT_PORTAL_TYPE = Symbol.for("react.portal"),
843
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
844
- REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
845
- REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
846
- REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
847
- REACT_CONTEXT_TYPE = Symbol.for("react.context"),
848
- REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
849
- REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
850
- REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
851
- REACT_MEMO_TYPE = Symbol.for("react.memo"),
852
- REACT_LAZY_TYPE = Symbol.for("react.lazy"),
853
- REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
854
- MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
855
- didWarnStateUpdateForUnmountedComponent = {},
856
- ReactNoopUpdateQueue = {
857
- isMounted: /* @__PURE__ */__name(function () {
858
- return false;
859
- }, "isMounted"),
860
- enqueueForceUpdate: /* @__PURE__ */__name(function (publicInstance) {
861
- warnNoop(publicInstance, "forceUpdate");
862
- }, "enqueueForceUpdate"),
863
- enqueueReplaceState: /* @__PURE__ */__name(function (publicInstance) {
864
- warnNoop(publicInstance, "replaceState");
865
- }, "enqueueReplaceState"),
866
- enqueueSetState: /* @__PURE__ */__name(function (publicInstance) {
867
- warnNoop(publicInstance, "setState");
868
- }, "enqueueSetState")
869
- },
870
- assign2 = Object.assign,
871
- emptyObject = {};
872
- Object.freeze(emptyObject);
873
- Component.prototype.isReactComponent = {};
874
- Component.prototype.setState = function (partialState, callback) {
875
- if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
876
- this.updater.enqueueSetState(this, partialState, callback, "setState");
877
- };
878
- Component.prototype.forceUpdate = function (callback) {
879
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
880
- };
881
- var deprecatedAPIs = {
882
- isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
883
- replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
884
- };
885
- for (fnName in deprecatedAPIs) deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
886
- ComponentDummy.prototype = Component.prototype;
887
- deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
888
- deprecatedAPIs.constructor = PureComponent;
889
- assign2(deprecatedAPIs, Component.prototype);
890
- deprecatedAPIs.isPureReactComponent = true;
891
- var isArrayImpl = Array.isArray,
892
- REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
893
- ReactSharedInternals = {
894
- H: null,
895
- A: null,
896
- T: null,
897
- S: null,
898
- actQueue: null,
899
- asyncTransitions: 0,
900
- isBatchingLegacy: false,
901
- didScheduleLegacyUpdate: false,
902
- didUsePromise: false,
903
- thrownErrors: [],
904
- getCurrentStack: null,
905
- recentlyCreatedOwnerStacks: 0
906
- },
907
- hasOwnProperty = Object.prototype.hasOwnProperty,
908
- createTask = console.createTask ? console.createTask : function () {
909
- return null;
910
- };
911
- deprecatedAPIs = {
912
- react_stack_bottom_frame: /* @__PURE__ */__name(function (callStackForError) {
913
- return callStackForError();
914
- }, "react_stack_bottom_frame")
915
- };
916
- var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
917
- var didWarnAboutElementRef = {};
918
- var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(deprecatedAPIs, UnknownOwner)();
919
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
920
- var didWarnAboutMaps = false,
921
- userProvidedKeyEscapeRegex = /\/+/g,
922
- reportGlobalError = "function" === typeof reportError ? reportError : function (error) {
923
- if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
924
- var event = new window.ErrorEvent("error", {
925
- bubbles: true,
926
- cancelable: true,
927
- message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
928
- error
929
- });
930
- if (!window.dispatchEvent(event)) return;
931
- } else if ("object" === typeof process && "function" === typeof process.emit) {
932
- process.emit("uncaughtException", error);
933
- return;
934
- }
935
- console.error(error);
936
- },
937
- didWarnAboutMessageChannel = false,
938
- enqueueTaskImpl = null,
939
- actScopeDepth = 0,
940
- didWarnNoAwaitAct = false,
941
- isFlushing = false,
942
- queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function (callback) {
943
- queueMicrotask(function () {
944
- return queueMicrotask(callback);
945
- });
946
- } : enqueueTask;
947
- deprecatedAPIs = Object.freeze({
948
- __proto__: null,
949
- c: /* @__PURE__ */__name(function (size) {
950
- return resolveDispatcher().useMemoCache(size);
951
- }, "c")
952
- });
953
- var fnName = {
954
- map: mapChildren,
955
- forEach: /* @__PURE__ */__name(function (children, forEachFunc, forEachContext) {
956
- mapChildren(children, function () {
957
- forEachFunc.apply(this, arguments);
958
- }, forEachContext);
959
- }, "forEach"),
960
- count: /* @__PURE__ */__name(function (children) {
961
- var n = 0;
962
- mapChildren(children, function () {
963
- n++;
964
- });
965
- return n;
966
- }, "count"),
967
- toArray: /* @__PURE__ */__name(function (children) {
968
- return mapChildren(children, function (child) {
969
- return child;
970
- }) || [];
971
- }, "toArray"),
972
- only: /* @__PURE__ */__name(function (children) {
973
- if (!isValidElement2(children)) throw Error("React.Children.only expected to receive a single React element child.");
974
- return children;
975
- }, "only")
976
- };
977
- exports.Activity = REACT_ACTIVITY_TYPE;
978
- exports.Children = fnName;
979
- exports.Component = Component;
980
- exports.Fragment = REACT_FRAGMENT_TYPE;
981
- exports.Profiler = REACT_PROFILER_TYPE;
982
- exports.PureComponent = PureComponent;
983
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
984
- exports.Suspense = REACT_SUSPENSE_TYPE;
985
- exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
986
- exports.__COMPILER_RUNTIME = deprecatedAPIs;
987
- exports.act = function (callback) {
988
- var prevActQueue = ReactSharedInternals.actQueue,
989
- prevActScopeDepth = actScopeDepth;
990
- actScopeDepth++;
991
- var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [],
992
- didAwaitActCall = false;
993
- try {
994
- var result = callback();
995
- } catch (error) {
996
- ReactSharedInternals.thrownErrors.push(error);
997
- }
998
- if (0 < ReactSharedInternals.thrownErrors.length) throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
999
- if (null !== result && "object" === typeof result && "function" === typeof result.then) {
1000
- var thenable = result;
1001
- queueSeveralMicrotasks(function () {
1002
- didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
1003
- });
1004
- return {
1005
- then: /* @__PURE__ */__name(function (resolve, reject) {
1006
- didAwaitActCall = true;
1007
- thenable.then(function (returnValue) {
1008
- popActScope(prevActQueue, prevActScopeDepth);
1009
- if (0 === prevActScopeDepth) {
1010
- try {
1011
- flushActQueue(queue), enqueueTask(function () {
1012
- return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
1013
- });
1014
- } catch (error$0) {
1015
- ReactSharedInternals.thrownErrors.push(error$0);
1016
- }
1017
- if (0 < ReactSharedInternals.thrownErrors.length) {
1018
- var _thrownError = aggregateErrors(ReactSharedInternals.thrownErrors);
1019
- ReactSharedInternals.thrownErrors.length = 0;
1020
- reject(_thrownError);
1021
- }
1022
- } else resolve(returnValue);
1023
- }, function (error) {
1024
- popActScope(prevActQueue, prevActScopeDepth);
1025
- 0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);
1026
- });
1027
- }, "then")
1028
- };
1029
- }
1030
- var returnValue$jscomp$0 = result;
1031
- popActScope(prevActQueue, prevActScopeDepth);
1032
- 0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function () {
1033
- didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error("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(() => ...)"));
1034
- }), ReactSharedInternals.actQueue = null);
1035
- if (0 < ReactSharedInternals.thrownErrors.length) throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
1036
- return {
1037
- then: /* @__PURE__ */__name(function (resolve, reject) {
1038
- didAwaitActCall = true;
1039
- 0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function () {
1040
- return recursivelyFlushAsyncActWork(returnValue$jscomp$0, resolve, reject);
1041
- })) : resolve(returnValue$jscomp$0);
1042
- }, "then")
1043
- };
1044
- };
1045
- exports.cache = function (fn) {
1046
- return function () {
1047
- return fn.apply(null, arguments);
1048
- };
1049
- };
1050
- exports.cacheSignal = function () {
1051
- return null;
1052
- };
1053
- exports.captureOwnerStack = function () {
1054
- var getCurrentStack = ReactSharedInternals.getCurrentStack;
1055
- return null === getCurrentStack ? null : getCurrentStack();
1056
- };
1057
- exports.cloneElement = function (element, config, children) {
1058
- if (null === element || void 0 === element) throw Error("The argument must be a React element, but you passed " + element + ".");
1059
- var props = assign2({}, element.props),
1060
- key = element.key,
1061
- owner = element._owner;
1062
- if (null != config) {
1063
- var JSCompiler_inline_result;
1064
- a: {
1065
- if (hasOwnProperty.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(config, "ref").get) && JSCompiler_inline_result.isReactWarning) {
1066
- JSCompiler_inline_result = false;
1067
- break a;
1068
- }
1069
- JSCompiler_inline_result = void 0 !== config.ref;
1070
- }
1071
- JSCompiler_inline_result && (owner = getOwner());
1072
- hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key);
1073
- for (propName in config) !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
1074
- }
1075
- var propName = arguments.length - 2;
1076
- if (1 === propName) props.children = children;else if (1 < propName) {
1077
- JSCompiler_inline_result = Array(propName);
1078
- for (var i = 0; i < propName; i++) JSCompiler_inline_result[i] = arguments[i + 2];
1079
- props.children = JSCompiler_inline_result;
1080
- }
1081
- props = ReactElement(element.type, key, props, owner, element._debugStack, element._debugTask);
1082
- for (key = 2; key < arguments.length; key++) validateChildKeys(arguments[key]);
1083
- return props;
1084
- };
1085
- exports.createContext = function (defaultValue) {
1086
- defaultValue = {
1087
- $$typeof: REACT_CONTEXT_TYPE,
1088
- _currentValue: defaultValue,
1089
- _currentValue2: defaultValue,
1090
- _threadCount: 0,
1091
- Provider: null,
1092
- Consumer: null
1093
- };
1094
- defaultValue.Provider = defaultValue;
1095
- defaultValue.Consumer = {
1096
- $$typeof: REACT_CONSUMER_TYPE,
1097
- _context: defaultValue
1098
- };
1099
- defaultValue._currentRenderer = null;
1100
- defaultValue._currentRenderer2 = null;
1101
- return defaultValue;
1102
- };
1103
- exports.createElement = function (type, config, children) {
1104
- for (var i = 2; i < arguments.length; i++) validateChildKeys(arguments[i]);
1105
- i = {};
1106
- var key = null;
1107
- if (null != config) for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn("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")), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config) hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
1108
- var childrenLength = arguments.length - 2;
1109
- if (1 === childrenLength) i.children = children;else if (1 < childrenLength) {
1110
- for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++) childArray[_i] = arguments[_i + 2];
1111
- Object.freeze && Object.freeze(childArray);
1112
- i.children = childArray;
1113
- }
1114
- if (type && type.defaultProps) for (propName in childrenLength = type.defaultProps, childrenLength) void 0 === i[propName] && (i[propName] = childrenLength[propName]);
1115
- key && defineKeyPropWarningGetter(i, "function" === typeof type ? type.displayName || type.name || "Unknown" : type);
1116
- var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1117
- return ReactElement(type, key, i, getOwner(), propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack, propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
1118
- };
1119
- exports.createRef = function () {
1120
- var refObject = {
1121
- current: null
1122
- };
1123
- Object.seal(refObject);
1124
- return refObject;
1125
- };
1126
- exports.forwardRef = function (render) {
1127
- null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : "function" !== typeof render ? console.error("forwardRef requires a render function but was given %s.", null === render ? "null" : typeof render) : 0 !== render.length && 2 !== render.length && console.error("forwardRef render functions accept exactly two parameters: props and ref. %s", 1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.");
1128
- null != render && null != render.defaultProps && console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");
1129
- var elementType = {
1130
- $$typeof: REACT_FORWARD_REF_TYPE,
1131
- render
1132
- },
1133
- ownName;
1134
- Object.defineProperty(elementType, "displayName", {
1135
- enumerable: false,
1136
- configurable: true,
1137
- get: /* @__PURE__ */__name(function () {
1138
- return ownName;
1139
- }, "get"),
1140
- set: /* @__PURE__ */__name(function (name) {
1141
- ownName = name;
1142
- render.name || render.displayName || (Object.defineProperty(render, "name", {
1143
- value: name
1144
- }), render.displayName = name);
1145
- }, "set")
1146
- });
1147
- return elementType;
1148
- };
1149
- exports.isValidElement = isValidElement2;
1150
- exports.lazy = function (ctor) {
1151
- ctor = {
1152
- _status: -1,
1153
- _result: ctor
1154
- };
1155
- var lazyType = {
1156
- $$typeof: REACT_LAZY_TYPE,
1157
- _payload: ctor,
1158
- _init: lazyInitializer
1159
- },
1160
- ioInfo = {
1161
- name: "lazy",
1162
- start: -1,
1163
- end: -1,
1164
- value: null,
1165
- owner: null,
1166
- debugStack: Error("react-stack-top-frame"),
1167
- debugTask: console.createTask ? console.createTask("lazy()") : null
1168
- };
1169
- ctor._ioInfo = ioInfo;
1170
- lazyType._debugInfo = [{
1171
- awaited: ioInfo
1172
- }];
1173
- return lazyType;
1174
- };
1175
- exports.memo = function (type, compare) {
1176
- null == type && console.error("memo: The first argument must be a component. Instead received: %s", null === type ? "null" : typeof type);
1177
- compare = {
1178
- $$typeof: REACT_MEMO_TYPE,
1179
- type,
1180
- compare: void 0 === compare ? null : compare
1181
- };
1182
- var ownName;
1183
- Object.defineProperty(compare, "displayName", {
1184
- enumerable: false,
1185
- configurable: true,
1186
- get: /* @__PURE__ */__name(function () {
1187
- return ownName;
1188
- }, "get"),
1189
- set: /* @__PURE__ */__name(function (name) {
1190
- ownName = name;
1191
- type.name || type.displayName || (Object.defineProperty(type, "name", {
1192
- value: name
1193
- }), type.displayName = name);
1194
- }, "set")
1195
- });
1196
- return compare;
1197
- };
1198
- exports.startTransition = function (scope) {
1199
- var prevTransition = ReactSharedInternals.T,
1200
- currentTransition = {};
1201
- currentTransition._updatedFibers = /* @__PURE__ */new Set();
1202
- ReactSharedInternals.T = currentTransition;
1203
- try {
1204
- var returnValue = scope(),
1205
- onStartTransitionFinish = ReactSharedInternals.S;
1206
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
1207
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
1208
- } catch (error) {
1209
- reportGlobalError(error);
1210
- } finally {
1211
- null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error("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."), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
1212
- }
1213
- };
1214
- exports.unstable_useCacheRefresh = function () {
1215
- return resolveDispatcher().useCacheRefresh();
1216
- };
1217
- exports.use = function (usable) {
1218
- return resolveDispatcher().use(usable);
1219
- };
1220
- exports.useActionState = function (action, initialState, permalink) {
1221
- return resolveDispatcher().useActionState(action, initialState, permalink);
1222
- };
1223
- exports.useCallback = function (callback, deps) {
1224
- return resolveDispatcher().useCallback(callback, deps);
1225
- };
1226
- exports.useContext = function (Context) {
1227
- var dispatcher = resolveDispatcher();
1228
- Context.$$typeof === REACT_CONSUMER_TYPE && console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?");
1229
- return dispatcher.useContext(Context);
1230
- };
1231
- exports.useDebugValue = function (value, formatterFn) {
1232
- return resolveDispatcher().useDebugValue(value, formatterFn);
1233
- };
1234
- exports.useDeferredValue = function (value, initialValue) {
1235
- return resolveDispatcher().useDeferredValue(value, initialValue);
1236
- };
1237
- exports.useEffect = function (create, deps) {
1238
- null == create && console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");
1239
- return resolveDispatcher().useEffect(create, deps);
1240
- };
1241
- exports.useEffectEvent = function (callback) {
1242
- return resolveDispatcher().useEffectEvent(callback);
1243
- };
1244
- exports.useId = function () {
1245
- return resolveDispatcher().useId();
1246
- };
1247
- exports.useImperativeHandle = function (ref, create, deps) {
1248
- return resolveDispatcher().useImperativeHandle(ref, create, deps);
1249
- };
1250
- exports.useInsertionEffect = function (create, deps) {
1251
- null == create && console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?");
1252
- return resolveDispatcher().useInsertionEffect(create, deps);
1253
- };
1254
- exports.useLayoutEffect = function (create, deps) {
1255
- null == create && console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?");
1256
- return resolveDispatcher().useLayoutEffect(create, deps);
1257
- };
1258
- exports.useMemo = function (create, deps) {
1259
- return resolveDispatcher().useMemo(create, deps);
1260
- };
1261
- exports.useOptimistic = function (passthrough, reducer) {
1262
- return resolveDispatcher().useOptimistic(passthrough, reducer);
1263
- };
1264
- exports.useReducer = function (reducer, initialArg, init) {
1265
- return resolveDispatcher().useReducer(reducer, initialArg, init);
1266
- };
1267
- exports.useRef = function (initialValue) {
1268
- return resolveDispatcher().useRef(initialValue);
1269
- };
1270
- exports.useState = function (initialState) {
1271
- return resolveDispatcher().useState(initialState);
1272
- };
1273
- exports.useSyncExternalStore = function (subscribe, getSnapshot, getServerSnapshot) {
1274
- return resolveDispatcher().useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
1275
- };
1276
- exports.useTransition = function () {
1277
- return resolveDispatcher().useTransition();
1278
- };
1279
- exports.version = "19.2.1";
1280
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1281
- }();
1282
- }
1283
- });
1284
-
1285
- // ../../node_modules/.pnpm/react@19.2.1/node_modules/react/index.js
1286
- var require_react = __commonJS({
1287
- "../../node_modules/.pnpm/react@19.2.1/node_modules/react/index.js"(exports, module) {
1288
- "use strict";
1289
-
1290
- if (process.env.NODE_ENV === "production") {
1291
- module.exports = require_react_production();
1292
- } else {
1293
- module.exports = require_react_development();
1294
- }
1295
- }
1296
- });
1297
-
1298
37
  // ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js
1299
38
  var require_react_is_production_min = __commonJS({
1300
39
  "../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js"(exports) {
@@ -1706,291 +445,8 @@ var require_extends = __commonJS({
1706
445
  }
1707
446
  });
1708
447
 
1709
- // ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react-jsx-runtime.production.js
1710
- var require_react_jsx_runtime_production = __commonJS({
1711
- "../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react-jsx-runtime.production.js"(exports) {
1712
- "use strict";
1713
-
1714
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
1715
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
1716
- function jsxProd(type, config, maybeKey) {
1717
- var key = null;
1718
- void 0 !== maybeKey && (key = "" + maybeKey);
1719
- void 0 !== config.key && (key = "" + config.key);
1720
- if ("key" in config) {
1721
- maybeKey = {};
1722
- for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]);
1723
- } else maybeKey = config;
1724
- config = maybeKey.ref;
1725
- return {
1726
- $$typeof: REACT_ELEMENT_TYPE,
1727
- type,
1728
- key,
1729
- ref: void 0 !== config ? config : null,
1730
- props: maybeKey
1731
- };
1732
- }
1733
- __name(jsxProd, "jsxProd");
1734
- exports.Fragment = REACT_FRAGMENT_TYPE;
1735
- exports.jsx = jsxProd;
1736
- exports.jsxs = jsxProd;
1737
- }
1738
- });
1739
-
1740
- // ../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react-jsx-runtime.development.js
1741
- var require_react_jsx_runtime_development = __commonJS({
1742
- "../../node_modules/.pnpm/react@19.2.1/node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
1743
- "use strict";
1744
-
1745
- "production" !== process.env.NODE_ENV && function () {
1746
- function getComponentNameFromType(type) {
1747
- if (null == type) return null;
1748
- if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
1749
- if ("string" === typeof type) return type;
1750
- switch (type) {
1751
- case REACT_FRAGMENT_TYPE:
1752
- return "Fragment";
1753
- case REACT_PROFILER_TYPE:
1754
- return "Profiler";
1755
- case REACT_STRICT_MODE_TYPE:
1756
- return "StrictMode";
1757
- case REACT_SUSPENSE_TYPE:
1758
- return "Suspense";
1759
- case REACT_SUSPENSE_LIST_TYPE:
1760
- return "SuspenseList";
1761
- case REACT_ACTIVITY_TYPE:
1762
- return "Activity";
1763
- }
1764
- if ("object" === typeof type) switch ("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof) {
1765
- case REACT_PORTAL_TYPE:
1766
- return "Portal";
1767
- case REACT_CONTEXT_TYPE:
1768
- return type.displayName || "Context";
1769
- case REACT_CONSUMER_TYPE:
1770
- return (type._context.displayName || "Context") + ".Consumer";
1771
- case REACT_FORWARD_REF_TYPE:
1772
- var innerType = type.render;
1773
- type = type.displayName;
1774
- type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
1775
- return type;
1776
- case REACT_MEMO_TYPE:
1777
- return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
1778
- case REACT_LAZY_TYPE:
1779
- innerType = type._payload;
1780
- type = type._init;
1781
- try {
1782
- return getComponentNameFromType(type(innerType));
1783
- } catch (x) {}
1784
- }
1785
- return null;
1786
- }
1787
- __name(getComponentNameFromType, "getComponentNameFromType");
1788
- function testStringCoercion(value) {
1789
- return "" + value;
1790
- }
1791
- __name(testStringCoercion, "testStringCoercion");
1792
- function checkKeyStringCoercion(value) {
1793
- try {
1794
- testStringCoercion(value);
1795
- var JSCompiler_inline_result = false;
1796
- } catch (e) {
1797
- JSCompiler_inline_result = true;
1798
- }
1799
- if (JSCompiler_inline_result) {
1800
- JSCompiler_inline_result = console;
1801
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
1802
- var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
1803
- JSCompiler_temp_const.call(JSCompiler_inline_result, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", JSCompiler_inline_result$jscomp$0);
1804
- return testStringCoercion(value);
1805
- }
1806
- }
1807
- __name(checkKeyStringCoercion, "checkKeyStringCoercion");
1808
- function getTaskName(type) {
1809
- if (type === REACT_FRAGMENT_TYPE) return "<>";
1810
- if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE) return "<...>";
1811
- try {
1812
- var name = getComponentNameFromType(type);
1813
- return name ? "<" + name + ">" : "<...>";
1814
- } catch (x) {
1815
- return "<...>";
1816
- }
1817
- }
1818
- __name(getTaskName, "getTaskName");
1819
- function getOwner() {
1820
- var dispatcher = ReactSharedInternals.A;
1821
- return null === dispatcher ? null : dispatcher.getOwner();
1822
- }
1823
- __name(getOwner, "getOwner");
1824
- function UnknownOwner() {
1825
- return Error("react-stack-top-frame");
1826
- }
1827
- __name(UnknownOwner, "UnknownOwner");
1828
- function hasValidKey(config) {
1829
- if (hasOwnProperty.call(config, "key")) {
1830
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
1831
- if (getter && getter.isReactWarning) return false;
1832
- }
1833
- return void 0 !== config.key;
1834
- }
1835
- __name(hasValidKey, "hasValidKey");
1836
- function defineKeyPropWarningGetter(props, displayName) {
1837
- function warnAboutAccessingKey() {
1838
- specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", displayName));
1839
- }
1840
- __name(warnAboutAccessingKey, "warnAboutAccessingKey");
1841
- warnAboutAccessingKey.isReactWarning = true;
1842
- Object.defineProperty(props, "key", {
1843
- get: warnAboutAccessingKey,
1844
- configurable: true
1845
- });
1846
- }
1847
- __name(defineKeyPropWarningGetter, "defineKeyPropWarningGetter");
1848
- function elementRefGetterWithDeprecationWarning() {
1849
- var componentName = getComponentNameFromType(this.type);
1850
- didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error("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."));
1851
- componentName = this.props.ref;
1852
- return void 0 !== componentName ? componentName : null;
1853
- }
1854
- __name(elementRefGetterWithDeprecationWarning, "elementRefGetterWithDeprecationWarning");
1855
- function ReactElement(type, key, props, owner, debugStack, debugTask) {
1856
- var refProp = props.ref;
1857
- type = {
1858
- $$typeof: REACT_ELEMENT_TYPE,
1859
- type,
1860
- key,
1861
- props,
1862
- _owner: owner
1863
- };
1864
- null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
1865
- enumerable: false,
1866
- get: elementRefGetterWithDeprecationWarning
1867
- }) : Object.defineProperty(type, "ref", {
1868
- enumerable: false,
1869
- value: null
1870
- });
1871
- type._store = {};
1872
- Object.defineProperty(type._store, "validated", {
1873
- configurable: false,
1874
- enumerable: false,
1875
- writable: true,
1876
- value: 0
1877
- });
1878
- Object.defineProperty(type, "_debugInfo", {
1879
- configurable: false,
1880
- enumerable: false,
1881
- writable: true,
1882
- value: null
1883
- });
1884
- Object.defineProperty(type, "_debugStack", {
1885
- configurable: false,
1886
- enumerable: false,
1887
- writable: true,
1888
- value: debugStack
1889
- });
1890
- Object.defineProperty(type, "_debugTask", {
1891
- configurable: false,
1892
- enumerable: false,
1893
- writable: true,
1894
- value: debugTask
1895
- });
1896
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
1897
- return type;
1898
- }
1899
- __name(ReactElement, "ReactElement");
1900
- function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
1901
- var children = config.children;
1902
- if (void 0 !== children) if (isStaticChildren) {
1903
- if (isArrayImpl(children)) {
1904
- for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++) validateChildKeys(children[isStaticChildren]);
1905
- Object.freeze && Object.freeze(children);
1906
- } else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1907
- } else validateChildKeys(children);
1908
- if (hasOwnProperty.call(config, "key")) {
1909
- children = getComponentNameFromType(type);
1910
- var keys = Object.keys(config).filter(function (k) {
1911
- return "key" !== k;
1912
- });
1913
- isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
1914
- didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />', isStaticChildren, children, keys, children), didWarnAboutKeySpread[children + isStaticChildren] = true);
1915
- }
1916
- children = null;
1917
- void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
1918
- hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
1919
- if ("key" in config) {
1920
- maybeKey = {};
1921
- for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]);
1922
- } else maybeKey = config;
1923
- children && defineKeyPropWarningGetter(maybeKey, "function" === typeof type ? type.displayName || type.name || "Unknown" : type);
1924
- return ReactElement(type, children, maybeKey, getOwner(), debugStack, debugTask);
1925
- }
1926
- __name(jsxDEVImpl, "jsxDEVImpl");
1927
- function validateChildKeys(node2) {
1928
- isValidElement2(node2) ? node2._store && (node2._store.validated = 1) : "object" === typeof node2 && null !== node2 && node2.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node2._payload.status ? isValidElement2(node2._payload.value) && node2._payload.value._store && (node2._payload.value._store.validated = 1) : node2._store && (node2._store.validated = 1));
1929
- }
1930
- __name(validateChildKeys, "validateChildKeys");
1931
- function isValidElement2(object) {
1932
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
1933
- }
1934
- __name(isValidElement2, "isValidElement");
1935
- var React11 = require_react(),
1936
- REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
1937
- REACT_PORTAL_TYPE = Symbol.for("react.portal"),
1938
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
1939
- REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
1940
- REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
1941
- REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
1942
- REACT_CONTEXT_TYPE = Symbol.for("react.context"),
1943
- REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
1944
- REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
1945
- REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
1946
- REACT_MEMO_TYPE = Symbol.for("react.memo"),
1947
- REACT_LAZY_TYPE = Symbol.for("react.lazy"),
1948
- REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
1949
- REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
1950
- ReactSharedInternals = React11.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
1951
- hasOwnProperty = Object.prototype.hasOwnProperty,
1952
- isArrayImpl = Array.isArray,
1953
- createTask = console.createTask ? console.createTask : function () {
1954
- return null;
1955
- };
1956
- React11 = {
1957
- react_stack_bottom_frame: /* @__PURE__ */__name(function (callStackForError) {
1958
- return callStackForError();
1959
- }, "react_stack_bottom_frame")
1960
- };
1961
- var specialPropKeyWarningShown;
1962
- var didWarnAboutElementRef = {};
1963
- var unknownOwnerDebugStack = React11.react_stack_bottom_frame.bind(React11, UnknownOwner)();
1964
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
1965
- var didWarnAboutKeySpread = {};
1966
- exports.Fragment = REACT_FRAGMENT_TYPE;
1967
- exports.jsx = function (type, config, maybeKey) {
1968
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1969
- return jsxDEVImpl(type, config, maybeKey, false, trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
1970
- };
1971
- exports.jsxs = function (type, config, maybeKey) {
1972
- var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1973
- return jsxDEVImpl(type, config, maybeKey, true, trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
1974
- };
1975
- }();
1976
- }
1977
- });
1978
-
1979
- // ../../node_modules/.pnpm/react@19.2.1/node_modules/react/jsx-runtime.js
1980
- var require_jsx_runtime = __commonJS({
1981
- "../../node_modules/.pnpm/react@19.2.1/node_modules/react/jsx-runtime.js"(exports, module) {
1982
- "use strict";
1983
-
1984
- if (process.env.NODE_ENV === "production") {
1985
- module.exports = require_react_jsx_runtime_production();
1986
- } else {
1987
- module.exports = require_react_jsx_runtime_development();
1988
- }
1989
- }
1990
- });
1991
-
1992
448
  // ../../node_modules/.pnpm/@iconify-icon+react@2.3.0_react@19.2.1/node_modules/@iconify-icon/react/dist/iconify.mjs
1993
- var import_react = __toESM(require_react(), 1);
449
+ import React2 from "react";
1994
450
 
1995
451
  // ../../node_modules/.pnpm/iconify-icon@2.3.0/node_modules/iconify-icon/dist/iconify-icon.mjs
1996
452
  var defaultIconDimensions = Object.freeze({
@@ -4119,7 +2575,7 @@ var {
4119
2575
  } = IconifyIconComponent;
4120
2576
 
4121
2577
  // ../../node_modules/.pnpm/@iconify-icon+react@2.3.0_react@19.2.1/node_modules/@iconify-icon/react/dist/iconify.mjs
4122
- var Icon = import_react.default.forwardRef((props, ref) => {
2578
+ var Icon = React2.forwardRef((props, ref) => {
4123
2579
  const newProps = {
4124
2580
  ...props,
4125
2581
  ref
@@ -4133,11 +2589,11 @@ var Icon = import_react.default.forwardRef((props, ref) => {
4133
2589
  if (props.className) {
4134
2590
  newProps["class"] = props.className;
4135
2591
  }
4136
- return import_react.default.createElement("iconify-icon", newProps);
2592
+ return React2.createElement("iconify-icon", newProps);
4137
2593
  });
4138
2594
 
4139
2595
  // ../react-icons/src/Icon.tsx
4140
- var React3 = __toESM(require_react(), 1);
2596
+ import * as React3 from "react";
4141
2597
  var Icon2 = /* @__PURE__ */React3.forwardRef((props, ref) => {
4142
2598
  return /* @__PURE__ */React3.createElement(Icon, {
4143
2599
  ref,
@@ -4148,11 +2604,11 @@ var Icon2 = /* @__PURE__ */React3.forwardRef((props, ref) => {
4148
2604
  Icon2.displayName = "Icon";
4149
2605
 
4150
2606
  // ../ui/src/components/Button.tsx
4151
- var React8 = __toESM(require_react(), 1);
2607
+ import * as React8 from "react";
4152
2608
 
4153
2609
  // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.7_react@19.2.1/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js
4154
- var React5 = __toESM(require_react());
4155
- var import_react4 = __toESM(require_react());
2610
+ import * as React5 from "react";
2611
+ import { useContext as useContext2, forwardRef as forwardRef3 } from "react";
4156
2612
 
4157
2613
  // ../../node_modules/.pnpm/@emotion+sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
4158
2614
  var isDevelopment = false;
@@ -5341,7 +3797,7 @@ function serializeStyles(args, registered, mergedProps) {
5341
3797
  __name(serializeStyles, "serializeStyles");
5342
3798
 
5343
3799
  // ../../node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.2.0_react@19.2.1/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js
5344
- var React4 = __toESM(require_react());
3800
+ import * as React4 from "react";
5345
3801
  var isBrowser3 = typeof document !== "undefined";
5346
3802
  var syncFallback = /* @__PURE__ */__name(function syncFallback2(create) {
5347
3803
  return create();
@@ -5363,15 +3819,15 @@ typeof HTMLElement !== "undefined" ? /* @__PURE__ */createCache({
5363
3819
  }) : null);
5364
3820
  var CacheProvider = EmotionCacheContext.Provider;
5365
3821
  var withEmotionCache = /* @__PURE__ */__name(function withEmotionCache2(func) {
5366
- return /* @__PURE__ */(0, import_react4.forwardRef)(function (props, ref) {
5367
- var cache = (0, import_react4.useContext)(EmotionCacheContext);
3822
+ return /* @__PURE__ */forwardRef3(function (props, ref) {
3823
+ var cache = useContext2(EmotionCacheContext);
5368
3824
  return func(props, cache, ref);
5369
3825
  });
5370
3826
  }, "withEmotionCache");
5371
3827
  if (!isBrowser4) {
5372
3828
  withEmotionCache = /* @__PURE__ */__name(function withEmotionCache3(func) {
5373
3829
  return function (props) {
5374
- var cache = (0, import_react4.useContext)(EmotionCacheContext);
3830
+ var cache = useContext2(EmotionCacheContext);
5375
3831
  if (cache === null) {
5376
3832
  cache = createCache({
5377
3833
  key: "css"
@@ -5457,7 +3913,7 @@ var Emotion = /* @__PURE__ */withEmotionCache(function (props, cache, ref) {
5457
3913
  var Emotion$1 = Emotion;
5458
3914
 
5459
3915
  // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.7_react@19.2.1/node_modules/@emotion/react/dist/emotion-react.esm.js
5460
- var React6 = __toESM(require_react());
3916
+ import * as React6 from "react";
5461
3917
  var import_extends2 = __toESM(require_extends());
5462
3918
  var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
5463
3919
  var jsx = /* @__PURE__ */__name(function jsx2(type, props) {
@@ -5802,8 +4258,8 @@ function parseProps(props) {
5802
4258
  __name(parseProps, "parseProps");
5803
4259
 
5804
4260
  // ../../node_modules/.pnpm/@emotion+react@11.14.0_@types+react@19.2.7_react@19.2.1/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js
5805
- var ReactJSXRuntime = __toESM(require_jsx_runtime());
5806
- var import_react5 = __toESM(require_react());
4261
+ import * as ReactJSXRuntime from "react/jsx-runtime";
4262
+ import "react";
5807
4263
  var import_extends3 = __toESM(require_extends());
5808
4264
  var import_hoist_non_react_statics2 = __toESM(require_hoist_non_react_statics_cjs());
5809
4265
  var jsx4 = /* @__PURE__ */__name(function jsx5(type, props, key) {
@@ -5814,11 +4270,11 @@ var jsx4 = /* @__PURE__ */__name(function jsx5(type, props, key) {
5814
4270
  }, "jsx");
5815
4271
 
5816
4272
  // ../../node_modules/.pnpm/@theme-ui+core@0.17.2_@emotion+react@11.14.0_@types+react@19.2.7_react@19.2.1__react@19.2.1/node_modules/@theme-ui/core/jsx-runtime/dist/theme-ui-core-jsx-runtime.esm.js
5817
- var import_react6 = __toESM(require_react());
4273
+ import { Fragment as Fragment4 } from "react";
5818
4274
  var jsx6 = /* @__PURE__ */__name((type, props, key) => jsx4(type, parseProps(props), key), "jsx");
5819
4275
 
5820
4276
  // ../../node_modules/.pnpm/@theme-ui+components@0.17.2_@emotion+react@11.14.0_@types+react@19.2.7_react@19.2.1__@t_04e34f7905c3166fd726d8f6c6a0914f/node_modules/@theme-ui/components/dist/theme-ui-components.esm.js
5821
- var import_react8 = __toESM(require_react());
4277
+ import React7, { forwardRef as forwardRef4 } from "react";
5822
4278
  var boxSystemProps = [
5823
4279
  // space scale props (inherited from @styled-system/space)
5824
4280
  "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "m", "mt", "mr", "mb", "ml", "mx", "my", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "p", "pt", "pr", "pb", "pl", "px", "py",
@@ -5832,7 +4288,7 @@ var pickSystemProps = /* @__PURE__ */__name(props => {
5832
4288
  }
5833
4289
  return res;
5834
4290
  }, "pickSystemProps");
5835
- var Box$1 = /* @__PURE__ */(0, import_react8.forwardRef)(/* @__PURE__ */__name(function Box(props, ref) {
4291
+ var Box$1 = /* @__PURE__ */forwardRef4(/* @__PURE__ */__name(function Box(props, ref) {
5836
4292
  const theme = useTheme();
5837
4293
  const {
5838
4294
  __themeKey = "variants",
@@ -5863,7 +4319,7 @@ var Box$1 = /* @__PURE__ */(0, import_react8.forwardRef)(/* @__PURE__ */__name(f
5863
4319
  ...rest
5864
4320
  });
5865
4321
  }, "Box"));
5866
- var Flex = /* @__PURE__ */import_react8.default.forwardRef(/* @__PURE__ */__name(function Flex2(props, ref) {
4322
+ var Flex = /* @__PURE__ */React7.forwardRef(/* @__PURE__ */__name(function Flex2(props, ref) {
5867
4323
  const {
5868
4324
  sx
5869
4325
  } = props;
@@ -5891,7 +4347,7 @@ function __internalProps(props) {
5891
4347
  }
5892
4348
  __name(__internalProps, "__internalProps");
5893
4349
  var Box2 = Box$1;
5894
- var Button = /* @__PURE__ */import_react8.default.forwardRef(/* @__PURE__ */__name(function Button2(props, ref) {
4350
+ var Button = /* @__PURE__ */React7.forwardRef(/* @__PURE__ */__name(function Button2(props, ref) {
5895
4351
  return jsx6(Box2, {
5896
4352
  ref,
5897
4353
  as: "button",
@@ -5916,7 +4372,7 @@ var Button = /* @__PURE__ */import_react8.default.forwardRef(/* @__PURE__ */__na
5916
4372
  })
5917
4373
  });
5918
4374
  }, "Button"));
5919
- var Text = /* @__PURE__ */import_react8.default.forwardRef(/* @__PURE__ */__name(function Text2(props, ref) {
4375
+ var Text = /* @__PURE__ */React7.forwardRef(/* @__PURE__ */__name(function Text2(props, ref) {
5920
4376
  return jsx6(Box$1, {
5921
4377
  as: "span",
5922
4378
  ref,
@@ -5927,7 +4383,7 @@ var Text = /* @__PURE__ */import_react8.default.forwardRef(/* @__PURE__ */__name
5927
4383
  })
5928
4384
  });
5929
4385
  }, "Text"));
5930
- var Heading = /* @__PURE__ */import_react8.default.forwardRef(/* @__PURE__ */__name(function Heading2(props, ref) {
4386
+ var Heading = /* @__PURE__ */React7.forwardRef(/* @__PURE__ */__name(function Heading2(props, ref) {
5931
4387
  return jsx6(Box$1, {
5932
4388
  ref,
5933
4389
  as: "h2",
@@ -5943,7 +4399,7 @@ var Heading = /* @__PURE__ */import_react8.default.forwardRef(/* @__PURE__ */__n
5943
4399
  })
5944
4400
  });
5945
4401
  }, "Heading"));
5946
- var Card = /* @__PURE__ */import_react8.default.forwardRef(/* @__PURE__ */__name(function Card2(props, ref) {
4402
+ var Card = /* @__PURE__ */React7.forwardRef(/* @__PURE__ */__name(function Card2(props, ref) {
5947
4403
  return jsx6(Box$1, {
5948
4404
  ref,
5949
4405
  variant: "primary",
@@ -5953,7 +4409,7 @@ var Card = /* @__PURE__ */import_react8.default.forwardRef(/* @__PURE__ */__name
5953
4409
  })
5954
4410
  });
5955
4411
  }, "Card"));
5956
- var SVG = /* @__PURE__ */import_react8.default.forwardRef(/* @__PURE__ */__name(function SVG2({
4412
+ var SVG = /* @__PURE__ */React7.forwardRef(/* @__PURE__ */__name(function SVG2({
5957
4413
  size = 24,
5958
4414
  ...rest
5959
4415
  }, ref) {
@@ -6025,7 +4481,7 @@ var Button3 = /* @__PURE__ */React8.forwardRef((props, ref) => {
6025
4481
  Button3.displayName = "Button";
6026
4482
 
6027
4483
  // ../ui/src/components/Card.tsx
6028
- var React9 = __toESM(require_react(), 1);
4484
+ import * as React9 from "react";
6029
4485
  var Card3 = /* @__PURE__ */__name(props => {
6030
4486
  return /* @__PURE__ */React9.createElement(Card, {
6031
4487
  ...props,
@@ -6105,7 +4561,7 @@ var Stack = /* @__PURE__ */__name(props => {
6105
4561
  }, "Stack");
6106
4562
 
6107
4563
  // ../../node_modules/.pnpm/@theme-ui+match-media@0.17.2_@theme-ui+core@0.17.2_@emotion+react@11.14.0_@types+react@_f8d5d2a429d84d480c0e8367788be412/node_modules/@theme-ui/match-media/dist/theme-ui-match-media.esm.js
6108
- var import_react9 = __toESM(require_react());
4564
+ import { useState, useEffect } from "react";
6109
4565
 
6110
4566
  // src/components/PlanCardCtaSlot.tsx
6111
4567
  var PlanCardCtaSlot = /* @__PURE__ */__name(({
@@ -6139,7 +4595,7 @@ var PlanCardCtaSlot = /* @__PURE__ */__name(({
6139
4595
  }, "PlanCardCtaSlot");
6140
4596
 
6141
4597
  // src/components/PlanCardFeaturesSlot.tsx
6142
- var React10 = __toESM(require_react(), 1);
4598
+ import * as React10 from "react";
6143
4599
  var featuresTitle = "RECURSOS";
6144
4600
  var PlanCardFeaturesSlot = /* @__PURE__ */__name(({
6145
4601
  features,
@@ -6367,7 +4823,7 @@ var PlanCard = /* @__PURE__ */__name(props => {
6367
4823
  sx: {
6368
4824
  width: "full",
6369
4825
  maxWidth: "410px",
6370
- backgroundColor: variant === "enterprise" ? "action.background.primary.default" : "display.background.primary.default",
4826
+ backgroundColor: variant === "enterprise" ? "display.background.primary.active" : "display.background.primary.default",
6371
4827
  ...cardProps.sx
6372
4828
  }
6373
4829
  }, props.topTag && /* @__PURE__ */React.createElement(PlanCardTopTagSlot, {
@@ -6400,28 +4856,6 @@ var PlanCard = /* @__PURE__ */__name(props => {
6400
4856
  export { PlanCard };
6401
4857
  /*! Bundled license information:
6402
4858
 
6403
- react/cjs/react.production.js:
6404
- (**
6405
- * @license React
6406
- * react.production.js
6407
- *
6408
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6409
- *
6410
- * This source code is licensed under the MIT license found in the
6411
- * LICENSE file in the root directory of this source tree.
6412
- *)
6413
-
6414
- react/cjs/react.development.js:
6415
- (**
6416
- * @license React
6417
- * react.development.js
6418
- *
6419
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6420
- *
6421
- * This source code is licensed under the MIT license found in the
6422
- * LICENSE file in the root directory of this source tree.
6423
- *)
6424
-
6425
4859
  react-is/cjs/react-is.production.min.js:
6426
4860
  (** @license React v16.13.1
6427
4861
  * react-is.production.min.js
@@ -6442,28 +4876,6 @@ react-is/cjs/react-is.development.js:
6442
4876
  * LICENSE file in the root directory of this source tree.
6443
4877
  *)
6444
4878
 
6445
- react/cjs/react-jsx-runtime.production.js:
6446
- (**
6447
- * @license React
6448
- * react-jsx-runtime.production.js
6449
- *
6450
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6451
- *
6452
- * This source code is licensed under the MIT license found in the
6453
- * LICENSE file in the root directory of this source tree.
6454
- *)
6455
-
6456
- react/cjs/react-jsx-runtime.development.js:
6457
- (**
6458
- * @license React
6459
- * react-jsx-runtime.development.js
6460
- *
6461
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6462
- *
6463
- * This source code is licensed under the MIT license found in the
6464
- * LICENSE file in the root directory of this source tree.
6465
- *)
6466
-
6467
4879
  iconify-icon/dist/iconify-icon.mjs:
6468
4880
  (**
6469
4881
  * (c) Iconify