@w3ux/factories 2.2.0 → 2.2.2
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/index.cjs +153 -130
- package/index.cjs.map +1 -0
- package/index.js +153 -130
- package/index.js.map +1 -0
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
));
|
|
31
31
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
32
32
|
|
|
33
|
-
// ../../node_modules/.pnpm/react@19.
|
|
33
|
+
// ../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.production.js
|
|
34
34
|
var require_react_jsx_runtime_production = __commonJS({
|
|
35
|
-
"../../node_modules/.pnpm/react@19.
|
|
35
|
+
"../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.production.js"(exports2) {
|
|
36
36
|
"use strict";
|
|
37
37
|
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
38
38
|
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
@@ -60,9 +60,9 @@ var require_react_jsx_runtime_production = __commonJS({
|
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
62
|
|
|
63
|
-
// ../../node_modules/.pnpm/react@19.
|
|
63
|
+
// ../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.production.js
|
|
64
64
|
var require_react_production = __commonJS({
|
|
65
|
-
"../../node_modules/.pnpm/react@19.
|
|
65
|
+
"../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.production.js"(exports2) {
|
|
66
66
|
"use strict";
|
|
67
67
|
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
68
68
|
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
@@ -75,6 +75,7 @@ var require_react_production = __commonJS({
|
|
|
75
75
|
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
76
76
|
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
77
77
|
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
78
|
+
var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
|
|
78
79
|
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
79
80
|
function getIteratorFn(maybeIterable) {
|
|
80
81
|
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
@@ -125,27 +126,22 @@ var require_react_production = __commonJS({
|
|
|
125
126
|
assign(pureComponentPrototype, Component.prototype);
|
|
126
127
|
pureComponentPrototype.isPureReactComponent = true;
|
|
127
128
|
var isArrayImpl = Array.isArray;
|
|
128
|
-
|
|
129
|
+
function noop() {
|
|
130
|
+
}
|
|
131
|
+
var ReactSharedInternals = { H: null, A: null, T: null, S: null };
|
|
129
132
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
130
|
-
function ReactElement(type, key,
|
|
131
|
-
|
|
133
|
+
function ReactElement(type, key, props) {
|
|
134
|
+
var refProp = props.ref;
|
|
132
135
|
return {
|
|
133
136
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
134
137
|
type,
|
|
135
138
|
key,
|
|
136
|
-
ref: void 0 !==
|
|
139
|
+
ref: void 0 !== refProp ? refProp : null,
|
|
137
140
|
props
|
|
138
141
|
};
|
|
139
142
|
}
|
|
140
143
|
function cloneAndReplaceKey(oldElement, newKey) {
|
|
141
|
-
return ReactElement(
|
|
142
|
-
oldElement.type,
|
|
143
|
-
newKey,
|
|
144
|
-
void 0,
|
|
145
|
-
void 0,
|
|
146
|
-
void 0,
|
|
147
|
-
oldElement.props
|
|
148
|
-
);
|
|
144
|
+
return ReactElement(oldElement.type, newKey, oldElement.props);
|
|
149
145
|
}
|
|
150
146
|
function isValidElement(object) {
|
|
151
147
|
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
@@ -160,8 +156,6 @@ var require_react_production = __commonJS({
|
|
|
160
156
|
function getElementKey(element, index) {
|
|
161
157
|
return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
|
|
162
158
|
}
|
|
163
|
-
function noop$1() {
|
|
164
|
-
}
|
|
165
159
|
function resolveThenable(thenable) {
|
|
166
160
|
switch (thenable.status) {
|
|
167
161
|
case "fulfilled":
|
|
@@ -169,7 +163,7 @@ var require_react_production = __commonJS({
|
|
|
169
163
|
case "rejected":
|
|
170
164
|
throw thenable.reason;
|
|
171
165
|
default:
|
|
172
|
-
switch ("string" === typeof thenable.status ? thenable.then(noop
|
|
166
|
+
switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
|
|
173
167
|
function(fulfilledValue) {
|
|
174
168
|
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
175
169
|
},
|
|
@@ -301,9 +295,7 @@ var require_react_production = __commonJS({
|
|
|
301
295
|
}
|
|
302
296
|
console.error(error);
|
|
303
297
|
};
|
|
304
|
-
|
|
305
|
-
}
|
|
306
|
-
exports2.Children = {
|
|
298
|
+
var Children = {
|
|
307
299
|
map: mapChildren,
|
|
308
300
|
forEach: function(children, forEachFunc, forEachContext) {
|
|
309
301
|
mapChildren(
|
|
@@ -334,6 +326,8 @@ var require_react_production = __commonJS({
|
|
|
334
326
|
return children;
|
|
335
327
|
}
|
|
336
328
|
};
|
|
329
|
+
exports2.Activity = REACT_ACTIVITY_TYPE;
|
|
330
|
+
exports2.Children = Children;
|
|
337
331
|
exports2.Component = Component;
|
|
338
332
|
exports2.Fragment = REACT_FRAGMENT_TYPE;
|
|
339
333
|
exports2.Profiler = REACT_PROFILER_TYPE;
|
|
@@ -352,14 +346,17 @@ var require_react_production = __commonJS({
|
|
|
352
346
|
return fn.apply(null, arguments);
|
|
353
347
|
};
|
|
354
348
|
};
|
|
349
|
+
exports2.cacheSignal = function() {
|
|
350
|
+
return null;
|
|
351
|
+
};
|
|
355
352
|
exports2.cloneElement = function(element, config, children) {
|
|
356
353
|
if (null === element || void 0 === element)
|
|
357
354
|
throw Error(
|
|
358
355
|
"The argument must be a React element, but you passed " + element + "."
|
|
359
356
|
);
|
|
360
|
-
var props = assign({}, element.props), key = element.key
|
|
357
|
+
var props = assign({}, element.props), key = element.key;
|
|
361
358
|
if (null != config)
|
|
362
|
-
for (propName in void 0 !== config.
|
|
359
|
+
for (propName in void 0 !== config.key && (key = "" + config.key), config)
|
|
363
360
|
!hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
|
|
364
361
|
var propName = arguments.length - 2;
|
|
365
362
|
if (1 === propName) props.children = children;
|
|
@@ -368,7 +365,7 @@ var require_react_production = __commonJS({
|
|
|
368
365
|
childArray[i] = arguments[i + 2];
|
|
369
366
|
props.children = childArray;
|
|
370
367
|
}
|
|
371
|
-
return ReactElement(element.type, key,
|
|
368
|
+
return ReactElement(element.type, key, props);
|
|
372
369
|
};
|
|
373
370
|
exports2.createContext = function(defaultValue) {
|
|
374
371
|
defaultValue = {
|
|
@@ -401,7 +398,7 @@ var require_react_production = __commonJS({
|
|
|
401
398
|
if (type && type.defaultProps)
|
|
402
399
|
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
403
400
|
void 0 === props[propName] && (props[propName] = childrenLength[propName]);
|
|
404
|
-
return ReactElement(type, key,
|
|
401
|
+
return ReactElement(type, key, props);
|
|
405
402
|
};
|
|
406
403
|
exports2.createRef = function() {
|
|
407
404
|
return { current: null };
|
|
@@ -434,7 +431,7 @@ var require_react_production = __commonJS({
|
|
|
434
431
|
} catch (error) {
|
|
435
432
|
reportGlobalError(error);
|
|
436
433
|
} finally {
|
|
437
|
-
ReactSharedInternals.T = prevTransition;
|
|
434
|
+
null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
438
435
|
}
|
|
439
436
|
};
|
|
440
437
|
exports2.unstable_useCacheRefresh = function() {
|
|
@@ -457,13 +454,11 @@ var require_react_production = __commonJS({
|
|
|
457
454
|
exports2.useDeferredValue = function(value, initialValue) {
|
|
458
455
|
return ReactSharedInternals.H.useDeferredValue(value, initialValue);
|
|
459
456
|
};
|
|
460
|
-
exports2.useEffect = function(create,
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
);
|
|
466
|
-
return dispatcher.useEffect(create, createDeps);
|
|
457
|
+
exports2.useEffect = function(create, deps) {
|
|
458
|
+
return ReactSharedInternals.H.useEffect(create, deps);
|
|
459
|
+
};
|
|
460
|
+
exports2.useEffectEvent = function(callback) {
|
|
461
|
+
return ReactSharedInternals.H.useEffectEvent(callback);
|
|
467
462
|
};
|
|
468
463
|
exports2.useId = function() {
|
|
469
464
|
return ReactSharedInternals.H.useId();
|
|
@@ -502,15 +497,15 @@ var require_react_production = __commonJS({
|
|
|
502
497
|
exports2.useTransition = function() {
|
|
503
498
|
return ReactSharedInternals.H.useTransition();
|
|
504
499
|
};
|
|
505
|
-
exports2.version = "19.
|
|
500
|
+
exports2.version = "19.2.4";
|
|
506
501
|
}
|
|
507
502
|
});
|
|
508
503
|
|
|
509
|
-
// ../../node_modules/.pnpm/react@19.
|
|
504
|
+
// ../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.development.js
|
|
510
505
|
var require_react_development = __commonJS({
|
|
511
|
-
"../../node_modules/.pnpm/react@19.
|
|
506
|
+
"../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react.development.js"(exports2, module2) {
|
|
512
507
|
"use strict";
|
|
513
|
-
"production" !== process.env.NODE_ENV && function() {
|
|
508
|
+
"production" !== process.env.NODE_ENV && (function() {
|
|
514
509
|
function defineDeprecationWarning(methodName, info) {
|
|
515
510
|
Object.defineProperty(Component.prototype, methodName, {
|
|
516
511
|
get: function() {
|
|
@@ -551,6 +546,8 @@ var require_react_development = __commonJS({
|
|
|
551
546
|
this.refs = emptyObject;
|
|
552
547
|
this.updater = updater || ReactNoopUpdateQueue;
|
|
553
548
|
}
|
|
549
|
+
function noop() {
|
|
550
|
+
}
|
|
554
551
|
function testStringCoercion(value) {
|
|
555
552
|
return "" + value;
|
|
556
553
|
}
|
|
@@ -599,7 +596,7 @@ var require_react_development = __commonJS({
|
|
|
599
596
|
case REACT_PORTAL_TYPE:
|
|
600
597
|
return "Portal";
|
|
601
598
|
case REACT_CONTEXT_TYPE:
|
|
602
|
-
return
|
|
599
|
+
return type.displayName || "Context";
|
|
603
600
|
case REACT_CONSUMER_TYPE:
|
|
604
601
|
return (type._context.displayName || "Context") + ".Consumer";
|
|
605
602
|
case REACT_FORWARD_REF_TYPE:
|
|
@@ -665,8 +662,8 @@ var require_react_development = __commonJS({
|
|
|
665
662
|
componentName = this.props.ref;
|
|
666
663
|
return void 0 !== componentName ? componentName : null;
|
|
667
664
|
}
|
|
668
|
-
function ReactElement(type, key,
|
|
669
|
-
|
|
665
|
+
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
|
666
|
+
var refProp = props.ref;
|
|
670
667
|
type = {
|
|
671
668
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
672
669
|
type,
|
|
@@ -674,7 +671,7 @@ var require_react_development = __commonJS({
|
|
|
674
671
|
props,
|
|
675
672
|
_owner: owner
|
|
676
673
|
};
|
|
677
|
-
null !== (void 0 !==
|
|
674
|
+
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
|
|
678
675
|
enumerable: false,
|
|
679
676
|
get: elementRefGetterWithDeprecationWarning
|
|
680
677
|
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
@@ -710,16 +707,17 @@ var require_react_development = __commonJS({
|
|
|
710
707
|
newKey = ReactElement(
|
|
711
708
|
oldElement.type,
|
|
712
709
|
newKey,
|
|
713
|
-
void 0,
|
|
714
|
-
void 0,
|
|
715
|
-
oldElement._owner,
|
|
716
710
|
oldElement.props,
|
|
711
|
+
oldElement._owner,
|
|
717
712
|
oldElement._debugStack,
|
|
718
713
|
oldElement._debugTask
|
|
719
714
|
);
|
|
720
715
|
oldElement._store && (newKey._store.validated = oldElement._store.validated);
|
|
721
716
|
return newKey;
|
|
722
717
|
}
|
|
718
|
+
function validateChildKeys(node) {
|
|
719
|
+
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));
|
|
720
|
+
}
|
|
723
721
|
function isValidElement(object) {
|
|
724
722
|
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
725
723
|
}
|
|
@@ -732,8 +730,6 @@ var require_react_development = __commonJS({
|
|
|
732
730
|
function getElementKey(element, index) {
|
|
733
731
|
return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
|
|
734
732
|
}
|
|
735
|
-
function noop$1() {
|
|
736
|
-
}
|
|
737
733
|
function resolveThenable(thenable) {
|
|
738
734
|
switch (thenable.status) {
|
|
739
735
|
case "fulfilled":
|
|
@@ -741,7 +737,7 @@ var require_react_development = __commonJS({
|
|
|
741
737
|
case "rejected":
|
|
742
738
|
throw thenable.reason;
|
|
743
739
|
default:
|
|
744
|
-
switch ("string" === typeof thenable.status ? thenable.then(noop
|
|
740
|
+
switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
|
|
745
741
|
function(fulfilledValue) {
|
|
746
742
|
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
747
743
|
},
|
|
@@ -848,28 +844,46 @@ var require_react_development = __commonJS({
|
|
|
848
844
|
}
|
|
849
845
|
function lazyInitializer(payload) {
|
|
850
846
|
if (-1 === payload._status) {
|
|
851
|
-
var
|
|
852
|
-
|
|
853
|
-
|
|
847
|
+
var ioInfo = payload._ioInfo;
|
|
848
|
+
null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
|
|
849
|
+
ioInfo = payload._result;
|
|
850
|
+
var thenable = ioInfo();
|
|
851
|
+
thenable.then(
|
|
854
852
|
function(moduleObject) {
|
|
855
|
-
if (0 === payload._status || -1 === payload._status)
|
|
856
|
-
payload._status = 1
|
|
853
|
+
if (0 === payload._status || -1 === payload._status) {
|
|
854
|
+
payload._status = 1;
|
|
855
|
+
payload._result = moduleObject;
|
|
856
|
+
var _ioInfo = payload._ioInfo;
|
|
857
|
+
null != _ioInfo && (_ioInfo.end = performance.now());
|
|
858
|
+
void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
|
|
859
|
+
}
|
|
857
860
|
},
|
|
858
861
|
function(error) {
|
|
859
|
-
if (0 === payload._status || -1 === payload._status)
|
|
860
|
-
payload._status = 2
|
|
862
|
+
if (0 === payload._status || -1 === payload._status) {
|
|
863
|
+
payload._status = 2;
|
|
864
|
+
payload._result = error;
|
|
865
|
+
var _ioInfo2 = payload._ioInfo;
|
|
866
|
+
null != _ioInfo2 && (_ioInfo2.end = performance.now());
|
|
867
|
+
void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
|
868
|
+
}
|
|
861
869
|
}
|
|
862
870
|
);
|
|
863
|
-
|
|
871
|
+
ioInfo = payload._ioInfo;
|
|
872
|
+
if (null != ioInfo) {
|
|
873
|
+
ioInfo.value = thenable;
|
|
874
|
+
var displayName = thenable.displayName;
|
|
875
|
+
"string" === typeof displayName && (ioInfo.name = displayName);
|
|
876
|
+
}
|
|
877
|
+
-1 === payload._status && (payload._status = 0, payload._result = thenable);
|
|
864
878
|
}
|
|
865
879
|
if (1 === payload._status)
|
|
866
|
-
return
|
|
880
|
+
return ioInfo = payload._result, void 0 === ioInfo && console.error(
|
|
867
881
|
"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?",
|
|
868
|
-
|
|
869
|
-
), "default" in
|
|
882
|
+
ioInfo
|
|
883
|
+
), "default" in ioInfo || console.error(
|
|
870
884
|
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
|
|
871
|
-
|
|
872
|
-
),
|
|
885
|
+
ioInfo
|
|
886
|
+
), ioInfo.default;
|
|
873
887
|
throw payload._result;
|
|
874
888
|
}
|
|
875
889
|
function resolveDispatcher() {
|
|
@@ -879,7 +893,8 @@ var require_react_development = __commonJS({
|
|
|
879
893
|
);
|
|
880
894
|
return dispatcher;
|
|
881
895
|
}
|
|
882
|
-
function
|
|
896
|
+
function releaseAsyncTransition() {
|
|
897
|
+
ReactSharedInternals.asyncTransitions--;
|
|
883
898
|
}
|
|
884
899
|
function enqueueTask(task) {
|
|
885
900
|
if (null === enqueueTaskImpl)
|
|
@@ -955,9 +970,7 @@ var require_react_development = __commonJS({
|
|
|
955
970
|
}
|
|
956
971
|
}
|
|
957
972
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
958
|
-
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler")
|
|
959
|
-
Symbol.for("react.provider");
|
|
960
|
-
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
|
|
973
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
|
|
961
974
|
isMounted: function() {
|
|
962
975
|
return false;
|
|
963
976
|
},
|
|
@@ -992,7 +1005,7 @@ var require_react_development = __commonJS({
|
|
|
992
1005
|
"replaceState",
|
|
993
1006
|
"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
|
|
994
1007
|
]
|
|
995
|
-
}
|
|
1008
|
+
};
|
|
996
1009
|
for (fnName in deprecatedAPIs)
|
|
997
1010
|
deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
|
998
1011
|
ComponentDummy.prototype = Component.prototype;
|
|
@@ -1005,8 +1018,8 @@ var require_react_development = __commonJS({
|
|
|
1005
1018
|
A: null,
|
|
1006
1019
|
T: null,
|
|
1007
1020
|
S: null,
|
|
1008
|
-
V: null,
|
|
1009
1021
|
actQueue: null,
|
|
1022
|
+
asyncTransitions: 0,
|
|
1010
1023
|
isBatchingLegacy: false,
|
|
1011
1024
|
didScheduleLegacyUpdate: false,
|
|
1012
1025
|
didUsePromise: false,
|
|
@@ -1017,13 +1030,16 @@ var require_react_development = __commonJS({
|
|
|
1017
1030
|
return null;
|
|
1018
1031
|
};
|
|
1019
1032
|
deprecatedAPIs = {
|
|
1020
|
-
|
|
1033
|
+
react_stack_bottom_frame: function(callStackForError) {
|
|
1021
1034
|
return callStackForError();
|
|
1022
1035
|
}
|
|
1023
1036
|
};
|
|
1024
1037
|
var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
|
|
1025
1038
|
var didWarnAboutElementRef = {};
|
|
1026
|
-
var unknownOwnerDebugStack = deprecatedAPIs
|
|
1039
|
+
var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
|
|
1040
|
+
deprecatedAPIs,
|
|
1041
|
+
UnknownOwner
|
|
1042
|
+
)();
|
|
1027
1043
|
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
1028
1044
|
var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
|
|
1029
1045
|
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
@@ -1050,7 +1066,7 @@ var require_react_development = __commonJS({
|
|
|
1050
1066
|
return resolveDispatcher().useMemoCache(size);
|
|
1051
1067
|
}
|
|
1052
1068
|
});
|
|
1053
|
-
|
|
1069
|
+
var fnName = {
|
|
1054
1070
|
map: mapChildren,
|
|
1055
1071
|
forEach: function(children, forEachFunc, forEachContext) {
|
|
1056
1072
|
mapChildren(
|
|
@@ -1081,6 +1097,8 @@ var require_react_development = __commonJS({
|
|
|
1081
1097
|
return children;
|
|
1082
1098
|
}
|
|
1083
1099
|
};
|
|
1100
|
+
exports2.Activity = REACT_ACTIVITY_TYPE;
|
|
1101
|
+
exports2.Children = fnName;
|
|
1084
1102
|
exports2.Component = Component;
|
|
1085
1103
|
exports2.Fragment = REACT_FRAGMENT_TYPE;
|
|
1086
1104
|
exports2.Profiler = REACT_PROFILER_TYPE;
|
|
@@ -1171,6 +1189,9 @@ var require_react_development = __commonJS({
|
|
|
1171
1189
|
return fn.apply(null, arguments);
|
|
1172
1190
|
};
|
|
1173
1191
|
};
|
|
1192
|
+
exports2.cacheSignal = function() {
|
|
1193
|
+
return null;
|
|
1194
|
+
};
|
|
1174
1195
|
exports2.captureOwnerStack = function() {
|
|
1175
1196
|
var getCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
1176
1197
|
return null === getCurrentStack ? null : getCurrentStack();
|
|
@@ -1209,15 +1230,13 @@ var require_react_development = __commonJS({
|
|
|
1209
1230
|
props = ReactElement(
|
|
1210
1231
|
element.type,
|
|
1211
1232
|
key,
|
|
1212
|
-
void 0,
|
|
1213
|
-
void 0,
|
|
1214
|
-
owner,
|
|
1215
1233
|
props,
|
|
1234
|
+
owner,
|
|
1216
1235
|
element._debugStack,
|
|
1217
1236
|
element._debugTask
|
|
1218
1237
|
);
|
|
1219
1238
|
for (key = 2; key < arguments.length; key++)
|
|
1220
|
-
|
|
1239
|
+
validateChildKeys(arguments[key]);
|
|
1221
1240
|
return props;
|
|
1222
1241
|
};
|
|
1223
1242
|
exports2.createContext = function(defaultValue) {
|
|
@@ -1239,16 +1258,14 @@ var require_react_development = __commonJS({
|
|
|
1239
1258
|
return defaultValue;
|
|
1240
1259
|
};
|
|
1241
1260
|
exports2.createElement = function(type, config, children) {
|
|
1242
|
-
for (var i = 2; i < arguments.length; i++)
|
|
1243
|
-
|
|
1244
|
-
isValidElement(node) && node._store && (node._store.validated = 1);
|
|
1245
|
-
}
|
|
1261
|
+
for (var i = 2; i < arguments.length; i++)
|
|
1262
|
+
validateChildKeys(arguments[i]);
|
|
1246
1263
|
i = {};
|
|
1247
|
-
|
|
1264
|
+
var key = null;
|
|
1248
1265
|
if (null != config)
|
|
1249
1266
|
for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
|
|
1250
1267
|
"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"
|
|
1251
|
-
)), hasValidKey(config) && (checkKeyStringCoercion(config.key),
|
|
1268
|
+
)), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config)
|
|
1252
1269
|
hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
|
|
1253
1270
|
var childrenLength = arguments.length - 2;
|
|
1254
1271
|
if (1 === childrenLength) i.children = children;
|
|
@@ -1261,18 +1278,16 @@ var require_react_development = __commonJS({
|
|
|
1261
1278
|
if (type && type.defaultProps)
|
|
1262
1279
|
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
1263
1280
|
void 0 === i[propName] && (i[propName] = childrenLength[propName]);
|
|
1264
|
-
|
|
1281
|
+
key && defineKeyPropWarningGetter(
|
|
1265
1282
|
i,
|
|
1266
1283
|
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
|
|
1267
1284
|
);
|
|
1268
1285
|
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1269
1286
|
return ReactElement(
|
|
1270
1287
|
type,
|
|
1271
|
-
|
|
1272
|
-
void 0,
|
|
1273
|
-
void 0,
|
|
1274
|
-
getOwner(),
|
|
1288
|
+
key,
|
|
1275
1289
|
i,
|
|
1290
|
+
getOwner(),
|
|
1276
1291
|
propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
1277
1292
|
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1278
1293
|
);
|
|
@@ -1311,11 +1326,23 @@ var require_react_development = __commonJS({
|
|
|
1311
1326
|
};
|
|
1312
1327
|
exports2.isValidElement = isValidElement;
|
|
1313
1328
|
exports2.lazy = function(ctor) {
|
|
1314
|
-
|
|
1329
|
+
ctor = { _status: -1, _result: ctor };
|
|
1330
|
+
var lazyType = {
|
|
1315
1331
|
$$typeof: REACT_LAZY_TYPE,
|
|
1316
|
-
_payload:
|
|
1332
|
+
_payload: ctor,
|
|
1317
1333
|
_init: lazyInitializer
|
|
1334
|
+
}, ioInfo = {
|
|
1335
|
+
name: "lazy",
|
|
1336
|
+
start: -1,
|
|
1337
|
+
end: -1,
|
|
1338
|
+
value: null,
|
|
1339
|
+
owner: null,
|
|
1340
|
+
debugStack: Error("react-stack-top-frame"),
|
|
1341
|
+
debugTask: console.createTask ? console.createTask("lazy()") : null
|
|
1318
1342
|
};
|
|
1343
|
+
ctor._ioInfo = ioInfo;
|
|
1344
|
+
lazyType._debugInfo = [{ awaited: ioInfo }];
|
|
1345
|
+
return lazyType;
|
|
1319
1346
|
};
|
|
1320
1347
|
exports2.memo = function(type, compare) {
|
|
1321
1348
|
null == type && console.error(
|
|
@@ -1343,18 +1370,20 @@ var require_react_development = __commonJS({
|
|
|
1343
1370
|
};
|
|
1344
1371
|
exports2.startTransition = function(scope) {
|
|
1345
1372
|
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
1346
|
-
ReactSharedInternals.T = currentTransition;
|
|
1347
1373
|
currentTransition._updatedFibers = /* @__PURE__ */ new Set();
|
|
1374
|
+
ReactSharedInternals.T = currentTransition;
|
|
1348
1375
|
try {
|
|
1349
1376
|
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
1350
1377
|
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
1351
|
-
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
|
|
1378
|
+
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
|
|
1352
1379
|
} catch (error) {
|
|
1353
1380
|
reportGlobalError(error);
|
|
1354
1381
|
} finally {
|
|
1355
1382
|
null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
|
|
1356
1383
|
"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."
|
|
1357
|
-
)),
|
|
1384
|
+
)), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
|
|
1385
|
+
"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."
|
|
1386
|
+
), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
1358
1387
|
}
|
|
1359
1388
|
};
|
|
1360
1389
|
exports2.unstable_useCacheRefresh = function() {
|
|
@@ -1386,16 +1415,14 @@ var require_react_development = __commonJS({
|
|
|
1386
1415
|
exports2.useDeferredValue = function(value, initialValue) {
|
|
1387
1416
|
return resolveDispatcher().useDeferredValue(value, initialValue);
|
|
1388
1417
|
};
|
|
1389
|
-
exports2.useEffect = function(create,
|
|
1418
|
+
exports2.useEffect = function(create, deps) {
|
|
1390
1419
|
null == create && console.warn(
|
|
1391
1420
|
"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
1392
1421
|
);
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
);
|
|
1398
|
-
return dispatcher.useEffect(create, createDeps);
|
|
1422
|
+
return resolveDispatcher().useEffect(create, deps);
|
|
1423
|
+
};
|
|
1424
|
+
exports2.useEffectEvent = function(callback) {
|
|
1425
|
+
return resolveDispatcher().useEffectEvent(callback);
|
|
1399
1426
|
};
|
|
1400
1427
|
exports2.useId = function() {
|
|
1401
1428
|
return resolveDispatcher().useId();
|
|
@@ -1440,15 +1467,15 @@ var require_react_development = __commonJS({
|
|
|
1440
1467
|
exports2.useTransition = function() {
|
|
1441
1468
|
return resolveDispatcher().useTransition();
|
|
1442
1469
|
};
|
|
1443
|
-
exports2.version = "19.
|
|
1470
|
+
exports2.version = "19.2.4";
|
|
1444
1471
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1445
|
-
}();
|
|
1472
|
+
})();
|
|
1446
1473
|
}
|
|
1447
1474
|
});
|
|
1448
1475
|
|
|
1449
|
-
// ../../node_modules/.pnpm/react@19.
|
|
1476
|
+
// ../../node_modules/.pnpm/react@19.2.4/node_modules/react/index.js
|
|
1450
1477
|
var require_react = __commonJS({
|
|
1451
|
-
"../../node_modules/.pnpm/react@19.
|
|
1478
|
+
"../../node_modules/.pnpm/react@19.2.4/node_modules/react/index.js"(exports2, module2) {
|
|
1452
1479
|
"use strict";
|
|
1453
1480
|
if (process.env.NODE_ENV === "production") {
|
|
1454
1481
|
module2.exports = require_react_production();
|
|
@@ -1458,11 +1485,11 @@ var require_react = __commonJS({
|
|
|
1458
1485
|
}
|
|
1459
1486
|
});
|
|
1460
1487
|
|
|
1461
|
-
// ../../node_modules/.pnpm/react@19.
|
|
1488
|
+
// ../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
1462
1489
|
var require_react_jsx_runtime_development = __commonJS({
|
|
1463
|
-
"../../node_modules/.pnpm/react@19.
|
|
1490
|
+
"../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.development.js"(exports2) {
|
|
1464
1491
|
"use strict";
|
|
1465
|
-
"production" !== process.env.NODE_ENV && function() {
|
|
1492
|
+
"production" !== process.env.NODE_ENV && (function() {
|
|
1466
1493
|
function getComponentNameFromType(type) {
|
|
1467
1494
|
if (null == type) return null;
|
|
1468
1495
|
if ("function" === typeof type)
|
|
@@ -1489,7 +1516,7 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
1489
1516
|
case REACT_PORTAL_TYPE:
|
|
1490
1517
|
return "Portal";
|
|
1491
1518
|
case REACT_CONTEXT_TYPE:
|
|
1492
|
-
return
|
|
1519
|
+
return type.displayName || "Context";
|
|
1493
1520
|
case REACT_CONSUMER_TYPE:
|
|
1494
1521
|
return (type._context.displayName || "Context") + ".Consumer";
|
|
1495
1522
|
case REACT_FORWARD_REF_TYPE:
|
|
@@ -1577,8 +1604,8 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
1577
1604
|
componentName = this.props.ref;
|
|
1578
1605
|
return void 0 !== componentName ? componentName : null;
|
|
1579
1606
|
}
|
|
1580
|
-
function ReactElement(type, key,
|
|
1581
|
-
|
|
1607
|
+
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
|
1608
|
+
var refProp = props.ref;
|
|
1582
1609
|
type = {
|
|
1583
1610
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
1584
1611
|
type,
|
|
@@ -1586,7 +1613,7 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
1586
1613
|
props,
|
|
1587
1614
|
_owner: owner
|
|
1588
1615
|
};
|
|
1589
|
-
null !== (void 0 !==
|
|
1616
|
+
null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
|
|
1590
1617
|
enumerable: false,
|
|
1591
1618
|
get: elementRefGetterWithDeprecationWarning
|
|
1592
1619
|
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
|
@@ -1618,7 +1645,7 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
1618
1645
|
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
1619
1646
|
return type;
|
|
1620
1647
|
}
|
|
1621
|
-
function jsxDEVImpl(type, config, maybeKey, isStaticChildren,
|
|
1648
|
+
function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
|
|
1622
1649
|
var children = config.children;
|
|
1623
1650
|
if (void 0 !== children)
|
|
1624
1651
|
if (isStaticChildren)
|
|
@@ -1660,69 +1687,64 @@ var require_react_jsx_runtime_development = __commonJS({
|
|
|
1660
1687
|
return ReactElement(
|
|
1661
1688
|
type,
|
|
1662
1689
|
children,
|
|
1663
|
-
self,
|
|
1664
|
-
source,
|
|
1665
|
-
getOwner(),
|
|
1666
1690
|
maybeKey,
|
|
1691
|
+
getOwner(),
|
|
1667
1692
|
debugStack,
|
|
1668
1693
|
debugTask
|
|
1669
1694
|
);
|
|
1670
1695
|
}
|
|
1671
1696
|
function validateChildKeys(node) {
|
|
1672
|
-
"object" === typeof node && null !== node && node.$$typeof ===
|
|
1697
|
+
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));
|
|
1698
|
+
}
|
|
1699
|
+
function isValidElement(object) {
|
|
1700
|
+
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
1673
1701
|
}
|
|
1674
|
-
var React = require_react(), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler")
|
|
1675
|
-
Symbol.for("react.provider");
|
|
1676
|
-
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
|
|
1702
|
+
var React = require_react(), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
|
|
1677
1703
|
return null;
|
|
1678
1704
|
};
|
|
1679
1705
|
React = {
|
|
1680
|
-
|
|
1706
|
+
react_stack_bottom_frame: function(callStackForError) {
|
|
1681
1707
|
return callStackForError();
|
|
1682
1708
|
}
|
|
1683
1709
|
};
|
|
1684
1710
|
var specialPropKeyWarningShown;
|
|
1685
1711
|
var didWarnAboutElementRef = {};
|
|
1686
|
-
var unknownOwnerDebugStack = React
|
|
1712
|
+
var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
|
|
1687
1713
|
React,
|
|
1688
1714
|
UnknownOwner
|
|
1689
1715
|
)();
|
|
1690
1716
|
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
1691
1717
|
var didWarnAboutKeySpread = {};
|
|
1692
1718
|
exports2.Fragment = REACT_FRAGMENT_TYPE;
|
|
1693
|
-
exports2.jsx = function(type, config, maybeKey
|
|
1719
|
+
exports2.jsx = function(type, config, maybeKey) {
|
|
1694
1720
|
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1695
1721
|
return jsxDEVImpl(
|
|
1696
1722
|
type,
|
|
1697
1723
|
config,
|
|
1698
1724
|
maybeKey,
|
|
1699
1725
|
false,
|
|
1700
|
-
source,
|
|
1701
|
-
self,
|
|
1702
1726
|
trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
1703
1727
|
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1704
1728
|
);
|
|
1705
1729
|
};
|
|
1706
|
-
exports2.jsxs = function(type, config, maybeKey
|
|
1730
|
+
exports2.jsxs = function(type, config, maybeKey) {
|
|
1707
1731
|
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1708
1732
|
return jsxDEVImpl(
|
|
1709
1733
|
type,
|
|
1710
1734
|
config,
|
|
1711
1735
|
maybeKey,
|
|
1712
1736
|
true,
|
|
1713
|
-
source,
|
|
1714
|
-
self,
|
|
1715
1737
|
trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
|
1716
1738
|
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
1717
1739
|
);
|
|
1718
1740
|
};
|
|
1719
|
-
}();
|
|
1741
|
+
})();
|
|
1720
1742
|
}
|
|
1721
1743
|
});
|
|
1722
1744
|
|
|
1723
|
-
// ../../node_modules/.pnpm/react@19.
|
|
1745
|
+
// ../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js
|
|
1724
1746
|
var require_jsx_runtime = __commonJS({
|
|
1725
|
-
"../../node_modules/.pnpm/react@19.
|
|
1747
|
+
"../../node_modules/.pnpm/react@19.2.4/node_modules/react/jsx-runtime.js"(exports2, module2) {
|
|
1726
1748
|
"use strict";
|
|
1727
1749
|
if (process.env.NODE_ENV === "production") {
|
|
1728
1750
|
module2.exports = require_react_jsx_runtime_production();
|
|
@@ -1742,13 +1764,13 @@ module.exports = __toCommonJS(index_exports);
|
|
|
1742
1764
|
// src/withProviders.tsx
|
|
1743
1765
|
var import_jsx_runtime = __toESM(require_jsx_runtime(), 1);
|
|
1744
1766
|
var withProviders = (providers, Wrapped) => providers.reduceRight(
|
|
1745
|
-
(acc, prov) => {
|
|
1767
|
+
(acc, prov, idx) => {
|
|
1746
1768
|
if (Array.isArray(prov)) {
|
|
1747
1769
|
const Provider2 = prov[0];
|
|
1748
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Provider2, { ...prov[1], children: acc });
|
|
1770
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Provider2, { ...prov[1], children: acc }, idx);
|
|
1749
1771
|
}
|
|
1750
1772
|
const Provider = prov;
|
|
1751
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Provider, { children: acc });
|
|
1773
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Provider, { children: acc }, idx);
|
|
1752
1774
|
},
|
|
1753
1775
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Wrapped, {})
|
|
1754
1776
|
);
|
|
@@ -1804,3 +1826,4 @@ react/cjs/react-jsx-runtime.development.js:
|
|
|
1804
1826
|
* LICENSE file in the root directory of this source tree.
|
|
1805
1827
|
*)
|
|
1806
1828
|
*/
|
|
1829
|
+
//# sourceMappingURL=index.cjs.map
|