From 2f5045c752870d6fa6d2d858bbd1a5e325080ced Mon Sep 17 00:00:00 2001 From: sebmarkbage Date: Wed, 8 Jan 2025 16:05:45 -0800 Subject: [PATCH] ViewTransitions in Navigation (#32028) This adds navigation support to the View Transition fixture using both `history.pushState/popstate` and the Navigation API models. Because `popstate` does scroll restoration synchronously at the end of the event, but `startViewTransition` cannot start synchronously, it would observe the "old" state as after applying scroll restoration. This leads to weird artifacts. So we intentionally do not support View Transitions in `popstate`. If it suspends anyway for some other reason, then scroll restoration is broken anyway and then it is supported. We don't have to do anything here because this is already how things worked because the sync `popstate` special case already included the sync lane which opts it out of View Transitions. For the Navigation API, scroll restoration can be blocked. The best way to do this is to resolve the Navigation API promise after React has applied its mutation. We can detect if there's currently any pending navigation and wait to resolve the `startViewTransition` until it finishes and any scroll restoration has been applied. https://github.com/user-attachments/assets/f53b3282-6315-4513-b3d6-b8981d66964e There is a subtle thing here. If we read the viewport metrics before scroll restoration has been applied, then we might assume something is or isn't going to be within the viewport incorrectly. This is evident on the "Slide In from Left" example. When we're going forward to that page we shift the scroll position such that it's going to appear in the viewport. If we did this before applying scroll restoration, it would not animate because it wasn't in the viewport then. Therefore, we need to run the after mutation phase after scroll restoration. A consequence of this is that you have to resolve Navigation in `useInsertionEffect` as otherwise it leads to a deadlock (which eventually gets broken by `startViewTransition`'s timeout of 10 seconds). Another consequence is that now `useLayoutEffect` observes the restored state. However, I think what we'll likely do is move the layout phase to before the after mutation phase which also ensures that auto-scrolling inside `useLayoutEffect` are considered in the viewport measurements as well. DiffTrain build for [800c9db22e69680f17e238724478537282215f89](https://github.com/facebook/react/commit/800c9db22e69680f17e238724478537282215f89) --- compiled/facebook-www/REVISION | 2 +- compiled/facebook-www/REVISION_TRANSFORMS | 2 +- compiled/facebook-www/React-dev.classic.js | 2 +- compiled/facebook-www/React-dev.modern.js | 2 +- compiled/facebook-www/React-prod.classic.js | 2 +- compiled/facebook-www/React-prod.modern.js | 2 +- .../facebook-www/React-profiling.classic.js | 2 +- .../facebook-www/React-profiling.modern.js | 2 +- compiled/facebook-www/ReactART-dev.classic.js | 14 +- compiled/facebook-www/ReactART-dev.modern.js | 14 +- .../facebook-www/ReactART-prod.classic.js | 24 +- compiled/facebook-www/ReactART-prod.modern.js | 24 +- compiled/facebook-www/ReactDOM-dev.classic.js | 332 +++++++++--------- compiled/facebook-www/ReactDOM-dev.modern.js | 332 +++++++++--------- .../facebook-www/ReactDOM-prod.classic.js | 72 ++-- compiled/facebook-www/ReactDOM-prod.modern.js | 72 ++-- .../ReactDOM-profiling.classic.js | 76 ++-- .../facebook-www/ReactDOM-profiling.modern.js | 76 ++-- .../ReactDOMServer-dev.classic.js | 2 +- .../facebook-www/ReactDOMServer-dev.modern.js | 2 +- .../ReactDOMServer-prod.classic.js | 2 +- .../ReactDOMServer-prod.modern.js | 2 +- .../ReactDOMTesting-dev.classic.js | 332 +++++++++--------- .../ReactDOMTesting-dev.modern.js | 332 +++++++++--------- .../ReactDOMTesting-prod.classic.js | 72 ++-- .../ReactDOMTesting-prod.modern.js | 72 ++-- .../ReactReconciler-dev.classic.js | 10 +- .../ReactReconciler-dev.modern.js | 10 +- .../ReactReconciler-prod.classic.js | 6 +- .../ReactReconciler-prod.modern.js | 6 +- .../ReactTestRenderer-dev.classic.js | 18 +- .../ReactTestRenderer-dev.modern.js | 18 +- compiled/facebook-www/VERSION_CLASSIC | 2 +- compiled/facebook-www/VERSION_MODERN | 2 +- .../__test_utils__/ReactAllWarnings.js | 1 + 35 files changed, 961 insertions(+), 980 deletions(-) diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index 52909721f0..74cc9fcd39 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -98418e8902d6045e5138a2e765e026ce2e4de82d +800c9db22e69680f17e238724478537282215f89 diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index 52909721f0..74cc9fcd39 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -98418e8902d6045e5138a2e765e026ce2e4de82d +800c9db22e69680f17e238724478537282215f89 diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 89c6e866db..8401e83976 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -1944,7 +1944,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.1.0-www-classic-98418e89-20250108"; + exports.version = "19.1.0-www-classic-800c9db2-20250108"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-dev.modern.js b/compiled/facebook-www/React-dev.modern.js index bcc06ab9c8..017b340c75 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -1944,7 +1944,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.1.0-www-modern-98418e89-20250108"; + exports.version = "19.1.0-www-modern-800c9db2-20250108"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-prod.classic.js b/compiled/facebook-www/React-prod.classic.js index e5d8bacc6f..fadc8eeb36 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -630,4 +630,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-classic-98418e89-20250108"; +exports.version = "19.1.0-www-classic-800c9db2-20250108"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 2be9c037ef..223024af86 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -630,4 +630,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-modern-98418e89-20250108"; +exports.version = "19.1.0-www-modern-800c9db2-20250108"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index b3fb030df8..b3f247420a 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -634,7 +634,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-classic-98418e89-20250108"; +exports.version = "19.1.0-www-classic-800c9db2-20250108"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-profiling.modern.js b/compiled/facebook-www/React-profiling.modern.js index 085b835925..80e829e2b6 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -634,7 +634,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-modern-98418e89-20250108"; +exports.version = "19.1.0-www-modern-800c9db2-20250108"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-dev.classic.js b/compiled/facebook-www/ReactART-dev.classic.js index 21219d01c9..69bced2908 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -13424,7 +13424,10 @@ __DEV__ && } } function flushLayoutEffects() { - if (pendingEffectsStatus === PENDING_LAYOUT_PHASE) { + if ( + pendingEffectsStatus === PENDING_LAYOUT_PHASE || + pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE + ) { pendingEffectsStatus = NO_PENDING_EFFECTS; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -13580,9 +13583,6 @@ __DEV__ && function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE && - ((pendingEffectsStatus = NO_PENDING_EFFECTS), - (pendingEffectsStatus = PENDING_LAYOUT_PHASE)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -16935,10 +16935,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-98418e89-20250108", + version: "19.1.0-www-classic-800c9db2-20250108", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-98418e89-20250108" + reconcilerVersion: "19.1.0-www-classic-800c9db2-20250108" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -16972,7 +16972,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.1.0-www-classic-98418e89-20250108"; + exports.version = "19.1.0-www-classic-800c9db2-20250108"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js index 4beb0672aa..325ab68eae 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -13238,7 +13238,10 @@ __DEV__ && } } function flushLayoutEffects() { - if (pendingEffectsStatus === PENDING_LAYOUT_PHASE) { + if ( + pendingEffectsStatus === PENDING_LAYOUT_PHASE || + pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE + ) { pendingEffectsStatus = NO_PENDING_EFFECTS; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -13394,9 +13397,6 @@ __DEV__ && function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE && - ((pendingEffectsStatus = NO_PENDING_EFFECTS), - (pendingEffectsStatus = PENDING_LAYOUT_PHASE)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -16707,10 +16707,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-98418e89-20250108", + version: "19.1.0-www-modern-800c9db2-20250108", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-98418e89-20250108" + reconcilerVersion: "19.1.0-www-modern-800c9db2-20250108" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -16744,7 +16744,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.1.0-www-modern-98418e89-20250108"; + exports.version = "19.1.0-www-modern-800c9db2-20250108"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-prod.classic.js b/compiled/facebook-www/ReactART-prod.classic.js index 02cb7e1441..eb6170da73 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -10004,7 +10004,7 @@ function flushMutationEffects() { } } function flushLayoutEffects() { - if (3 === pendingEffectsStatus) { + if (3 === pendingEffectsStatus || 2 === pendingEffectsStatus) { pendingEffectsStatus = 0; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -10092,8 +10092,6 @@ function releaseRootPooledCache(root, remainingLanes) { function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - 2 === pendingEffectsStatus && - ((pendingEffectsStatus = 0), (pendingEffectsStatus = 3)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -10826,24 +10824,24 @@ var slice = Array.prototype.slice, }; return Text; })(React.Component); -var internals$jscomp$inline_1517 = { +var internals$jscomp$inline_1516 = { bundleType: 0, - version: "19.1.0-www-classic-98418e89-20250108", + version: "19.1.0-www-classic-800c9db2-20250108", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-98418e89-20250108" + reconcilerVersion: "19.1.0-www-classic-800c9db2-20250108" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1518 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1517 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1518.isDisabled && - hook$jscomp$inline_1518.supportsFiber + !hook$jscomp$inline_1517.isDisabled && + hook$jscomp$inline_1517.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1518.inject( - internals$jscomp$inline_1517 + (rendererID = hook$jscomp$inline_1517.inject( + internals$jscomp$inline_1516 )), - (injectedHook = hook$jscomp$inline_1518); + (injectedHook = hook$jscomp$inline_1517); } catch (err) {} } var Path = Mode$1.Path; @@ -10857,4 +10855,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.1.0-www-classic-98418e89-20250108"; +exports.version = "19.1.0-www-classic-800c9db2-20250108"; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index 02917fe2ac..71250b7b60 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -9758,7 +9758,7 @@ function flushMutationEffects() { } } function flushLayoutEffects() { - if (3 === pendingEffectsStatus) { + if (3 === pendingEffectsStatus || 2 === pendingEffectsStatus) { pendingEffectsStatus = 0; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -9846,8 +9846,6 @@ function releaseRootPooledCache(root, remainingLanes) { function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - 2 === pendingEffectsStatus && - ((pendingEffectsStatus = 0), (pendingEffectsStatus = 3)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -10545,24 +10543,24 @@ var slice = Array.prototype.slice, }; return Text; })(React.Component); -var internals$jscomp$inline_1490 = { +var internals$jscomp$inline_1489 = { bundleType: 0, - version: "19.1.0-www-modern-98418e89-20250108", + version: "19.1.0-www-modern-800c9db2-20250108", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-98418e89-20250108" + reconcilerVersion: "19.1.0-www-modern-800c9db2-20250108" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1491 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1490 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1491.isDisabled && - hook$jscomp$inline_1491.supportsFiber + !hook$jscomp$inline_1490.isDisabled && + hook$jscomp$inline_1490.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1491.inject( - internals$jscomp$inline_1490 + (rendererID = hook$jscomp$inline_1490.inject( + internals$jscomp$inline_1489 )), - (injectedHook = hook$jscomp$inline_1491); + (injectedHook = hook$jscomp$inline_1490); } catch (err) {} } var Path = Mode$1.Path; @@ -10576,4 +10574,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.1.0-www-modern-98418e89-20250108"; +exports.version = "19.1.0-www-modern-800c9db2-20250108"; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index 41f5e7f088..605666903d 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -9544,32 +9544,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2545; - var JSCompiler_object_inline_stack_2546 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2544; + var JSCompiler_object_inline_stack_2545 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2547 = !1; + var JSCompiler_object_inline_componentStack_2546 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2545 = didSuspend) || - (JSCompiler_object_inline_digest_2545 = + (JSCompiler_object_inline_digest_2544 = didSuspend) || + (JSCompiler_object_inline_digest_2544 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2545 && - ((JSCompiler_object_inline_componentStack_2547 = !0), + JSCompiler_object_inline_digest_2544 && + ((JSCompiler_object_inline_componentStack_2546 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2545 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2544 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2547 + JSCompiler_object_inline_componentStack_2546 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2544 = nextHydratableInstance; + var JSCompiler_object_inline_message_2543 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2544)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2543)) { c: { - var instance = JSCompiler_object_inline_message_2544; + var instance = JSCompiler_object_inline_message_2543; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9611,46 +9611,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2544 + JSCompiler_object_inline_message_2543 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2544 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2543 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2544 && - ((JSCompiler_object_inline_message_2544 = - JSCompiler_object_inline_message_2544.dehydrated), - null !== JSCompiler_object_inline_message_2544) + null !== JSCompiler_object_inline_message_2543 && + ((JSCompiler_object_inline_message_2543 = + JSCompiler_object_inline_message_2543.dehydrated), + null !== JSCompiler_object_inline_message_2543) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2544) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2543) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2544 = - JSCompiler_object_inline_stack_2546.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2546.fallback; - if (JSCompiler_object_inline_componentStack_2547) + JSCompiler_object_inline_message_2543 = + JSCompiler_object_inline_stack_2545.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2545.fallback; + if (JSCompiler_object_inline_componentStack_2546) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2546 = + (JSCompiler_object_inline_stack_2545 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2544, + JSCompiler_object_inline_message_2543, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2547 = + (JSCompiler_object_inline_componentStack_2546 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2547.memoizedState = + (JSCompiler_object_inline_componentStack_2546.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2547.childLanes = + (JSCompiler_object_inline_componentStack_2546.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2545, + JSCompiler_object_inline_digest_2544, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9663,9 +9663,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2547.updateQueue), + JSCompiler_object_inline_componentStack_2546.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2547.updateQueue = + ? (JSCompiler_object_inline_componentStack_2546.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9673,46 +9673,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2546 + JSCompiler_object_inline_stack_2545 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2546.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2545.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2546 = + (JSCompiler_object_inline_stack_2545 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2544, + JSCompiler_object_inline_message_2543, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2547 = + (JSCompiler_object_inline_componentStack_2546 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2547.memoizedState = + (JSCompiler_object_inline_componentStack_2546.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2547.childLanes = + (JSCompiler_object_inline_componentStack_2546.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2545, + JSCompiler_object_inline_digest_2544, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2546 + JSCompiler_object_inline_stack_2545 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2544 + JSCompiler_object_inline_message_2543 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2544 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2544) + ((JSCompiler_object_inline_message_2543 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2543) ) { if (didSuspend) workInProgress.flags & 256 @@ -9729,94 +9729,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2547 = - JSCompiler_object_inline_stack_2546.fallback), - (JSCompiler_object_inline_message_2544 = workInProgress.mode), - (JSCompiler_object_inline_stack_2546 = + (JSCompiler_object_inline_componentStack_2546 = + JSCompiler_object_inline_stack_2545.fallback), + (JSCompiler_object_inline_message_2543 = workInProgress.mode), + (JSCompiler_object_inline_stack_2545 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2546.children + children: JSCompiler_object_inline_stack_2545.children }, - JSCompiler_object_inline_message_2544 + JSCompiler_object_inline_message_2543 )), - (JSCompiler_object_inline_componentStack_2547 = + (JSCompiler_object_inline_componentStack_2546 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2547, - JSCompiler_object_inline_message_2544, + JSCompiler_object_inline_componentStack_2546, + JSCompiler_object_inline_message_2543, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2547.flags |= 2), - (JSCompiler_object_inline_stack_2546.return = workInProgress), - (JSCompiler_object_inline_componentStack_2547.return = + (JSCompiler_object_inline_componentStack_2546.flags |= 2), + (JSCompiler_object_inline_stack_2545.return = workInProgress), + (JSCompiler_object_inline_componentStack_2546.return = workInProgress), - (JSCompiler_object_inline_stack_2546.sibling = - JSCompiler_object_inline_componentStack_2547), - (workInProgress.child = JSCompiler_object_inline_stack_2546), + (JSCompiler_object_inline_stack_2545.sibling = + JSCompiler_object_inline_componentStack_2546), + (workInProgress.child = JSCompiler_object_inline_stack_2545), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2546 = workInProgress.child), - (JSCompiler_object_inline_stack_2546.memoizedState = + (JSCompiler_object_inline_stack_2545 = workInProgress.child), + (JSCompiler_object_inline_stack_2545.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2546.childLanes = + (JSCompiler_object_inline_stack_2545.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2545, + JSCompiler_object_inline_digest_2544, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2547)); + JSCompiler_object_inline_componentStack_2546)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2544)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2543)) ) { - JSCompiler_object_inline_digest_2545 = - JSCompiler_object_inline_message_2544.nextSibling && - JSCompiler_object_inline_message_2544.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2545) { - JSCompiler_temp = JSCompiler_object_inline_digest_2545.dgst; - var message = JSCompiler_object_inline_digest_2545.msg; - instance = JSCompiler_object_inline_digest_2545.stck; - var componentStack = JSCompiler_object_inline_digest_2545.cstck; + JSCompiler_object_inline_digest_2544 = + JSCompiler_object_inline_message_2543.nextSibling && + JSCompiler_object_inline_message_2543.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2544) { + JSCompiler_temp = JSCompiler_object_inline_digest_2544.dgst; + var message = JSCompiler_object_inline_digest_2544.msg; + instance = JSCompiler_object_inline_digest_2544.stck; + var componentStack = JSCompiler_object_inline_digest_2544.cstck; } - JSCompiler_object_inline_message_2544 = message; - JSCompiler_object_inline_digest_2545 = JSCompiler_temp; - JSCompiler_object_inline_stack_2546 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2547 = + JSCompiler_object_inline_message_2543 = message; + JSCompiler_object_inline_digest_2544 = JSCompiler_temp; + JSCompiler_object_inline_stack_2545 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2546 = componentStack; - JSCompiler_object_inline_componentStack_2547 = - JSCompiler_object_inline_message_2544 - ? Error(JSCompiler_object_inline_message_2544) + JSCompiler_object_inline_componentStack_2546 = + JSCompiler_object_inline_message_2543 + ? Error(JSCompiler_object_inline_message_2543) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_componentStack_2547.stack = - JSCompiler_object_inline_stack_2546 || ""; - JSCompiler_object_inline_componentStack_2547.digest = - JSCompiler_object_inline_digest_2545; - JSCompiler_object_inline_digest_2545 = + JSCompiler_object_inline_componentStack_2546.stack = + JSCompiler_object_inline_stack_2545 || ""; + JSCompiler_object_inline_componentStack_2546.digest = + JSCompiler_object_inline_digest_2544; + JSCompiler_object_inline_digest_2544 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2546 = { - value: JSCompiler_object_inline_componentStack_2547, + JSCompiler_object_inline_stack_2545 = { + value: JSCompiler_object_inline_componentStack_2546, source: null, - stack: JSCompiler_object_inline_digest_2545 + stack: JSCompiler_object_inline_digest_2544 }; - "string" === typeof JSCompiler_object_inline_digest_2545 && + "string" === typeof JSCompiler_object_inline_digest_2544 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2547, - JSCompiler_object_inline_stack_2546 + JSCompiler_object_inline_componentStack_2546, + JSCompiler_object_inline_stack_2545 ); - queueHydrationError(JSCompiler_object_inline_stack_2546); + queueHydrationError(JSCompiler_object_inline_stack_2545); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9830,44 +9830,44 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2545 = + (JSCompiler_object_inline_digest_2544 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2545) + didReceiveUpdate || JSCompiler_object_inline_digest_2544) ) { - JSCompiler_object_inline_digest_2545 = workInProgressRoot; + JSCompiler_object_inline_digest_2544 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2545 && - ((JSCompiler_object_inline_stack_2546 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2546 = - 0 !== (JSCompiler_object_inline_stack_2546 & 42) + null !== JSCompiler_object_inline_digest_2544 && + ((JSCompiler_object_inline_stack_2545 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2545 = + 0 !== (JSCompiler_object_inline_stack_2545 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2546 + JSCompiler_object_inline_stack_2545 )), - (JSCompiler_object_inline_stack_2546 = + (JSCompiler_object_inline_stack_2545 = 0 !== - (JSCompiler_object_inline_stack_2546 & - (JSCompiler_object_inline_digest_2545.suspendedLanes | + (JSCompiler_object_inline_stack_2545 & + (JSCompiler_object_inline_digest_2544.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2546), - 0 !== JSCompiler_object_inline_stack_2546 && - JSCompiler_object_inline_stack_2546 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2545), + 0 !== JSCompiler_object_inline_stack_2545 && + JSCompiler_object_inline_stack_2545 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2546), + ((prevState.retryLane = JSCompiler_object_inline_stack_2545), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2546 + JSCompiler_object_inline_stack_2545 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2545, + JSCompiler_object_inline_digest_2544, current, - JSCompiler_object_inline_stack_2546 + JSCompiler_object_inline_stack_2545 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2544.data === + JSCompiler_object_inline_message_2543.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9875,14 +9875,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2544.data === + JSCompiler_object_inline_message_2543.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2544.nextSibling + JSCompiler_object_inline_message_2543.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9900,57 +9900,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2546.children + JSCompiler_object_inline_stack_2545.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2547) + if (JSCompiler_object_inline_componentStack_2546) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2547 = - JSCompiler_object_inline_stack_2546.fallback), - (JSCompiler_object_inline_message_2544 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2546 = + JSCompiler_object_inline_stack_2545.fallback), + (JSCompiler_object_inline_message_2543 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2546 = createWorkInProgress( + (JSCompiler_object_inline_stack_2545 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2546.children + children: JSCompiler_object_inline_stack_2545.children } )), - (JSCompiler_object_inline_stack_2546.subtreeFlags = + (JSCompiler_object_inline_stack_2545.subtreeFlags = JSCompiler_temp.subtreeFlags & 65011712), null !== instance - ? (JSCompiler_object_inline_componentStack_2547 = + ? (JSCompiler_object_inline_componentStack_2546 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2547 + JSCompiler_object_inline_componentStack_2546 )) - : ((JSCompiler_object_inline_componentStack_2547 = + : ((JSCompiler_object_inline_componentStack_2546 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2547, - JSCompiler_object_inline_message_2544, + JSCompiler_object_inline_componentStack_2546, + JSCompiler_object_inline_message_2543, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2547.flags |= 2)), - (JSCompiler_object_inline_componentStack_2547.return = + (JSCompiler_object_inline_componentStack_2546.flags |= 2)), + (JSCompiler_object_inline_componentStack_2546.return = workInProgress), - (JSCompiler_object_inline_stack_2546.return = workInProgress), - (JSCompiler_object_inline_stack_2546.sibling = - JSCompiler_object_inline_componentStack_2547), - (workInProgress.child = JSCompiler_object_inline_stack_2546), - (JSCompiler_object_inline_stack_2546 = - JSCompiler_object_inline_componentStack_2547), - (JSCompiler_object_inline_componentStack_2547 = workInProgress.child), - (JSCompiler_object_inline_message_2544 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2544 - ? (JSCompiler_object_inline_message_2544 = + (JSCompiler_object_inline_stack_2545.return = workInProgress), + (JSCompiler_object_inline_stack_2545.sibling = + JSCompiler_object_inline_componentStack_2546), + (workInProgress.child = JSCompiler_object_inline_stack_2545), + (JSCompiler_object_inline_stack_2545 = + JSCompiler_object_inline_componentStack_2546), + (JSCompiler_object_inline_componentStack_2546 = workInProgress.child), + (JSCompiler_object_inline_message_2543 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2543 + ? (JSCompiler_object_inline_message_2543 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2544.cachePool), + JSCompiler_object_inline_message_2543.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9958,34 +9958,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2544 = { + (JSCompiler_object_inline_message_2543 = { baseLanes: - JSCompiler_object_inline_message_2544.baseLanes | renderLanes, + JSCompiler_object_inline_message_2543.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2547.memoizedState = - JSCompiler_object_inline_message_2544), + (JSCompiler_object_inline_componentStack_2546.memoizedState = + JSCompiler_object_inline_message_2543), enableTransitionTracing && - ((JSCompiler_object_inline_message_2544 = enableTransitionTracing + ((JSCompiler_object_inline_message_2543 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2544 && + null !== JSCompiler_object_inline_message_2543 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2547.updateQueue), + JSCompiler_object_inline_componentStack_2546.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2547.updateQueue = { - transitions: JSCompiler_object_inline_message_2544, + ? (JSCompiler_object_inline_componentStack_2546.updateQueue = { + transitions: JSCompiler_object_inline_message_2543, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2547.updateQueue = + ? (JSCompiler_object_inline_componentStack_2546.updateQueue = { - transitions: JSCompiler_object_inline_message_2544, + transitions: JSCompiler_object_inline_message_2543, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9993,32 +9993,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2544), + JSCompiler_object_inline_message_2543), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2547.childLanes = + (JSCompiler_object_inline_componentStack_2546.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2545, + JSCompiler_object_inline_digest_2544, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2546 + JSCompiler_object_inline_stack_2545 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2546.children + children: JSCompiler_object_inline_stack_2545.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2545 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2545 + ((JSCompiler_object_inline_digest_2544 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2544 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2545.push(current)); + : JSCompiler_object_inline_digest_2544.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -16767,7 +16767,10 @@ __DEV__ && } } function flushLayoutEffects() { - if (pendingEffectsStatus === PENDING_LAYOUT_PHASE) { + if ( + pendingEffectsStatus === PENDING_LAYOUT_PHASE || + pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE + ) { pendingEffectsStatus = NO_PENDING_EFFECTS; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -16899,9 +16902,6 @@ __DEV__ && function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE && - ((pendingEffectsStatus = NO_PENDING_EFFECTS), - (pendingEffectsStatus = PENDING_LAYOUT_PHASE)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -27420,11 +27420,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-classic-98418e89-20250108" !== isomorphicReactPackageVersion) + if ("19.1.0-www-classic-800c9db2-20250108" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.1.0-www-classic-98418e89-20250108\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-classic-800c9db2-20250108\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27467,10 +27467,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-98418e89-20250108", + version: "19.1.0-www-classic-800c9db2-20250108", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-98418e89-20250108" + reconcilerVersion: "19.1.0-www-classic-800c9db2-20250108" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28068,7 +28068,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-classic-98418e89-20250108"; + exports.version = "19.1.0-www-classic-800c9db2-20250108"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-dev.modern.js b/compiled/facebook-www/ReactDOM-dev.modern.js index 63a8630284..c80cca63b2 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -9356,32 +9356,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2540; - var JSCompiler_object_inline_stack_2541 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2539; + var JSCompiler_object_inline_stack_2540 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2542 = !1; + var JSCompiler_object_inline_componentStack_2541 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2540 = didSuspend) || - (JSCompiler_object_inline_digest_2540 = + (JSCompiler_object_inline_digest_2539 = didSuspend) || + (JSCompiler_object_inline_digest_2539 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2540 && - ((JSCompiler_object_inline_componentStack_2542 = !0), + JSCompiler_object_inline_digest_2539 && + ((JSCompiler_object_inline_componentStack_2541 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2540 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2539 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2542 + JSCompiler_object_inline_componentStack_2541 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2539 = nextHydratableInstance; + var JSCompiler_object_inline_message_2538 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2539)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2538)) { c: { - var instance = JSCompiler_object_inline_message_2539; + var instance = JSCompiler_object_inline_message_2538; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9423,46 +9423,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2539 + JSCompiler_object_inline_message_2538 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2539 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2538 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2539 && - ((JSCompiler_object_inline_message_2539 = - JSCompiler_object_inline_message_2539.dehydrated), - null !== JSCompiler_object_inline_message_2539) + null !== JSCompiler_object_inline_message_2538 && + ((JSCompiler_object_inline_message_2538 = + JSCompiler_object_inline_message_2538.dehydrated), + null !== JSCompiler_object_inline_message_2538) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2539) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2538) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2539 = - JSCompiler_object_inline_stack_2541.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2541.fallback; - if (JSCompiler_object_inline_componentStack_2542) + JSCompiler_object_inline_message_2538 = + JSCompiler_object_inline_stack_2540.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2540.fallback; + if (JSCompiler_object_inline_componentStack_2541) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2541 = + (JSCompiler_object_inline_stack_2540 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2539, + JSCompiler_object_inline_message_2538, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2542 = + (JSCompiler_object_inline_componentStack_2541 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2542.memoizedState = + (JSCompiler_object_inline_componentStack_2541.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2542.childLanes = + (JSCompiler_object_inline_componentStack_2541.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2540, + JSCompiler_object_inline_digest_2539, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9475,9 +9475,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2542.updateQueue), + JSCompiler_object_inline_componentStack_2541.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2542.updateQueue = + ? (JSCompiler_object_inline_componentStack_2541.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9485,46 +9485,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2541 + JSCompiler_object_inline_stack_2540 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2541.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2540.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2541 = + (JSCompiler_object_inline_stack_2540 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2539, + JSCompiler_object_inline_message_2538, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2542 = + (JSCompiler_object_inline_componentStack_2541 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2542.memoizedState = + (JSCompiler_object_inline_componentStack_2541.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2542.childLanes = + (JSCompiler_object_inline_componentStack_2541.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2540, + JSCompiler_object_inline_digest_2539, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2541 + JSCompiler_object_inline_stack_2540 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2539 + JSCompiler_object_inline_message_2538 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2539 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2539) + ((JSCompiler_object_inline_message_2538 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2538) ) { if (didSuspend) workInProgress.flags & 256 @@ -9541,94 +9541,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2542 = - JSCompiler_object_inline_stack_2541.fallback), - (JSCompiler_object_inline_message_2539 = workInProgress.mode), - (JSCompiler_object_inline_stack_2541 = + (JSCompiler_object_inline_componentStack_2541 = + JSCompiler_object_inline_stack_2540.fallback), + (JSCompiler_object_inline_message_2538 = workInProgress.mode), + (JSCompiler_object_inline_stack_2540 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2541.children + children: JSCompiler_object_inline_stack_2540.children }, - JSCompiler_object_inline_message_2539 + JSCompiler_object_inline_message_2538 )), - (JSCompiler_object_inline_componentStack_2542 = + (JSCompiler_object_inline_componentStack_2541 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2542, - JSCompiler_object_inline_message_2539, + JSCompiler_object_inline_componentStack_2541, + JSCompiler_object_inline_message_2538, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2542.flags |= 2), - (JSCompiler_object_inline_stack_2541.return = workInProgress), - (JSCompiler_object_inline_componentStack_2542.return = + (JSCompiler_object_inline_componentStack_2541.flags |= 2), + (JSCompiler_object_inline_stack_2540.return = workInProgress), + (JSCompiler_object_inline_componentStack_2541.return = workInProgress), - (JSCompiler_object_inline_stack_2541.sibling = - JSCompiler_object_inline_componentStack_2542), - (workInProgress.child = JSCompiler_object_inline_stack_2541), + (JSCompiler_object_inline_stack_2540.sibling = + JSCompiler_object_inline_componentStack_2541), + (workInProgress.child = JSCompiler_object_inline_stack_2540), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2541 = workInProgress.child), - (JSCompiler_object_inline_stack_2541.memoizedState = + (JSCompiler_object_inline_stack_2540 = workInProgress.child), + (JSCompiler_object_inline_stack_2540.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2541.childLanes = + (JSCompiler_object_inline_stack_2540.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2540, + JSCompiler_object_inline_digest_2539, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2542)); + JSCompiler_object_inline_componentStack_2541)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2539)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2538)) ) { - JSCompiler_object_inline_digest_2540 = - JSCompiler_object_inline_message_2539.nextSibling && - JSCompiler_object_inline_message_2539.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2540) { - JSCompiler_temp = JSCompiler_object_inline_digest_2540.dgst; - var message = JSCompiler_object_inline_digest_2540.msg; - instance = JSCompiler_object_inline_digest_2540.stck; - var componentStack = JSCompiler_object_inline_digest_2540.cstck; + JSCompiler_object_inline_digest_2539 = + JSCompiler_object_inline_message_2538.nextSibling && + JSCompiler_object_inline_message_2538.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2539) { + JSCompiler_temp = JSCompiler_object_inline_digest_2539.dgst; + var message = JSCompiler_object_inline_digest_2539.msg; + instance = JSCompiler_object_inline_digest_2539.stck; + var componentStack = JSCompiler_object_inline_digest_2539.cstck; } - JSCompiler_object_inline_message_2539 = message; - JSCompiler_object_inline_digest_2540 = JSCompiler_temp; - JSCompiler_object_inline_stack_2541 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2542 = + JSCompiler_object_inline_message_2538 = message; + JSCompiler_object_inline_digest_2539 = JSCompiler_temp; + JSCompiler_object_inline_stack_2540 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2541 = componentStack; - JSCompiler_object_inline_componentStack_2542 = - JSCompiler_object_inline_message_2539 - ? Error(JSCompiler_object_inline_message_2539) + JSCompiler_object_inline_componentStack_2541 = + JSCompiler_object_inline_message_2538 + ? Error(JSCompiler_object_inline_message_2538) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_componentStack_2542.stack = - JSCompiler_object_inline_stack_2541 || ""; - JSCompiler_object_inline_componentStack_2542.digest = - JSCompiler_object_inline_digest_2540; - JSCompiler_object_inline_digest_2540 = + JSCompiler_object_inline_componentStack_2541.stack = + JSCompiler_object_inline_stack_2540 || ""; + JSCompiler_object_inline_componentStack_2541.digest = + JSCompiler_object_inline_digest_2539; + JSCompiler_object_inline_digest_2539 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2541 = { - value: JSCompiler_object_inline_componentStack_2542, + JSCompiler_object_inline_stack_2540 = { + value: JSCompiler_object_inline_componentStack_2541, source: null, - stack: JSCompiler_object_inline_digest_2540 + stack: JSCompiler_object_inline_digest_2539 }; - "string" === typeof JSCompiler_object_inline_digest_2540 && + "string" === typeof JSCompiler_object_inline_digest_2539 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2542, - JSCompiler_object_inline_stack_2541 + JSCompiler_object_inline_componentStack_2541, + JSCompiler_object_inline_stack_2540 ); - queueHydrationError(JSCompiler_object_inline_stack_2541); + queueHydrationError(JSCompiler_object_inline_stack_2540); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9642,44 +9642,44 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2540 = + (JSCompiler_object_inline_digest_2539 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2540) + didReceiveUpdate || JSCompiler_object_inline_digest_2539) ) { - JSCompiler_object_inline_digest_2540 = workInProgressRoot; + JSCompiler_object_inline_digest_2539 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2540 && - ((JSCompiler_object_inline_stack_2541 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2541 = - 0 !== (JSCompiler_object_inline_stack_2541 & 42) + null !== JSCompiler_object_inline_digest_2539 && + ((JSCompiler_object_inline_stack_2540 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2540 = + 0 !== (JSCompiler_object_inline_stack_2540 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2541 + JSCompiler_object_inline_stack_2540 )), - (JSCompiler_object_inline_stack_2541 = + (JSCompiler_object_inline_stack_2540 = 0 !== - (JSCompiler_object_inline_stack_2541 & - (JSCompiler_object_inline_digest_2540.suspendedLanes | + (JSCompiler_object_inline_stack_2540 & + (JSCompiler_object_inline_digest_2539.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2541), - 0 !== JSCompiler_object_inline_stack_2541 && - JSCompiler_object_inline_stack_2541 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2540), + 0 !== JSCompiler_object_inline_stack_2540 && + JSCompiler_object_inline_stack_2540 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2541), + ((prevState.retryLane = JSCompiler_object_inline_stack_2540), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2541 + JSCompiler_object_inline_stack_2540 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2540, + JSCompiler_object_inline_digest_2539, current, - JSCompiler_object_inline_stack_2541 + JSCompiler_object_inline_stack_2540 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2539.data === + JSCompiler_object_inline_message_2538.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9687,14 +9687,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2539.data === + JSCompiler_object_inline_message_2538.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2539.nextSibling + JSCompiler_object_inline_message_2538.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9712,57 +9712,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2541.children + JSCompiler_object_inline_stack_2540.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2542) + if (JSCompiler_object_inline_componentStack_2541) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2542 = - JSCompiler_object_inline_stack_2541.fallback), - (JSCompiler_object_inline_message_2539 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2541 = + JSCompiler_object_inline_stack_2540.fallback), + (JSCompiler_object_inline_message_2538 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2541 = createWorkInProgress( + (JSCompiler_object_inline_stack_2540 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2541.children + children: JSCompiler_object_inline_stack_2540.children } )), - (JSCompiler_object_inline_stack_2541.subtreeFlags = + (JSCompiler_object_inline_stack_2540.subtreeFlags = JSCompiler_temp.subtreeFlags & 65011712), null !== instance - ? (JSCompiler_object_inline_componentStack_2542 = + ? (JSCompiler_object_inline_componentStack_2541 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2542 + JSCompiler_object_inline_componentStack_2541 )) - : ((JSCompiler_object_inline_componentStack_2542 = + : ((JSCompiler_object_inline_componentStack_2541 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2542, - JSCompiler_object_inline_message_2539, + JSCompiler_object_inline_componentStack_2541, + JSCompiler_object_inline_message_2538, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2542.flags |= 2)), - (JSCompiler_object_inline_componentStack_2542.return = + (JSCompiler_object_inline_componentStack_2541.flags |= 2)), + (JSCompiler_object_inline_componentStack_2541.return = workInProgress), - (JSCompiler_object_inline_stack_2541.return = workInProgress), - (JSCompiler_object_inline_stack_2541.sibling = - JSCompiler_object_inline_componentStack_2542), - (workInProgress.child = JSCompiler_object_inline_stack_2541), - (JSCompiler_object_inline_stack_2541 = - JSCompiler_object_inline_componentStack_2542), - (JSCompiler_object_inline_componentStack_2542 = workInProgress.child), - (JSCompiler_object_inline_message_2539 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2539 - ? (JSCompiler_object_inline_message_2539 = + (JSCompiler_object_inline_stack_2540.return = workInProgress), + (JSCompiler_object_inline_stack_2540.sibling = + JSCompiler_object_inline_componentStack_2541), + (workInProgress.child = JSCompiler_object_inline_stack_2540), + (JSCompiler_object_inline_stack_2540 = + JSCompiler_object_inline_componentStack_2541), + (JSCompiler_object_inline_componentStack_2541 = workInProgress.child), + (JSCompiler_object_inline_message_2538 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2538 + ? (JSCompiler_object_inline_message_2538 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2539.cachePool), + JSCompiler_object_inline_message_2538.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9770,34 +9770,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2539 = { + (JSCompiler_object_inline_message_2538 = { baseLanes: - JSCompiler_object_inline_message_2539.baseLanes | renderLanes, + JSCompiler_object_inline_message_2538.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2542.memoizedState = - JSCompiler_object_inline_message_2539), + (JSCompiler_object_inline_componentStack_2541.memoizedState = + JSCompiler_object_inline_message_2538), enableTransitionTracing && - ((JSCompiler_object_inline_message_2539 = enableTransitionTracing + ((JSCompiler_object_inline_message_2538 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2539 && + null !== JSCompiler_object_inline_message_2538 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2542.updateQueue), + JSCompiler_object_inline_componentStack_2541.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2542.updateQueue = { - transitions: JSCompiler_object_inline_message_2539, + ? (JSCompiler_object_inline_componentStack_2541.updateQueue = { + transitions: JSCompiler_object_inline_message_2538, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2542.updateQueue = + ? (JSCompiler_object_inline_componentStack_2541.updateQueue = { - transitions: JSCompiler_object_inline_message_2539, + transitions: JSCompiler_object_inline_message_2538, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9805,32 +9805,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2539), + JSCompiler_object_inline_message_2538), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2542.childLanes = + (JSCompiler_object_inline_componentStack_2541.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2540, + JSCompiler_object_inline_digest_2539, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2541 + JSCompiler_object_inline_stack_2540 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2541.children + children: JSCompiler_object_inline_stack_2540.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2540 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2540 + ((JSCompiler_object_inline_digest_2539 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2539 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2540.push(current)); + : JSCompiler_object_inline_digest_2539.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -16562,7 +16562,10 @@ __DEV__ && } } function flushLayoutEffects() { - if (pendingEffectsStatus === PENDING_LAYOUT_PHASE) { + if ( + pendingEffectsStatus === PENDING_LAYOUT_PHASE || + pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE + ) { pendingEffectsStatus = NO_PENDING_EFFECTS; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -16694,9 +16697,6 @@ __DEV__ && function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE && - ((pendingEffectsStatus = NO_PENDING_EFFECTS), - (pendingEffectsStatus = PENDING_LAYOUT_PHASE)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -27206,11 +27206,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-modern-98418e89-20250108" !== isomorphicReactPackageVersion) + if ("19.1.0-www-modern-800c9db2-20250108" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.1.0-www-modern-98418e89-20250108\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-modern-800c9db2-20250108\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27253,10 +27253,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-98418e89-20250108", + version: "19.1.0-www-modern-800c9db2-20250108", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-98418e89-20250108" + reconcilerVersion: "19.1.0-www-modern-800c9db2-20250108" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -27854,7 +27854,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-modern-98418e89-20250108"; + exports.version = "19.1.0-www-modern-800c9db2-20250108"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-prod.classic.js b/compiled/facebook-www/ReactDOM-prod.classic.js index 0b49775aeb..a36881fbd9 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -12037,7 +12037,7 @@ function flushMutationEffects() { } } function flushLayoutEffects() { - if (3 === pendingEffectsStatus) { + if (3 === pendingEffectsStatus || 2 === pendingEffectsStatus) { pendingEffectsStatus = 0; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -12134,8 +12134,6 @@ function releaseRootPooledCache(root, remainingLanes) { function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - 2 === pendingEffectsStatus && - ((pendingEffectsStatus = 0), (pendingEffectsStatus = 3)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -13381,14 +13379,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$351; if (canUseDOM) { - var isSupported$jscomp$inline_1582 = "oninput" in document; - if (!isSupported$jscomp$inline_1582) { - var element$jscomp$inline_1583 = document.createElement("div"); - element$jscomp$inline_1583.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1582 = - "function" === typeof element$jscomp$inline_1583.oninput; + var isSupported$jscomp$inline_1581 = "oninput" in document; + if (!isSupported$jscomp$inline_1581) { + var element$jscomp$inline_1582 = document.createElement("div"); + element$jscomp$inline_1582.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1581 = + "function" === typeof element$jscomp$inline_1582.oninput; } - JSCompiler_inline_result$jscomp$351 = isSupported$jscomp$inline_1582; + JSCompiler_inline_result$jscomp$351 = isSupported$jscomp$inline_1581; } else JSCompiler_inline_result$jscomp$351 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$351 && @@ -13711,20 +13709,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1623 = 0; - i$jscomp$inline_1623 < simpleEventPluginEvents.length; - i$jscomp$inline_1623++ + var i$jscomp$inline_1622 = 0; + i$jscomp$inline_1622 < simpleEventPluginEvents.length; + i$jscomp$inline_1622++ ) { - var eventName$jscomp$inline_1624 = - simpleEventPluginEvents[i$jscomp$inline_1623], - domEventName$jscomp$inline_1625 = - eventName$jscomp$inline_1624.toLowerCase(), - capitalizedEvent$jscomp$inline_1626 = - eventName$jscomp$inline_1624[0].toUpperCase() + - eventName$jscomp$inline_1624.slice(1); + var eventName$jscomp$inline_1623 = + simpleEventPluginEvents[i$jscomp$inline_1622], + domEventName$jscomp$inline_1624 = + eventName$jscomp$inline_1623.toLowerCase(), + capitalizedEvent$jscomp$inline_1625 = + eventName$jscomp$inline_1623[0].toUpperCase() + + eventName$jscomp$inline_1623.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1625, - "on" + capitalizedEvent$jscomp$inline_1626 + domEventName$jscomp$inline_1624, + "on" + capitalizedEvent$jscomp$inline_1625 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -17304,16 +17302,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1796 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1795 = React.version; if ( - "19.1.0-www-classic-98418e89-20250108" !== - isomorphicReactPackageVersion$jscomp$inline_1796 + "19.1.0-www-classic-800c9db2-20250108" !== + isomorphicReactPackageVersion$jscomp$inline_1795 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1796, - "19.1.0-www-classic-98418e89-20250108" + isomorphicReactPackageVersion$jscomp$inline_1795, + "19.1.0-www-classic-800c9db2-20250108" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17329,24 +17327,24 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2333 = { +var internals$jscomp$inline_2332 = { bundleType: 0, - version: "19.1.0-www-classic-98418e89-20250108", + version: "19.1.0-www-classic-800c9db2-20250108", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-98418e89-20250108" + reconcilerVersion: "19.1.0-www-classic-800c9db2-20250108" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2334 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2333 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2334.isDisabled && - hook$jscomp$inline_2334.supportsFiber + !hook$jscomp$inline_2333.isDisabled && + hook$jscomp$inline_2333.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2334.inject( - internals$jscomp$inline_2333 + (rendererID = hook$jscomp$inline_2333.inject( + internals$jscomp$inline_2332 )), - (injectedHook = hook$jscomp$inline_2334); + (injectedHook = hook$jscomp$inline_2333); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -17698,4 +17696,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-classic-98418e89-20250108"; +exports.version = "19.1.0-www-classic-800c9db2-20250108"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index 6e71b485d9..d4dac77cc5 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -11784,7 +11784,7 @@ function flushMutationEffects() { } } function flushLayoutEffects() { - if (3 === pendingEffectsStatus) { + if (3 === pendingEffectsStatus || 2 === pendingEffectsStatus) { pendingEffectsStatus = 0; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -11881,8 +11881,6 @@ function releaseRootPooledCache(root, remainingLanes) { function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - 2 === pendingEffectsStatus && - ((pendingEffectsStatus = 0), (pendingEffectsStatus = 3)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -13122,14 +13120,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$354; if (canUseDOM) { - var isSupported$jscomp$inline_1572 = "oninput" in document; - if (!isSupported$jscomp$inline_1572) { - var element$jscomp$inline_1573 = document.createElement("div"); - element$jscomp$inline_1573.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1572 = - "function" === typeof element$jscomp$inline_1573.oninput; + var isSupported$jscomp$inline_1571 = "oninput" in document; + if (!isSupported$jscomp$inline_1571) { + var element$jscomp$inline_1572 = document.createElement("div"); + element$jscomp$inline_1572.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1571 = + "function" === typeof element$jscomp$inline_1572.oninput; } - JSCompiler_inline_result$jscomp$354 = isSupported$jscomp$inline_1572; + JSCompiler_inline_result$jscomp$354 = isSupported$jscomp$inline_1571; } else JSCompiler_inline_result$jscomp$354 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$354 && @@ -13452,20 +13450,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1613 = 0; - i$jscomp$inline_1613 < simpleEventPluginEvents.length; - i$jscomp$inline_1613++ + var i$jscomp$inline_1612 = 0; + i$jscomp$inline_1612 < simpleEventPluginEvents.length; + i$jscomp$inline_1612++ ) { - var eventName$jscomp$inline_1614 = - simpleEventPluginEvents[i$jscomp$inline_1613], - domEventName$jscomp$inline_1615 = - eventName$jscomp$inline_1614.toLowerCase(), - capitalizedEvent$jscomp$inline_1616 = - eventName$jscomp$inline_1614[0].toUpperCase() + - eventName$jscomp$inline_1614.slice(1); + var eventName$jscomp$inline_1613 = + simpleEventPluginEvents[i$jscomp$inline_1612], + domEventName$jscomp$inline_1614 = + eventName$jscomp$inline_1613.toLowerCase(), + capitalizedEvent$jscomp$inline_1615 = + eventName$jscomp$inline_1613[0].toUpperCase() + + eventName$jscomp$inline_1613.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1615, - "on" + capitalizedEvent$jscomp$inline_1616 + domEventName$jscomp$inline_1614, + "on" + capitalizedEvent$jscomp$inline_1615 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -17040,16 +17038,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1786 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1785 = React.version; if ( - "19.1.0-www-modern-98418e89-20250108" !== - isomorphicReactPackageVersion$jscomp$inline_1786 + "19.1.0-www-modern-800c9db2-20250108" !== + isomorphicReactPackageVersion$jscomp$inline_1785 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1786, - "19.1.0-www-modern-98418e89-20250108" + isomorphicReactPackageVersion$jscomp$inline_1785, + "19.1.0-www-modern-800c9db2-20250108" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17065,24 +17063,24 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2315 = { +var internals$jscomp$inline_2314 = { bundleType: 0, - version: "19.1.0-www-modern-98418e89-20250108", + version: "19.1.0-www-modern-800c9db2-20250108", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-98418e89-20250108" + reconcilerVersion: "19.1.0-www-modern-800c9db2-20250108" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2316 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2315 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2316.isDisabled && - hook$jscomp$inline_2316.supportsFiber + !hook$jscomp$inline_2315.isDisabled && + hook$jscomp$inline_2315.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2316.inject( - internals$jscomp$inline_2315 + (rendererID = hook$jscomp$inline_2315.inject( + internals$jscomp$inline_2314 )), - (injectedHook = hook$jscomp$inline_2316); + (injectedHook = hook$jscomp$inline_2315); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -17434,4 +17432,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-modern-98418e89-20250108"; +exports.version = "19.1.0-www-modern-800c9db2-20250108"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index 31faed73c8..fda362745c 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -12644,7 +12644,7 @@ function flushMutationEffects() { } } function flushLayoutEffects() { - if (3 === pendingEffectsStatus) { + if (3 === pendingEffectsStatus || 2 === pendingEffectsStatus) { pendingEffectsStatus = 0; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -12759,8 +12759,6 @@ function releaseRootPooledCache(root, remainingLanes) { function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - 2 === pendingEffectsStatus && - ((pendingEffectsStatus = 0), (pendingEffectsStatus = 3)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -14067,14 +14065,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$368; if (canUseDOM) { - var isSupported$jscomp$inline_1679 = "oninput" in document; - if (!isSupported$jscomp$inline_1679) { - var element$jscomp$inline_1680 = document.createElement("div"); - element$jscomp$inline_1680.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1679 = - "function" === typeof element$jscomp$inline_1680.oninput; + var isSupported$jscomp$inline_1678 = "oninput" in document; + if (!isSupported$jscomp$inline_1678) { + var element$jscomp$inline_1679 = document.createElement("div"); + element$jscomp$inline_1679.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1678 = + "function" === typeof element$jscomp$inline_1679.oninput; } - JSCompiler_inline_result$jscomp$368 = isSupported$jscomp$inline_1679; + JSCompiler_inline_result$jscomp$368 = isSupported$jscomp$inline_1678; } else JSCompiler_inline_result$jscomp$368 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$368 && @@ -14397,20 +14395,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1720 = 0; - i$jscomp$inline_1720 < simpleEventPluginEvents.length; - i$jscomp$inline_1720++ + var i$jscomp$inline_1719 = 0; + i$jscomp$inline_1719 < simpleEventPluginEvents.length; + i$jscomp$inline_1719++ ) { - var eventName$jscomp$inline_1721 = - simpleEventPluginEvents[i$jscomp$inline_1720], - domEventName$jscomp$inline_1722 = - eventName$jscomp$inline_1721.toLowerCase(), - capitalizedEvent$jscomp$inline_1723 = - eventName$jscomp$inline_1721[0].toUpperCase() + - eventName$jscomp$inline_1721.slice(1); + var eventName$jscomp$inline_1720 = + simpleEventPluginEvents[i$jscomp$inline_1719], + domEventName$jscomp$inline_1721 = + eventName$jscomp$inline_1720.toLowerCase(), + capitalizedEvent$jscomp$inline_1722 = + eventName$jscomp$inline_1720[0].toUpperCase() + + eventName$jscomp$inline_1720.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1722, - "on" + capitalizedEvent$jscomp$inline_1723 + domEventName$jscomp$inline_1721, + "on" + capitalizedEvent$jscomp$inline_1722 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -17990,16 +17988,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1893 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1892 = React.version; if ( - "19.1.0-www-classic-98418e89-20250108" !== - isomorphicReactPackageVersion$jscomp$inline_1893 + "19.1.0-www-classic-800c9db2-20250108" !== + isomorphicReactPackageVersion$jscomp$inline_1892 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1893, - "19.1.0-www-classic-98418e89-20250108" + isomorphicReactPackageVersion$jscomp$inline_1892, + "19.1.0-www-classic-800c9db2-20250108" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -18015,27 +18013,27 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_1895 = { +var internals$jscomp$inline_1894 = { bundleType: 0, - version: "19.1.0-www-classic-98418e89-20250108", + version: "19.1.0-www-classic-800c9db2-20250108", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-98418e89-20250108" + reconcilerVersion: "19.1.0-www-classic-800c9db2-20250108" }; enableSchedulingProfiler && - ((internals$jscomp$inline_1895.getLaneLabelMap = getLaneLabelMap), - (internals$jscomp$inline_1895.injectProfilingHooks = injectProfilingHooks)); + ((internals$jscomp$inline_1894.getLaneLabelMap = getLaneLabelMap), + (internals$jscomp$inline_1894.injectProfilingHooks = injectProfilingHooks)); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2391 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2390 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2391.isDisabled && - hook$jscomp$inline_2391.supportsFiber + !hook$jscomp$inline_2390.isDisabled && + hook$jscomp$inline_2390.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2391.inject( - internals$jscomp$inline_1895 + (rendererID = hook$jscomp$inline_2390.inject( + internals$jscomp$inline_1894 )), - (injectedHook = hook$jscomp$inline_2391); + (injectedHook = hook$jscomp$inline_2390); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -18387,7 +18385,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-classic-98418e89-20250108"; +exports.version = "19.1.0-www-classic-800c9db2-20250108"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-profiling.modern.js b/compiled/facebook-www/ReactDOM-profiling.modern.js index 7a38de3d8d..6cea3ee594 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -12390,7 +12390,7 @@ function flushMutationEffects() { } } function flushLayoutEffects() { - if (3 === pendingEffectsStatus) { + if (3 === pendingEffectsStatus || 2 === pendingEffectsStatus) { pendingEffectsStatus = 0; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -12505,8 +12505,6 @@ function releaseRootPooledCache(root, remainingLanes) { function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - 2 === pendingEffectsStatus && - ((pendingEffectsStatus = 0), (pendingEffectsStatus = 3)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -13807,14 +13805,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$371; if (canUseDOM) { - var isSupported$jscomp$inline_1669 = "oninput" in document; - if (!isSupported$jscomp$inline_1669) { - var element$jscomp$inline_1670 = document.createElement("div"); - element$jscomp$inline_1670.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1669 = - "function" === typeof element$jscomp$inline_1670.oninput; + var isSupported$jscomp$inline_1668 = "oninput" in document; + if (!isSupported$jscomp$inline_1668) { + var element$jscomp$inline_1669 = document.createElement("div"); + element$jscomp$inline_1669.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1668 = + "function" === typeof element$jscomp$inline_1669.oninput; } - JSCompiler_inline_result$jscomp$371 = isSupported$jscomp$inline_1669; + JSCompiler_inline_result$jscomp$371 = isSupported$jscomp$inline_1668; } else JSCompiler_inline_result$jscomp$371 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$371 && @@ -14137,20 +14135,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1710 = 0; - i$jscomp$inline_1710 < simpleEventPluginEvents.length; - i$jscomp$inline_1710++ + var i$jscomp$inline_1709 = 0; + i$jscomp$inline_1709 < simpleEventPluginEvents.length; + i$jscomp$inline_1709++ ) { - var eventName$jscomp$inline_1711 = - simpleEventPluginEvents[i$jscomp$inline_1710], - domEventName$jscomp$inline_1712 = - eventName$jscomp$inline_1711.toLowerCase(), - capitalizedEvent$jscomp$inline_1713 = - eventName$jscomp$inline_1711[0].toUpperCase() + - eventName$jscomp$inline_1711.slice(1); + var eventName$jscomp$inline_1710 = + simpleEventPluginEvents[i$jscomp$inline_1709], + domEventName$jscomp$inline_1711 = + eventName$jscomp$inline_1710.toLowerCase(), + capitalizedEvent$jscomp$inline_1712 = + eventName$jscomp$inline_1710[0].toUpperCase() + + eventName$jscomp$inline_1710.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1712, - "on" + capitalizedEvent$jscomp$inline_1713 + domEventName$jscomp$inline_1711, + "on" + capitalizedEvent$jscomp$inline_1712 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -17725,16 +17723,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1883 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1882 = React.version; if ( - "19.1.0-www-modern-98418e89-20250108" !== - isomorphicReactPackageVersion$jscomp$inline_1883 + "19.1.0-www-modern-800c9db2-20250108" !== + isomorphicReactPackageVersion$jscomp$inline_1882 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1883, - "19.1.0-www-modern-98418e89-20250108" + isomorphicReactPackageVersion$jscomp$inline_1882, + "19.1.0-www-modern-800c9db2-20250108" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17750,27 +17748,27 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_1885 = { +var internals$jscomp$inline_1884 = { bundleType: 0, - version: "19.1.0-www-modern-98418e89-20250108", + version: "19.1.0-www-modern-800c9db2-20250108", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-98418e89-20250108" + reconcilerVersion: "19.1.0-www-modern-800c9db2-20250108" }; enableSchedulingProfiler && - ((internals$jscomp$inline_1885.getLaneLabelMap = getLaneLabelMap), - (internals$jscomp$inline_1885.injectProfilingHooks = injectProfilingHooks)); + ((internals$jscomp$inline_1884.getLaneLabelMap = getLaneLabelMap), + (internals$jscomp$inline_1884.injectProfilingHooks = injectProfilingHooks)); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2373 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2372 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2373.isDisabled && - hook$jscomp$inline_2373.supportsFiber + !hook$jscomp$inline_2372.isDisabled && + hook$jscomp$inline_2372.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2373.inject( - internals$jscomp$inline_1885 + (rendererID = hook$jscomp$inline_2372.inject( + internals$jscomp$inline_1884 )), - (injectedHook = hook$jscomp$inline_2373); + (injectedHook = hook$jscomp$inline_2372); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -18122,7 +18120,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-modern-98418e89-20250108"; +exports.version = "19.1.0-www-modern-800c9db2-20250108"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOMServer-dev.classic.js b/compiled/facebook-www/ReactDOMServer-dev.classic.js index 67b7ac5fd5..b66d43a606 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -9150,5 +9150,5 @@ __DEV__ && 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.1.0-www-classic-98418e89-20250108"; + exports.version = "19.1.0-www-classic-800c9db2-20250108"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index 7c1bbf3056..8c61a5554a 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -8976,5 +8976,5 @@ __DEV__ && 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.1.0-www-modern-98418e89-20250108"; + exports.version = "19.1.0-www-modern-800c9db2-20250108"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index 7a0afdd791..05e5e7b71d 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -5898,4 +5898,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.1.0-www-classic-98418e89-20250108"; +exports.version = "19.1.0-www-classic-800c9db2-20250108"; diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index 3cba9a6d94..26fdc8aa1b 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -5810,4 +5810,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.1.0-www-modern-98418e89-20250108"; +exports.version = "19.1.0-www-modern-800c9db2-20250108"; diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index af1a2b7ea9..1430313ff5 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -9585,32 +9585,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2579; - var JSCompiler_object_inline_stack_2580 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2578; + var JSCompiler_object_inline_stack_2579 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2581 = !1; + var JSCompiler_object_inline_componentStack_2580 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2579 = didSuspend) || - (JSCompiler_object_inline_digest_2579 = + (JSCompiler_object_inline_digest_2578 = didSuspend) || + (JSCompiler_object_inline_digest_2578 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2579 && - ((JSCompiler_object_inline_componentStack_2581 = !0), + JSCompiler_object_inline_digest_2578 && + ((JSCompiler_object_inline_componentStack_2580 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2579 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2578 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2581 + JSCompiler_object_inline_componentStack_2580 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2578 = nextHydratableInstance; + var JSCompiler_object_inline_message_2577 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2578)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2577)) { c: { - var instance = JSCompiler_object_inline_message_2578; + var instance = JSCompiler_object_inline_message_2577; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9652,46 +9652,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2578 + JSCompiler_object_inline_message_2577 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2578 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2577 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2578 && - ((JSCompiler_object_inline_message_2578 = - JSCompiler_object_inline_message_2578.dehydrated), - null !== JSCompiler_object_inline_message_2578) + null !== JSCompiler_object_inline_message_2577 && + ((JSCompiler_object_inline_message_2577 = + JSCompiler_object_inline_message_2577.dehydrated), + null !== JSCompiler_object_inline_message_2577) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2578) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2577) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2578 = - JSCompiler_object_inline_stack_2580.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2580.fallback; - if (JSCompiler_object_inline_componentStack_2581) + JSCompiler_object_inline_message_2577 = + JSCompiler_object_inline_stack_2579.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2579.fallback; + if (JSCompiler_object_inline_componentStack_2580) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2580 = + (JSCompiler_object_inline_stack_2579 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2578, + JSCompiler_object_inline_message_2577, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2581 = + (JSCompiler_object_inline_componentStack_2580 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2581.memoizedState = + (JSCompiler_object_inline_componentStack_2580.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2581.childLanes = + (JSCompiler_object_inline_componentStack_2580.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2579, + JSCompiler_object_inline_digest_2578, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9704,9 +9704,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2581.updateQueue), + JSCompiler_object_inline_componentStack_2580.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2581.updateQueue = + ? (JSCompiler_object_inline_componentStack_2580.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9714,46 +9714,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2580 + JSCompiler_object_inline_stack_2579 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2580.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2579.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2580 = + (JSCompiler_object_inline_stack_2579 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2578, + JSCompiler_object_inline_message_2577, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2581 = + (JSCompiler_object_inline_componentStack_2580 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2581.memoizedState = + (JSCompiler_object_inline_componentStack_2580.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2581.childLanes = + (JSCompiler_object_inline_componentStack_2580.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2579, + JSCompiler_object_inline_digest_2578, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2580 + JSCompiler_object_inline_stack_2579 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2578 + JSCompiler_object_inline_message_2577 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2578 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2578) + ((JSCompiler_object_inline_message_2577 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2577) ) { if (didSuspend) workInProgress.flags & 256 @@ -9770,94 +9770,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2581 = - JSCompiler_object_inline_stack_2580.fallback), - (JSCompiler_object_inline_message_2578 = workInProgress.mode), - (JSCompiler_object_inline_stack_2580 = + (JSCompiler_object_inline_componentStack_2580 = + JSCompiler_object_inline_stack_2579.fallback), + (JSCompiler_object_inline_message_2577 = workInProgress.mode), + (JSCompiler_object_inline_stack_2579 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2580.children + children: JSCompiler_object_inline_stack_2579.children }, - JSCompiler_object_inline_message_2578 + JSCompiler_object_inline_message_2577 )), - (JSCompiler_object_inline_componentStack_2581 = + (JSCompiler_object_inline_componentStack_2580 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2581, - JSCompiler_object_inline_message_2578, + JSCompiler_object_inline_componentStack_2580, + JSCompiler_object_inline_message_2577, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2581.flags |= 2), - (JSCompiler_object_inline_stack_2580.return = workInProgress), - (JSCompiler_object_inline_componentStack_2581.return = + (JSCompiler_object_inline_componentStack_2580.flags |= 2), + (JSCompiler_object_inline_stack_2579.return = workInProgress), + (JSCompiler_object_inline_componentStack_2580.return = workInProgress), - (JSCompiler_object_inline_stack_2580.sibling = - JSCompiler_object_inline_componentStack_2581), - (workInProgress.child = JSCompiler_object_inline_stack_2580), + (JSCompiler_object_inline_stack_2579.sibling = + JSCompiler_object_inline_componentStack_2580), + (workInProgress.child = JSCompiler_object_inline_stack_2579), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2580 = workInProgress.child), - (JSCompiler_object_inline_stack_2580.memoizedState = + (JSCompiler_object_inline_stack_2579 = workInProgress.child), + (JSCompiler_object_inline_stack_2579.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2580.childLanes = + (JSCompiler_object_inline_stack_2579.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2579, + JSCompiler_object_inline_digest_2578, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2581)); + JSCompiler_object_inline_componentStack_2580)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2578)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2577)) ) { - JSCompiler_object_inline_digest_2579 = - JSCompiler_object_inline_message_2578.nextSibling && - JSCompiler_object_inline_message_2578.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2579) { - JSCompiler_temp = JSCompiler_object_inline_digest_2579.dgst; - var message = JSCompiler_object_inline_digest_2579.msg; - instance = JSCompiler_object_inline_digest_2579.stck; - var componentStack = JSCompiler_object_inline_digest_2579.cstck; + JSCompiler_object_inline_digest_2578 = + JSCompiler_object_inline_message_2577.nextSibling && + JSCompiler_object_inline_message_2577.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2578) { + JSCompiler_temp = JSCompiler_object_inline_digest_2578.dgst; + var message = JSCompiler_object_inline_digest_2578.msg; + instance = JSCompiler_object_inline_digest_2578.stck; + var componentStack = JSCompiler_object_inline_digest_2578.cstck; } - JSCompiler_object_inline_message_2578 = message; - JSCompiler_object_inline_digest_2579 = JSCompiler_temp; - JSCompiler_object_inline_stack_2580 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2581 = + JSCompiler_object_inline_message_2577 = message; + JSCompiler_object_inline_digest_2578 = JSCompiler_temp; + JSCompiler_object_inline_stack_2579 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2580 = componentStack; - JSCompiler_object_inline_componentStack_2581 = - JSCompiler_object_inline_message_2578 - ? Error(JSCompiler_object_inline_message_2578) + JSCompiler_object_inline_componentStack_2580 = + JSCompiler_object_inline_message_2577 + ? Error(JSCompiler_object_inline_message_2577) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_componentStack_2581.stack = - JSCompiler_object_inline_stack_2580 || ""; - JSCompiler_object_inline_componentStack_2581.digest = - JSCompiler_object_inline_digest_2579; - JSCompiler_object_inline_digest_2579 = + JSCompiler_object_inline_componentStack_2580.stack = + JSCompiler_object_inline_stack_2579 || ""; + JSCompiler_object_inline_componentStack_2580.digest = + JSCompiler_object_inline_digest_2578; + JSCompiler_object_inline_digest_2578 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2580 = { - value: JSCompiler_object_inline_componentStack_2581, + JSCompiler_object_inline_stack_2579 = { + value: JSCompiler_object_inline_componentStack_2580, source: null, - stack: JSCompiler_object_inline_digest_2579 + stack: JSCompiler_object_inline_digest_2578 }; - "string" === typeof JSCompiler_object_inline_digest_2579 && + "string" === typeof JSCompiler_object_inline_digest_2578 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2581, - JSCompiler_object_inline_stack_2580 + JSCompiler_object_inline_componentStack_2580, + JSCompiler_object_inline_stack_2579 ); - queueHydrationError(JSCompiler_object_inline_stack_2580); + queueHydrationError(JSCompiler_object_inline_stack_2579); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9871,44 +9871,44 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2579 = + (JSCompiler_object_inline_digest_2578 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2579) + didReceiveUpdate || JSCompiler_object_inline_digest_2578) ) { - JSCompiler_object_inline_digest_2579 = workInProgressRoot; + JSCompiler_object_inline_digest_2578 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2579 && - ((JSCompiler_object_inline_stack_2580 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2580 = - 0 !== (JSCompiler_object_inline_stack_2580 & 42) + null !== JSCompiler_object_inline_digest_2578 && + ((JSCompiler_object_inline_stack_2579 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2579 = + 0 !== (JSCompiler_object_inline_stack_2579 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2580 + JSCompiler_object_inline_stack_2579 )), - (JSCompiler_object_inline_stack_2580 = + (JSCompiler_object_inline_stack_2579 = 0 !== - (JSCompiler_object_inline_stack_2580 & - (JSCompiler_object_inline_digest_2579.suspendedLanes | + (JSCompiler_object_inline_stack_2579 & + (JSCompiler_object_inline_digest_2578.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2580), - 0 !== JSCompiler_object_inline_stack_2580 && - JSCompiler_object_inline_stack_2580 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2579), + 0 !== JSCompiler_object_inline_stack_2579 && + JSCompiler_object_inline_stack_2579 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2580), + ((prevState.retryLane = JSCompiler_object_inline_stack_2579), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2580 + JSCompiler_object_inline_stack_2579 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2579, + JSCompiler_object_inline_digest_2578, current, - JSCompiler_object_inline_stack_2580 + JSCompiler_object_inline_stack_2579 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2578.data === + JSCompiler_object_inline_message_2577.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9916,14 +9916,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2578.data === + JSCompiler_object_inline_message_2577.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2578.nextSibling + JSCompiler_object_inline_message_2577.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9941,57 +9941,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2580.children + JSCompiler_object_inline_stack_2579.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2581) + if (JSCompiler_object_inline_componentStack_2580) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2581 = - JSCompiler_object_inline_stack_2580.fallback), - (JSCompiler_object_inline_message_2578 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2580 = + JSCompiler_object_inline_stack_2579.fallback), + (JSCompiler_object_inline_message_2577 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2580 = createWorkInProgress( + (JSCompiler_object_inline_stack_2579 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2580.children + children: JSCompiler_object_inline_stack_2579.children } )), - (JSCompiler_object_inline_stack_2580.subtreeFlags = + (JSCompiler_object_inline_stack_2579.subtreeFlags = JSCompiler_temp.subtreeFlags & 65011712), null !== instance - ? (JSCompiler_object_inline_componentStack_2581 = + ? (JSCompiler_object_inline_componentStack_2580 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2581 + JSCompiler_object_inline_componentStack_2580 )) - : ((JSCompiler_object_inline_componentStack_2581 = + : ((JSCompiler_object_inline_componentStack_2580 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2581, - JSCompiler_object_inline_message_2578, + JSCompiler_object_inline_componentStack_2580, + JSCompiler_object_inline_message_2577, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2581.flags |= 2)), - (JSCompiler_object_inline_componentStack_2581.return = + (JSCompiler_object_inline_componentStack_2580.flags |= 2)), + (JSCompiler_object_inline_componentStack_2580.return = workInProgress), - (JSCompiler_object_inline_stack_2580.return = workInProgress), - (JSCompiler_object_inline_stack_2580.sibling = - JSCompiler_object_inline_componentStack_2581), - (workInProgress.child = JSCompiler_object_inline_stack_2580), - (JSCompiler_object_inline_stack_2580 = - JSCompiler_object_inline_componentStack_2581), - (JSCompiler_object_inline_componentStack_2581 = workInProgress.child), - (JSCompiler_object_inline_message_2578 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2578 - ? (JSCompiler_object_inline_message_2578 = + (JSCompiler_object_inline_stack_2579.return = workInProgress), + (JSCompiler_object_inline_stack_2579.sibling = + JSCompiler_object_inline_componentStack_2580), + (workInProgress.child = JSCompiler_object_inline_stack_2579), + (JSCompiler_object_inline_stack_2579 = + JSCompiler_object_inline_componentStack_2580), + (JSCompiler_object_inline_componentStack_2580 = workInProgress.child), + (JSCompiler_object_inline_message_2577 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2577 + ? (JSCompiler_object_inline_message_2577 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2578.cachePool), + JSCompiler_object_inline_message_2577.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9999,34 +9999,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2578 = { + (JSCompiler_object_inline_message_2577 = { baseLanes: - JSCompiler_object_inline_message_2578.baseLanes | renderLanes, + JSCompiler_object_inline_message_2577.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2581.memoizedState = - JSCompiler_object_inline_message_2578), + (JSCompiler_object_inline_componentStack_2580.memoizedState = + JSCompiler_object_inline_message_2577), enableTransitionTracing && - ((JSCompiler_object_inline_message_2578 = enableTransitionTracing + ((JSCompiler_object_inline_message_2577 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2578 && + null !== JSCompiler_object_inline_message_2577 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2581.updateQueue), + JSCompiler_object_inline_componentStack_2580.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2581.updateQueue = { - transitions: JSCompiler_object_inline_message_2578, + ? (JSCompiler_object_inline_componentStack_2580.updateQueue = { + transitions: JSCompiler_object_inline_message_2577, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2581.updateQueue = + ? (JSCompiler_object_inline_componentStack_2580.updateQueue = { - transitions: JSCompiler_object_inline_message_2578, + transitions: JSCompiler_object_inline_message_2577, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -10034,32 +10034,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2578), + JSCompiler_object_inline_message_2577), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2581.childLanes = + (JSCompiler_object_inline_componentStack_2580.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2579, + JSCompiler_object_inline_digest_2578, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2580 + JSCompiler_object_inline_stack_2579 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2580.children + children: JSCompiler_object_inline_stack_2579.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2579 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2579 + ((JSCompiler_object_inline_digest_2578 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2578 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2579.push(current)); + : JSCompiler_object_inline_digest_2578.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -16990,7 +16990,10 @@ __DEV__ && } } function flushLayoutEffects() { - if (pendingEffectsStatus === PENDING_LAYOUT_PHASE) { + if ( + pendingEffectsStatus === PENDING_LAYOUT_PHASE || + pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE + ) { pendingEffectsStatus = NO_PENDING_EFFECTS; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -17122,9 +17125,6 @@ __DEV__ && function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE && - ((pendingEffectsStatus = NO_PENDING_EFFECTS), - (pendingEffectsStatus = PENDING_LAYOUT_PHASE)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -27754,11 +27754,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-classic-98418e89-20250108" !== isomorphicReactPackageVersion) + if ("19.1.0-www-classic-800c9db2-20250108" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.1.0-www-classic-98418e89-20250108\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-classic-800c9db2-20250108\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27801,10 +27801,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-98418e89-20250108", + version: "19.1.0-www-classic-800c9db2-20250108", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-98418e89-20250108" + reconcilerVersion: "19.1.0-www-classic-800c9db2-20250108" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28568,5 +28568,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-classic-98418e89-20250108"; + exports.version = "19.1.0-www-classic-800c9db2-20250108"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index 825dfdca84..d2ee0aa428 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -9397,32 +9397,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2574; - var JSCompiler_object_inline_stack_2575 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2573; + var JSCompiler_object_inline_stack_2574 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2576 = !1; + var JSCompiler_object_inline_componentStack_2575 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2574 = didSuspend) || - (JSCompiler_object_inline_digest_2574 = + (JSCompiler_object_inline_digest_2573 = didSuspend) || + (JSCompiler_object_inline_digest_2573 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2574 && - ((JSCompiler_object_inline_componentStack_2576 = !0), + JSCompiler_object_inline_digest_2573 && + ((JSCompiler_object_inline_componentStack_2575 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2574 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2573 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2576 + JSCompiler_object_inline_componentStack_2575 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2573 = nextHydratableInstance; + var JSCompiler_object_inline_message_2572 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2573)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2572)) { c: { - var instance = JSCompiler_object_inline_message_2573; + var instance = JSCompiler_object_inline_message_2572; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9464,46 +9464,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2573 + JSCompiler_object_inline_message_2572 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2573 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2572 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2573 && - ((JSCompiler_object_inline_message_2573 = - JSCompiler_object_inline_message_2573.dehydrated), - null !== JSCompiler_object_inline_message_2573) + null !== JSCompiler_object_inline_message_2572 && + ((JSCompiler_object_inline_message_2572 = + JSCompiler_object_inline_message_2572.dehydrated), + null !== JSCompiler_object_inline_message_2572) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2573) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2572) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2573 = - JSCompiler_object_inline_stack_2575.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2575.fallback; - if (JSCompiler_object_inline_componentStack_2576) + JSCompiler_object_inline_message_2572 = + JSCompiler_object_inline_stack_2574.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2574.fallback; + if (JSCompiler_object_inline_componentStack_2575) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2575 = + (JSCompiler_object_inline_stack_2574 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2573, + JSCompiler_object_inline_message_2572, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2576 = + (JSCompiler_object_inline_componentStack_2575 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2576.memoizedState = + (JSCompiler_object_inline_componentStack_2575.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2576.childLanes = + (JSCompiler_object_inline_componentStack_2575.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2574, + JSCompiler_object_inline_digest_2573, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9516,9 +9516,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2576.updateQueue), + JSCompiler_object_inline_componentStack_2575.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2576.updateQueue = + ? (JSCompiler_object_inline_componentStack_2575.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9526,46 +9526,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2575 + JSCompiler_object_inline_stack_2574 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2575.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2574.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2575 = + (JSCompiler_object_inline_stack_2574 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2573, + JSCompiler_object_inline_message_2572, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2576 = + (JSCompiler_object_inline_componentStack_2575 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2576.memoizedState = + (JSCompiler_object_inline_componentStack_2575.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2576.childLanes = + (JSCompiler_object_inline_componentStack_2575.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2574, + JSCompiler_object_inline_digest_2573, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2575 + JSCompiler_object_inline_stack_2574 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2573 + JSCompiler_object_inline_message_2572 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2573 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2573) + ((JSCompiler_object_inline_message_2572 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2572) ) { if (didSuspend) workInProgress.flags & 256 @@ -9582,94 +9582,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2576 = - JSCompiler_object_inline_stack_2575.fallback), - (JSCompiler_object_inline_message_2573 = workInProgress.mode), - (JSCompiler_object_inline_stack_2575 = + (JSCompiler_object_inline_componentStack_2575 = + JSCompiler_object_inline_stack_2574.fallback), + (JSCompiler_object_inline_message_2572 = workInProgress.mode), + (JSCompiler_object_inline_stack_2574 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2575.children + children: JSCompiler_object_inline_stack_2574.children }, - JSCompiler_object_inline_message_2573 + JSCompiler_object_inline_message_2572 )), - (JSCompiler_object_inline_componentStack_2576 = + (JSCompiler_object_inline_componentStack_2575 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2576, - JSCompiler_object_inline_message_2573, + JSCompiler_object_inline_componentStack_2575, + JSCompiler_object_inline_message_2572, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2576.flags |= 2), - (JSCompiler_object_inline_stack_2575.return = workInProgress), - (JSCompiler_object_inline_componentStack_2576.return = + (JSCompiler_object_inline_componentStack_2575.flags |= 2), + (JSCompiler_object_inline_stack_2574.return = workInProgress), + (JSCompiler_object_inline_componentStack_2575.return = workInProgress), - (JSCompiler_object_inline_stack_2575.sibling = - JSCompiler_object_inline_componentStack_2576), - (workInProgress.child = JSCompiler_object_inline_stack_2575), + (JSCompiler_object_inline_stack_2574.sibling = + JSCompiler_object_inline_componentStack_2575), + (workInProgress.child = JSCompiler_object_inline_stack_2574), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2575 = workInProgress.child), - (JSCompiler_object_inline_stack_2575.memoizedState = + (JSCompiler_object_inline_stack_2574 = workInProgress.child), + (JSCompiler_object_inline_stack_2574.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2575.childLanes = + (JSCompiler_object_inline_stack_2574.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2574, + JSCompiler_object_inline_digest_2573, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2576)); + JSCompiler_object_inline_componentStack_2575)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2573)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2572)) ) { - JSCompiler_object_inline_digest_2574 = - JSCompiler_object_inline_message_2573.nextSibling && - JSCompiler_object_inline_message_2573.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2574) { - JSCompiler_temp = JSCompiler_object_inline_digest_2574.dgst; - var message = JSCompiler_object_inline_digest_2574.msg; - instance = JSCompiler_object_inline_digest_2574.stck; - var componentStack = JSCompiler_object_inline_digest_2574.cstck; + JSCompiler_object_inline_digest_2573 = + JSCompiler_object_inline_message_2572.nextSibling && + JSCompiler_object_inline_message_2572.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2573) { + JSCompiler_temp = JSCompiler_object_inline_digest_2573.dgst; + var message = JSCompiler_object_inline_digest_2573.msg; + instance = JSCompiler_object_inline_digest_2573.stck; + var componentStack = JSCompiler_object_inline_digest_2573.cstck; } - JSCompiler_object_inline_message_2573 = message; - JSCompiler_object_inline_digest_2574 = JSCompiler_temp; - JSCompiler_object_inline_stack_2575 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2576 = + JSCompiler_object_inline_message_2572 = message; + JSCompiler_object_inline_digest_2573 = JSCompiler_temp; + JSCompiler_object_inline_stack_2574 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2575 = componentStack; - JSCompiler_object_inline_componentStack_2576 = - JSCompiler_object_inline_message_2573 - ? Error(JSCompiler_object_inline_message_2573) + JSCompiler_object_inline_componentStack_2575 = + JSCompiler_object_inline_message_2572 + ? Error(JSCompiler_object_inline_message_2572) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_componentStack_2576.stack = - JSCompiler_object_inline_stack_2575 || ""; - JSCompiler_object_inline_componentStack_2576.digest = - JSCompiler_object_inline_digest_2574; - JSCompiler_object_inline_digest_2574 = + JSCompiler_object_inline_componentStack_2575.stack = + JSCompiler_object_inline_stack_2574 || ""; + JSCompiler_object_inline_componentStack_2575.digest = + JSCompiler_object_inline_digest_2573; + JSCompiler_object_inline_digest_2573 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2575 = { - value: JSCompiler_object_inline_componentStack_2576, + JSCompiler_object_inline_stack_2574 = { + value: JSCompiler_object_inline_componentStack_2575, source: null, - stack: JSCompiler_object_inline_digest_2574 + stack: JSCompiler_object_inline_digest_2573 }; - "string" === typeof JSCompiler_object_inline_digest_2574 && + "string" === typeof JSCompiler_object_inline_digest_2573 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2576, - JSCompiler_object_inline_stack_2575 + JSCompiler_object_inline_componentStack_2575, + JSCompiler_object_inline_stack_2574 ); - queueHydrationError(JSCompiler_object_inline_stack_2575); + queueHydrationError(JSCompiler_object_inline_stack_2574); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9683,44 +9683,44 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2574 = + (JSCompiler_object_inline_digest_2573 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2574) + didReceiveUpdate || JSCompiler_object_inline_digest_2573) ) { - JSCompiler_object_inline_digest_2574 = workInProgressRoot; + JSCompiler_object_inline_digest_2573 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2574 && - ((JSCompiler_object_inline_stack_2575 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2575 = - 0 !== (JSCompiler_object_inline_stack_2575 & 42) + null !== JSCompiler_object_inline_digest_2573 && + ((JSCompiler_object_inline_stack_2574 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2574 = + 0 !== (JSCompiler_object_inline_stack_2574 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2575 + JSCompiler_object_inline_stack_2574 )), - (JSCompiler_object_inline_stack_2575 = + (JSCompiler_object_inline_stack_2574 = 0 !== - (JSCompiler_object_inline_stack_2575 & - (JSCompiler_object_inline_digest_2574.suspendedLanes | + (JSCompiler_object_inline_stack_2574 & + (JSCompiler_object_inline_digest_2573.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2575), - 0 !== JSCompiler_object_inline_stack_2575 && - JSCompiler_object_inline_stack_2575 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2574), + 0 !== JSCompiler_object_inline_stack_2574 && + JSCompiler_object_inline_stack_2574 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2575), + ((prevState.retryLane = JSCompiler_object_inline_stack_2574), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2575 + JSCompiler_object_inline_stack_2574 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2574, + JSCompiler_object_inline_digest_2573, current, - JSCompiler_object_inline_stack_2575 + JSCompiler_object_inline_stack_2574 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2573.data === + JSCompiler_object_inline_message_2572.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9728,14 +9728,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2573.data === + JSCompiler_object_inline_message_2572.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2573.nextSibling + JSCompiler_object_inline_message_2572.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9753,57 +9753,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2575.children + JSCompiler_object_inline_stack_2574.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2576) + if (JSCompiler_object_inline_componentStack_2575) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2576 = - JSCompiler_object_inline_stack_2575.fallback), - (JSCompiler_object_inline_message_2573 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2575 = + JSCompiler_object_inline_stack_2574.fallback), + (JSCompiler_object_inline_message_2572 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2575 = createWorkInProgress( + (JSCompiler_object_inline_stack_2574 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2575.children + children: JSCompiler_object_inline_stack_2574.children } )), - (JSCompiler_object_inline_stack_2575.subtreeFlags = + (JSCompiler_object_inline_stack_2574.subtreeFlags = JSCompiler_temp.subtreeFlags & 65011712), null !== instance - ? (JSCompiler_object_inline_componentStack_2576 = + ? (JSCompiler_object_inline_componentStack_2575 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2576 + JSCompiler_object_inline_componentStack_2575 )) - : ((JSCompiler_object_inline_componentStack_2576 = + : ((JSCompiler_object_inline_componentStack_2575 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2576, - JSCompiler_object_inline_message_2573, + JSCompiler_object_inline_componentStack_2575, + JSCompiler_object_inline_message_2572, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2576.flags |= 2)), - (JSCompiler_object_inline_componentStack_2576.return = + (JSCompiler_object_inline_componentStack_2575.flags |= 2)), + (JSCompiler_object_inline_componentStack_2575.return = workInProgress), - (JSCompiler_object_inline_stack_2575.return = workInProgress), - (JSCompiler_object_inline_stack_2575.sibling = - JSCompiler_object_inline_componentStack_2576), - (workInProgress.child = JSCompiler_object_inline_stack_2575), - (JSCompiler_object_inline_stack_2575 = - JSCompiler_object_inline_componentStack_2576), - (JSCompiler_object_inline_componentStack_2576 = workInProgress.child), - (JSCompiler_object_inline_message_2573 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2573 - ? (JSCompiler_object_inline_message_2573 = + (JSCompiler_object_inline_stack_2574.return = workInProgress), + (JSCompiler_object_inline_stack_2574.sibling = + JSCompiler_object_inline_componentStack_2575), + (workInProgress.child = JSCompiler_object_inline_stack_2574), + (JSCompiler_object_inline_stack_2574 = + JSCompiler_object_inline_componentStack_2575), + (JSCompiler_object_inline_componentStack_2575 = workInProgress.child), + (JSCompiler_object_inline_message_2572 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2572 + ? (JSCompiler_object_inline_message_2572 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2573.cachePool), + JSCompiler_object_inline_message_2572.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9811,34 +9811,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2573 = { + (JSCompiler_object_inline_message_2572 = { baseLanes: - JSCompiler_object_inline_message_2573.baseLanes | renderLanes, + JSCompiler_object_inline_message_2572.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2576.memoizedState = - JSCompiler_object_inline_message_2573), + (JSCompiler_object_inline_componentStack_2575.memoizedState = + JSCompiler_object_inline_message_2572), enableTransitionTracing && - ((JSCompiler_object_inline_message_2573 = enableTransitionTracing + ((JSCompiler_object_inline_message_2572 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2573 && + null !== JSCompiler_object_inline_message_2572 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2576.updateQueue), + JSCompiler_object_inline_componentStack_2575.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2576.updateQueue = { - transitions: JSCompiler_object_inline_message_2573, + ? (JSCompiler_object_inline_componentStack_2575.updateQueue = { + transitions: JSCompiler_object_inline_message_2572, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2576.updateQueue = + ? (JSCompiler_object_inline_componentStack_2575.updateQueue = { - transitions: JSCompiler_object_inline_message_2573, + transitions: JSCompiler_object_inline_message_2572, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9846,32 +9846,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2573), + JSCompiler_object_inline_message_2572), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2576.childLanes = + (JSCompiler_object_inline_componentStack_2575.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2574, + JSCompiler_object_inline_digest_2573, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2575 + JSCompiler_object_inline_stack_2574 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2575.children + children: JSCompiler_object_inline_stack_2574.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2574 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2574 + ((JSCompiler_object_inline_digest_2573 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2573 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2574.push(current)); + : JSCompiler_object_inline_digest_2573.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -16785,7 +16785,10 @@ __DEV__ && } } function flushLayoutEffects() { - if (pendingEffectsStatus === PENDING_LAYOUT_PHASE) { + if ( + pendingEffectsStatus === PENDING_LAYOUT_PHASE || + pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE + ) { pendingEffectsStatus = NO_PENDING_EFFECTS; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -16917,9 +16920,6 @@ __DEV__ && function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE && - ((pendingEffectsStatus = NO_PENDING_EFFECTS), - (pendingEffectsStatus = PENDING_LAYOUT_PHASE)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -27540,11 +27540,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-modern-98418e89-20250108" !== isomorphicReactPackageVersion) + if ("19.1.0-www-modern-800c9db2-20250108" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.1.0-www-modern-98418e89-20250108\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-modern-800c9db2-20250108\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27587,10 +27587,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-98418e89-20250108", + version: "19.1.0-www-modern-800c9db2-20250108", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-98418e89-20250108" + reconcilerVersion: "19.1.0-www-modern-800c9db2-20250108" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28354,5 +28354,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-modern-98418e89-20250108"; + exports.version = "19.1.0-www-modern-800c9db2-20250108"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index cb793b8c55..0b679adde1 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -12309,7 +12309,7 @@ function flushMutationEffects() { } } function flushLayoutEffects() { - if (3 === pendingEffectsStatus) { + if (3 === pendingEffectsStatus || 2 === pendingEffectsStatus) { pendingEffectsStatus = 0; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -12406,8 +12406,6 @@ function releaseRootPooledCache(root, remainingLanes) { function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - 2 === pendingEffectsStatus && - ((pendingEffectsStatus = 0), (pendingEffectsStatus = 3)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -13653,14 +13651,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$353; if (canUseDOM) { - var isSupported$jscomp$inline_1611 = "oninput" in document; - if (!isSupported$jscomp$inline_1611) { - var element$jscomp$inline_1612 = document.createElement("div"); - element$jscomp$inline_1612.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1611 = - "function" === typeof element$jscomp$inline_1612.oninput; + var isSupported$jscomp$inline_1610 = "oninput" in document; + if (!isSupported$jscomp$inline_1610) { + var element$jscomp$inline_1611 = document.createElement("div"); + element$jscomp$inline_1611.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1610 = + "function" === typeof element$jscomp$inline_1611.oninput; } - JSCompiler_inline_result$jscomp$353 = isSupported$jscomp$inline_1611; + JSCompiler_inline_result$jscomp$353 = isSupported$jscomp$inline_1610; } else JSCompiler_inline_result$jscomp$353 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$353 && @@ -13983,20 +13981,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1652 = 0; - i$jscomp$inline_1652 < simpleEventPluginEvents.length; - i$jscomp$inline_1652++ + var i$jscomp$inline_1651 = 0; + i$jscomp$inline_1651 < simpleEventPluginEvents.length; + i$jscomp$inline_1651++ ) { - var eventName$jscomp$inline_1653 = - simpleEventPluginEvents[i$jscomp$inline_1652], - domEventName$jscomp$inline_1654 = - eventName$jscomp$inline_1653.toLowerCase(), - capitalizedEvent$jscomp$inline_1655 = - eventName$jscomp$inline_1653[0].toUpperCase() + - eventName$jscomp$inline_1653.slice(1); + var eventName$jscomp$inline_1652 = + simpleEventPluginEvents[i$jscomp$inline_1651], + domEventName$jscomp$inline_1653 = + eventName$jscomp$inline_1652.toLowerCase(), + capitalizedEvent$jscomp$inline_1654 = + eventName$jscomp$inline_1652[0].toUpperCase() + + eventName$jscomp$inline_1652.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1654, - "on" + capitalizedEvent$jscomp$inline_1655 + domEventName$jscomp$inline_1653, + "on" + capitalizedEvent$jscomp$inline_1654 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -17633,16 +17631,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1825 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1824 = React.version; if ( - "19.1.0-www-classic-98418e89-20250108" !== - isomorphicReactPackageVersion$jscomp$inline_1825 + "19.1.0-www-classic-800c9db2-20250108" !== + isomorphicReactPackageVersion$jscomp$inline_1824 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1825, - "19.1.0-www-classic-98418e89-20250108" + isomorphicReactPackageVersion$jscomp$inline_1824, + "19.1.0-www-classic-800c9db2-20250108" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17658,24 +17656,24 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2367 = { +var internals$jscomp$inline_2366 = { bundleType: 0, - version: "19.1.0-www-classic-98418e89-20250108", + version: "19.1.0-www-classic-800c9db2-20250108", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-98418e89-20250108" + reconcilerVersion: "19.1.0-www-classic-800c9db2-20250108" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2368 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2367 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2368.isDisabled && - hook$jscomp$inline_2368.supportsFiber + !hook$jscomp$inline_2367.isDisabled && + hook$jscomp$inline_2367.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2368.inject( - internals$jscomp$inline_2367 + (rendererID = hook$jscomp$inline_2367.inject( + internals$jscomp$inline_2366 )), - (injectedHook = hook$jscomp$inline_2368); + (injectedHook = hook$jscomp$inline_2367); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -18178,4 +18176,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-classic-98418e89-20250108"; +exports.version = "19.1.0-www-classic-800c9db2-20250108"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index 7bc25bfee3..e66176b927 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -12056,7 +12056,7 @@ function flushMutationEffects() { } } function flushLayoutEffects() { - if (3 === pendingEffectsStatus) { + if (3 === pendingEffectsStatus || 2 === pendingEffectsStatus) { pendingEffectsStatus = 0; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -12153,8 +12153,6 @@ function releaseRootPooledCache(root, remainingLanes) { function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - 2 === pendingEffectsStatus && - ((pendingEffectsStatus = 0), (pendingEffectsStatus = 3)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -13394,14 +13392,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$356; if (canUseDOM) { - var isSupported$jscomp$inline_1601 = "oninput" in document; - if (!isSupported$jscomp$inline_1601) { - var element$jscomp$inline_1602 = document.createElement("div"); - element$jscomp$inline_1602.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1601 = - "function" === typeof element$jscomp$inline_1602.oninput; + var isSupported$jscomp$inline_1600 = "oninput" in document; + if (!isSupported$jscomp$inline_1600) { + var element$jscomp$inline_1601 = document.createElement("div"); + element$jscomp$inline_1601.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1600 = + "function" === typeof element$jscomp$inline_1601.oninput; } - JSCompiler_inline_result$jscomp$356 = isSupported$jscomp$inline_1601; + JSCompiler_inline_result$jscomp$356 = isSupported$jscomp$inline_1600; } else JSCompiler_inline_result$jscomp$356 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$356 && @@ -13724,20 +13722,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1642 = 0; - i$jscomp$inline_1642 < simpleEventPluginEvents.length; - i$jscomp$inline_1642++ + var i$jscomp$inline_1641 = 0; + i$jscomp$inline_1641 < simpleEventPluginEvents.length; + i$jscomp$inline_1641++ ) { - var eventName$jscomp$inline_1643 = - simpleEventPluginEvents[i$jscomp$inline_1642], - domEventName$jscomp$inline_1644 = - eventName$jscomp$inline_1643.toLowerCase(), - capitalizedEvent$jscomp$inline_1645 = - eventName$jscomp$inline_1643[0].toUpperCase() + - eventName$jscomp$inline_1643.slice(1); + var eventName$jscomp$inline_1642 = + simpleEventPluginEvents[i$jscomp$inline_1641], + domEventName$jscomp$inline_1643 = + eventName$jscomp$inline_1642.toLowerCase(), + capitalizedEvent$jscomp$inline_1644 = + eventName$jscomp$inline_1642[0].toUpperCase() + + eventName$jscomp$inline_1642.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1644, - "on" + capitalizedEvent$jscomp$inline_1645 + domEventName$jscomp$inline_1643, + "on" + capitalizedEvent$jscomp$inline_1644 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -17369,16 +17367,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1815 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1814 = React.version; if ( - "19.1.0-www-modern-98418e89-20250108" !== - isomorphicReactPackageVersion$jscomp$inline_1815 + "19.1.0-www-modern-800c9db2-20250108" !== + isomorphicReactPackageVersion$jscomp$inline_1814 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1815, - "19.1.0-www-modern-98418e89-20250108" + isomorphicReactPackageVersion$jscomp$inline_1814, + "19.1.0-www-modern-800c9db2-20250108" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17394,24 +17392,24 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2349 = { +var internals$jscomp$inline_2348 = { bundleType: 0, - version: "19.1.0-www-modern-98418e89-20250108", + version: "19.1.0-www-modern-800c9db2-20250108", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-98418e89-20250108" + reconcilerVersion: "19.1.0-www-modern-800c9db2-20250108" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2350 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2349 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2350.isDisabled && - hook$jscomp$inline_2350.supportsFiber + !hook$jscomp$inline_2349.isDisabled && + hook$jscomp$inline_2349.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2350.inject( - internals$jscomp$inline_2349 + (rendererID = hook$jscomp$inline_2349.inject( + internals$jscomp$inline_2348 )), - (injectedHook = hook$jscomp$inline_2350); + (injectedHook = hook$jscomp$inline_2349); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -17914,4 +17912,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-modern-98418e89-20250108"; +exports.version = "19.1.0-www-modern-800c9db2-20250108"; diff --git a/compiled/facebook-www/ReactReconciler-dev.classic.js b/compiled/facebook-www/ReactReconciler-dev.classic.js index 0d3a844379..3d2152e33e 100644 --- a/compiled/facebook-www/ReactReconciler-dev.classic.js +++ b/compiled/facebook-www/ReactReconciler-dev.classic.js @@ -15022,7 +15022,10 @@ __DEV__ && } } function flushLayoutEffects() { - if (pendingEffectsStatus === PENDING_LAYOUT_PHASE) { + if ( + pendingEffectsStatus === PENDING_LAYOUT_PHASE || + pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE + ) { pendingEffectsStatus = NO_PENDING_EFFECTS; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -15154,9 +15157,6 @@ __DEV__ && function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE && - ((pendingEffectsStatus = NO_PENDING_EFFECTS), - (pendingEffectsStatus = PENDING_LAYOUT_PHASE)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -19116,7 +19116,7 @@ __DEV__ && version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-98418e89-20250108" + reconcilerVersion: "19.1.0-www-classic-800c9db2-20250108" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-dev.modern.js b/compiled/facebook-www/ReactReconciler-dev.modern.js index 3a562f30e8..62b38820c7 100644 --- a/compiled/facebook-www/ReactReconciler-dev.modern.js +++ b/compiled/facebook-www/ReactReconciler-dev.modern.js @@ -14836,7 +14836,10 @@ __DEV__ && } } function flushLayoutEffects() { - if (pendingEffectsStatus === PENDING_LAYOUT_PHASE) { + if ( + pendingEffectsStatus === PENDING_LAYOUT_PHASE || + pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE + ) { pendingEffectsStatus = NO_PENDING_EFFECTS; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -14968,9 +14971,6 @@ __DEV__ && function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE && - ((pendingEffectsStatus = NO_PENDING_EFFECTS), - (pendingEffectsStatus = PENDING_LAYOUT_PHASE)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -18897,7 +18897,7 @@ __DEV__ && version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-98418e89-20250108" + reconcilerVersion: "19.1.0-www-modern-800c9db2-20250108" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.classic.js b/compiled/facebook-www/ReactReconciler-prod.classic.js index 539babe5ad..b61bb3b61a 100644 --- a/compiled/facebook-www/ReactReconciler-prod.classic.js +++ b/compiled/facebook-www/ReactReconciler-prod.classic.js @@ -10892,7 +10892,7 @@ module.exports = function ($$$config) { } } function flushLayoutEffects() { - if (3 === pendingEffectsStatus) { + if (3 === pendingEffectsStatus || 2 === pendingEffectsStatus) { pendingEffectsStatus = 0; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -10989,8 +10989,6 @@ module.exports = function ($$$config) { function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - 2 === pendingEffectsStatus && - ((pendingEffectsStatus = 0), (pendingEffectsStatus = 3)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -12872,7 +12870,7 @@ module.exports = function ($$$config) { version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-98418e89-20250108" + reconcilerVersion: "19.1.0-www-classic-800c9db2-20250108" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.modern.js b/compiled/facebook-www/ReactReconciler-prod.modern.js index 2aae5465d6..4079da366f 100644 --- a/compiled/facebook-www/ReactReconciler-prod.modern.js +++ b/compiled/facebook-www/ReactReconciler-prod.modern.js @@ -10650,7 +10650,7 @@ module.exports = function ($$$config) { } } function flushLayoutEffects() { - if (3 === pendingEffectsStatus) { + if (3 === pendingEffectsStatus || 2 === pendingEffectsStatus) { pendingEffectsStatus = 0; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -10747,8 +10747,6 @@ module.exports = function ($$$config) { function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - 2 === pendingEffectsStatus && - ((pendingEffectsStatus = 0), (pendingEffectsStatus = 3)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects(wasDelayedCommit) { @@ -12596,7 +12594,7 @@ module.exports = function ($$$config) { version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-98418e89-20250108" + reconcilerVersion: "19.1.0-www-modern-800c9db2-20250108" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index e7768646ec..1c8a2040ce 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -13,7 +13,7 @@ "use strict"; __DEV__ && (function () { - function JSCompiler_object_inline_createNodeMock_1124() { + function JSCompiler_object_inline_createNodeMock_1123() { return null; } function findHook(fiber, id) { @@ -11701,7 +11701,10 @@ __DEV__ && } } function flushLayoutEffects() { - if (pendingEffectsStatus === PENDING_LAYOUT_PHASE) { + if ( + pendingEffectsStatus === PENDING_LAYOUT_PHASE || + pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE + ) { pendingEffectsStatus = NO_PENDING_EFFECTS; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -11837,9 +11840,6 @@ __DEV__ && function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE && - ((pendingEffectsStatus = NO_PENDING_EFFECTS), - (pendingEffectsStatus = PENDING_LAYOUT_PHASE)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects() { @@ -14996,10 +14996,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-98418e89-20250108", + version: "19.1.0-www-classic-800c9db2-20250108", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-98418e89-20250108" + reconcilerVersion: "19.1.0-www-classic-800c9db2-20250108" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15019,7 +15019,7 @@ __DEV__ && exports._Scheduler = Scheduler; exports.act = act; exports.create = function (element, options) { - var createNodeMock = JSCompiler_object_inline_createNodeMock_1124, + var createNodeMock = JSCompiler_object_inline_createNodeMock_1123, isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT, isConcurrent = isConcurrentOnly, isStrictMode = !1; @@ -15134,5 +15134,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.1.0-www-classic-98418e89-20250108"; + exports.version = "19.1.0-www-classic-800c9db2-20250108"; })(); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index 56f6633709..0dd14192e8 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -13,7 +13,7 @@ "use strict"; __DEV__ && (function () { - function JSCompiler_object_inline_createNodeMock_1124() { + function JSCompiler_object_inline_createNodeMock_1123() { return null; } function findHook(fiber, id) { @@ -11701,7 +11701,10 @@ __DEV__ && } } function flushLayoutEffects() { - if (pendingEffectsStatus === PENDING_LAYOUT_PHASE) { + if ( + pendingEffectsStatus === PENDING_LAYOUT_PHASE || + pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE + ) { pendingEffectsStatus = NO_PENDING_EFFECTS; var root = pendingEffectsRoot, finishedWork = pendingFinishedWork, @@ -11837,9 +11840,6 @@ __DEV__ && function flushPendingEffects(wasDelayedCommit) { flushMutationEffects(); flushLayoutEffects(); - pendingEffectsStatus === PENDING_AFTER_MUTATION_PHASE && - ((pendingEffectsStatus = NO_PENDING_EFFECTS), - (pendingEffectsStatus = PENDING_LAYOUT_PHASE)); return flushPassiveEffects(wasDelayedCommit); } function flushPassiveEffects() { @@ -14996,10 +14996,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-98418e89-20250108", + version: "19.1.0-www-modern-800c9db2-20250108", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-98418e89-20250108" + reconcilerVersion: "19.1.0-www-modern-800c9db2-20250108" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15019,7 +15019,7 @@ __DEV__ && exports._Scheduler = Scheduler; exports.act = act; exports.create = function (element, options) { - var createNodeMock = JSCompiler_object_inline_createNodeMock_1124, + var createNodeMock = JSCompiler_object_inline_createNodeMock_1123, isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT, isConcurrent = isConcurrentOnly, isStrictMode = !1; @@ -15134,5 +15134,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.1.0-www-modern-98418e89-20250108"; + exports.version = "19.1.0-www-modern-800c9db2-20250108"; })(); diff --git a/compiled/facebook-www/VERSION_CLASSIC b/compiled/facebook-www/VERSION_CLASSIC index 38334ad566..9fb014f49c 100644 --- a/compiled/facebook-www/VERSION_CLASSIC +++ b/compiled/facebook-www/VERSION_CLASSIC @@ -1 +1 @@ -19.1.0-www-classic-98418e89-20250108 \ No newline at end of file +19.1.0-www-classic-800c9db2-20250108 \ No newline at end of file diff --git a/compiled/facebook-www/VERSION_MODERN b/compiled/facebook-www/VERSION_MODERN index 663072eded..ce28a443e6 100644 --- a/compiled/facebook-www/VERSION_MODERN +++ b/compiled/facebook-www/VERSION_MODERN @@ -1 +1 @@ -19.1.0-www-modern-98418e89-20250108 \ No newline at end of file +19.1.0-www-modern-800c9db2-20250108 \ No newline at end of file diff --git a/compiled/facebook-www/__test_utils__/ReactAllWarnings.js b/compiled/facebook-www/__test_utils__/ReactAllWarnings.js index 2dc9b162c0..f7c4de9010 100644 --- a/compiled/facebook-www/__test_utils__/ReactAllWarnings.js +++ b/compiled/facebook-www/__test_utils__/ReactAllWarnings.js @@ -67,6 +67,7 @@ export default [ "<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.", "<%s> cannot contain a nested %s.\nSee this log for the ancestor stack trace.", " is only valid if revealOrder is \"forwards\" or \"backwards\". Did you mean to specify revealOrder=\"forwards\"?", + "A ViewTransition timed out because a Navigation stalled. This can happen if a Navigation is blocked on React itself. Such as if it's resolved inside useLayoutEffect. This can be solved by moving the resolution to useInsertionEffect.", "A button can only specify a formAction along with type=\"submit\" or no type.", "A cache instance was released after it was already freed. This likely indicates a bug in React.", "A cache instance was retained after it was already freed. This likely indicates a bug in React.",