diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index 9717c34ba71cc..cd3ca77ec80d7 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.1.0-native-fb-152bfe37-20250131 \ No newline at end of file +19.1.0-native-fb-ff628334-20250205 \ 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 aef31b412bfa3..05ded3d84c9dc 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-152bfe37-20250131"; + exports.version = "19.1.0-native-fb-ff628334-20250205"; })(); 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 8ae5cd6733a76..b3b1fab4f702b 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<<76039a6de37b6ad225a095a4d8a23b62>> */ "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-152bfe37-20250131"; +exports.version = "19.1.0-native-fb-ff628334-20250205"; 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 8ae5cd6733a76..b3b1fab4f702b 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<<76039a6de37b6ad225a095a4d8a23b62>> */ "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-152bfe37-20250131"; +exports.version = "19.1.0-native-fb-ff628334-20250205"; 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 56716ff2b2617..b526de4c91906 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<<53f2738f295e889392402f62bb65d4fb>> */ /* @@ -454,11 +454,7 @@ __DEV__ && break; default: if ( - ((nextRootInstance = - 8 === nextRootContext - ? nextRootInstance.parentNode - : nextRootInstance), - (nextRootContext = nextRootInstance.tagName), + ((nextRootContext = nextRootInstance.tagName), (nextRootInstance = nextRootInstance.namespaceURI)) ) (nextRootInstance = getOwnHostContext(nextRootInstance)), @@ -9418,32 +9414,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 +9481,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 +9580,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 +9613,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 +9683,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 +9728,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 +9753,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 +9826,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 +10491,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 +10507,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 +10583,7 @@ __DEV__ && reconcileChildren( current, workInProgress, - nextProps, + returnFiber, renderLanes ); } @@ -10627,31 +10629,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 +10672,10 @@ __DEV__ && return ( null === current && isHydrating && - ((nextProps = getHostContext()), + ((prevState = getHostContext()), (returnFiber = validateDOMNesting( workInProgress.type, - nextProps.ancestorInfo + prevState.ancestorInfo )), (prevSibling = nextHydratableInstance), (nextState = !prevSibling) || @@ -10682,33 +10688,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 +10839,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 +10959,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 +10976,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 +10988,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 +11558,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 +11574,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); @@ -11579,50 +11585,36 @@ __DEV__ && function insertOrAppendPlacementNodeIntoContainer(node, before, parent) { var tag = node.tag; if (5 === tag || 6 === tag) - if (((node = node.stateNode), before)) { - switch (parent.nodeType) { - case 8: - parent = parent.parentNode; - break; - case 9: - parent = parent.body; - break; - default: - parent = - "HTML" === parent.nodeName ? parent.ownerDocument.body : parent; - } - supportsMoveBefore - ? parent.moveBefore(node, before) - : parent.insertBefore(node, before); - } else - a: { - switch (parent.nodeType) { - case 8: - before = parent.parentNode; - supportsMoveBefore - ? before.moveBefore(node, parent) - : before.insertBefore(node, parent); - break a; - case 9: - before = parent.body; - break; - default: - before = - "HTML" === parent.nodeName + (node = node.stateNode), + before + ? ((parent = + 9 === parent.nodeType + ? parent.body + : "HTML" === parent.nodeName ? parent.ownerDocument.body - : parent; - } - supportsMoveBefore - ? before.moveBefore(node, null) - : before.appendChild(node); - parent = parent._reactRootContainer; - (null !== parent && void 0 !== parent) || - null !== before.onclick || - (before.onclick = noop$1); - } + : parent), + supportsMoveBefore + ? parent.moveBefore(node, before) + : parent.insertBefore(node, before)) + : ((before = parent), + (parent = + 9 === before.nodeType + ? before.body + : "HTML" === before.nodeName + ? before.ownerDocument.body + : before), + supportsMoveBefore + ? 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 +11641,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 +12126,7 @@ __DEV__ && safelyDetachRef(deletedFiber, nearestMountedAncestor); var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer; - "head" === deletedFiber.type && + isSingletonScope(deletedFiber.type) && ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1)); recursivelyTraverseDeletionEffects( @@ -12212,26 +12204,14 @@ __DEV__ && null !== hostParent && (hostParentIsContainer ? ((nearestMountedAncestor = hostParent), - (deletedFiber = deletedFiber.stateNode), - 8 === nearestMountedAncestor.nodeType - ? clearSuspenseBoundary( - nearestMountedAncestor.parentNode, - deletedFiber - ) - : 9 === nearestMountedAncestor.nodeType - ? clearSuspenseBoundary( - nearestMountedAncestor.body, - deletedFiber - ) + clearSuspenseBoundary( + 9 === nearestMountedAncestor.nodeType + ? nearestMountedAncestor.body : "HTML" === nearestMountedAncestor.nodeName - ? clearSuspenseBoundary( - nearestMountedAncestor.ownerDocument.body, - deletedFiber - ) - : clearSuspenseBoundary( - nearestMountedAncestor, - deletedFiber - ), + ? nearestMountedAncestor.ownerDocument.body + : nearestMountedAncestor, + deletedFiber.stateNode + ), retryIfBlockedOn(nearestMountedAncestor)) : clearSuspenseBoundary(hostParent, deletedFiber.stateNode)); break; @@ -12411,7 +12391,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 +14271,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 +14287,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 +14321,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() { @@ -17516,23 +17502,15 @@ __DEV__ && var nodeTag = targetInst$jscomp$0.tag; if (3 === nodeTag || 4 === nodeTag) { var container = targetInst$jscomp$0.stateNode.containerInfo; - if ( - container === targetContainer || - (8 === container.nodeType && - container.parentNode === targetContainer) - ) - break; + if (container === targetContainer) break; if (4 === nodeTag) for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag; ) { var grandTag = nodeTag.tag; - if (3 === grandTag || 4 === grandTag) - if ( - ((grandTag = nodeTag.stateNode.containerInfo), - grandTag === targetContainer || - (8 === grandTag.nodeType && - grandTag.parentNode === targetContainer)) - ) - return; + if ( + (3 === grandTag || 4 === grandTag) && + nodeTag.stateNode.containerInfo === targetContainer + ) + return; nodeTag = nodeTag.return; } for (; null !== container; ) { @@ -20333,33 +20311,58 @@ __DEV__ && function commitTextUpdate(textInstance, oldText, newText) { textInstance.nodeValue = newText; } + function isSingletonScope(type) { + return "head" === type; + } function removeChild(parentInstance, child) { parentInstance.removeChild(child); } function removeChildFromContainer(container, child) { - switch (container.nodeType) { - case 8: - container = container.parentNode; - break; - case 9: - container = container.body; - break; - default: - container = - "HTML" === container.nodeName - ? container.ownerDocument.body - : container; - } - container.removeChild(child); + (9 === container.nodeType + ? container.body + : "HTML" === container.nodeName + ? container.ownerDocument.body + : container + ).removeChild(child); } 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 +20370,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 +25558,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 +25591,7 @@ __DEV__ && supportsMoveBefore = "undefined" !== typeof window && "function" === typeof window.Element.prototype.moveBefore, + previousHydratableOnEnteringScopedSingleton = null, NotLoaded = 0, Loaded = 1, Errored = 2, @@ -25994,11 +26003,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-native-fb-152bfe37-20250131" !== isomorphicReactPackageVersion) + if ("19.1.0-native-fb-ff628334-20250205" !== 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-152bfe37-20250131\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-native-fb-ff628334-20250205\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -26035,10 +26044,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-152bfe37-20250131", + version: "19.1.0-native-fb-ff628334-20250205", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-152bfe37-20250131" + reconcilerVersion: "19.1.0-native-fb-ff628334-20250205" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26121,9 +26130,7 @@ __DEV__ && null ); container[internalContainerInstanceKey] = options.current; - listenToAllSupportedEvents( - 8 === container.nodeType ? container.parentNode : container - ); + listenToAllSupportedEvents(container); return new ReactDOMRoot(options); }; exports.hydrateRoot = function (container, initialChildren, options) { @@ -26184,5 +26191,5 @@ __DEV__ && listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.1.0-native-fb-152bfe37-20250131"; + exports.version = "19.1.0-native-fb-ff628334-20250205"; })(); 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 97a7720bd85c8..d0121f54b43d8 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<<569486287d32cb91b6a2105eaf17147e>> + * @generated SignedSource<<9aa58e05a9a44a6e0c497301edb51fd9>> */ /* @@ -324,38 +324,36 @@ function pushHostContainer(fiber, nextRootInstance) { push(rootInstanceStackCursor, nextRootInstance); push(contextFiberStackCursor, fiber); push(contextStackCursor$1, null); - fiber = nextRootInstance.nodeType; - switch (fiber) { + switch (nextRootInstance.nodeType) { case 9: case 11: - nextRootInstance = (nextRootInstance = nextRootInstance.documentElement) - ? (nextRootInstance = nextRootInstance.namespaceURI) - ? getOwnHostContext(nextRootInstance) + fiber = (fiber = nextRootInstance.documentElement) + ? (fiber = fiber.namespaceURI) + ? getOwnHostContext(fiber) : 0 : 0; break; default: if ( - ((fiber = 8 === fiber ? nextRootInstance.parentNode : nextRootInstance), - (nextRootInstance = fiber.tagName), - (fiber = fiber.namespaceURI)) + ((fiber = nextRootInstance.tagName), + (nextRootInstance = nextRootInstance.namespaceURI)) ) - (fiber = getOwnHostContext(fiber)), - (nextRootInstance = getChildHostContextProd(fiber, nextRootInstance)); + (nextRootInstance = getOwnHostContext(nextRootInstance)), + (fiber = getChildHostContextProd(nextRootInstance, fiber)); else - switch (nextRootInstance) { + switch (fiber) { case "svg": - nextRootInstance = 1; + fiber = 1; break; case "math": - nextRootInstance = 2; + fiber = 2; break; default: - nextRootInstance = 0; + fiber = 0; } } pop(contextStackCursor$1); - push(contextStackCursor$1, nextRootInstance); + push(contextStackCursor$1, fiber); } function popHostContainer() { pop(contextStackCursor$1); @@ -7335,15 +7333,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 +7349,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 +7418,7 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - reconcileChildren(current, workInProgress, nextProps, renderLanes); + reconcileChildren(current, workInProgress, elementType, renderLanes); } workInProgress = workInProgress.child; } @@ -7462,7 +7466,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 +7508,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 +7705,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 +7721,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 +7730,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 +7976,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 +7992,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); @@ -7993,48 +8003,36 @@ function getHostSibling(fiber) { function insertOrAppendPlacementNodeIntoContainer(node, before, parent) { var tag = node.tag; if (5 === tag || 6 === tag) - if (((node = node.stateNode), before)) { - switch (parent.nodeType) { - case 8: - parent = parent.parentNode; - break; - case 9: - parent = parent.body; - break; - default: - parent = - "HTML" === parent.nodeName ? parent.ownerDocument.body : parent; - } - supportsMoveBefore - ? parent.moveBefore(node, before) - : parent.insertBefore(node, before); - } else - a: { - switch (parent.nodeType) { - case 8: - before = parent.parentNode; - supportsMoveBefore - ? before.moveBefore(node, parent) - : before.insertBefore(node, parent); - break a; - case 9: - before = parent.body; - break; - default: - before = - "HTML" === parent.nodeName ? parent.ownerDocument.body : parent; - } - supportsMoveBefore - ? before.moveBefore(node, null) - : before.appendChild(node); - parent = parent._reactRootContainer; - (null !== parent && void 0 !== parent) || - null !== before.onclick || - (before.onclick = noop$1); - } + (node = node.stateNode), + before + ? ((parent = + 9 === parent.nodeType + ? parent.body + : "HTML" === parent.nodeName + ? parent.ownerDocument.body + : parent), + supportsMoveBefore + ? parent.moveBefore(node, before) + : parent.insertBefore(node, before)) + : ((before = parent), + (parent = + 9 === before.nodeType + ? before.body + : "HTML" === before.nodeName + ? before.ownerDocument.body + : before), + supportsMoveBefore + ? 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 +8059,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 +8427,7 @@ function commitDeletionEffectsOnFiber( safelyDetachRef(deletedFiber, nearestMountedAncestor); var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer; - "head" === deletedFiber.type && + isSingletonScope(deletedFiber.type) && ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1)); recursivelyTraverseDeletionEffects( finishedRoot, @@ -8444,33 +8442,25 @@ function commitDeletionEffectsOnFiber( offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor); case 6: - prevHostParentIsContainer = hostParent; - var prevHostParentIsContainer$131 = hostParentIsContainer; + prevHostParent = hostParent; + prevHostParentIsContainer = hostParentIsContainer; hostParent = null; recursivelyTraverseDeletionEffects( finishedRoot, nearestMountedAncestor, deletedFiber ); - hostParent = prevHostParentIsContainer; - hostParentIsContainer = prevHostParentIsContainer$131; + hostParent = prevHostParent; + hostParentIsContainer = prevHostParentIsContainer; if (null !== hostParent) if (hostParentIsContainer) try { - switch (hostParent.nodeType) { - case 8: - prevHostParent = hostParent.parentNode; - break; - case 9: - prevHostParent = hostParent.body; - break; - default: - prevHostParent = - "HTML" === hostParent.nodeName - ? hostParent.ownerDocument.body - : hostParent; - } - prevHostParent.removeChild(deletedFiber.stateNode); + (9 === hostParent.nodeType + ? hostParent.body + : "HTML" === hostParent.nodeName + ? hostParent.ownerDocument.body + : hostParent + ).removeChild(deletedFiber.stateNode); } catch (error) { captureCommitPhaseError( deletedFiber, @@ -8493,31 +8483,22 @@ function commitDeletionEffectsOnFiber( finishedRoot = finishedRoot.hydrationCallbacks; if (null !== finishedRoot) try { - (prevHostParentIsContainer = finishedRoot.onDeleted) && - prevHostParentIsContainer(deletedFiber.stateNode); + (prevHostParent = finishedRoot.onDeleted) && + prevHostParent(deletedFiber.stateNode); } catch (error) { captureCommitPhaseError(deletedFiber, nearestMountedAncestor, error); } null !== hostParent && (hostParentIsContainer ? ((nearestMountedAncestor = hostParent), - (deletedFiber = deletedFiber.stateNode), - 8 === nearestMountedAncestor.nodeType - ? clearSuspenseBoundary( - nearestMountedAncestor.parentNode, - deletedFiber - ) - : 9 === nearestMountedAncestor.nodeType - ? clearSuspenseBoundary( - nearestMountedAncestor.body, - deletedFiber - ) + clearSuspenseBoundary( + 9 === nearestMountedAncestor.nodeType + ? nearestMountedAncestor.body : "HTML" === nearestMountedAncestor.nodeName - ? clearSuspenseBoundary( - nearestMountedAncestor.ownerDocument.body, - deletedFiber - ) - : clearSuspenseBoundary(nearestMountedAncestor, deletedFiber), + ? nearestMountedAncestor.ownerDocument.body + : nearestMountedAncestor, + deletedFiber.stateNode + ), retryIfBlockedOn(nearestMountedAncestor)) : clearSuspenseBoundary(hostParent, deletedFiber.stateNode)); break; @@ -8663,7 +8644,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 +10165,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 +10180,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 +12482,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"); @@ -12716,22 +12703,15 @@ function dispatchEventForPluginEventSystem( var nodeTag = targetInst$jscomp$0.tag; if (3 === nodeTag || 4 === nodeTag) { var container = targetInst$jscomp$0.stateNode.containerInfo; - if ( - container === targetContainer || - (8 === container.nodeType && container.parentNode === targetContainer) - ) - break; + if (container === targetContainer) break; if (4 === nodeTag) for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag; ) { var grandTag = nodeTag.tag; - if (3 === grandTag || 4 === grandTag) - if ( - ((grandTag = nodeTag.stateNode.containerInfo), - grandTag === targetContainer || - (8 === grandTag.nodeType && - grandTag.parentNode === targetContainer)) - ) - return; + if ( + (3 === grandTag || 4 === grandTag) && + nodeTag.stateNode.containerInfo === targetContainer + ) + return; nodeTag = nodeTag.return; } for (; null !== container; ) { @@ -14281,21 +14261,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 +14455,7 @@ function getNextHydratable(node) { } return node; } +var previousHydratableOnEnteringScopedSingleton = null; function getParentSuspenseInstance(targetInstance) { targetInstance = targetInstance.previousSibling; for (var depth = 0; targetInstance; ) { @@ -15998,16 +16014,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-152bfe37-20250131" !== - isomorphicReactPackageVersion$jscomp$inline_1786 + "19.1.0-native-fb-ff628334-20250205" !== + isomorphicReactPackageVersion$jscomp$inline_1802 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1786, - "19.1.0-native-fb-152bfe37-20250131" + isomorphicReactPackageVersion$jscomp$inline_1802, + "19.1.0-native-fb-ff628334-20250205" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16027,24 +16043,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-152bfe37-20250131", + version: "19.1.0-native-fb-ff628334-20250205", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-152bfe37-20250131" + reconcilerVersion: "19.1.0-native-fb-ff628334-20250205" }; 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) { @@ -16082,9 +16098,7 @@ exports.createRoot = function (container, options) { null ); container[internalContainerInstanceKey] = options.current; - listenToAllSupportedEvents( - 8 === container.nodeType ? container.parentNode : container - ); + listenToAllSupportedEvents(container); return new ReactDOMRoot(options); }; exports.hydrateRoot = function (container, initialChildren, options) { @@ -16138,4 +16152,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.1.0-native-fb-152bfe37-20250131"; +exports.version = "19.1.0-native-fb-ff628334-20250205"; 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 2da65fe404765..6fca101e705b9 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<<59e5ad0acce0802c9e75da9cd92ab1f3>> */ /* @@ -324,38 +324,36 @@ function pushHostContainer(fiber, nextRootInstance) { push(rootInstanceStackCursor, nextRootInstance); push(contextFiberStackCursor, fiber); push(contextStackCursor$1, null); - fiber = nextRootInstance.nodeType; - switch (fiber) { + switch (nextRootInstance.nodeType) { case 9: case 11: - nextRootInstance = (nextRootInstance = nextRootInstance.documentElement) - ? (nextRootInstance = nextRootInstance.namespaceURI) - ? getOwnHostContext(nextRootInstance) + fiber = (fiber = nextRootInstance.documentElement) + ? (fiber = fiber.namespaceURI) + ? getOwnHostContext(fiber) : 0 : 0; break; default: if ( - ((fiber = 8 === fiber ? nextRootInstance.parentNode : nextRootInstance), - (nextRootInstance = fiber.tagName), - (fiber = fiber.namespaceURI)) + ((fiber = nextRootInstance.tagName), + (nextRootInstance = nextRootInstance.namespaceURI)) ) - (fiber = getOwnHostContext(fiber)), - (nextRootInstance = getChildHostContextProd(fiber, nextRootInstance)); + (nextRootInstance = getOwnHostContext(nextRootInstance)), + (fiber = getChildHostContextProd(nextRootInstance, fiber)); else - switch (nextRootInstance) { + switch (fiber) { case "svg": - nextRootInstance = 1; + fiber = 1; break; case "math": - nextRootInstance = 2; + fiber = 2; break; default: - nextRootInstance = 0; + fiber = 0; } } pop(contextStackCursor$1); - push(contextStackCursor$1, nextRootInstance); + push(contextStackCursor$1, fiber); } function popHostContainer() { pop(contextStackCursor$1); @@ -7510,15 +7508,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 +7524,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 +7593,7 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - reconcileChildren(current, workInProgress, nextProps, renderLanes); + reconcileChildren(current, workInProgress, elementType, renderLanes); } workInProgress = workInProgress.child; } @@ -7637,7 +7641,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 +7683,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 +7887,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 +7903,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 +7912,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 +8319,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 +8335,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); @@ -8336,48 +8346,36 @@ function getHostSibling(fiber) { function insertOrAppendPlacementNodeIntoContainer(node, before, parent) { var tag = node.tag; if (5 === tag || 6 === tag) - if (((node = node.stateNode), before)) { - switch (parent.nodeType) { - case 8: - parent = parent.parentNode; - break; - case 9: - parent = parent.body; - break; - default: - parent = - "HTML" === parent.nodeName ? parent.ownerDocument.body : parent; - } - supportsMoveBefore - ? parent.moveBefore(node, before) - : parent.insertBefore(node, before); - } else - a: { - switch (parent.nodeType) { - case 8: - before = parent.parentNode; - supportsMoveBefore - ? before.moveBefore(node, parent) - : before.insertBefore(node, parent); - break a; - case 9: - before = parent.body; - break; - default: - before = - "HTML" === parent.nodeName ? parent.ownerDocument.body : parent; - } - supportsMoveBefore - ? before.moveBefore(node, null) - : before.appendChild(node); - parent = parent._reactRootContainer; - (null !== parent && void 0 !== parent) || - null !== before.onclick || - (before.onclick = noop$1); - } + (node = node.stateNode), + before + ? ((parent = + 9 === parent.nodeType + ? parent.body + : "HTML" === parent.nodeName + ? parent.ownerDocument.body + : parent), + supportsMoveBefore + ? parent.moveBefore(node, before) + : parent.insertBefore(node, before)) + : ((before = parent), + (parent = + 9 === before.nodeType + ? before.body + : "HTML" === before.nodeName + ? before.ownerDocument.body + : before), + supportsMoveBefore + ? 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 +8402,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 +8815,7 @@ function commitDeletionEffectsOnFiber( safelyDetachRef(deletedFiber, nearestMountedAncestor); var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer; - "head" === deletedFiber.type && + isSingletonScope(deletedFiber.type) && ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1)); recursivelyTraverseDeletionEffects( finishedRoot, @@ -8832,33 +8830,25 @@ function commitDeletionEffectsOnFiber( offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor); case 6: - prevHostParentIsContainer = hostParent; - var prevHostParentIsContainer$138 = hostParentIsContainer; + prevHostParent = hostParent; + prevHostParentIsContainer = hostParentIsContainer; hostParent = null; recursivelyTraverseDeletionEffects( finishedRoot, nearestMountedAncestor, deletedFiber ); - hostParent = prevHostParentIsContainer; - hostParentIsContainer = prevHostParentIsContainer$138; + hostParent = prevHostParent; + hostParentIsContainer = prevHostParentIsContainer; if (null !== hostParent) if (hostParentIsContainer) try { - switch (hostParent.nodeType) { - case 8: - prevHostParent = hostParent.parentNode; - break; - case 9: - prevHostParent = hostParent.body; - break; - default: - prevHostParent = - "HTML" === hostParent.nodeName - ? hostParent.ownerDocument.body - : hostParent; - } - prevHostParent.removeChild(deletedFiber.stateNode); + (9 === hostParent.nodeType + ? hostParent.body + : "HTML" === hostParent.nodeName + ? hostParent.ownerDocument.body + : hostParent + ).removeChild(deletedFiber.stateNode); } catch (error) { captureCommitPhaseError( deletedFiber, @@ -8881,31 +8871,22 @@ function commitDeletionEffectsOnFiber( finishedRoot = finishedRoot.hydrationCallbacks; if (null !== finishedRoot) try { - (prevHostParentIsContainer = finishedRoot.onDeleted) && - prevHostParentIsContainer(deletedFiber.stateNode); + (prevHostParent = finishedRoot.onDeleted) && + prevHostParent(deletedFiber.stateNode); } catch (error) { captureCommitPhaseError(deletedFiber, nearestMountedAncestor, error); } null !== hostParent && (hostParentIsContainer ? ((nearestMountedAncestor = hostParent), - (deletedFiber = deletedFiber.stateNode), - 8 === nearestMountedAncestor.nodeType - ? clearSuspenseBoundary( - nearestMountedAncestor.parentNode, - deletedFiber - ) - : 9 === nearestMountedAncestor.nodeType - ? clearSuspenseBoundary( - nearestMountedAncestor.body, - deletedFiber - ) + clearSuspenseBoundary( + 9 === nearestMountedAncestor.nodeType + ? nearestMountedAncestor.body : "HTML" === nearestMountedAncestor.nodeName - ? clearSuspenseBoundary( - nearestMountedAncestor.ownerDocument.body, - deletedFiber - ) - : clearSuspenseBoundary(nearestMountedAncestor, deletedFiber), + ? nearestMountedAncestor.ownerDocument.body + : nearestMountedAncestor, + deletedFiber.stateNode + ), retryIfBlockedOn(nearestMountedAncestor)) : clearSuspenseBoundary(hostParent, deletedFiber.stateNode)); break; @@ -9057,7 +9038,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 +10605,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 +10620,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 +13123,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"); @@ -13357,22 +13344,15 @@ function dispatchEventForPluginEventSystem( var nodeTag = targetInst$jscomp$0.tag; if (3 === nodeTag || 4 === nodeTag) { var container = targetInst$jscomp$0.stateNode.containerInfo; - if ( - container === targetContainer || - (8 === container.nodeType && container.parentNode === targetContainer) - ) - break; + if (container === targetContainer) break; if (4 === nodeTag) for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag; ) { var grandTag = nodeTag.tag; - if (3 === grandTag || 4 === grandTag) - if ( - ((grandTag = nodeTag.stateNode.containerInfo), - grandTag === targetContainer || - (8 === grandTag.nodeType && - grandTag.parentNode === targetContainer)) - ) - return; + if ( + (3 === grandTag || 4 === grandTag) && + nodeTag.stateNode.containerInfo === targetContainer + ) + return; nodeTag = nodeTag.return; } for (; null !== container; ) { @@ -14922,21 +14902,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 +15096,7 @@ function getNextHydratable(node) { } return node; } +var previousHydratableOnEnteringScopedSingleton = null; function getParentSuspenseInstance(targetInstance) { targetInstance = targetInstance.previousSibling; for (var depth = 0; targetInstance; ) { @@ -16647,16 +16663,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-152bfe37-20250131" !== - isomorphicReactPackageVersion$jscomp$inline_1881 + "19.1.0-native-fb-ff628334-20250205" !== + isomorphicReactPackageVersion$jscomp$inline_1897 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1881, - "19.1.0-native-fb-152bfe37-20250131" + isomorphicReactPackageVersion$jscomp$inline_1897, + "19.1.0-native-fb-ff628334-20250205" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16676,12 +16692,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-152bfe37-20250131", + version: "19.1.0-native-fb-ff628334-20250205", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-152bfe37-20250131", + reconcilerVersion: "19.1.0-native-fb-ff628334-20250205", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$294 = 0; @@ -16699,16 +16715,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) { @@ -16746,9 +16762,7 @@ exports.createRoot = function (container, options) { null ); container[internalContainerInstanceKey] = options.current; - listenToAllSupportedEvents( - 8 === container.nodeType ? container.parentNode : container - ); + listenToAllSupportedEvents(container); return new ReactDOMRoot(options); }; exports.hydrateRoot = function (container, initialChildren, options) { @@ -16802,4 +16816,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.1.0-native-fb-152bfe37-20250131"; +exports.version = "19.1.0-native-fb-ff628334-20250205"; 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 873983b38063b..614f6aaaaa8f9 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<<5898b742b5121a59ae6a197da3788925>> + * @generated SignedSource<<5164734a56abefd6fcd812a8342c804d>> */ /* @@ -462,11 +462,7 @@ __DEV__ && break; default: if ( - ((nextRootInstance = - 8 === nextRootContext - ? nextRootInstance.parentNode - : nextRootInstance), - (nextRootContext = nextRootInstance.tagName), + ((nextRootContext = nextRootInstance.tagName), (nextRootInstance = nextRootInstance.namespaceURI)) ) (nextRootInstance = getOwnHostContext(nextRootInstance)), @@ -9426,32 +9422,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 +9489,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 +9588,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 +9621,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 +9691,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 +9736,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 +9761,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 +9834,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 +10499,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 +10515,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 +10591,7 @@ __DEV__ && reconcileChildren( current, workInProgress, - nextProps, + returnFiber, renderLanes ); } @@ -10635,31 +10637,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 +10680,10 @@ __DEV__ && return ( null === current && isHydrating && - ((nextProps = getHostContext()), + ((prevState = getHostContext()), (returnFiber = validateDOMNesting( workInProgress.type, - nextProps.ancestorInfo + prevState.ancestorInfo )), (prevSibling = nextHydratableInstance), (nextState = !prevSibling) || @@ -10690,33 +10696,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 +10847,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 +10967,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 +10984,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 +10996,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 +11566,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 +11582,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); @@ -11587,50 +11593,36 @@ __DEV__ && function insertOrAppendPlacementNodeIntoContainer(node, before, parent) { var tag = node.tag; if (5 === tag || 6 === tag) - if (((node = node.stateNode), before)) { - switch (parent.nodeType) { - case 8: - parent = parent.parentNode; - break; - case 9: - parent = parent.body; - break; - default: - parent = - "HTML" === parent.nodeName ? parent.ownerDocument.body : parent; - } - supportsMoveBefore - ? parent.moveBefore(node, before) - : parent.insertBefore(node, before); - } else - a: { - switch (parent.nodeType) { - case 8: - before = parent.parentNode; - supportsMoveBefore - ? before.moveBefore(node, parent) - : before.insertBefore(node, parent); - break a; - case 9: - before = parent.body; - break; - default: - before = - "HTML" === parent.nodeName + (node = node.stateNode), + before + ? ((parent = + 9 === parent.nodeType + ? parent.body + : "HTML" === parent.nodeName ? parent.ownerDocument.body - : parent; - } - supportsMoveBefore - ? before.moveBefore(node, null) - : before.appendChild(node); - parent = parent._reactRootContainer; - (null !== parent && void 0 !== parent) || - null !== before.onclick || - (before.onclick = noop$2); - } + : parent), + supportsMoveBefore + ? parent.moveBefore(node, before) + : parent.insertBefore(node, before)) + : ((before = parent), + (parent = + 9 === before.nodeType + ? before.body + : "HTML" === before.nodeName + ? before.ownerDocument.body + : before), + supportsMoveBefore + ? 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 +11649,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 +12134,7 @@ __DEV__ && safelyDetachRef(deletedFiber, nearestMountedAncestor); var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer; - "head" === deletedFiber.type && + isSingletonScope(deletedFiber.type) && ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1)); recursivelyTraverseDeletionEffects( @@ -12220,26 +12212,14 @@ __DEV__ && null !== hostParent && (hostParentIsContainer ? ((nearestMountedAncestor = hostParent), - (deletedFiber = deletedFiber.stateNode), - 8 === nearestMountedAncestor.nodeType - ? clearSuspenseBoundary( - nearestMountedAncestor.parentNode, - deletedFiber - ) - : 9 === nearestMountedAncestor.nodeType - ? clearSuspenseBoundary( - nearestMountedAncestor.body, - deletedFiber - ) + clearSuspenseBoundary( + 9 === nearestMountedAncestor.nodeType + ? nearestMountedAncestor.body : "HTML" === nearestMountedAncestor.nodeName - ? clearSuspenseBoundary( - nearestMountedAncestor.ownerDocument.body, - deletedFiber - ) - : clearSuspenseBoundary( - nearestMountedAncestor, - deletedFiber - ), + ? nearestMountedAncestor.ownerDocument.body + : nearestMountedAncestor, + deletedFiber.stateNode + ), retryIfBlockedOn(nearestMountedAncestor)) : clearSuspenseBoundary(hostParent, deletedFiber.stateNode)); break; @@ -12419,7 +12399,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 +14279,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 +14295,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 +14329,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() { @@ -17528,23 +17514,15 @@ __DEV__ && var nodeTag = targetInst$jscomp$0.tag; if (3 === nodeTag || 4 === nodeTag) { var container = targetInst$jscomp$0.stateNode.containerInfo; - if ( - container === targetContainer || - (8 === container.nodeType && - container.parentNode === targetContainer) - ) - break; + if (container === targetContainer) break; if (4 === nodeTag) for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag; ) { var grandTag = nodeTag.tag; - if (3 === grandTag || 4 === grandTag) - if ( - ((grandTag = nodeTag.stateNode.containerInfo), - grandTag === targetContainer || - (8 === grandTag.nodeType && - grandTag.parentNode === targetContainer)) - ) - return; + if ( + (3 === grandTag || 4 === grandTag) && + nodeTag.stateNode.containerInfo === targetContainer + ) + return; nodeTag = nodeTag.return; } for (; null !== container; ) { @@ -20345,33 +20323,58 @@ __DEV__ && function commitTextUpdate(textInstance, oldText, newText) { textInstance.nodeValue = newText; } + function isSingletonScope(type) { + return "head" === type; + } function removeChild(parentInstance, child) { parentInstance.removeChild(child); } function removeChildFromContainer(container, child) { - switch (container.nodeType) { - case 8: - container = container.parentNode; - break; - case 9: - container = container.body; - break; - default: - container = - "HTML" === container.nodeName - ? container.ownerDocument.body - : container; - } - container.removeChild(child); + (9 === container.nodeType + ? container.body + : "HTML" === container.nodeName + ? container.ownerDocument.body + : container + ).removeChild(child); } 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 +20382,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 +25619,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 +25652,7 @@ __DEV__ && supportsMoveBefore = "undefined" !== typeof window && "function" === typeof window.Element.prototype.moveBefore, + previousHydratableOnEnteringScopedSingleton = null, NotLoaded = 0, Loaded = 1, Errored = 2, @@ -26055,11 +26064,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-native-fb-152bfe37-20250131" !== isomorphicReactPackageVersion) + if ("19.1.0-native-fb-ff628334-20250205" !== 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-152bfe37-20250131\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-native-fb-ff628334-20250205\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -26096,10 +26105,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-152bfe37-20250131", + version: "19.1.0-native-fb-ff628334-20250205", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-152bfe37-20250131" + reconcilerVersion: "19.1.0-native-fb-ff628334-20250205" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26220,9 +26229,7 @@ __DEV__ && null ); container[internalContainerInstanceKey] = options.current; - listenToAllSupportedEvents( - 8 === container.nodeType ? container.parentNode : container - ); + listenToAllSupportedEvents(container); return new ReactDOMRoot(options); }; exports.flushSync = function () { @@ -26561,7 +26568,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-native-fb-152bfe37-20250131"; + exports.version = "19.1.0-native-fb-ff628334-20250205"; "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 936750cb6d5c7..bfee10bd291c3 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<<8aa47790f7ae6dcec042790f1daac7d1>> + * @generated SignedSource<<4ee844129940b1cdacc992f796eb5e29>> */ /* @@ -324,38 +324,36 @@ function pushHostContainer(fiber, nextRootInstance) { push(rootInstanceStackCursor, nextRootInstance); push(contextFiberStackCursor, fiber); push(contextStackCursor$1, null); - fiber = nextRootInstance.nodeType; - switch (fiber) { + switch (nextRootInstance.nodeType) { case 9: case 11: - nextRootInstance = (nextRootInstance = nextRootInstance.documentElement) - ? (nextRootInstance = nextRootInstance.namespaceURI) - ? getOwnHostContext(nextRootInstance) + fiber = (fiber = nextRootInstance.documentElement) + ? (fiber = fiber.namespaceURI) + ? getOwnHostContext(fiber) : 0 : 0; break; default: if ( - ((fiber = 8 === fiber ? nextRootInstance.parentNode : nextRootInstance), - (nextRootInstance = fiber.tagName), - (fiber = fiber.namespaceURI)) + ((fiber = nextRootInstance.tagName), + (nextRootInstance = nextRootInstance.namespaceURI)) ) - (fiber = getOwnHostContext(fiber)), - (nextRootInstance = getChildHostContextProd(fiber, nextRootInstance)); + (nextRootInstance = getOwnHostContext(nextRootInstance)), + (fiber = getChildHostContextProd(nextRootInstance, fiber)); else - switch (nextRootInstance) { + switch (fiber) { case "svg": - nextRootInstance = 1; + fiber = 1; break; case "math": - nextRootInstance = 2; + fiber = 2; break; default: - nextRootInstance = 0; + fiber = 0; } } pop(contextStackCursor$1); - push(contextStackCursor$1, nextRootInstance); + push(contextStackCursor$1, fiber); } function popHostContainer() { pop(contextStackCursor$1); @@ -7335,15 +7333,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 +7349,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 +7418,7 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - reconcileChildren(current, workInProgress, nextProps, renderLanes); + reconcileChildren(current, workInProgress, elementType, renderLanes); } workInProgress = workInProgress.child; } @@ -7462,7 +7466,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 +7508,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 +7705,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 +7721,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 +7730,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 +7976,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 +7992,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); @@ -7993,48 +8003,36 @@ function getHostSibling(fiber) { function insertOrAppendPlacementNodeIntoContainer(node, before, parent) { var tag = node.tag; if (5 === tag || 6 === tag) - if (((node = node.stateNode), before)) { - switch (parent.nodeType) { - case 8: - parent = parent.parentNode; - break; - case 9: - parent = parent.body; - break; - default: - parent = - "HTML" === parent.nodeName ? parent.ownerDocument.body : parent; - } - supportsMoveBefore - ? parent.moveBefore(node, before) - : parent.insertBefore(node, before); - } else - a: { - switch (parent.nodeType) { - case 8: - before = parent.parentNode; - supportsMoveBefore - ? before.moveBefore(node, parent) - : before.insertBefore(node, parent); - break a; - case 9: - before = parent.body; - break; - default: - before = - "HTML" === parent.nodeName ? parent.ownerDocument.body : parent; - } - supportsMoveBefore - ? before.moveBefore(node, null) - : before.appendChild(node); - parent = parent._reactRootContainer; - (null !== parent && void 0 !== parent) || - null !== before.onclick || - (before.onclick = noop$2); - } + (node = node.stateNode), + before + ? ((parent = + 9 === parent.nodeType + ? parent.body + : "HTML" === parent.nodeName + ? parent.ownerDocument.body + : parent), + supportsMoveBefore + ? parent.moveBefore(node, before) + : parent.insertBefore(node, before)) + : ((before = parent), + (parent = + 9 === before.nodeType + ? before.body + : "HTML" === before.nodeName + ? before.ownerDocument.body + : before), + supportsMoveBefore + ? 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 +8059,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 +8427,7 @@ function commitDeletionEffectsOnFiber( safelyDetachRef(deletedFiber, nearestMountedAncestor); var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer; - "head" === deletedFiber.type && + isSingletonScope(deletedFiber.type) && ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1)); recursivelyTraverseDeletionEffects( finishedRoot, @@ -8444,33 +8442,25 @@ function commitDeletionEffectsOnFiber( offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor); case 6: - prevHostParentIsContainer = hostParent; - var prevHostParentIsContainer$131 = hostParentIsContainer; + prevHostParent = hostParent; + prevHostParentIsContainer = hostParentIsContainer; hostParent = null; recursivelyTraverseDeletionEffects( finishedRoot, nearestMountedAncestor, deletedFiber ); - hostParent = prevHostParentIsContainer; - hostParentIsContainer = prevHostParentIsContainer$131; + hostParent = prevHostParent; + hostParentIsContainer = prevHostParentIsContainer; if (null !== hostParent) if (hostParentIsContainer) try { - switch (hostParent.nodeType) { - case 8: - prevHostParent = hostParent.parentNode; - break; - case 9: - prevHostParent = hostParent.body; - break; - default: - prevHostParent = - "HTML" === hostParent.nodeName - ? hostParent.ownerDocument.body - : hostParent; - } - prevHostParent.removeChild(deletedFiber.stateNode); + (9 === hostParent.nodeType + ? hostParent.body + : "HTML" === hostParent.nodeName + ? hostParent.ownerDocument.body + : hostParent + ).removeChild(deletedFiber.stateNode); } catch (error) { captureCommitPhaseError( deletedFiber, @@ -8493,31 +8483,22 @@ function commitDeletionEffectsOnFiber( finishedRoot = finishedRoot.hydrationCallbacks; if (null !== finishedRoot) try { - (prevHostParentIsContainer = finishedRoot.onDeleted) && - prevHostParentIsContainer(deletedFiber.stateNode); + (prevHostParent = finishedRoot.onDeleted) && + prevHostParent(deletedFiber.stateNode); } catch (error) { captureCommitPhaseError(deletedFiber, nearestMountedAncestor, error); } null !== hostParent && (hostParentIsContainer ? ((nearestMountedAncestor = hostParent), - (deletedFiber = deletedFiber.stateNode), - 8 === nearestMountedAncestor.nodeType - ? clearSuspenseBoundary( - nearestMountedAncestor.parentNode, - deletedFiber - ) - : 9 === nearestMountedAncestor.nodeType - ? clearSuspenseBoundary( - nearestMountedAncestor.body, - deletedFiber - ) + clearSuspenseBoundary( + 9 === nearestMountedAncestor.nodeType + ? nearestMountedAncestor.body : "HTML" === nearestMountedAncestor.nodeName - ? clearSuspenseBoundary( - nearestMountedAncestor.ownerDocument.body, - deletedFiber - ) - : clearSuspenseBoundary(nearestMountedAncestor, deletedFiber), + ? nearestMountedAncestor.ownerDocument.body + : nearestMountedAncestor, + deletedFiber.stateNode + ), retryIfBlockedOn(nearestMountedAncestor)) : clearSuspenseBoundary(hostParent, deletedFiber.stateNode)); break; @@ -8663,7 +8644,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 +10165,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 +10180,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 +12482,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"); @@ -12716,22 +12703,15 @@ function dispatchEventForPluginEventSystem( var nodeTag = targetInst$jscomp$0.tag; if (3 === nodeTag || 4 === nodeTag) { var container = targetInst$jscomp$0.stateNode.containerInfo; - if ( - container === targetContainer || - (8 === container.nodeType && container.parentNode === targetContainer) - ) - break; + if (container === targetContainer) break; if (4 === nodeTag) for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag; ) { var grandTag = nodeTag.tag; - if (3 === grandTag || 4 === grandTag) - if ( - ((grandTag = nodeTag.stateNode.containerInfo), - grandTag === targetContainer || - (8 === grandTag.nodeType && - grandTag.parentNode === targetContainer)) - ) - return; + if ( + (3 === grandTag || 4 === grandTag) && + nodeTag.stateNode.containerInfo === targetContainer + ) + return; nodeTag = nodeTag.return; } for (; null !== container; ) { @@ -14281,21 +14261,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 +14455,7 @@ function getNextHydratable(node) { } return node; } +var previousHydratableOnEnteringScopedSingleton = null; function getParentSuspenseInstance(targetInstance) { targetInstance = targetInstance.previousSibling; for (var depth = 0; targetInstance; ) { @@ -16009,16 +16025,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-152bfe37-20250131" !== - isomorphicReactPackageVersion$jscomp$inline_1787 + "19.1.0-native-fb-ff628334-20250205" !== + isomorphicReactPackageVersion$jscomp$inline_1803 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1787, - "19.1.0-native-fb-152bfe37-20250131" + isomorphicReactPackageVersion$jscomp$inline_1803, + "19.1.0-native-fb-ff628334-20250205" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16038,24 +16054,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-152bfe37-20250131", + version: "19.1.0-native-fb-ff628334-20250205", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-152bfe37-20250131" + reconcilerVersion: "19.1.0-native-fb-ff628334-20250205" }; 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() {} @@ -16122,9 +16138,7 @@ exports.createRoot = function (container, options) { null ); container[internalContainerInstanceKey] = options.current; - listenToAllSupportedEvents( - 8 === container.nodeType ? container.parentNode : container - ); + listenToAllSupportedEvents(container); return new ReactDOMRoot(options); }; exports.flushSync = function () { @@ -16303,4 +16317,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-native-fb-152bfe37-20250131"; +exports.version = "19.1.0-native-fb-ff628334-20250205"; 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 55739116f7f3e..f61d2c555bb40 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<> + * @generated SignedSource<> */ /* @@ -328,38 +328,36 @@ function pushHostContainer(fiber, nextRootInstance) { push(rootInstanceStackCursor, nextRootInstance); push(contextFiberStackCursor, fiber); push(contextStackCursor$1, null); - fiber = nextRootInstance.nodeType; - switch (fiber) { + switch (nextRootInstance.nodeType) { case 9: case 11: - nextRootInstance = (nextRootInstance = nextRootInstance.documentElement) - ? (nextRootInstance = nextRootInstance.namespaceURI) - ? getOwnHostContext(nextRootInstance) + fiber = (fiber = nextRootInstance.documentElement) + ? (fiber = fiber.namespaceURI) + ? getOwnHostContext(fiber) : 0 : 0; break; default: if ( - ((fiber = 8 === fiber ? nextRootInstance.parentNode : nextRootInstance), - (nextRootInstance = fiber.tagName), - (fiber = fiber.namespaceURI)) + ((fiber = nextRootInstance.tagName), + (nextRootInstance = nextRootInstance.namespaceURI)) ) - (fiber = getOwnHostContext(fiber)), - (nextRootInstance = getChildHostContextProd(fiber, nextRootInstance)); + (nextRootInstance = getOwnHostContext(nextRootInstance)), + (fiber = getChildHostContextProd(nextRootInstance, fiber)); else - switch (nextRootInstance) { + switch (fiber) { case "svg": - nextRootInstance = 1; + fiber = 1; break; case "math": - nextRootInstance = 2; + fiber = 2; break; default: - nextRootInstance = 0; + fiber = 0; } } pop(contextStackCursor$1); - push(contextStackCursor$1, nextRootInstance); + push(contextStackCursor$1, fiber); } function popHostContainer() { pop(contextStackCursor$1); @@ -7514,15 +7512,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 +7528,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 +7597,7 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - reconcileChildren(current, workInProgress, nextProps, renderLanes); + reconcileChildren(current, workInProgress, elementType, renderLanes); } workInProgress = workInProgress.child; } @@ -7641,7 +7645,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 +7687,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 +7891,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 +7907,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 +7916,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 +8323,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 +8339,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); @@ -8340,48 +8350,36 @@ function getHostSibling(fiber) { function insertOrAppendPlacementNodeIntoContainer(node, before, parent) { var tag = node.tag; if (5 === tag || 6 === tag) - if (((node = node.stateNode), before)) { - switch (parent.nodeType) { - case 8: - parent = parent.parentNode; - break; - case 9: - parent = parent.body; - break; - default: - parent = - "HTML" === parent.nodeName ? parent.ownerDocument.body : parent; - } - supportsMoveBefore - ? parent.moveBefore(node, before) - : parent.insertBefore(node, before); - } else - a: { - switch (parent.nodeType) { - case 8: - before = parent.parentNode; - supportsMoveBefore - ? before.moveBefore(node, parent) - : before.insertBefore(node, parent); - break a; - case 9: - before = parent.body; - break; - default: - before = - "HTML" === parent.nodeName ? parent.ownerDocument.body : parent; - } - supportsMoveBefore - ? before.moveBefore(node, null) - : before.appendChild(node); - parent = parent._reactRootContainer; - (null !== parent && void 0 !== parent) || - null !== before.onclick || - (before.onclick = noop$2); - } + (node = node.stateNode), + before + ? ((parent = + 9 === parent.nodeType + ? parent.body + : "HTML" === parent.nodeName + ? parent.ownerDocument.body + : parent), + supportsMoveBefore + ? parent.moveBefore(node, before) + : parent.insertBefore(node, before)) + : ((before = parent), + (parent = + 9 === before.nodeType + ? before.body + : "HTML" === before.nodeName + ? before.ownerDocument.body + : before), + supportsMoveBefore + ? 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 +8406,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 +8819,7 @@ function commitDeletionEffectsOnFiber( safelyDetachRef(deletedFiber, nearestMountedAncestor); var prevHostParent = hostParent, prevHostParentIsContainer = hostParentIsContainer; - "head" === deletedFiber.type && + isSingletonScope(deletedFiber.type) && ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1)); recursivelyTraverseDeletionEffects( finishedRoot, @@ -8836,33 +8834,25 @@ function commitDeletionEffectsOnFiber( offscreenSubtreeWasHidden || safelyDetachRef(deletedFiber, nearestMountedAncestor); case 6: - prevHostParentIsContainer = hostParent; - var prevHostParentIsContainer$138 = hostParentIsContainer; + prevHostParent = hostParent; + prevHostParentIsContainer = hostParentIsContainer; hostParent = null; recursivelyTraverseDeletionEffects( finishedRoot, nearestMountedAncestor, deletedFiber ); - hostParent = prevHostParentIsContainer; - hostParentIsContainer = prevHostParentIsContainer$138; + hostParent = prevHostParent; + hostParentIsContainer = prevHostParentIsContainer; if (null !== hostParent) if (hostParentIsContainer) try { - switch (hostParent.nodeType) { - case 8: - prevHostParent = hostParent.parentNode; - break; - case 9: - prevHostParent = hostParent.body; - break; - default: - prevHostParent = - "HTML" === hostParent.nodeName - ? hostParent.ownerDocument.body - : hostParent; - } - prevHostParent.removeChild(deletedFiber.stateNode); + (9 === hostParent.nodeType + ? hostParent.body + : "HTML" === hostParent.nodeName + ? hostParent.ownerDocument.body + : hostParent + ).removeChild(deletedFiber.stateNode); } catch (error) { captureCommitPhaseError( deletedFiber, @@ -8885,31 +8875,22 @@ function commitDeletionEffectsOnFiber( finishedRoot = finishedRoot.hydrationCallbacks; if (null !== finishedRoot) try { - (prevHostParentIsContainer = finishedRoot.onDeleted) && - prevHostParentIsContainer(deletedFiber.stateNode); + (prevHostParent = finishedRoot.onDeleted) && + prevHostParent(deletedFiber.stateNode); } catch (error) { captureCommitPhaseError(deletedFiber, nearestMountedAncestor, error); } null !== hostParent && (hostParentIsContainer ? ((nearestMountedAncestor = hostParent), - (deletedFiber = deletedFiber.stateNode), - 8 === nearestMountedAncestor.nodeType - ? clearSuspenseBoundary( - nearestMountedAncestor.parentNode, - deletedFiber - ) - : 9 === nearestMountedAncestor.nodeType - ? clearSuspenseBoundary( - nearestMountedAncestor.body, - deletedFiber - ) + clearSuspenseBoundary( + 9 === nearestMountedAncestor.nodeType + ? nearestMountedAncestor.body : "HTML" === nearestMountedAncestor.nodeName - ? clearSuspenseBoundary( - nearestMountedAncestor.ownerDocument.body, - deletedFiber - ) - : clearSuspenseBoundary(nearestMountedAncestor, deletedFiber), + ? nearestMountedAncestor.ownerDocument.body + : nearestMountedAncestor, + deletedFiber.stateNode + ), retryIfBlockedOn(nearestMountedAncestor)) : clearSuspenseBoundary(hostParent, deletedFiber.stateNode)); break; @@ -9061,7 +9042,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 +10609,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 +10624,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 +13127,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"); @@ -13361,22 +13348,15 @@ function dispatchEventForPluginEventSystem( var nodeTag = targetInst$jscomp$0.tag; if (3 === nodeTag || 4 === nodeTag) { var container = targetInst$jscomp$0.stateNode.containerInfo; - if ( - container === targetContainer || - (8 === container.nodeType && container.parentNode === targetContainer) - ) - break; + if (container === targetContainer) break; if (4 === nodeTag) for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag; ) { var grandTag = nodeTag.tag; - if (3 === grandTag || 4 === grandTag) - if ( - ((grandTag = nodeTag.stateNode.containerInfo), - grandTag === targetContainer || - (8 === grandTag.nodeType && - grandTag.parentNode === targetContainer)) - ) - return; + if ( + (3 === grandTag || 4 === grandTag) && + nodeTag.stateNode.containerInfo === targetContainer + ) + return; nodeTag = nodeTag.return; } for (; null !== container; ) { @@ -14926,21 +14906,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 +15100,7 @@ function getNextHydratable(node) { } return node; } +var previousHydratableOnEnteringScopedSingleton = null; function getParentSuspenseInstance(targetInstance) { targetInstance = targetInstance.previousSibling; for (var depth = 0; targetInstance; ) { @@ -16662,16 +16678,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-152bfe37-20250131" !== - isomorphicReactPackageVersion$jscomp$inline_1882 + "19.1.0-native-fb-ff628334-20250205" !== + isomorphicReactPackageVersion$jscomp$inline_1898 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1882, - "19.1.0-native-fb-152bfe37-20250131" + isomorphicReactPackageVersion$jscomp$inline_1898, + "19.1.0-native-fb-ff628334-20250205" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16691,12 +16707,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-152bfe37-20250131", + version: "19.1.0-native-fb-ff628334-20250205", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-152bfe37-20250131", + reconcilerVersion: "19.1.0-native-fb-ff628334-20250205", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$294 = 0; @@ -16714,16 +16730,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() {} @@ -16790,9 +16806,7 @@ exports.createRoot = function (container, options) { null ); container[internalContainerInstanceKey] = options.current; - listenToAllSupportedEvents( - 8 === container.nodeType ? container.parentNode : container - ); + listenToAllSupportedEvents(container); return new ReactDOMRoot(options); }; exports.flushSync = function () { @@ -16971,7 +16985,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-native-fb-152bfe37-20250131"; +exports.version = "19.1.0-native-fb-ff628334-20250205"; "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 719fca4b520cd..31a5d4d8ddf3a 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<<1650416986bf51f0e7815b93e863abd6>> */ "use strict"; @@ -15626,10 +15626,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-152bfe37-20250131", + version: "19.1.0-native-fb-ff628334-20250205", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-152bfe37-20250131" + reconcilerVersion: "19.1.0-native-fb-ff628334-20250205" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15774,5 +15774,5 @@ __DEV__ && flushSyncWorkAcrossRoots_impl(0, !0)); } }; - exports.version = "19.1.0-native-fb-152bfe37-20250131"; + exports.version = "19.1.0-native-fb-ff628334-20250205"; })(); 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 10d66a28c9ebe..95ed84502f80b 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<> + * @generated SignedSource<<56264f3e6e97c19cd5554318f03be518>> */ "use strict"; @@ -9808,10 +9808,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1401 = { bundleType: 0, - version: "19.1.0-native-fb-152bfe37-20250131", + version: "19.1.0-native-fb-ff628334-20250205", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-152bfe37-20250131" + reconcilerVersion: "19.1.0-native-fb-ff628334-20250205" }; 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-152bfe37-20250131"; +exports.version = "19.1.0-native-fb-ff628334-20250205"; 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 8c9fd7f93b443..5b29bc33461e5 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<<0235bea664b81154ef36fe50665fed03>> + * @generated SignedSource<<9ce5a7a9f894a46e5cbd918c613804ea>> */ "use strict"; @@ -10379,10 +10379,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1219 = { bundleType: 0, - version: "19.1.0-native-fb-152bfe37-20250131", + version: "19.1.0-native-fb-ff628334-20250205", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-152bfe37-20250131", + reconcilerVersion: "19.1.0-native-fb-ff628334-20250205", 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-152bfe37-20250131"; +exports.version = "19.1.0-native-fb-ff628334-20250205"; 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 9ee079edfb0c2..399812d08c4ed 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<<9d922af8ed3d976c254a24cc5946f738>> + * @generated SignedSource<<53529b17c8243e7efed2c2ccf8e6b408>> */ "use strict"; @@ -1113,6 +1113,7 @@ __DEV__ && REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), + REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, ReactSharedInternals = { H: null, @@ -1759,6 +1760,14 @@ __DEV__ && exports.unstable_Scope = REACT_SCOPE_TYPE; exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE; + exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE; + exports.unstable_addTransitionType = function (type) { + var pendingTransitionTypes = ReactSharedInternals.V; + null === pendingTransitionTypes + ? (ReactSharedInternals.V = [type]) + : -1 === pendingTransitionTypes.indexOf(type) && + pendingTransitionTypes.push(type); + }; exports.unstable_getCacheForType = function (resourceType) { var dispatcher = ReactSharedInternals.A; return dispatcher @@ -1840,7 +1849,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.1.0-native-fb-152bfe37-20250131"; + exports.version = "19.1.0-native-fb-ff628334-20250205"; "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 951eb3d938e4f..29fd6c7e65731 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<<1a34853245f4889e0de2cca45e0af404>> + * @generated SignedSource<> */ "use strict"; @@ -29,6 +29,7 @@ var enableUseResourceEffectHook = REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), + REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator; function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; @@ -524,6 +525,14 @@ exports.unstable_LegacyHidden = REACT_LEGACY_HIDDEN_TYPE; exports.unstable_Scope = REACT_SCOPE_TYPE; exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE; +exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE; +exports.unstable_addTransitionType = function (type) { + var pendingTransitionTypes = ReactSharedInternals.V; + null === pendingTransitionTypes + ? (ReactSharedInternals.V = [type]) + : -1 === pendingTransitionTypes.indexOf(type) && + pendingTransitionTypes.push(type); +}; exports.unstable_getCacheForType = function (resourceType) { var dispatcher = ReactSharedInternals.A; return dispatcher ? dispatcher.getCacheForType(resourceType) : resourceType(); @@ -592,4 +601,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-native-fb-152bfe37-20250131"; +exports.version = "19.1.0-native-fb-ff628334-20250205"; 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 6c606fa29152c..1659954b8df3d 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<<986c4be59b3e635074ab12bc65a03d47>> + * @generated SignedSource<<95d55d1e7c6c34025982ba44e743645a>> */ "use strict"; @@ -33,6 +33,7 @@ var enableUseResourceEffectHook = REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), + REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator; function getIteratorFn(maybeIterable) { if (null === maybeIterable || "object" !== typeof maybeIterable) return null; @@ -528,6 +529,14 @@ exports.unstable_LegacyHidden = REACT_LEGACY_HIDDEN_TYPE; exports.unstable_Scope = REACT_SCOPE_TYPE; exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE; +exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE; +exports.unstable_addTransitionType = function (type) { + var pendingTransitionTypes = ReactSharedInternals.V; + null === pendingTransitionTypes + ? (ReactSharedInternals.V = [type]) + : -1 === pendingTransitionTypes.indexOf(type) && + pendingTransitionTypes.push(type); +}; exports.unstable_getCacheForType = function (resourceType) { var dispatcher = ReactSharedInternals.A; return dispatcher ? dispatcher.getCacheForType(resourceType) : resourceType(); @@ -596,7 +605,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-native-fb-152bfe37-20250131"; +exports.version = "19.1.0-native-fb-ff628334-20250205"; "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 21dc21f2a41a0..94368cde9f287 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 @@ -152bfe3769f87e29c8d68cb87fdb608d2483b7f1 +ff6283340a10bb72ad0fb16ca027606a9ea1e67c 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 f21c137fc1d02..e3bfa75e74c11 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<<35b5b85d22c8d0de0f2d5da9dd2a47e9>> + * @generated SignedSource<<2f6ef2873241d4c1f08caf54b6d82d63>> */ "use strict"; @@ -17504,10 +17504,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-152bfe37-20250131", + version: "19.1.0-native-fb-ff628334-20250205", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-152bfe37-20250131" + reconcilerVersion: "19.1.0-native-fb-ff628334-20250205" }; 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 45734419edb3e..236a96787e495 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<<76c037ee8312b8fdc15b960b507d208d>> + * @generated SignedSource<<8bcd3727a3e2aaf26301f7f9155d3d47>> */ "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-152bfe37-20250131", + version: "19.1.0-native-fb-ff628334-20250205", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-152bfe37-20250131" + reconcilerVersion: "19.1.0-native-fb-ff628334-20250205" }; 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 b222dccca697d..bf58a47b9aeb7 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<<61d3c6486a30dbc2edffa59554ce4587>> + * @generated SignedSource<<0d0d8e7cd54ec3052e60384fad328452>> */ "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-152bfe37-20250131", + version: "19.1.0-native-fb-ff628334-20250205", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-152bfe37-20250131" + reconcilerVersion: "19.1.0-native-fb-ff628334-20250205" }; 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 8dd7f2301626c..91b38cdf60a46 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<<99af970725fded620a5c88db9d9afd24>> + * @generated SignedSource<<853f6ed235cee0f650e2817454bca396>> */ "use strict"; @@ -17713,11 +17713,11 @@ __DEV__ && shouldSuspendImpl = newShouldSuspendImpl; }; var isomorphicReactPackageVersion = React.version; - if ("19.1.0-native-fb-152bfe37-20250131" !== isomorphicReactPackageVersion) + if ("19.1.0-native-fb-ff628334-20250205" !== 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-152bfe37-20250131\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.1.0-native-fb-ff628334-20250205\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-152bfe37-20250131", + version: "19.1.0-native-fb-ff628334-20250205", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-152bfe37-20250131" + reconcilerVersion: "19.1.0-native-fb-ff628334-20250205" }; 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 69cbb17bbb2fb..d3a46e9e6ad4b 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<<003e3291c5156b1267260222504b023c>> + * @generated SignedSource<<2db4f861df1dd1d0ea3ee4c7d0a55907>> */ "use strict"; @@ -11157,11 +11157,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.1.0-native-fb-152bfe37-20250131" !== isomorphicReactPackageVersion) +if ("19.1.0-native-fb-ff628334-20250205" !== 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-152bfe37-20250131\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.1.0-native-fb-ff628334-20250205\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-152bfe37-20250131", + version: "19.1.0-native-fb-ff628334-20250205", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-152bfe37-20250131" + reconcilerVersion: "19.1.0-native-fb-ff628334-20250205" }; 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 bcba9c2f40360..fed023b857a45 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<<87f8085ae4b261d5a91ca21860b3d4a4>> + * @generated SignedSource<> */ "use strict"; @@ -11809,11 +11809,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.1.0-native-fb-152bfe37-20250131" !== isomorphicReactPackageVersion) +if ("19.1.0-native-fb-ff628334-20250205" !== 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-152bfe37-20250131\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.1.0-native-fb-ff628334-20250205\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-152bfe37-20250131", + version: "19.1.0-native-fb-ff628334-20250205", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-152bfe37-20250131" + reconcilerVersion: "19.1.0-native-fb-ff628334-20250205" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1382.rendererConfig = extraDevToolsConfig);