diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index b6f1fd6230598..46b43abb3dcdb 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.1.0-native-fb-19ca800c-20250131 \ No newline at end of file +19.1.0-native-fb-8bda7155-20250204 \ No newline at end of file diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js index e3ebfdb7ff4df..ede040d57a94e 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -428,5 +428,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-native-fb-19ca800c-20250131"; + exports.version = "19.1.0-native-fb-8bda7155-20250204"; })(); diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js index a7ea5cadf5bd4..3ee82a4c2b2ed 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<6c3c15356f44e521258bc6b36c04e239>> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-native-fb-19ca800c-20250131"; +exports.version = "19.1.0-native-fb-8bda7155-20250204"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js index a7ea5cadf5bd4..3ee82a4c2b2ed 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<6c3c15356f44e521258bc6b36c04e239>> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-native-fb-19ca800c-20250131"; +exports.version = "19.1.0-native-fb-8bda7155-20250204"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js index 358e578b10597..f3c9faf86cbc4 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ /* @@ -9418,32 +9418,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2425; - var JSCompiler_object_inline_stack_2426 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2445; + var JSCompiler_object_inline_stack_2446 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2427 = !1; + var JSCompiler_object_inline_componentStack_2447 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2425 = didSuspend) || - (JSCompiler_object_inline_digest_2425 = + (JSCompiler_object_inline_digest_2445 = didSuspend) || + (JSCompiler_object_inline_digest_2445 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2425 && - ((JSCompiler_object_inline_componentStack_2427 = !0), + JSCompiler_object_inline_digest_2445 && + ((JSCompiler_object_inline_componentStack_2447 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2425 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2445 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2427 + JSCompiler_object_inline_componentStack_2447 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2424 = nextHydratableInstance; + var JSCompiler_object_inline_message_2444 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2424)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2444)) { c: { - var instance = JSCompiler_object_inline_message_2424; + var instance = JSCompiler_object_inline_message_2444; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -9485,89 +9485,89 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2424 + JSCompiler_object_inline_message_2444 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2424 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2444 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2424 && - ((JSCompiler_object_inline_message_2424 = - JSCompiler_object_inline_message_2424.dehydrated), - null !== JSCompiler_object_inline_message_2424) + null !== JSCompiler_object_inline_message_2444 && + ((JSCompiler_object_inline_message_2444 = + JSCompiler_object_inline_message_2444.dehydrated), + null !== JSCompiler_object_inline_message_2444) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2424) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2444) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2424 = - JSCompiler_object_inline_stack_2426.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2426.fallback; - if (JSCompiler_object_inline_componentStack_2427) + JSCompiler_object_inline_message_2444 = + JSCompiler_object_inline_stack_2446.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2446.fallback; + if (JSCompiler_object_inline_componentStack_2447) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2426 = + (JSCompiler_object_inline_stack_2446 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2424, + JSCompiler_object_inline_message_2444, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2427 = + (JSCompiler_object_inline_componentStack_2447 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2427.memoizedState = + (JSCompiler_object_inline_componentStack_2447.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2427.childLanes = + (JSCompiler_object_inline_componentStack_2447.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2425, + JSCompiler_object_inline_digest_2445, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2426 + JSCompiler_object_inline_stack_2446 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2426.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2446.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2426 = + (JSCompiler_object_inline_stack_2446 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2424, + JSCompiler_object_inline_message_2444, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2427 = + (JSCompiler_object_inline_componentStack_2447 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2427.memoizedState = + (JSCompiler_object_inline_componentStack_2447.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2427.childLanes = + (JSCompiler_object_inline_componentStack_2447.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2425, + JSCompiler_object_inline_digest_2445, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2426 + JSCompiler_object_inline_stack_2446 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2424 + JSCompiler_object_inline_message_2444 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2424 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2424) + ((JSCompiler_object_inline_message_2444 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2444) ) { if (didSuspend) workInProgress.flags & 256 @@ -9584,32 +9584,32 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2427 = - JSCompiler_object_inline_stack_2426.fallback), - (JSCompiler_object_inline_message_2424 = workInProgress.mode), - (JSCompiler_object_inline_stack_2426 = createFiberFromOffscreen( + (JSCompiler_object_inline_componentStack_2447 = + JSCompiler_object_inline_stack_2446.fallback), + (JSCompiler_object_inline_message_2444 = workInProgress.mode), + (JSCompiler_object_inline_stack_2446 = createFiberFromOffscreen( { mode: "visible", - children: JSCompiler_object_inline_stack_2426.children + children: JSCompiler_object_inline_stack_2446.children }, - JSCompiler_object_inline_message_2424, + JSCompiler_object_inline_message_2444, 0, null )), - (JSCompiler_object_inline_componentStack_2427 = + (JSCompiler_object_inline_componentStack_2447 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2427, - JSCompiler_object_inline_message_2424, + JSCompiler_object_inline_componentStack_2447, + JSCompiler_object_inline_message_2444, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2427.flags |= 2), - (JSCompiler_object_inline_stack_2426.return = workInProgress), - (JSCompiler_object_inline_componentStack_2427.return = + (JSCompiler_object_inline_componentStack_2447.flags |= 2), + (JSCompiler_object_inline_stack_2446.return = workInProgress), + (JSCompiler_object_inline_componentStack_2447.return = workInProgress), - (JSCompiler_object_inline_stack_2426.sibling = - JSCompiler_object_inline_componentStack_2427), - (workInProgress.child = JSCompiler_object_inline_stack_2426), + (JSCompiler_object_inline_stack_2446.sibling = + JSCompiler_object_inline_componentStack_2447), + (workInProgress.child = JSCompiler_object_inline_stack_2446), (workInProgress.mode & ConcurrentMode) !== NoMode && reconcileChildFibers( workInProgress, @@ -9617,63 +9617,63 @@ __DEV__ && null, renderLanes ), - (JSCompiler_object_inline_stack_2426 = workInProgress.child), - (JSCompiler_object_inline_stack_2426.memoizedState = + (JSCompiler_object_inline_stack_2446 = workInProgress.child), + (JSCompiler_object_inline_stack_2446.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2426.childLanes = + (JSCompiler_object_inline_stack_2446.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2425, + JSCompiler_object_inline_digest_2445, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2427)); + JSCompiler_object_inline_componentStack_2447)); 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_2424)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2444)) ) { - JSCompiler_object_inline_digest_2425 = - JSCompiler_object_inline_message_2424.nextSibling && - JSCompiler_object_inline_message_2424.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2425) { - JSCompiler_temp = JSCompiler_object_inline_digest_2425.dgst; - var message = JSCompiler_object_inline_digest_2425.msg; - instance = JSCompiler_object_inline_digest_2425.stck; - var componentStack = JSCompiler_object_inline_digest_2425.cstck; + JSCompiler_object_inline_digest_2445 = + JSCompiler_object_inline_message_2444.nextSibling && + JSCompiler_object_inline_message_2444.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2445) { + JSCompiler_temp = JSCompiler_object_inline_digest_2445.dgst; + var message = JSCompiler_object_inline_digest_2445.msg; + instance = JSCompiler_object_inline_digest_2445.stck; + var componentStack = JSCompiler_object_inline_digest_2445.cstck; } - JSCompiler_object_inline_message_2424 = message; - JSCompiler_object_inline_digest_2425 = JSCompiler_temp; - JSCompiler_object_inline_stack_2426 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2427 = + JSCompiler_object_inline_message_2444 = message; + JSCompiler_object_inline_digest_2445 = JSCompiler_temp; + JSCompiler_object_inline_stack_2446 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2447 = componentStack; - JSCompiler_object_inline_componentStack_2427 = - JSCompiler_object_inline_message_2424 - ? Error(JSCompiler_object_inline_message_2424) + JSCompiler_object_inline_componentStack_2447 = + JSCompiler_object_inline_message_2444 + ? Error(JSCompiler_object_inline_message_2444) : 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_2427.stack = - JSCompiler_object_inline_stack_2426 || ""; - JSCompiler_object_inline_componentStack_2427.digest = - JSCompiler_object_inline_digest_2425; - JSCompiler_object_inline_digest_2425 = + JSCompiler_object_inline_componentStack_2447.stack = + JSCompiler_object_inline_stack_2446 || ""; + JSCompiler_object_inline_componentStack_2447.digest = + JSCompiler_object_inline_digest_2445; + JSCompiler_object_inline_digest_2445 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2426 = { - value: JSCompiler_object_inline_componentStack_2427, + JSCompiler_object_inline_stack_2446 = { + value: JSCompiler_object_inline_componentStack_2447, source: null, - stack: JSCompiler_object_inline_digest_2425 + stack: JSCompiler_object_inline_digest_2445 }; - "string" === typeof JSCompiler_object_inline_digest_2425 && + "string" === typeof JSCompiler_object_inline_digest_2445 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2427, - JSCompiler_object_inline_stack_2426 + JSCompiler_object_inline_componentStack_2447, + JSCompiler_object_inline_stack_2446 ); - queueHydrationError(JSCompiler_object_inline_stack_2426); + queueHydrationError(JSCompiler_object_inline_stack_2446); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9687,44 +9687,44 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2425 = + (JSCompiler_object_inline_digest_2445 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2425) + didReceiveUpdate || JSCompiler_object_inline_digest_2445) ) { - JSCompiler_object_inline_digest_2425 = workInProgressRoot; + JSCompiler_object_inline_digest_2445 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2425 && - ((JSCompiler_object_inline_stack_2426 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2426 = - 0 !== (JSCompiler_object_inline_stack_2426 & 42) + null !== JSCompiler_object_inline_digest_2445 && + ((JSCompiler_object_inline_stack_2446 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2446 = + 0 !== (JSCompiler_object_inline_stack_2446 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2426 + JSCompiler_object_inline_stack_2446 )), - (JSCompiler_object_inline_stack_2426 = + (JSCompiler_object_inline_stack_2446 = 0 !== - (JSCompiler_object_inline_stack_2426 & - (JSCompiler_object_inline_digest_2425.suspendedLanes | + (JSCompiler_object_inline_stack_2446 & + (JSCompiler_object_inline_digest_2445.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2426), - 0 !== JSCompiler_object_inline_stack_2426 && - JSCompiler_object_inline_stack_2426 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2446), + 0 !== JSCompiler_object_inline_stack_2446 && + JSCompiler_object_inline_stack_2446 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2426), + ((prevState.retryLane = JSCompiler_object_inline_stack_2446), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2426 + JSCompiler_object_inline_stack_2446 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2425, + JSCompiler_object_inline_digest_2445, current, - JSCompiler_object_inline_stack_2426 + JSCompiler_object_inline_stack_2446 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2424.data === + JSCompiler_object_inline_message_2444.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9732,14 +9732,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2424.data === + JSCompiler_object_inline_message_2444.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((renderLanes = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2424.nextSibling + JSCompiler_object_inline_message_2444.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9757,72 +9757,72 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2426.children + JSCompiler_object_inline_stack_2446.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2427) + if (JSCompiler_object_inline_componentStack_2447) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2427 = - JSCompiler_object_inline_stack_2426.fallback), - (JSCompiler_object_inline_message_2424 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2447 = + JSCompiler_object_inline_stack_2446.fallback), + (JSCompiler_object_inline_message_2444 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), (componentStack = { mode: "hidden", - children: JSCompiler_object_inline_stack_2426.children + children: JSCompiler_object_inline_stack_2446.children }), - (JSCompiler_object_inline_message_2424 & ConcurrentMode) === NoMode && + (JSCompiler_object_inline_message_2444 & ConcurrentMode) === NoMode && workInProgress.child !== JSCompiler_temp - ? ((JSCompiler_object_inline_stack_2426 = workInProgress.child), - (JSCompiler_object_inline_stack_2426.childLanes = 0), - (JSCompiler_object_inline_stack_2426.pendingProps = + ? ((JSCompiler_object_inline_stack_2446 = workInProgress.child), + (JSCompiler_object_inline_stack_2446.childLanes = 0), + (JSCompiler_object_inline_stack_2446.pendingProps = componentStack), workInProgress.mode & ProfileMode && - ((JSCompiler_object_inline_stack_2426.actualDuration = -0), - (JSCompiler_object_inline_stack_2426.actualStartTime = -1.1), - (JSCompiler_object_inline_stack_2426.selfBaseDuration = + ((JSCompiler_object_inline_stack_2446.actualDuration = -0), + (JSCompiler_object_inline_stack_2446.actualStartTime = -1.1), + (JSCompiler_object_inline_stack_2446.selfBaseDuration = JSCompiler_temp.selfBaseDuration), - (JSCompiler_object_inline_stack_2426.treeBaseDuration = + (JSCompiler_object_inline_stack_2446.treeBaseDuration = JSCompiler_temp.treeBaseDuration)), (workInProgress.deletions = null)) - : ((JSCompiler_object_inline_stack_2426 = createWorkInProgress( + : ((JSCompiler_object_inline_stack_2446 = createWorkInProgress( JSCompiler_temp, componentStack )), - (JSCompiler_object_inline_stack_2426.subtreeFlags = + (JSCompiler_object_inline_stack_2446.subtreeFlags = JSCompiler_temp.subtreeFlags & 65011712)), null !== instance - ? (JSCompiler_object_inline_componentStack_2427 = + ? (JSCompiler_object_inline_componentStack_2447 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2427 + JSCompiler_object_inline_componentStack_2447 )) - : ((JSCompiler_object_inline_componentStack_2427 = + : ((JSCompiler_object_inline_componentStack_2447 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2427, - JSCompiler_object_inline_message_2424, + JSCompiler_object_inline_componentStack_2447, + JSCompiler_object_inline_message_2444, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2427.flags |= 2)), - (JSCompiler_object_inline_componentStack_2427.return = + (JSCompiler_object_inline_componentStack_2447.flags |= 2)), + (JSCompiler_object_inline_componentStack_2447.return = workInProgress), - (JSCompiler_object_inline_stack_2426.return = workInProgress), - (JSCompiler_object_inline_stack_2426.sibling = - JSCompiler_object_inline_componentStack_2427), - (workInProgress.child = JSCompiler_object_inline_stack_2426), - (JSCompiler_object_inline_stack_2426 = - JSCompiler_object_inline_componentStack_2427), - (JSCompiler_object_inline_componentStack_2427 = workInProgress.child), - (JSCompiler_object_inline_message_2424 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2424 - ? (JSCompiler_object_inline_message_2424 = + (JSCompiler_object_inline_stack_2446.return = workInProgress), + (JSCompiler_object_inline_stack_2446.sibling = + JSCompiler_object_inline_componentStack_2447), + (workInProgress.child = JSCompiler_object_inline_stack_2446), + (JSCompiler_object_inline_stack_2446 = + JSCompiler_object_inline_componentStack_2447), + (JSCompiler_object_inline_componentStack_2447 = workInProgress.child), + (JSCompiler_object_inline_message_2444 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2444 + ? (JSCompiler_object_inline_message_2444 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2424.cachePool), + JSCompiler_object_inline_message_2444.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9830,45 +9830,45 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2424 = { + (JSCompiler_object_inline_message_2444 = { baseLanes: - JSCompiler_object_inline_message_2424.baseLanes | renderLanes, + JSCompiler_object_inline_message_2444.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2427.memoizedState = - JSCompiler_object_inline_message_2424), - (JSCompiler_object_inline_componentStack_2427.childLanes = + (JSCompiler_object_inline_componentStack_2447.memoizedState = + JSCompiler_object_inline_message_2444), + (JSCompiler_object_inline_componentStack_2447.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2425, + JSCompiler_object_inline_digest_2445, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2426 + JSCompiler_object_inline_stack_2446 ); pushPrimaryTreeSuspenseHandler(workInProgress); - JSCompiler_object_inline_digest_2425 = current.child; - current = JSCompiler_object_inline_digest_2425.sibling; - JSCompiler_object_inline_digest_2425 = createWorkInProgress( - JSCompiler_object_inline_digest_2425, + JSCompiler_object_inline_digest_2445 = current.child; + current = JSCompiler_object_inline_digest_2445.sibling; + JSCompiler_object_inline_digest_2445 = createWorkInProgress( + JSCompiler_object_inline_digest_2445, { mode: "visible", - children: JSCompiler_object_inline_stack_2426.children + children: JSCompiler_object_inline_stack_2446.children } ); (workInProgress.mode & ConcurrentMode) === NoMode && - (JSCompiler_object_inline_digest_2425.lanes = renderLanes); - JSCompiler_object_inline_digest_2425.return = workInProgress; - JSCompiler_object_inline_digest_2425.sibling = null; + (JSCompiler_object_inline_digest_2445.lanes = renderLanes); + JSCompiler_object_inline_digest_2445.return = workInProgress; + JSCompiler_object_inline_digest_2445.sibling = null; null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); - workInProgress.child = JSCompiler_object_inline_digest_2425; + workInProgress.child = JSCompiler_object_inline_digest_2445; workInProgress.memoizedState = null; - return JSCompiler_object_inline_digest_2425; + return JSCompiler_object_inline_digest_2445; } function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { primaryChildren = createFiberFromOffscreen( @@ -10495,15 +10495,15 @@ __DEV__ && throw Error( "Should have a current fiber. This is a bug in React." ); - var nextProps = workInProgress.pendingProps; - prevSibling = workInProgress.memoizedState; - returnFiber = prevSibling.element; + returnFiber = workInProgress.pendingProps; + var prevState = workInProgress.memoizedState; + prevSibling = prevState.element; cloneUpdateQueue(current, workInProgress); - processUpdateQueue(workInProgress, nextProps, null, renderLanes); + processUpdateQueue(workInProgress, returnFiber, null, renderLanes); var nextState = workInProgress.memoizedState; - nextProps = nextState.cache; - pushProvider(workInProgress, CacheContext, nextProps); - nextProps !== prevSibling.cache && + returnFiber = nextState.cache; + pushProvider(workInProgress, CacheContext, returnFiber); + returnFiber !== prevState.cache && propagateContextChanges( workInProgress, [CacheContext], @@ -10511,66 +10511,72 @@ __DEV__ && !0 ); suspendIfUpdateReadFromEntangledAsyncAction(); - nextProps = nextState.element; - if (prevSibling.isDehydrated) + returnFiber = nextState.element; + if (prevState.isDehydrated) if ( - ((prevSibling = { - element: nextProps, + ((prevState = { + element: returnFiber, isDehydrated: !1, cache: nextState.cache }), - (workInProgress.updateQueue.baseState = prevSibling), - (workInProgress.memoizedState = prevSibling), + (workInProgress.updateQueue.baseState = prevState), + (workInProgress.memoizedState = prevState), workInProgress.flags & 256) ) { workInProgress = mountHostRootWithoutHydrating( current, workInProgress, - nextProps, + returnFiber, renderLanes ); break a; - } else if (nextProps !== returnFiber) { - returnFiber = createCapturedValueAtFiber( + } else if (returnFiber !== prevSibling) { + prevSibling = createCapturedValueAtFiber( Error( "This root received an early update, before anything was able hydrate. Switched the entire root to client rendering." ), workInProgress ); - queueHydrationError(returnFiber); + queueHydrationError(prevSibling); workInProgress = mountHostRootWithoutHydrating( current, workInProgress, - nextProps, + returnFiber, renderLanes ); break a; - } else - for ( - nextHydratableInstance = getNextHydratable( - workInProgress.stateNode.containerInfo.firstChild - ), - hydrationParentFiber = workInProgress, - isHydrating = !0, - hydrationErrors = null, - didSuspendOrErrorDEV = !1, - hydrationDiffRootDEV = null, - rootOrSingletonContext = !0, - renderLanes = mountChildFibers( - workInProgress, - null, - nextProps, - renderLanes - ), - workInProgress.child = renderLanes; - renderLanes; - - ) + } else { + current = workInProgress.stateNode.containerInfo; + switch (current.nodeType) { + case 9: + current = current.body; + break; + default: + current = + "HTML" === current.nodeName + ? current.ownerDocument.body + : current; + } + nextHydratableInstance = getNextHydratable(current.firstChild); + hydrationParentFiber = workInProgress; + isHydrating = !0; + hydrationErrors = null; + didSuspendOrErrorDEV = !1; + hydrationDiffRootDEV = null; + rootOrSingletonContext = !0; + renderLanes = mountChildFibers( + workInProgress, + null, + returnFiber, + renderLanes + ); + for (workInProgress.child = renderLanes; renderLanes; ) (renderLanes.flags = (renderLanes.flags & -3) | 4096), (renderLanes = renderLanes.sibling); + } else { resetHydrationState(); - if (nextProps === returnFiber) { + if (returnFiber === prevSibling) { workInProgress = bailoutOnAlreadyFinishedWork( current, workInProgress, @@ -10581,7 +10587,7 @@ __DEV__ && reconcileChildren( current, workInProgress, - nextProps, + returnFiber, renderLanes ); } @@ -10627,31 +10633,35 @@ __DEV__ && pushHostContext(workInProgress), null === current && isHydrating && - ((prevSibling = requiredContext(rootInstanceStackCursor.current)), - (returnFiber = getHostContext()), - (prevSibling = workInProgress.stateNode = + ((returnFiber = requiredContext(rootInstanceStackCursor.current)), + (prevSibling = getHostContext()), + (returnFiber = workInProgress.stateNode = resolveSingletonInstance( workInProgress.type, workInProgress.pendingProps, - prevSibling, returnFiber, + prevSibling, !1 )), didSuspendOrErrorDEV || - ((returnFiber = diffHydratedProperties( - prevSibling, + ((prevSibling = diffHydratedProperties( + returnFiber, workInProgress.type, workInProgress.pendingProps, - returnFiber + prevSibling )), - null !== returnFiber && + null !== prevSibling && (buildHydrationDiffNode(workInProgress, 0).serverProps = - returnFiber)), + prevSibling)), (hydrationParentFiber = workInProgress), (rootOrSingletonContext = !0), - (nextHydratableInstance = getNextHydratable( - prevSibling.firstChild - ))), + (prevSibling = nextHydratableInstance), + isSingletonScope(workInProgress.type) + ? ((previousHydratableOnEnteringScopedSingleton = prevSibling), + (nextHydratableInstance = getNextHydratable( + returnFiber.firstChild + ))) + : (nextHydratableInstance = prevSibling)), reconcileChildren( current, workInProgress, @@ -10666,10 +10676,10 @@ __DEV__ && return ( null === current && isHydrating && - ((nextProps = getHostContext()), + ((prevState = getHostContext()), (returnFiber = validateDOMNesting( workInProgress.type, - nextProps.ancestorInfo + prevState.ancestorInfo )), (prevSibling = nextHydratableInstance), (nextState = !prevSibling) || @@ -10682,33 +10692,33 @@ __DEV__ && null !== nextState ? ((workInProgress.stateNode = nextState), didSuspendOrErrorDEV || - ((nextProps = diffHydratedProperties( + ((prevState = diffHydratedProperties( nextState, workInProgress.type, workInProgress.pendingProps, - nextProps + prevState )), - null !== nextProps && + null !== prevState && (buildHydrationDiffNode(workInProgress, 0).serverProps = - nextProps)), + prevState)), (hydrationParentFiber = workInProgress), (nextHydratableInstance = getNextHydratable( nextState.firstChild )), (rootOrSingletonContext = !1), - (nextProps = !0)) - : (nextProps = !1), - (nextState = !nextProps)), + (prevState = !0)) + : (prevState = !1), + (nextState = !prevState)), nextState && (returnFiber && warnNonHydratedInstance(workInProgress, prevSibling), throwOnHydrationMismatch(workInProgress))), pushHostContext(workInProgress), (prevSibling = workInProgress.type), - (nextProps = workInProgress.pendingProps), + (prevState = workInProgress.pendingProps), (nextState = null !== current ? current.memoizedProps : null), - (returnFiber = nextProps.children), - shouldSetTextContent(prevSibling, nextProps) + (returnFiber = prevState.children), + shouldSetTextContent(prevSibling, prevState) ? (returnFiber = null) : null !== nextState && shouldSetTextContent(prevSibling, nextState) && @@ -10833,14 +10843,14 @@ __DEV__ && return ( (returnFiber = workInProgress.type), (prevSibling = workInProgress.pendingProps), - (nextProps = prevSibling.value), + (prevState = prevSibling.value), "value" in prevSibling || hasWarnedAboutUsingNoValuePropOnContextProvider || ((hasWarnedAboutUsingNoValuePropOnContextProvider = !0), error$jscomp$0( "The `value` prop is required for the ``. Did you misspell it or forget to pass it?" )), - pushProvider(workInProgress, returnFiber, nextProps), + pushProvider(workInProgress, returnFiber, prevState), reconcileChildren( current, workInProgress, @@ -10953,12 +10963,12 @@ __DEV__ && ? ((prevSibling = peekCacheFromPool()), null === prevSibling && ((prevSibling = workInProgressRoot), - (nextProps = createCache()), - (prevSibling.pooledCache = nextProps), - retainCache(nextProps), - null !== nextProps && + (prevState = createCache()), + (prevSibling.pooledCache = prevState), + retainCache(prevState), + null !== prevState && (prevSibling.pooledCacheLanes |= renderLanes), - (prevSibling = nextProps)), + (prevSibling = prevState)), (workInProgress.memoizedState = { parent: returnFiber, cache: prevSibling @@ -10970,7 +10980,7 @@ __DEV__ && processUpdateQueue(workInProgress, null, null, renderLanes), suspendIfUpdateReadFromEntangledAsyncAction()), (prevSibling = current.memoizedState), - (nextProps = workInProgress.memoizedState), + (prevState = workInProgress.memoizedState), prevSibling.parent !== returnFiber ? ((prevSibling = { parent: returnFiber, @@ -10982,7 +10992,7 @@ __DEV__ && workInProgress.updateQueue.baseState = prevSibling), pushProvider(workInProgress, CacheContext, returnFiber)) - : ((returnFiber = nextProps.cache), + : ((returnFiber = prevState.cache), pushProvider(workInProgress, CacheContext, returnFiber), returnFiber !== prevSibling.cache && propagateContextChanges( @@ -11552,7 +11562,7 @@ __DEV__ && 5 === fiber.tag || 3 === fiber.tag || 26 === fiber.tag || - (27 === fiber.tag && "head" === fiber.type) || + (27 === fiber.tag && isSingletonScope(fiber.type)) || 4 === fiber.tag ); } @@ -11568,7 +11578,7 @@ __DEV__ && 5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag; ) { - if (27 === fiber.tag && "head" === fiber.type) continue a; + if (27 === fiber.tag && isSingletonScope(fiber.type)) continue a; if (fiber.flags & 2) continue a; if (null === fiber.child || 4 === fiber.tag) continue a; else (fiber.child.return = fiber), (fiber = fiber.child); @@ -11596,33 +11606,36 @@ __DEV__ && : parent.insertBefore(node, before); } else a: { - switch (parent.nodeType) { + before = parent; + switch (before.nodeType) { case 8: - before = parent.parentNode; + parent = before.parentNode; supportsMoveBefore - ? before.moveBefore(node, parent) - : before.insertBefore(node, parent); + ? parent.moveBefore(node, before) + : parent.insertBefore(node, before); break a; case 9: - before = parent.body; + parent = before.body; break; default: - before = - "HTML" === parent.nodeName - ? parent.ownerDocument.body - : parent; + parent = + "HTML" === before.nodeName + ? before.ownerDocument.body + : before; } supportsMoveBefore - ? before.moveBefore(node, null) - : before.appendChild(node); - parent = parent._reactRootContainer; - (null !== parent && void 0 !== parent) || - null !== before.onclick || - (before.onclick = noop$1); + ? parent.moveBefore(node, null) + : parent.appendChild(node); + before = before._reactRootContainer; + (null !== before && void 0 !== before) || + null !== parent.onclick || + (parent.onclick = noop$1); } else if ( 4 !== tag && - (27 === tag && "head" === node.type && (parent = node.stateNode), + (27 === tag && + isSingletonScope(node.type) && + ((parent = node.stateNode), (before = null)), (node = node.child), null !== node) ) @@ -11649,7 +11662,7 @@ __DEV__ && : before.appendChild(node)); else if ( 4 !== tag && - (27 === tag && "head" === node.type && (parent = node.stateNode), + (27 === tag && isSingletonScope(node.type) && (parent = node.stateNode), (node = node.child), null !== node) ) @@ -12134,7 +12147,7 @@ __DEV__ && safelyDetachRef(deletedFiber, nearestMountedAncestor); var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer; - "head" === deletedFiber.type && + isSingletonScope(deletedFiber.type) && ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1)); recursivelyTraverseDeletionEffects( @@ -12411,7 +12424,7 @@ __DEV__ && a: for (; null !== parent; ) { switch (parent.tag) { case 27: - if ("head" === parent.type) { + if (isSingletonScope(parent.type)) { hostParent = parent.stateNode; hostParentIsContainer = !1; break a; @@ -14291,14 +14304,14 @@ __DEV__ && function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) switch (hydrationParentFiber.tag) { - case 3: - case 27: - rootOrSingletonContext = !0; - return; case 5: case 13: rootOrSingletonContext = !1; return; + case 27: + case 3: + rootOrSingletonContext = !0; + return; default: hydrationParentFiber = hydrationParentFiber.return; } @@ -14307,32 +14320,31 @@ __DEV__ && if (fiber !== hydrationParentFiber) return !1; if (!isHydrating) return popToNextHostParent(fiber), (isHydrating = !0), !1; - var shouldClear = !1, + var tag = fiber.tag, JSCompiler_temp; - if ((JSCompiler_temp = 3 !== fiber.tag && 27 !== fiber.tag)) { - if ((JSCompiler_temp = 5 === fiber.tag)) + if ((JSCompiler_temp = 3 !== tag && 27 !== tag)) { + if ((JSCompiler_temp = 5 === tag)) (JSCompiler_temp = fiber.type), (JSCompiler_temp = !("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) || shouldSetTextContent(fiber.type, fiber.memoizedProps)); JSCompiler_temp = !JSCompiler_temp; } - JSCompiler_temp && (shouldClear = !0); - if (shouldClear && nextHydratableInstance) { - for (shouldClear = nextHydratableInstance; shouldClear; ) { - JSCompiler_temp = buildHydrationDiffNode(fiber, 0); - var description = - describeHydratableInstanceForDevWarnings(shouldClear); - JSCompiler_temp.serverTail.push(description); - shouldClear = + if (JSCompiler_temp && nextHydratableInstance) { + for (JSCompiler_temp = nextHydratableInstance; JSCompiler_temp; ) { + var diffNode = buildHydrationDiffNode(fiber, 0), + description = + describeHydratableInstanceForDevWarnings(JSCompiler_temp); + diffNode.serverTail.push(description); + JSCompiler_temp = "Suspense" === description.type - ? getNextHydratableInstanceAfterSuspenseInstance(shouldClear) - : getNextHydratable(shouldClear.nextSibling); + ? getNextHydratableInstanceAfterSuspenseInstance(JSCompiler_temp) + : getNextHydratable(JSCompiler_temp.nextSibling); } throwOnHydrationMismatch(fiber); } popToNextHostParent(fiber); - if (13 === fiber.tag) { + if (13 === tag) { fiber = fiber.memoizedState; fiber = null !== fiber ? fiber.dehydrated : null; if (!fiber) @@ -14342,9 +14354,16 @@ __DEV__ && nextHydratableInstance = getNextHydratableInstanceAfterSuspenseInstance(fiber); } else - nextHydratableInstance = hydrationParentFiber - ? getNextHydratable(fiber.stateNode.nextSibling) - : null; + 27 === tag + ? ((tag = nextHydratableInstance), + isSingletonScope(fiber.type) + ? ((fiber = previousHydratableOnEnteringScopedSingleton), + (previousHydratableOnEnteringScopedSingleton = null), + (nextHydratableInstance = fiber)) + : (nextHydratableInstance = tag)) + : (nextHydratableInstance = hydrationParentFiber + ? getNextHydratable(fiber.stateNode.nextSibling) + : null); return !0; } function resetHydrationState() { @@ -20333,6 +20352,9 @@ __DEV__ && function commitTextUpdate(textInstance, oldText, newText) { textInstance.nodeValue = newText; } + function isSingletonScope(type) { + return "head" === type; + } function removeChild(parentInstance, child) { parentInstance.removeChild(child); } @@ -20354,12 +20376,42 @@ __DEV__ && } function clearSuspenseBoundary(parentInstance, suspenseInstance) { var node = suspenseInstance, + possiblePreambleContribution = 0, depth = 0; do { var nextNode = node.nextSibling; parentInstance.removeChild(node); if (nextNode && 8 === nextNode.nodeType) if (((node = nextNode.data), node === SUSPENSE_END_DATA)) { + if ( + 0 < possiblePreambleContribution && + 8 > possiblePreambleContribution + ) { + node = possiblePreambleContribution; + var ownerDocument = parentInstance.ownerDocument; + node & PREAMBLE_CONTRIBUTION_HTML && + releaseSingletonInstance(ownerDocument.documentElement); + node & PREAMBLE_CONTRIBUTION_BODY && + releaseSingletonInstance(ownerDocument.body); + if (node & PREAMBLE_CONTRIBUTION_HEAD) + for ( + node = ownerDocument.head, + releaseSingletonInstance(node), + ownerDocument = node.firstChild; + ownerDocument; + + ) { + var nextNode$jscomp$0 = ownerDocument.nextSibling, + nodeName = ownerDocument.nodeName; + ownerDocument[internalHoistableMarker] || + "SCRIPT" === nodeName || + "STYLE" === nodeName || + ("LINK" === nodeName && + "stylesheet" === ownerDocument.rel.toLowerCase()) || + node.removeChild(ownerDocument); + ownerDocument = nextNode$jscomp$0; + } + } if (0 === depth) { parentInstance.removeChild(nextNode); retryIfBlockedOn(suspenseInstance); @@ -20367,10 +20419,12 @@ __DEV__ && } depth--; } else - (node !== SUSPENSE_START_DATA && - node !== SUSPENSE_PENDING_START_DATA && - node !== SUSPENSE_FALLBACK_START_DATA) || - depth++; + node === SUSPENSE_START_DATA || + node === SUSPENSE_PENDING_START_DATA || + node === SUSPENSE_FALLBACK_START_DATA + ? depth++ + : (possiblePreambleContribution = node.charCodeAt(0) - 48); + else possiblePreambleContribution = 0; node = nextNode; } while (node); retryIfBlockedOn(suspenseInstance); @@ -25553,6 +25607,9 @@ __DEV__ && SUSPENSE_END_DATA = "/$", SUSPENSE_PENDING_START_DATA = "$?", SUSPENSE_FALLBACK_START_DATA = "$!", + PREAMBLE_CONTRIBUTION_HTML = 1, + PREAMBLE_CONTRIBUTION_BODY = 2, + PREAMBLE_CONTRIBUTION_HEAD = 4, FORM_STATE_IS_MATCHING = "F!", FORM_STATE_IS_NOT_MATCHING = "F", DOCUMENT_READY_STATE_COMPLETE = "complete", @@ -25583,6 +25640,7 @@ __DEV__ && supportsMoveBefore = "undefined" !== typeof window && "function" === typeof window.Element.prototype.moveBefore, + previousHydratableOnEnteringScopedSingleton = null, NotLoaded = 0, Loaded = 1, Errored = 2, @@ -25994,11 +26052,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-native-fb-19ca800c-20250131" !== isomorphicReactPackageVersion) + if ("19.1.0-native-fb-8bda7155-20250204" !== 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-native-fb-19ca800c-20250131\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-native-fb-8bda7155-20250204\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -26035,10 +26093,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-19ca800c-20250131", + version: "19.1.0-native-fb-8bda7155-20250204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-19ca800c-20250131" + reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26184,5 +26242,5 @@ __DEV__ && listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.1.0-native-fb-19ca800c-20250131"; + exports.version = "19.1.0-native-fb-8bda7155-20250204"; })(); diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js index 6315f1e65598b..02bb22100ae84 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<03db2bd4276e6fa1c803bacf39761e0c>> */ /* @@ -7335,15 +7335,15 @@ function beginWork(current, workInProgress, renderLanes) { a: { pushHostRootContext(workInProgress); if (null === current) throw Error(formatProdErrorMessage(387)); - var nextProps = workInProgress.pendingProps; - init = workInProgress.memoizedState; - elementType = init.element; + elementType = workInProgress.pendingProps; + var prevState = workInProgress.memoizedState; + init = prevState.element; cloneUpdateQueue(current, workInProgress); - processUpdateQueue(workInProgress, nextProps, null, renderLanes); + processUpdateQueue(workInProgress, elementType, null, renderLanes); var nextState = workInProgress.memoizedState; - nextProps = nextState.cache; - pushProvider(workInProgress, CacheContext, nextProps); - nextProps !== init.cache && + elementType = nextState.cache; + pushProvider(workInProgress, CacheContext, elementType); + elementType !== prevState.cache && propagateContextChanges( workInProgress, [CacheContext], @@ -7351,62 +7351,68 @@ function beginWork(current, workInProgress, renderLanes) { !0 ); suspendIfUpdateReadFromEntangledAsyncAction(); - nextProps = nextState.element; - if (init.isDehydrated) + elementType = nextState.element; + if (prevState.isDehydrated) if ( - ((init = { - element: nextProps, + ((prevState = { + element: elementType, isDehydrated: !1, cache: nextState.cache }), - (workInProgress.updateQueue.baseState = init), - (workInProgress.memoizedState = init), + (workInProgress.updateQueue.baseState = prevState), + (workInProgress.memoizedState = prevState), workInProgress.flags & 256) ) { workInProgress = mountHostRootWithoutHydrating( current, workInProgress, - nextProps, + elementType, renderLanes ); break a; - } else if (nextProps !== elementType) { - elementType = createCapturedValueAtFiber( + } else if (elementType !== init) { + init = createCapturedValueAtFiber( Error(formatProdErrorMessage(424)), workInProgress ); - queueHydrationError(elementType); + queueHydrationError(init); workInProgress = mountHostRootWithoutHydrating( current, workInProgress, - nextProps, + elementType, renderLanes ); break a; - } else - for ( - nextHydratableInstance = getNextHydratable( - workInProgress.stateNode.containerInfo.firstChild - ), - hydrationParentFiber = workInProgress, - isHydrating = !0, - hydrationErrors = null, - rootOrSingletonContext = !0, - renderLanes = mountChildFibers( - workInProgress, - null, - nextProps, - renderLanes - ), - workInProgress.child = renderLanes; - renderLanes; - - ) + } else { + current = workInProgress.stateNode.containerInfo; + switch (current.nodeType) { + case 9: + current = current.body; + break; + default: + current = + "HTML" === current.nodeName + ? current.ownerDocument.body + : current; + } + nextHydratableInstance = getNextHydratable(current.firstChild); + hydrationParentFiber = workInProgress; + isHydrating = !0; + hydrationErrors = null; + rootOrSingletonContext = !0; + renderLanes = mountChildFibers( + workInProgress, + null, + elementType, + renderLanes + ); + for (workInProgress.child = renderLanes; renderLanes; ) (renderLanes.flags = (renderLanes.flags & -3) | 4096), (renderLanes = renderLanes.sibling); + } else { resetHydrationState(); - if (nextProps === elementType) { + if (elementType === init) { workInProgress = bailoutOnAlreadyFinishedWork( current, workInProgress, @@ -7414,7 +7420,7 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - reconcileChildren(current, workInProgress, nextProps, renderLanes); + reconcileChildren(current, workInProgress, elementType, renderLanes); } workInProgress = workInProgress.child; } @@ -7462,7 +7468,13 @@ function beginWork(current, workInProgress, renderLanes) { )), (hydrationParentFiber = workInProgress), (rootOrSingletonContext = !0), - (nextHydratableInstance = getNextHydratable(elementType.firstChild))), + (init = nextHydratableInstance), + isSingletonScope(workInProgress.type) + ? ((previousHydratableOnEnteringScopedSingleton = init), + (nextHydratableInstance = getNextHydratable( + elementType.firstChild + ))) + : (nextHydratableInstance = init)), reconcileChildren( current, workInProgress, @@ -7498,10 +7510,10 @@ function beginWork(current, workInProgress, renderLanes) { init && throwOnHydrationMismatch(workInProgress)), pushHostContext(workInProgress), (init = workInProgress.type), - (nextProps = workInProgress.pendingProps), + (prevState = workInProgress.pendingProps), (nextState = null !== current ? current.memoizedProps : null), - (elementType = nextProps.children), - shouldSetTextContent(init, nextProps) + (elementType = prevState.children), + shouldSetTextContent(init, prevState) ? (elementType = null) : null !== nextState && shouldSetTextContent(init, nextState) && @@ -7695,11 +7707,11 @@ function beginWork(current, workInProgress, renderLanes) { ? ((init = peekCacheFromPool()), null === init && ((init = workInProgressRoot), - (nextProps = createCache()), - (init.pooledCache = nextProps), - nextProps.refCount++, - null !== nextProps && (init.pooledCacheLanes |= renderLanes), - (init = nextProps)), + (prevState = createCache()), + (init.pooledCache = prevState), + prevState.refCount++, + null !== prevState && (init.pooledCacheLanes |= renderLanes), + (init = prevState)), (workInProgress.memoizedState = { parent: elementType, cache: init @@ -7711,7 +7723,7 @@ function beginWork(current, workInProgress, renderLanes) { processUpdateQueue(workInProgress, null, null, renderLanes), suspendIfUpdateReadFromEntangledAsyncAction()), (init = current.memoizedState), - (nextProps = workInProgress.memoizedState), + (prevState = workInProgress.memoizedState), init.parent !== elementType ? ((init = { parent: elementType, cache: elementType }), (workInProgress.memoizedState = init), @@ -7720,7 +7732,7 @@ function beginWork(current, workInProgress, renderLanes) { workInProgress.updateQueue.baseState = init), pushProvider(workInProgress, CacheContext, elementType)) - : ((elementType = nextProps.cache), + : ((elementType = prevState.cache), pushProvider(workInProgress, CacheContext, elementType), elementType !== init.cache && propagateContextChanges( @@ -7966,7 +7978,7 @@ function isHostParent(fiber) { 5 === fiber.tag || 3 === fiber.tag || 26 === fiber.tag || - (27 === fiber.tag && "head" === fiber.type) || + (27 === fiber.tag && isSingletonScope(fiber.type)) || 4 === fiber.tag ); } @@ -7982,7 +7994,7 @@ function getHostSibling(fiber) { 5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag; ) { - if (27 === fiber.tag && "head" === fiber.type) continue a; + if (27 === fiber.tag && isSingletonScope(fiber.type)) continue a; if (fiber.flags & 2) continue a; if (null === fiber.child || 4 === fiber.tag) continue a; else (fiber.child.return = fiber), (fiber = fiber.child); @@ -8010,31 +8022,34 @@ function insertOrAppendPlacementNodeIntoContainer(node, before, parent) { : parent.insertBefore(node, before); } else a: { - switch (parent.nodeType) { + before = parent; + switch (before.nodeType) { case 8: - before = parent.parentNode; + parent = before.parentNode; supportsMoveBefore - ? before.moveBefore(node, parent) - : before.insertBefore(node, parent); + ? parent.moveBefore(node, before) + : parent.insertBefore(node, before); break a; case 9: - before = parent.body; + parent = before.body; break; default: - before = - "HTML" === parent.nodeName ? parent.ownerDocument.body : parent; + parent = + "HTML" === before.nodeName ? before.ownerDocument.body : before; } supportsMoveBefore - ? before.moveBefore(node, null) - : before.appendChild(node); - parent = parent._reactRootContainer; - (null !== parent && void 0 !== parent) || - null !== before.onclick || - (before.onclick = noop$1); + ? parent.moveBefore(node, null) + : parent.appendChild(node); + before = before._reactRootContainer; + (null !== before && void 0 !== before) || + null !== parent.onclick || + (parent.onclick = noop$1); } else if ( 4 !== tag && - (27 === tag && "head" === node.type && (parent = node.stateNode), + (27 === tag && + isSingletonScope(node.type) && + ((parent = node.stateNode), (before = null)), (node = node.child), null !== node) ) @@ -8061,7 +8076,7 @@ function insertOrAppendPlacementNode(node, before, parent) { : before.appendChild(node)); else if ( 4 !== tag && - (27 === tag && "head" === node.type && (parent = node.stateNode), + (27 === tag && isSingletonScope(node.type) && (parent = node.stateNode), (node = node.child), null !== node) ) @@ -8429,7 +8444,7 @@ function commitDeletionEffectsOnFiber( safelyDetachRef(deletedFiber, nearestMountedAncestor); var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer; - "head" === deletedFiber.type && + isSingletonScope(deletedFiber.type) && ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1)); recursivelyTraverseDeletionEffects( finishedRoot, @@ -8663,7 +8678,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { a: for (; null !== parent; ) { switch (parent.tag) { case 27: - if ("head" === parent.type) { + if (isSingletonScope(parent.type)) { hostParent = parent.stateNode; hostParentIsContainer = !1; break a; @@ -10184,14 +10199,14 @@ function prepareToHydrateHostInstance(fiber) { function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) switch (hydrationParentFiber.tag) { - case 3: - case 27: - rootOrSingletonContext = !0; - return; case 5: case 13: rootOrSingletonContext = !1; return; + case 27: + case 3: + rootOrSingletonContext = !0; + return; default: hydrationParentFiber = hydrationParentFiber.return; } @@ -10199,46 +10214,52 @@ function popToNextHostParent(fiber) { function popHydrationState(fiber) { if (fiber !== hydrationParentFiber) return !1; if (!isHydrating) return popToNextHostParent(fiber), (isHydrating = !0), !1; - var shouldClear = !1, + var tag = fiber.tag, JSCompiler_temp; - if ((JSCompiler_temp = 3 !== fiber.tag && 27 !== fiber.tag)) { - if ((JSCompiler_temp = 5 === fiber.tag)) + if ((JSCompiler_temp = 3 !== tag && 27 !== tag)) { + if ((JSCompiler_temp = 5 === tag)) (JSCompiler_temp = fiber.type), (JSCompiler_temp = !("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) || shouldSetTextContent(fiber.type, fiber.memoizedProps)); JSCompiler_temp = !JSCompiler_temp; } - JSCompiler_temp && (shouldClear = !0); - shouldClear && nextHydratableInstance && throwOnHydrationMismatch(fiber); + JSCompiler_temp && nextHydratableInstance && throwOnHydrationMismatch(fiber); popToNextHostParent(fiber); - if (13 === fiber.tag) { + if (13 === tag) { fiber = fiber.memoizedState; fiber = null !== fiber ? fiber.dehydrated : null; if (!fiber) throw Error(formatProdErrorMessage(317)); a: { fiber = fiber.nextSibling; - for (shouldClear = 0; fiber; ) { + for (tag = 0; fiber; ) { if (8 === fiber.nodeType) if (((JSCompiler_temp = fiber.data), "/$" === JSCompiler_temp)) { - if (0 === shouldClear) { + if (0 === tag) { nextHydratableInstance = getNextHydratable(fiber.nextSibling); break a; } - shouldClear--; + tag--; } else ("$" !== JSCompiler_temp && "$!" !== JSCompiler_temp && "$?" !== JSCompiler_temp) || - shouldClear++; + tag++; fiber = fiber.nextSibling; } nextHydratableInstance = null; } } else - nextHydratableInstance = hydrationParentFiber - ? getNextHydratable(fiber.stateNode.nextSibling) - : null; + 27 === tag + ? ((tag = nextHydratableInstance), + isSingletonScope(fiber.type) + ? ((fiber = previousHydratableOnEnteringScopedSingleton), + (previousHydratableOnEnteringScopedSingleton = null), + (nextHydratableInstance = fiber)) + : (nextHydratableInstance = tag)) + : (nextHydratableInstance = hydrationParentFiber + ? getNextHydratable(fiber.stateNode.nextSibling) + : null); return !0; } function resetHydrationState() { @@ -12495,20 +12516,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1543 = 0; - i$jscomp$inline_1543 < simpleEventPluginEvents.length; - i$jscomp$inline_1543++ + var i$jscomp$inline_1554 = 0; + i$jscomp$inline_1554 < simpleEventPluginEvents.length; + i$jscomp$inline_1554++ ) { - var eventName$jscomp$inline_1544 = - simpleEventPluginEvents[i$jscomp$inline_1543], - domEventName$jscomp$inline_1545 = - eventName$jscomp$inline_1544.toLowerCase(), - capitalizedEvent$jscomp$inline_1546 = - eventName$jscomp$inline_1544[0].toUpperCase() + - eventName$jscomp$inline_1544.slice(1); + var eventName$jscomp$inline_1555 = + simpleEventPluginEvents[i$jscomp$inline_1554], + domEventName$jscomp$inline_1556 = + eventName$jscomp$inline_1555.toLowerCase(), + capitalizedEvent$jscomp$inline_1557 = + eventName$jscomp$inline_1555[0].toUpperCase() + + eventName$jscomp$inline_1555.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1545, - "on" + capitalizedEvent$jscomp$inline_1546 + domEventName$jscomp$inline_1556, + "on" + capitalizedEvent$jscomp$inline_1557 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -14281,21 +14302,56 @@ function handleErrorInNextTick(error) { var supportsMoveBefore = "undefined" !== typeof window && "function" === typeof window.Element.prototype.moveBefore; +function isSingletonScope(type) { + return "head" === type; +} function clearSuspenseBoundary(parentInstance, suspenseInstance) { var node = suspenseInstance, + possiblePreambleContribution = 0, depth = 0; do { var nextNode = node.nextSibling; parentInstance.removeChild(node); if (nextNode && 8 === nextNode.nodeType) if (((node = nextNode.data), "/$" === node)) { + if ( + 0 < possiblePreambleContribution && + 8 > possiblePreambleContribution + ) { + node = possiblePreambleContribution; + var ownerDocument = parentInstance.ownerDocument; + node & 1 && releaseSingletonInstance(ownerDocument.documentElement); + node & 2 && releaseSingletonInstance(ownerDocument.body); + if (node & 4) + for ( + node = ownerDocument.head, + releaseSingletonInstance(node), + ownerDocument = node.firstChild; + ownerDocument; + + ) { + var nextNode$jscomp$0 = ownerDocument.nextSibling, + nodeName = ownerDocument.nodeName; + ownerDocument[internalHoistableMarker] || + "SCRIPT" === nodeName || + "STYLE" === nodeName || + ("LINK" === nodeName && + "stylesheet" === ownerDocument.rel.toLowerCase()) || + node.removeChild(ownerDocument); + ownerDocument = nextNode$jscomp$0; + } + } if (0 === depth) { parentInstance.removeChild(nextNode); retryIfBlockedOn(suspenseInstance); return; } depth--; - } else ("$" !== node && "$?" !== node && "$!" !== node) || depth++; + } else + "$" === node || "$?" === node || "$!" === node + ? depth++ + : (possiblePreambleContribution = node.charCodeAt(0) - 48); + else possiblePreambleContribution = 0; node = nextNode; } while (node); retryIfBlockedOn(suspenseInstance); @@ -14440,6 +14496,7 @@ function getNextHydratable(node) { } return node; } +var previousHydratableOnEnteringScopedSingleton = null; function getParentSuspenseInstance(targetInstance) { targetInstance = targetInstance.previousSibling; for (var depth = 0; targetInstance; ) { @@ -15998,16 +16055,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1786 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1802 = React.version; if ( - "19.1.0-native-fb-19ca800c-20250131" !== - isomorphicReactPackageVersion$jscomp$inline_1786 + "19.1.0-native-fb-8bda7155-20250204" !== + isomorphicReactPackageVersion$jscomp$inline_1802 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1786, - "19.1.0-native-fb-19ca800c-20250131" + isomorphicReactPackageVersion$jscomp$inline_1802, + "19.1.0-native-fb-8bda7155-20250204" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16027,24 +16084,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2242 = { +var internals$jscomp$inline_2262 = { bundleType: 0, - version: "19.1.0-native-fb-19ca800c-20250131", + version: "19.1.0-native-fb-8bda7155-20250204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-19ca800c-20250131" + reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2243 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2263 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2243.isDisabled && - hook$jscomp$inline_2243.supportsFiber + !hook$jscomp$inline_2263.isDisabled && + hook$jscomp$inline_2263.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2243.inject( - internals$jscomp$inline_2242 + (rendererID = hook$jscomp$inline_2263.inject( + internals$jscomp$inline_2262 )), - (injectedHook = hook$jscomp$inline_2243); + (injectedHook = hook$jscomp$inline_2263); } catch (err) {} } exports.createRoot = function (container, options) { @@ -16138,4 +16195,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.1.0-native-fb-19ca800c-20250131"; +exports.version = "19.1.0-native-fb-8bda7155-20250204"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js index ad6a3ba632351..1d9b0ab7b6237 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ /* @@ -7510,15 +7510,15 @@ function beginWork(current, workInProgress, renderLanes) { a: { pushHostRootContext(workInProgress); if (null === current) throw Error(formatProdErrorMessage(387)); - var nextProps = workInProgress.pendingProps; - init = workInProgress.memoizedState; - elementType = init.element; + elementType = workInProgress.pendingProps; + var prevState = workInProgress.memoizedState; + init = prevState.element; cloneUpdateQueue(current, workInProgress); - processUpdateQueue(workInProgress, nextProps, null, renderLanes); + processUpdateQueue(workInProgress, elementType, null, renderLanes); var nextState = workInProgress.memoizedState; - nextProps = nextState.cache; - pushProvider(workInProgress, CacheContext, nextProps); - nextProps !== init.cache && + elementType = nextState.cache; + pushProvider(workInProgress, CacheContext, elementType); + elementType !== prevState.cache && propagateContextChanges( workInProgress, [CacheContext], @@ -7526,62 +7526,68 @@ function beginWork(current, workInProgress, renderLanes) { !0 ); suspendIfUpdateReadFromEntangledAsyncAction(); - nextProps = nextState.element; - if (init.isDehydrated) + elementType = nextState.element; + if (prevState.isDehydrated) if ( - ((init = { - element: nextProps, + ((prevState = { + element: elementType, isDehydrated: !1, cache: nextState.cache }), - (workInProgress.updateQueue.baseState = init), - (workInProgress.memoizedState = init), + (workInProgress.updateQueue.baseState = prevState), + (workInProgress.memoizedState = prevState), workInProgress.flags & 256) ) { workInProgress = mountHostRootWithoutHydrating( current, workInProgress, - nextProps, + elementType, renderLanes ); break a; - } else if (nextProps !== elementType) { - elementType = createCapturedValueAtFiber( + } else if (elementType !== init) { + init = createCapturedValueAtFiber( Error(formatProdErrorMessage(424)), workInProgress ); - queueHydrationError(elementType); + queueHydrationError(init); workInProgress = mountHostRootWithoutHydrating( current, workInProgress, - nextProps, + elementType, renderLanes ); break a; - } else - for ( - nextHydratableInstance = getNextHydratable( - workInProgress.stateNode.containerInfo.firstChild - ), - hydrationParentFiber = workInProgress, - isHydrating = !0, - hydrationErrors = null, - rootOrSingletonContext = !0, - renderLanes = mountChildFibers( - workInProgress, - null, - nextProps, - renderLanes - ), - workInProgress.child = renderLanes; - renderLanes; - - ) + } else { + current = workInProgress.stateNode.containerInfo; + switch (current.nodeType) { + case 9: + current = current.body; + break; + default: + current = + "HTML" === current.nodeName + ? current.ownerDocument.body + : current; + } + nextHydratableInstance = getNextHydratable(current.firstChild); + hydrationParentFiber = workInProgress; + isHydrating = !0; + hydrationErrors = null; + rootOrSingletonContext = !0; + renderLanes = mountChildFibers( + workInProgress, + null, + elementType, + renderLanes + ); + for (workInProgress.child = renderLanes; renderLanes; ) (renderLanes.flags = (renderLanes.flags & -3) | 4096), (renderLanes = renderLanes.sibling); + } else { resetHydrationState(); - if (nextProps === elementType) { + if (elementType === init) { workInProgress = bailoutOnAlreadyFinishedWork( current, workInProgress, @@ -7589,7 +7595,7 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - reconcileChildren(current, workInProgress, nextProps, renderLanes); + reconcileChildren(current, workInProgress, elementType, renderLanes); } workInProgress = workInProgress.child; } @@ -7637,7 +7643,13 @@ function beginWork(current, workInProgress, renderLanes) { )), (hydrationParentFiber = workInProgress), (rootOrSingletonContext = !0), - (nextHydratableInstance = getNextHydratable(elementType.firstChild))), + (init = nextHydratableInstance), + isSingletonScope(workInProgress.type) + ? ((previousHydratableOnEnteringScopedSingleton = init), + (nextHydratableInstance = getNextHydratable( + elementType.firstChild + ))) + : (nextHydratableInstance = init)), reconcileChildren( current, workInProgress, @@ -7673,10 +7685,10 @@ function beginWork(current, workInProgress, renderLanes) { init && throwOnHydrationMismatch(workInProgress)), pushHostContext(workInProgress), (init = workInProgress.type), - (nextProps = workInProgress.pendingProps), + (prevState = workInProgress.pendingProps), (nextState = null !== current ? current.memoizedProps : null), - (elementType = nextProps.children), - shouldSetTextContent(init, nextProps) + (elementType = prevState.children), + shouldSetTextContent(init, prevState) ? (elementType = null) : null !== nextState && shouldSetTextContent(init, nextState) && @@ -7877,11 +7889,11 @@ function beginWork(current, workInProgress, renderLanes) { ? ((init = peekCacheFromPool()), null === init && ((init = workInProgressRoot), - (nextProps = createCache()), - (init.pooledCache = nextProps), - nextProps.refCount++, - null !== nextProps && (init.pooledCacheLanes |= renderLanes), - (init = nextProps)), + (prevState = createCache()), + (init.pooledCache = prevState), + prevState.refCount++, + null !== prevState && (init.pooledCacheLanes |= renderLanes), + (init = prevState)), (workInProgress.memoizedState = { parent: elementType, cache: init @@ -7893,7 +7905,7 @@ function beginWork(current, workInProgress, renderLanes) { processUpdateQueue(workInProgress, null, null, renderLanes), suspendIfUpdateReadFromEntangledAsyncAction()), (init = current.memoizedState), - (nextProps = workInProgress.memoizedState), + (prevState = workInProgress.memoizedState), init.parent !== elementType ? ((init = { parent: elementType, cache: elementType }), (workInProgress.memoizedState = init), @@ -7902,7 +7914,7 @@ function beginWork(current, workInProgress, renderLanes) { workInProgress.updateQueue.baseState = init), pushProvider(workInProgress, CacheContext, elementType)) - : ((elementType = nextProps.cache), + : ((elementType = prevState.cache), pushProvider(workInProgress, CacheContext, elementType), elementType !== init.cache && propagateContextChanges( @@ -8309,7 +8321,7 @@ function isHostParent(fiber) { 5 === fiber.tag || 3 === fiber.tag || 26 === fiber.tag || - (27 === fiber.tag && "head" === fiber.type) || + (27 === fiber.tag && isSingletonScope(fiber.type)) || 4 === fiber.tag ); } @@ -8325,7 +8337,7 @@ function getHostSibling(fiber) { 5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag; ) { - if (27 === fiber.tag && "head" === fiber.type) continue a; + if (27 === fiber.tag && isSingletonScope(fiber.type)) continue a; if (fiber.flags & 2) continue a; if (null === fiber.child || 4 === fiber.tag) continue a; else (fiber.child.return = fiber), (fiber = fiber.child); @@ -8353,31 +8365,34 @@ function insertOrAppendPlacementNodeIntoContainer(node, before, parent) { : parent.insertBefore(node, before); } else a: { - switch (parent.nodeType) { + before = parent; + switch (before.nodeType) { case 8: - before = parent.parentNode; + parent = before.parentNode; supportsMoveBefore - ? before.moveBefore(node, parent) - : before.insertBefore(node, parent); + ? parent.moveBefore(node, before) + : parent.insertBefore(node, before); break a; case 9: - before = parent.body; + parent = before.body; break; default: - before = - "HTML" === parent.nodeName ? parent.ownerDocument.body : parent; + parent = + "HTML" === before.nodeName ? before.ownerDocument.body : before; } supportsMoveBefore - ? before.moveBefore(node, null) - : before.appendChild(node); - parent = parent._reactRootContainer; - (null !== parent && void 0 !== parent) || - null !== before.onclick || - (before.onclick = noop$1); + ? parent.moveBefore(node, null) + : parent.appendChild(node); + before = before._reactRootContainer; + (null !== before && void 0 !== before) || + null !== parent.onclick || + (parent.onclick = noop$1); } else if ( 4 !== tag && - (27 === tag && "head" === node.type && (parent = node.stateNode), + (27 === tag && + isSingletonScope(node.type) && + ((parent = node.stateNode), (before = null)), (node = node.child), null !== node) ) @@ -8404,7 +8419,7 @@ function insertOrAppendPlacementNode(node, before, parent) { : before.appendChild(node)); else if ( 4 !== tag && - (27 === tag && "head" === node.type && (parent = node.stateNode), + (27 === tag && isSingletonScope(node.type) && (parent = node.stateNode), (node = node.child), null !== node) ) @@ -8817,7 +8832,7 @@ function commitDeletionEffectsOnFiber( safelyDetachRef(deletedFiber, nearestMountedAncestor); var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer; - "head" === deletedFiber.type && + isSingletonScope(deletedFiber.type) && ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1)); recursivelyTraverseDeletionEffects( finishedRoot, @@ -9057,7 +9072,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { a: for (; null !== parent; ) { switch (parent.tag) { case 27: - if ("head" === parent.type) { + if (isSingletonScope(parent.type)) { hostParent = parent.stateNode; hostParentIsContainer = !1; break a; @@ -10624,14 +10639,14 @@ function prepareToHydrateHostInstance(fiber) { function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) switch (hydrationParentFiber.tag) { - case 3: - case 27: - rootOrSingletonContext = !0; - return; case 5: case 13: rootOrSingletonContext = !1; return; + case 27: + case 3: + rootOrSingletonContext = !0; + return; default: hydrationParentFiber = hydrationParentFiber.return; } @@ -10639,46 +10654,52 @@ function popToNextHostParent(fiber) { function popHydrationState(fiber) { if (fiber !== hydrationParentFiber) return !1; if (!isHydrating) return popToNextHostParent(fiber), (isHydrating = !0), !1; - var shouldClear = !1, + var tag = fiber.tag, JSCompiler_temp; - if ((JSCompiler_temp = 3 !== fiber.tag && 27 !== fiber.tag)) { - if ((JSCompiler_temp = 5 === fiber.tag)) + if ((JSCompiler_temp = 3 !== tag && 27 !== tag)) { + if ((JSCompiler_temp = 5 === tag)) (JSCompiler_temp = fiber.type), (JSCompiler_temp = !("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) || shouldSetTextContent(fiber.type, fiber.memoizedProps)); JSCompiler_temp = !JSCompiler_temp; } - JSCompiler_temp && (shouldClear = !0); - shouldClear && nextHydratableInstance && throwOnHydrationMismatch(fiber); + JSCompiler_temp && nextHydratableInstance && throwOnHydrationMismatch(fiber); popToNextHostParent(fiber); - if (13 === fiber.tag) { + if (13 === tag) { fiber = fiber.memoizedState; fiber = null !== fiber ? fiber.dehydrated : null; if (!fiber) throw Error(formatProdErrorMessage(317)); a: { fiber = fiber.nextSibling; - for (shouldClear = 0; fiber; ) { + for (tag = 0; fiber; ) { if (8 === fiber.nodeType) if (((JSCompiler_temp = fiber.data), "/$" === JSCompiler_temp)) { - if (0 === shouldClear) { + if (0 === tag) { nextHydratableInstance = getNextHydratable(fiber.nextSibling); break a; } - shouldClear--; + tag--; } else ("$" !== JSCompiler_temp && "$!" !== JSCompiler_temp && "$?" !== JSCompiler_temp) || - shouldClear++; + tag++; fiber = fiber.nextSibling; } nextHydratableInstance = null; } } else - nextHydratableInstance = hydrationParentFiber - ? getNextHydratable(fiber.stateNode.nextSibling) - : null; + 27 === tag + ? ((tag = nextHydratableInstance), + isSingletonScope(fiber.type) + ? ((fiber = previousHydratableOnEnteringScopedSingleton), + (previousHydratableOnEnteringScopedSingleton = null), + (nextHydratableInstance = fiber)) + : (nextHydratableInstance = tag)) + : (nextHydratableInstance = hydrationParentFiber + ? getNextHydratable(fiber.stateNode.nextSibling) + : null); return !0; } function resetHydrationState() { @@ -13136,20 +13157,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1636 = 0; - i$jscomp$inline_1636 < simpleEventPluginEvents.length; - i$jscomp$inline_1636++ + var i$jscomp$inline_1647 = 0; + i$jscomp$inline_1647 < simpleEventPluginEvents.length; + i$jscomp$inline_1647++ ) { - var eventName$jscomp$inline_1637 = - simpleEventPluginEvents[i$jscomp$inline_1636], - domEventName$jscomp$inline_1638 = - eventName$jscomp$inline_1637.toLowerCase(), - capitalizedEvent$jscomp$inline_1639 = - eventName$jscomp$inline_1637[0].toUpperCase() + - eventName$jscomp$inline_1637.slice(1); + var eventName$jscomp$inline_1648 = + simpleEventPluginEvents[i$jscomp$inline_1647], + domEventName$jscomp$inline_1649 = + eventName$jscomp$inline_1648.toLowerCase(), + capitalizedEvent$jscomp$inline_1650 = + eventName$jscomp$inline_1648[0].toUpperCase() + + eventName$jscomp$inline_1648.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1638, - "on" + capitalizedEvent$jscomp$inline_1639 + domEventName$jscomp$inline_1649, + "on" + capitalizedEvent$jscomp$inline_1650 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -14922,21 +14943,56 @@ function handleErrorInNextTick(error) { var supportsMoveBefore = "undefined" !== typeof window && "function" === typeof window.Element.prototype.moveBefore; +function isSingletonScope(type) { + return "head" === type; +} function clearSuspenseBoundary(parentInstance, suspenseInstance) { var node = suspenseInstance, + possiblePreambleContribution = 0, depth = 0; do { var nextNode = node.nextSibling; parentInstance.removeChild(node); if (nextNode && 8 === nextNode.nodeType) if (((node = nextNode.data), "/$" === node)) { + if ( + 0 < possiblePreambleContribution && + 8 > possiblePreambleContribution + ) { + node = possiblePreambleContribution; + var ownerDocument = parentInstance.ownerDocument; + node & 1 && releaseSingletonInstance(ownerDocument.documentElement); + node & 2 && releaseSingletonInstance(ownerDocument.body); + if (node & 4) + for ( + node = ownerDocument.head, + releaseSingletonInstance(node), + ownerDocument = node.firstChild; + ownerDocument; + + ) { + var nextNode$jscomp$0 = ownerDocument.nextSibling, + nodeName = ownerDocument.nodeName; + ownerDocument[internalHoistableMarker] || + "SCRIPT" === nodeName || + "STYLE" === nodeName || + ("LINK" === nodeName && + "stylesheet" === ownerDocument.rel.toLowerCase()) || + node.removeChild(ownerDocument); + ownerDocument = nextNode$jscomp$0; + } + } if (0 === depth) { parentInstance.removeChild(nextNode); retryIfBlockedOn(suspenseInstance); return; } depth--; - } else ("$" !== node && "$?" !== node && "$!" !== node) || depth++; + } else + "$" === node || "$?" === node || "$!" === node + ? depth++ + : (possiblePreambleContribution = node.charCodeAt(0) - 48); + else possiblePreambleContribution = 0; node = nextNode; } while (node); retryIfBlockedOn(suspenseInstance); @@ -15081,6 +15137,7 @@ function getNextHydratable(node) { } return node; } +var previousHydratableOnEnteringScopedSingleton = null; function getParentSuspenseInstance(targetInstance) { targetInstance = targetInstance.previousSibling; for (var depth = 0; targetInstance; ) { @@ -16647,16 +16704,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1881 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1897 = React.version; if ( - "19.1.0-native-fb-19ca800c-20250131" !== - isomorphicReactPackageVersion$jscomp$inline_1881 + "19.1.0-native-fb-8bda7155-20250204" !== + isomorphicReactPackageVersion$jscomp$inline_1897 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1881, - "19.1.0-native-fb-19ca800c-20250131" + isomorphicReactPackageVersion$jscomp$inline_1897, + "19.1.0-native-fb-8bda7155-20250204" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16676,12 +16733,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_1888 = { +var internals$jscomp$inline_1904 = { bundleType: 0, - version: "19.1.0-native-fb-19ca800c-20250131", + version: "19.1.0-native-fb-8bda7155-20250204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-19ca800c-20250131", + reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$294 = 0; @@ -16699,16 +16756,16 @@ var internals$jscomp$inline_1888 = { } }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2302 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2322 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2302.isDisabled && - hook$jscomp$inline_2302.supportsFiber + !hook$jscomp$inline_2322.isDisabled && + hook$jscomp$inline_2322.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2302.inject( - internals$jscomp$inline_1888 + (rendererID = hook$jscomp$inline_2322.inject( + internals$jscomp$inline_1904 )), - (injectedHook = hook$jscomp$inline_2302); + (injectedHook = hook$jscomp$inline_2322); } catch (err) {} } exports.createRoot = function (container, options) { @@ -16802,4 +16859,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.1.0-native-fb-19ca800c-20250131"; +exports.version = "19.1.0-native-fb-8bda7155-20250204"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js index f236c5bfe52bc..662ec0676d11e 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<1ced3a8ced26a4064f87d313d6a37909>> + * @generated SignedSource<> */ /* @@ -9426,32 +9426,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2430; - var JSCompiler_object_inline_stack_2431 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2450; + var JSCompiler_object_inline_stack_2451 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2432 = !1; + var JSCompiler_object_inline_componentStack_2452 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2430 = didSuspend) || - (JSCompiler_object_inline_digest_2430 = + (JSCompiler_object_inline_digest_2450 = didSuspend) || + (JSCompiler_object_inline_digest_2450 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2430 && - ((JSCompiler_object_inline_componentStack_2432 = !0), + JSCompiler_object_inline_digest_2450 && + ((JSCompiler_object_inline_componentStack_2452 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2430 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2450 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2432 + JSCompiler_object_inline_componentStack_2452 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2429 = nextHydratableInstance; + var JSCompiler_object_inline_message_2449 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2429)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2449)) { c: { - var instance = JSCompiler_object_inline_message_2429; + var instance = JSCompiler_object_inline_message_2449; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -9493,89 +9493,89 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2429 + JSCompiler_object_inline_message_2449 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2429 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2449 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2429 && - ((JSCompiler_object_inline_message_2429 = - JSCompiler_object_inline_message_2429.dehydrated), - null !== JSCompiler_object_inline_message_2429) + null !== JSCompiler_object_inline_message_2449 && + ((JSCompiler_object_inline_message_2449 = + JSCompiler_object_inline_message_2449.dehydrated), + null !== JSCompiler_object_inline_message_2449) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2429) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2449) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2429 = - JSCompiler_object_inline_stack_2431.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2431.fallback; - if (JSCompiler_object_inline_componentStack_2432) + JSCompiler_object_inline_message_2449 = + JSCompiler_object_inline_stack_2451.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2451.fallback; + if (JSCompiler_object_inline_componentStack_2452) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2431 = + (JSCompiler_object_inline_stack_2451 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2429, + JSCompiler_object_inline_message_2449, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2432 = + (JSCompiler_object_inline_componentStack_2452 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2432.memoizedState = + (JSCompiler_object_inline_componentStack_2452.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2432.childLanes = + (JSCompiler_object_inline_componentStack_2452.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2430, + JSCompiler_object_inline_digest_2450, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2431 + JSCompiler_object_inline_stack_2451 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2431.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2451.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2431 = + (JSCompiler_object_inline_stack_2451 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2429, + JSCompiler_object_inline_message_2449, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2432 = + (JSCompiler_object_inline_componentStack_2452 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2432.memoizedState = + (JSCompiler_object_inline_componentStack_2452.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2432.childLanes = + (JSCompiler_object_inline_componentStack_2452.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2430, + JSCompiler_object_inline_digest_2450, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2431 + JSCompiler_object_inline_stack_2451 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2429 + JSCompiler_object_inline_message_2449 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2429 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2429) + ((JSCompiler_object_inline_message_2449 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2449) ) { if (didSuspend) workInProgress.flags & 256 @@ -9592,32 +9592,32 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2432 = - JSCompiler_object_inline_stack_2431.fallback), - (JSCompiler_object_inline_message_2429 = workInProgress.mode), - (JSCompiler_object_inline_stack_2431 = createFiberFromOffscreen( + (JSCompiler_object_inline_componentStack_2452 = + JSCompiler_object_inline_stack_2451.fallback), + (JSCompiler_object_inline_message_2449 = workInProgress.mode), + (JSCompiler_object_inline_stack_2451 = createFiberFromOffscreen( { mode: "visible", - children: JSCompiler_object_inline_stack_2431.children + children: JSCompiler_object_inline_stack_2451.children }, - JSCompiler_object_inline_message_2429, + JSCompiler_object_inline_message_2449, 0, null )), - (JSCompiler_object_inline_componentStack_2432 = + (JSCompiler_object_inline_componentStack_2452 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2432, - JSCompiler_object_inline_message_2429, + JSCompiler_object_inline_componentStack_2452, + JSCompiler_object_inline_message_2449, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2432.flags |= 2), - (JSCompiler_object_inline_stack_2431.return = workInProgress), - (JSCompiler_object_inline_componentStack_2432.return = + (JSCompiler_object_inline_componentStack_2452.flags |= 2), + (JSCompiler_object_inline_stack_2451.return = workInProgress), + (JSCompiler_object_inline_componentStack_2452.return = workInProgress), - (JSCompiler_object_inline_stack_2431.sibling = - JSCompiler_object_inline_componentStack_2432), - (workInProgress.child = JSCompiler_object_inline_stack_2431), + (JSCompiler_object_inline_stack_2451.sibling = + JSCompiler_object_inline_componentStack_2452), + (workInProgress.child = JSCompiler_object_inline_stack_2451), (workInProgress.mode & ConcurrentMode) !== NoMode && reconcileChildFibers( workInProgress, @@ -9625,63 +9625,63 @@ __DEV__ && null, renderLanes ), - (JSCompiler_object_inline_stack_2431 = workInProgress.child), - (JSCompiler_object_inline_stack_2431.memoizedState = + (JSCompiler_object_inline_stack_2451 = workInProgress.child), + (JSCompiler_object_inline_stack_2451.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2431.childLanes = + (JSCompiler_object_inline_stack_2451.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2430, + JSCompiler_object_inline_digest_2450, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2432)); + JSCompiler_object_inline_componentStack_2452)); 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_2429)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2449)) ) { - JSCompiler_object_inline_digest_2430 = - JSCompiler_object_inline_message_2429.nextSibling && - JSCompiler_object_inline_message_2429.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2430) { - JSCompiler_temp = JSCompiler_object_inline_digest_2430.dgst; - var message = JSCompiler_object_inline_digest_2430.msg; - instance = JSCompiler_object_inline_digest_2430.stck; - var componentStack = JSCompiler_object_inline_digest_2430.cstck; + JSCompiler_object_inline_digest_2450 = + JSCompiler_object_inline_message_2449.nextSibling && + JSCompiler_object_inline_message_2449.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2450) { + JSCompiler_temp = JSCompiler_object_inline_digest_2450.dgst; + var message = JSCompiler_object_inline_digest_2450.msg; + instance = JSCompiler_object_inline_digest_2450.stck; + var componentStack = JSCompiler_object_inline_digest_2450.cstck; } - JSCompiler_object_inline_message_2429 = message; - JSCompiler_object_inline_digest_2430 = JSCompiler_temp; - JSCompiler_object_inline_stack_2431 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2432 = + JSCompiler_object_inline_message_2449 = message; + JSCompiler_object_inline_digest_2450 = JSCompiler_temp; + JSCompiler_object_inline_stack_2451 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2452 = componentStack; - JSCompiler_object_inline_componentStack_2432 = - JSCompiler_object_inline_message_2429 - ? Error(JSCompiler_object_inline_message_2429) + JSCompiler_object_inline_componentStack_2452 = + JSCompiler_object_inline_message_2449 + ? Error(JSCompiler_object_inline_message_2449) : 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_2432.stack = - JSCompiler_object_inline_stack_2431 || ""; - JSCompiler_object_inline_componentStack_2432.digest = - JSCompiler_object_inline_digest_2430; - JSCompiler_object_inline_digest_2430 = + JSCompiler_object_inline_componentStack_2452.stack = + JSCompiler_object_inline_stack_2451 || ""; + JSCompiler_object_inline_componentStack_2452.digest = + JSCompiler_object_inline_digest_2450; + JSCompiler_object_inline_digest_2450 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2431 = { - value: JSCompiler_object_inline_componentStack_2432, + JSCompiler_object_inline_stack_2451 = { + value: JSCompiler_object_inline_componentStack_2452, source: null, - stack: JSCompiler_object_inline_digest_2430 + stack: JSCompiler_object_inline_digest_2450 }; - "string" === typeof JSCompiler_object_inline_digest_2430 && + "string" === typeof JSCompiler_object_inline_digest_2450 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2432, - JSCompiler_object_inline_stack_2431 + JSCompiler_object_inline_componentStack_2452, + JSCompiler_object_inline_stack_2451 ); - queueHydrationError(JSCompiler_object_inline_stack_2431); + queueHydrationError(JSCompiler_object_inline_stack_2451); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9695,44 +9695,44 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2430 = + (JSCompiler_object_inline_digest_2450 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2430) + didReceiveUpdate || JSCompiler_object_inline_digest_2450) ) { - JSCompiler_object_inline_digest_2430 = workInProgressRoot; + JSCompiler_object_inline_digest_2450 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2430 && - ((JSCompiler_object_inline_stack_2431 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2431 = - 0 !== (JSCompiler_object_inline_stack_2431 & 42) + null !== JSCompiler_object_inline_digest_2450 && + ((JSCompiler_object_inline_stack_2451 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2451 = + 0 !== (JSCompiler_object_inline_stack_2451 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2431 + JSCompiler_object_inline_stack_2451 )), - (JSCompiler_object_inline_stack_2431 = + (JSCompiler_object_inline_stack_2451 = 0 !== - (JSCompiler_object_inline_stack_2431 & - (JSCompiler_object_inline_digest_2430.suspendedLanes | + (JSCompiler_object_inline_stack_2451 & + (JSCompiler_object_inline_digest_2450.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2431), - 0 !== JSCompiler_object_inline_stack_2431 && - JSCompiler_object_inline_stack_2431 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2451), + 0 !== JSCompiler_object_inline_stack_2451 && + JSCompiler_object_inline_stack_2451 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2431), + ((prevState.retryLane = JSCompiler_object_inline_stack_2451), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2431 + JSCompiler_object_inline_stack_2451 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2430, + JSCompiler_object_inline_digest_2450, current, - JSCompiler_object_inline_stack_2431 + JSCompiler_object_inline_stack_2451 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2429.data === + JSCompiler_object_inline_message_2449.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9740,14 +9740,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2429.data === + JSCompiler_object_inline_message_2449.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((renderLanes = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2429.nextSibling + JSCompiler_object_inline_message_2449.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9765,72 +9765,72 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2431.children + JSCompiler_object_inline_stack_2451.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2432) + if (JSCompiler_object_inline_componentStack_2452) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2432 = - JSCompiler_object_inline_stack_2431.fallback), - (JSCompiler_object_inline_message_2429 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2452 = + JSCompiler_object_inline_stack_2451.fallback), + (JSCompiler_object_inline_message_2449 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), (componentStack = { mode: "hidden", - children: JSCompiler_object_inline_stack_2431.children + children: JSCompiler_object_inline_stack_2451.children }), - (JSCompiler_object_inline_message_2429 & ConcurrentMode) === NoMode && + (JSCompiler_object_inline_message_2449 & ConcurrentMode) === NoMode && workInProgress.child !== JSCompiler_temp - ? ((JSCompiler_object_inline_stack_2431 = workInProgress.child), - (JSCompiler_object_inline_stack_2431.childLanes = 0), - (JSCompiler_object_inline_stack_2431.pendingProps = + ? ((JSCompiler_object_inline_stack_2451 = workInProgress.child), + (JSCompiler_object_inline_stack_2451.childLanes = 0), + (JSCompiler_object_inline_stack_2451.pendingProps = componentStack), workInProgress.mode & ProfileMode && - ((JSCompiler_object_inline_stack_2431.actualDuration = -0), - (JSCompiler_object_inline_stack_2431.actualStartTime = -1.1), - (JSCompiler_object_inline_stack_2431.selfBaseDuration = + ((JSCompiler_object_inline_stack_2451.actualDuration = -0), + (JSCompiler_object_inline_stack_2451.actualStartTime = -1.1), + (JSCompiler_object_inline_stack_2451.selfBaseDuration = JSCompiler_temp.selfBaseDuration), - (JSCompiler_object_inline_stack_2431.treeBaseDuration = + (JSCompiler_object_inline_stack_2451.treeBaseDuration = JSCompiler_temp.treeBaseDuration)), (workInProgress.deletions = null)) - : ((JSCompiler_object_inline_stack_2431 = createWorkInProgress( + : ((JSCompiler_object_inline_stack_2451 = createWorkInProgress( JSCompiler_temp, componentStack )), - (JSCompiler_object_inline_stack_2431.subtreeFlags = + (JSCompiler_object_inline_stack_2451.subtreeFlags = JSCompiler_temp.subtreeFlags & 65011712)), null !== instance - ? (JSCompiler_object_inline_componentStack_2432 = + ? (JSCompiler_object_inline_componentStack_2452 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2432 + JSCompiler_object_inline_componentStack_2452 )) - : ((JSCompiler_object_inline_componentStack_2432 = + : ((JSCompiler_object_inline_componentStack_2452 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2432, - JSCompiler_object_inline_message_2429, + JSCompiler_object_inline_componentStack_2452, + JSCompiler_object_inline_message_2449, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2432.flags |= 2)), - (JSCompiler_object_inline_componentStack_2432.return = + (JSCompiler_object_inline_componentStack_2452.flags |= 2)), + (JSCompiler_object_inline_componentStack_2452.return = workInProgress), - (JSCompiler_object_inline_stack_2431.return = workInProgress), - (JSCompiler_object_inline_stack_2431.sibling = - JSCompiler_object_inline_componentStack_2432), - (workInProgress.child = JSCompiler_object_inline_stack_2431), - (JSCompiler_object_inline_stack_2431 = - JSCompiler_object_inline_componentStack_2432), - (JSCompiler_object_inline_componentStack_2432 = workInProgress.child), - (JSCompiler_object_inline_message_2429 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2429 - ? (JSCompiler_object_inline_message_2429 = + (JSCompiler_object_inline_stack_2451.return = workInProgress), + (JSCompiler_object_inline_stack_2451.sibling = + JSCompiler_object_inline_componentStack_2452), + (workInProgress.child = JSCompiler_object_inline_stack_2451), + (JSCompiler_object_inline_stack_2451 = + JSCompiler_object_inline_componentStack_2452), + (JSCompiler_object_inline_componentStack_2452 = workInProgress.child), + (JSCompiler_object_inline_message_2449 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2449 + ? (JSCompiler_object_inline_message_2449 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2429.cachePool), + JSCompiler_object_inline_message_2449.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9838,45 +9838,45 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2429 = { + (JSCompiler_object_inline_message_2449 = { baseLanes: - JSCompiler_object_inline_message_2429.baseLanes | renderLanes, + JSCompiler_object_inline_message_2449.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2432.memoizedState = - JSCompiler_object_inline_message_2429), - (JSCompiler_object_inline_componentStack_2432.childLanes = + (JSCompiler_object_inline_componentStack_2452.memoizedState = + JSCompiler_object_inline_message_2449), + (JSCompiler_object_inline_componentStack_2452.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2430, + JSCompiler_object_inline_digest_2450, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2431 + JSCompiler_object_inline_stack_2451 ); pushPrimaryTreeSuspenseHandler(workInProgress); - JSCompiler_object_inline_digest_2430 = current.child; - current = JSCompiler_object_inline_digest_2430.sibling; - JSCompiler_object_inline_digest_2430 = createWorkInProgress( - JSCompiler_object_inline_digest_2430, + JSCompiler_object_inline_digest_2450 = current.child; + current = JSCompiler_object_inline_digest_2450.sibling; + JSCompiler_object_inline_digest_2450 = createWorkInProgress( + JSCompiler_object_inline_digest_2450, { mode: "visible", - children: JSCompiler_object_inline_stack_2431.children + children: JSCompiler_object_inline_stack_2451.children } ); (workInProgress.mode & ConcurrentMode) === NoMode && - (JSCompiler_object_inline_digest_2430.lanes = renderLanes); - JSCompiler_object_inline_digest_2430.return = workInProgress; - JSCompiler_object_inline_digest_2430.sibling = null; + (JSCompiler_object_inline_digest_2450.lanes = renderLanes); + JSCompiler_object_inline_digest_2450.return = workInProgress; + JSCompiler_object_inline_digest_2450.sibling = null; null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); - workInProgress.child = JSCompiler_object_inline_digest_2430; + workInProgress.child = JSCompiler_object_inline_digest_2450; workInProgress.memoizedState = null; - return JSCompiler_object_inline_digest_2430; + return JSCompiler_object_inline_digest_2450; } function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { primaryChildren = createFiberFromOffscreen( @@ -10503,15 +10503,15 @@ __DEV__ && throw Error( "Should have a current fiber. This is a bug in React." ); - var nextProps = workInProgress.pendingProps; - prevSibling = workInProgress.memoizedState; - returnFiber = prevSibling.element; + returnFiber = workInProgress.pendingProps; + var prevState = workInProgress.memoizedState; + prevSibling = prevState.element; cloneUpdateQueue(current, workInProgress); - processUpdateQueue(workInProgress, nextProps, null, renderLanes); + processUpdateQueue(workInProgress, returnFiber, null, renderLanes); var nextState = workInProgress.memoizedState; - nextProps = nextState.cache; - pushProvider(workInProgress, CacheContext, nextProps); - nextProps !== prevSibling.cache && + returnFiber = nextState.cache; + pushProvider(workInProgress, CacheContext, returnFiber); + returnFiber !== prevState.cache && propagateContextChanges( workInProgress, [CacheContext], @@ -10519,66 +10519,72 @@ __DEV__ && !0 ); suspendIfUpdateReadFromEntangledAsyncAction(); - nextProps = nextState.element; - if (prevSibling.isDehydrated) + returnFiber = nextState.element; + if (prevState.isDehydrated) if ( - ((prevSibling = { - element: nextProps, + ((prevState = { + element: returnFiber, isDehydrated: !1, cache: nextState.cache }), - (workInProgress.updateQueue.baseState = prevSibling), - (workInProgress.memoizedState = prevSibling), + (workInProgress.updateQueue.baseState = prevState), + (workInProgress.memoizedState = prevState), workInProgress.flags & 256) ) { workInProgress = mountHostRootWithoutHydrating( current, workInProgress, - nextProps, + returnFiber, renderLanes ); break a; - } else if (nextProps !== returnFiber) { - returnFiber = createCapturedValueAtFiber( + } else if (returnFiber !== prevSibling) { + prevSibling = createCapturedValueAtFiber( Error( "This root received an early update, before anything was able hydrate. Switched the entire root to client rendering." ), workInProgress ); - queueHydrationError(returnFiber); + queueHydrationError(prevSibling); workInProgress = mountHostRootWithoutHydrating( current, workInProgress, - nextProps, + returnFiber, renderLanes ); break a; - } else - for ( - nextHydratableInstance = getNextHydratable( - workInProgress.stateNode.containerInfo.firstChild - ), - hydrationParentFiber = workInProgress, - isHydrating = !0, - hydrationErrors = null, - didSuspendOrErrorDEV = !1, - hydrationDiffRootDEV = null, - rootOrSingletonContext = !0, - renderLanes = mountChildFibers( - workInProgress, - null, - nextProps, - renderLanes - ), - workInProgress.child = renderLanes; - renderLanes; - - ) + } else { + current = workInProgress.stateNode.containerInfo; + switch (current.nodeType) { + case 9: + current = current.body; + break; + default: + current = + "HTML" === current.nodeName + ? current.ownerDocument.body + : current; + } + nextHydratableInstance = getNextHydratable(current.firstChild); + hydrationParentFiber = workInProgress; + isHydrating = !0; + hydrationErrors = null; + didSuspendOrErrorDEV = !1; + hydrationDiffRootDEV = null; + rootOrSingletonContext = !0; + renderLanes = mountChildFibers( + workInProgress, + null, + returnFiber, + renderLanes + ); + for (workInProgress.child = renderLanes; renderLanes; ) (renderLanes.flags = (renderLanes.flags & -3) | 4096), (renderLanes = renderLanes.sibling); + } else { resetHydrationState(); - if (nextProps === returnFiber) { + if (returnFiber === prevSibling) { workInProgress = bailoutOnAlreadyFinishedWork( current, workInProgress, @@ -10589,7 +10595,7 @@ __DEV__ && reconcileChildren( current, workInProgress, - nextProps, + returnFiber, renderLanes ); } @@ -10635,31 +10641,35 @@ __DEV__ && pushHostContext(workInProgress), null === current && isHydrating && - ((prevSibling = requiredContext(rootInstanceStackCursor.current)), - (returnFiber = getHostContext()), - (prevSibling = workInProgress.stateNode = + ((returnFiber = requiredContext(rootInstanceStackCursor.current)), + (prevSibling = getHostContext()), + (returnFiber = workInProgress.stateNode = resolveSingletonInstance( workInProgress.type, workInProgress.pendingProps, - prevSibling, returnFiber, + prevSibling, !1 )), didSuspendOrErrorDEV || - ((returnFiber = diffHydratedProperties( - prevSibling, + ((prevSibling = diffHydratedProperties( + returnFiber, workInProgress.type, workInProgress.pendingProps, - returnFiber + prevSibling )), - null !== returnFiber && + null !== prevSibling && (buildHydrationDiffNode(workInProgress, 0).serverProps = - returnFiber)), + prevSibling)), (hydrationParentFiber = workInProgress), (rootOrSingletonContext = !0), - (nextHydratableInstance = getNextHydratable( - prevSibling.firstChild - ))), + (prevSibling = nextHydratableInstance), + isSingletonScope(workInProgress.type) + ? ((previousHydratableOnEnteringScopedSingleton = prevSibling), + (nextHydratableInstance = getNextHydratable( + returnFiber.firstChild + ))) + : (nextHydratableInstance = prevSibling)), reconcileChildren( current, workInProgress, @@ -10674,10 +10684,10 @@ __DEV__ && return ( null === current && isHydrating && - ((nextProps = getHostContext()), + ((prevState = getHostContext()), (returnFiber = validateDOMNesting( workInProgress.type, - nextProps.ancestorInfo + prevState.ancestorInfo )), (prevSibling = nextHydratableInstance), (nextState = !prevSibling) || @@ -10690,33 +10700,33 @@ __DEV__ && null !== nextState ? ((workInProgress.stateNode = nextState), didSuspendOrErrorDEV || - ((nextProps = diffHydratedProperties( + ((prevState = diffHydratedProperties( nextState, workInProgress.type, workInProgress.pendingProps, - nextProps + prevState )), - null !== nextProps && + null !== prevState && (buildHydrationDiffNode(workInProgress, 0).serverProps = - nextProps)), + prevState)), (hydrationParentFiber = workInProgress), (nextHydratableInstance = getNextHydratable( nextState.firstChild )), (rootOrSingletonContext = !1), - (nextProps = !0)) - : (nextProps = !1), - (nextState = !nextProps)), + (prevState = !0)) + : (prevState = !1), + (nextState = !prevState)), nextState && (returnFiber && warnNonHydratedInstance(workInProgress, prevSibling), throwOnHydrationMismatch(workInProgress))), pushHostContext(workInProgress), (prevSibling = workInProgress.type), - (nextProps = workInProgress.pendingProps), + (prevState = workInProgress.pendingProps), (nextState = null !== current ? current.memoizedProps : null), - (returnFiber = nextProps.children), - shouldSetTextContent(prevSibling, nextProps) + (returnFiber = prevState.children), + shouldSetTextContent(prevSibling, prevState) ? (returnFiber = null) : null !== nextState && shouldSetTextContent(prevSibling, nextState) && @@ -10841,14 +10851,14 @@ __DEV__ && return ( (returnFiber = workInProgress.type), (prevSibling = workInProgress.pendingProps), - (nextProps = prevSibling.value), + (prevState = prevSibling.value), "value" in prevSibling || hasWarnedAboutUsingNoValuePropOnContextProvider || ((hasWarnedAboutUsingNoValuePropOnContextProvider = !0), error$jscomp$0( "The `value` prop is required for the ``. Did you misspell it or forget to pass it?" )), - pushProvider(workInProgress, returnFiber, nextProps), + pushProvider(workInProgress, returnFiber, prevState), reconcileChildren( current, workInProgress, @@ -10961,12 +10971,12 @@ __DEV__ && ? ((prevSibling = peekCacheFromPool()), null === prevSibling && ((prevSibling = workInProgressRoot), - (nextProps = createCache()), - (prevSibling.pooledCache = nextProps), - retainCache(nextProps), - null !== nextProps && + (prevState = createCache()), + (prevSibling.pooledCache = prevState), + retainCache(prevState), + null !== prevState && (prevSibling.pooledCacheLanes |= renderLanes), - (prevSibling = nextProps)), + (prevSibling = prevState)), (workInProgress.memoizedState = { parent: returnFiber, cache: prevSibling @@ -10978,7 +10988,7 @@ __DEV__ && processUpdateQueue(workInProgress, null, null, renderLanes), suspendIfUpdateReadFromEntangledAsyncAction()), (prevSibling = current.memoizedState), - (nextProps = workInProgress.memoizedState), + (prevState = workInProgress.memoizedState), prevSibling.parent !== returnFiber ? ((prevSibling = { parent: returnFiber, @@ -10990,7 +11000,7 @@ __DEV__ && workInProgress.updateQueue.baseState = prevSibling), pushProvider(workInProgress, CacheContext, returnFiber)) - : ((returnFiber = nextProps.cache), + : ((returnFiber = prevState.cache), pushProvider(workInProgress, CacheContext, returnFiber), returnFiber !== prevSibling.cache && propagateContextChanges( @@ -11560,7 +11570,7 @@ __DEV__ && 5 === fiber.tag || 3 === fiber.tag || 26 === fiber.tag || - (27 === fiber.tag && "head" === fiber.type) || + (27 === fiber.tag && isSingletonScope(fiber.type)) || 4 === fiber.tag ); } @@ -11576,7 +11586,7 @@ __DEV__ && 5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag; ) { - if (27 === fiber.tag && "head" === fiber.type) continue a; + if (27 === fiber.tag && isSingletonScope(fiber.type)) continue a; if (fiber.flags & 2) continue a; if (null === fiber.child || 4 === fiber.tag) continue a; else (fiber.child.return = fiber), (fiber = fiber.child); @@ -11604,33 +11614,36 @@ __DEV__ && : parent.insertBefore(node, before); } else a: { - switch (parent.nodeType) { + before = parent; + switch (before.nodeType) { case 8: - before = parent.parentNode; + parent = before.parentNode; supportsMoveBefore - ? before.moveBefore(node, parent) - : before.insertBefore(node, parent); + ? parent.moveBefore(node, before) + : parent.insertBefore(node, before); break a; case 9: - before = parent.body; + parent = before.body; break; default: - before = - "HTML" === parent.nodeName - ? parent.ownerDocument.body - : parent; + parent = + "HTML" === before.nodeName + ? before.ownerDocument.body + : before; } supportsMoveBefore - ? before.moveBefore(node, null) - : before.appendChild(node); - parent = parent._reactRootContainer; - (null !== parent && void 0 !== parent) || - null !== before.onclick || - (before.onclick = noop$2); + ? parent.moveBefore(node, null) + : parent.appendChild(node); + before = before._reactRootContainer; + (null !== before && void 0 !== before) || + null !== parent.onclick || + (parent.onclick = noop$2); } else if ( 4 !== tag && - (27 === tag && "head" === node.type && (parent = node.stateNode), + (27 === tag && + isSingletonScope(node.type) && + ((parent = node.stateNode), (before = null)), (node = node.child), null !== node) ) @@ -11657,7 +11670,7 @@ __DEV__ && : before.appendChild(node)); else if ( 4 !== tag && - (27 === tag && "head" === node.type && (parent = node.stateNode), + (27 === tag && isSingletonScope(node.type) && (parent = node.stateNode), (node = node.child), null !== node) ) @@ -12142,7 +12155,7 @@ __DEV__ && safelyDetachRef(deletedFiber, nearestMountedAncestor); var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer; - "head" === deletedFiber.type && + isSingletonScope(deletedFiber.type) && ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1)); recursivelyTraverseDeletionEffects( @@ -12419,7 +12432,7 @@ __DEV__ && a: for (; null !== parent; ) { switch (parent.tag) { case 27: - if ("head" === parent.type) { + if (isSingletonScope(parent.type)) { hostParent = parent.stateNode; hostParentIsContainer = !1; break a; @@ -14299,14 +14312,14 @@ __DEV__ && function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) switch (hydrationParentFiber.tag) { - case 3: - case 27: - rootOrSingletonContext = !0; - return; case 5: case 13: rootOrSingletonContext = !1; return; + case 27: + case 3: + rootOrSingletonContext = !0; + return; default: hydrationParentFiber = hydrationParentFiber.return; } @@ -14315,32 +14328,31 @@ __DEV__ && if (fiber !== hydrationParentFiber) return !1; if (!isHydrating) return popToNextHostParent(fiber), (isHydrating = !0), !1; - var shouldClear = !1, + var tag = fiber.tag, JSCompiler_temp; - if ((JSCompiler_temp = 3 !== fiber.tag && 27 !== fiber.tag)) { - if ((JSCompiler_temp = 5 === fiber.tag)) + if ((JSCompiler_temp = 3 !== tag && 27 !== tag)) { + if ((JSCompiler_temp = 5 === tag)) (JSCompiler_temp = fiber.type), (JSCompiler_temp = !("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) || shouldSetTextContent(fiber.type, fiber.memoizedProps)); JSCompiler_temp = !JSCompiler_temp; } - JSCompiler_temp && (shouldClear = !0); - if (shouldClear && nextHydratableInstance) { - for (shouldClear = nextHydratableInstance; shouldClear; ) { - JSCompiler_temp = buildHydrationDiffNode(fiber, 0); - var description = - describeHydratableInstanceForDevWarnings(shouldClear); - JSCompiler_temp.serverTail.push(description); - shouldClear = + if (JSCompiler_temp && nextHydratableInstance) { + for (JSCompiler_temp = nextHydratableInstance; JSCompiler_temp; ) { + var diffNode = buildHydrationDiffNode(fiber, 0), + description = + describeHydratableInstanceForDevWarnings(JSCompiler_temp); + diffNode.serverTail.push(description); + JSCompiler_temp = "Suspense" === description.type - ? getNextHydratableInstanceAfterSuspenseInstance(shouldClear) - : getNextHydratable(shouldClear.nextSibling); + ? getNextHydratableInstanceAfterSuspenseInstance(JSCompiler_temp) + : getNextHydratable(JSCompiler_temp.nextSibling); } throwOnHydrationMismatch(fiber); } popToNextHostParent(fiber); - if (13 === fiber.tag) { + if (13 === tag) { fiber = fiber.memoizedState; fiber = null !== fiber ? fiber.dehydrated : null; if (!fiber) @@ -14350,9 +14362,16 @@ __DEV__ && nextHydratableInstance = getNextHydratableInstanceAfterSuspenseInstance(fiber); } else - nextHydratableInstance = hydrationParentFiber - ? getNextHydratable(fiber.stateNode.nextSibling) - : null; + 27 === tag + ? ((tag = nextHydratableInstance), + isSingletonScope(fiber.type) + ? ((fiber = previousHydratableOnEnteringScopedSingleton), + (previousHydratableOnEnteringScopedSingleton = null), + (nextHydratableInstance = fiber)) + : (nextHydratableInstance = tag)) + : (nextHydratableInstance = hydrationParentFiber + ? getNextHydratable(fiber.stateNode.nextSibling) + : null); return !0; } function resetHydrationState() { @@ -20345,6 +20364,9 @@ __DEV__ && function commitTextUpdate(textInstance, oldText, newText) { textInstance.nodeValue = newText; } + function isSingletonScope(type) { + return "head" === type; + } function removeChild(parentInstance, child) { parentInstance.removeChild(child); } @@ -20366,12 +20388,42 @@ __DEV__ && } function clearSuspenseBoundary(parentInstance, suspenseInstance) { var node = suspenseInstance, + possiblePreambleContribution = 0, depth = 0; do { var nextNode = node.nextSibling; parentInstance.removeChild(node); if (nextNode && 8 === nextNode.nodeType) if (((node = nextNode.data), node === SUSPENSE_END_DATA)) { + if ( + 0 < possiblePreambleContribution && + 8 > possiblePreambleContribution + ) { + node = possiblePreambleContribution; + var ownerDocument = parentInstance.ownerDocument; + node & PREAMBLE_CONTRIBUTION_HTML && + releaseSingletonInstance(ownerDocument.documentElement); + node & PREAMBLE_CONTRIBUTION_BODY && + releaseSingletonInstance(ownerDocument.body); + if (node & PREAMBLE_CONTRIBUTION_HEAD) + for ( + node = ownerDocument.head, + releaseSingletonInstance(node), + ownerDocument = node.firstChild; + ownerDocument; + + ) { + var nextNode$jscomp$0 = ownerDocument.nextSibling, + nodeName = ownerDocument.nodeName; + ownerDocument[internalHoistableMarker] || + "SCRIPT" === nodeName || + "STYLE" === nodeName || + ("LINK" === nodeName && + "stylesheet" === ownerDocument.rel.toLowerCase()) || + node.removeChild(ownerDocument); + ownerDocument = nextNode$jscomp$0; + } + } if (0 === depth) { parentInstance.removeChild(nextNode); retryIfBlockedOn(suspenseInstance); @@ -20379,10 +20431,12 @@ __DEV__ && } depth--; } else - (node !== SUSPENSE_START_DATA && - node !== SUSPENSE_PENDING_START_DATA && - node !== SUSPENSE_FALLBACK_START_DATA) || - depth++; + node === SUSPENSE_START_DATA || + node === SUSPENSE_PENDING_START_DATA || + node === SUSPENSE_FALLBACK_START_DATA + ? depth++ + : (possiblePreambleContribution = node.charCodeAt(0) - 48); + else possiblePreambleContribution = 0; node = nextNode; } while (node); retryIfBlockedOn(suspenseInstance); @@ -25614,6 +25668,9 @@ __DEV__ && SUSPENSE_END_DATA = "/$", SUSPENSE_PENDING_START_DATA = "$?", SUSPENSE_FALLBACK_START_DATA = "$!", + PREAMBLE_CONTRIBUTION_HTML = 1, + PREAMBLE_CONTRIBUTION_BODY = 2, + PREAMBLE_CONTRIBUTION_HEAD = 4, FORM_STATE_IS_MATCHING = "F!", FORM_STATE_IS_NOT_MATCHING = "F", DOCUMENT_READY_STATE_COMPLETE = "complete", @@ -25644,6 +25701,7 @@ __DEV__ && supportsMoveBefore = "undefined" !== typeof window && "function" === typeof window.Element.prototype.moveBefore, + previousHydratableOnEnteringScopedSingleton = null, NotLoaded = 0, Loaded = 1, Errored = 2, @@ -26055,11 +26113,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-native-fb-19ca800c-20250131" !== isomorphicReactPackageVersion) + if ("19.1.0-native-fb-8bda7155-20250204" !== 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-native-fb-19ca800c-20250131\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-native-fb-8bda7155-20250204\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -26096,10 +26154,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-19ca800c-20250131", + version: "19.1.0-native-fb-8bda7155-20250204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-19ca800c-20250131" + reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26561,7 +26619,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-native-fb-19ca800c-20250131"; + exports.version = "19.1.0-native-fb-8bda7155-20250204"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js index 0d2528a580f62..0742a98da8c46 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<78a11e252340ae98385834d2a1be92ab>> + * @generated SignedSource<<1d60eef1a8117018ac27a0b68c9b516e>> */ /* @@ -7335,15 +7335,15 @@ function beginWork(current, workInProgress, renderLanes) { a: { pushHostRootContext(workInProgress); if (null === current) throw Error(formatProdErrorMessage(387)); - var nextProps = workInProgress.pendingProps; - init = workInProgress.memoizedState; - elementType = init.element; + elementType = workInProgress.pendingProps; + var prevState = workInProgress.memoizedState; + init = prevState.element; cloneUpdateQueue(current, workInProgress); - processUpdateQueue(workInProgress, nextProps, null, renderLanes); + processUpdateQueue(workInProgress, elementType, null, renderLanes); var nextState = workInProgress.memoizedState; - nextProps = nextState.cache; - pushProvider(workInProgress, CacheContext, nextProps); - nextProps !== init.cache && + elementType = nextState.cache; + pushProvider(workInProgress, CacheContext, elementType); + elementType !== prevState.cache && propagateContextChanges( workInProgress, [CacheContext], @@ -7351,62 +7351,68 @@ function beginWork(current, workInProgress, renderLanes) { !0 ); suspendIfUpdateReadFromEntangledAsyncAction(); - nextProps = nextState.element; - if (init.isDehydrated) + elementType = nextState.element; + if (prevState.isDehydrated) if ( - ((init = { - element: nextProps, + ((prevState = { + element: elementType, isDehydrated: !1, cache: nextState.cache }), - (workInProgress.updateQueue.baseState = init), - (workInProgress.memoizedState = init), + (workInProgress.updateQueue.baseState = prevState), + (workInProgress.memoizedState = prevState), workInProgress.flags & 256) ) { workInProgress = mountHostRootWithoutHydrating( current, workInProgress, - nextProps, + elementType, renderLanes ); break a; - } else if (nextProps !== elementType) { - elementType = createCapturedValueAtFiber( + } else if (elementType !== init) { + init = createCapturedValueAtFiber( Error(formatProdErrorMessage(424)), workInProgress ); - queueHydrationError(elementType); + queueHydrationError(init); workInProgress = mountHostRootWithoutHydrating( current, workInProgress, - nextProps, + elementType, renderLanes ); break a; - } else - for ( - nextHydratableInstance = getNextHydratable( - workInProgress.stateNode.containerInfo.firstChild - ), - hydrationParentFiber = workInProgress, - isHydrating = !0, - hydrationErrors = null, - rootOrSingletonContext = !0, - renderLanes = mountChildFibers( - workInProgress, - null, - nextProps, - renderLanes - ), - workInProgress.child = renderLanes; - renderLanes; - - ) + } else { + current = workInProgress.stateNode.containerInfo; + switch (current.nodeType) { + case 9: + current = current.body; + break; + default: + current = + "HTML" === current.nodeName + ? current.ownerDocument.body + : current; + } + nextHydratableInstance = getNextHydratable(current.firstChild); + hydrationParentFiber = workInProgress; + isHydrating = !0; + hydrationErrors = null; + rootOrSingletonContext = !0; + renderLanes = mountChildFibers( + workInProgress, + null, + elementType, + renderLanes + ); + for (workInProgress.child = renderLanes; renderLanes; ) (renderLanes.flags = (renderLanes.flags & -3) | 4096), (renderLanes = renderLanes.sibling); + } else { resetHydrationState(); - if (nextProps === elementType) { + if (elementType === init) { workInProgress = bailoutOnAlreadyFinishedWork( current, workInProgress, @@ -7414,7 +7420,7 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - reconcileChildren(current, workInProgress, nextProps, renderLanes); + reconcileChildren(current, workInProgress, elementType, renderLanes); } workInProgress = workInProgress.child; } @@ -7462,7 +7468,13 @@ function beginWork(current, workInProgress, renderLanes) { )), (hydrationParentFiber = workInProgress), (rootOrSingletonContext = !0), - (nextHydratableInstance = getNextHydratable(elementType.firstChild))), + (init = nextHydratableInstance), + isSingletonScope(workInProgress.type) + ? ((previousHydratableOnEnteringScopedSingleton = init), + (nextHydratableInstance = getNextHydratable( + elementType.firstChild + ))) + : (nextHydratableInstance = init)), reconcileChildren( current, workInProgress, @@ -7498,10 +7510,10 @@ function beginWork(current, workInProgress, renderLanes) { init && throwOnHydrationMismatch(workInProgress)), pushHostContext(workInProgress), (init = workInProgress.type), - (nextProps = workInProgress.pendingProps), + (prevState = workInProgress.pendingProps), (nextState = null !== current ? current.memoizedProps : null), - (elementType = nextProps.children), - shouldSetTextContent(init, nextProps) + (elementType = prevState.children), + shouldSetTextContent(init, prevState) ? (elementType = null) : null !== nextState && shouldSetTextContent(init, nextState) && @@ -7695,11 +7707,11 @@ function beginWork(current, workInProgress, renderLanes) { ? ((init = peekCacheFromPool()), null === init && ((init = workInProgressRoot), - (nextProps = createCache()), - (init.pooledCache = nextProps), - nextProps.refCount++, - null !== nextProps && (init.pooledCacheLanes |= renderLanes), - (init = nextProps)), + (prevState = createCache()), + (init.pooledCache = prevState), + prevState.refCount++, + null !== prevState && (init.pooledCacheLanes |= renderLanes), + (init = prevState)), (workInProgress.memoizedState = { parent: elementType, cache: init @@ -7711,7 +7723,7 @@ function beginWork(current, workInProgress, renderLanes) { processUpdateQueue(workInProgress, null, null, renderLanes), suspendIfUpdateReadFromEntangledAsyncAction()), (init = current.memoizedState), - (nextProps = workInProgress.memoizedState), + (prevState = workInProgress.memoizedState), init.parent !== elementType ? ((init = { parent: elementType, cache: elementType }), (workInProgress.memoizedState = init), @@ -7720,7 +7732,7 @@ function beginWork(current, workInProgress, renderLanes) { workInProgress.updateQueue.baseState = init), pushProvider(workInProgress, CacheContext, elementType)) - : ((elementType = nextProps.cache), + : ((elementType = prevState.cache), pushProvider(workInProgress, CacheContext, elementType), elementType !== init.cache && propagateContextChanges( @@ -7966,7 +7978,7 @@ function isHostParent(fiber) { 5 === fiber.tag || 3 === fiber.tag || 26 === fiber.tag || - (27 === fiber.tag && "head" === fiber.type) || + (27 === fiber.tag && isSingletonScope(fiber.type)) || 4 === fiber.tag ); } @@ -7982,7 +7994,7 @@ function getHostSibling(fiber) { 5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag; ) { - if (27 === fiber.tag && "head" === fiber.type) continue a; + if (27 === fiber.tag && isSingletonScope(fiber.type)) continue a; if (fiber.flags & 2) continue a; if (null === fiber.child || 4 === fiber.tag) continue a; else (fiber.child.return = fiber), (fiber = fiber.child); @@ -8010,31 +8022,34 @@ function insertOrAppendPlacementNodeIntoContainer(node, before, parent) { : parent.insertBefore(node, before); } else a: { - switch (parent.nodeType) { + before = parent; + switch (before.nodeType) { case 8: - before = parent.parentNode; + parent = before.parentNode; supportsMoveBefore - ? before.moveBefore(node, parent) - : before.insertBefore(node, parent); + ? parent.moveBefore(node, before) + : parent.insertBefore(node, before); break a; case 9: - before = parent.body; + parent = before.body; break; default: - before = - "HTML" === parent.nodeName ? parent.ownerDocument.body : parent; + parent = + "HTML" === before.nodeName ? before.ownerDocument.body : before; } supportsMoveBefore - ? before.moveBefore(node, null) - : before.appendChild(node); - parent = parent._reactRootContainer; - (null !== parent && void 0 !== parent) || - null !== before.onclick || - (before.onclick = noop$2); + ? parent.moveBefore(node, null) + : parent.appendChild(node); + before = before._reactRootContainer; + (null !== before && void 0 !== before) || + null !== parent.onclick || + (parent.onclick = noop$2); } else if ( 4 !== tag && - (27 === tag && "head" === node.type && (parent = node.stateNode), + (27 === tag && + isSingletonScope(node.type) && + ((parent = node.stateNode), (before = null)), (node = node.child), null !== node) ) @@ -8061,7 +8076,7 @@ function insertOrAppendPlacementNode(node, before, parent) { : before.appendChild(node)); else if ( 4 !== tag && - (27 === tag && "head" === node.type && (parent = node.stateNode), + (27 === tag && isSingletonScope(node.type) && (parent = node.stateNode), (node = node.child), null !== node) ) @@ -8429,7 +8444,7 @@ function commitDeletionEffectsOnFiber( safelyDetachRef(deletedFiber, nearestMountedAncestor); var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer; - "head" === deletedFiber.type && + isSingletonScope(deletedFiber.type) && ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1)); recursivelyTraverseDeletionEffects( finishedRoot, @@ -8663,7 +8678,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { a: for (; null !== parent; ) { switch (parent.tag) { case 27: - if ("head" === parent.type) { + if (isSingletonScope(parent.type)) { hostParent = parent.stateNode; hostParentIsContainer = !1; break a; @@ -10184,14 +10199,14 @@ function prepareToHydrateHostInstance(fiber) { function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) switch (hydrationParentFiber.tag) { - case 3: - case 27: - rootOrSingletonContext = !0; - return; case 5: case 13: rootOrSingletonContext = !1; return; + case 27: + case 3: + rootOrSingletonContext = !0; + return; default: hydrationParentFiber = hydrationParentFiber.return; } @@ -10199,46 +10214,52 @@ function popToNextHostParent(fiber) { function popHydrationState(fiber) { if (fiber !== hydrationParentFiber) return !1; if (!isHydrating) return popToNextHostParent(fiber), (isHydrating = !0), !1; - var shouldClear = !1, + var tag = fiber.tag, JSCompiler_temp; - if ((JSCompiler_temp = 3 !== fiber.tag && 27 !== fiber.tag)) { - if ((JSCompiler_temp = 5 === fiber.tag)) + if ((JSCompiler_temp = 3 !== tag && 27 !== tag)) { + if ((JSCompiler_temp = 5 === tag)) (JSCompiler_temp = fiber.type), (JSCompiler_temp = !("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) || shouldSetTextContent(fiber.type, fiber.memoizedProps)); JSCompiler_temp = !JSCompiler_temp; } - JSCompiler_temp && (shouldClear = !0); - shouldClear && nextHydratableInstance && throwOnHydrationMismatch(fiber); + JSCompiler_temp && nextHydratableInstance && throwOnHydrationMismatch(fiber); popToNextHostParent(fiber); - if (13 === fiber.tag) { + if (13 === tag) { fiber = fiber.memoizedState; fiber = null !== fiber ? fiber.dehydrated : null; if (!fiber) throw Error(formatProdErrorMessage(317)); a: { fiber = fiber.nextSibling; - for (shouldClear = 0; fiber; ) { + for (tag = 0; fiber; ) { if (8 === fiber.nodeType) if (((JSCompiler_temp = fiber.data), "/$" === JSCompiler_temp)) { - if (0 === shouldClear) { + if (0 === tag) { nextHydratableInstance = getNextHydratable(fiber.nextSibling); break a; } - shouldClear--; + tag--; } else ("$" !== JSCompiler_temp && "$!" !== JSCompiler_temp && "$?" !== JSCompiler_temp) || - shouldClear++; + tag++; fiber = fiber.nextSibling; } nextHydratableInstance = null; } } else - nextHydratableInstance = hydrationParentFiber - ? getNextHydratable(fiber.stateNode.nextSibling) - : null; + 27 === tag + ? ((tag = nextHydratableInstance), + isSingletonScope(fiber.type) + ? ((fiber = previousHydratableOnEnteringScopedSingleton), + (previousHydratableOnEnteringScopedSingleton = null), + (nextHydratableInstance = fiber)) + : (nextHydratableInstance = tag)) + : (nextHydratableInstance = hydrationParentFiber + ? getNextHydratable(fiber.stateNode.nextSibling) + : null); return !0; } function resetHydrationState() { @@ -12495,20 +12516,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1544 = 0; - i$jscomp$inline_1544 < simpleEventPluginEvents.length; - i$jscomp$inline_1544++ + var i$jscomp$inline_1555 = 0; + i$jscomp$inline_1555 < simpleEventPluginEvents.length; + i$jscomp$inline_1555++ ) { - var eventName$jscomp$inline_1545 = - simpleEventPluginEvents[i$jscomp$inline_1544], - domEventName$jscomp$inline_1546 = - eventName$jscomp$inline_1545.toLowerCase(), - capitalizedEvent$jscomp$inline_1547 = - eventName$jscomp$inline_1545[0].toUpperCase() + - eventName$jscomp$inline_1545.slice(1); + var eventName$jscomp$inline_1556 = + simpleEventPluginEvents[i$jscomp$inline_1555], + domEventName$jscomp$inline_1557 = + eventName$jscomp$inline_1556.toLowerCase(), + capitalizedEvent$jscomp$inline_1558 = + eventName$jscomp$inline_1556[0].toUpperCase() + + eventName$jscomp$inline_1556.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1546, - "on" + capitalizedEvent$jscomp$inline_1547 + domEventName$jscomp$inline_1557, + "on" + capitalizedEvent$jscomp$inline_1558 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -14281,21 +14302,56 @@ function handleErrorInNextTick(error) { var supportsMoveBefore = "undefined" !== typeof window && "function" === typeof window.Element.prototype.moveBefore; +function isSingletonScope(type) { + return "head" === type; +} function clearSuspenseBoundary(parentInstance, suspenseInstance) { var node = suspenseInstance, + possiblePreambleContribution = 0, depth = 0; do { var nextNode = node.nextSibling; parentInstance.removeChild(node); if (nextNode && 8 === nextNode.nodeType) if (((node = nextNode.data), "/$" === node)) { + if ( + 0 < possiblePreambleContribution && + 8 > possiblePreambleContribution + ) { + node = possiblePreambleContribution; + var ownerDocument = parentInstance.ownerDocument; + node & 1 && releaseSingletonInstance(ownerDocument.documentElement); + node & 2 && releaseSingletonInstance(ownerDocument.body); + if (node & 4) + for ( + node = ownerDocument.head, + releaseSingletonInstance(node), + ownerDocument = node.firstChild; + ownerDocument; + + ) { + var nextNode$jscomp$0 = ownerDocument.nextSibling, + nodeName = ownerDocument.nodeName; + ownerDocument[internalHoistableMarker] || + "SCRIPT" === nodeName || + "STYLE" === nodeName || + ("LINK" === nodeName && + "stylesheet" === ownerDocument.rel.toLowerCase()) || + node.removeChild(ownerDocument); + ownerDocument = nextNode$jscomp$0; + } + } if (0 === depth) { parentInstance.removeChild(nextNode); retryIfBlockedOn(suspenseInstance); return; } depth--; - } else ("$" !== node && "$?" !== node && "$!" !== node) || depth++; + } else + "$" === node || "$?" === node || "$!" === node + ? depth++ + : (possiblePreambleContribution = node.charCodeAt(0) - 48); + else possiblePreambleContribution = 0; node = nextNode; } while (node); retryIfBlockedOn(suspenseInstance); @@ -14440,6 +14496,7 @@ function getNextHydratable(node) { } return node; } +var previousHydratableOnEnteringScopedSingleton = null; function getParentSuspenseInstance(targetInstance) { targetInstance = targetInstance.previousSibling; for (var depth = 0; targetInstance; ) { @@ -16009,16 +16066,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1787 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1803 = React.version; if ( - "19.1.0-native-fb-19ca800c-20250131" !== - isomorphicReactPackageVersion$jscomp$inline_1787 + "19.1.0-native-fb-8bda7155-20250204" !== + isomorphicReactPackageVersion$jscomp$inline_1803 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1787, - "19.1.0-native-fb-19ca800c-20250131" + isomorphicReactPackageVersion$jscomp$inline_1803, + "19.1.0-native-fb-8bda7155-20250204" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16038,24 +16095,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2245 = { +var internals$jscomp$inline_2265 = { bundleType: 0, - version: "19.1.0-native-fb-19ca800c-20250131", + version: "19.1.0-native-fb-8bda7155-20250204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-19ca800c-20250131" + reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2246 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2266 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2246.isDisabled && - hook$jscomp$inline_2246.supportsFiber + !hook$jscomp$inline_2266.isDisabled && + hook$jscomp$inline_2266.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2246.inject( - internals$jscomp$inline_2245 + (rendererID = hook$jscomp$inline_2266.inject( + internals$jscomp$inline_2265 )), - (injectedHook = hook$jscomp$inline_2246); + (injectedHook = hook$jscomp$inline_2266); } catch (err) {} } function noop() {} @@ -16303,4 +16360,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-native-fb-19ca800c-20250131"; +exports.version = "19.1.0-native-fb-8bda7155-20250204"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js index 1a8cb01747c8e..0633afd6c06f5 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<0ff03d4d98865ebb975722f53279ac1a>> + * @generated SignedSource<> */ /* @@ -7514,15 +7514,15 @@ function beginWork(current, workInProgress, renderLanes) { a: { pushHostRootContext(workInProgress); if (null === current) throw Error(formatProdErrorMessage(387)); - var nextProps = workInProgress.pendingProps; - init = workInProgress.memoizedState; - elementType = init.element; + elementType = workInProgress.pendingProps; + var prevState = workInProgress.memoizedState; + init = prevState.element; cloneUpdateQueue(current, workInProgress); - processUpdateQueue(workInProgress, nextProps, null, renderLanes); + processUpdateQueue(workInProgress, elementType, null, renderLanes); var nextState = workInProgress.memoizedState; - nextProps = nextState.cache; - pushProvider(workInProgress, CacheContext, nextProps); - nextProps !== init.cache && + elementType = nextState.cache; + pushProvider(workInProgress, CacheContext, elementType); + elementType !== prevState.cache && propagateContextChanges( workInProgress, [CacheContext], @@ -7530,62 +7530,68 @@ function beginWork(current, workInProgress, renderLanes) { !0 ); suspendIfUpdateReadFromEntangledAsyncAction(); - nextProps = nextState.element; - if (init.isDehydrated) + elementType = nextState.element; + if (prevState.isDehydrated) if ( - ((init = { - element: nextProps, + ((prevState = { + element: elementType, isDehydrated: !1, cache: nextState.cache }), - (workInProgress.updateQueue.baseState = init), - (workInProgress.memoizedState = init), + (workInProgress.updateQueue.baseState = prevState), + (workInProgress.memoizedState = prevState), workInProgress.flags & 256) ) { workInProgress = mountHostRootWithoutHydrating( current, workInProgress, - nextProps, + elementType, renderLanes ); break a; - } else if (nextProps !== elementType) { - elementType = createCapturedValueAtFiber( + } else if (elementType !== init) { + init = createCapturedValueAtFiber( Error(formatProdErrorMessage(424)), workInProgress ); - queueHydrationError(elementType); + queueHydrationError(init); workInProgress = mountHostRootWithoutHydrating( current, workInProgress, - nextProps, + elementType, renderLanes ); break a; - } else - for ( - nextHydratableInstance = getNextHydratable( - workInProgress.stateNode.containerInfo.firstChild - ), - hydrationParentFiber = workInProgress, - isHydrating = !0, - hydrationErrors = null, - rootOrSingletonContext = !0, - renderLanes = mountChildFibers( - workInProgress, - null, - nextProps, - renderLanes - ), - workInProgress.child = renderLanes; - renderLanes; - - ) + } else { + current = workInProgress.stateNode.containerInfo; + switch (current.nodeType) { + case 9: + current = current.body; + break; + default: + current = + "HTML" === current.nodeName + ? current.ownerDocument.body + : current; + } + nextHydratableInstance = getNextHydratable(current.firstChild); + hydrationParentFiber = workInProgress; + isHydrating = !0; + hydrationErrors = null; + rootOrSingletonContext = !0; + renderLanes = mountChildFibers( + workInProgress, + null, + elementType, + renderLanes + ); + for (workInProgress.child = renderLanes; renderLanes; ) (renderLanes.flags = (renderLanes.flags & -3) | 4096), (renderLanes = renderLanes.sibling); + } else { resetHydrationState(); - if (nextProps === elementType) { + if (elementType === init) { workInProgress = bailoutOnAlreadyFinishedWork( current, workInProgress, @@ -7593,7 +7599,7 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - reconcileChildren(current, workInProgress, nextProps, renderLanes); + reconcileChildren(current, workInProgress, elementType, renderLanes); } workInProgress = workInProgress.child; } @@ -7641,7 +7647,13 @@ function beginWork(current, workInProgress, renderLanes) { )), (hydrationParentFiber = workInProgress), (rootOrSingletonContext = !0), - (nextHydratableInstance = getNextHydratable(elementType.firstChild))), + (init = nextHydratableInstance), + isSingletonScope(workInProgress.type) + ? ((previousHydratableOnEnteringScopedSingleton = init), + (nextHydratableInstance = getNextHydratable( + elementType.firstChild + ))) + : (nextHydratableInstance = init)), reconcileChildren( current, workInProgress, @@ -7677,10 +7689,10 @@ function beginWork(current, workInProgress, renderLanes) { init && throwOnHydrationMismatch(workInProgress)), pushHostContext(workInProgress), (init = workInProgress.type), - (nextProps = workInProgress.pendingProps), + (prevState = workInProgress.pendingProps), (nextState = null !== current ? current.memoizedProps : null), - (elementType = nextProps.children), - shouldSetTextContent(init, nextProps) + (elementType = prevState.children), + shouldSetTextContent(init, prevState) ? (elementType = null) : null !== nextState && shouldSetTextContent(init, nextState) && @@ -7881,11 +7893,11 @@ function beginWork(current, workInProgress, renderLanes) { ? ((init = peekCacheFromPool()), null === init && ((init = workInProgressRoot), - (nextProps = createCache()), - (init.pooledCache = nextProps), - nextProps.refCount++, - null !== nextProps && (init.pooledCacheLanes |= renderLanes), - (init = nextProps)), + (prevState = createCache()), + (init.pooledCache = prevState), + prevState.refCount++, + null !== prevState && (init.pooledCacheLanes |= renderLanes), + (init = prevState)), (workInProgress.memoizedState = { parent: elementType, cache: init @@ -7897,7 +7909,7 @@ function beginWork(current, workInProgress, renderLanes) { processUpdateQueue(workInProgress, null, null, renderLanes), suspendIfUpdateReadFromEntangledAsyncAction()), (init = current.memoizedState), - (nextProps = workInProgress.memoizedState), + (prevState = workInProgress.memoizedState), init.parent !== elementType ? ((init = { parent: elementType, cache: elementType }), (workInProgress.memoizedState = init), @@ -7906,7 +7918,7 @@ function beginWork(current, workInProgress, renderLanes) { workInProgress.updateQueue.baseState = init), pushProvider(workInProgress, CacheContext, elementType)) - : ((elementType = nextProps.cache), + : ((elementType = prevState.cache), pushProvider(workInProgress, CacheContext, elementType), elementType !== init.cache && propagateContextChanges( @@ -8313,7 +8325,7 @@ function isHostParent(fiber) { 5 === fiber.tag || 3 === fiber.tag || 26 === fiber.tag || - (27 === fiber.tag && "head" === fiber.type) || + (27 === fiber.tag && isSingletonScope(fiber.type)) || 4 === fiber.tag ); } @@ -8329,7 +8341,7 @@ function getHostSibling(fiber) { 5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag; ) { - if (27 === fiber.tag && "head" === fiber.type) continue a; + if (27 === fiber.tag && isSingletonScope(fiber.type)) continue a; if (fiber.flags & 2) continue a; if (null === fiber.child || 4 === fiber.tag) continue a; else (fiber.child.return = fiber), (fiber = fiber.child); @@ -8357,31 +8369,34 @@ function insertOrAppendPlacementNodeIntoContainer(node, before, parent) { : parent.insertBefore(node, before); } else a: { - switch (parent.nodeType) { + before = parent; + switch (before.nodeType) { case 8: - before = parent.parentNode; + parent = before.parentNode; supportsMoveBefore - ? before.moveBefore(node, parent) - : before.insertBefore(node, parent); + ? parent.moveBefore(node, before) + : parent.insertBefore(node, before); break a; case 9: - before = parent.body; + parent = before.body; break; default: - before = - "HTML" === parent.nodeName ? parent.ownerDocument.body : parent; + parent = + "HTML" === before.nodeName ? before.ownerDocument.body : before; } supportsMoveBefore - ? before.moveBefore(node, null) - : before.appendChild(node); - parent = parent._reactRootContainer; - (null !== parent && void 0 !== parent) || - null !== before.onclick || - (before.onclick = noop$2); + ? parent.moveBefore(node, null) + : parent.appendChild(node); + before = before._reactRootContainer; + (null !== before && void 0 !== before) || + null !== parent.onclick || + (parent.onclick = noop$2); } else if ( 4 !== tag && - (27 === tag && "head" === node.type && (parent = node.stateNode), + (27 === tag && + isSingletonScope(node.type) && + ((parent = node.stateNode), (before = null)), (node = node.child), null !== node) ) @@ -8408,7 +8423,7 @@ function insertOrAppendPlacementNode(node, before, parent) { : before.appendChild(node)); else if ( 4 !== tag && - (27 === tag && "head" === node.type && (parent = node.stateNode), + (27 === tag && isSingletonScope(node.type) && (parent = node.stateNode), (node = node.child), null !== node) ) @@ -8821,7 +8836,7 @@ function commitDeletionEffectsOnFiber( safelyDetachRef(deletedFiber, nearestMountedAncestor); var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer; - "head" === deletedFiber.type && + isSingletonScope(deletedFiber.type) && ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1)); recursivelyTraverseDeletionEffects( finishedRoot, @@ -9061,7 +9076,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { a: for (; null !== parent; ) { switch (parent.tag) { case 27: - if ("head" === parent.type) { + if (isSingletonScope(parent.type)) { hostParent = parent.stateNode; hostParentIsContainer = !1; break a; @@ -10628,14 +10643,14 @@ function prepareToHydrateHostInstance(fiber) { function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) switch (hydrationParentFiber.tag) { - case 3: - case 27: - rootOrSingletonContext = !0; - return; case 5: case 13: rootOrSingletonContext = !1; return; + case 27: + case 3: + rootOrSingletonContext = !0; + return; default: hydrationParentFiber = hydrationParentFiber.return; } @@ -10643,46 +10658,52 @@ function popToNextHostParent(fiber) { function popHydrationState(fiber) { if (fiber !== hydrationParentFiber) return !1; if (!isHydrating) return popToNextHostParent(fiber), (isHydrating = !0), !1; - var shouldClear = !1, + var tag = fiber.tag, JSCompiler_temp; - if ((JSCompiler_temp = 3 !== fiber.tag && 27 !== fiber.tag)) { - if ((JSCompiler_temp = 5 === fiber.tag)) + if ((JSCompiler_temp = 3 !== tag && 27 !== tag)) { + if ((JSCompiler_temp = 5 === tag)) (JSCompiler_temp = fiber.type), (JSCompiler_temp = !("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) || shouldSetTextContent(fiber.type, fiber.memoizedProps)); JSCompiler_temp = !JSCompiler_temp; } - JSCompiler_temp && (shouldClear = !0); - shouldClear && nextHydratableInstance && throwOnHydrationMismatch(fiber); + JSCompiler_temp && nextHydratableInstance && throwOnHydrationMismatch(fiber); popToNextHostParent(fiber); - if (13 === fiber.tag) { + if (13 === tag) { fiber = fiber.memoizedState; fiber = null !== fiber ? fiber.dehydrated : null; if (!fiber) throw Error(formatProdErrorMessage(317)); a: { fiber = fiber.nextSibling; - for (shouldClear = 0; fiber; ) { + for (tag = 0; fiber; ) { if (8 === fiber.nodeType) if (((JSCompiler_temp = fiber.data), "/$" === JSCompiler_temp)) { - if (0 === shouldClear) { + if (0 === tag) { nextHydratableInstance = getNextHydratable(fiber.nextSibling); break a; } - shouldClear--; + tag--; } else ("$" !== JSCompiler_temp && "$!" !== JSCompiler_temp && "$?" !== JSCompiler_temp) || - shouldClear++; + tag++; fiber = fiber.nextSibling; } nextHydratableInstance = null; } } else - nextHydratableInstance = hydrationParentFiber - ? getNextHydratable(fiber.stateNode.nextSibling) - : null; + 27 === tag + ? ((tag = nextHydratableInstance), + isSingletonScope(fiber.type) + ? ((fiber = previousHydratableOnEnteringScopedSingleton), + (previousHydratableOnEnteringScopedSingleton = null), + (nextHydratableInstance = fiber)) + : (nextHydratableInstance = tag)) + : (nextHydratableInstance = hydrationParentFiber + ? getNextHydratable(fiber.stateNode.nextSibling) + : null); return !0; } function resetHydrationState() { @@ -13140,20 +13161,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1637 = 0; - i$jscomp$inline_1637 < simpleEventPluginEvents.length; - i$jscomp$inline_1637++ + var i$jscomp$inline_1648 = 0; + i$jscomp$inline_1648 < simpleEventPluginEvents.length; + i$jscomp$inline_1648++ ) { - var eventName$jscomp$inline_1638 = - simpleEventPluginEvents[i$jscomp$inline_1637], - domEventName$jscomp$inline_1639 = - eventName$jscomp$inline_1638.toLowerCase(), - capitalizedEvent$jscomp$inline_1640 = - eventName$jscomp$inline_1638[0].toUpperCase() + - eventName$jscomp$inline_1638.slice(1); + var eventName$jscomp$inline_1649 = + simpleEventPluginEvents[i$jscomp$inline_1648], + domEventName$jscomp$inline_1650 = + eventName$jscomp$inline_1649.toLowerCase(), + capitalizedEvent$jscomp$inline_1651 = + eventName$jscomp$inline_1649[0].toUpperCase() + + eventName$jscomp$inline_1649.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1639, - "on" + capitalizedEvent$jscomp$inline_1640 + domEventName$jscomp$inline_1650, + "on" + capitalizedEvent$jscomp$inline_1651 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -14926,21 +14947,56 @@ function handleErrorInNextTick(error) { var supportsMoveBefore = "undefined" !== typeof window && "function" === typeof window.Element.prototype.moveBefore; +function isSingletonScope(type) { + return "head" === type; +} function clearSuspenseBoundary(parentInstance, suspenseInstance) { var node = suspenseInstance, + possiblePreambleContribution = 0, depth = 0; do { var nextNode = node.nextSibling; parentInstance.removeChild(node); if (nextNode && 8 === nextNode.nodeType) if (((node = nextNode.data), "/$" === node)) { + if ( + 0 < possiblePreambleContribution && + 8 > possiblePreambleContribution + ) { + node = possiblePreambleContribution; + var ownerDocument = parentInstance.ownerDocument; + node & 1 && releaseSingletonInstance(ownerDocument.documentElement); + node & 2 && releaseSingletonInstance(ownerDocument.body); + if (node & 4) + for ( + node = ownerDocument.head, + releaseSingletonInstance(node), + ownerDocument = node.firstChild; + ownerDocument; + + ) { + var nextNode$jscomp$0 = ownerDocument.nextSibling, + nodeName = ownerDocument.nodeName; + ownerDocument[internalHoistableMarker] || + "SCRIPT" === nodeName || + "STYLE" === nodeName || + ("LINK" === nodeName && + "stylesheet" === ownerDocument.rel.toLowerCase()) || + node.removeChild(ownerDocument); + ownerDocument = nextNode$jscomp$0; + } + } if (0 === depth) { parentInstance.removeChild(nextNode); retryIfBlockedOn(suspenseInstance); return; } depth--; - } else ("$" !== node && "$?" !== node && "$!" !== node) || depth++; + } else + "$" === node || "$?" === node || "$!" === node + ? depth++ + : (possiblePreambleContribution = node.charCodeAt(0) - 48); + else possiblePreambleContribution = 0; node = nextNode; } while (node); retryIfBlockedOn(suspenseInstance); @@ -15085,6 +15141,7 @@ function getNextHydratable(node) { } return node; } +var previousHydratableOnEnteringScopedSingleton = null; function getParentSuspenseInstance(targetInstance) { targetInstance = targetInstance.previousSibling; for (var depth = 0; targetInstance; ) { @@ -16662,16 +16719,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1882 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1898 = React.version; if ( - "19.1.0-native-fb-19ca800c-20250131" !== - isomorphicReactPackageVersion$jscomp$inline_1882 + "19.1.0-native-fb-8bda7155-20250204" !== + isomorphicReactPackageVersion$jscomp$inline_1898 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1882, - "19.1.0-native-fb-19ca800c-20250131" + isomorphicReactPackageVersion$jscomp$inline_1898, + "19.1.0-native-fb-8bda7155-20250204" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16691,12 +16748,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_1889 = { +var internals$jscomp$inline_1905 = { bundleType: 0, - version: "19.1.0-native-fb-19ca800c-20250131", + version: "19.1.0-native-fb-8bda7155-20250204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-19ca800c-20250131", + reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$294 = 0; @@ -16714,16 +16771,16 @@ var internals$jscomp$inline_1889 = { } }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2305 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2325 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2305.isDisabled && - hook$jscomp$inline_2305.supportsFiber + !hook$jscomp$inline_2325.isDisabled && + hook$jscomp$inline_2325.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2305.inject( - internals$jscomp$inline_1889 + (rendererID = hook$jscomp$inline_2325.inject( + internals$jscomp$inline_1905 )), - (injectedHook = hook$jscomp$inline_2305); + (injectedHook = hook$jscomp$inline_2325); } catch (err) {} } function noop() {} @@ -16971,7 +17028,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-native-fb-19ca800c-20250131"; +exports.version = "19.1.0-native-fb-8bda7155-20250204"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js index 3e66f8d026129..8d3df04bd5fc0 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<4a1777bc3f5f4231999e2308db5eaf86>> */ "use strict"; @@ -15626,10 +15626,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-19ca800c-20250131", + version: "19.1.0-native-fb-8bda7155-20250204", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-19ca800c-20250131" + reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15774,5 +15774,5 @@ __DEV__ && flushSyncWorkAcrossRoots_impl(0, !0)); } }; - exports.version = "19.1.0-native-fb-19ca800c-20250131"; + exports.version = "19.1.0-native-fb-8bda7155-20250204"; })(); diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js index f12d7e6c45d49..15bbf12bfc796 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<4c12ea425f9d3a3395032e36c35b86eb>> + * @generated SignedSource<<0d84a8aa89147eb49453d7b07f4701af>> */ "use strict"; @@ -9808,10 +9808,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1401 = { bundleType: 0, - version: "19.1.0-native-fb-19ca800c-20250131", + version: "19.1.0-native-fb-8bda7155-20250204", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-19ca800c-20250131" + reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1402 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -9947,4 +9947,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.1.0-native-fb-19ca800c-20250131"; +exports.version = "19.1.0-native-fb-8bda7155-20250204"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js index c8a7d36ce63ba..2a3090684afa5 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<6328aae57fa493899f01aca6e2f3e39e>> */ "use strict"; @@ -10379,10 +10379,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1219 = { bundleType: 0, - version: "19.1.0-native-fb-19ca800c-20250131", + version: "19.1.0-native-fb-8bda7155-20250204", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-19ca800c-20250131", + reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$147 = 0; @@ -10533,4 +10533,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.1.0-native-fb-19ca800c-20250131"; +exports.version = "19.1.0-native-fb-8bda7155-20250204"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js index b01b4f3178269..ed4d5da5ed1f4 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -1840,7 +1840,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.1.0-native-fb-19ca800c-20250131"; + exports.version = "19.1.0-native-fb-8bda7155-20250204"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js index 83e908b7247fa..434b712333b93 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<47a2217c199ed8fa2830c7fee601c57d>> + * @generated SignedSource<> */ "use strict"; @@ -592,4 +592,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-native-fb-19ca800c-20250131"; +exports.version = "19.1.0-native-fb-8bda7155-20250204"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js index 0e0322d567850..cecfa5b815e0c 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -596,7 +596,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-native-fb-19ca800c-20250131"; +exports.version = "19.1.0-native-fb-8bda7155-20250204"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION index 3cd2158fbe516..c6dede35e9e49 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION @@ -1 +1 @@ -19ca800caa01eec2f5e65e547c67b11592bec8b0 +8bda71558c8b6f9f19af33271f1bfd0251a1c071 diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js index 3ae0f9a80efd7..5f87529561fea 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<89db57133b890fa74919e055ff8a981c>> + * @generated SignedSource<> */ "use strict"; @@ -17504,10 +17504,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-19ca800c-20250131", + version: "19.1.0-native-fb-8bda7155-20250204", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-19ca800c-20250131" + reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js index fc3b03473d2bf..fb9e9870cb54c 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -11030,10 +11030,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1237 = { bundleType: 0, - version: "19.1.0-native-fb-19ca800c-20250131", + version: "19.1.0-native-fb-8bda7155-20250204", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-19ca800c-20250131" + reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1237.rendererConfig = extraDevToolsConfig); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js index cdb1e7d3ff0bc..e81e32b64c682 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<57e2660c7b4452f2686395ae2a6eb44c>> + * @generated SignedSource<<66021b24d4e86c493d7fa98ada20bbcc>> */ "use strict"; @@ -11682,10 +11682,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1330 = { bundleType: 0, - version: "19.1.0-native-fb-19ca800c-20250131", + version: "19.1.0-native-fb-8bda7155-20250204", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-19ca800c-20250131" + reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1330.rendererConfig = extraDevToolsConfig); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js index faa9a4f015c9a..f09704c06917e 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<58d5b6d54598b969ffa4789a931b9aac>> + * @generated SignedSource<> */ "use strict"; @@ -17713,11 +17713,11 @@ __DEV__ && shouldSuspendImpl = newShouldSuspendImpl; }; var isomorphicReactPackageVersion = React.version; - if ("19.1.0-native-fb-19ca800c-20250131" !== isomorphicReactPackageVersion) + if ("19.1.0-native-fb-8bda7155-20250204" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.1.0-native-fb-19ca800c-20250131\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.1.0-native-fb-8bda7155-20250204\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -17743,10 +17743,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-19ca800c-20250131", + version: "19.1.0-native-fb-8bda7155-20250204", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-19ca800c-20250131" + reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js index 9a3cfa05e2918..c0271a2be2364 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<5e976438e8cac8c603a968f4735bb33a>> + * @generated SignedSource<> */ "use strict"; @@ -11157,11 +11157,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.1.0-native-fb-19ca800c-20250131" !== isomorphicReactPackageVersion) +if ("19.1.0-native-fb-8bda7155-20250204" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.1.0-native-fb-19ca800c-20250131\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.1.0-native-fb-8bda7155-20250204\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11210,10 +11210,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1289 = { bundleType: 0, - version: "19.1.0-native-fb-19ca800c-20250131", + version: "19.1.0-native-fb-8bda7155-20250204", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-19ca800c-20250131" + reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1289.rendererConfig = extraDevToolsConfig); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js index fe47324d50caa..46586a67dc4cd 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<8fce96869b61f40a02ebf2ff8e9bc4ad>> + * @generated SignedSource<<294c1948a5b7d4a4d2220f19f99565b6>> */ "use strict"; @@ -11809,11 +11809,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.1.0-native-fb-19ca800c-20250131" !== isomorphicReactPackageVersion) +if ("19.1.0-native-fb-8bda7155-20250204" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.1.0-native-fb-19ca800c-20250131\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.1.0-native-fb-8bda7155-20250204\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11862,10 +11862,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1382 = { bundleType: 0, - version: "19.1.0-native-fb-19ca800c-20250131", + version: "19.1.0-native-fb-8bda7155-20250204", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-19ca800c-20250131" + reconcilerVersion: "19.1.0-native-fb-8bda7155-20250204" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1382.rendererConfig = extraDevToolsConfig);