@@ -3269,6 +3269,9 @@ __DEV__ &&
3269
3269
}
3270
3270
return JSCompiler_temp;
3271
3271
}
3272
+ function createFunctionComponentUpdateQueue() {
3273
+ return { lastEffect: null, events: null, stores: null, memoCache: null };
3274
+ }
3272
3275
function useThenable(thenable) {
3273
3276
var index = thenableIndexCounter$1;
3274
3277
thenableIndexCounter$1 += 1;
@@ -15270,35 +15273,32 @@ __DEV__ &&
15270
15273
currentHookNameInDev = null,
15271
15274
hookTypesDev = null,
15272
15275
hookTypesUpdateIndexDev = -1,
15273
- ignorePreviousDependencies = !1;
15274
- var createFunctionComponentUpdateQueue = function () {
15275
- return { lastEffect: null, events: null, stores: null, memoCache: null };
15276
- };
15277
- var ContextOnlyDispatcher = {
15278
- readContext: readContext,
15279
- use: use,
15280
- useCallback: throwInvalidHookError,
15281
- useContext: throwInvalidHookError,
15282
- useEffect: throwInvalidHookError,
15283
- useImperativeHandle: throwInvalidHookError,
15284
- useLayoutEffect: throwInvalidHookError,
15285
- useInsertionEffect: throwInvalidHookError,
15286
- useMemo: throwInvalidHookError,
15287
- useReducer: throwInvalidHookError,
15288
- useRef: throwInvalidHookError,
15289
- useState: throwInvalidHookError,
15290
- useDebugValue: throwInvalidHookError,
15291
- useDeferredValue: throwInvalidHookError,
15292
- useTransition: throwInvalidHookError,
15293
- useSyncExternalStore: throwInvalidHookError,
15294
- useId: throwInvalidHookError,
15295
- useHostTransitionStatus: throwInvalidHookError,
15296
- useFormState: throwInvalidHookError,
15297
- useActionState: throwInvalidHookError,
15298
- useOptimistic: throwInvalidHookError
15299
- };
15276
+ ignorePreviousDependencies = !1,
15277
+ ContextOnlyDispatcher = {
15278
+ readContext: readContext,
15279
+ use: use,
15280
+ useCallback: throwInvalidHookError,
15281
+ useContext: throwInvalidHookError,
15282
+ useEffect: throwInvalidHookError,
15283
+ useImperativeHandle: throwInvalidHookError,
15284
+ useLayoutEffect: throwInvalidHookError,
15285
+ useInsertionEffect: throwInvalidHookError,
15286
+ useMemo: throwInvalidHookError,
15287
+ useReducer: throwInvalidHookError,
15288
+ useRef: throwInvalidHookError,
15289
+ useState: throwInvalidHookError,
15290
+ useDebugValue: throwInvalidHookError,
15291
+ useDeferredValue: throwInvalidHookError,
15292
+ useTransition: throwInvalidHookError,
15293
+ useSyncExternalStore: throwInvalidHookError,
15294
+ useId: throwInvalidHookError,
15295
+ useHostTransitionStatus: throwInvalidHookError,
15296
+ useFormState: throwInvalidHookError,
15297
+ useActionState: throwInvalidHookError,
15298
+ useOptimistic: throwInvalidHookError,
15299
+ useMemoCache: throwInvalidHookError
15300
+ };
15300
15301
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
15301
- ContextOnlyDispatcher.useMemoCache = throwInvalidHookError;
15302
15302
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
15303
15303
enableUseResourceEffectHook &&
15304
15304
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -15431,18 +15431,18 @@ __DEV__ &&
15431
15431
return mountOptimistic(passthrough);
15432
15432
},
15433
15433
useHostTransitionStatus: useHostTransitionStatus,
15434
+ useMemoCache: useMemoCache,
15434
15435
useCacheRefresh: function () {
15435
15436
currentHookNameInDev = "useCacheRefresh";
15436
15437
mountHookTypesDev();
15437
15438
return mountRefresh();
15439
+ },
15440
+ useEffectEvent: function (callback) {
15441
+ currentHookNameInDev = "useEffectEvent";
15442
+ mountHookTypesDev();
15443
+ return mountEvent(callback);
15438
15444
}
15439
15445
};
15440
- HooksDispatcherOnMountInDEV.useMemoCache = useMemoCache;
15441
- HooksDispatcherOnMountInDEV.useEffectEvent = function (callback) {
15442
- currentHookNameInDev = "useEffectEvent";
15443
- mountHookTypesDev();
15444
- return mountEvent(callback);
15445
- };
15446
15446
enableUseResourceEffectHook &&
15447
15447
(HooksDispatcherOnMountInDEV.useResourceEffect = function (
15448
15448
create,
@@ -15591,20 +15591,18 @@ __DEV__ &&
15591
15591
return mountOptimistic(passthrough);
15592
15592
},
15593
15593
useHostTransitionStatus: useHostTransitionStatus,
15594
+ useMemoCache: useMemoCache,
15594
15595
useCacheRefresh: function () {
15595
15596
currentHookNameInDev = "useCacheRefresh";
15596
15597
updateHookTypesDev();
15597
15598
return mountRefresh();
15599
+ },
15600
+ useEffectEvent: function (callback) {
15601
+ currentHookNameInDev = "useEffectEvent";
15602
+ updateHookTypesDev();
15603
+ return mountEvent(callback);
15598
15604
}
15599
15605
};
15600
- HooksDispatcherOnMountWithHookTypesInDEV.useMemoCache = useMemoCache;
15601
- HooksDispatcherOnMountWithHookTypesInDEV.useEffectEvent = function (
15602
- callback
15603
- ) {
15604
- currentHookNameInDev = "useEffectEvent";
15605
- updateHookTypesDev();
15606
- return mountEvent(callback);
15607
- };
15608
15606
enableUseResourceEffectHook &&
15609
15607
(HooksDispatcherOnMountWithHookTypesInDEV.useResourceEffect = function (
15610
15608
create,
@@ -15743,18 +15741,18 @@ __DEV__ &&
15743
15741
return updateOptimistic(passthrough, reducer);
15744
15742
},
15745
15743
useHostTransitionStatus: useHostTransitionStatus,
15744
+ useMemoCache: useMemoCache,
15746
15745
useCacheRefresh: function () {
15747
15746
currentHookNameInDev = "useCacheRefresh";
15748
15747
updateHookTypesDev();
15749
15748
return updateWorkInProgressHook().memoizedState;
15749
+ },
15750
+ useEffectEvent: function (callback) {
15751
+ currentHookNameInDev = "useEffectEvent";
15752
+ updateHookTypesDev();
15753
+ return updateEvent(callback);
15750
15754
}
15751
15755
};
15752
- HooksDispatcherOnUpdateInDEV.useMemoCache = useMemoCache;
15753
- HooksDispatcherOnUpdateInDEV.useEffectEvent = function (callback) {
15754
- currentHookNameInDev = "useEffectEvent";
15755
- updateHookTypesDev();
15756
- return updateEvent(callback);
15757
- };
15758
15756
enableUseResourceEffectHook &&
15759
15757
(HooksDispatcherOnUpdateInDEV.useResourceEffect = function (
15760
15758
create,
@@ -15897,18 +15895,18 @@ __DEV__ &&
15897
15895
return rerenderOptimistic(passthrough, reducer);
15898
15896
},
15899
15897
useHostTransitionStatus: useHostTransitionStatus,
15898
+ useMemoCache: useMemoCache,
15900
15899
useCacheRefresh: function () {
15901
15900
currentHookNameInDev = "useCacheRefresh";
15902
15901
updateHookTypesDev();
15903
15902
return updateWorkInProgressHook().memoizedState;
15903
+ },
15904
+ useEffectEvent: function (callback) {
15905
+ currentHookNameInDev = "useEffectEvent";
15906
+ updateHookTypesDev();
15907
+ return updateEvent(callback);
15904
15908
}
15905
15909
};
15906
- HooksDispatcherOnRerenderInDEV.useMemoCache = useMemoCache;
15907
- HooksDispatcherOnRerenderInDEV.useEffectEvent = function (callback) {
15908
- currentHookNameInDev = "useEffectEvent";
15909
- updateHookTypesDev();
15910
- return updateEvent(callback);
15911
- };
15912
15910
enableUseResourceEffectHook &&
15913
15911
(HooksDispatcherOnRerenderInDEV.useResourceEffect = function (
15914
15912
create,
@@ -16071,16 +16069,16 @@ __DEV__ &&
16071
16069
mountHookTypesDev();
16072
16070
return mountOptimistic(passthrough);
16073
16071
},
16072
+ useMemoCache: function (size) {
16073
+ warnInvalidHookAccess();
16074
+ return useMemoCache(size);
16075
+ },
16074
16076
useHostTransitionStatus: useHostTransitionStatus,
16075
16077
useCacheRefresh: function () {
16076
16078
currentHookNameInDev = "useCacheRefresh";
16077
16079
mountHookTypesDev();
16078
16080
return mountRefresh();
16079
16081
},
16080
- useMemoCache: function (size) {
16081
- warnInvalidHookAccess();
16082
- return useMemoCache(size);
16083
- },
16084
16082
useEffectEvent: function (callback) {
16085
16083
currentHookNameInDev = "useEffectEvent";
16086
16084
warnInvalidHookAccess();
@@ -16248,16 +16246,16 @@ __DEV__ &&
16248
16246
updateHookTypesDev();
16249
16247
return updateOptimistic(passthrough, reducer);
16250
16248
},
16249
+ useMemoCache: function (size) {
16250
+ warnInvalidHookAccess();
16251
+ return useMemoCache(size);
16252
+ },
16251
16253
useHostTransitionStatus: useHostTransitionStatus,
16252
16254
useCacheRefresh: function () {
16253
16255
currentHookNameInDev = "useCacheRefresh";
16254
16256
updateHookTypesDev();
16255
16257
return updateWorkInProgressHook().memoizedState;
16256
16258
},
16257
- useMemoCache: function (size) {
16258
- warnInvalidHookAccess();
16259
- return useMemoCache(size);
16260
- },
16261
16259
useEffectEvent: function (callback) {
16262
16260
currentHookNameInDev = "useEffectEvent";
16263
16261
warnInvalidHookAccess();
@@ -16427,16 +16425,16 @@ __DEV__ &&
16427
16425
updateHookTypesDev();
16428
16426
return rerenderOptimistic(passthrough, reducer);
16429
16427
},
16428
+ useMemoCache: function (size) {
16429
+ warnInvalidHookAccess();
16430
+ return useMemoCache(size);
16431
+ },
16430
16432
useHostTransitionStatus: useHostTransitionStatus,
16431
16433
useCacheRefresh: function () {
16432
16434
currentHookNameInDev = "useCacheRefresh";
16433
16435
updateHookTypesDev();
16434
16436
return updateWorkInProgressHook().memoizedState;
16435
16437
},
16436
- useMemoCache: function (size) {
16437
- warnInvalidHookAccess();
16438
- return useMemoCache(size);
16439
- },
16440
16438
useEffectEvent: function (callback) {
16441
16439
currentHookNameInDev = "useEffectEvent";
16442
16440
warnInvalidHookAccess();
@@ -17191,10 +17189,10 @@ __DEV__ &&
17191
17189
(function () {
17192
17190
var internals = {
17193
17191
bundleType: 1,
17194
- version: "19.1.0-www-classic-4996a8fa-20241213 ",
17192
+ version: "19.1.0-www-classic-2e25ee37-20241214 ",
17195
17193
rendererPackageName: "react-art",
17196
17194
currentDispatcherRef: ReactSharedInternals,
17197
- reconcilerVersion: "19.1.0-www-classic-4996a8fa-20241213 "
17195
+ reconcilerVersion: "19.1.0-www-classic-2e25ee37-20241214 "
17198
17196
};
17199
17197
internals.overrideHookState = overrideHookState;
17200
17198
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17228,7 +17226,7 @@ __DEV__ &&
17228
17226
exports.Shape = Shape;
17229
17227
exports.Surface = Surface;
17230
17228
exports.Text = Text;
17231
- exports.version = "19.1.0-www-classic-4996a8fa-20241213 ";
17229
+ exports.version = "19.1.0-www-classic-2e25ee37-20241214 ";
17232
17230
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
17233
17231
"function" ===
17234
17232
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
0 commit comments